共用方式為


MockableDeviceUpdateSubscriptionResource.GetDeviceUpdateAccountsAsync Method

Definition

Returns list of Accounts.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to