Partager via


SoftwareInventoryCollection.Get(String, CancellationToken) Méthode

Définition

Obtient une seule donnée logicielle de la machine virtuelle.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}
  • IdSoftwareInventories_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource> Get (string softwareName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>
Public Overridable Function Get (softwareName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SoftwareInventoryResource)

Paramètres

softwareName
String

Nom du logiciel installé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

softwareName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

softwareName a la valeur null.

S’applique à