gallery_applications
Creates, updates, deletes, gets or lists a gallery_applications
resource.
Overview
Name | gallery_applications |
Type | Resource |
Id | azure.compute.gallery_applications |
Fields
- vw_gallery_applications
- gallery_applications
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
description | text | field from the properties object |
custom_actions | text | field from the properties object |
end_of_life_date | text | field from the properties object |
eula | text | field from the properties object |
galleryApplicationName | text | field from the properties object |
galleryName | text | field from the properties object |
location | text | Resource location |
privacy_statement_uri | text | field from the properties object |
release_note_uri | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
supported_os_type | text | field from the properties object |
tags | text | Resource tags |
type | text | 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 Application Definition. |
tags | object | Resource tags |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | galleryApplicationName, galleryName, resourceGroupName, subscriptionId | Retrieves information about a gallery Application Definition. |
list_by_gallery | SELECT | galleryName, resourceGroupName, subscriptionId | List gallery Application Definitions in a gallery. |
create_or_update | INSERT | galleryApplicationName, galleryName, resourceGroupName, subscriptionId | Create or update a gallery Application Definition. |
delete | DELETE | galleryApplicationName, galleryName, resourceGroupName, subscriptionId | Delete a gallery Application. |
update | UPDATE | galleryApplicationName, galleryName, resourceGroupName, subscriptionId | Update a gallery Application Definition. |
SELECT
examples
List gallery Application Definitions in a gallery.
- vw_gallery_applications
- gallery_applications
SELECT
id,
name,
description,
custom_actions,
end_of_life_date,
eula,
galleryApplicationName,
galleryName,
location,
privacy_statement_uri,
release_note_uri,
resourceGroupName,
subscriptionId,
supported_os_type,
tags,
type
FROM azure.compute.vw_gallery_applications
WHERE galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.compute.gallery_applications
WHERE galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new gallery_applications
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.compute.gallery_applications (
galleryApplicationName,
galleryName,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ galleryApplicationName }}',
'{{ galleryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: description
value: string
- name: eula
value: string
- name: privacyStatementUri
value: string
- name: releaseNoteUri
value: string
- name: endOfLifeDate
value: string
- name: supportedOSType
value: string
- name: customActions
value:
- - name: name
value: string
- name: script
value: string
- name: description
value: string
- name: parameters
value:
- - name: name
value: string
- name: required
value: boolean
- name: type
value: string
- name: defaultValue
value: string
- name: description
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
UPDATE
example
Updates a gallery_applications
resource.
/*+ update */
UPDATE azure.compute.gallery_applications
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
galleryApplicationName = '{{ galleryApplicationName }}'
AND galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified gallery_applications
resource.
/*+ delete */
DELETE FROM azure.compute.gallery_applications
WHERE galleryApplicationName = '{{ galleryApplicationName }}'
AND galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';