ExpressRoutePortAuthorizationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_port_authorizations> attribute.

Constructor

ExpressRoutePortAuthorizationsOperations(*args, **kwargs)

Methods

begin_create_or_update

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

begin_delete

Deletes the specified authorization from the specified express route port.

get

Gets the specified authorization from the specified express route port.

list

Gets all authorizations in an express route port.

begin_create_or_update

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

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

Parameters

Name Description
resource_group_name
Required
str

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

express_route_port_name
Required
str

The name of the express route port. Required.

authorization_name
Required
str

The name of the authorization. Required.

authorization_parameters
Required

Parameters supplied to the create or update express route port authorization operation. Is one of the following types: ExpressRoutePortAuthorization, JSON, IO[bytes] Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified authorization from the specified express route port.

begin_delete(resource_group_name: str, express_route_port_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_port_name
Required
str

The name of the express route port. Required.

authorization_name
Required
str

The name of the authorization. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

get

Gets the specified authorization from the specified express route port.

get(resource_group_name: str, express_route_port_name: str, authorization_name: str, **kwargs: Any) -> ExpressRoutePortAuthorization

Parameters

Name Description
resource_group_name
Required
str

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

express_route_port_name
Required
str

The name of the express route port. Required.

authorization_name
Required
str

The name of the authorization. Required.

Returns

Type Description

ExpressRoutePortAuthorization. The ExpressRoutePortAuthorization is compatible with MutableMapping

Exceptions

Type Description

list

Gets all authorizations in an express route port.

list(resource_group_name: str, express_route_port_name: str, **kwargs: Any) -> ItemPaged[ExpressRoutePortAuthorization]

Parameters

Name Description
resource_group_name
Required
str

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

express_route_port_name
Required
str

The name of the express route port. Required.

Returns

Type Description

An iterator like instance of ExpressRoutePortAuthorization

Exceptions

Type Description