ChangeMonitoredResourceCompartmentDetails

class oci.stack_monitoring.models.ChangeMonitoredResourceCompartmentDetails(**kwargs)

Bases: object

The information to be updated.

Methods

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

Attributes

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

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

[Required] Gets the compartment_id of this ChangeMonitoredResourceCompartmentDetails. The OCID of the compartment into which the resource should be moved.

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