Class: Ansible::Ruby::Modules::Clc_aa_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Clc_aa_policy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/centurylink/clc_aa_policy.rb
Overview
An Ansible module to Create or Delete Anti Affinity Policies at CenturyLink Cloud.
Instance Method Summary collapse
-
#location ⇒ Object
Datacenter in which the policy lives/should live.
-
#name ⇒ String
The name of the Anti Affinity Policy.
-
#state ⇒ :present, ...
Whether to create or delete the policy.
-
#wait ⇒ Boolean?
Whether to wait for the tasks to finish before returning.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#location ⇒ Object
Returns Datacenter in which the policy lives/should live.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_aa_policy.rb', line 16 attribute :location |
#name ⇒ String
Returns The name of the Anti Affinity Policy.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_aa_policy.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Whether to create or delete the policy.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_aa_policy.rb', line 20 attribute :state |
#wait ⇒ Boolean?
Returns Whether to wait for the tasks to finish before returning.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_aa_policy.rb', line 24 attribute :wait |