Update azure_rm_sqlfirewallrule related document (#58265)

* Update azure_rm_sqlfirewallrule related documentation
pull/58350/head
Fred-sun 5 years ago committed by Alicia Cozine
parent e32d60bbcd
commit bb2c7cf57d

@ -17,7 +17,7 @@ DOCUMENTATION = '''
--- ---
module: azure_rm_sqlfirewallrule module: azure_rm_sqlfirewallrule
version_added: "2.7" version_added: "2.7"
short_description: Manage Firewall Rule instance. short_description: Manage Firewall Rule instance
description: description:
- Create, update and delete instance of Firewall Rule. - Create, update and delete instance of Firewall Rule.
@ -36,24 +36,25 @@ options:
required: True required: True
start_ip_address: start_ip_address:
description: description:
- The start IP address of the firewall rule. Must be IPv4 format. Use value C(0.0.0.0) to represent all Azure-internal IP addresses. - The start IP address of the firewall rule.
- Must be IPv4 format. Use value C(0.0.0.0) to represent all Azure-internal IP addresses.
end_ip_address: end_ip_address:
description: description:
- "The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value C(0.0.0.0) to represe - The end IP address of the firewall rule.
nt all Azure-internal IP addresses." - Must be IPv4 format. Must be greater than or equal to I(start_ip_address). Use value C(0.0.0.0) to represent all Azure-internal IP addresses.
state: state:
description: description:
- Assert the state of the SQL Database. Use C(present) to create or update an SQL Database and C(absent) to delete it. - State of the SQL Database. Use C(present) to create or update an SQL Database and C(absent) to delete it.
default: present default: present
choices: choices:
- absent - absent
- present - present
extends_documentation_fragment: extends_documentation_fragment:
- azure - azure
author: author:
- "Zim Kalinowski (@zikalino)" - Zim Kalinowski (@zikalino)
''' '''

@ -17,7 +17,7 @@ DOCUMENTATION = '''
--- ---
module: azure_rm_sqlfirewallrule_facts module: azure_rm_sqlfirewallrule_facts
version_added: "2.8" version_added: "2.8"
short_description: Get Azure SQL Firewall Rule facts. short_description: Get Azure SQL Firewall Rule facts
description: description:
- Get facts of SQL Firewall Rule. - Get facts of SQL Firewall Rule.
@ -38,7 +38,7 @@ extends_documentation_fragment:
- azure - azure
author: author:
- "Zim Kalinowski (@zikalino)" - Zim Kalinowski (@zikalino)
''' '''
@ -57,13 +57,14 @@ EXAMPLES = '''
RETURN = ''' RETURN = '''
rules: rules:
description: A list of dict results containing the facts for matching SQL firewall rules. description:
- A list of dict results containing the facts for matching SQL firewall rules.
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/xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Sql/servers/testser sample: "/subscriptions/xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Sql/servers/testser
@ -94,7 +95,7 @@ rules:
sample: 10.0.0.1 sample: 10.0.0.1
end_ip_address: end_ip_address:
description: description:
- The start IP address of the firewall rule. - The end IP address of the firewall rule.
returned: always returned: always
type: str type: str
sample: 10.0.0.5 sample: 10.0.0.5

Loading…
Cancel
Save