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

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
descriptiontextfield from the properties object
additional_propertiestextfield from the properties object
artifactstextfield from the properties object
category_idstextfield from the properties object
changed_timetextfield from the properties object
created_timetextfield from the properties object
definition_templatestextfield from the properties object
filterstextfield from the properties object
galleryItemNametextfield from the properties object
icon_file_uristextfield from the properties object
identitytextfield from the properties object
imagestextfield from the properties object
item_display_nametextfield from the properties object
item_nametextfield from the properties object
item_typetextfield from the properties object
linkstextfield from the properties object
locationtextLocation of the resource.
long_summarytextfield from the properties object
marketing_materialtextfield from the properties object
metadatatextfield from the properties object
productstextfield from the properties object
propertiestextProperties of a gallery item.
publishertextfield from the properties object
publisher_display_nametextfield from the properties object
resource_group_nametextfield from the properties object
screenshot_uristextfield from the properties object
subscriptionIdtextfield from the properties object
summarytextfield from the properties object
tagstextList of key-value pairs.
typetextType of the resource.
ui_definition_uritextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTgalleryItemName, subscriptionId
listSELECTsubscriptionId
createINSERTsubscriptionId
deleteDELETEgalleryItemName, subscriptionId

SELECT examples

SELECT
id,
name,
description,
additional_properties,
artifacts,
category_ids,
changed_time,
created_time,
definition_templates,
filters,
galleryItemName,
icon_file_uris,
identity,
images,
item_display_name,
item_name,
item_type,
links,
location,
long_summary,
marketing_material,
metadata,
products,
properties,
publisher,
publisher_display_name,
resource_group_name,
screenshot_uris,
subscriptionId,
summary,
tags,
type,
ui_definition_uri,
version
FROM azure_stack.gallery_admin.vw_gallery_items
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new gallery_items resource.

/*+ create */
INSERT INTO azure_stack.gallery_admin.gallery_items (
subscriptionId,
galleryItemUri
)
SELECT
'{{ subscriptionId }}',
'{{ galleryItemUri }}'
;

DELETE example

Deletes the specified gallery_items resource.

/*+ delete */
DELETE FROM azure_stack.gallery_admin.gallery_items
WHERE galleryItemName = '{{ galleryItemName }}'
AND subscriptionId = '{{ subscriptionId }}';