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

NameDatatypeDescription
accountNametextfield from the properties object
etagtextResource Etag.
group_idstextfield from the properties object
locationtextThe location of the private endpoint connection
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
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdGets the specified private endpoint connection associated with the Cognitive Services account.
listSELECTaccountName, resourceGroupName, subscriptionIdGets the private endpoint connections associated with the Cognitive Services account.
create_or_updateINSERTaccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdUpdate the state of specified private endpoint connection associated with the Cognitive Services account.
deleteDELETEaccountName, privateEndpointConnectionName, resourceGroupName, subscriptionIdDeletes the specified private endpoint connection associated with the Cognitive Services account.

SELECT examples

Gets the private endpoint connections associated with the Cognitive Services account.

SELECT
accountName,
etag,
group_ids,
location,
privateEndpointConnectionName,
private_endpoint,
private_link_service_connection_state,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data
FROM azure.cognitive_services.vw_private_endpoint_connections
WHERE accountName = '{{ accountName }}'
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.cognitive_services.private_endpoint_connections (
accountName,
privateEndpointConnectionName,
resourceGroupName,
subscriptionId,
properties,
location
)
SELECT
'{{ accountName }}',
'{{ privateEndpointConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}'
;

DELETE example

Deletes the specified private_endpoint_connections resource.

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