Partilhar via


PeeringExtensions.InvokeLookingGlassAsync Método

Definição

Funcionalidade de execução de espelho

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Peering/lookingGlass
  • IdLookingGlass_Invoke de operação
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

A SubscriptionResource instância na qual o método será executado.

command
LookingGlassCommand

O comando a ser executado: ping, traceroute, bgpRoute.

sourceType
LookingGlassSourceType

O tipo da origem: site do Edge ou Região do Azure.

sourceLocation
String

A localização da origem.

destinationIP
String

O endereço IP do destino.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sourceLocation ou destinationIP é nulo.

Aplica-se a