Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.desktop_virtualization.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the connection.

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_workspaceselectsubscriptionId, resourceGroupName, workspaceName, privateEndpointConnectionNameGet a private endpoint connection.
get_by_host_poolselectsubscriptionId, resourceGroupName, hostPoolName, privateEndpointConnectionNameGet a private endpoint connection.
list_by_workspaceselectsubscriptionId, resourceGroupName, workspaceNameList private endpoint connections.
list_by_host_poolselectsubscriptionId, resourceGroupName, hostPoolNamepageSize, isDescending, initialSkipList private endpoint connections associated with hostpool.
delete_by_workspacedeletesubscriptionId, resourceGroupName, workspaceName, privateEndpointConnectionNameRemove a connection.
delete_by_host_pooldeletesubscriptionId, resourceGroupName, hostPoolName, privateEndpointConnectionNameRemove a connection.
update_by_workspaceexecsubscriptionId, resourceGroupName, workspaceName, privateEndpointConnectionNameApprove or reject a private endpoint connection.
update_by_host_poolexecsubscriptionId, resourceGroupName, hostPoolName, privateEndpointConnectionNameApprove or reject a private endpoint connection.

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
privateEndpointConnectionNamestringThe name of the private endpoint connection associated with the Azure resource.
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

Get a private endpoint connection.

SELECT
properties
FROM azure.desktop_virtualization.private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- required
;

DELETE examples

Remove a connection.

DELETE FROM azure.desktop_virtualization.private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' --required
;

Lifecycle Methods

Approve or reject a private endpoint connection.

EXEC azure.desktop_virtualization.private_endpoint_connections.update_by_workspace 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@workspaceName='{{ workspaceName }}' --required,
@privateEndpointConnectionName='{{ privateEndpointConnectionName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;