Class: Ansible::Ruby::Modules::Rax_scaling_group

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb

Overview

Manipulate Rackspace Cloud Autoscale Groups

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, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#config_driveBoolean?

Returns Attach read-only configuration drive to server as label config-2.

Returns:

  • (Boolean, nil)

    Attach read-only configuration drive to server as label config-2



11
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 11

attribute :config_drive

#cooldownObject?

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).

Returns:

  • (Object, nil)

    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).



15
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 15

attribute :cooldown

#disk_config:auto, ...

Returns Disk partitioning strategy.

Returns:

  • (:auto, :manual, nil)

    Disk partitioning strategy



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 18

attribute :disk_config

#filesObject?

Returns Files to insert into the instance. Hash of C(remotepath: localpath).

Returns:

  • (Object, nil)

    Files to insert into the instance. Hash of C(remotepath: localpath)



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 22

attribute :files

#flavorObject

Returns flavor to use for the instance.

Returns:

  • (Object)

    flavor to use for the instance



25
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 25

attribute :flavor

#imageObject

Returns image to use for the instance. Can be an C(id), C(human_id) or C(name).

Returns:

  • (Object)

    image to use for the instance. Can be an C(id), C(human_id) or C(name)



29
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 29

attribute :image

#key_nameObject?

Returns key pair to use on the instance.

Returns:

  • (Object, nil)

    key pair to use on the instance



33
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 33

attribute :key_name

#loadbalancersObject?

Returns List of load balancer C(id) and C(port) hashes.

Returns:

  • (Object, nil)

    List of load balancer C(id) and C(port) hashes



36
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 36

attribute :loadbalancers

#max_entitiesObject

Returns The maximum number of entities that are allowed in the scaling group. Must be an integer between 0 and 1000.

Returns:

  • (Object)

    The maximum number of entities that are allowed in the scaling group. Must be an integer between 0 and 1000.



39
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 39

attribute :max_entities

#metaObject?

Returns A hash of metadata to associate with the instance.

Returns:

  • (Object, nil)

    A hash of metadata to associate with the instance



43
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 43

attribute :meta

#min_entitiesObject

Returns The minimum number of entities that are allowed in the scaling group. Must be an integer between 0 and 1000.

Returns:

  • (Object)

    The minimum number of entities that are allowed in the scaling group. Must be an integer between 0 and 1000.



46
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 46

attribute :min_entities

#nameObject

Returns Name to give the scaling group.

Returns:

  • (Object)

    Name to give the scaling group



50
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 50

attribute :name

#networksString?

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).

Returns:

  • (String, nil)

    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).



54
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 54

attribute :networks

#server_nameObject

Returns The base name for servers created by Autoscale.

Returns:

  • (Object)

    The base name for servers created by Autoscale



58
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 58

attribute :server_name

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



62
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 62

attribute :state

#user_dataObject?

Returns Data to be uploaded to the servers config drive. This option implies I(config_drive). Can be a file path or a string.

Returns:

  • (Object, nil)

    Data to be uploaded to the servers config drive. This option implies I(config_drive). Can be a file path or a string



66
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 66

attribute :user_data

#wait:yes, ...

Returns wait for the scaling group to finish provisioning the minimum amount of servers.

Returns:

  • (:yes, :no, nil)

    wait for the scaling group to finish provisioning the minimum amount of servers



69
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 69

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



73
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_scaling_group.rb', line 73

attribute :wait_timeout