Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.purview.private_endpoint_connections

Fields

NameDatatypeDescription
idtextGets or sets the identifier.
nametextGets or sets the name.
accountNametextfield 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
system_datatextfield from the properties object
typetextGets or sets the type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGet a private endpoint connection
list_by_accountSELECTaccountName, resourceGroupName, subscriptionIdGet private endpoint connections for account
create_or_updateINSERTaccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdCreate or update a private endpoint connection
deleteDELETEaccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDelete a private endpoint connection

SELECT examples

Get private endpoint connections for account

SELECT
id,
name,
accountName,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.purview.vw_private_endpoint_connections
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified private_endpoint_connections resource.

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