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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_aa_policy.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #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.



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

attribute :location

#nameString

Returns The name of the Anti Affinity Policy.

Returns:

  • (String)

    The name of the Anti Affinity Policy.



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

attribute :name

#state:present, ...

Returns Whether to create or delete the policy.

Returns:

  • (:present, :absent, nil)

    Whether to create or delete the policy.



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

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.



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

attribute :wait