ChangeComputeCapacityReservationCompartmentDetails

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

Bases: object

Specifies the compartment to move the compute capacity reservation to.

Methods

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

Attributes

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

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

[Required] Gets the compartment_id of this ChangeComputeCapacityReservationCompartmentDetails. The OCID of the compartment to move the compute capacity reservation to.

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