Skip to main content

gallery_applications

Creates, updates, deletes, gets or lists a gallery_applications resource.

Overview

Namegallery_applications
TypeResource
Idazure.compute.gallery_applications

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
descriptiontextfield from the properties object
custom_actionstextfield from the properties object
end_of_life_datetextfield from the properties object
eulatextfield from the properties object
galleryApplicationNametextfield from the properties object
galleryNametextfield from the properties object
locationtextResource location
privacy_statement_uritextfield from the properties object
release_note_uritextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
supported_os_typetextfield from the properties object
tagstextResource tags
typetextResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTgalleryApplicationName, galleryName, resourceGroupName, subscriptionIdRetrieves information about a gallery Application Definition.
list_by_gallerySELECTgalleryName, resourceGroupName, subscriptionIdList gallery Application Definitions in a gallery.
create_or_updateINSERTgalleryApplicationName, galleryName, resourceGroupName, subscriptionIdCreate or update a gallery Application Definition.
deleteDELETEgalleryApplicationName, galleryName, resourceGroupName, subscriptionIdDelete a gallery Application.
updateUPDATEgalleryApplicationName, galleryName, resourceGroupName, subscriptionIdUpdate a gallery Application Definition.

SELECT examples

List gallery Application Definitions in a gallery.

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new gallery_applications resource.

/*+ create */
INSERT INTO azure.compute.gallery_applications (
galleryApplicationName,
galleryName,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ galleryApplicationName }}',
'{{ galleryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;

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 }}';