1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
@ -65,7 +65,7 @@ options:
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
@ -76,7 +76,7 @@ extends_documentation_fragment:
- 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