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:

NameDatatypeDescription
idstringFully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
createdDatestringThe date when this private endpoint was created.
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.
manualPrivateLinkServiceConnectionsarrayA list of connections to the remote resource. Immutable after it is set.
typestringThe type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, private_endpoint_name, subscription_idGets information about the specified Private Endpoint.
list_by_clusterselectresource_group_name, cluster_name, subscription_idLists the private endpoints in the cluster.
create_or_updateinsertresource_group_name, cluster_name, private_endpoint_name, subscription_idIf-Match, If-None-MatchCreates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
create_or_updatereplaceresource_group_name, cluster_name, private_endpoint_name, subscription_idIf-Match, If-None-MatchCreates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint.
deletedeleteresource_group_name, cluster_name, private_endpoint_name, subscription_idDelete 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
cluster_namestringThe name of the cluster. Required.
private_endpoint_namestringThe name of the private endpoint. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
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. Default value is None.
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. Default value is None.

SELECT examples

Gets information about the specified Private Endpoint.

SELECT
id,
name,
createdDate,
etag,
manualPrivateLinkServiceConnections,
type
FROM azure.stream_analytics.private_endpoints
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND private_endpoint_name = '{{ private_endpoint_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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

INSERT INTO azure.stream_analytics.private_endpoints (
properties,
resource_group_name,
cluster_name,
private_endpoint_name,
subscription_id,
If-Match,
If-None-Match
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ private_endpoint_name }}',
'{{ subscription_id }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
id,
name,
etag,
properties,
type
;

REPLACE examples

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

REPLACE azure.stream_analytics.private_endpoints
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND private_endpoint_name = '{{ private_endpoint_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND If-Match = '{{ If-Match}}'
AND If-None-Match = '{{ If-None-Match}}'
RETURNING
id,
name,
etag,
properties,
type;

DELETE examples

Delete the specified private endpoint.

DELETE FROM azure.stream_analytics.private_endpoints
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND private_endpoint_name = '{{ private_endpoint_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;