Skip to main content

application_groups

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

Overview

Nameapplication_groups
TypeResource
Idazure.desktop_virtualization.application_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long
namestringThe name of the resource.
applicationGroupTypestringResource Type of ApplicationGroup. Required. Known values are: "RemoteApp" and "Desktop".
cloudPcResourcebooleanIs cloud pc resource.
descriptionstringDescription of ApplicationGroup.
etagstringThe 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.
friendlyNamestringFriendly name of ApplicationGroup.
hostPoolArmPathstringHostPool arm path of ApplicationGroup. Required.
identityobject:vartype identity: ~azure.mgmt.desktopvirtualization.models.ResourceModelWithAllowedPropertySetIdentity
kindstringMetadata 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.
locationstringThe geo-location where the resource lives. Required.
managedBystringThe fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
objectIdstringObjectId of ApplicationGroup. (internal use).
planobject:vartype plan: ~azure.mgmt.desktopvirtualization.models.ResourceModelWithAllowedPropertySetPlan
showInFeedbooleanBoolean representing whether the applicationGroup is show in the feed.
skuobject:vartype sku: ~azure.mgmt.desktopvirtualization.models.ResourceModelWithAllowedPropertySetSku
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
workspaceArmPathstringWorkspace arm path of ApplicationGroup.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, application_group_name, subscription_idGet an application group.
list_by_resource_groupselectresource_group_name, subscription_id$filter, pageSize, isDescending, initialSkipList applicationGroups.
list_by_subscriptionselectsubscription_id$filterList applicationGroups in subscription.
create_or_updateinsertresource_group_name, application_group_name, subscription_id, location, propertiesCreate or update an applicationGroup.
updateupdateresource_group_name, application_group_name, subscription_idUpdate an applicationGroup.
create_or_updatereplaceresource_group_name, application_group_name, subscription_id, location, propertiesCreate or update an applicationGroup.
deletedeleteresource_group_name, application_group_name, subscription_idRemove an applicationGroup.

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.

NameDatatypeDescription
application_group_namestringThe name of the application group. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$filterstringOData filter expression. Valid properties for filtering are applicationGroupType. Default value is None.
initialSkipintegerInitial number of items to skip. Default value is None.
isDescendingbooleanIndicates whether the collection is descending. Default value is None.
pageSizeintegerNumber of items per page. Default value is None.

SELECT examples

Get an application group.

SELECT
id,
name,
applicationGroupType,
cloudPcResource,
description,
etag,
friendlyName,
hostPoolArmPath,
identity,
kind,
location,
managedBy,
objectId,
plan,
showInFeed,
sku,
systemData,
tags,
type,
workspaceArmPath
FROM azure.desktop_virtualization.application_groups
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND application_group_name = '{{ application_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update an applicationGroup.

INSERT INTO azure.desktop_virtualization.application_groups (
tags,
location,
managedBy,
kind,
identity,
sku,
plan,
properties,
resource_group_name,
application_group_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ managedBy }}',
'{{ kind }}',
'{{ identity }}',
'{{ sku }}',
'{{ plan }}',
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ application_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
identity,
kind,
location,
managedBy,
plan,
properties,
sku,
systemData,
tags,
type
;

UPDATE examples

Update an applicationGroup.

UPDATE azure.desktop_virtualization.application_groups
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND application_group_name = '{{ application_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
managedBy,
plan,
properties,
sku,
systemData,
tags,
type;

REPLACE examples

Create or update an applicationGroup.

REPLACE azure.desktop_virtualization.application_groups
SET
tags = '{{ tags }}',
location = '{{ location }}',
managedBy = '{{ managedBy }}',
kind = '{{ kind }}',
identity = '{{ identity }}',
sku = '{{ sku }}',
plan = '{{ plan }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND application_group_name = '{{ application_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
managedBy,
plan,
properties,
sku,
systemData,
tags,
type;

DELETE examples

Remove an applicationGroup.

DELETE FROM azure.desktop_virtualization.application_groups
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND application_group_name = '{{ application_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;