Skip to main content

private_link_resources

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

Overview

Nameprivate_link_resources
TypeResource
Idazure.desktop_virtualization.private_link_resources

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the list of resources.

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
propertiesobjectResource properties.
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
list_by_workspaceselectsubscriptionId, resourceGroupName, workspaceNamepageSize, isDescending, initialSkipList the private link resources available for this workspace.
list_by_host_poolselectsubscriptionId, resourceGroupName, hostPoolNamepageSize, isDescending, initialSkipList the private link resources available for this hostpool.

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
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.
workspaceNamestringThe name of the workspace
initialSkipinteger (int32)Initial number of items to skip.
isDescendingbooleanIndicates whether the collection is descending.
pageSizeinteger (int32)Number of items per page.

SELECT examples

List the private link resources available for this workspace.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.desktop_virtualization.private_link_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND pageSize = '{{ pageSize }}'
AND isDescending = '{{ isDescending }}'
AND initialSkip = '{{ initialSkip }}'
;