Freigeben über


WebAppsOperationsExtensions.UpdateSourceControlSlotAsync Methode

Definition

Updates die Quellcodeverwaltungskonfiguration einer App.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteSourceControl> UpdateSourceControlSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SiteSourceControl siteSourceControl, string slot, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSourceControlSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.SiteSourceControl * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteSourceControl>
<Extension()>
Public Function UpdateSourceControlSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, siteSourceControl As SiteSourceControl, slot As String, 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.

slot
String

Name des Bereitstellungsslots. Wenn kein Slot angegeben ist, aktualisiert die API die Quellcodeverwaltungskonfiguration für den Produktionsslot.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Updates der Quellcodeverwaltungskonfiguration einer App.

Gilt für: