Condividi tramite


ApiVersionSetOperationsExtensions.ListByServiceAsync Method

Definition

Lists a collection of API Version Sets in the specified service instance.

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

Parameters

operations
IApiVersionSetOperations

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<ApiVersionSetContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to