Class: Ansible::Ruby::Modules::Clc_alert_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Clc_alert_policy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb
Overview
An Ansible module to Create or Delete Alert Policies at CenturyLink Cloud.
Instance Method Summary collapse
-
#alert_recipients ⇒ Object?
A list of recipient email ids to notify the alert.
-
#alias ⇒ Object
The alias of your CLC Account.
-
#duration ⇒ Object?
The length of time in minutes that the condition must exceed the threshold.
-
#id ⇒ Object?
The alert policy id.
-
#metric ⇒ :cpu, ...
The metric on which to measure the condition that will trigger the alert.
-
#name ⇒ String?
The name of the alert policy.
-
#state ⇒ :present, ...
Whether to create or delete the policy.
-
#threshold ⇒ Object?
The threshold that will trigger the alert when the metric equals or exceeds it.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#alert_recipients ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 23 attribute :alert_recipients |
#alias ⇒ Object
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 12 attribute :alias |
#duration ⇒ Object?
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 30 attribute :duration |
#id ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 20 attribute :id |
#metric ⇒ :cpu, ...
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 26 attribute :metric |
#name ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 16 attribute :name |
#state ⇒ :present, ...
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 36 attribute :state |
#threshold ⇒ Object?
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_alert_policy.rb', line 33 attribute :threshold |