|
|
@ -54,7 +54,7 @@ EXAMPLES = '''
|
|
|
|
- name: Get facts by name
|
|
|
|
- name: Get facts by name
|
|
|
|
azure_rm_virtualmachine_facts:
|
|
|
|
azure_rm_virtualmachine_facts:
|
|
|
|
resource_group: myResourceGroup
|
|
|
|
resource_group: myResourceGroup
|
|
|
|
name: vm
|
|
|
|
name: myVm
|
|
|
|
|
|
|
|
|
|
|
|
- name: Get facts by tags
|
|
|
|
- name: Get facts by tags
|
|
|
|
azure_rm_virtualmachine_facts:
|
|
|
|
azure_rm_virtualmachine_facts:
|
|
|
@ -107,8 +107,7 @@ vms:
|
|
|
|
- Resource ID.
|
|
|
|
- Resource ID.
|
|
|
|
returned: always
|
|
|
|
returned: always
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
sample: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/my
|
|
|
|
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm
|
|
|
|
cluster-node-2"
|
|
|
|
|
|
|
|
image:
|
|
|
|
image:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Image specification
|
|
|
|
- Image specification
|
|
|
@ -119,22 +118,32 @@ vms:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Offer.
|
|
|
|
- Offer.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
|
|
|
|
returned: when created from marketplace image
|
|
|
|
sample: RHEL
|
|
|
|
sample: RHEL
|
|
|
|
publisher:
|
|
|
|
publisher:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Publisher name.
|
|
|
|
- Publisher name.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
|
|
|
|
returned: when created from marketplace image
|
|
|
|
sample: RedHat
|
|
|
|
sample: RedHat
|
|
|
|
sku:
|
|
|
|
sku:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- SKU name.
|
|
|
|
- SKU name.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
|
|
|
|
returned: when created from marketplace image
|
|
|
|
sample: 7-RAW
|
|
|
|
sample: 7-RAW
|
|
|
|
version:
|
|
|
|
version:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Image version.
|
|
|
|
- Image version.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
|
|
|
|
returned: when created from marketplace image
|
|
|
|
sample: 7.5.2018050901
|
|
|
|
sample: 7.5.2018050901
|
|
|
|
|
|
|
|
id:
|
|
|
|
|
|
|
|
description:
|
|
|
|
|
|
|
|
- Custom image resource id.
|
|
|
|
|
|
|
|
type: str
|
|
|
|
|
|
|
|
returned: when created from custom image
|
|
|
|
|
|
|
|
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage
|
|
|
|
location:
|
|
|
|
location:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Resource location.
|
|
|
|
- Resource location.
|
|
|
@ -146,13 +155,13 @@ vms:
|
|
|
|
- Resource name.
|
|
|
|
- Resource name.
|
|
|
|
returned: always
|
|
|
|
returned: always
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
sample: mycluster-node-2
|
|
|
|
sample: myVm
|
|
|
|
network_interface_names:
|
|
|
|
network_interface_names:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- List of attached network interfaces.
|
|
|
|
- List of attached network interfaces.
|
|
|
|
type: list
|
|
|
|
type: list
|
|
|
|
sample: [
|
|
|
|
sample: [
|
|
|
|
"mycluster-node-2-nic"
|
|
|
|
"myNetworkInterface"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
os_disk_caching:
|
|
|
|
os_disk_caching:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|