ExpressRouteLagAuthorizationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_lag_authorizations> attribute.

Constructor

ExpressRouteLagAuthorizationsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates an authorization in the specified express route LAG.

begin_delete

Deletes the specified authorization from the specified express route LAG.

get

Gets the specified authorization from the specified express route LAG.

list

Gets all authorizations in an express route LAG.

list_keys

Gets the authorization key associated with the specified express route LAG authorization.

begin_create_or_update

Creates or updates an authorization in the specified express route LAG.

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

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.

authorization_name
Required
str

The authorization name, unique within the parent ExpressRoute LAG. Required.

authorization_parameters
Required

Parameters supplied to the create or update express route LAG authorization operation. Is either a ExpressRouteLagAuthorization type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified authorization from the specified express route LAG.

begin_delete(resource_group_name: str, express_route_lag_name: str, authorization_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 the express route LAG. Required.

authorization_name
Required
str

The authorization name, unique within the parent ExpressRoute LAG. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

get

Gets the specified authorization from the specified express route LAG.

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

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.

authorization_name
Required
str

The authorization name, unique within the parent ExpressRoute LAG. Required.

Returns

Type Description

ExpressRouteLagAuthorization. The ExpressRouteLagAuthorization is compatible with MutableMapping

Exceptions

Type Description

list

Gets all authorizations in an express route LAG.

list(resource_group_name: str, express_route_lag_name: str, **kwargs: Any) -> ItemPaged[ExpressRouteLagAuthorization]

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.

Returns

Type Description

An iterator like instance of ExpressRouteLagAuthorization

Exceptions

Type Description

list_keys

Gets the authorization key associated with the specified express route LAG authorization.

list_keys(resource_group_name: str, express_route_lag_name: str, authorization_name: str, **kwargs: Any) -> ExpressRouteAuthorizationKey

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.

authorization_name
Required
str

The authorization name, unique within the parent ExpressRoute LAG. Required.

Returns

Type Description

ExpressRouteAuthorizationKey. The ExpressRouteAuthorizationKey is compatible with MutableMapping

Exceptions

Type Description