Skip to main content

application_groups

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

Overview

Nameapplication_groups
TypeResource
Idazure.desktop_virtualization.application_groups

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
applicationGroupNametextfield from the properties object
application_group_typetextfield from the properties object
cloud_pc_resourcetextfield from the properties object
etagtextThe etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
friendly_nametextfield from the properties object
host_pool_arm_pathtextfield from the properties object
identitytextIdentity for the resource.
kindtextMetadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
managed_bytextfield from the properties object
object_idtextfield from the properties object
plantextPlan for the resource.
resourceGroupNametextfield from the properties object
show_in_feedtextfield from the properties object
skutextThe resource model definition representing SKU
subscriptionIdtextfield from the properties object
workspace_arm_pathtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationGroupName, resourceGroupName, subscriptionIdGet an application group.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList applicationGroups.
list_by_subscriptionSELECTsubscriptionIdList applicationGroups in subscription.
create_or_updateINSERTapplicationGroupName, resourceGroupName, subscriptionId, data__propertiesCreate or update an applicationGroup.
deleteDELETEapplicationGroupName, resourceGroupName, subscriptionIdRemove an applicationGroup.
updateUPDATEapplicationGroupName, resourceGroupName, subscriptionIdUpdate an applicationGroup.

SELECT examples

List applicationGroups in subscription.

SELECT
description,
applicationGroupName,
application_group_type,
cloud_pc_resource,
etag,
friendly_name,
host_pool_arm_path,
identity,
kind,
managed_by,
object_id,
plan,
resourceGroupName,
show_in_feed,
sku,
subscriptionId,
workspace_arm_path
FROM azure.desktop_virtualization.vw_application_groups
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.desktop_virtualization.application_groups (
applicationGroupName,
resourceGroupName,
subscriptionId,
data__properties,
managedBy,
kind,
identity,
sku,
plan,
properties
)
SELECT
'{{ applicationGroupName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ managedBy }}',
'{{ kind }}',
'{{ identity }}',
'{{ sku }}',
'{{ plan }}',
'{{ properties }}'
;

UPDATE example

Updates a application_groups resource.

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

DELETE example

Deletes the specified application_groups resource.

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