Skip to main content

msix_packages

Creates, updates, deletes, gets or lists a msix_packages resource.

Overview

Namemsix_packages
TypeResource
Idazure.desktop_virtualization.msix_packages

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
display_nametextfield from the properties object
hostPoolNametextfield from the properties object
image_pathtextfield from the properties object
is_activetextfield from the properties object
is_regular_registrationtextfield from the properties object
last_updatedtextfield from the properties object
msixPackageFullNametextfield from the properties object
package_applicationstextfield from the properties object
package_dependenciestextfield from the properties object
package_family_nametextfield from the properties object
package_nametextfield from the properties object
package_relative_pathtextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECThostPoolName, msixPackageFullName, resourceGroupName, subscriptionIdGet a msixpackage.
listSELECThostPoolName, resourceGroupName, subscriptionIdList MSIX packages in hostpool.
create_or_updateINSERThostPoolName, msixPackageFullName, resourceGroupName, subscriptionId, data__propertiesCreate or update a MSIX package.
deleteDELETEhostPoolName, msixPackageFullName, resourceGroupName, subscriptionIdRemove an MSIX Package.
updateUPDATEhostPoolName, msixPackageFullName, resourceGroupName, subscriptionIdUpdate an MSIX Package.

SELECT examples

List MSIX packages in hostpool.

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new msix_packages resource.

/*+ create */
INSERT INTO azure.desktop_virtualization.msix_packages (
hostPoolName,
msixPackageFullName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ hostPoolName }}',
'{{ msixPackageFullName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

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 }}';