Partager via


PeeringExtensions.InvokeLookingGlass Méthode

Définition

Exécuter la fonctionnalité de recherche de verre

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Peering/lookingGlass
  • IdLookingGlass_Invoke d’opération
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)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

command
LookingGlassCommand

Commande à exécuter : ping, traceroute, bgpRoute.

sourceType
LookingGlassSourceType

Type de la source : site Edge ou Région Azure.

sourceLocation
String

Emplacement de la source.

destinationIP
String

Adresse IP de la destination.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

sourceLocation ou destinationIP est null.

S’applique à