applications
Creates, updates, deletes, gets or lists a applications
resource.
Overview
Name | applications |
Type | Resource |
Id | azure.desktop_virtualization.applications |
Fields
- vw_applications
- applications
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | text | The name of the resource |
description | text | field from the properties object |
applicationGroupName | text | field from the properties object |
applicationName | text | field from the properties object |
application_type | text | field from the properties object |
command_line_arguments | text | field from the properties object |
command_line_setting | text | field from the properties object |
file_path | text | field from the properties object |
friendly_name | text | field from the properties object |
icon_content | text | field from the properties object |
icon_hash | text | field from the properties object |
icon_index | text | field from the properties object |
icon_path | text | field from the properties object |
msix_package_application_id | text | field from the properties object |
msix_package_family_name | text | field from the properties object |
object_id | text | field from the properties object |
resourceGroupName | text | field from the properties object |
show_in_portal | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Schema for Application properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationGroupName, applicationName, resourceGroupName, subscriptionId | Get an application. |
list | SELECT | applicationGroupName, resourceGroupName, subscriptionId | List applications. |
create_or_update | INSERT | applicationGroupName, applicationName, resourceGroupName, subscriptionId, data__properties | Create or update an application. |
delete | DELETE | applicationGroupName, applicationName, resourceGroupName, subscriptionId | Remove an application. |
update | UPDATE | applicationGroupName, applicationName, resourceGroupName, subscriptionId | Update an application. |
SELECT
examples
List applications.
- vw_applications
- 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 }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.desktop_virtualization.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.desktop_virtualization.applications (
applicationGroupName,
applicationName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ applicationGroupName }}',
'{{ applicationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: properties
value:
- name: objectId
value: string
- name: description
value: string
- name: friendlyName
value: string
- name: filePath
value: string
- name: msixPackageFamilyName
value: string
- name: msixPackageApplicationId
value: string
- name: applicationType
value: string
- name: commandLineSetting
value: string
- name: commandLineArguments
value: string
- name: showInPortal
value: boolean
- name: iconPath
value: string
- name: iconIndex
value: integer
- name: iconHash
value: string
- name: iconContent
value: string
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 }}';