Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.bot_service.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

OK -- Get the private endpoint connection properties successfully.

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
getselectresourceGroupName, resourceName, subscriptionId, privateEndpointConnectionNameGets the specified private endpoint connection associated with the Bot.
listselectresourceGroupName, resourceName, subscriptionIdList all the private endpoint connections associated with the Bot.
createinsertresourceGroupName, resourceName, subscriptionId, privateEndpointConnectionNameUpdate the state of specified private endpoint connection associated with the Bot.
deletedeleteresourceGroupName, resourceName, subscriptionId, privateEndpointConnectionNameDeletes the specified private endpoint connection associated with the Bot.

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 associated with the Azure resource
resourceGroupNamestringThe name of the Bot resource group in the user subscription.
resourceNamestringThe name of the Bot resource.
subscriptionIdstringAzure Subscription ID.

SELECT examples

Gets the specified private endpoint connection associated with the Bot.

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

INSERT examples

Update the state of specified private endpoint connection associated with the Bot.

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

DELETE examples

Deletes the specified private endpoint connection associated with the Bot.

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