community_gallery_images
Creates, updates, deletes, gets or lists a community_gallery_images resource.
Overview
| Name | community_gallery_images |
| Type | Resource |
| Id | azure.compute.community_gallery_images |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Resource name |
identifier | object | The identifier information of community gallery. |
location | string | Resource location |
properties | object | Describes the properties of a gallery image definition. |
type | string | Resource type |
| Name | Datatype | Description |
|---|---|---|
name | string | Resource name |
identifier | object | The identifier information of community gallery. |
location | string | Resource location |
properties | object | Describes the properties of a gallery image definition. |
type | string | Resource type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, location, publicGalleryName, galleryImageName | Get a community gallery image. | |
list | select | subscriptionId, location, publicGalleryName | List community gallery images inside a gallery. |
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 community gallery image definition. |
location | string | Resource location. |
publicGalleryName | string | The public name of the community gallery. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- get
- list
Get a community gallery image.
SELECT
name,
identifier,
location,
properties,
type
FROM azure.compute.community_gallery_images
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND publicGalleryName = '{{ publicGalleryName }}' -- required
AND galleryImageName = '{{ galleryImageName }}' -- required
;
List community gallery images inside a gallery.
SELECT
name,
identifier,
location,
properties,
type
FROM azure.compute.community_gallery_images
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND publicGalleryName = '{{ publicGalleryName }}' -- required
;