次の方法で共有


AutomationSourceControlResource.UpdateAsync メソッド

定義

ソース管理を更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
  • 操作IdSourceControl_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationSourceControlResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationSourceControlPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationSourceControlPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationSourceControlResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationSourceControlPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationSourceControlResource>>
Public Overridable Function UpdateAsync (patch As AutomationSourceControlPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationSourceControlResource))

パラメーター

patch
AutomationSourceControlPatch

ソース管理の更新操作に指定されたパラメーター。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

patch が null です。

適用対象