Share via


IntelligencePacksOperationsExtensions.DisableAsync Method

Definition

Disables an intelligence pack for a given workspace.

public static System.Threading.Tasks.Task DisableAsync (this Microsoft.Azure.Management.OperationalInsights.IIntelligencePacksOperations operations, string resourceGroupName, string workspaceName, string intelligencePackName, System.Threading.CancellationToken cancellationToken = default);
static member DisableAsync : Microsoft.Azure.Management.OperationalInsights.IIntelligencePacksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DisableAsync (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 disabled.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to