Compartilhar via


VCenterInventoryItemCollection.GetAllAsync(CancellationToken) Method

Definition

Returns the list of inventoryItems of the given vCenter.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/vcenters/{vcenterName}/inventoryItems
  • Operation Id: InventoryItems_ListByVCenter
  • Default Api Version: 2023-12-01
  • Resource: VCenterInventoryItemResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterInventoryItemResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterInventoryItemResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterInventoryItemResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VCenterInventoryItemResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to