ChangeProtectedDatabaseCompartmentDetails

class oci.recovery.models.ChangeProtectedDatabaseCompartmentDetails(**kwargs)

Bases: object

The configuration details required to move a protected database from the existing compartment to a specified compartment.

Methods:

__init__(**kwargs)

Initializes a new ChangeProtectedDatabaseCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeProtectedDatabaseCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeProtectedDatabaseCompartmentDetails. The OCID of the compartment into which the protected database should be moved.

Returns

The compartment_id of this ChangeProtectedDatabaseCompartmentDetails.

Return type

str