ChangeCompartmentDetails

class oci.application_migration.models.ChangeCompartmentDetails(**kwargs)

Bases: object

Moves the resource to the specified compartment.

Methods

__init__(**kwargs) Initializes a new ChangeCompartmentDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this ChangeCompartmentDetails.
__init__(**kwargs)

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

[Required] Gets the compartment_id of this ChangeCompartmentDetails. The OCID of the compartment to move the resource to.

Returns:The compartment_id of this ChangeCompartmentDetails.
Return type:str