AssociatedResourcesSummary¶
-
class
oci.stack_monitoring.models.
AssociatedResourcesSummary
(**kwargs)¶ Bases:
object
The information about monitored resource.
Attributes
LICENSE_ENTERPRISE_EDITION
A constant which can be used with the license property of a AssociatedResourcesSummary. LICENSE_STANDARD_EDITION
A constant which can be used with the license property of a AssociatedResourcesSummary. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. RESOURCE_CATEGORY_APPLICATION
A constant which can be used with the resource_category property of a AssociatedResourcesSummary. RESOURCE_CATEGORY_DATABASE
A constant which can be used with the resource_category property of a AssociatedResourcesSummary. RESOURCE_CATEGORY_MIDDLEWARE
A constant which can be used with the resource_category property of a AssociatedResourcesSummary. RESOURCE_CATEGORY_UNKNOWN
A constant which can be used with the resource_category property of a AssociatedResourcesSummary. SOURCE_TYPE_COLLECTD
A constant which can be used with the source_type property of a AssociatedResourcesSummary. SOURCE_TYPE_OCI_NATIVE
A constant which can be used with the source_type property of a AssociatedResourcesSummary. SOURCE_TYPE_PROMETHEUS
A constant which can be used with the source_type property of a AssociatedResourcesSummary. SOURCE_TYPE_SM_MGMT_AGENT_MONITORED
A constant which can be used with the source_type property of a AssociatedResourcesSummary. SOURCE_TYPE_SM_REPO_ONLY
A constant which can be used with the source_type property of a AssociatedResourcesSummary. SOURCE_TYPE_TELEGRAF
A constant which can be used with the source_type property of a AssociatedResourcesSummary. associated_resources
Gets the associated_resources of this AssociatedResourcesSummary. compartment_id
Gets the compartment_id of this AssociatedResourcesSummary. display_name
Gets the display_name of this AssociatedResourcesSummary. external_id
Gets the external_id of this AssociatedResourcesSummary. host_name
Gets the host_name of this AssociatedResourcesSummary. id
[Required] Gets the id of this AssociatedResourcesSummary. license
Gets the license of this AssociatedResourcesSummary. lifecycle_state
Gets the lifecycle_state of this AssociatedResourcesSummary. management_agent_id
Gets the management_agent_id of this AssociatedResourcesSummary. name
Gets the name of this AssociatedResourcesSummary. resource_category
Gets the resource_category of this AssociatedResourcesSummary. source_type
Gets the source_type of this AssociatedResourcesSummary. type
Gets the type of this AssociatedResourcesSummary. Methods
__init__
(**kwargs)Initializes a new AssociatedResourcesSummary object with values from keyword arguments. -
LICENSE_ENTERPRISE_EDITION
= 'ENTERPRISE_EDITION'¶ A constant which can be used with the license property of a AssociatedResourcesSummary. 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 AssociatedResourcesSummary. 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 AssociatedResourcesSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a AssociatedResourcesSummary. This constant has a value of “UPDATING”
-
RESOURCE_CATEGORY_APPLICATION
= 'APPLICATION'¶ A constant which can be used with the resource_category property of a AssociatedResourcesSummary. This constant has a value of “APPLICATION”
-
RESOURCE_CATEGORY_DATABASE
= 'DATABASE'¶ A constant which can be used with the resource_category property of a AssociatedResourcesSummary. This constant has a value of “DATABASE”
-
RESOURCE_CATEGORY_MIDDLEWARE
= 'MIDDLEWARE'¶ A constant which can be used with the resource_category property of a AssociatedResourcesSummary. This constant has a value of “MIDDLEWARE”
-
RESOURCE_CATEGORY_UNKNOWN
= 'UNKNOWN'¶ A constant which can be used with the resource_category property of a AssociatedResourcesSummary. This constant has a value of “UNKNOWN”
-
SOURCE_TYPE_COLLECTD
= 'COLLECTD'¶ A constant which can be used with the source_type property of a AssociatedResourcesSummary. This constant has a value of “COLLECTD”
-
SOURCE_TYPE_OCI_NATIVE
= 'OCI_NATIVE'¶ A constant which can be used with the source_type property of a AssociatedResourcesSummary. This constant has a value of “OCI_NATIVE”
-
SOURCE_TYPE_PROMETHEUS
= 'PROMETHEUS'¶ A constant which can be used with the source_type property of a AssociatedResourcesSummary. This constant has a value of “PROMETHEUS”
-
SOURCE_TYPE_SM_MGMT_AGENT_MONITORED
= 'SM_MGMT_AGENT_MONITORED'¶ A constant which can be used with the source_type property of a AssociatedResourcesSummary. This constant has a value of “SM_MGMT_AGENT_MONITORED”
-
SOURCE_TYPE_SM_REPO_ONLY
= 'SM_REPO_ONLY'¶ A constant which can be used with the source_type property of a AssociatedResourcesSummary. This constant has a value of “SM_REPO_ONLY”
-
SOURCE_TYPE_TELEGRAF
= 'TELEGRAF'¶ A constant which can be used with the source_type property of a AssociatedResourcesSummary. This constant has a value of “TELEGRAF”
-
__init__
(**kwargs)¶ Initializes a new AssociatedResourcesSummary 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 AssociatedResourcesSummary.
- name (str) – The value to assign to the name property of this AssociatedResourcesSummary.
- display_name (str) – The value to assign to the display_name property of this AssociatedResourcesSummary.
- type (str) – The value to assign to the type property of this AssociatedResourcesSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this AssociatedResourcesSummary.
- host_name (str) – The value to assign to the host_name property of this AssociatedResourcesSummary.
- external_id (str) – The value to assign to the external_id property of this AssociatedResourcesSummary.
- management_agent_id (str) – The value to assign to the management_agent_id property of this AssociatedResourcesSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AssociatedResourcesSummary. 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 AssociatedResourcesSummary. 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’.
- source_type (str) – The value to assign to the source_type property of this AssociatedResourcesSummary. Allowed values for this property are: “SM_MGMT_AGENT_MONITORED”, “SM_REPO_ONLY”, “OCI_NATIVE”, “PROMETHEUS”, “TELEGRAF”, “COLLECTD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_category (str) – The value to assign to the resource_category property of this AssociatedResourcesSummary. Allowed values for this property are: “APPLICATION”, “DATABASE”, “MIDDLEWARE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- associated_resources (list[oci.stack_monitoring.models.AssociatedMonitoredResource]) – The value to assign to the associated_resources property of this AssociatedResourcesSummary.
-
associated_resources
¶ Gets the associated_resources of this AssociatedResourcesSummary. List of associated monitored resources.
Returns: The associated_resources of this AssociatedResourcesSummary. Return type: list[oci.stack_monitoring.models.AssociatedMonitoredResource]
-
compartment_id
¶ Gets the compartment_id of this AssociatedResourcesSummary. Compartment Identifier OCID.
Returns: The compartment_id of this AssociatedResourcesSummary. Return type: str
-
display_name
¶ Gets the display_name of this AssociatedResourcesSummary. Monitored resource display name.
Returns: The display_name of this AssociatedResourcesSummary. Return type: str
-
external_id
¶ Gets the external_id of this AssociatedResourcesSummary. 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 AssociatedResourcesSummary. Return type: str
-
host_name
¶ Gets the host_name of this AssociatedResourcesSummary. Monitored Resource Host Name.
Returns: The host_name of this AssociatedResourcesSummary. Return type: str
-
id
¶ [Required] Gets the id of this AssociatedResourcesSummary. Monitored resource identifier OCID.
Returns: The id of this AssociatedResourcesSummary. Return type: str
-
license
¶ Gets the license of this AssociatedResourcesSummary. 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 AssociatedResourcesSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this AssociatedResourcesSummary. 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 AssociatedResourcesSummary. Return type: str
-
management_agent_id
¶ Gets the management_agent_id of this AssociatedResourcesSummary. Management Agent Identifier OCID.
Returns: The management_agent_id of this AssociatedResourcesSummary. Return type: str
-
name
¶ Gets the name of this AssociatedResourcesSummary. Monitored Resource Name.
Returns: The name of this AssociatedResourcesSummary. Return type: str
-
resource_category
¶ Gets the resource_category of this AssociatedResourcesSummary. Resource Category to indicate the kind of resource type.
Allowed values for this property are: “APPLICATION”, “DATABASE”, “MIDDLEWARE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_category of this AssociatedResourcesSummary. Return type: str
-
source_type
¶ Gets the source_type of this AssociatedResourcesSummary. Source type to indicate if the resource is stack monitoring discovered, OCI native resource, etc.
Allowed values for this property are: “SM_MGMT_AGENT_MONITORED”, “SM_REPO_ONLY”, “OCI_NATIVE”, “PROMETHEUS”, “TELEGRAF”, “COLLECTD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source_type of this AssociatedResourcesSummary. Return type: str
-
type
¶ Gets the type of this AssociatedResourcesSummary. Monitored Resource Type.
Returns: The type of this AssociatedResourcesSummary. Return type: str
-