From 15034fb5b5e8fb8f3a0aa16c15e6be93bb1997ed Mon Sep 17 00:00:00 2001 From: Fred-sun <37327967+Fred-sun@users.noreply.github.com> Date: Tue, 4 Jun 2019 09:37:22 -0400 Subject: [PATCH] Update azure_rm_mysqldatabase related document (#57338) --- .../cloud/azure/azure_rm_mysqldatabase.py | 24 ++++++++----------- .../azure/azure_rm_mysqldatabase_facts.py | 11 +++++---- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py b/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py index 76a54df982b..435b495855e 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase.py @@ -17,7 +17,7 @@ DOCUMENTATION = ''' --- module: azure_rm_mysqldatabase version_added: "2.5" -short_description: Manage MySQL Database instance. +short_description: Manage MySQL Database instance description: - Create, update and delete instance of MySQL Database. @@ -37,21 +37,17 @@ options: charset: description: - 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. + - This is only set on creation, use I(force_update) to recreate a database if the values don't match. collation: description: - 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. + - This is only set on creation, use I(force_update) to recreate a database if the values don't match. force_update: - description: - - 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. - type: bool - default: 'no' + description: + - 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. + type: bool + default: 'no' state: description: - 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 author: - - "Zim Kalinowski (@zikalino)" + - Zim Kalinowski (@zikalino) ''' @@ -79,7 +75,7 @@ EXAMPLES = ''' RETURN = ''' id: description: - - Resource ID + - Resource ID. returned: always type: str sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMySQL/servers/testserver/databases/db1 diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase_facts.py index bc0b7f2b96d..5998fabc713 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mysqldatabase_facts.py @@ -17,7 +17,7 @@ DOCUMENTATION = ''' --- module: azure_rm_mysqldatabase_facts version_added: "2.7" -short_description: Get Azure MySQL Database facts. +short_description: Get Azure MySQL Database facts description: - Get facts of MySQL Database. @@ -38,7 +38,7 @@ extends_documentation_fragment: - azure author: - - "Zim Kalinowski (@zikalino)" + - Zim Kalinowski (@zikalino) ''' @@ -57,13 +57,14 @@ EXAMPLES = ''' RETURN = ''' databases: - description: A list of dictionaries containing facts for MySQL Databases. + description: + - A list of dictionaries containing facts for MySQL Databases. returned: always type: complex contains: id: description: - - Resource ID + - Resource ID. returned: always type: str sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DBforMySQL/servers/testser @@ -91,7 +92,7 @@ databases: - The charset of the database. returned: always type: str - sample: UTF8 + sample: utf8 collation: description: - The collation of the database.