ChangeManagedInstanceGroupCompartmentDetails

class oci.os_management_hub.models.ChangeManagedInstanceGroupCompartmentDetails(**kwargs)

Bases: object

Provides the information used to move the managed instance group to another compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.

Methods

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

Attributes

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

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

[Required] Gets the compartment_id of this ChangeManagedInstanceGroupCompartmentDetails. The OCID of the compartment to move the group to.

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