application_groups
Creates, updates, deletes, gets or lists a application_groups
resource.
Overview
Name | application_groups |
Type | Resource |
Id | azure.desktop_virtualization.application_groups |
Fields
- vw_application_groups
- application_groups
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
applicationGroupName | text | field from the properties object |
application_group_type | text | field from the properties object |
cloud_pc_resource | text | field from the properties object |
etag | text | The 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_name | text | field from the properties object |
host_pool_arm_path | text | field from the properties object |
identity | text | Identity for the resource. |
kind | text | Metadata 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_by | text | field from the properties object |
object_id | text | field from the properties object |
plan | text | Plan for the resource. |
resourceGroupName | text | field from the properties object |
show_in_feed | text | field from the properties object |
sku | text | The resource model definition representing SKU |
subscriptionId | text | field from the properties object |
workspace_arm_path | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
etag | string | The 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. |
identity | object | Identity for the resource. |
kind | string | Metadata 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. |
managedBy | string | The 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. |
plan | object | Plan for the resource. |
properties | object | Schema for ApplicationGroup properties. |
sku | object | The resource model definition representing SKU |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationGroupName, resourceGroupName, subscriptionId | Get an application group. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List applicationGroups. |
list_by_subscription | SELECT | subscriptionId | List applicationGroups in subscription. |
create_or_update | INSERT | applicationGroupName, resourceGroupName, subscriptionId, data__properties | Create or update an applicationGroup. |
delete | DELETE | applicationGroupName, resourceGroupName, subscriptionId | Remove an applicationGroup. |
update | UPDATE | applicationGroupName, resourceGroupName, subscriptionId | Update an applicationGroup. |
SELECT
examples
List applicationGroups in subscription.
- vw_application_groups
- application_groups
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 }}';
SELECT
etag,
identity,
kind,
managedBy,
plan,
properties,
sku
FROM azure.desktop_virtualization.application_groups
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new application_groups
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: managedBy
value: string
- name: kind
value: string
- name: etag
value: string
- name: identity
value: string
- name: sku
value: string
- name: plan
value: string
- name: properties
value:
- name: objectId
value: string
- name: description
value: string
- name: friendlyName
value: string
- name: hostPoolArmPath
value: string
- name: workspaceArmPath
value: string
- name: applicationGroupType
value: string
- name: cloudPcResource
value: boolean
- name: showInFeed
value: boolean
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 }}';