Compartilhar via


HDInsightContainersExtensions.GetAvailableClusterVersionsByLocationAsync Método

Definição

Retorna uma lista de versões de cluster disponíveis.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterVersions
  • Operação IdAvailableClusterVersions_ListByLocation
public static Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.Models.HDInsightClusterVersion> GetAvailableClusterVersionsByLocationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableClusterVersionsByLocationAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Containers.Models.HDInsightClusterVersion>
<Extension()>
Public Function GetAvailableClusterVersionsByLocationAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HDInsightClusterVersion)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

O nome da região do Azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de HDInsightClusterVersion que pode levar várias solicitações de serviço para iterar.

Aplica-se a