WebSiteManagementClientExtensions.UpdateSourceControlAsync(IWebSiteManagementClient, String, SourceControl, CancellationToken) Method

Definition

Updates source control token

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SourceControl> UpdateSourceControlAsync (this Microsoft.Azure.Management.WebSites.IWebSiteManagementClient operations, string sourceControlType, Microsoft.Azure.Management.WebSites.Models.SourceControl requestMessage, System.Threading.CancellationToken cancellationToken = null);
static member UpdateSourceControlAsync : Microsoft.Azure.Management.WebSites.IWebSiteManagementClient * string * Microsoft.Azure.Management.WebSites.Models.SourceControl * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SourceControl>

Parameters

operations
IWebSiteManagementClient

The operations group for this extension method.

sourceControlType
System.String

Type of source control

requestMessage
SourceControl

Source control token information

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<SourceControl>

Remarks

Updates source control token

Applies to