Partilhar via


FirmwareWorkspaceResource.GetFirmwareAsync(String, CancellationToken) Método

Definição

Obtenha firmware.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}
  • IdFirmware_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.FirmwareResource>> GetFirmwareAsync (string firmwareName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFirmwareAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.FirmwareResource>>
override this.GetFirmwareAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotFirmwareDefense.FirmwareResource>>
Public Overridable Function GetFirmwareAsync (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 era esperado que não estivesse vazio.

firmwareName é nulo.

Aplica-se a