Share via


OperationalInsightsWorkspaceResource.GetIntelligencePacks 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.Pageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsIntelligencePack> GetIntelligencePacks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIntelligencePacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsIntelligencePack>
override this.GetIntelligencePacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsIntelligencePack>
Public Overridable Function GetIntelligencePacks (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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