PrivateEndpointConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

HealthcareApisManagementClient's

<xref:private_endpoint_connections> attribute.

Inheritance
builtins.object
PrivateEndpointConnectionsOperations

Constructor

PrivateEndpointConnectionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Update the state of the specified private endpoint connection associated with the service.

begin_delete

Deletes a private endpoint connection.

get

Gets the specified private endpoint connection associated with the service.

list_by_service

Lists all private endpoint connections for a service.

begin_create_or_update

Update the state of the specified private endpoint connection associated with the service.

async begin_create_or_update(resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, properties: _models.PrivateEndpointConnection, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.PrivateEndpointConnectionDescription]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

resource_name
Required
str

The name of the service instance. Required.

private_endpoint_connection_name
Required
str

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

properties
Required

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

Returns

Type Description

An instance of AsyncLROPoller that returns either PrivateEndpointConnectionDescription or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes a private endpoint connection.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

resource_name
Required
str

The name of the service instance. 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 AsyncLROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets the specified private endpoint connection associated with the service.

async get(resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, **kwargs: Any) -> PrivateEndpointConnectionDescription

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

resource_name
Required
str

The name of the service instance. Required.

private_endpoint_connection_name
Required
str

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

Returns

Type Description

PrivateEndpointConnectionDescription or the result of cls(response)

Exceptions

Type Description

list_by_service

Lists all private endpoint connections for a service.

list_by_service(resource_group_name: str, resource_name: str, **kwargs: Any) -> AsyncIterable[PrivateEndpointConnectionDescription]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the service instance. Required.

resource_name
Required
str

The name of the service instance. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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