HsmPartition¶
- 
class oci.key_management.models.HsmPartition(**kwargs)¶
- Bases: - object- Dedicated KMS-HSM Partition Management - Attributes - LIFECYCLE_STATE_ACTIVATING- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_ACTIVATION_REQUIRED- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_INACTIVE- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_PENDING_DELETION- A constant which can be used with the lifecycle_state property of a HsmPartition. - LIFECYCLE_STATE_SCHEDULING_DELETION- A constant which can be used with the lifecycle_state property of a HsmPartition. - compartment_id- [Required] Gets the compartment_id of this HsmPartition. - id- [Required] Gets the id of this HsmPartition. - lifecycle_state- [Required] Gets the lifecycle_state of this HsmPartition. - port_information- [Required] Gets the port_information of this HsmPartition. - time_created- [Required] Gets the time_created of this HsmPartition. - time_updated- [Required] Gets the time_updated of this HsmPartition. - Methods - __init__(**kwargs)- Initializes a new HsmPartition object with values from keyword arguments. - 
LIFECYCLE_STATE_ACTIVATING= 'ACTIVATING'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “ACTIVATING” 
 - 
LIFECYCLE_STATE_ACTIVATION_REQUIRED= 'ACTIVATION_REQUIRED'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “ACTIVATION_REQUIRED” 
 - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_DELETING= 'DELETING'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “DELETING” 
 - 
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “INACTIVE” 
 - 
LIFECYCLE_STATE_PENDING_DELETION= 'PENDING_DELETION'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “PENDING_DELETION” 
 - 
LIFECYCLE_STATE_SCHEDULING_DELETION= 'SCHEDULING_DELETION'¶
- A constant which can be used with the lifecycle_state property of a HsmPartition. This constant has a value of “SCHEDULING_DELETION” 
 - 
__init__(**kwargs)¶
- Initializes a new HsmPartition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - id (str) – The value to assign to the id property of this HsmPartition.
- compartment_id (str) – The value to assign to the compartment_id property of this HsmPartition.
- port_information (list[oci.key_management.models.PortInformation]) – The value to assign to the port_information property of this HsmPartition.
- time_created (datetime) – The value to assign to the time_created property of this HsmPartition.
- time_updated (datetime) – The value to assign to the time_updated property of this HsmPartition.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this HsmPartition. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “ACTIVATING”, “ACTIVATION_REQUIRED”, “SCHEDULING_DELETION”, “PENDING_DELETION”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
 
 - 
compartment_id¶
- [Required] Gets the compartment_id of this HsmPartition. The OCID of the compartment that contains a particular HSM resource. - Returns: - The compartment_id of this HsmPartition. - Return type: - str 
 - 
id¶
- [Required] Gets the id of this HsmPartition. The OCID of the HSM resource. Each HSM resource has a unique OCID as an identifier. - Returns: - The id of this HsmPartition. - Return type: - str 
 - 
lifecycle_state¶
- [Required] Gets the lifecycle_state of this HsmPartition. A HSMCluster resource’s current lifecycle state. - Example: ACTIVE - Allowed values for this property are: “ACTIVE”, “INACTIVE”, “ACTIVATING”, “ACTIVATION_REQUIRED”, “SCHEDULING_DELETION”, “PENDING_DELETION”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this HsmPartition. - Return type: - str 
 - 
port_information¶
- [Required] Gets the port_information of this HsmPartition. Details of a single portInformation item include the PortNumber (an integer used as an identifier) and the PortType (refers to either an enum value of Managementutility,Clientutility, or null) - Returns: - The port_information of this HsmPartition. - Return type: - list[oci.key_management.models.PortInformation] 
 
-