Update azure_rm_mysqldatabase related document (#57338)
parent
ee8a607cca
commit
15034fb5b5
|
@ -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
|
||||||
|
|
|
@ -17,7 +17,7 @@ DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: azure_rm_mysqldatabase_facts
|
module: azure_rm_mysqldatabase_facts
|
||||||
version_added: "2.7"
|
version_added: "2.7"
|
||||||
short_description: Get Azure MySQL Database facts.
|
short_description: Get Azure MySQL Database facts
|
||||||
description:
|
description:
|
||||||
- Get facts of MySQL Database.
|
- Get facts of MySQL Database.
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ extends_documentation_fragment:
|
||||||
- azure
|
- azure
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- "Zim Kalinowski (@zikalino)"
|
- Zim Kalinowski (@zikalino)
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
@ -57,13 +57,14 @@ EXAMPLES = '''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
databases:
|
databases:
|
||||||
description: A list of dictionaries containing facts for MySQL Databases.
|
description:
|
||||||
|
- A list of dictionaries containing facts for MySQL Databases.
|
||||||
returned: always
|
returned: always
|
||||||
type: complex
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
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/testser
|
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMySQL/servers/testser
|
||||||
|
@ -91,7 +92,7 @@ databases:
|
||||||
- The charset of the database.
|
- The charset of the database.
|
||||||
returned: always
|
returned: always
|
||||||
type: str
|
type: str
|
||||||
sample: UTF8
|
sample: utf8
|
||||||
collation:
|
collation:
|
||||||
description:
|
description:
|
||||||
- The collation of the database.
|
- The collation of the database.
|
||||||
|
|
Loading…
Reference in New Issue