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 module: azure_rm_devtestlabartifactsource
version_added: "2.8" version_added: "2.8"
short_description: Manage Azure DevTest Labs Artifacts Source instance. short_description: Manage Azure DevTest Labs Artifacts Source instance
description: description:
- Create, update and delete instance of Azure DevTest Labs Artifacts Source. - Create, update and delete instance of Azure DevTest Labs Artifacts Source.
@ -36,13 +36,13 @@ options:
required: True required: True
display_name: display_name:
description: description:
- "The artifact source's display name." - The artifact source's display name.
uri: uri:
description: description:
- "The artifact source's URI." - The artifact source's URI.
source_type: source_type:
description: description:
- "The artifact source's type." - The artifact source's type.
choices: choices:
- 'vso' - 'vso'
- 'github' - 'github'
@ -54,7 +54,7 @@ options:
- The folder containing Azure Resource Manager templates. - The folder containing Azure Resource Manager templates.
branch_ref: branch_ref:
description: description:
- "The artifact source's branch reference." - The artifact source's branch reference.
security_token: security_token:
description: description:
- The security token to authenticate to the artifact source. - The security token to authenticate to the artifact source.
@ -64,19 +64,19 @@ options:
type: bool type: bool
state: state:
description: description:
- Assert the state of the DevTest Labs Artifacts Source. - 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. - Use C(present) to create or update an DevTest Labs Artifacts Source and C(absent) to delete it.
default: present default: present
choices: choices:
- absent - absent
- present - present
extends_documentation_fragment: extends_documentation_fragment:
- azure - azure
- azure_tags - azure_tags
author: author:
- "Zim Kalinowski (@zikalino)" - Zim Kalinowski (@zikalino)
''' '''

View file

@ -17,7 +17,7 @@ DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabartifactsource_facts module: azure_rm_devtestlabartifactsource_facts
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DevTest Lab Artifact Source facts. short_description: Get Azure DevTest Lab Artifact Source facts
description: description:
- Get facts of Azure DevTest Lab Artifact Source. - Get facts of Azure DevTest Lab Artifact Source.
@ -41,7 +41,7 @@ extends_documentation_fragment:
- azure - azure
author: author:
- "Zim Kalinowski (@zikalino)" - Zim Kalinowski (@zikalino)
''' '''
@ -55,7 +55,8 @@ EXAMPLES = '''
RETURN = ''' RETURN = '''
artifactsources: 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 returned: always
type: complex type: complex
contains: contains:
@ -86,13 +87,13 @@ artifactsources:
sample: myArtifactSource sample: myArtifactSource
display_name: display_name:
description: description:
- "The artifact source's display name." - The artifact source's display name.
returned: always returned: always
type: str type: str
sample: Public Artifact Repo sample: Public Artifact Repo
source_type: source_type:
description: description:
- "The artifact source's type." - The artifact source's type.
returned: always returned: always
type: str type: str
sample: github sample: github