Freigeben über


ApiManagementServiceResource.GetReportsBySubscriptionAsync Methode

Definition

Listet Berichtsdatensätze nach Abonnement auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription
  • Vorgangs-IdReports_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract> GetReportsBySubscriptionAsync (string filter, int? top = default, int? skip = default, string orderBy = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReportsBySubscriptionAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
override this.GetReportsBySubscriptionAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
Public Overridable Function GetReportsBySubscriptionAsync (filter As String, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional orderBy As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReportRecordContract)

Parameter

filter
String

| Feld | Nutzung | Unterstützte Operatoren | Unterstützte Funktionen |< /br>|-------------|-------------|-------------|-------------|< /br>| Zeitstempel | filter | ge, le | | < /br>| displayName | select, orderBy | | | < /br>| apiRegion | filter | eq | | < /br>| userId | select, filter | eq | | < /br>| productId | select, filter | eq | | < /br>| subscriptionId | select, filter | eq | | < /br>| callCountSuccess | select, orderBy | | | < /br>| callCountBlocked | select, orderBy | | | < /br>| callCountFailed | select, orderBy | | | < /br>| callCountOther | select, orderBy | | | < /br>| callCountTotal | select, orderBy | | | < /br>| bandwidth | select, orderBy | | | < /br>| cacheHitsCount | select | | | < /br>| cacheMissCount | select | | | < /br>| apiTimeAvg | select, orderBy | | | < /br>| apiTimeMin | select | | | < /br>| apiTimeMax | select | | | < /br>| serviceTimeAvg | select | | | < /br>| serviceTimeMin | select | | | < /br>| serviceTimeMax | select | | | < /br>.

top
Nullable<Int32>

Die Anzahl der zurückzugebenden Datensätze.

skip
Nullable<Int32>

Die Anzahl der zu überspringenden Datensätze.

orderBy
String

OData-orderby-Abfrageoption.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ReportRecordContract , die mehrere Dienstanforderungen durchlaufen kann.

Ausnahmen

filter ist NULL.

Gilt für: