你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AutomationConnectionResource.Update 方法

定义

更新连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
  • 操作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)

参数

patch
AutomationConnectionPatch

提供给 更新连接操作的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

patch 为 null。

适用于