DataShareExtensions.GetDataShareAccountsAsync Method

Definition

List Accounts in Subscription

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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.

Exceptions

subscriptionResource is null.

Applies to