Sdílet prostřednictvím


LoadBalancerBackendAddressPoolsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:load_balancer_backend_address_pools> attribute.

Inheritance
builtins.object
LoadBalancerBackendAddressPoolsOperations

Constructor

LoadBalancerBackendAddressPoolsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates a load balancer backend address pool.

begin_delete

Deletes the specified load balancer backend address pool.

get

Gets load balancer backend address pool.

list

Gets all the load balancer backed address pools.

begin_create_or_update

Creates or updates a load balancer backend address pool.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

load_balancer_name
Required
str

The name of the load balancer. Required.

backend_address_pool_name
Required
str

The name of the backend address pool. Required.

parameters
Required

Parameters supplied to the create or update load balancer backend address pool operation. Is either a BackendAddressPool type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified load balancer backend address pool.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

load_balancer_name
Required
str

The name of the load balancer. Required.

backend_address_pool_name
Required
str

The name of the backend address pool. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Gets load balancer backend address pool.

get(resource_group_name: str, load_balancer_name: str, backend_address_pool_name: str, **kwargs: Any) -> BackendAddressPool

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

load_balancer_name
Required
str

The name of the load balancer. Required.

backend_address_pool_name
Required
str

The name of the backend address pool. Required.

Returns

Type Description

BackendAddressPool or the result of cls(response)

Exceptions

Type Description

list

Gets all the load balancer backed address pools.

list(resource_group_name: str, load_balancer_name: str, **kwargs: Any) -> Iterable[BackendAddressPool]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

load_balancer_name
Required
str

The name of the load balancer. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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