gallery_items
Creates, updates, deletes, gets or lists a gallery_items
resource.
Overview
Name | gallery_items |
Type | Resource |
Id | azure_stack.gallery_admin.gallery_items |
Fields
- vw_gallery_items
- gallery_items
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
description | text | field from the properties object |
additional_properties | text | field from the properties object |
artifacts | text | field from the properties object |
category_ids | text | field from the properties object |
changed_time | text | field from the properties object |
created_time | text | field from the properties object |
definition_templates | text | field from the properties object |
filters | text | field from the properties object |
galleryItemName | text | field from the properties object |
icon_file_uris | text | field from the properties object |
identity | text | field from the properties object |
images | text | field from the properties object |
item_display_name | text | field from the properties object |
item_name | text | field from the properties object |
item_type | text | field from the properties object |
links | text | field from the properties object |
location | text | Location of the resource. |
long_summary | text | field from the properties object |
marketing_material | text | field from the properties object |
metadata | text | field from the properties object |
products | text | field from the properties object |
properties | text | Properties of a gallery item. |
publisher | text | field from the properties object |
publisher_display_name | text | field from the properties object |
resource_group_name | text | field from the properties object |
screenshot_uris | text | field from the properties object |
subscriptionId | text | field from the properties object |
summary | text | field from the properties object |
tags | text | List of key-value pairs. |
type | text | Type of the resource. |
ui_definition_uri | text | field from the properties object |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource. |
properties | object | Properties of a gallery item. |
tags | object | List of key-value pairs. |
type | string | Type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | galleryItemName, subscriptionId | |
list | SELECT | subscriptionId | |
create | INSERT | subscriptionId | |
delete | DELETE | galleryItemName, subscriptionId |
SELECT
examples
- vw_gallery_items
- gallery_items
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 }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.gallery_admin.gallery_items
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new gallery_items
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_stack.gallery_admin.gallery_items (
subscriptionId,
galleryItemUri
)
SELECT
'{{ subscriptionId }}',
'{{ galleryItemUri }}'
;
- name: your_resource_model_name
props:
- name: galleryItemUri
value: string
DELETE
example
Deletes the specified gallery_items
resource.
/*+ delete */
DELETE FROM azure_stack.gallery_admin.gallery_items
WHERE galleryItemName = '{{ galleryItemName }}'
AND subscriptionId = '{{ subscriptionId }}';