ExpressRouteCircuitAuthorizationsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:express_route_circuit_authorizations> attribute.
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.
async 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) -> AsyncLROPoller[_models.ExpressRouteCircuitAuthorization]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
circuit_name
Required
|
The name of express route circuit. Required. |
|
authorization_name
Required
|
The name of the authorization. Required. |
|
authorization_parameters
Required
|
Parameters supplied to the create or update express route circuit authorization operation. Is one of the following types: ExpressRouteCircuitAuthorization, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns ExpressRouteCircuitAuthorization. The ExpressRouteCircuitAuthorization is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
begin_delete
Deletes the specified authorization from the specified express route circuit.
async begin_delete(resource_group_name: str, circuit_name: str, authorization_name: str, **kwargs: Any) -> AsyncLROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
circuit_name
Required
|
The name of express route circuit. Required. |
|
authorization_name
Required
|
The name of the authorization. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
get
Gets the specified authorization from the specified express route circuit.
async get(resource_group_name: str, circuit_name: str, authorization_name: str, **kwargs: Any) -> ExpressRouteCircuitAuthorization
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
circuit_name
Required
|
The name of express route circuit. Required. |
|
authorization_name
Required
|
The name of the authorization. Required. |
Returns
| Type | Description |
|---|---|
|
ExpressRouteCircuitAuthorization. The ExpressRouteCircuitAuthorization is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
Gets all authorizations in an express route circuit.
list(resource_group_name: str, circuit_name: str, **kwargs: Any) -> AsyncItemPaged[ExpressRouteCircuitAuthorization]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
circuit_name
Required
|
The name of express route circuit. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of ExpressRouteCircuitAuthorization |
Exceptions
| Type | Description |
|---|---|