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

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
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
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
get_by_nameSELECTprivateEndpointConnectionName, resourceGroupName, serviceName, subscriptionIdGets the details of the Private Endpoint Connection specified by its identifier.
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionIdLists all private endpoint connections of the API Management service instance.
create_or_updateINSERTprivateEndpointConnectionName, resourceGroupName, serviceName, subscriptionIdCreates a new Private Endpoint Connection or updates an existing one.
deleteDELETEprivateEndpointConnectionName, resourceGroupName, serviceName, subscriptionIdDeletes the specified Private Endpoint Connection.

SELECT examples

Lists all private endpoint connections of the API Management service instance.

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

DELETE example

Deletes the specified private_endpoint_connections resource.

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