Class: Ansible::Ruby::Modules::Azure_rm_postgresqldatabase

Inherits:
Base show all
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

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

#charsetObject?

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.

Returns:

  • (Object, nil)

    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

#collationObject?

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.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#nameString

Returns The name of the database.

Returns:

  • (String)

    The name of the database.



20
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_postgresqldatabase.rb', line 20

attribute :name

#resource_groupString

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.

Returns:

  • (String)

    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_nameString

Returns The name of the server.

Returns:

  • (String)

    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.

Returns:

  • (:absent, :present, nil)

    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