Compartilhar via


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