Beispiel #1
0
 /// <summary>
 /// Lists all the intelligence packs possible and whether they are enabled or
 /// disabled 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>
 public static IList <IntelligencePack> ListIntelligencePacks(this IWorkspacesOperations operations, string resourceGroupName, string workspaceName)
 {
     return(operations.ListIntelligencePacksAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult());
 }