Partilhar via


ExpressRouteLinksOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_links> attribute.

Inheritance
builtins.object
ExpressRouteLinksOperations

Constructor

ExpressRouteLinksOperations(*args, **kwargs)

Methods

get

Retrieves the specified ExpressRouteLink resource.

list

Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.

get

Retrieves the specified ExpressRouteLink resource.

get(resource_group_name: str, express_route_port_name: str, link_name: str, **kwargs: Any) -> ExpressRouteLink

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

express_route_port_name
Required
str

The name of the ExpressRoutePort resource. Required.

link_name
Required
str

The name of the ExpressRouteLink resource. Required.

Returns

Type Description

ExpressRouteLink or the result of cls(response)

Exceptions

Type Description

list

Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.

list(resource_group_name: str, express_route_port_name: str, **kwargs: Any) -> Iterable[ExpressRouteLink]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

express_route_port_name
Required
str

The name of the ExpressRoutePort resource. Required.

Returns

Type Description

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