Share via


MockableDeviceRegistrySubscriptionResource.GetDeviceRegistryAssets 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.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource> GetDeviceRegistryAssets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeviceRegistryAssets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource>
override this.GetDeviceRegistryAssets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource>
Public Overridable Function GetDeviceRegistryAssets (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeviceRegistryAssetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to