DevTestLabVmResource.Update(DevTestLabVmPatch, CancellationToken) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Permite modificar etiquetas de máquinas virtuales. Se omitirán todas las demás propiedades.
- Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
- IdVirtualMachines_Update de operación
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
Una máquina virtual.
- cancellationToken
- CancellationToken
Token de cancelación que se va a usar.
Devoluciones
Excepciones
patch es null.