Compartir a través de


PeeringExtensions.InvokeLookingGlassAsync Método

Definición

Funcionamiento de la funcionalidad de vidrio con aspecto

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

Parámetros

subscriptionResource
SubscriptionResource

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

command
LookingGlassCommand

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