你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedEnvironmentPrivateEndpointConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:managed_environment_private_endpoint_connections> attribute.

Constructor

ManagedEnvironmentPrivateEndpointConnectionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Update the state of a private endpoint connection for a given managed environment.

Update the state of a private endpoint connection for a given managed environment.

begin_delete

Delete a private endpoint connection for a given managed environment.

Delete a private endpoint connection for a given managed environment.

get

Get a private endpoint connection for a given managed environment.

Get a private endpoint connection for a given managed environment.

list

List private endpoint connections for a given managed environment.

List private endpoint connections for a given managed environment.

begin_create_or_update

Update the state of a private endpoint connection for a given managed environment.

Update the state of a private endpoint connection for a given managed environment.

begin_create_or_update(resource_group_name: str, environment_name: str, private_endpoint_connection_name: str, private_endpoint_connection_envelope: _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. The name is case insensitive. Required.

environment_name
Required
str

Name of the Managed Environment. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection associated with the Azure resource. Required.

private_endpoint_connection_envelope
Required

The resource of private endpoint and its properties. 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

Delete a private endpoint connection for a given managed environment.

Delete a private endpoint connection for a given managed environment.

begin_delete(resource_group_name: str, environment_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. The name is case insensitive. Required.

environment_name
Required
str

Name of the Managed Environment. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection associated with the Azure resource. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Get a private endpoint connection for a given managed environment.

Get a private endpoint connection for a given managed environment.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

environment_name
Required
str

Name of the Managed Environment. Required.

private_endpoint_connection_name
Required
str

The name of the private endpoint connection associated with the Azure resource. Required.

Returns

Type Description

PrivateEndpointConnection or the result of cls(response)

Exceptions

Type Description

list

List private endpoint connections for a given managed environment.

List private endpoint connections for a given managed environment.

list(resource_group_name: str, environment_name: str, **kwargs: Any) -> ItemPaged[PrivateEndpointConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

environment_name
Required
str

Name of the Managed Environment. 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.appcontainers.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv67\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>