Share via


SiteSourceControl Constructors

Definition

Overloads

SiteSourceControl()

Initializes a new instance of the SiteSourceControl class.

SiteSourceControl(String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, GitHubActionConfiguration)

Initializes a new instance of the SiteSourceControl class.

SiteSourceControl()

Initializes a new instance of the SiteSourceControl class.

public SiteSourceControl ();
Public Sub New ()

Applies to

SiteSourceControl(String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, GitHubActionConfiguration)

Initializes a new instance of the SiteSourceControl class.

public SiteSourceControl (string id = default, string name = default, string kind = default, string type = default, string repoUrl = default, string branch = default, bool? isManualIntegration = default, bool? isGitHubAction = default, bool? deploymentRollbackEnabled = default, bool? isMercurial = default, Microsoft.Azure.Management.WebSites.Models.GitHubActionConfiguration gitHubActionConfiguration = default);
new Microsoft.Azure.Management.WebSites.Models.SiteSourceControl : string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.WebSites.Models.GitHubActionConfiguration -> Microsoft.Azure.Management.WebSites.Models.SiteSourceControl
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional repoUrl As String = Nothing, Optional branch As String = Nothing, Optional isManualIntegration As Nullable(Of Boolean) = Nothing, Optional isGitHubAction As Nullable(Of Boolean) = Nothing, Optional deploymentRollbackEnabled As Nullable(Of Boolean) = Nothing, Optional isMercurial As Nullable(Of Boolean) = Nothing, Optional gitHubActionConfiguration As GitHubActionConfiguration = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

repoUrl
String

Repository or source control URL.

branch
String

Name of branch to use for deployment.

isManualIntegration
Nullable<Boolean>

<code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).

isGitHubAction
Nullable<Boolean>

<code>true</code> if this is deployed via GitHub action.

deploymentRollbackEnabled
Nullable<Boolean>

<code>true</code> to enable deployment rollback; otherwise, <code>false</code>.

isMercurial
Nullable<Boolean>

<code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.

gitHubActionConfiguration
GitHubActionConfiguration

If GitHub Action is selected, than the associated configuration.

Applies to