modify document (#56762)

This commit is contained in:
Fred-sun 2019-05-23 03:52:37 +08:00 committed by Alicia Cozine
parent 96d2dd3241
commit 71ec184688
2 changed files with 16 additions and 15 deletions

View file

@ -17,7 +17,7 @@ DOCUMENTATION = '''
---
module: azure_rm_devtestlabartifactsource
version_added: "2.8"
short_description: Manage Azure DevTest Labs Artifacts Source instance.
short_description: Manage Azure DevTest Labs Artifacts Source instance
description:
- Create, update and delete instance of Azure DevTest Labs Artifacts Source.
@ -36,13 +36,13 @@ options:
required: True
display_name:
description:
- "The artifact source's display name."
- The artifact source's display name.
uri:
description:
- "The artifact source's URI."
- The artifact source's URI.
source_type:
description:
- "The artifact source's type."
- The artifact source's type.
choices:
- 'vso'
- 'github'
@ -54,7 +54,7 @@ options:
- The folder containing Azure Resource Manager templates.
branch_ref:
description:
- "The artifact source's branch reference."
- The artifact source's branch reference.
security_token:
description:
- The security token to authenticate to the artifact source.
@ -64,19 +64,19 @@ options:
type: bool
state:
description:
- Assert the state of the DevTest Labs Artifacts Source.
- Use 'present' to create or update an DevTest Labs Artifacts Source and 'absent' to delete it.
- Assert the state of the DevTest Labs Artifacts Source.
- Use C(present) to create or update an DevTest Labs Artifacts Source 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_devtestlabartifactsource_facts
version_added: "2.8"
short_description: Get Azure DevTest Lab Artifact Source facts.
short_description: Get Azure DevTest Lab Artifact Source facts
description:
- Get facts of Azure DevTest Lab Artifact Source.
@ -41,7 +41,7 @@ extends_documentation_fragment:
- azure
author:
- "Zim Kalinowski (@zikalino)"
- Zim Kalinowski (@zikalino)
'''
@ -55,7 +55,8 @@ EXAMPLES = '''
RETURN = '''
artifactsources:
description: A list of dictionaries containing facts for DevTest Lab Artifact Source.
description:
- A list of dictionaries containing facts for DevTest Lab Artifact Source.
returned: always
type: complex
contains:
@ -86,13 +87,13 @@ artifactsources:
sample: myArtifactSource
display_name:
description:
- "The artifact source's display name."
- The artifact source's display name.
returned: always
type: str
sample: Public Artifact Repo
source_type:
description:
- "The artifact source's type."
- The artifact source's type.
returned: always
type: str
sample: github