ReportsOperationsExtensions.ListByTimeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists report records by Time.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract>> ListByTimeAsync (this Microsoft.Azure.Management.ApiManagement.IReportsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract> odataQuery, string resourceGroupName, string serviceName, TimeSpan interval, System.Threading.CancellationToken cancellationToken = default);
static member ListByTimeAsync : Microsoft.Azure.Management.ApiManagement.IReportsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract> * string * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract>>
<Extension()>
Public Function ListByTimeAsync (operations As IReportsOperations, odataQuery As ODataQuery(Of ReportRecordContract), resourceGroupName As String, serviceName As String, interval As TimeSpan, 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.
- interval
- TimeSpan
By time interval. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)).
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應