ExpressRouteLagsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_lags> attribute.

Constructor

ExpressRouteLagsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates the specified ExpressRouteLag resource.

begin_delete

Deletes the specified ExpressRouteLag resource.

generate_loa

Generate a letter of authorization for the requested ExpressRouteLag resource.

get

Retrieves the requested ExpressRouteLag resource.

links_get

Retrieves the specified ExpressRouteLagLink resource.

links_list

Retrieve the ExpressRouteLagLink sub-resources of the specified ExpressRouteLag resource.

list

List all the ExpressRouteLag resources in the specified subscription.

list_by_resource_group

List all the ExpressRouteLag resources in the specified resource group.

members_get

Retrieves the specified ExpressRouteLagMember resource.

members_list

Retrieve the ExpressRouteLagMember sub-resources of the specified ExpressRouteLagLink resource.

update

Update ExpressRouteLag tags or identity.

begin_create_or_update

Creates or updates the specified ExpressRouteLag resource.

begin_create_or_update(resource_group_name: str, express_route_lag_name: str, resource: _models.ExpressRouteLag, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpressRouteLag]

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of ExpressRouteLag. Required.

resource
Required

Parameters supplied to the create ExpressRouteLag operation. Is either a ExpressRouteLag type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns ExpressRouteLag. The ExpressRouteLag is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes the specified ExpressRouteLag resource.

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

express_route_lag_name
Required
str

The name of ExpressRouteLag. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

generate_loa

Generate a letter of authorization for the requested ExpressRouteLag resource.

generate_loa(resource_group_name: str, express_route_lag_name: str, body: _models.GenerateExpressRouteLagsLOARequest, *, content_type: str = 'application/json', **kwargs: Any) -> _models.GenerateExpressRouteLagsLOAResult

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of ExpressRouteLag. Required.

body
Required

Request parameters supplied to generate a letter of authorization. Is either a GenerateExpressRouteLagsLOARequest type or a IO[bytes] type. Required.

Returns

Type Description

GenerateExpressRouteLagsLOAResult. The GenerateExpressRouteLagsLOAResult is compatible with MutableMapping

Exceptions

Type Description

get

Retrieves the requested ExpressRouteLag resource.

get(resource_group_name: str, express_route_lag_name: str, **kwargs: Any) -> ExpressRouteLag

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of ExpressRouteLag. Required.

Returns

Type Description

ExpressRouteLag. The ExpressRouteLag is compatible with MutableMapping

Exceptions

Type Description

Retrieves the specified ExpressRouteLagLink resource.

links_get(resource_group_name: str, express_route_lag_name: str, link_name: str, **kwargs: Any) -> ExpressRouteLagLink

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of the express route LAG. Required.

link_name
Required
str

The name of the express route LAG link. Required.

Returns

Type Description

ExpressRouteLagLink. The ExpressRouteLagLink is compatible with MutableMapping

Exceptions

Type Description

Retrieve the ExpressRouteLagLink sub-resources of the specified ExpressRouteLag resource.

links_list(resource_group_name: str, express_route_lag_name: str, **kwargs: Any) -> ItemPaged[ExpressRouteLagLink]

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of ExpressRouteLag. Required.

Returns

Type Description

An iterator like instance of ExpressRouteLagLink

Exceptions

Type Description

list

List all the ExpressRouteLag resources in the specified subscription.

list(**kwargs: Any) -> ItemPaged[ExpressRouteLag]

Returns

Type Description

An iterator like instance of ExpressRouteLag

Exceptions

Type Description

list_by_resource_group

List all the ExpressRouteLag resources in the specified resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> ItemPaged[ExpressRouteLag]

Parameters

Name Description
resource_group_name
Required
str

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

Returns

Type Description

An iterator like instance of ExpressRouteLag

Exceptions

Type Description

members_get

Retrieves the specified ExpressRouteLagMember resource.

members_get(resource_group_name: str, express_route_lag_name: str, link_name: str, member_name: str, **kwargs: Any) -> ExpressRouteLagMember

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of the express route LAG. Required.

link_name
Required
str

The name of the express route LAG link. Required.

member_name
Required
str

The name of the express route LAG member. Required.

Returns

Type Description

ExpressRouteLagMember. The ExpressRouteLagMember is compatible with MutableMapping

Exceptions

Type Description

members_list

Retrieve the ExpressRouteLagMember sub-resources of the specified ExpressRouteLagLink resource.

members_list(resource_group_name: str, express_route_lag_name: str, link_name: str, **kwargs: Any) -> ItemPaged[ExpressRouteLagMember]

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of the express route LAG. Required.

link_name
Required
str

The name of the express route LAG link. Required.

Returns

Type Description

An iterator like instance of ExpressRouteLagMember

Exceptions

Type Description

update

Update ExpressRouteLag tags or identity.

update(resource_group_name: str, express_route_lag_name: str, properties: _models.ExpressRouteLagUpdateTagsOrIdentityRequest, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ExpressRouteLag

Parameters

Name Description
resource_group_name
Required
str

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

express_route_lag_name
Required
str

The name of ExpressRouteLag. Required.

properties
Required

Parameters supplied to update ExpressRouteLag resource tags or identity. Is either a ExpressRouteLagUpdateTagsOrIdentityRequest type or a IO[bytes] type. Required.

Returns

Type Description

ExpressRouteLag. The ExpressRouteLag is compatible with MutableMapping

Exceptions

Type Description