Class: Ansible::Ruby::Modules::Clc_modify_server
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Clc_modify_server
- 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
-
#alert_policy_id ⇒ Object?
The alert policy id to be associated to the server.
-
#alert_policy_name ⇒ String?
The alert policy name to be associated to the server.
-
#anti_affinity_policy_id ⇒ Object?
The anti affinity policy id to be set for a hyper scale server.
-
#anti_affinity_policy_name ⇒ String?
The anti affinity policy name to be set for a hyper scale server.
-
#cpu ⇒ Integer?
How many CPUs to update on the server.
-
#memory ⇒ Integer?
Memory (in GB) to set to the server.
-
#server_ids ⇒ Array<String>, String
A list of server Ids to modify.
-
#state ⇒ :present, ...
The state to insure that the provided resources are in.
-
#wait ⇒ :yes, ...
Whether to wait for the provisioning tasks to finish before returning.
Methods inherited from Base
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_id ⇒ Object?
Returns 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_name ⇒ String?
Returns 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_id ⇒ Object?
Returns 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_name ⇒ String?
Returns 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 |
#cpu ⇒ Integer?
Returns 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 |
#memory ⇒ Integer?
Returns 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_ids ⇒ Array<String>, String
Returns 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.
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.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_modify_server.rb', line 42 attribute :wait |