Compartilhar via


ResourceConnectorApplianceResource.UpdateAsync Método

Definição

Atualizações um dispositivo com o Nome do Recurso especificado no Grupo de Recursos e assinatura especificados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}
  • Operação IdAppliances_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>> UpdateAsync (Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>>
override this.UpdateAsync : Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>>
Public Overridable Function UpdateAsync (patch As ResourceConnectorAppliancePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceConnectorApplianceResource))

Parâmetros

patch
ResourceConnectorAppliancePatch

Os campos atualizáveis de um dispositivo existente.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a