Compartir a través de


AutomationConnectionResource.UpdateAsync Método

Definición

Actualice una conexión.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
  • IdConnection_Update de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationConnectionResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationConnectionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationConnectionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationConnectionResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationConnectionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationConnectionResource>>
Public Overridable Function UpdateAsync (patch As AutomationConnectionPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationConnectionResource))

Parámetros

patch
AutomationConnectionPatch

Parámetros proporcionados para actualizar una operación de conexión.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a