Share via


IntelligencePacksOperationsExtensions.ListAsync Method

Definition

Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.OperationalInsights.Models.IntelligencePack>> ListAsync (this Microsoft.Azure.Management.OperationalInsights.IIntelligencePacksOperations operations, string resourceGroupName, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.OperationalInsights.IIntelligencePacksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.OperationalInsights.Models.IntelligencePack>>
<Extension()>
Public Function ListAsync (operations As IIntelligencePacksOperations, resourceGroupName As String, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of IntelligencePack))

Parameters

operations
IIntelligencePacksOperations

The operations group for this extension method.

resourceGroupName
String

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

workspaceName
String

The name of the workspace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to