共用方式為


ApiRevisionOperationsExtensions.ListByService Method

Definition

Lists all revisions of an API.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiRevisionContract> ListByService (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);
static member ListByService : Microsoft.Azure.Management.ApiManagement.IApiRevisionOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.ApiRevisionContract> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiRevisionContract>
<Extension()>
Public Function ListByService (operations As IApiRevisionOperations, resourceGroupName As String, serviceName As String, apiId As String, Optional odataQuery As ODataQuery(Of ApiRevisionContract) = Nothing) As 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.

Returns

Applies to