Class Lockbox
Description of Lockbox.
Inherited Members
Namespace: Oci.LockboxService.Models
Assembly: OCI.DotNetSDK.Lockbox.dll
Syntax
public class Lockbox
Properties
AccessContextAttributes
Declaration
[JsonProperty(PropertyName = "accessContextAttributes")]
public AccessContextAttributeCollection AccessContextAttributes { get; set; }
Property Value
Type | Description |
---|---|
AccessContextAttributeCollection |
ApprovalTemplateId
Declaration
[JsonProperty(PropertyName = "approvalTemplateId")]
public string ApprovalTemplateId { get; set; }
Property Value
Type | Description |
---|---|
string | Approval template ID |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier |
Remarks
Required
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[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"}} |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Lockbox Identifier, can be renamed |
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[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"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier that is immutable on creation |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Lockbox.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Lockbox.LifecycleStateEnum? | The current state of the Lockbox. |
Remarks
Required
LockboxPartner
Declaration
[JsonProperty(PropertyName = "lockboxPartner")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LockboxPartner? LockboxPartner { get; set; }
Property Value
Type | Description |
---|---|
LockboxPartner? | The partner using this lockbox to lock a resource. |
MaxAccessDuration
Declaration
[JsonProperty(PropertyName = "maxAccessDuration")]
public string MaxAccessDuration { get; set; }
Property Value
Type | Description |
---|---|
string | The maximum amount of time operator has access to associated resources. |
ParentLockboxId
Declaration
[JsonProperty(PropertyName = "parentLockboxId")]
public string ParentLockboxId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of lockbox resource using to reference parent lockbox in hybrid oma setup |
PartnerCompartmentId
Declaration
[JsonProperty(PropertyName = "partnerCompartmentId")]
public string PartnerCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier |
PartnerId
Declaration
[JsonProperty(PropertyName = "partnerId")]
public string PartnerId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of partner resource using this lockbox to lock a resource |
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of associated resource that the lockbox is created for. |
Remarks
Required
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 Lockbox 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 Lockbox was updated. An RFC3339 formatted datetime string |