Skip to main content

private_endpoints

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

Overview

Nameprivate_endpoints
TypeResource
Idazure.stream_analytics.private_endpoints

Fields

NameDatatypeDescription
clusterNametextfield from the properties object
created_datetextfield from the properties object
etagtextUnique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
manual_private_link_service_connectionstextfield from the properties object
privateEndpointNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, privateEndpointName, resourceGroupName, subscriptionIdGets information about the specified Private Endpoint.
list_by_clusterSELECTclusterName, resourceGroupName, subscriptionIdLists the private endpoints in the cluster.
create_or_updateINSERTclusterName, privateEndpointName, resourceGroupName, subscriptionIdCreates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
deleteDELETEclusterName, privateEndpointName, resourceGroupName, subscriptionIdDelete the specified private endpoint.

SELECT examples

Lists the private endpoints in the cluster.

SELECT
clusterName,
created_date,
etag,
manual_private_link_service_connections,
privateEndpointName,
resourceGroupName,
subscriptionId
FROM azure.stream_analytics.vw_private_endpoints
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new private_endpoints resource.

/*+ create */
INSERT INTO azure.stream_analytics.private_endpoints (
clusterName,
privateEndpointName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ clusterName }}',
'{{ privateEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified private_endpoints resource.

/*+ delete */
DELETE FROM azure.stream_analytics.private_endpoints
WHERE clusterName = '{{ clusterName }}'
AND privateEndpointName = '{{ privateEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';