Class: Ansible::Ruby::Modules::Azure_rm_postgresqldatabase
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_postgresqldatabase
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb
Overview
Create, update and delete instance of PostgreSQL Database.
Instance Method Summary collapse
-
#charset ⇒ Object?
The charset of the database.
-
#collation ⇒ Object?
The collation of the database.
-
#force_update ⇒ :yes, ...
When set to C(true), will delete and recreate the existing PostgreSQL database if any of the properties don’t match what is set.,When set to C(false), no change will occur to the database even if any of the properties do not match.
-
#name ⇒ String
The name of the database.
-
#resource_group ⇒ String
The name of the resource group that contains the resource.
-
#server_name ⇒ String
The name of the server.
-
#state ⇒ :absent, ...
Assert the state of the PostgreSQL database.
Methods inherited from Base
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
#charset ⇒ Object?
Returns The charset of the database. Check PostgreSQL documentation for possible values.,This is only set on creation, use I(force_update) to recreate a database if the values don’t match.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 24 attribute :charset |
#collation ⇒ Object?
Returns The collation of the database. Check PostgreSQL documentation for possible values.,This is only set on creation, use I(force_update) to recreate a database if the values don’t match.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 27 attribute :collation |
#force_update ⇒ :yes, ...
Returns When set to C(true), will delete and recreate the existing PostgreSQL database if any of the properties don’t match what is set.,When set to C(false), no change will occur to the database even if any of the properties do not match.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 30 attribute :force_update |
#name ⇒ String
Returns The name of the database.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 20 attribute :name |
#resource_group ⇒ String
Returns The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 12 attribute :resource_group |
#server_name ⇒ String
Returns The name of the server.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 16 attribute :server_name |
#state ⇒ :absent, ...
Returns Assert the state of the PostgreSQL database. Use ‘present’ to create or update a database and ‘absent’ to delete it.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 34 attribute :state |