MonitoredInstance¶
- 
class oci.appmgmt_control.models.MonitoredInstance(**kwargs)¶
- Bases: - object- Description of Monitored Instance. - Attributes - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - LIFECYCLE_STATE_INACTIVE- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a MonitoredInstance. - MONITORING_STATE_DISABLED- A constant which can be used with the monitoring_state property of a MonitoredInstance. - MONITORING_STATE_ENABLED- A constant which can be used with the monitoring_state property of a MonitoredInstance. - compartment_id- [Required] Gets the compartment_id of this MonitoredInstance. - display_name- Gets the display_name of this MonitoredInstance. - instance_id- [Required] Gets the instance_id of this MonitoredInstance. - lifecycle_details- Gets the lifecycle_details of this MonitoredInstance. - lifecycle_state- Gets the lifecycle_state of this MonitoredInstance. - management_agent_id- Gets the management_agent_id of this MonitoredInstance. - monitoring_state- Gets the monitoring_state of this MonitoredInstance. - time_created- Gets the time_created of this MonitoredInstance. - time_updated- Gets the time_updated of this MonitoredInstance. - Methods - __init__(**kwargs)- Initializes a new MonitoredInstance object with values from keyword arguments. - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_CREATING= 'CREATING'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “CREATING” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_DELETING= 'DELETING'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “DELETING” 
 - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “FAILED” 
 - 
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “INACTIVE” 
 - 
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶
- A constant which can be used with the lifecycle_state property of a MonitoredInstance. This constant has a value of “UPDATING” 
 - 
MONITORING_STATE_DISABLED= 'DISABLED'¶
- A constant which can be used with the monitoring_state property of a MonitoredInstance. This constant has a value of “DISABLED” 
 - 
MONITORING_STATE_ENABLED= 'ENABLED'¶
- A constant which can be used with the monitoring_state property of a MonitoredInstance. This constant has a value of “ENABLED” 
 - 
__init__(**kwargs)¶
- Initializes a new MonitoredInstance object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - instance_id (str) – The value to assign to the instance_id property of this MonitoredInstance.
- compartment_id (str) – The value to assign to the compartment_id property of this MonitoredInstance.
- display_name (str) – The value to assign to the display_name property of this MonitoredInstance.
- management_agent_id (str) – The value to assign to the management_agent_id property of this MonitoredInstance.
- time_created (datetime) – The value to assign to the time_created property of this MonitoredInstance.
- time_updated (datetime) – The value to assign to the time_updated property of this MonitoredInstance.
- monitoring_state (str) – The value to assign to the monitoring_state property of this MonitoredInstance. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MonitoredInstance. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this MonitoredInstance.
 
 - 
compartment_id¶
- [Required] Gets the compartment_id of this MonitoredInstance. Compartment Identifier OCID - Returns: - The compartment_id of this MonitoredInstance. - Return type: - str 
 - 
display_name¶
- Gets the display_name of this MonitoredInstance. A user-friendly name of the monitored instance. It is binded to Compute Instance. DisplayName is fetched from Core Service API. - Returns: - The display_name of this MonitoredInstance. - Return type: - str 
 - 
instance_id¶
- [Required] Gets the instance_id of this MonitoredInstance. The OCID of monitored instance. - Returns: - The instance_id of this MonitoredInstance. - Return type: - str 
 - 
lifecycle_details¶
- Gets the lifecycle_details of this MonitoredInstance. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. - Returns: - The lifecycle_details of this MonitoredInstance. - Return type: - str 
 - 
lifecycle_state¶
- Gets the lifecycle_state of this MonitoredInstance. The current state of the monitored instance. - Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this MonitoredInstance. - Return type: - str 
 - 
management_agent_id¶
- Gets the management_agent_id of this MonitoredInstance. Management Agent Identifier OCID. Used to invoke manage operations on Management Agent Cloud Service. - Returns: - The management_agent_id of this MonitoredInstance. - Return type: - str 
 - 
monitoring_state¶
- Gets the monitoring_state of this MonitoredInstance. Monitoring status. Can be either enabled or disabled. - Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The monitoring_state of this MonitoredInstance. - Return type: - str 
 - 
time_created¶
- Gets the time_created of this MonitoredInstance. The time the MonitoredInstance was created. An RFC3339 formatted datetime string - Returns: - The time_created of this MonitoredInstance. - Return type: - datetime 
 - 
time_updated¶
- Gets the time_updated of this MonitoredInstance. The time the MonitoredInstance was updated. An RFC3339 formatted datetime string - Returns: - The time_updated of this MonitoredInstance. - Return type: - datetime 
 
-