ChangeOciCacheBackupCompartmentDetails

class oci.redis.models.ChangeOciCacheBackupCompartmentDetails(**kwargs)

Bases: object

The OCI Cache backup information to move it a different compartment.

Methods:

__init__(**kwargs)

Initializes a new ChangeOciCacheBackupCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeOciCacheBackupCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeOciCacheBackupCompartmentDetails. The OCID of the compartment into which the backup should be moved.

Returns

The compartment_id of this ChangeOciCacheBackupCompartmentDetails.

Return type

str