Class ApprovalTemplate
Group/User OCIDs of those who can approve/deny/revoke operator's request to access associated resources.
Inherited Members
Namespace: Oci.LockboxService.Models
Assembly: OCI.DotNetSDK.Lockbox.dll
Syntax
public class ApprovalTemplate
Properties
ApproverLevels
Declaration
[JsonProperty(PropertyName = "approverLevels")]
public ApproverLevels ApproverLevels { get; set; }
Property Value
Type | Description |
---|---|
ApproverLevels |
AutoApprovalState
Declaration
[JsonProperty(PropertyName = "autoApprovalState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LockboxAutoApprovalState? AutoApprovalState { get; set; }
Property Value
Type | Description |
---|---|
LockboxAutoApprovalState? | The auto approval state of the lockbox. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the customer compartment where the approval template is located. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The approval template display name. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the approval template, which can't be changed after creation. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ApprovalTemplate.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ApprovalTemplate.LifecycleStateEnum? | The current state of the approval template. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the the approval template was created. An RFC3339 formatted datetime string |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the approval template was updated. An RFC3339 formatted datetime string |