Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.api_management.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectResource properties.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_nameselectresourceGroupName, serviceName, privateEndpointConnectionName, subscriptionIdGets the details of the Private Endpoint Connection specified by its identifier.
list_by_serviceselectsubscriptionId, resourceGroupName, serviceNameLists all private endpoint connections of the API Management service instance.
create_or_updateinsertresourceGroupName, serviceName, privateEndpointConnectionName, subscriptionIdCreates a new Private Endpoint Connection or updates an existing one.
deletedeleteresourceGroupName, serviceName, privateEndpointConnectionName, subscriptionIdDeletes the specified Private Endpoint Connection.

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
privateEndpointConnectionNamestringName of the private endpoint connection.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the details of the Private Endpoint Connection specified by its identifier.

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

INSERT examples

Creates a new Private Endpoint Connection or updates an existing one.

INSERT INTO azure.api_management.private_endpoint_connections (
data__id,
data__properties,
resourceGroupName,
serviceName,
privateEndpointConnectionName,
subscriptionId
)
SELECT
'{{ id }}',
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ privateEndpointConnectionName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
properties,
type
;

DELETE examples

Deletes the specified Private Endpoint Connection.

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