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

NameDatatypeDescription
policyNametextfield from the properties object
privateEndpointConnectionNametextfield from the properties object
private_endpointtextfield from the properties object
private_link_connection_tagstextfield 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

Methods

NameAccessible byRequired ParamsDescription
getSELECTpolicyName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGets the specified private endpoint connection associated with the given policy.
list_by_policy_nameSELECTpolicyName, resourceGroupName, subscriptionIdLists all Private Endpoint Connections for the given policy.
createINSERTpolicyName, privateEndpointConnectionName, resourceGroupName, subscriptionIdCreates specified private endpoint connection associated with the given policy.
deleteDELETEpolicyName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDeletes the specified private endpoint connection associated with the given policy.

SELECT examples

Lists all Private Endpoint Connections for the given policy.

SELECT
policyName,
privateEndpointConnectionName,
private_endpoint,
private_link_connection_tags,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.azure_active_directory.vw_private_endpoint_connections
WHERE policyName = '{{ policyName }}'
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.azure_active_directory.private_endpoint_connections (
policyName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ policyName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

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