PrivateEndpointConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerServiceClient's

<xref:private_endpoint_connections> attribute.

Inheritance
builtins.object
PrivateEndpointConnectionsOperations

Constructor

PrivateEndpointConnectionsOperations(*args, **kwargs)

Methods

begin_delete

Deletes a private endpoint connection.

Deletes the private endpoint connection in the specified managed cluster.

get

Gets the private endpoint connection.

Gets the details of the private endpoint connection by managed cluster and resource group.

list

Gets a list of private endpoint connections in the specified managed cluster.

Gets a list of private endpoint connections in the specified managed cluster. The operation returns properties of each private endpoint connection.

update

Updates a private endpoint connection.

Updates a private endpoint connection in the specified managed cluster.

begin_delete

Deletes a private endpoint connection.

Deletes the private endpoint connection in the specified managed cluster.

begin_delete(resource_group_name: str, resource_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.

resource_name
Required
str

The name of the managed cluster resource. 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 private endpoint connection.

Gets the details of the private endpoint connection by managed cluster and resource group.

get(resource_group_name: str, resource_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.

resource_name
Required
str

The name of the managed cluster resource. 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

Gets a list of private endpoint connections in the specified managed cluster.

Gets a list of private endpoint connections in the specified managed cluster. The operation returns properties of each private endpoint connection.

list(resource_group_name: str, resource_name: str, **kwargs: Any) -> PrivateEndpointConnectionListResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

resource_name
Required
str

The name of the managed cluster resource. Required.

Returns

Type Description

PrivateEndpointConnectionListResult or the result of cls(response)

Exceptions

Type Description

update

Updates a private endpoint connection.

Updates a private endpoint connection in the specified managed cluster.

update(resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, parameters: _models.PrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> _models.PrivateEndpointConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

resource_name
Required
str

The name of the managed cluster resource. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection. Required.

parameters
Required

Parameters supplied to the Update a private endpoint connection operation. Is either a PrivateEndpointConnection type or a IO[bytes] type. Required.

Returns

Type Description

PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.containerservice.v2020_12_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\containerservice\\v2020_12_01\\models\\__init__.py'>