Partilhar via


AutomationCredentialResource.UpdateAsync Método

Definição

Atualizar uma credencial.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
  • IdCredential_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCredentialResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationCredentialPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationCredentialPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCredentialResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationCredentialPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCredentialResource>>
Public Overridable Function UpdateAsync (patch As AutomationCredentialPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationCredentialResource))

Parâmetros

patch
AutomationCredentialPatch

Os parâmetros fornecidos para a operação Atualizar credencial.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a