Share via


InventoryItemCollection.GetAllAsync(CancellationToken) Method

Definition

Returns the list of inventoryItems in the given VMMServer.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems
  • Operation Id: InventoryItems_ListByVMMServer
public virtual Azure.AsyncPageable<Azure.ResourceManager.ArcScVmm.InventoryItemResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ArcScVmm.InventoryItemResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ArcScVmm.InventoryItemResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InventoryItemResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to