Delen via


MockableSecurityCenterSubscriptionResource.GetSoftwareInventoriesAsync Method

Definition

Gets the software inventory of all virtual machines in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/softwareInventories
  • Operation Id: SoftwareInventories_ListBySubscription
  • Default Api Version: 2021-05-01-preview
  • Resource: SoftwareInventoryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource> GetSoftwareInventoriesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSoftwareInventoriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
override this.GetSoftwareInventoriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
Public Overridable Function GetSoftwareInventoriesAsync (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