UpdateMonitoredResourceTypeDetails

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

Bases: object

The information to be updated for the monitored resource type.

Attributes

RESOURCE_CATEGORY_APPLICATION A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails.
RESOURCE_CATEGORY_DATABASE A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails.
RESOURCE_CATEGORY_MIDDLEWARE A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails.
RESOURCE_CATEGORY_UNKNOWN A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails.
SOURCE_TYPE_COLLECTD A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails.
SOURCE_TYPE_OCI_NATIVE A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails.
SOURCE_TYPE_PROMETHEUS A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails.
SOURCE_TYPE_SM_MGMT_AGENT_MONITORED A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails.
SOURCE_TYPE_SM_REPO_ONLY A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails.
SOURCE_TYPE_TELEGRAF A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails.
defined_tags Gets the defined_tags of this UpdateMonitoredResourceTypeDetails.
description Gets the description of this UpdateMonitoredResourceTypeDetails.
display_name Gets the display_name of this UpdateMonitoredResourceTypeDetails.
freeform_tags Gets the freeform_tags of this UpdateMonitoredResourceTypeDetails.
metadata Gets the metadata of this UpdateMonitoredResourceTypeDetails.
metric_namespace Gets the metric_namespace of this UpdateMonitoredResourceTypeDetails.
resource_category Gets the resource_category of this UpdateMonitoredResourceTypeDetails.
source_type Gets the source_type of this UpdateMonitoredResourceTypeDetails.

Methods

__init__(**kwargs) Initializes a new UpdateMonitoredResourceTypeDetails object with values from keyword arguments.
RESOURCE_CATEGORY_APPLICATION = 'APPLICATION'

A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails. This constant has a value of “APPLICATION”

RESOURCE_CATEGORY_DATABASE = 'DATABASE'

A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails. This constant has a value of “DATABASE”

RESOURCE_CATEGORY_MIDDLEWARE = 'MIDDLEWARE'

A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails. This constant has a value of “MIDDLEWARE”

RESOURCE_CATEGORY_UNKNOWN = 'UNKNOWN'

A constant which can be used with the resource_category property of a UpdateMonitoredResourceTypeDetails. This constant has a value of “UNKNOWN”

SOURCE_TYPE_COLLECTD = 'COLLECTD'

A constant which can be used with the source_type property of a UpdateMonitoredResourceTypeDetails. 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 UpdateMonitoredResourceTypeDetails. 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 UpdateMonitoredResourceTypeDetails. 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 UpdateMonitoredResourceTypeDetails. 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 UpdateMonitoredResourceTypeDetails. 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 UpdateMonitoredResourceTypeDetails. This constant has a value of “TELEGRAF”

__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateMonitoredResourceTypeDetails.
  • description (str) – The value to assign to the description property of this UpdateMonitoredResourceTypeDetails.
  • metric_namespace (str) – The value to assign to the metric_namespace property of this UpdateMonitoredResourceTypeDetails.
  • source_type (str) – The value to assign to the source_type property of this UpdateMonitoredResourceTypeDetails. Allowed values for this property are: “SM_MGMT_AGENT_MONITORED”, “SM_REPO_ONLY”, “OCI_NATIVE”, “PROMETHEUS”, “TELEGRAF”, “COLLECTD”
  • resource_category (str) – The value to assign to the resource_category property of this UpdateMonitoredResourceTypeDetails. Allowed values for this property are: “APPLICATION”, “DATABASE”, “MIDDLEWARE”, “UNKNOWN”
  • metadata (oci.stack_monitoring.models.ResourceTypeMetadataDetails) – The value to assign to the metadata property of this UpdateMonitoredResourceTypeDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMonitoredResourceTypeDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMonitoredResourceTypeDetails.
defined_tags

Gets the defined_tags of this UpdateMonitoredResourceTypeDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateMonitoredResourceTypeDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateMonitoredResourceTypeDetails. A friendly description.

Returns:The description of this UpdateMonitoredResourceTypeDetails.
Return type:str
display_name

Gets the display_name of this UpdateMonitoredResourceTypeDetails. Monitored resource type display name.

Returns:The display_name of this UpdateMonitoredResourceTypeDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateMonitoredResourceTypeDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateMonitoredResourceTypeDetails.
Return type:dict(str, str)
metadata

Gets the metadata of this UpdateMonitoredResourceTypeDetails.

Returns:The metadata of this UpdateMonitoredResourceTypeDetails.
Return type:oci.stack_monitoring.models.ResourceTypeMetadataDetails
metric_namespace

Gets the metric_namespace of this UpdateMonitoredResourceTypeDetails. Metric namespace for resource type.

Returns:The metric_namespace of this UpdateMonitoredResourceTypeDetails.
Return type:str
resource_category

Gets the resource_category of this UpdateMonitoredResourceTypeDetails. Resource Category to indicate the kind of resource type.

Allowed values for this property are: “APPLICATION”, “DATABASE”, “MIDDLEWARE”, “UNKNOWN”

Returns:The resource_category of this UpdateMonitoredResourceTypeDetails.
Return type:str
source_type

Gets the source_type of this UpdateMonitoredResourceTypeDetails. 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”

Returns:The source_type of this UpdateMonitoredResourceTypeDetails.
Return type:str