Compartilhar via


SoftwareInventoryCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém um único dado de software da máquina virtual.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}
  • IdSoftwareInventories_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>> GetAsync (string softwareName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SoftwareInventoryResource>>
Public Overridable Function GetAsync (softwareName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SoftwareInventoryResource))

Parâmetros

softwareName
String

Nome do software instalado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

softwareName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

softwareName é nulo.

Aplica-se a