ChangeVmInstanceCompartmentDetails

class oci.datacc.models.ChangeVmInstanceCompartmentDetails(**kwargs)

Bases: object

Updated compartment details.

Methods:

__init__(**kwargs)

Initializes a new ChangeVmInstanceCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeVmInstanceCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeVmInstanceCompartmentDetails. The OCID of the compartment to which the VM instance is moving.

Returns

The compartment_id of this ChangeVmInstanceCompartmentDetails.

Return type

str