msix_packages
Creates, updates, deletes, gets or lists a msix_packages
resource.
Overview
Name | msix_packages |
Type | Resource |
Id | azure.desktop_virtualization.msix_packages |
Fields
- vw_msix_packages
- msix_packages
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 |
display_name | text | field from the properties object |
hostPoolName | text | field from the properties object |
image_path | text | field from the properties object |
is_active | text | field from the properties object |
is_regular_registration | text | field from the properties object |
last_updated | text | field from the properties object |
msixPackageFullName | text | field from the properties object |
package_applications | text | field from the properties object |
package_dependencies | text | field from the properties object |
package_family_name | text | field from the properties object |
package_name | text | field from the properties object |
package_relative_path | text | field from the properties object |
resourceGroupName | 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" |
version | text | field from the properties object |
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 MSIX Package 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 | hostPoolName, msixPackageFullName, resourceGroupName, subscriptionId | Get a msixpackage. |
list | SELECT | hostPoolName, resourceGroupName, subscriptionId | List MSIX packages in hostpool. |
create_or_update | INSERT | hostPoolName, msixPackageFullName, resourceGroupName, subscriptionId, data__properties | Create or update a MSIX package. |
delete | DELETE | hostPoolName, msixPackageFullName, resourceGroupName, subscriptionId | Remove an MSIX Package. |
update | UPDATE | hostPoolName, msixPackageFullName, resourceGroupName, subscriptionId | Update an MSIX Package. |
SELECT
examples
List MSIX packages in hostpool.
- vw_msix_packages
- msix_packages
SELECT
id,
name,
display_name,
hostPoolName,
image_path,
is_active,
is_regular_registration,
last_updated,
msixPackageFullName,
package_applications,
package_dependencies,
package_family_name,
package_name,
package_relative_path,
resourceGroupName,
subscriptionId,
system_data,
type,
version
FROM azure.desktop_virtualization.vw_msix_packages
WHERE hostPoolName = '{{ hostPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.desktop_virtualization.msix_packages
WHERE hostPoolName = '{{ hostPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new msix_packages
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.desktop_virtualization.msix_packages (
hostPoolName,
msixPackageFullName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ hostPoolName }}',
'{{ msixPackageFullName }}',
'{{ 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: imagePath
value: string
- name: packageName
value: string
- name: packageFamilyName
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
UPDATE
example
Updates a msix_packages
resource.
/*+ update */
UPDATE azure.desktop_virtualization.msix_packages
SET
properties = '{{ properties }}'
WHERE
hostPoolName = '{{ hostPoolName }}'
AND msixPackageFullName = '{{ msixPackageFullName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified msix_packages
resource.
/*+ delete */
DELETE FROM azure.desktop_virtualization.msix_packages
WHERE hostPoolName = '{{ hostPoolName }}'
AND msixPackageFullName = '{{ msixPackageFullName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';