Compartilhar via


ExpressRouteCrossConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_cross_connections> attribute.

Inheritance
builtins.object
ExpressRouteCrossConnectionsOperations

Constructor

ExpressRouteCrossConnectionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Update the specified ExpressRouteCrossConnection.

begin_list_arp_table

Gets the currently advertised ARP table associated with the express route cross connection in a resource group.

begin_list_routes_table

Gets the currently advertised routes table associated with the express route cross connection in a resource group.

begin_list_routes_table_summary

Gets the route table summary associated with the express route cross connection in a resource group.

get

Gets details about the specified ExpressRouteCrossConnection.

list

Retrieves all the ExpressRouteCrossConnections in a subscription.

list_by_resource_group

Retrieves all the ExpressRouteCrossConnections in a resource group.

update_tags

Updates an express route cross connection tags.

begin_create_or_update

Update the specified ExpressRouteCrossConnection.

begin_create_or_update(resource_group_name: str, cross_connection_name: str, parameters: _models.ExpressRouteCrossConnection, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpressRouteCrossConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cross_connection_name
Required
str

The name of the ExpressRouteCrossConnection. Required.

parameters
Required

Parameters supplied to the update express route crossConnection operation. Is either a ExpressRouteCrossConnection type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_list_arp_table

Gets the currently advertised ARP table associated with the express route cross connection in a resource group.

begin_list_arp_table(resource_group_name: str, cross_connection_name: str, peering_name: str, device_path: str, **kwargs: Any) -> LROPoller[ExpressRouteCircuitsArpTableListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cross_connection_name
Required
str

The name of the ExpressRouteCrossConnection. Required.

peering_name
Required
str

The name of the peering. Required.

device_path
Required
str

The path of the device. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_list_routes_table

Gets the currently advertised routes table associated with the express route cross connection in a resource group.

begin_list_routes_table(resource_group_name: str, cross_connection_name: str, peering_name: str, device_path: str, **kwargs: Any) -> LROPoller[ExpressRouteCircuitsRoutesTableListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cross_connection_name
Required
str

The name of the ExpressRouteCrossConnection. Required.

peering_name
Required
str

The name of the peering. Required.

device_path
Required
str

The path of the device. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_list_routes_table_summary

Gets the route table summary associated with the express route cross connection in a resource group.

begin_list_routes_table_summary(resource_group_name: str, cross_connection_name: str, peering_name: str, device_path: str, **kwargs: Any) -> LROPoller[ExpressRouteCrossConnectionsRoutesTableSummaryListResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cross_connection_name
Required
str

The name of the ExpressRouteCrossConnection. Required.

peering_name
Required
str

The name of the peering. Required.

device_path
Required
str

The path of the device. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Gets details about the specified ExpressRouteCrossConnection.

get(resource_group_name: str, cross_connection_name: str, **kwargs: Any) -> ExpressRouteCrossConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group (peering location of the circuit). Required.

cross_connection_name
Required
str

The name of the ExpressRouteCrossConnection (service key of the circuit). Required.

Returns

Type Description

ExpressRouteCrossConnection or the result of cls(response)

Exceptions

Type Description

list

Retrieves all the ExpressRouteCrossConnections in a subscription.

list(*, filter: str | None = None, **kwargs: Any) -> Iterable[ExpressRouteCrossConnection]

Keyword-Only Parameters

Name Description
filter
str

The filter to apply on the operation. For example, you can use $filter=name eq '{circuitServiceKey}'. Default value is None.

Returns

Type Description

An iterator like instance of either ExpressRouteCrossConnection or the result of cls(response)

Exceptions

Type Description

list_by_resource_group

Retrieves all the ExpressRouteCrossConnections in a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[ExpressRouteCrossConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

Returns

Type Description

An iterator like instance of either ExpressRouteCrossConnection or the result of cls(response)

Exceptions

Type Description

update_tags

Updates an express route cross connection tags.

update_tags(resource_group_name: str, cross_connection_name: str, cross_connection_parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ExpressRouteCrossConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cross_connection_name
Required
str

The name of the cross connection. Required.

cross_connection_parameters
Required

Parameters supplied to update express route cross connection tags. Is either a TagsObject type or a IO[bytes] type. Required.

Returns

Type Description

ExpressRouteCrossConnection 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'>