MockableDataShareSubscriptionResource.GetDataShareAccountsAsync Method

Definition

List Accounts in Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataShare/accounts
  • Operation Id: Accounts_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataShare.DataShareAccountResource> GetDataShareAccountsAsync (string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataShareAccountsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataShare.DataShareAccountResource>
override this.GetDataShareAccountsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataShare.DataShareAccountResource>
Public Overridable Function GetDataShareAccountsAsync (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataShareAccountResource)

Parameters

skipToken
String

Continuation token.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataShareAccountResource that may take multiple service requests to iterate over.

Applies to