UpdateAlarmConditionDetails

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

Bases: object

The information about updating a alarm condition in the same monitoringTemplate in a compartment.

Attributes:

CONDITION_TYPE_AVAILABILITY

A constant which can be used with the condition_type property of a UpdateAlarmConditionDetails.

CONDITION_TYPE_FIXED

A constant which can be used with the condition_type property of a UpdateAlarmConditionDetails.

composite_type

Gets the composite_type of this UpdateAlarmConditionDetails.

condition_type

Gets the condition_type of this UpdateAlarmConditionDetails.

conditions

Gets the conditions of this UpdateAlarmConditionDetails.

defined_tags

Gets the defined_tags of this UpdateAlarmConditionDetails.

freeform_tags

Gets the freeform_tags of this UpdateAlarmConditionDetails.

metric_name

Gets the metric_name of this UpdateAlarmConditionDetails.

namespace

Gets the namespace of this UpdateAlarmConditionDetails.

resource_type

Gets the resource_type of this UpdateAlarmConditionDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateAlarmConditionDetails object with values from keyword arguments.

CONDITION_TYPE_AVAILABILITY = 'AVAILABILITY'

A constant which can be used with the condition_type property of a UpdateAlarmConditionDetails. This constant has a value of “AVAILABILITY”

CONDITION_TYPE_FIXED = 'FIXED'

A constant which can be used with the condition_type property of a UpdateAlarmConditionDetails. This constant has a value of “FIXED”

__init__(**kwargs)

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

Parameters
  • namespace (str) – The value to assign to the namespace property of this UpdateAlarmConditionDetails.

  • composite_type (str) – The value to assign to the composite_type property of this UpdateAlarmConditionDetails.

  • resource_type (str) – The value to assign to the resource_type property of this UpdateAlarmConditionDetails.

  • metric_name (str) – The value to assign to the metric_name property of this UpdateAlarmConditionDetails.

  • condition_type (str) – The value to assign to the condition_type property of this UpdateAlarmConditionDetails. Allowed values for this property are: “FIXED”, “AVAILABILITY”

  • conditions (list[oci.stack_monitoring.models.Condition]) – The value to assign to the conditions property of this UpdateAlarmConditionDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAlarmConditionDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAlarmConditionDetails.

property composite_type

Gets the composite_type of this UpdateAlarmConditionDetails. The OCID of composite resource type like EBS/PEOPLE_SOFT.

Returns

The composite_type of this UpdateAlarmConditionDetails.

Return type

str

property condition_type

Gets the condition_type of this UpdateAlarmConditionDetails. Type of defined monitoring template.

Allowed values for this property are: “FIXED”, “AVAILABILITY”

Returns

The condition_type of this UpdateAlarmConditionDetails.

Return type

str

property conditions

Gets the conditions of this UpdateAlarmConditionDetails. Monitoring template conditions

Returns

The conditions of this UpdateAlarmConditionDetails.

Return type

list[oci.stack_monitoring.models.Condition]

property defined_tags

Gets the defined_tags of this UpdateAlarmConditionDetails. 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 UpdateAlarmConditionDetails.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this UpdateAlarmConditionDetails. 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 UpdateAlarmConditionDetails.

Return type

dict(str, str)

property metric_name

Gets the metric_name of this UpdateAlarmConditionDetails. The metric name.

Returns

The metric_name of this UpdateAlarmConditionDetails.

Return type

str

property namespace

Gets the namespace of this UpdateAlarmConditionDetails. The stack monitoring service or application emitting the metric that is evaluated by the alarm.

Returns

The namespace of this UpdateAlarmConditionDetails.

Return type

str

property resource_type

Gets the resource_type of this UpdateAlarmConditionDetails. The resource type OCID.

Returns

The resource_type of this UpdateAlarmConditionDetails.

Return type

str