gallery_application_versions
Creates, updates, deletes, gets or lists a gallery_application_versions
resource.
Overview
Name | gallery_application_versions |
Type | Resource |
Id | azure.compute.gallery_application_versions |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_gallery_application
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | Resource location |
properties | object | Describes the properties of a gallery image version. |
tags | object | Resource tags |
type | string | Resource type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | Resource location |
properties | object | Describes the properties of a gallery image version. |
tags | object | Resource tags |
type | string | Resource type |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , galleryName , galleryApplicationName , galleryApplicationVersionName | $expand | Retrieves information about a gallery Application Version. |
list_by_gallery_application | select | subscriptionId , resourceGroupName , galleryName , galleryApplicationName | List gallery Application Versions in a gallery Application Definition. | |
create_or_update | insert | subscriptionId , resourceGroupName , galleryName , galleryApplicationName , galleryApplicationVersionName | Create or update a gallery Application Version. | |
update | update | subscriptionId , resourceGroupName , galleryName , galleryApplicationName , galleryApplicationVersionName | Update a gallery Application Version. | |
delete | delete | subscriptionId , resourceGroupName , galleryName , galleryApplicationName , galleryApplicationVersionName | Delete a gallery Application Version. |
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 |
---|---|---|
galleryApplicationName | string | The name of the gallery Application Definition in which the Application Version resides. |
galleryApplicationVersionName | string | The name of the gallery Application Version to be deleted. |
galleryName | string | The name of the Shared Application Gallery in which the Application Definition resides. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
$expand | string | The expand expression to apply on the operation. |
SELECT
examples
- get
- list_by_gallery_application
Retrieves information about a gallery Application Version.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.compute.gallery_application_versions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND galleryName = '{{ galleryName }}' -- required
AND galleryApplicationName = '{{ galleryApplicationName }}' -- required
AND galleryApplicationVersionName = '{{ galleryApplicationVersionName }}' -- required
AND $expand = '{{ $expand }}'
;
List gallery Application Versions in a gallery Application Definition.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.compute.gallery_application_versions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND galleryName = '{{ galleryName }}' -- required
AND galleryApplicationName = '{{ galleryApplicationName }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Create or update a gallery Application Version.
INSERT INTO azure.compute.gallery_application_versions (
data__properties,
data__location,
data__tags,
subscriptionId,
resourceGroupName,
galleryName,
galleryApplicationName,
galleryApplicationVersionName
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ galleryName }}',
'{{ galleryApplicationName }}',
'{{ galleryApplicationVersionName }}'
RETURNING
id,
name,
location,
properties,
tags,
type
;
# Description fields are for documentation purposes
- name: gallery_application_versions
props:
- name: subscriptionId
value: string
description: Required parameter for the gallery_application_versions resource.
- name: resourceGroupName
value: string
description: Required parameter for the gallery_application_versions resource.
- name: galleryName
value: string
description: Required parameter for the gallery_application_versions resource.
- name: galleryApplicationName
value: string
description: Required parameter for the gallery_application_versions resource.
- name: galleryApplicationVersionName
value: string
description: Required parameter for the gallery_application_versions resource.
- name: properties
value: object
description: |
Describes the properties of a gallery image version.
- name: location
value: string
description: |
Resource location
- name: tags
value: object
description: |
Resource tags
UPDATE
examples
- update
Update a gallery Application Version.
UPDATE azure.compute.gallery_application_versions
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND galleryName = '{{ galleryName }}' --required
AND galleryApplicationName = '{{ galleryApplicationName }}' --required
AND galleryApplicationVersionName = '{{ galleryApplicationVersionName }}' --required
RETURNING
id,
name,
location,
properties,
tags,
type;
DELETE
examples
- delete
Delete a gallery Application Version.
DELETE FROM azure.compute.gallery_application_versions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND galleryName = '{{ galleryName }}' --required
AND galleryApplicationName = '{{ galleryApplicationName }}' --required
AND galleryApplicationVersionName = '{{ galleryApplicationVersionName }}' --required
;