Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.cognitive_services.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

OK -- Get the private endpoint connection properties successfully.

NameDatatypeDescription
etagstringResource Etag.
locationstringThe location of the private endpoint connection
propertiesobjectResource properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, accountName, subscriptionId, privateEndpointConnectionNameGets the specified private endpoint connection associated with the Cognitive Services account.
listselectresourceGroupName, accountName, subscriptionIdGets the private endpoint connections associated with the Cognitive Services account.
create_or_updateinsertresourceGroupName, accountName, subscriptionId, privateEndpointConnectionNameUpdate the state of specified private endpoint connection associated with the Cognitive Services account.
deletedeleteresourceGroupName, accountName, subscriptionId, privateEndpointConnectionNameDeletes the specified private endpoint connection associated with the Cognitive Services account.

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
accountNamestringThe name of Cognitive Services account.
privateEndpointConnectionNamestringThe name of the private endpoint connection associated with the Cognitive Services Account
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the specified private endpoint connection associated with the Cognitive Services account.

SELECT
etag,
location,
properties,
systemData
FROM azure.cognitive_services.private_endpoint_connections
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- required
;

INSERT examples

Update the state of specified private endpoint connection associated with the Cognitive Services account.

INSERT INTO azure.cognitive_services.private_endpoint_connections (
data__properties,
data__location,
resourceGroupName,
accountName,
subscriptionId,
privateEndpointConnectionName
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ subscriptionId }}',
'{{ privateEndpointConnectionName }}'
RETURNING
etag,
location,
properties,
systemData
;

DELETE examples

Deletes the specified private endpoint connection associated with the Cognitive Services account.

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