Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.azure_active_directory.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

Private endpoint connection successfully returned.

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, policyName, privateEndpointConnectionName, subscriptionIdGets the specified private endpoint connection associated with the given policy.
list_by_policy_nameselectresourceGroupName, policyName, subscriptionIdLists all Private Endpoint Connections for the given policy.
createinsertsubscriptionId, resourceGroupName, policyName, privateEndpointConnectionNameCreates specified private endpoint connection associated with the given policy.
deletedeleteresourceGroupName, policyName, privateEndpointConnectionName, subscriptionIdDeletes the specified private endpoint connection associated with the given policy.

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
policyNamestringThe name of the private link policy in Azure AD.
privateEndpointConnectionNamestringThe PrivateEndpointConnection name.
resourceGroupNamestringName of an Azure resource group.
subscriptionIdstringAzure subscription ID.

SELECT examples

Gets the specified private endpoint connection associated with the given policy.

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

INSERT examples

Creates specified private endpoint connection associated with the given policy.

INSERT INTO azure.azure_active_directory.private_endpoint_connections (
data__properties,
subscriptionId,
resourceGroupName,
policyName,
privateEndpointConnectionName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ policyName }}',
'{{ privateEndpointConnectionName }}'
RETURNING
properties
;

DELETE examples

Deletes the specified private endpoint connection associated with the given policy.

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