WebAppsOperationsExtensions.UpdateSourceControlAsync(IWebAppsOperations, String, String, SiteSourceControl, CancellationToken) Method

Definition

Updates the source control configuration of an 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 = null);
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>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the app.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<SiteSourceControl>

Remarks

Updates the source control configuration of an app.

Applies to