Partilhar via


AutomationSourceControlResource.UpdateAsync Método

Definição

Atualizar um controle do código-fonte.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
  • Operação 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))

Parâmetros

patch
AutomationSourceControlPatch

Os parâmetros fornecidos para a operação de controle do código-fonte de atualização.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a