ChangeKeyCompartmentDetails

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

Bases: object

The deatils of the compartment that you wish to move the Key.

Methods:

__init__(**kwargs)

Initializes a new ChangeKeyCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeKeyCompartmentDetails.

__init__(**kwargs)

Initializes a new ChangeKeyCompartmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

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

property compartment_id

[Required] Gets the compartment_id of this ChangeKeyCompartmentDetails. The OCID of the compartment that you want to move the key to.

Returns

The compartment_id of this ChangeKeyCompartmentDetails.

Return type

str