community_galleries
Creates, updates, deletes, gets or lists a community_galleries resource.
Overview
| Name | community_galleries |
| Type | Resource |
| Id | azure.compute.community_galleries |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
name | string | Resource name. |
artifactTags | object | The artifact tags of a community gallery resource. |
communityMetadata | object | The metadata of community gallery. |
disclaimer | string | The disclaimer for a community gallery resource. |
identifier | object | The identifier information of community gallery. |
location | string | Resource location. |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, public_gallery_name, subscription_id | Get a community gallery by gallery public name. |
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 |
|---|---|---|
location | string | The name of the Azure region. Required. |
public_gallery_name | string | The public name of the community gallery. Required. |
subscription_id | string |
SELECT examples
- get
Get a community gallery by gallery public name.
SELECT
name,
artifactTags,
communityMetadata,
disclaimer,
identifier,
location,
type
FROM azure.compute.community_galleries
WHERE location = '{{ location }}' -- required
AND public_gallery_name = '{{ public_gallery_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;