Class CreateLockboxDetails
The information about new Lockbox.
Inherited Members
Namespace: Oci.LockboxService.Models
Assembly: OCI.DotNetSDK.Lockbox.dll
Syntax
public class CreateLockboxDetailsProperties
AccessContextAttributes
Declaration
[Required(ErrorMessage = "AccessContextAttributes is required.")]
[JsonProperty(PropertyName = "accessContextAttributes")]
public AccessContextAttributeCollection AccessContextAttributes { get; set; }Property Value
| Type | Description | 
|---|---|
| AccessContextAttributeCollection | 
Remarks
Required
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 | The unique identifier (OCID) of the compartment where the resource 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
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Lockbox Identifier | 
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"} | 
LockboxPartner
Declaration
[JsonProperty(PropertyName = "lockboxPartner")]
[JsonConverter(typeof(StringEnumConverter))]
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. | 
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 the customer's resource. | 
Remarks
Required