ApiManagementServiceResource.GetReportsByOperationAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Répertorie les enregistrements de rapport par opérations d’API.
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation
- IdReports_ListByOperation d’opération
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract> GetReportsByOperationAsync (string filter, int? top = default, int? skip = default, string orderBy = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReportsByOperationAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
override this.GetReportsByOperationAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
Public Overridable Function GetReportsByOperationAsync (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)
Paramètres
- filter
- String
| Champ | Utilisation | Opérateurs pris en charge | Fonctions prises en charge |< /br>|-------------|-------------|-------------|-------------|< /br>| timestamp | filter | ge, le | | < /br>| displayName | select, orderBy | | | < /br>| apiRegion | filter | eq | | | < /br>| userId | filter | eq | | < /br>| productId | filter | eq | | < /br>| subscriptionId | filter | eq | | | < /br>| apiId | filter | eq | | < /br>| operationId | select, filter | eq | | | < /br>| callCountSuccess | select, orderBy | | | | < /br>| callCountBlocked | select, orderBy | | | < /br>| callCountFailed | select, orderBy | | | | < /br>| callCountOther | select, orderBy | | | | < /br>| callCountTotal | select, orderBy | | | | < /br>| bande passante | 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>.
- orderBy
- String
Option de classement par requête OData.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Collection asynchrone de qui peut nécessiter plusieurs demandes de ReportRecordContract service pour itérer.
Exceptions
filter
a la valeur null.
S’applique à
Azure SDK for .NET