Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.time_series_insights.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

The definition of the private endpoint connection was successfully retrieved and is in the response.

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
getselectsubscriptionId, resourceGroupName, environmentName, privateEndpointConnectionNameGets the details of the private endpoint connection of the environment in the given resource group.
list_by_environmentselectsubscriptionId, resourceGroupName, environmentNameGets a list of all private endpoint connections in the given environment.
create_or_updateinsertsubscriptionId, resourceGroupName, environmentName, privateEndpointConnectionNameUpdates a Private Endpoint connection of the environment in the given resource group.
deletedeletesubscriptionId, resourceGroupName, environmentName, privateEndpointConnectionNameDisconnects the private endpoint connection and deletes it from the environment.

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
environmentNamestringThe name of the Time Series Insights environment associated with the specified resource group.
privateEndpointConnectionNamestringThe name of the private endpoint connection associated with the Azure resource
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the details of the private endpoint connection of the environment in the given resource group.

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

INSERT examples

Updates a Private Endpoint connection of the environment in the given resource group.

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

DELETE examples

Disconnects the private endpoint connection and deletes it from the environment.

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