Share via


ExtensionsOperationsExtensions.EnableAzureMonitor Method

Definition

Enables the Azure Monitor on the HDInsight cluster.

public static void EnableAzureMonitor (this Microsoft.Azure.Management.HDInsight.IExtensionsOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.HDInsight.Models.AzureMonitorRequest parameters);
static member EnableAzureMonitor : Microsoft.Azure.Management.HDInsight.IExtensionsOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.AzureMonitorRequest -> unit
<Extension()>
Public Sub EnableAzureMonitor (operations As IExtensionsOperations, resourceGroupName As String, clusterName As String, parameters As AzureMonitorRequest)

Parameters

operations
IExtensionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

parameters
AzureMonitorRequest

The Log Analytics workspace parameters.

Applies to