modify azure_rm_devtestlabpolicy relate document (#56770)

This commit is contained in:
Fred-sun 2019-05-23 03:57:10 +08:00 committed by Alicia Cozine
parent 4680ed4525
commit 584a32e028
2 changed files with 11 additions and 10 deletions

View file

@ -17,7 +17,7 @@ DOCUMENTATION = '''
--- ---
module: azure_rm_devtestlabpolicy module: azure_rm_devtestlabpolicy
version_added: "2.8" version_added: "2.8"
short_description: Manage Azure Policy instance. short_description: Manage Azure Policy instance
description: description:
- Create, update and delete instance of Azure Policy. - Create, update and delete instance of Azure Policy.
@ -43,7 +43,7 @@ options:
- The description of the policy. - The description of the policy.
fact_name: fact_name:
description: description:
- The fact name of the policy (e.g. C(lab_vm_count), C(lab_vm_size), MaxVmsAllowedPerLab, etc. - The fact name of the policy (e.g. C(lab_vm_count), C(lab_vm_size)), MaxVmsAllowedPerLab, etc.
choices: choices:
- 'user_owned_lab_vm_count' - 'user_owned_lab_vm_count'
- 'user_owned_lab_premium_vm_count' - 'user_owned_lab_premium_vm_count'
@ -59,19 +59,19 @@ options:
type: raw type: raw
state: state:
description: description:
- Assert the state of the Policy. - Assert the state of the Policy.
- Use C(present) to create or update an Policy and C(absent) to delete it. - Use C(present) to create or update an Policy 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_devtestlabpolicy_facts module: azure_rm_devtestlabpolicy_facts
version_added: "2.8" version_added: "2.8"
short_description: Get Azure DTL Policy facts. short_description: Get Azure DTL Policy facts
description: description:
- Get facts of Azure DTL Policy. - Get facts of Azure DTL Policy.
@ -45,7 +45,7 @@ extends_documentation_fragment:
- azure - azure
author: author:
- "Zim Kalinowski (@zikalino)" - Zim Kalinowski (@zikalino)
''' '''
@ -60,7 +60,8 @@ EXAMPLES = '''
RETURN = ''' RETURN = '''
policies: policies:
description: A list of dictionaries containing facts for Policy. description:
- A list of dictionaries containing facts for Policy.
returned: always returned: always
type: complex type: complex
contains: contains: