Skip to main content

community_gallery_images

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

Overview

Namecommunity_gallery_images
TypeResource
Idazure.compute.community_gallery_images

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 definition.
typestringResource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, publicGalleryName, galleryImageNameGet a community gallery image.
listselectsubscriptionId, location, publicGalleryNameList community gallery images inside a gallery.

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.
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.

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