Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.desktop_virtualization.applications

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
descriptiontextfield from the properties object
applicationGroupNametextfield from the properties object
applicationNametextfield from the properties object
application_typetextfield from the properties object
command_line_argumentstextfield from the properties object
command_line_settingtextfield from the properties object
file_pathtextfield from the properties object
friendly_nametextfield from the properties object
icon_contenttextfield from the properties object
icon_hashtextfield from the properties object
icon_indextextfield from the properties object
icon_pathtextfield from the properties object
msix_package_application_idtextfield from the properties object
msix_package_family_nametextfield from the properties object
object_idtextfield from the properties object
resourceGroupNametextfield from the properties object
show_in_portaltextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationGroupName, applicationName, resourceGroupName, subscriptionIdGet an application.
listSELECTapplicationGroupName, resourceGroupName, subscriptionIdList applications.
create_or_updateINSERTapplicationGroupName, applicationName, resourceGroupName, subscriptionId, data__propertiesCreate or update an application.
deleteDELETEapplicationGroupName, applicationName, resourceGroupName, subscriptionIdRemove an application.
updateUPDATEapplicationGroupName, applicationName, resourceGroupName, subscriptionIdUpdate an application.

SELECT examples

List applications.

SELECT
id,
name,
description,
applicationGroupName,
applicationName,
application_type,
command_line_arguments,
command_line_setting,
file_path,
friendly_name,
icon_content,
icon_hash,
icon_index,
icon_path,
msix_package_application_id,
msix_package_family_name,
object_id,
resourceGroupName,
show_in_portal,
subscriptionId,
system_data,
type
FROM azure.desktop_virtualization.vw_applications
WHERE applicationGroupName = '{{ applicationGroupName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.desktop_virtualization.applications (
applicationGroupName,
applicationName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ applicationGroupName }}',
'{{ applicationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

UPDATE example

Updates a applications resource.

/*+ update */
UPDATE azure.desktop_virtualization.applications
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
applicationGroupName = '{{ applicationGroupName }}'
AND applicationName = '{{ applicationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified applications resource.

/*+ delete */
DELETE FROM azure.desktop_virtualization.applications
WHERE applicationGroupName = '{{ applicationGroupName }}'
AND applicationName = '{{ applicationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';