app_attach_packages
Creates, updates, deletes, gets or lists a app_attach_packages
resource.
Overview
Name | app_attach_packages |
Type | Resource |
Id | azure.desktop_virtualization.app_attach_packages |
Fields
- vw_app_attach_packages
- app_attach_packages
Name | Datatype | Description |
---|---|---|
appAttachPackageName | text | field from the properties object |
custom_data | text | field from the properties object |
fail_health_check_on_staging_failure | text | field from the properties object |
host_pool_references | text | field from the properties object |
image | text | field from the properties object |
key_vault_url | text | field from the properties object |
location | text | The geo-location where the resource lives |
package_lookback_url | text | field from the properties object |
package_owner_name | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Schema for App Attach Package properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | appAttachPackageName, resourceGroupName, subscriptionId | Get an app attach package. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List App Attach packages in resource group. |
list_by_subscription | SELECT | subscriptionId | List App Attach packages in subscription. |
create_or_update | INSERT | appAttachPackageName, resourceGroupName, subscriptionId, data__properties | Create or update an App Attach package. |
delete | DELETE | appAttachPackageName, resourceGroupName, subscriptionId | Remove an App Attach Package. |
update | UPDATE | appAttachPackageName, resourceGroupName, subscriptionId | Update an App Attach Package |
import_info | EXEC | hostPoolName, resourceGroupName, subscriptionId | Gets information from a package given the path to the package. |
SELECT
examples
List App Attach packages in subscription.
- vw_app_attach_packages
- app_attach_packages
SELECT
appAttachPackageName,
custom_data,
fail_health_check_on_staging_failure,
host_pool_references,
image,
key_vault_url,
location,
package_lookback_url,
package_owner_name,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.desktop_virtualization.vw_app_attach_packages
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.desktop_virtualization.app_attach_packages
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new app_attach_packages
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.desktop_virtualization.app_attach_packages (
appAttachPackageName,
resourceGroupName,
subscriptionId,
data__properties,
tags,
location,
properties
)
SELECT
'{{ appAttachPackageName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: image
value:
- name: packageAlias
value: string
- name: imagePath
value: string
- name: packageName
value: string
- name: packageFamilyName
value: string
- name: packageFullName
value: string
- name: displayName
value: string
- name: packageRelativePath
value: string
- name: isRegularRegistration
value: boolean
- name: isActive
value: boolean
- name: packageDependencies
value:
- - name: dependencyName
value: string
- name: publisher
value: string
- name: minVersion
value: string
- name: version
value: string
- name: lastUpdated
value: string
- name: packageApplications
value:
- - name: appId
value: string
- name: description
value: string
- name: appUserModelID
value: string
- name: friendlyName
value: string
- name: iconImageName
value: string
- name: rawIcon
value: string
- name: rawPng
value: string
- name: certificateName
value: string
- name: certificateExpiry
value: string
- name: isPackageTimestamped
value: string
- name: hostPoolReferences
value:
- string
- name: keyVaultURL
value: string
- name: failHealthCheckOnStagingFailure
value: []
- name: packageOwnerName
value: string
- name: packageLookbackUrl
value: string
- name: customData
value: string
UPDATE
example
Updates a app_attach_packages
resource.
/*+ update */
UPDATE azure.desktop_virtualization.app_attach_packages
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
appAttachPackageName = '{{ appAttachPackageName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified app_attach_packages
resource.
/*+ delete */
DELETE FROM azure.desktop_virtualization.app_attach_packages
WHERE appAttachPackageName = '{{ appAttachPackageName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';