Freigeben über


HDInsightExtensions.GetHDInsightUsagesAsync Methode

Definition

Listet die Verwendungen für den angegebenen Speicherort auf.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages
  • Vorgang IdLocations_ListUsages
public static Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.HDInsightUsage> GetHDInsightUsagesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetHDInsightUsagesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.HDInsightUsage>
<Extension()>
Public Function GetHDInsightUsagesAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HDInsightUsage)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Der Azure-Standort (Region), für den die Anforderung gestellt werden soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der HDInsightUsage mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: