Dela via


MockableSecurityCenterSubscriptionResource.GetSoftwareInventories 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.Pageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource> GetSoftwareInventories (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSoftwareInventories : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
override this.GetSoftwareInventories : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
Public Overridable Function GetSoftwareInventories (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