ExpressRouteConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_connections> attribute.

Constructor

ExpressRouteConnectionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.

begin_delete

Deletes a connection to a ExpressRoute circuit.

get

Gets the specified ExpressRouteConnection.

list

Lists ExpressRouteConnections.

begin_create_or_update

Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.

async begin_create_or_update(resource_group_name: str, express_route_gateway_name: str, connection_name: str, put_express_route_connection_parameters: _models.ExpressRouteConnection, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.ExpressRouteConnection]

Parameters

Name Description
resource_group_name
Required
str

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

express_route_gateway_name
Required
str

The name of the express route gateway. Required.

connection_name
Required
str

The name of the express route connection. Required.

put_express_route_connection_parameters
Required
ExpressRouteConnection or <xref:JSON> or IO[bytes]

Parameters required in an ExpressRouteConnection PUT operation. Is one of the following types: ExpressRouteConnection, JSON, IO[bytes] Required.

Returns

Type Description

An instance of AsyncLROPoller that returns ExpressRouteConnection. The ExpressRouteConnection is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes a connection to a ExpressRoute circuit.

async begin_delete(resource_group_name: str, express_route_gateway_name: str, connection_name: str, **kwargs: Any) -> AsyncLROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

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

express_route_gateway_name
Required
str

The name of the express route gateway. Required.

connection_name
Required
str

The name of the express route connection. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns None

Exceptions

Type Description

get

Gets the specified ExpressRouteConnection.

async get(resource_group_name: str, express_route_gateway_name: str, connection_name: str, **kwargs: Any) -> ExpressRouteConnection

Parameters

Name Description
resource_group_name
Required
str

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

express_route_gateway_name
Required
str

The name of the express route gateway. Required.

connection_name
Required
str

The name of the express route connection. Required.

Returns

Type Description

ExpressRouteConnection. The ExpressRouteConnection is compatible with MutableMapping

Exceptions

Type Description

list

Lists ExpressRouteConnections.

async list(resource_group_name: str, express_route_gateway_name: str, **kwargs: Any) -> ExpressRouteConnectionList

Parameters

Name Description
resource_group_name
Required
str

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

express_route_gateway_name
Required
str

The name of the ExpressRoute gateway. Required.

Returns

Type Description

ExpressRouteConnectionList. The ExpressRouteConnectionList is compatible with MutableMapping

Exceptions

Type Description