共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to