|
|
@ -17,7 +17,7 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: azure_rm_mysqldatabase
|
|
|
|
module: azure_rm_mysqldatabase
|
|
|
|
version_added: "2.5"
|
|
|
|
version_added: "2.5"
|
|
|
|
short_description: Manage MySQL Database instance.
|
|
|
|
short_description: Manage MySQL Database instance
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Create, update and delete instance of MySQL Database.
|
|
|
|
- Create, update and delete instance of MySQL Database.
|
|
|
|
|
|
|
|
|
|
|
@ -37,21 +37,17 @@ options:
|
|
|
|
charset:
|
|
|
|
charset:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The charset of the database. Check MySQL documentation for possible values.
|
|
|
|
- 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
|
|
|
|
- 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 MySQL documentation for possible values.
|
|
|
|
- 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
|
|
|
|
- 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 MySQL database if any
|
|
|
|
- When set to C(true), will delete and recreate the existing MySQL 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
|
|
|
|
type: bool
|
|
|
|
of the properties do not match.
|
|
|
|
default: 'no'
|
|
|
|
type: bool
|
|
|
|
|
|
|
|
default: 'no'
|
|
|
|
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Assert the state of the MySQL Database. Use C(present) to create or update a database and C(absent) to delete it.
|
|
|
|
- Assert the state of the MySQL Database. Use C(present) to create or update a database and C(absent) to delete it.
|
|
|
@ -64,7 +60,7 @@ extends_documentation_fragment:
|
|
|
|
- azure
|
|
|
|
- azure
|
|
|
|
|
|
|
|
|
|
|
|
author:
|
|
|
|
author:
|
|
|
|
- "Zim Kalinowski (@zikalino)"
|
|
|
|
- Zim Kalinowski (@zikalino)
|
|
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
@ -79,7 +75,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.DBforMySQL/servers/testserver/databases/db1
|
|
|
|
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1
|
|
|
|