Compartilhar via


DevTestLabDiskResource.UpdateAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>> UpdateAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>>
override this.UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabDiskPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabDiskResource>>
Public Overridable Function UpdateAsync (patch As DevTestLabDiskPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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