PrivateEndpointConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

HDInsightManagementClient's

<xref:private_endpoint_connections> attribute.

Constructor

PrivateEndpointConnectionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Approve or reject a private endpoint connection manually.

begin_delete

Deletes the specific private endpoint connection.

get

Gets the specific private endpoint connection.

list_by_cluster

Lists the private endpoint connections for a HDInsight cluster.

begin_create_or_update

Approve or reject a private endpoint connection manually.

begin_create_or_update(resource_group_name: str, cluster_name: str, private_endpoint_connection_name: str, parameters: _models.PrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.PrivateEndpointConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection. Required.

parameters
Required

The private endpoint connection create or update request. Is either a PrivateEndpointConnection type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes the specific private endpoint connection.

begin_delete(resource_group_name: str, cluster_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets the specific private endpoint connection.

get(resource_group_name: str, cluster_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> PrivateEndpointConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection. Required.

Returns

Type Description

PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

list_by_cluster

Lists the private endpoint connections for a HDInsight cluster.

list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) -> ItemPaged[PrivateEndpointConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

Returns

Type Description

An iterator like instance of either PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.hdinsight.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv145\\Lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>