Partilhar via


DevTestLabResource.UpdateAsync(DevTestLabPatch, CancellationToken) Método

Definição

Permite modificar marcas de laboratórios. Todas as outras propriedades serão ignoradas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
  • IdLabs_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabResource>> UpdateAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabResource>>
override this.UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabResource>>
Public Overridable Function UpdateAsync (patch As DevTestLabPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabResource))

Parâmetros

patch
DevTestLabPatch

Um laboratório.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a