Share via


ExtensionsOperationsExtensions.BeginEnableMonitoringAsync Method

Definition

Enables the Operations Management Suite (OMS) on the HDInsight cluster.

public static System.Threading.Tasks.Task BeginEnableMonitoringAsync (this Microsoft.Azure.Management.HDInsight.IExtensionsOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.HDInsight.Models.ClusterMonitoringRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginEnableMonitoringAsync : Microsoft.Azure.Management.HDInsight.IExtensionsOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.ClusterMonitoringRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginEnableMonitoringAsync (operations As IExtensionsOperations, resourceGroupName As String, clusterName As String, parameters As ClusterMonitoringRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

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
ClusterMonitoringRequest

The Operations Management Suite (OMS) workspace parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to