Skip to main content

community_gallery_image_versions

Creates, updates, deletes, gets or lists a community_gallery_image_versions resource.

Overview

Namecommunity_gallery_image_versions
TypeResource
Idazure.compute.community_gallery_image_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringResource name
identifierobjectThe identifier information of community gallery.
locationstringResource location
propertiesobjectDescribes the properties of a gallery image version.
typestringResource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, publicGalleryName, galleryImageName, galleryImageVersionNameGet a community gallery image version.
listselectsubscriptionId, location, publicGalleryName, galleryImageNameList community gallery image versions inside an image.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
galleryImageNamestringThe name of the community gallery image definition.
galleryImageVersionNamestringThe name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>
locationstringResource location.
publicGalleryNamestringThe public name of the community gallery.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get a community gallery image version.

SELECT
name,
identifier,
location,
properties,
type
FROM azure.compute.community_gallery_image_versions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND publicGalleryName = '{{ publicGalleryName }}' -- required
AND galleryImageName = '{{ galleryImageName }}' -- required
AND galleryImageVersionName = '{{ galleryImageVersionName }}' -- required
;