modify azure_rm_devtestlabcustomimage's document (#56763)

This commit is contained in:
Fred-sun 2019-05-23 03:53:21 +08:00 committed by Alicia Cozine
parent 71ec184688
commit 16fb3ffbda
2 changed files with 11 additions and 10 deletions

View file

@ -17,7 +17,7 @@ DOCUMENTATION = '''
---
module: azure_rm_devtestlabcustomimage
version_added: "2.8"
short_description: Manage Azure DevTest Lab Custom Image instance.
short_description: Manage Azure DevTest Lab Custom Image instance
description:
- Create, update and delete instance of Azure DevTest Lab Custom Image.
@ -59,19 +59,19 @@ options:
- The author of the custom image.
state:
description:
- Assert the state of the Custom Image.
- Use C(present) to create or update an Custom Image and C(absent) to delete it.
- Assert the state of the Custom Image.
- Use C(present) to create or update an Custom Image and C(absent) to delete it.
default: present
choices:
- absent
- present
- absent
- present
extends_documentation_fragment:
- azure
- azure_tags
author:
- "Zim Kalinowski (@zikalino)"
- Zim Kalinowski (@zikalino)
'''

View file

@ -17,7 +17,7 @@ DOCUMENTATION = '''
---
module: azure_rm_devtestlabcustomimage_facts
version_added: "2.8"
short_description: Get Azure DevTest Lab Custom Image facts.
short_description: Get Azure DevTest Lab Custom Image facts
description:
- Get facts of Azure Azure DevTest Lab Custom Image.
@ -41,7 +41,7 @@ extends_documentation_fragment:
- azure
author:
- "Zim Kalinowski (@zikalino)"
- Zim Kalinowski (@zikalino)
'''
@ -61,7 +61,8 @@ EXAMPLES = '''
RETURN = '''
custom_images:
description: A list of dictionaries containing facts for Custom Image.
description:
- A list of dictionaries containing facts for Custom Image.
returned: always
type: complex
contains:
@ -108,7 +109,7 @@ custom_images:
- The tags of the resource.
returned: always
type: complex
sample: "{ 'MyTag': 'MyValue' }"
sample: "{ 'MyTag':'MyValue' }"
'''
from ansible.module_utils.azure_rm_common import AzureRMModuleBase