共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to