From 9b6a295ca52aa25c9d94959504d1ac67528b61bc Mon Sep 17 00:00:00 2001 From: Fred-sun <37327967+Fred-sun@users.noreply.github.com> Date: Wed, 5 Jun 2019 09:08:53 -0400 Subject: [PATCH] Update azure_rm_mysqlfirewallrule related document (#57384) --- .../modules/cloud/azure/azure_rm_mysqlfirewallrule.py | 8 +++++--- .../cloud/azure/azure_rm_mysqlfirewallrule_facts.py | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule.py b/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule.py index c2bf764ab4d..c4a176c4cb8 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule.py @@ -17,7 +17,7 @@ DOCUMENTATION = ''' --- module: azure_rm_mysqlfirewallrule version_added: "2.8" -short_description: Manage MySQL firewall rule instance. +short_description: Manage MySQL firewall rule instance description: - Create, update and delete instance of MySQL firewall rule. @@ -37,9 +37,11 @@ options: start_ip_address: description: - The start IP address of the MySQL firewall rule. Must be IPv4 format. + required: True end_ip_address: description: - The end IP address of the MySQL firewall rule. Must be IPv4 format. + required: True state: description: - Assert the state of the MySQL firewall rule. Use C(present) to create or update a rule and C(absent) to ensure it is not present. @@ -52,7 +54,7 @@ extends_documentation_fragment: - azure author: - - "Zim Kalinowski (@zikalino)" + - Zim Kalinowski (@zikalino) ''' @@ -69,7 +71,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/fire diff --git a/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py index c47b5213ce3..e262d6d369b 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_mysqlfirewallrule_facts.py @@ -17,7 +17,7 @@ DOCUMENTATION = ''' --- module: azure_rm_mysqlfirewallrule_facts version_added: "2.8" -short_description: Get Azure MySQL Firewall Rule facts. +short_description: Get Azure MySQL Firewall Rule facts description: - Get facts of Azure MySQL Firewall Rule. @@ -38,7 +38,7 @@ extends_documentation_fragment: - azure author: - - "Zim Kalinowski (@zikalino)" + - Zim Kalinowski (@zikalino) ''' @@ -57,13 +57,14 @@ EXAMPLES = ''' RETURN = ''' rules: - description: A list of dictionaries containing facts for MySQL Firewall Rule. + description: + - A list of dictionaries containing facts for MySQL Firewall Rule. returned: always type: complex contains: id: description: - - Resource ID + - Resource ID. returned: always type: str sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/testserver/fire