Compartilhar via


HDInsightExtensions.GetHDInsightUsages Método

Definição

Lista os usos para o local especificado.

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

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

O local do Azure (região) para o qual fazer a solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de HDInsightUsage que pode levar várias solicitações de serviço para iterar.

Aplica-se a