ExtensionsOperationsExtensions.EnableMonitoringAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the Operations Management Suite (OMS) on the HDInsight cluster.
public static System.Threading.Tasks.Task EnableMonitoringAsync (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 EnableMonitoringAsync : Microsoft.Azure.Management.HDInsight.IExtensionsOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.ClusterMonitoringRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function EnableMonitoringAsync (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.