WebAppSourceControlArgs

data class WebAppSourceControlArgs(val branch: Output<String>? = null, val deploymentRollbackEnabled: Output<Boolean>? = null, val gitHubActionConfiguration: Output<GitHubActionConfigurationArgs>? = null, val isGitHubAction: Output<Boolean>? = null, val isManualIntegration: Output<Boolean>? = null, val isMercurial: Output<Boolean>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val repoUrl: Output<String>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<WebAppSourceControlArgs>

Source control configuration for an app. Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:web:WebAppSourceControl myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web

Constructors

Link copied to clipboard
constructor(branch: Output<String>? = null, deploymentRollbackEnabled: Output<Boolean>? = null, gitHubActionConfiguration: Output<GitHubActionConfigurationArgs>? = null, isGitHubAction: Output<Boolean>? = null, isManualIntegration: Output<Boolean>? = null, isMercurial: Output<Boolean>? = null, kind: Output<String>? = null, name: Output<String>? = null, repoUrl: Output<String>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val branch: Output<String>? = null

Name of branch to use for deployment.

Link copied to clipboard
val deploymentRollbackEnabled: Output<Boolean>? = null

true to enable deployment rollback; otherwise, false.

Link copied to clipboard

If GitHub Action is selected, than the associated configuration.

Link copied to clipboard
val isGitHubAction: Output<Boolean>? = null

true if this is deployed via GitHub action.

Link copied to clipboard
val isManualIntegration: Output<Boolean>? = null

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

Link copied to clipboard
val isMercurial: Output<Boolean>? = null

true for a Mercurial repository; false for a Git repository.

Link copied to clipboard
val kind: Output<String>? = null

Kind of resource.

Link copied to clipboard
val name: Output<String>? = null

Name of the app.

Link copied to clipboard
val repoUrl: Output<String>? = null

Repository or source control URL.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the resource group to which the resource belongs.

Functions

Link copied to clipboard
open override fun toJava(): WebAppSourceControlArgs