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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_modify_server.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

#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’



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

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’



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

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’



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

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’



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

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



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

attribute :cpu

#memoryInteger?

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

Returns:

  • (Integer, nil)

    Memory (in GB) to set to the server.



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

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.



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

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.



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

attribute :state

#waitBoolean?

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

Returns:

  • (Boolean, nil)

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



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

attribute :wait