Compartilhar via


FirmwareCollection.GetAsync(String, CancellationToken) Método

Definição

Obter firmware.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • Operação IdFirmware_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.FirmwareResource>> GetAsync (string firmwareName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.FirmwareResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.FirmwareResource>>
Public Overridable Function GetAsync (firmwareName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FirmwareResource))

Parâmetros

firmwareName
String

A ID do firmware.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

firmwareName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

firmwareName é nulo.

Aplica-se a