Compartir a través de


DevTestLabDiskResource.Update(DevTestLabDiskPatch, CancellationToken) Método

Definición

Permite modificar etiquetas de discos. Se omitirán todas las demás propiedades.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
  • IdDisks_Update de operaciones
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource> Update (Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>
override this.Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>
Public Overridable Function Update (patch As DevTestLabDiskPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabDiskResource)

Parámetros

patch
DevTestLabDiskPatch

Un disco.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a