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.
artifactTagsobjectThe artifact tags of a community gallery resource.
communityMetadataobjectThe metadata of community gallery.
disclaimerstringThe disclaimer for a community gallery resource.
identifierobjectThe identifier information of community gallery.
locationstringResource location.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, public_gallery_name, subscription_idGet 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
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Get a community gallery by gallery public name.

SELECT
name,
artifactTags,
communityMetadata,
disclaimer,
identifier,
location,
type
FROM azure.compute.community_galleries
WHERE location = '{{ location }}' -- required
AND public_gallery_name = '{{ public_gallery_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;