PeeringExtensions.InvokeLookingGlassAsync Methode

Definition

Ausführen der Funktion "Looking Glass"

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Peering/lookingGlass
  • Vorgangs-IdLookingGlass_Invoke
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.LookingGlassOutput>> InvokeLookingGlassAsync (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 InvokeLookingGlassAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Peering.Models.LookingGlassCommand * Azure.ResourceManager.Peering.Models.LookingGlassSourceType * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Peering.Models.LookingGlassOutput>>
<Extension()>
Public Function InvokeLookingGlassAsync (subscriptionResource As SubscriptionResource, command As LookingGlassCommand, sourceType As LookingGlassSourceType, sourceLocation As String, destinationIP As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LookingGlassOutput))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

command
LookingGlassCommand

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

sourceType
LookingGlassSourceType

Der Typ der Quelle: Edgestandort 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: