共用方式為


ApiOperationsExtensions.ListByServiceAsync Method

Definition

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

Parameters

operations
IApiOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

odataQuery
ODataQuery<ApiContract>

OData parameters to apply to the operation.

tags
String

Include tags in the response.

expandApiVersionSet
Nullable<Boolean>

Include full ApiVersionSet resource in response

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to