Class: Ansible::Ruby::Modules::Clc_group

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

Overview

Create or delete Server Groups at Centurylink 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

#descriptionObject?

Returns A description of the Server Group.

Returns:

  • (Object, nil)

    A description of the Server Group



16
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_group.rb', line 16

attribute :description

#locationObject?

Returns Datacenter to create the group in. If location is not provided, the group gets created in the default datacenter associated with the account.

Returns:

  • (Object, nil)

    Datacenter to create the group in. If location is not provided, the group gets created in the default datacenter associated with the account



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

attribute :location

#nameString

Returns The name of the Server Group.

Returns:

  • (String)

    The name of the Server Group



12
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_group.rb', line 12

attribute :name

#parentObject?

Returns The parent group of the server group. If parent is not provided, it creates the group at top level.

Returns:

  • (Object, nil)

    The parent group of the server group. If parent is not provided, it creates the group at top level.



19
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_group.rb', line 19

attribute :parent

#state:present, ...

Returns Whether to create or delete the group.

Returns:

  • (:present, :absent, nil)

    Whether to create or delete the group



25
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_group.rb', line 25

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.



29
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_group.rb', line 29

attribute :wait