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

NameDatatypeDescription
group_idstextfield from the properties object
hostPoolNametextfield from the properties object
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_service_connection_statetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_host_poolSELECThostPoolName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGet a private endpoint connection.
get_by_workspaceSELECTprivateEndpointConnectionName, resourceGroupName, subscriptionId, workspaceNameGet a private endpoint connection.
list_by_host_poolSELECThostPoolName, resourceGroupName, subscriptionIdList private endpoint connections associated with hostpool.
list_by_workspaceSELECTresourceGroupName, subscriptionId, workspaceNameList private endpoint connections.
delete_by_host_poolDELETEhostPoolName, privateEndpointConnectionName, resourceGroupName, subscriptionIdRemove a connection.
delete_by_workspaceDELETEprivateEndpointConnectionName, resourceGroupName, subscriptionId, workspaceNameRemove a connection.
update_by_host_poolEXEChostPoolName, privateEndpointConnectionName, resourceGroupName, subscriptionIdApprove or reject a private endpoint connection.
update_by_workspaceEXECprivateEndpointConnectionName, resourceGroupName, subscriptionId, workspaceNameApprove or reject a private endpoint connection.

SELECT examples

List private endpoint connections associated with hostpool.

SELECT
group_ids,
hostPoolName,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
workspaceName
FROM azure.desktop_virtualization.vw_private_endpoint_connections
WHERE hostPoolName = '{{ hostPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified private_endpoint_connections resource.

/*+ delete */
DELETE FROM azure.desktop_virtualization.private_endpoint_connections
WHERE hostPoolName = '{{ hostPoolName }}'
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';