Update azure_rm_virtualmachineimage_facts document (#58660)

* Update azure_rm_virtualmachineimage_facts documentation
pull/58994/head
Fred-sun 5 years ago committed by Alicia Cozine
parent 75724bb7ca
commit dfd48ab3c3

@ -20,7 +20,7 @@ module: azure_rm_virtualmachineimage_facts
version_added: "2.1" version_added: "2.1"
short_description: Get virtual machine image facts. short_description: Get virtual machine image facts
description: description:
- Get facts for virtual machine images. - Get facts for virtual machine images.
@ -28,15 +28,15 @@ description:
options: options:
location: location:
description: description:
- Azure location value (ie. westus, eastus, eastus2, northcentralus, etc.). Supplying only a - Azure location value, for example C(westus), C(eastus), C(eastus2), C(northcentralus), etc.
location value will yield a list of available publishers for the location. - Supplying only a location value will yield a list of available publishers for the location.
required: true required: true
publisher: publisher:
description: description:
- Name of an image publisher. List image offerings associated with a particular publisher. - Name of an image publisher. List image offerings associated with a particular publisher.
offer: offer:
description: description:
- Name of an image offering. Combine with sku to see a list of available image versions. - Name of an image offering. Combine with SKU to see a list of available image versions.
sku: sku:
description: description:
- Image offering SKU. Combine with offer to see a list of available versions. - Image offering SKU. Combine with offer to see a list of available versions.
@ -48,8 +48,8 @@ extends_documentation_fragment:
- azure - azure
author: author:
- "Chris Houseknecht (@chouseknecht)" - Chris Houseknecht (@chouseknecht)
- "Matt Davis (@nitzmahone)" - Matt Davis (@nitzmahone)
''' '''
@ -82,10 +82,35 @@ EXAMPLES = '''
RETURN = ''' RETURN = '''
azure_vmimages: azure_vmimages:
description: List of image dicts. description:
- List of image dicts.
returned: always returned: always
type: list type: list
example: [] example: [ {
"id": "/Subscriptions/xxx...xxx/Providers/Microsoft.Compute/Locations/eastus/
Publishers/OpenLogic/ArtifactTypes/VMImage/Offers/CentOS/Skus/7.1/Versions/7.1.20150410",
"location": "eastus",
"name": "7.1.20150410"
},
{
"id": "/Subscriptions/xxx...xxx/Providers/Microsoft.Compute/Locations/eastus/
Publishers/OpenLogic/ArtifactTypes/VMImage/Offers/CentOS/Skus/7.1/Versions/7.1.20150605",
"location": "eastus",
"name": "7.1.20150605"
},
{
"id": "/Subscriptions/xxx...xxx/Providers/Microsoft.Compute/Locations/eastus/
Publishers/OpenLogic/ArtifactTypes/VMImage/Offers/CentOS/Skus/7.1/Versions/7.1.20150731",
"location": "eastus",
"name": "7.1.20150731"
},
{
"id": "/Subscriptions/xxx...xxx/Providers/Microsoft.Compute/Locations/eastus/
Publishers/OpenLogic/ArtifactTypes/VMImage/Offers/CentOS/Skus/7.1/Versions/7.1.20160308",
"location": "eastus",
"name": "7.1.20160308"
}
]
''' '''
try: try:

Loading…
Cancel
Save