Update azure_rm_sqlserver related document (#58267)

* Update azure_rm_sqlserver related documentation
This commit is contained in:
Fred-sun 2019-06-26 00:33:12 +08:00 committed by Alicia Cozine
parent bb2c7cf57d
commit 42a831d42c
2 changed files with 12 additions and 11 deletions

View file

@ -19,7 +19,7 @@ module: azure_rm_sqlserver
version_added: "2.5"
short_description: Manage SQL Server instance
description:
- Create, update and delete instance of SQL Server
- Create, update and delete instance of SQL Server.
options:
resource_group:
@ -41,15 +41,14 @@ options:
- The administrator login password (required for server creation).
version:
description:
- "The version of the server. For example '12.0'."
- The version of the server. For example C(12.0).
identity:
description:
- "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resour
ce. Possible values include: 'SystemAssigned'"
- The identity type. Set this to C(SystemAssigned) in order to automatically create and assign an Azure Active Directory principal for the resource.
- Possible values include C(SystemAssigned).
state:
description:
- Assert the state of the SQL server. Use C(present) to create or update a server and
C(absent) to delete a server.
- State of the SQL server. Use C(present) to create or update a server and use C(absent) to delete a server.
default: present
choices:
- absent
@ -60,7 +59,7 @@ extends_documentation_fragment:
- azure_tags
author:
- "Zim Kalinowski (@zikalino)"
- Zim Kalinowski (@zikalino)
'''

View file

@ -17,7 +17,7 @@ DOCUMENTATION = '''
---
module: azure_rm_sqlserver_facts
version_added: "2.5"
short_description: Get SQL Server facts.
short_description: Get SQL Server facts
description:
- Get facts of SQL Server.
@ -35,7 +35,7 @@ extends_documentation_fragment:
- azure_tags
author:
- "Zim Kalinowski (@zikalino)"
- Zim Kalinowski (@zikalino)
'''
@ -52,12 +52,14 @@ EXAMPLES = '''
RETURN = '''
servers:
description: A list of dict results where the key is the name of the SQL Server and the values are the facts for that SQL Server.
description:
- A list of dict results where the key is the name of the SQL Server and the values are the facts for that SQL Server.
returned: always
type: complex
contains:
sqlserver_name:
description: The key is the name of the server that the values relate to.
description:
- The key is the name of the server that the values relate to.
type: complex
contains:
id: