Partilhar via


DeviceRegistryAssetCollection.GetAll(CancellationToken) Method

Definition

List Asset resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets
  • Operation Id: Assets_ListByResourceGroup
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetResource
public virtual Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetResource>
Public Overridable Function GetAll (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