Compartir a través de


PeeringExtensions.InvokeLookingGlass Método

Definición

Ejecución de la funcionalidad de vidrio con aspecto

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Peering/lookingGlass
  • IdLookingGlass_Invoke de operación
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)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

command
LookingGlassCommand

El comando que se va a ejecutar: ping, traceroute, bgpRoute.

sourceType
LookingGlassSourceType

Tipo del origen: sitio perimetral o región de Azure.

sourceLocation
String

Ubicación del origen.

destinationIP
String

Dirección IP del destino.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

sourceLocation o destinationIP es null.

Se aplica a