Partager via


ExtensionsOperationsExtensions.EnableMonitoringAsync Méthode

Définition

Active Operations Management Suite (OMS) sur le cluster HDInsight.

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

Paramètres

operations
IExtensionsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

clusterName
String

Nom du cluster.

parameters
ClusterMonitoringRequest

Paramètres de l’espace de travail Operations Management Suite (OMS).

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à