BaselineableMetricSummary¶
- class oci.stack_monitoring.models.BaselineableMetricSummary(**kwargs)¶
Bases:
objectSummary for the baseline-able metric
Attributes:
A constant which can be used with the lifecycle_state property of a BaselineableMetricSummary.
A constant which can be used with the lifecycle_state property of a BaselineableMetricSummary.
[Required] Gets the column of this BaselineableMetricSummary.
Gets the compartment_id of this BaselineableMetricSummary.
Gets the defined_tags of this BaselineableMetricSummary.
Gets the freeform_tags of this BaselineableMetricSummary.
[Required] Gets the id of this BaselineableMetricSummary.
[Required] Gets the is_out_of_box of this BaselineableMetricSummary.
Gets the lifecycle_state of this BaselineableMetricSummary.
[Required] Gets the name of this BaselineableMetricSummary.
[Required] Gets the namespace of this BaselineableMetricSummary.
[Required] Gets the resource_group of this BaselineableMetricSummary.
Gets the resource_type of this BaselineableMetricSummary.
Gets the system_tags of this BaselineableMetricSummary.
Gets the tenancy_id of this BaselineableMetricSummary.
Methods:
__init__(**kwargs)Initializes a new BaselineableMetricSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a BaselineableMetricSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a BaselineableMetricSummary. This constant has a value of “DELETED”
- __init__(**kwargs)¶
Initializes a new BaselineableMetricSummary 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 BaselineableMetricSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this BaselineableMetricSummary. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
tenancy_id (str) – The value to assign to the tenancy_id property of this BaselineableMetricSummary.
compartment_id (str) – The value to assign to the compartment_id property of this BaselineableMetricSummary.
name (str) – The value to assign to the name property of this BaselineableMetricSummary.
column (str) – The value to assign to the column property of this BaselineableMetricSummary.
namespace (str) – The value to assign to the namespace property of this BaselineableMetricSummary.
resource_group (str) – The value to assign to the resource_group property of this BaselineableMetricSummary.
resource_type (str) – The value to assign to the resource_type property of this BaselineableMetricSummary.
is_out_of_box (bool) – The value to assign to the is_out_of_box property of this BaselineableMetricSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BaselineableMetricSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BaselineableMetricSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this BaselineableMetricSummary.
- property column¶
[Required] Gets the column of this BaselineableMetricSummary. metric column name
- Returns
The column of this BaselineableMetricSummary.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this BaselineableMetricSummary. OCID of the compartment
- Returns
The compartment_id of this BaselineableMetricSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this BaselineableMetricSummary. 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 BaselineableMetricSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this BaselineableMetricSummary. 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 BaselineableMetricSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this BaselineableMetricSummary. OCID of the metric
- Returns
The id of this BaselineableMetricSummary.
- Return type
str
- property is_out_of_box¶
[Required] Gets the is_out_of_box of this BaselineableMetricSummary. Is the metric created out of box, default false
- Returns
The is_out_of_box of this BaselineableMetricSummary.
- Return type
bool
- property lifecycle_state¶
Gets the lifecycle_state of this BaselineableMetricSummary. The current lifecycle state of the metric extension
Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this BaselineableMetricSummary.
- Return type
str
- property name¶
[Required] Gets the name of this BaselineableMetricSummary. name of the metric
- Returns
The name of this BaselineableMetricSummary.
- Return type
str
- property namespace¶
[Required] Gets the namespace of this BaselineableMetricSummary. namespace of the metric
- Returns
The namespace of this BaselineableMetricSummary.
- Return type
str
- property resource_group¶
[Required] Gets the resource_group of this BaselineableMetricSummary. Resource group of the metric
- Returns
The resource_group of this BaselineableMetricSummary.
- Return type
str
- property resource_type¶
Gets the resource_type of this BaselineableMetricSummary. Resource type of the metric
- Returns
The resource_type of this BaselineableMetricSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this BaselineableMetricSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this BaselineableMetricSummary.
- Return type
dict(str, dict(str, object))
- property tenancy_id¶
Gets the tenancy_id of this BaselineableMetricSummary. OCID of the tenancy
- Returns
The tenancy_id of this BaselineableMetricSummary.
- Return type
str