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

The following fields are returned by SELECT queries:

Successfully retrieved MSIX Package.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectDetailed properties for MSIX Package
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, hostPoolName, msixPackageFullNameGet a msixpackage.
listselectsubscriptionId, resourceGroupName, hostPoolNamepageSize, isDescending, initialSkipList MSIX packages in hostpool.
create_or_updateinsertsubscriptionId, resourceGroupName, hostPoolName, msixPackageFullName, data__propertiesCreate or update a MSIX package.
updateupdatesubscriptionId, resourceGroupName, hostPoolName, msixPackageFullNameUpdate an MSIX Package.
deletedeletesubscriptionId, resourceGroupName, hostPoolName, msixPackageFullNameRemove an MSIX Package.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hostPoolNamestringThe name of the host pool within the specified resource group
msixPackageFullNamestringThe version specific package full name of the MSIX package within specified hostpool
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
initialSkipinteger (int32)Initial number of items to skip.
isDescendingbooleanIndicates whether the collection is descending.
pageSizeinteger (int32)Number of items per page.

SELECT examples

Get a msixpackage.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.desktop_virtualization.msix_packages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND hostPoolName = '{{ hostPoolName }}' -- required
AND msixPackageFullName = '{{ msixPackageFullName }}' -- required
;

INSERT examples

Create or update a MSIX package.

INSERT INTO azure.desktop_virtualization.msix_packages (
data__properties,
subscriptionId,
resourceGroupName,
hostPoolName,
msixPackageFullName
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ hostPoolName }}',
'{{ msixPackageFullName }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Update an MSIX Package.

UPDATE azure.desktop_virtualization.msix_packages
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND hostPoolName = '{{ hostPoolName }}' --required
AND msixPackageFullName = '{{ msixPackageFullName }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Remove an MSIX Package.

DELETE FROM azure.desktop_virtualization.msix_packages
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND hostPoolName = '{{ hostPoolName }}' --required
AND msixPackageFullName = '{{ msixPackageFullName }}' --required
;