Share via


PrivateEndpointConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

KeyVaultManagementClient's

<xref:private_endpoint_connections> attribute.

Constructor

PrivateEndpointConnectionsOperations(*args, **kwargs)

Methods

begin_delete

Deletes the specified private endpoint connection associated with the key vault.

get

Gets the specified private endpoint connection associated with the key vault.

list_by_resource

The List operation gets information about the private endpoint connections associated with the vault.

put

Updates the specified private endpoint connection associated with the key vault.

begin_delete

Deletes the specified private endpoint connection associated with the key vault.

async begin_delete(resource_group_name: str, vault_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> AsyncLROPoller[PrivateEndpointConnection]

Parameters

Name Description
resource_group_name
Required
str

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

vault_name
Required
str

The name of the vault. Required.

private_endpoint_connection_name
Required
str

Name of the private endpoint connection associated with the key vault. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns PrivateEndpointConnection. The PrivateEndpointConnection is compatible with MutableMapping

Exceptions

Type Description

get

Gets the specified private endpoint connection associated with the key vault.

async get(resource_group_name: str, vault_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> PrivateEndpointConnection | None

Parameters

Name Description
resource_group_name
Required
str

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

vault_name
Required
str

The name of the vault. Required.

private_endpoint_connection_name
Required
str

Name of the private endpoint connection associated with the key vault. Required.

Returns

Type Description

PrivateEndpointConnection or None. The PrivateEndpointConnection is compatible with MutableMapping

Exceptions

Type Description

list_by_resource

The List operation gets information about the private endpoint connections associated with the vault.

list_by_resource(resource_group_name: str, vault_name: str, **kwargs: Any) -> AsyncItemPaged[PrivateEndpointConnection]

Parameters

Name Description
resource_group_name
Required
str

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

vault_name
Required
str

The name of the vault. Required.

Returns

Type Description

An iterator like instance of PrivateEndpointConnection

Exceptions

Type Description

put

Updates the specified private endpoint connection associated with the key vault.

async put(resource_group_name: str, vault_name: str, private_endpoint_connection_name: str, properties: _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. The name is case insensitive. Required.

vault_name
Required
str

The name of the vault. Required.

private_endpoint_connection_name
Required
str

Name of the private endpoint connection associated with the key vault. Required.

properties
Required
PrivateEndpointConnection or <xref:JSON> or IO[bytes]

The intended state of private endpoint connection. Is one of the following types: PrivateEndpointConnection, JSON, IO[bytes] Required.

Returns

Type Description

PrivateEndpointConnection. The PrivateEndpointConnection is compatible with MutableMapping

Exceptions

Type Description