Compartilhar via


WebAppsOperationsExtensions.CreateOrUpdateSourceControlSlotAsync Method

Definition

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

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
siteSourceControl
SiteSourceControl
slot
String
cancellationToken
CancellationToken

Returns

Applies to