Freigeben über


SearchExtensions.GetUsagesBySubscription Methode

Definition

Ruft eine Liste aller Suchkontingentnutzungen im angegebenen Abonnement ab.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages
  • Vorgangs-IdUsages_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.Search.Models.QuotaUsageResult> GetUsagesBySubscription (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetUsagesBySubscription : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Search.Models.QuotaUsageResult>
<Extension()>
Public Function GetUsagesBySubscription (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of QuotaUsageResult)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Der eindeutige Standortname für eine geografische Microsoft Azure-Region.

searchManagementRequestOptions
SearchManagementRequestOptions

Parametergruppe.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von QuotaUsageResult , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: