Freigeben über


ExpressRoutePortsLocationCollection.GetAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>> GetAsync (string locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>>
Public Overridable Function GetAsync (locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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: