共用方式為


HDInsightClusterResource.GetAzureMonitorAgentStatusExtensionAsync Method

Definition

Gets the status of Azure Monitor Agent on the HDInsight cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/azureMonitorAgent
  • Operation Id: Extensions_GetAzureMonitorAgentStatus
  • Default Api Version: 2024-08-01-preview
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAzureMonitorExtensionStatus>> GetAzureMonitorAgentStatusExtensionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzureMonitorAgentStatusExtensionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAzureMonitorExtensionStatus>>
override this.GetAzureMonitorAgentStatusExtensionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAzureMonitorExtensionStatus>>
Public Overridable Function GetAzureMonitorAgentStatusExtensionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightAzureMonitorExtensionStatus))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to