Ejemplo n.º 1
0
 /// <summary>
 /// Disables an intelligence pack for a given workspace.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group to get. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// Name of the Log Analytics Workspace.
 /// </param>
 /// <param name='intelligencePackName'>
 /// The name of the intelligence pack to be disabled.
 /// </param>
 public static void DisableIntelligencePack(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName, string intelligencePackName)
 {
     operations.DisableIntelligencePackAsync(resourceGroupName, workspaceName, intelligencePackName).GetAwaiter().GetResult();
 }