Share via


HDInsightClusterResource.GetInstanceViewAsync(CancellationToken) Method

Definition

Gets the status of a cluster instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default
  • Operation Id: Clusters_GetInstanceView
  • Default Api Version: 2024-05-01-preview
  • Resource: HDInsightClusterResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.Models.ClusterInstanceViewResult>> GetInstanceViewAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetInstanceViewAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.Models.ClusterInstanceViewResult>>
override this.GetInstanceViewAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.Models.ClusterInstanceViewResult>>
Public Overridable Function GetInstanceViewAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ClusterInstanceViewResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to