ExpressRouteLinksOperations Class

ExpressRouteLinksOperations 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
ExpressRouteLinksOperations

Constructor

ExpressRouteLinksOperations(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

get

Retrieves the specified ExpressRouteLink resource.

list

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

Retrieves the specified ExpressRouteLink resource.

get(resource_group_name: str, express_route_port_name: str, link_name: str, **kwargs) -> azure.mgmt.network.v2018_12_01.models._models_py3.ExpressRouteLink

Parameters

resource_group_name
str
Required

The name of the resource group.

express_route_port_name
str
Required

The name of the ExpressRoutePort resource.

link_name
str
Required

The name of the ExpressRouteLink resource.

cls
callable
Required

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

Returns

ExpressRouteLink, or the result of cls(response)

Return type

list

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

list(resource_group_name: str, express_route_port_name: str, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.ExpressRouteLinkListResult')]

Parameters

resource_group_name
str
Required

The name of the resource group.

express_route_port_name
str
Required

The name of the ExpressRoutePort resource.

cls
callable
Required

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

Returns

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

Return type

Attributes

models

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