共用方式為


AccountsOperationsExtensions.ListAsync Method

Definition

Returns all the resources of a particular type belonging to a subscription.

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

Parameters

operations
IAccountsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to