Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.app_configuration.private_endpoint_connections

Fields

NameDatatypeDescription
idtextThe resource ID.
nametextThe name of the resource.
configStoreNametextfield 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
typetextThe type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigStoreName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGets the specified private endpoint connection associated with the configuration store.
list_by_configuration_storeSELECTconfigStoreName, resourceGroupName, subscriptionIdLists all private endpoint connections for a configuration store.
create_or_updateINSERTconfigStoreName, privateEndpointConnectionName, resourceGroupName, subscriptionIdUpdate the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider.
deleteDELETEconfigStoreName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDeletes a private endpoint connection.

SELECT examples

Lists all private endpoint connections for a configuration store.

SELECT
id,
name,
configStoreName,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
type
FROM azure.app_configuration.vw_private_endpoint_connections
WHERE configStoreName = '{{ configStoreName }}'
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.app_configuration.private_endpoint_connections (
configStoreName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ configStoreName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

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