doc fixes in resorce group (#54575)

* doc fixes in resorce group

* ltl fix
This commit is contained in:
Zim Kalinowski 2019-03-29 19:13:51 +08:00 committed by ansibot
parent e808ed2cf3
commit 8051bef12e
2 changed files with 16 additions and 9 deletions

View file

@ -60,7 +60,7 @@ author:
EXAMPLES = '''
- name: Create a resource group
azure_rm_resourcegroup:
name: Testing
name: myResourceGroup
location: westus
tags:
testing: testing
@ -68,7 +68,13 @@ EXAMPLES = '''
- name: Delete a resource group
azure_rm_resourcegroup:
name: Testing
name: myResourceGroup
state: absent
- name: Delete a resource group including resources it contains
azure_rm_resourcegroup:
name: myResourceGroup
force_delete_nonempty: yes
state: absent
'''
RETURN = '''

View file

@ -50,7 +50,7 @@ author:
EXAMPLES = '''
- name: Get facts for one resource group
azure_rm_resourcegroup_facts:
name: Testing
name: myResourceGroup
- name: Get facts for all resource groups
azure_rm_resourcegroup_facts:
@ -61,9 +61,9 @@ EXAMPLES = '''
- testing
- foo:bar
- name: List resources under resource group
- name: Get facts for one resource group including resources it contains
azure_rm_resourcegroup_facts:
name: foo
name: myResourceGroup
list_resources: yes
'''
RETURN = '''
@ -76,7 +76,7 @@ azure_resourcegroups:
description:
- Resource id.
type: str
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/foo"
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup"
name:
description:
- Resource group name.
@ -84,7 +84,7 @@ azure_resourcegroups:
sample: foo
tags:
description:
- Tags to assign to the managed disk.
- Tags assigned to resource group.
type: dict
sample: { "tag": "value" }
resources:
@ -97,12 +97,13 @@ azure_resourcegroups:
description:
- Resource id.
type: str
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/foo/providers/Microsoft.XX/XXX/bar"
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMa
chines/myVirtualMachine"
name:
description:
- Resource name.
type: str
sample: bar
sample: myVirtualMachine
location:
description:
- Resource region.