Udostępnij za pośrednictwem


ReportsOperationsExtensions.ListByApiAsync Method

Definition

Lists report records by API.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract>> ListByApiAsync (this Microsoft.Azure.Management.ApiManagement.IReportsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract> odataQuery, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByApiAsync : Microsoft.Azure.Management.ApiManagement.IReportsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract> * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract>>
<Extension()>
Public Function ListByApiAsync (operations As IReportsOperations, odataQuery As ODataQuery(Of ReportRecordContract), resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ReportRecordContract))

Parameters

operations
IReportsOperations

The operations group for this extension method.

odataQuery
ODataQuery<ReportRecordContract>

OData parameters to apply to the operation.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to