共用方式為


SoftwareInventoryCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the software inventory of the virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories
  • Operation Id: SoftwareInventories_ListByExtendedResource
  • Default Api Version: 2021-05-01-preview
  • Resource: SoftwareInventoryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SoftwareInventoryResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to