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
The following fields are returned by SELECT
queries:
- get
- list
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. |
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
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , galleryItemName | ||
list | select | subscriptionId | ||
create | insert | subscriptionId | ||
delete | delete | subscriptionId , 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.
Name | Datatype | Description |
---|---|---|
galleryItemName | string | Identity of the gallery item. Includes publisher name, item name, and may include version separated by period character. |
subscriptionId | string | Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
OK
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.gallery_admin.gallery_items
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND galleryItemName = '{{ galleryItemName }}' -- required
;
OK
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.gallery_admin.gallery_items
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
No description available.
INSERT INTO azure_stack.gallery_admin.gallery_items (
data__galleryItemUri,
subscriptionId
)
SELECT
'{{ galleryItemUri }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
location,
properties,
tags,
type
;
# Description fields are for documentation purposes
- name: gallery_items
props:
- name: subscriptionId
value: string
description: Required parameter for the gallery_items resource.
- name: galleryItemUri
value: string
description: |
URI for your gallery package that has already been uploaded online.
DELETE
examples
- delete
No description available.
DELETE FROM azure_stack.gallery_admin.gallery_items
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND galleryItemName = '{{ galleryItemName }}' --required
;