Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.container_registry.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
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTprivateEndpointConnectionName, registryName, resourceGroupName, subscriptionIdGet the specified private endpoint connection associated with the container registry.
listSELECTregistryName, resourceGroupName, subscriptionIdList all private endpoint connections in a container registry.
create_or_updateINSERTprivateEndpointConnectionName, registryName, resourceGroupName, subscriptionIdUpdate the state of specified private endpoint connection associated with the container registry.
deleteDELETEprivateEndpointConnectionName, registryName, resourceGroupName, subscriptionIdDeletes the specified private endpoint connection associated with the container registry.

SELECT examples

List all private endpoint connections in a container registry.

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

DELETE example

Deletes the specified private_endpoint_connections resource.

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