Condividi tramite


SourceControlOperationsExtensions.UpdateAsync Metodo

Definizione

Aggiornare un controllo del codice sorgente. http://aka.ms/azureautomationsdk/sourcecontroloperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SourceControl> UpdateAsync (this Microsoft.Azure.Management.Automation.ISourceControlOperations operations, string resourceGroupName, string automationAccountName, string sourceControlName, Microsoft.Azure.Management.Automation.Models.SourceControlUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.ISourceControlOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.SourceControlUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SourceControl>
<Extension()>
Public Function UpdateAsync (operations As ISourceControlOperations, resourceGroupName As String, automationAccountName As String, sourceControlName As String, parameters As SourceControlUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceControl)

Parametri

operations
ISourceControlOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome di un gruppo di risorse di Azure.

automationAccountName
String

Nome dell'account di automazione.

sourceControlName
String

Nome del controllo del codice sorgente.

parameters
SourceControlUpdateParameters

Parametri forniti all'operazione di controllo del codice sorgente di aggiornamento.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a