Share via


ApiManagementServiceOperationsExtensions.ListAsync Method

Definition

Lists all API Management services within an Azure subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceResource>> ListAsync (this Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApiManagement.IApiManagementServiceOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceResource>>
<Extension()>
Public Function ListAsync (operations As IApiManagementServiceOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ApiManagementServiceResource))

Parameters

operations
IApiManagementServiceOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to