ArmAppServiceModelFactory.SiteSourceControlData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SiteSourceControlData.
public static Azure.ResourceManager.AppService.SiteSourceControlData SiteSourceControlData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Uri repoUri = default, string branch = default, bool? isManualIntegration = default, bool? isGitHubAction = default, bool? isDeploymentRollbackEnabled = default, bool? isMercurial = default, Azure.ResourceManager.AppService.Models.GitHubActionConfiguration gitHubActionConfiguration = default, string kind = default);
static member SiteSourceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Uri * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.AppService.Models.GitHubActionConfiguration * string -> Azure.ResourceManager.AppService.SiteSourceControlData
Public Shared Function SiteSourceControlData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional repoUri As Uri = Nothing, Optional branch As String = Nothing, Optional isManualIntegration As Nullable(Of Boolean) = Nothing, Optional isGitHubAction As Nullable(Of Boolean) = Nothing, Optional isDeploymentRollbackEnabled As Nullable(Of Boolean) = Nothing, Optional isMercurial As Nullable(Of Boolean) = Nothing, Optional gitHubActionConfiguration As GitHubActionConfiguration = Nothing, Optional kind As String = Nothing) As SiteSourceControlData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- repoUri
- Uri
Repository or source control URL.
- branch
- String
Name of branch to use for deployment.
<code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub).
<code>true</code> to enable deployment rollback; otherwise, <code>false</code>.
<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.
- kind
- String
Kind of resource.
Returns
A new SiteSourceControlData instance for mocking.