ChangeReplicationCompartmentDetails¶
- class oci.file_storage.models.ChangeReplicationCompartmentDetails(**kwargs)¶
Bases:
objectDetails for changing the compartment of both replication and replication target.
Methods:
__init__(**kwargs)Initializes a new ChangeReplicationCompartmentDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this ChangeReplicationCompartmentDetails.
- __init__(**kwargs)¶
Initializes a new ChangeReplicationCompartmentDetails 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 ChangeReplicationCompartmentDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this ChangeReplicationCompartmentDetails. The OCID of the compartment to move the replication to. Also changes the replication target’s compartment in the target region.
- Returns
The compartment_id of this ChangeReplicationCompartmentDetails.
- Return type
str