HsmPartitionSummary

class oci.key_management.models.HsmPartitionSummary(**kwargs)

Bases: object

An object which encapsulates the details of a given HSM.

Methods:

__init__(**kwargs)

Initializes a new HsmPartitionSummary object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this HsmPartitionSummary.

hsm_cluster_id

[Required] Gets the hsm_cluster_id of this HsmPartitionSummary.

id

[Required] Gets the id of this HsmPartitionSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this HsmPartitionSummary.

port_information

[Required] Gets the port_information of this HsmPartitionSummary.

time_created

[Required] Gets the time_created of this HsmPartitionSummary.

time_updated

[Required] Gets the time_updated of this HsmPartitionSummary.

__init__(**kwargs)

Initializes a new HsmPartitionSummary 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 HsmPartitionSummary.

  • hsm_cluster_id (str) – The value to assign to the hsm_cluster_id property of this HsmPartitionSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this HsmPartitionSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this HsmPartitionSummary.

  • port_information (list[oci.key_management.models.PortInformation]) – The value to assign to the port_information property of this HsmPartitionSummary.

  • time_created (datetime) – The value to assign to the time_created property of this HsmPartitionSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this HsmPartitionSummary.

property compartment_id

[Required] Gets the compartment_id of this HsmPartitionSummary. The OCID of the compartment that contains a particular HSM resource.

Returns

The compartment_id of this HsmPartitionSummary.

Return type

str

property hsm_cluster_id

[Required] Gets the hsm_cluster_id of this HsmPartitionSummary. The OCID of the HSMCluster that contains a particular HSM resource.

Returns

The hsm_cluster_id of this HsmPartitionSummary.

Return type

str

property id

[Required] Gets the id of this HsmPartitionSummary. The OCID of the HSM resource. Each HSM resource will have a unique OCID identifier.

Returns

The id of this HsmPartitionSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this HsmPartitionSummary. A HSMCluster resource’s current lifecycle state.

Example: ACTIVE

Returns

The lifecycle_state of this HsmPartitionSummary.

Return type

str

property port_information

[Required] Gets the port_information of this HsmPartitionSummary. 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 HsmPartitionSummary.

Return type

list[oci.key_management.models.PortInformation]

property time_created

[Required] Gets the time_created of this HsmPartitionSummary. The date and time an HSM was created, expressed in RFC 3339 timestamp format.

Example: 2018-04-03T21:10:29.600Z

Returns

The time_created of this HsmPartitionSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this HsmPartitionSummary. The date and time an HSM was updated, expressed in RFC 3339 timestamp format.

Example: 2018-04-03T21:10:29.600Z

Returns

The time_updated of this HsmPartitionSummary.

Return type

datetime