Compartir a través de


ApiManagementServiceResource.GetReportsByProductAsync Método

Definición

Muestra los registros de informe por Producto.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct
  • IdReports_ListByProduct de operación
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract> GetReportsByProductAsync (string filter, int? top = default, int? skip = default, string orderBy = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReportsByProductAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
override this.GetReportsByProductAsync : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
Public Overridable Function GetReportsByProductAsync (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)

Parámetros

filter
String

| Campo | Uso | Operadores admitidos | Funciones admitidas |< /br>|-------------|-------------|-------------|-------------|< /br>| timestamp | filter | ge, le | | < /br>| displayName | select, orderBy | | | < /br>| apiRegion | filter | eq | | < /br>| userId | filter | eq | | < /br>| productId | select, filter | eq | | < /br>| subscriptionId | filter | eq | | < /br>| callCountSuccess | select, orderBy | | | < /br>| callCountBlocked | select, orderBy | | | < /br>| callCountFailed | select, orderBy | | | < /br>| callCountOther | select, orderBy | | | < /br>| callCountTotal | select, orderBy | | | < /br>| ancho de banda | 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>

Número de registros que se va a devolver.

skip
Nullable<Int32>

Número de registros que se van a omitir.

orderBy
String

Opción OData ordenar por consulta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de que puede tomar varias solicitudes de ReportRecordContract servicio para iterar.

Excepciones

filter es null.

Se aplica a