Skip to main content

shared_gallery_images

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

Overview

Nameshared_gallery_images
TypeResource
Idazure.compute.shared_gallery_images

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
identifierobjectThe identifier information of shared gallery.
propertiesobjectDescribes the properties of a gallery image definition.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, galleryUniqueName, galleryImageNameGet a shared gallery image by subscription id or tenant id.
listselectsubscriptionId, location, galleryUniqueNamesharedToList shared gallery images by subscription id or tenant id.

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 Shared Gallery Image Definition from which the Image Versions are to be listed.
galleryUniqueNamestringThe unique name of the Shared Gallery.
locationstringResource location.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
sharedTostringThe query parameter to decide what shared galleries to fetch when doing listing operations.

SELECT examples

Get a shared gallery image by subscription id or tenant id.

SELECT
identifier,
properties
FROM azure.compute.shared_gallery_images
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND galleryUniqueName = '{{ galleryUniqueName }}' -- required
AND galleryImageName = '{{ galleryImageName }}' -- required
;