共用方式為


IntelligencePacksOperationsExtensions.EnableAsync Method

Definition

Enables an intelligence pack for a given workspace.

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

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.

intelligencePackName
String

The name of the intelligence pack to be enabled.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to