AssociatedMonitoredResource

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

Bases: object

The information about monitored resource.

Attributes

LICENSE_ENTERPRISE_EDITION A constant which can be used with the license property of a AssociatedMonitoredResource.
LICENSE_STANDARD_EDITION A constant which can be used with the license property of a AssociatedMonitoredResource.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource.
association Gets the association of this AssociatedMonitoredResource.
compartment_id Gets the compartment_id of this AssociatedMonitoredResource.
display_name Gets the display_name of this AssociatedMonitoredResource.
external_id Gets the external_id of this AssociatedMonitoredResource.
host_name Gets the host_name of this AssociatedMonitoredResource.
id [Required] Gets the id of this AssociatedMonitoredResource.
license Gets the license of this AssociatedMonitoredResource.
lifecycle_state Gets the lifecycle_state of this AssociatedMonitoredResource.
management_agent_id Gets the management_agent_id of this AssociatedMonitoredResource.
name Gets the name of this AssociatedMonitoredResource.
type Gets the type of this AssociatedMonitoredResource.

Methods

__init__(**kwargs) Initializes a new AssociatedMonitoredResource object with values from keyword arguments.
LICENSE_ENTERPRISE_EDITION = 'ENTERPRISE_EDITION'

A constant which can be used with the license property of a AssociatedMonitoredResource. This constant has a value of “ENTERPRISE_EDITION”

LICENSE_STANDARD_EDITION = 'STANDARD_EDITION'

A constant which can be used with the license property of a AssociatedMonitoredResource. This constant has a value of “STANDARD_EDITION”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AssociatedMonitoredResource. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new AssociatedMonitoredResource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this AssociatedMonitoredResource.
  • name (str) – The value to assign to the name property of this AssociatedMonitoredResource.
  • display_name (str) – The value to assign to the display_name property of this AssociatedMonitoredResource.
  • type (str) – The value to assign to the type property of this AssociatedMonitoredResource.
  • compartment_id (str) – The value to assign to the compartment_id property of this AssociatedMonitoredResource.
  • host_name (str) – The value to assign to the host_name property of this AssociatedMonitoredResource.
  • external_id (str) – The value to assign to the external_id property of this AssociatedMonitoredResource.
  • management_agent_id (str) – The value to assign to the management_agent_id property of this AssociatedMonitoredResource.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AssociatedMonitoredResource. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • license (str) – The value to assign to the license property of this AssociatedMonitoredResource. Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • association (object) – The value to assign to the association property of this AssociatedMonitoredResource.
association

Gets the association of this AssociatedMonitoredResource. Association details of the resource.

Returns:The association of this AssociatedMonitoredResource.
Return type:object
compartment_id

Gets the compartment_id of this AssociatedMonitoredResource. Compartment Identifier OCID.

Returns:The compartment_id of this AssociatedMonitoredResource.
Return type:str
display_name

Gets the display_name of this AssociatedMonitoredResource. Monitored resource display name.

Returns:The display_name of this AssociatedMonitoredResource.
Return type:str
external_id

Gets the external_id of this AssociatedMonitoredResource. External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and OCI compute instance.

Returns:The external_id of this AssociatedMonitoredResource.
Return type:str
host_name

Gets the host_name of this AssociatedMonitoredResource. Monitored Resource Host Name.

Returns:The host_name of this AssociatedMonitoredResource.
Return type:str
id

[Required] Gets the id of this AssociatedMonitoredResource. Monitored resource identifier OCID.

Returns:The id of this AssociatedMonitoredResource.
Return type:str
license

Gets the license of this AssociatedMonitoredResource. License edition of the monitored resource.

Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The license of this AssociatedMonitoredResource.
Return type:str
lifecycle_state

Gets the lifecycle_state of this AssociatedMonitoredResource. The current state of the monitored resource.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “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 AssociatedMonitoredResource.
Return type:str
management_agent_id

Gets the management_agent_id of this AssociatedMonitoredResource. Management Agent Identifier OCID.

Returns:The management_agent_id of this AssociatedMonitoredResource.
Return type:str
name

Gets the name of this AssociatedMonitoredResource. Monitored Resource Name.

Returns:The name of this AssociatedMonitoredResource.
Return type:str
type

Gets the type of this AssociatedMonitoredResource. Monitored Resource Type.

Returns:The type of this AssociatedMonitoredResource.
Return type:str