BaselineableMetric¶
- 
class oci.stack_monitoring.models.BaselineableMetric(**kwargs)¶
- Bases: - object- Summary for the baseline-able metric - Attributes - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a BaselineableMetric. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a BaselineableMetric. - column- [Required] Gets the column of this BaselineableMetric. - compartment_id- Gets the compartment_id of this BaselineableMetric. - created_by- Gets the created_by of this BaselineableMetric. - defined_tags- Gets the defined_tags of this BaselineableMetric. - freeform_tags- Gets the freeform_tags of this BaselineableMetric. - id- [Required] Gets the id of this BaselineableMetric. - is_out_of_box- [Required] Gets the is_out_of_box of this BaselineableMetric. - last_updated_by- Gets the last_updated_by of this BaselineableMetric. - lifecycle_state- Gets the lifecycle_state of this BaselineableMetric. - name- [Required] Gets the name of this BaselineableMetric. - namespace- [Required] Gets the namespace of this BaselineableMetric. - resource_group- [Required] Gets the resource_group of this BaselineableMetric. - resource_type- Gets the resource_type of this BaselineableMetric. - system_tags- Gets the system_tags of this BaselineableMetric. - tenancy_id- Gets the tenancy_id of this BaselineableMetric. - time_created- Gets the time_created of this BaselineableMetric. - time_last_updated- Gets the time_last_updated of this BaselineableMetric. - Methods - __init__(**kwargs)- Initializes a new BaselineableMetric object with values from keyword arguments. - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a BaselineableMetric. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a BaselineableMetric. This constant has a value of “DELETED” 
 - 
__init__(**kwargs)¶
- Initializes a new BaselineableMetric 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 BaselineableMetric.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this BaselineableMetric. 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 BaselineableMetric.
- compartment_id (str) – The value to assign to the compartment_id property of this BaselineableMetric.
- name (str) – The value to assign to the name property of this BaselineableMetric.
- column (str) – The value to assign to the column property of this BaselineableMetric.
- namespace (str) – The value to assign to the namespace property of this BaselineableMetric.
- resource_group (str) – The value to assign to the resource_group property of this BaselineableMetric.
- resource_type (str) – The value to assign to the resource_type property of this BaselineableMetric.
- is_out_of_box (bool) – The value to assign to the is_out_of_box property of this BaselineableMetric.
- created_by (str) – The value to assign to the created_by property of this BaselineableMetric.
- last_updated_by (str) – The value to assign to the last_updated_by property of this BaselineableMetric.
- time_created (datetime) – The value to assign to the time_created property of this BaselineableMetric.
- time_last_updated (datetime) – The value to assign to the time_last_updated property of this BaselineableMetric.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BaselineableMetric.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BaselineableMetric.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this BaselineableMetric.
 
 - 
column¶
- [Required] Gets the column of this BaselineableMetric. metric column name - Returns: - The column of this BaselineableMetric. - Return type: - str 
 - 
compartment_id¶
- Gets the compartment_id of this BaselineableMetric. OCID of the compartment - Returns: - The compartment_id of this BaselineableMetric. - Return type: - str 
 - 
created_by¶
- Gets the created_by of this BaselineableMetric. Created user id - Returns: - The created_by of this BaselineableMetric. - Return type: - str 
 - Gets the defined_tags of this BaselineableMetric. 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 BaselineableMetric. - Return type: - dict(str, dict(str, object)) 
 - Gets the freeform_tags of this BaselineableMetric. 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 BaselineableMetric. - Return type: - dict(str, str) 
 - 
id¶
- [Required] Gets the id of this BaselineableMetric. OCID of the metric - Returns: - The id of this BaselineableMetric. - Return type: - str 
 - 
is_out_of_box¶
- [Required] Gets the is_out_of_box of this BaselineableMetric. Is the metric created out of box, default false - Returns: - The is_out_of_box of this BaselineableMetric. - Return type: - bool 
 - 
last_updated_by¶
- Gets the last_updated_by of this BaselineableMetric. last Updated user id - Returns: - The last_updated_by of this BaselineableMetric. - Return type: - str 
 - 
lifecycle_state¶
- Gets the lifecycle_state of this BaselineableMetric. 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 BaselineableMetric. - Return type: - str 
 - 
name¶
- [Required] Gets the name of this BaselineableMetric. name of the metric - Returns: - The name of this BaselineableMetric. - Return type: - str 
 - 
namespace¶
- [Required] Gets the namespace of this BaselineableMetric. namespace of the metric - Returns: - The namespace of this BaselineableMetric. - Return type: - str 
 - 
resource_group¶
- [Required] Gets the resource_group of this BaselineableMetric. Resource group of the metric - Returns: - The resource_group of this BaselineableMetric. - Return type: - str 
 - 
resource_type¶
- Gets the resource_type of this BaselineableMetric. Resource type of the metric - Returns: - The resource_type of this BaselineableMetric. - Return type: - str 
 - Gets the system_tags of this BaselineableMetric. 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 BaselineableMetric. - Return type: - dict(str, dict(str, object)) 
 - 
tenancy_id¶
- Gets the tenancy_id of this BaselineableMetric. OCID of the tenancy - Returns: - The tenancy_id of this BaselineableMetric. - Return type: - str 
 - 
time_created¶
- Gets the time_created of this BaselineableMetric. creation date - Returns: - The time_created of this BaselineableMetric. - Return type: - datetime 
 - 
time_last_updated¶
- Gets the time_last_updated of this BaselineableMetric. last updated time - Returns: - The time_last_updated of this BaselineableMetric. - Return type: - datetime 
 
-