ChangeDrProtectionGroupCompartmentDetails

class oci.disaster_recovery.models.ChangeDrProtectionGroupCompartmentDetails(**kwargs)

Bases: object

The details for moving a DR protection group to another compartment.

Methods:

__init__(**kwargs)

Initializes a new ChangeDrProtectionGroupCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeDrProtectionGroupCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeDrProtectionGroupCompartmentDetails. The OCID of the compartment to which the DR protection group should be moved.

Example: ocid1.compartment.oc1..uniqueID

Returns

The compartment_id of this ChangeDrProtectionGroupCompartmentDetails.

Return type

str