Freigeben über


ExpressRoutePortsLocationCollection.Get(String, CancellationToken) Methode

Definition

Ruft einen einzelnen ExpressRoutePort-Peeringstandort ab, einschließlich der Liste der verfügbaren Bandbreiten, die an diesem Peeringstandort verfügbar sind.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}
  • Vorgang IdExpressRoutePortsLocations_Get
public virtual Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource> Get (string locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
Public Overridable Function Get (locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpressRoutePortsLocationResource)

Parameter

locationName
String

Name des angeforderten ExpressRoutePort-Peeringspeicherorts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

locationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

locationName ist NULL.

Gilt für: