mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
doc fixes in resorce group (#54575)
* doc fixes in resorce group * ltl fix
This commit is contained in:
parent
e808ed2cf3
commit
8051bef12e
2 changed files with 16 additions and 9 deletions
|
@ -60,7 +60,7 @@ author:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: Create a resource group
|
- name: Create a resource group
|
||||||
azure_rm_resourcegroup:
|
azure_rm_resourcegroup:
|
||||||
name: Testing
|
name: myResourceGroup
|
||||||
location: westus
|
location: westus
|
||||||
tags:
|
tags:
|
||||||
testing: testing
|
testing: testing
|
||||||
|
@ -68,7 +68,13 @@ EXAMPLES = '''
|
||||||
|
|
||||||
- name: Delete a resource group
|
- name: Delete a resource group
|
||||||
azure_rm_resourcegroup:
|
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
|
state: absent
|
||||||
'''
|
'''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
|
@ -50,7 +50,7 @@ author:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: Get facts for one resource group
|
- name: Get facts for one resource group
|
||||||
azure_rm_resourcegroup_facts:
|
azure_rm_resourcegroup_facts:
|
||||||
name: Testing
|
name: myResourceGroup
|
||||||
|
|
||||||
- name: Get facts for all resource groups
|
- name: Get facts for all resource groups
|
||||||
azure_rm_resourcegroup_facts:
|
azure_rm_resourcegroup_facts:
|
||||||
|
@ -61,9 +61,9 @@ EXAMPLES = '''
|
||||||
- testing
|
- testing
|
||||||
- foo:bar
|
- foo:bar
|
||||||
|
|
||||||
- name: List resources under resource group
|
- name: Get facts for one resource group including resources it contains
|
||||||
azure_rm_resourcegroup_facts:
|
azure_rm_resourcegroup_facts:
|
||||||
name: foo
|
name: myResourceGroup
|
||||||
list_resources: yes
|
list_resources: yes
|
||||||
'''
|
'''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
@ -76,7 +76,7 @@ azure_resourcegroups:
|
||||||
description:
|
description:
|
||||||
- Resource id.
|
- Resource id.
|
||||||
type: str
|
type: str
|
||||||
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/foo"
|
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroup/myResourceGroup"
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- Resource group name.
|
- Resource group name.
|
||||||
|
@ -84,7 +84,7 @@ azure_resourcegroups:
|
||||||
sample: foo
|
sample: foo
|
||||||
tags:
|
tags:
|
||||||
description:
|
description:
|
||||||
- Tags to assign to the managed disk.
|
- Tags assigned to resource group.
|
||||||
type: dict
|
type: dict
|
||||||
sample: { "tag": "value" }
|
sample: { "tag": "value" }
|
||||||
resources:
|
resources:
|
||||||
|
@ -97,12 +97,13 @@ azure_resourcegroups:
|
||||||
description:
|
description:
|
||||||
- Resource id.
|
- Resource id.
|
||||||
type: str
|
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:
|
name:
|
||||||
description:
|
description:
|
||||||
- Resource name.
|
- Resource name.
|
||||||
type: str
|
type: str
|
||||||
sample: bar
|
sample: myVirtualMachine
|
||||||
location:
|
location:
|
||||||
description:
|
description:
|
||||||
- Resource region.
|
- Resource region.
|
||||||
|
|
Loading…
Add table
Reference in a new issue