Update azure_rm_mariadbdatabase relate document (#57287)

This commit is contained in:
Fred-sun 2019-06-03 13:49:38 -04:00 committed by Alicia Cozine
parent ea939c7e3e
commit ceb91ef80a
2 changed files with 14 additions and 17 deletions

View file

@ -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

View file

@ -18,7 +18,7 @@ DOCUMENTATION = '''
--- ---
module: azure_rm_mariadbdatabase_facts module: azure_rm_mariadbdatabase_facts
version_added: "2.8" version_added: "2.8"
short_description: Get Azure MariaDB Database facts. short_description: Get Azure MariaDB Database facts
description: description:
- Get facts of MariaDB Database. - Get facts of MariaDB Database.
@ -39,8 +39,8 @@ extends_documentation_fragment:
- azure - azure
author: author:
- "Zim Kalinowski (@zikalino)" - Zim Kalinowski (@zikalino)
- "Matti Ranta (@techknowlogick)" - Matti Ranta (@techknowlogick)
''' '''
@ -59,13 +59,14 @@ EXAMPLES = '''
RETURN = ''' RETURN = '''
databases: databases:
description: A list of dictionaries containing facts for MariaDB Databases. description:
- A list of dictionaries containing facts for MariaDB 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.DBforMariaDB/servers/testser sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMariaDB/servers/testser