Compartilhar via


DevTestLabEnvironmentResource.Update Método

Definição

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

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

Parâmetros

patch
DevTestLabEnvironmentPatch

Um ambiente, que é essencialmente uma implantação de modelo do ARM.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a