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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/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, #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)



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

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)



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

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)



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

attribute :flavor

#nameString?

Returns Name of the databases server instance.

Returns:

  • (String, nil)

    Name of the databases server instance



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

attribute :name

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



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

attribute :state

#volumeInteger?

Returns Volume size of the database 1-150GB.

Returns:

  • (Integer, nil)

    Volume size of the database 1-150GB



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

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



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

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



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

attribute :wait_timeout