次の方法で共有


MockableDeviceRegistrySubscriptionResource.GetDeviceRegistryAssetsAsync Method

Definition

List Asset resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets
  • Operation Id: Assets_ListBySubscription
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource> GetDeviceRegistryAssetsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeviceRegistryAssetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource>
override this.GetDeviceRegistryAssetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource>
Public Overridable Function GetDeviceRegistryAssetsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DeviceRegistryAssetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to