共用方式為


HDInsightClusterResource.GetAzureMonitorAgentStatusExtension 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 Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAzureMonitorExtensionStatus> GetAzureMonitorAgentStatusExtension (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzureMonitorAgentStatusExtension : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAzureMonitorExtensionStatus>
override this.GetAzureMonitorAgentStatusExtension : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAzureMonitorExtensionStatus>
Public Overridable Function GetAzureMonitorAgentStatusExtension (Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightAzureMonitorExtensionStatus)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to