Share via


WebAppsOperationsExtensions.GetSourceControlSlot Method

Definition

Gets the source control configuration of an app.

public static Microsoft.Azure.Management.WebSites.Models.SiteSourceControl GetSourceControlSlot (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot);
static member GetSourceControlSlot : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string -> Microsoft.Azure.Management.WebSites.Models.SiteSourceControl
<Extension()>
Public Function GetSourceControlSlot (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot As String) As SiteSourceControl

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

slot
String

Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.

Returns

Remarks

Description for Gets the source control configuration of an app.

Applies to