Class: Ansible::Ruby::Modules::Clc_aa_policy

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#locationObject

Returns Datacenter in which the policy lives/should live.

Returns:

  • (Object)

    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

#nameString

Returns The name of the Anti Affinity Policy.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    Whether to create or delete the policy.



20
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_aa_policy.rb', line 20

attribute :state

#waitBoolean?

Returns Whether to wait for the tasks to finish before returning.

Returns:

  • (Boolean, nil)

    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