CreateLockboxDetails¶
- class oci.lockbox.models.CreateLockboxDetails(**kwargs)¶
Bases:
objectThe information about new Lockbox.
Attributes:
A constant which can be used with the lockbox_partner property of a CreateLockboxDetails.
A constant which can be used with the lockbox_partner property of a CreateLockboxDetails.
[Required] Gets the access_context_attributes of this CreateLockboxDetails.
Gets the approval_template_id of this CreateLockboxDetails.
[Required] Gets the compartment_id of this CreateLockboxDetails.
Gets the defined_tags of this CreateLockboxDetails.
Gets the display_name of this CreateLockboxDetails.
Gets the freeform_tags of this CreateLockboxDetails.
Gets the lockbox_partner of this CreateLockboxDetails.
Gets the max_access_duration of this CreateLockboxDetails.
Gets the partner_compartment_id of this CreateLockboxDetails.
Gets the partner_id of this CreateLockboxDetails.
[Required] Gets the resource_id of this CreateLockboxDetails.
Methods:
__init__(**kwargs)Initializes a new CreateLockboxDetails object with values from keyword arguments.
- LOCKBOX_PARTNER_CANARY = 'CANARY'¶
A constant which can be used with the lockbox_partner property of a CreateLockboxDetails. This constant has a value of “CANARY”
- LOCKBOX_PARTNER_FAAAS = 'FAAAS'¶
A constant which can be used with the lockbox_partner property of a CreateLockboxDetails. This constant has a value of “FAAAS”
- __init__(**kwargs)¶
Initializes a new CreateLockboxDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateLockboxDetails.
resource_id (str) – The value to assign to the resource_id property of this CreateLockboxDetails.
lockbox_partner (str) – The value to assign to the lockbox_partner property of this CreateLockboxDetails. Allowed values for this property are: “FAAAS”, “CANARY”
compartment_id (str) – The value to assign to the compartment_id property of this CreateLockboxDetails.
partner_id (str) – The value to assign to the partner_id property of this CreateLockboxDetails.
partner_compartment_id (str) – The value to assign to the partner_compartment_id property of this CreateLockboxDetails.
approval_template_id (str) – The value to assign to the approval_template_id property of this CreateLockboxDetails.
max_access_duration (str) – The value to assign to the max_access_duration property of this CreateLockboxDetails.
access_context_attributes (oci.lockbox.models.AccessContextAttributeCollection) – The value to assign to the access_context_attributes property of this CreateLockboxDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLockboxDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLockboxDetails.
- property access_context_attributes¶
[Required] Gets the access_context_attributes of this CreateLockboxDetails.
- Returns
The access_context_attributes of this CreateLockboxDetails.
- Return type
- property approval_template_id¶
Gets the approval_template_id of this CreateLockboxDetails. Approval template ID
- Returns
The approval_template_id of this CreateLockboxDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateLockboxDetails. The unique identifier (OCID) of the compartment where the resource is located.
- Returns
The compartment_id of this CreateLockboxDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateLockboxDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateLockboxDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateLockboxDetails. Lockbox Identifier
- Returns
The display_name of this CreateLockboxDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateLockboxDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateLockboxDetails.
- Return type
dict(str, str)
- property lockbox_partner¶
Gets the lockbox_partner of this CreateLockboxDetails. The partner using this lockbox to lock a resource.
Allowed values for this property are: “FAAAS”, “CANARY”
- Returns
The lockbox_partner of this CreateLockboxDetails.
- Return type
str
- property max_access_duration¶
Gets the max_access_duration of this CreateLockboxDetails. The maximum amount of time operator has access to associated resources.
- Returns
The max_access_duration of this CreateLockboxDetails.
- Return type
str
- property partner_compartment_id¶
Gets the partner_compartment_id of this CreateLockboxDetails. Compartment Identifier
- Returns
The partner_compartment_id of this CreateLockboxDetails.
- Return type
str
- property partner_id¶
Gets the partner_id of this CreateLockboxDetails. The unique identifier (OCID) of partner resource using this lockbox to lock a resource
- Returns
The partner_id of this CreateLockboxDetails.
- Return type
str
- property resource_id¶
[Required] Gets the resource_id of this CreateLockboxDetails. The unique identifier (OCID) of the customer’s resource.
- Returns
The resource_id of this CreateLockboxDetails.
- Return type
str