|
|
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: azure_rm_mariadbdatabase
|
|
|
|
module: azure_rm_mariadbdatabase
|
|
|
|
version_added: "2.8"
|
|
|
|
version_added: "2.8"
|
|
|
|
short_description: Manage MariaDB Database instance.
|
|
|
|
short_description: Manage MariaDB Database instance
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Create, update and delete instance of MariaDB Database.
|
|
|
|
- Create, update and delete instance of MariaDB Database.
|
|
|
|
|
|
|
|
|
|
|
|
@ -38,19 +38,15 @@ options:
|
|
|
|
charset:
|
|
|
|
charset:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The charset of the database. Check MariaDB documentation for possible values.
|
|
|
|
- The charset of the database. Check MariaDB documentation for possible values.
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the values don't match.
|
|
|
|
values don't match.
|
|
|
|
|
|
|
|
collation:
|
|
|
|
collation:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The collation of the database. Check MariaDB documentation for possible values.
|
|
|
|
- The collation of the database. Check MariaDB documentation for possible values.
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the
|
|
|
|
- This is only set on creation, use I(force_update) to recreate a database if the values don't match.
|
|
|
|
values don't match.
|
|
|
|
|
|
|
|
force_update:
|
|
|
|
force_update:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- When set to C(true), will delete and recreate the existing MariaDB database if any
|
|
|
|
- When set to C(true), will delete and recreate the existing MariaDB database if any of the properties don't match what is set.
|
|
|
|
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.
|
|
|
|
- When set to C(false), no change will occur to the database even if any
|
|
|
|
|
|
|
|
of the properties do not match.
|
|
|
|
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: 'no'
|
|
|
|
default: 'no'
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
@ -65,8 +61,8 @@ extends_documentation_fragment:
|
|
|
|
- azure
|
|
|
|
- azure
|
|
|
|
|
|
|
|
|
|
|
|
author:
|
|
|
|
author:
|
|
|
|
- "Zim Kalinowski (@zikalino)"
|
|
|
|
- Zim Kalinowski (@zikalino)
|
|
|
|
- "Matti Ranta (@techknowlogick)"
|
|
|
|
- Matti Ranta (@techknowlogick)
|
|
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
@ -81,7 +77,7 @@ EXAMPLES = '''
|
|
|
|
RETURN = '''
|
|
|
|
RETURN = '''
|
|
|
|
id:
|
|
|
|
id:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Resource ID
|
|
|
|
- Resource ID.
|
|
|
|
returned: always
|
|
|
|
returned: always
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1
|
|
|
|
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1
|
|
|
|
|