Class: Ansible::Ruby::Modules::Clc_modify_server

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

Overview

An Ansible module to modify servers in 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

#alert_policy_idObject?

Returns The alert policy id to be associated to the server. This is mutually exclusive with ‘alert_policy_name’.

Returns:

  • (Object, nil)

    The alert policy id to be associated to the server. This is mutually exclusive with ‘alert_policy_name’



31
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 31

attribute :alert_policy_id

#alert_policy_nameString?

Returns The alert policy name to be associated to the server. This is mutually exclusive with ‘alert_policy_id’.

Returns:

  • (String, nil)

    The alert policy name to be associated to the server. This is mutually exclusive with ‘alert_policy_id’



34
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 34

attribute :alert_policy_name

#anti_affinity_policy_idObject?

Returns The anti affinity policy id to be set for a hyper scale server. This is mutually exclusive with ‘anti_affinity_policy_name’.

Returns:

  • (Object, nil)

    The anti affinity policy id to be set for a hyper scale server. This is mutually exclusive with ‘anti_affinity_policy_name’



24
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 24

attribute :anti_affinity_policy_id

#anti_affinity_policy_nameString?

Returns The anti affinity policy name to be set for a hyper scale server. This is mutually exclusive with ‘anti_affinity_policy_id’.

Returns:

  • (String, nil)

    The anti affinity policy name to be set for a hyper scale server. This is mutually exclusive with ‘anti_affinity_policy_id’



27
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 27

attribute :anti_affinity_policy_name

#cpuInteger?

Returns How many CPUs to update on the server.

Returns:

  • (Integer, nil)

    How many CPUs to update on the server



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

attribute :cpu

#memoryInteger?

Returns Memory (in GB) to set to the server.

Returns:

  • (Integer, nil)

    Memory (in GB) to set to the server.



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

attribute :memory

#server_idsArray<String>, String

Returns A list of server Ids to modify.

Returns:

  • (Array<String>, String)

    A list of server Ids to modify.



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

attribute :server_ids

#state:present, ...

Returns The state to insure that the provided resources are in.

Returns:

  • (:present, :absent, nil)

    The state to insure that the provided resources are in.



38
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 38

attribute :state

#wait:yes, ...

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

Returns:

  • (:yes, :no, nil)

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



42
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 42

attribute :wait