Compartilhar via


DevTestLabVmResource.Update(DevTestLabVmPatch, CancellationToken) Método

Definição

Permite modificar marcas de máquinas virtuais. Todas as outras propriedades serão ignoradas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
  • Operação IdVirtualMachines_Update
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVmResource> Update (Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVmResource>
override this.Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVmResource>
Public Overridable Function Update (patch As DevTestLabVmPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabVmResource)

Parâmetros

patch
DevTestLabVmPatch

Uma máquina virtual.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a