Partilhar via


ApiManagementServiceResource.GetReportsByOperation Método

Definição

Lista registros de relatório por operações de API.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation
  • Operação IdReports_ListByOperation
public virtual Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract> GetReportsByOperation (string filter, int? top = default, int? skip = default, string orderBy = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReportsByOperation : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
override this.GetReportsByOperation : string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.ReportRecordContract>
Public Overridable Function GetReportsByOperation (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 Pageable(Of ReportRecordContract)

Parâmetros

filter
String

| Campo | Uso | Operadores com suporte | Funções com suporte |< /br>|-------------|-------------|-------------|-------------|< /br>| carimbo de data/hora | filtro | 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>| largura 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 a serem retornados.

skip
Nullable<Int32>

Número de registros a serem ignorados.

orderBy
String

Opção ordenar por consulta OData.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de ReportRecordContract que pode levar várias solicitações de serviço para iterar.

Exceções

filter é nulo.

Aplica-se a