ExpressRoutePortsLocationsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:express_route_ports_locations> attribute.
- Inheritance
-
builtins.objectExpressRoutePortsLocationsOperations
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
|
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:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python