Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.synapse.private_endpoint_connections

Fields

NameDatatypeDescription
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
getSELECTprivateEndpointConnectionName, resourceGroupName, subscriptionId, workspaceNameGets a private endpoint connection.
listSELECTresourceGroupName, subscriptionId, workspaceNameLists private endpoint connection in workspace.
createINSERTprivateEndpointConnectionName, resourceGroupName, subscriptionId, workspaceNameApprove or reject a private endpoint connection.
deleteDELETEprivateEndpointConnectionName, resourceGroupName, subscriptionId, workspaceNameDelete a private endpoint connection.

SELECT examples

Lists private endpoint connection in workspace.

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

INSERT example

Use the following StackQL query and manifest file to create a new private_endpoint_connections resource.

/*+ create */
INSERT INTO azure.synapse.private_endpoint_connections (
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
workspaceName,
properties
)
SELECT
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

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