Compartilhar via


WebAppsOperationsExtensions.CreateOrUpdateSourceControlAsync Method

Definition

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

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
siteSourceControl
SiteSourceControl
cancellationToken
CancellationToken

Returns

Applies to