Compartilhar via


FirmwareResource.UpdateAsync(FirmwarePatch, CancellationToken) Método

Definição

A operação para atualizar o firmware.

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

Parâmetros

patch
FirmwarePatch

Detalhes do firmware que está sendo criado ou atualizado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a