Class: Ansible::Ruby::Modules::Azure_rm_mysqldatabase

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

Overview

Create, update and delete instance of MySQL 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 MySQL 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 MySQL 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_mysqldatabase.rb', line 24

attribute :charset

#collationObject?

Returns The collation of the database. Check MySQL 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 MySQL 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_mysqldatabase.rb', line 27

attribute :collation

#force_update:yes, ...

Returns When set to C(true), will delete and recreate the existing MySQL 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 MySQL 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_mysqldatabase.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_mysqldatabase.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_mysqldatabase.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_mysqldatabase.rb', line 16

attribute :server_name

#state:absent, ...

Returns Assert the state of the MySQL Database. Use ‘present’ to create or update a database and ‘absent’ to delete it.

Returns:

  • (:absent, :present, nil)

    Assert the state of the MySQL 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_mysqldatabase.rb', line 34

attribute :state