Share via


OperationalInsightsWorkspaceResource.GetIntelligencePacksAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks
  • Operation Id: IntelligencePacks_List
  • Default Api Version: 2020-08-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsIntelligencePack> GetIntelligencePacksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIntelligencePacksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsIntelligencePack>
override this.GetIntelligencePacksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsIntelligencePack>
Public Overridable Function GetIntelligencePacksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OperationalInsightsIntelligencePack)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of OperationalInsightsIntelligencePack that may take multiple service requests to iterate over.

Applies to