Partilhar via


ApplicationInsightsComponentResource.GetWebTestLocationsAsync Método

Definição

Obtém uma lista de locais de teste da Web disponíveis para este componente do Application Insights.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations
  • Operação IdwebTestLocations_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentWebTestLocation> GetWebTestLocationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebTestLocationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentWebTestLocation>
override this.GetWebTestLocationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentWebTestLocation>
Public Overridable Function GetWebTestLocationsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsComponentWebTestLocation)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ApplicationInsightsComponentWebTestLocation que pode levar várias solicitações de serviço para iterar.

Aplica-se a