Class: Ansible::Ruby::Modules::Rax_cdb
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_cdb
- 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
-
#cdb_type ⇒ String?
Type of instance (i.e. MySQL, MariaDB, Percona).
-
#cdb_version ⇒ 5.1, ...
Version of database (MySQL supports 5.1 and 5.6, MariaDB supports 10, Percona supports 5.6).
-
#flavor ⇒ Integer?
Flavor to use for the instance 1 to 6 (i.e. 512MB to 16GB).
-
#name ⇒ String?
Name of the databases server instance.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#volume ⇒ Integer?
Volume size of the database 1-150GB.
-
#wait ⇒ :yes, ...
Wait for the instance to be in state ‘running’ before returning.
-
#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, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cdb_type ⇒ String?
Returns 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_version ⇒ 5.1, ...
Returns 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 |
#flavor ⇒ Integer?
Returns 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 |
#name ⇒ String?
Returns 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.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 32 attribute :state |
#volume ⇒ Integer?
Returns 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.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cdb.rb', line 36 attribute :wait |
#wait_timeout ⇒ Integer?
Returns 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 |