Sdílet prostřednictvím


ExpressRouteCircuitAuthorizationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_circuit_authorizations> attribute.

Inheritance
builtins.object
ExpressRouteCircuitAuthorizationsOperations

Constructor

ExpressRouteCircuitAuthorizationsOperations(*args, **kwargs)

Methods

begin_create_or_update

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

begin_delete

Deletes the specified authorization from the specified express route circuit.

get

Gets the specified authorization from the specified express route circuit.

list

Gets all authorizations in an express route circuit.

begin_create_or_update

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

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

circuit_name
Required
str

The name of the express route circuit. Required.

authorization_name
Required
str

The name of the authorization. Required.

authorization_parameters
Required

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

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified authorization from the specified express route circuit.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

circuit_name
Required
str

The name of the express route circuit. Required.

authorization_name
Required
str

The name of the authorization. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Gets the specified authorization from the specified express route circuit.

get(resource_group_name: str, circuit_name: str, authorization_name: str, **kwargs: Any) -> ExpressRouteCircuitAuthorization

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

circuit_name
Required
str

The name of the express route circuit. Required.

authorization_name
Required
str

The name of the authorization. Required.

Returns

Type Description

ExpressRouteCircuitAuthorization or the result of cls(response)

Exceptions

Type Description

list

Gets all authorizations in an express route circuit.

list(resource_group_name: str, circuit_name: str, **kwargs: Any) -> Iterable[ExpressRouteCircuitAuthorization]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

circuit_name
Required
str

The name of the circuit. Required.

Returns

Type Description

An iterator like instance of either ExpressRouteCircuitAuthorization 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'>