Class: Ansible::Ruby::Modules::Rax_cdb

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

Overview

creates / deletes or resize a Rackspace Cloud Databases instance and optionally waits for it to be ‘running’. The name option needs to be unique since it’s used to identify the instance.

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

#cdb_typeString?

Returns type of instance (i.e. MySQL, MariaDB, Percona).

Returns:

  • (String, nil)

    type of instance (i.e. MySQL, MariaDB, Percona)



24
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 24

attribute :cdb_type

#cdb_version5.1, ...

Returns version of database (MySQL supports 5.1 and 5.6, MariaDB supports 10, Percona supports 5.6).

Returns:

  • (5.1, 5.6, 10, nil)

    version of database (MySQL supports 5.1 and 5.6, MariaDB supports 10, Percona supports 5.6)



28
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 28

attribute :cdb_version

#flavorInteger?

Returns flavor to use for the instance 1 to 6 (i.e. 512MB to 16GB).

Returns:

  • (Integer, nil)

    flavor to use for the instance 1 to 6 (i.e. 512MB to 16GB)



16
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 16

attribute :flavor

#nameString?

Returns Name of the databases server instance.

Returns:

  • (String, nil)

    Name of the databases server instance



12
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 12

attribute :name

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



32
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 32

attribute :state

#volumeInteger?

Returns Volume size of the database 1-150GB.

Returns:

  • (Integer, nil)

    Volume size of the database 1-150GB



20
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 20

attribute :volume

#wait:yes, ...

Returns wait for the instance to be in state ‘running’ before returning.

Returns:

  • (:yes, :no, nil)

    wait for the instance to be in state ‘running’ before returning



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

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



40
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 40

attribute :wait_timeout