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.
Overloads
SiteSourceControlData(ResourceIdentifier, String, ResourceType, SystemData, String, Uri, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, GitHubActionConfiguration)
- Source:
- ArmAppServiceModelFactory.cs
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, string kind = 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);
static member SiteSourceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Uri * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.AppService.Models.GitHubActionConfiguration -> 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 kind As String = 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) As SiteSourceControlData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- kind
- String
Kind of resource. Serialized Name: SiteSourceControl.kind
- repoUri
- Uri
Repository or source control URL. Serialized Name: SiteSourceControl.properties.repoUrl
- branch
- String
Name of branch to use for deployment. Serialized Name: SiteSourceControl.properties.branch
<code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). Serialized Name: SiteSourceControl.properties.isManualIntegration
<code>true</code> if this is deployed via GitHub action. Serialized Name: SiteSourceControl.properties.isGitHubAction
<code>true</code> to enable deployment rollback; otherwise, <code>false</code>. Serialized Name: SiteSourceControl.properties.deploymentRollbackEnabled
<code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. Serialized Name: SiteSourceControl.properties.isMercurial
- gitHubActionConfiguration
- GitHubActionConfiguration
If GitHub Action is selected, than the associated configuration. Serialized Name: SiteSourceControl.properties.gitHubActionConfiguration
Returns
A new SiteSourceControlData instance for mocking.
Applies to
SiteSourceControlData(ResourceIdentifier, String, ResourceType, SystemData, Uri, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, GitHubActionConfiguration, String)
- Source:
- ArmAppServiceModelFactory.cs
- Source:
- ArmAppServiceModelFactory.cs
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.