Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.hdinsight.private_endpoint_connections

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.
linkIdentifierstringThe link identifier.
privateEndpointobjectThe private endpoint of the private endpoint connection.
privateLinkServiceConnectionStateobjectThe private link service connection state. Required.
provisioningStatestringThe provisioning state, which only appears in the response. Known values are: "InProgress", "Updating", "Failed", "Succeeded", "Canceled", and "Deleting". (InProgress, Updating, Failed, Succeeded, Canceled, Deleting)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
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
getselectresource_group_name, cluster_name, private_endpoint_connection_name, subscription_idGets the specific private endpoint connection.
list_by_clusterselectresource_group_name, cluster_name, subscription_idLists the private endpoint connections for a HDInsight cluster.
create_or_updateinsertresource_group_name, cluster_name, private_endpoint_connection_name, subscription_id, propertiesApprove or reject a private endpoint connection manually.
create_or_updatereplaceresource_group_name, cluster_name, private_endpoint_connection_name, subscription_id, propertiesApprove or reject a private endpoint connection manually.
deletedeleteresource_group_name, cluster_name, private_endpoint_connection_name, subscription_idDeletes the specific private endpoint connection.

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_connection_namestringThe name of the private endpoint connection. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the specific private endpoint connection.

SELECT
id,
name,
linkIdentifier,
privateEndpoint,
privateLinkServiceConnectionState,
provisioningState,
systemData,
type
FROM azure.hdinsight.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Approve or reject a private endpoint connection manually.

INSERT INTO azure.hdinsight.private_endpoint_connections (
properties,
resource_group_name,
cluster_name,
private_endpoint_connection_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ private_endpoint_connection_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Approve or reject a private endpoint connection manually.

REPLACE azure.hdinsight.private_endpoint_connections
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Deletes the specific private endpoint connection.

DELETE FROM azure.hdinsight.private_endpoint_connections
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;