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

The following fields are returned by SELECT queries:

Successfully retrieved the specified private endpoint.

NameDatatypeDescription
etagstringUnique 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.
propertiesobjectThe properties associated with a private endpoint.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, privateEndpointNameGets information about the specified Private Endpoint.
list_by_clusterselectsubscriptionId, resourceGroupName, clusterNameLists the private endpoints in the cluster.
create_or_updateinsertsubscriptionId, resourceGroupName, clusterName, privateEndpointNameIf-Match, If-None-MatchCreates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
deletedeletesubscriptionId, resourceGroupName, clusterName, privateEndpointNameDelete the specified private endpoint.

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
clusterNamestringThe name of the cluster.
privateEndpointNamestringThe name of the private endpoint.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
If-MatchstringThe ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
If-None-MatchstringSet to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response.

SELECT examples

Gets information about the specified Private Endpoint.

SELECT
etag,
properties
FROM azure.stream_analytics.private_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND privateEndpointName = '{{ privateEndpointName }}' -- required
;

INSERT examples

Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.

INSERT INTO azure.stream_analytics.private_endpoints (
data__properties,
subscriptionId,
resourceGroupName,
clusterName,
privateEndpointName,
If-Match,
If-None-Match
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ clusterName }}',
'{{ privateEndpointName }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
etag,
properties
;

DELETE examples

Delete the specified private endpoint.

DELETE FROM azure.stream_analytics.private_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND privateEndpointName = '{{ privateEndpointName }}' --required
;