shared_gallery_image_versions
Creates, updates, deletes, gets or lists a shared_gallery_image_versions
resource.
Overview
Name | shared_gallery_image_versions |
Type | Resource |
Id | azure.compute.shared_gallery_image_versions |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
identifier | object | The identifier information of shared gallery. |
properties | object | Describes the properties of a gallery image version. |
Name | Datatype | Description |
---|---|---|
identifier | object | The identifier information of shared gallery. |
properties | object | Describes the properties of a gallery image version. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , location , galleryUniqueName , galleryImageName , galleryImageVersionName | Get a shared gallery image version by subscription id or tenant id. | |
list | select | subscriptionId , location , galleryUniqueName , galleryImageName | sharedTo | List shared gallery image versions by subscription id or tenant id. |
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 |
---|---|---|
galleryImageName | string | The name of the Shared Gallery Image Definition from which the Image Versions are to be listed. |
galleryImageVersionName | string | The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch> |
galleryUniqueName | string | The unique name of the Shared Gallery. |
location | string | Resource location. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
sharedTo | string | The query parameter to decide what shared galleries to fetch when doing listing operations. |
SELECT
examples
- get
- list
Get a shared gallery image version by subscription id or tenant id.
SELECT
identifier,
properties
FROM azure.compute.shared_gallery_image_versions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND galleryUniqueName = '{{ galleryUniqueName }}' -- required
AND galleryImageName = '{{ galleryImageName }}' -- required
AND galleryImageVersionName = '{{ galleryImageVersionName }}' -- required
;
List shared gallery image versions by subscription id or tenant id.
SELECT
identifier,
properties
FROM azure.compute.shared_gallery_image_versions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND galleryUniqueName = '{{ galleryUniqueName }}' -- required
AND galleryImageName = '{{ galleryImageName }}' -- required
AND sharedTo = '{{ sharedTo }}'
;