你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExpressRoutePortsLocationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:express_route_ports_locations> attribute.

Constructor

ExpressRoutePortsLocationsOperations(*args, **kwargs)

Methods

get

Retrieves a single ExpressRoutePort peering ___location, including the list of available bandwidths available at said peering ___location.

list

Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each ___location. Available bandwidths can only be obtained when retrieving a specific peering ___location.

get

Retrieves a single ExpressRoutePort peering ___location, including the list of available bandwidths available at said peering ___location.

get(location_name: str, **kwargs: Any) -> ExpressRoutePortsLocation

Parameters

Name Description
location_name
Required
str

Name of the requested ExpressRoutePort peering ___location. Required.

Returns

Type Description

ExpressRoutePortsLocation or the result of cls(response)

Exceptions

Type Description

list

Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each ___location. Available bandwidths can only be obtained when retrieving a specific peering ___location.

list(**kwargs: Any) -> Iterable[ExpressRoutePortsLocation]

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.network.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv171\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>