다음을 통해 공유


ApiRevisionOperationsExtensions.ListByServiceAsync Method

Definition

Lists all revisions of an API.

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

Parameters

operations
IApiRevisionOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

apiId
String

API identifier. Must be unique in the current API Management service instance.

odataQuery
ODataQuery<ApiRevisionContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to