Partilhar via


ExtensionsOperationsExtensions.EnableAzureMonitorAsync Método

Definição

Habilita o Azure Monitor no cluster HDInsight.

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

Parâmetros

operations
IExtensionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

clusterName
String

O nome do cluster.

parameters
AzureMonitorRequest

Os parâmetros do workspace do Log Analytics.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a