ApiOperationOperationsExtensions.ListByApiAsync Method

Definition

Lists a collection of the operations for the specified API.

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

Parameters

operations
IApiOperationOperations

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 revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

odataQuery
ODataQuery<OperationContract>

OData parameters to apply to the operation.

tags
String

Include tags in the response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to