Skip to main content

gallery_items

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

Overview

Namegallery_items
TypeResource
Idazure_stack.gallery_admin.gallery_items

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringURI of the resource.
namestringName of the resource.
locationstringLocation of the resource.
propertiesobjectProperties of a gallery item.
tagsobjectList of key-value pairs.
typestringType of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, galleryItemName
listselectsubscriptionId
createinsertsubscriptionId
deletedeletesubscriptionId, galleryItemName

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
galleryItemNamestringIdentity of the gallery item. Includes publisher name, item name, and may include version separated by period character.
subscriptionIdstringSubscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

OK

SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.gallery_admin.gallery_items
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND galleryItemName = '{{ galleryItemName }}' -- required
;

INSERT examples

No description available.

INSERT INTO azure_stack.gallery_admin.gallery_items (
data__galleryItemUri,
subscriptionId
)
SELECT
'{{ galleryItemUri }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
location,
properties,
tags,
type
;

DELETE examples

No description available.

DELETE FROM azure_stack.gallery_admin.gallery_items
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND galleryItemName = '{{ galleryItemName }}' --required
;