WebSiteManagementClientExtensions.UpdateSourceControlAsync 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 = default);
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>
<Extension()>
Public Function UpdateSourceControlAsync (operations As IWebSiteManagementClient, sourceControlType As String, requestMessage As SourceControl, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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

Description for Updates source control token

Applies to