Class: DatadogAPIClient::V2::DeploymentRuleOptionsMonitorIds
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DeploymentRuleOptionsMonitorIds
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/deployment_rule_options_monitor_ids.rb
Overview
Specific monitor options for deployment rules.
Instance Attribute Summary collapse
-
#duration ⇒ Object
Seconds the monitors need to stay in OK status for the rule to pass.
-
#fail_on_no_data ⇒ Object
Whether the rule should fail if a selected monitor group is in a NO DATA state.
-
#fail_on_no_groups_found ⇒ Object
Whether the rule should fail if no monitor groups are found for the selected monitors.
-
#monitor_ids ⇒ Object
readonly
A non-empty list of specific monitors to evaluate.
-
#warmup ⇒ Object
readonly
Seconds to wait after a deployment starts before evaluating the monitors' statuses.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#duration ⇒ Object
Seconds the monitors need to stay in OK status for the rule to pass.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor_ids.rb', line 25 def duration @duration end |
#fail_on_no_data ⇒ Object
Whether the rule should fail if a selected monitor group is in a NO DATA state.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor_ids.rb', line 28 def fail_on_no_data @fail_on_no_data end |
#fail_on_no_groups_found ⇒ Object
Whether the rule should fail if no monitor groups are found for the selected monitors.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor_ids.rb', line 31 def fail_on_no_groups_found @fail_on_no_groups_found end |
#monitor_ids ⇒ Object
A non-empty list of specific monitors to evaluate.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor_ids.rb', line 34 def monitor_ids @monitor_ids end |
#warmup ⇒ Object
Seconds to wait after a deployment starts before evaluating the monitors' statuses.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor_ids.rb', line 37 def warmup @warmup end |