Freigeben über


PeeringExtensions.InvokeLookingGlass Methode

Definition

Ausführen von Glasfunktionen

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Peering/lookingGlass
  • Vorgang IdLookingGlass_Invoke
public static Azure.Response<Azure.ResourceManager.Peering.Models.LookingGlassOutput> InvokeLookingGlass (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Peering.Models.LookingGlassCommand command, Azure.ResourceManager.Peering.Models.LookingGlassSourceType sourceType, string sourceLocation, string destinationIP, System.Threading.CancellationToken cancellationToken = default);
static member InvokeLookingGlass : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Peering.Models.LookingGlassCommand * Azure.ResourceManager.Peering.Models.LookingGlassSourceType * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.Models.LookingGlassOutput>
<Extension()>
Public Function InvokeLookingGlass (subscriptionResource As SubscriptionResource, command As LookingGlassCommand, sourceType As LookingGlassSourceType, sourceLocation As String, destinationIP As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LookingGlassOutput)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

command
LookingGlassCommand

Der auszuführende Befehl: ping, traceroute, bgpRoute.

sourceType
LookingGlassSourceType

Der Typ der Quelle: Edgewebsite oder Azure-Region.

sourceLocation
String

Der Speicherort der Quelle.

destinationIP
String

Die IP-Adresse des Ziels.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

sourceLocation oder destinationIP ist NULL.

Gilt für: