Partilhar via


DevTestLabDiskResource.Update(DevTestLabDiskPatch, CancellationToken) Método

Definição

Permite modificar marcas de discos. Todas as outras propriedades serão ignoradas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
  • Operação IdDisks_Update
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

Um disco.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a