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

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
idstringThe resource ID.
namestringThe name of the resource.
propertiesobjectThe properties of a private endpoint connection.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, registryName, privateEndpointConnectionNameGet the specified private endpoint connection associated with the container registry.
listselectsubscriptionId, resourceGroupName, registryNameList all private endpoint connections in a container registry.
create_or_updateinsertsubscriptionId, resourceGroupName, registryName, privateEndpointConnectionNameUpdate the state of specified private endpoint connection associated with the container registry.
deletedeletesubscriptionId, resourceGroupName, registryName, privateEndpointConnectionNameDeletes the specified private endpoint connection associated with the container registry.

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
privateEndpointConnectionNamestringThe name of the private endpoint connection.
registryNamestringThe name of the container registry.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get the specified private endpoint connection associated with the container registry.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.container_registry.private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND registryName = '{{ registryName }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- required
;

INSERT examples

Update the state of specified private endpoint connection associated with the container registry.

INSERT INTO azure.container_registry.private_endpoint_connections (
data__properties,
subscriptionId,
resourceGroupName,
registryName,
privateEndpointConnectionName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ registryName }}',
'{{ privateEndpointConnectionName }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes the specified private endpoint connection associated with the container registry.

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