Compartilhar via


ComponentsOperationsExtensions.ListByResourceGroupAsync Método

Definição

Obtém uma lista de componentes do Application Insights em um grupo de recursos.

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))

Parâmetros

operations
IComponentsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a