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:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long
namestringThe name of the resource.
groupIdstringThe private link resource group id.
requiredMembersarrayThe private link resource required member names.
requiredZoneNamesarrayThe private link resource Private link DNS zone name.
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_workspaceselectresource_group_name, workspace_name, subscription_idpageSize, isDescending, initialSkipList the private link resources available for this workspace.
list_by_host_poolselectresource_group_name, host_pool_name, subscription_idpageSize, 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
host_pool_namestringThe name of the host pool within the specified resource group. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.
initialSkipintegerInitial number of items to skip. Default value is None.
isDescendingbooleanIndicates whether the collection is descending. Default value is None.
pageSizeintegerNumber of items per page. Default value is None.

SELECT examples

List the private link resources available for this workspace.

SELECT
id,
name,
groupId,
requiredMembers,
requiredZoneNames,
systemData,
type
FROM azure.desktop_virtualization.private_link_resources
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND pageSize = '{{ pageSize }}'
AND isDescending = '{{ isDescending }}'
AND initialSkip = '{{ initialSkip }}'
;