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. : Workspaces_IntelligencePacksList.
  • Default Api Version. : 2025-07-01.
  • Resource. : OperationalInsightsWorkspaceResource.
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

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

Applies to