Compartilhar via


AutomationConnectionResource.Update Método

Definição

Atualizar uma conexão.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
  • Operação IdConnection_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationConnectionResource> Update (Azure.ResourceManager.Automation.Models.AutomationConnectionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationConnectionPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationConnectionResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationConnectionPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationConnectionResource>
Public Overridable Function Update (patch As AutomationConnectionPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationConnectionResource)

Parâmetros

patch
AutomationConnectionPatch

Os parâmetros fornecidos para atualizar uma operação de conexão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a