Partilhar via


AutomationSourceControlResource.Update 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}
  • IdSourceControl_Update de operação
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationSourceControlResource> Update (Azure.ResourceManager.Automation.Models.AutomationSourceControlPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationSourceControlPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationSourceControlResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationSourceControlPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationSourceControlResource>
Public Overridable Function Update (patch As AutomationSourceControlPatch, Optional cancellationToken As CancellationToken = Nothing) As 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