Udostępnij za pośrednictwem


ComponentsOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets a list of Application Insights components within a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IComponentsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ApplicationInsightsComponent))

Parameters

operations
IComponentsOperations

The operations group for this extension method.

resourceGroupName
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to