Udostępnij za pośrednictwem


ExtensionsOperationsExtensions.BeginEnableAzureMonitorAsync Method

Definition

Enables the Azure Monitor on the HDInsight cluster.

public static System.Threading.Tasks.Task BeginEnableAzureMonitorAsync (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 BeginEnableAzureMonitorAsync : Microsoft.Azure.Management.HDInsight.IExtensionsOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.AzureMonitorRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginEnableAzureMonitorAsync (operations As IExtensionsOperations, resourceGroupName As String, clusterName As String, parameters As AzureMonitorRequest, 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
AzureMonitorRequest

The Log Analytics workspace parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to