Skip to main content

community_galleries

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

Overview

Namecommunity_galleries
TypeResource
Idazure.compute.community_galleries

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 community gallery.
typestringResource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, publicGalleryNameGet a community gallery by gallery public name.

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
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 by gallery public name.

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