Freigeben über


WebAppsOperationsExtensions.UpdateSourceControlAsync Methode

Definition

Updates die Quellcodeverwaltungskonfiguration einer App.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteSourceControl> UpdateSourceControlAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SiteSourceControl siteSourceControl, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSourceControlAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.SiteSourceControl * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteSourceControl>
<Extension()>
Public Function UpdateSourceControlAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, siteSourceControl As SiteSourceControl, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SiteSourceControl)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der App

siteSourceControl
SiteSourceControl

JSON-Darstellung eines SiteSourceControl-Objekts. Weitere Informationen sind im Beispiel enthalten.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Updates der Quellcodeverwaltungskonfiguration einer App.

Gilt für: