improving consistency of azure examples/documentaion - 3 (#52573)

* normalizing example naming conventions 3

* fixed line too long
This commit is contained in:
Zim Kalinowski 2019-02-20 03:15:59 +08:00 committed by Alicia Cozine
commit d01d94c1f9
24 changed files with 85 additions and 78 deletions

View file

@ -49,16 +49,16 @@ author:
EXAMPLES = '''
- name: Get facts for all virtual machines of a resource group
azure_rm_virtualmachine_facts:
resource_group: Testing
resource_group: myResourceGroup
- name: Get facts by name
azure_rm_virtualmachine_facts:
resource_group: Testing
resource_group: myResourceGroup
name: vm
- name: Get facts by tags
azure_rm_virtualmachine_facts:
resource_group: Testing
resource_group: myResourceGroup
tags:
- testing
- foo:bar
@ -107,7 +107,8 @@ vms:
- Resource ID.
returned: always
type: str
sample: /subscriptions/xxxx/resourceGroups/myclusterrg/providers/Microsoft.Compute/virtualMachines/mycluster-node-2
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/my
cluster-node-2"
image:
description:
- Image specification
@ -167,6 +168,7 @@ vms:
description:
- Resource group.
type: str
sample: myResourceGroup
state:
description:
- State of the resource.