ExpressRouteConnectionsOperations Class

ExpressRouteConnectionsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ExpressRouteConnectionsOperations

Constructor

ExpressRouteConnectionsOperations(client, config, serializer, deserializer) -> None

Parameters

client

Client for service requests.

config

Configuration of service client.

serializer

An object model serializer.

deserializer

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

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.

begin_create_or_update(resource_group_name: str, express_route_gateway_name: str, connection_name: str, put_express_route_connection_parameters: azure.mgmt.network.v2020_05_01.models._models_py3.ExpressRouteConnection, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.ExpressRouteConnection')]

Parameters

resource_group_name
str
Required

The name of the resource group.

express_route_gateway_name
str
Required

The name of the ExpressRoute gateway.

connection_name
str
Required

The name of the connection subresource.

put_express_route_connection_parameters
ExpressRouteConnection
Required

Parameters required in an ExpressRouteConnection PUT operation.

cls
callable
Required

A custom type or function that will be passed the direct response

continuation_token
str
Required

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod
Required

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

polling_interval
int
Required

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

begin_delete

Deletes a connection to a ExpressRoute circuit.

begin_delete(resource_group_name: str, express_route_gateway_name: str, connection_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[NoneType]

Parameters

resource_group_name
str
Required

The name of the resource group.

express_route_gateway_name
str
Required

The name of the ExpressRoute gateway.

connection_name
str
Required

The name of the connection subresource.

cls
callable
Required

A custom type or function that will be passed the direct response

continuation_token
str
Required

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod
Required

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

polling_interval
int
Required

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

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

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

get

Gets the specified ExpressRouteConnection.

get(resource_group_name: str, express_route_gateway_name: str, connection_name: str, **kwargs) -> azure.mgmt.network.v2020_05_01.models._models_py3.ExpressRouteConnection

Parameters

resource_group_name
str
Required

The name of the resource group.

express_route_gateway_name
str
Required

The name of the ExpressRoute gateway.

connection_name
str
Required

The name of the ExpressRoute connection.

cls
callable
Required

A custom type or function that will be passed the direct response

Returns

ExpressRouteConnection, or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

list

Lists ExpressRouteConnections.

list(resource_group_name: str, express_route_gateway_name: str, **kwargs) -> azure.mgmt.network.v2020_05_01.models._models_py3.ExpressRouteConnectionList

Parameters

resource_group_name
str
Required

The name of the resource group.

express_route_gateway_name
str
Required

The name of the ExpressRoute gateway.

cls
callable
Required

A custom type or function that will be passed the direct response

Returns

ExpressRouteConnectionList, or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

Attributes

models

models = <module 'azure.mgmt.network.v2020_05_01.models' from 'c:\\repo\\venv\\lib\\site-packages\\azure\\mgmt\\network\\v2020_05_01\\models\\__init__.py'>