Udostępnij za pośrednictwem


WebTestLocationsOperationsExtensions.ListAsync Method

Definition

Gets a list of web test locations available to this Application Insights component.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentWebTestLocation>> ListAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestLocationsOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestLocationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentWebTestLocation>>
<Extension()>
Public Function ListAsync (operations As IWebTestLocationsOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ApplicationInsightsComponentWebTestLocation))

Parameters

operations
IWebTestLocationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to