ChangeVolumeCompartmentDetails

class oci.core.models.ChangeVolumeCompartmentDetails(**kwargs)

Bases: object

Contains the details for the compartment to move the volume to.

Methods:

__init__(**kwargs)

Initializes a new ChangeVolumeCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeVolumeCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeVolumeCompartmentDetails. The OCID of the compartment to move the volume to.

Returns

The compartment_id of this ChangeVolumeCompartmentDetails.

Return type

str