MockablePurviewSubscriptionResource.GetPurviewAccountsAsync Method

Definition

List accounts in Subscription

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Purview/accounts.
  • Operation Id. : Accounts_ListBySubscription.
  • Default Api Version. : 2024-04-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Purview.PurviewAccountResource> GetPurviewAccountsAsync(string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPurviewAccountsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Purview.PurviewAccountResource>
override this.GetPurviewAccountsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Purview.PurviewAccountResource>
Public Overridable Function GetPurviewAccountsAsync (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PurviewAccountResource)

Parameters

skipToken
String

The skip token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of PurviewAccountResource that may take multiple service requests to iterate over.

Applies to