Class: Ansible::Ruby::Modules::Rax_scaling_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_scaling_group
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb
Instance Method Summary collapse
-
#config_drive ⇒ Boolean?
Attach read-only configuration drive to server as label config-2.
-
#cooldown ⇒ Object?
The period of time, in seconds, that must pass before any scaling can occur after the previous scaling.
-
#disk_config ⇒ :auto, ...
Disk partitioning strategy.
-
#files ⇒ Object?
Files to insert into the instance.
-
#flavor ⇒ Object
Flavor to use for the instance.
-
#image ⇒ Object
Image to use for the instance.
-
#key_name ⇒ Object?
Key pair to use on the instance.
-
#loadbalancers ⇒ Object?
List of load balancer C(id) and C(port) hashes.
-
#max_entities ⇒ Object
The maximum number of entities that are allowed in the scaling group.
-
#meta ⇒ Object?
A hash of metadata to associate with the instance.
-
#min_entities ⇒ Object
The minimum number of entities that are allowed in the scaling group.
-
#name ⇒ Object
Name to give the scaling group.
-
#networks ⇒ String?
The network to attach to the instances.
-
#server_name ⇒ Object
The base name for servers created by Autoscale.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#user_data ⇒ Object?
Data to be uploaded to the servers config drive.
-
#wait ⇒ :yes, ...
Wait for the scaling group to finish provisioning the minimum amount of servers.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
Methods inherited from Base
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
#config_drive ⇒ Boolean?
Returns Attach read-only configuration drive to server as label config-2.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 10 attribute :config_drive |
#cooldown ⇒ Object?
Returns The period of time, in seconds, that must pass before any scaling can occur after the previous scaling. Must be an integer between 0 and 86400 (24 hrs).
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 14 attribute :cooldown |
#disk_config ⇒ :auto, ...
Returns Disk partitioning strategy.
17 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 17 attribute :disk_config |
#files ⇒ Object?
Returns Files to insert into the instance. Hash of C(remotepath: localpath).
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 21 attribute :files |
#flavor ⇒ Object
Returns flavor to use for the instance.
24 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 24 attribute :flavor |
#image ⇒ Object
Returns image to use for the instance. Can be an C(id), C(human_id) or C(name).
28 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 28 attribute :image |
#key_name ⇒ Object?
Returns key pair to use on the instance.
32 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 32 attribute :key_name |
#loadbalancers ⇒ Object?
Returns List of load balancer C(id) and C(port) hashes.
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 35 attribute :loadbalancers |
#max_entities ⇒ Object
Returns The maximum number of entities that are allowed in the scaling group. Must be an integer between 0 and 1000.
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 38 attribute :max_entities |
#meta ⇒ Object?
Returns A hash of metadata to associate with the instance.
42 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 42 attribute :meta |
#min_entities ⇒ Object
Returns The minimum number of entities that are allowed in the scaling group. Must be an integer between 0 and 1000.
45 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 45 attribute :min_entities |
#name ⇒ Object
Returns Name to give the scaling group.
49 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 49 attribute :name |
#networks ⇒ String?
Returns The network to attach to the instances. If specified, you must include ALL networks including the public and private interfaces. Can be C(id) or C(label).
53 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 53 attribute :networks |
#server_name ⇒ Object
Returns The base name for servers created by Autoscale.
57 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 57 attribute :server_name |
#state ⇒ :present, ...
Returns Indicate desired state of the resource.
61 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 61 attribute :state |
#user_data ⇒ Object?
Returns Data to be uploaded to the servers config drive. This option implies I(config_drive). Can be a file path or a string.
65 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 65 attribute :user_data |
#wait ⇒ :yes, ...
Returns wait for the scaling group to finish provisioning the minimum amount of servers.
68 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 68 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
72 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 72 attribute :wait_timeout |