Partilhar via


DevTestLabSecretResource.Update Método

Definição

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

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

Parâmetros

patch
DevTestLabSecretPatch

Um segredo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a