SiteSourceControlInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. SiteSourceControlInner
- com.
- com.
- com.
public final class SiteSourceControlInner
extends ProxyOnlyResource
Source control configuration for an app.
Constructor Summary
Constructor | Description |
---|---|
SiteSourceControlInner() |
Creates an instance of Site |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
branch()
Get the branch property: Name of branch to use for deployment. |
Boolean |
deploymentRollbackEnabled()
Get the deployment |
Git |
gitHubActionConfiguration()
Get the git |
Boolean |
isGitHubAction()
Get the is |
Boolean |
isManualIntegration()
Get the is |
Boolean |
isMercurial()
Get the is |
String |
repoUrl()
Get the repo |
void |
validate()
Validates the instance. |
Site |
withBranch(String branch)
Set the branch property: Name of branch to use for deployment. |
Site |
withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled)
Set the deployment |
Site |
withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration)
Set the git |
Site |
withIsGitHubAction(Boolean isGitHubAction)
Set the is |
Site |
withIsManualIntegration(Boolean isManualIntegration)
Set the is |
Site |
withIsMercurial(Boolean isMercurial)
Set the is |
Site |
withKind(String kind)
Set the kind property: Kind of resource. |
Site |
withRepoUrl(String repoUrl)
Set the repo |
Methods inherited from ProxyResource
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
SiteSourceControlInner
public SiteSourceControlInner()
Creates an instance of SiteSourceControlInner class.
Method Details
branch
public String branch()
Get the branch property: Name of branch to use for deployment.
Returns:
deploymentRollbackEnabled
public Boolean deploymentRollbackEnabled()
Get the deploymentRollbackEnabled property: true
to enable deployment rollback; otherwise, false
.
Returns:
gitHubActionConfiguration
public GitHubActionConfiguration gitHubActionConfiguration()
Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.
Returns:
isGitHubAction
public Boolean isGitHubAction()
Get the isGitHubAction property: true
if this is deployed via GitHub action.
Returns:
isManualIntegration
public Boolean isManualIntegration()
Get the isManualIntegration property: true
to limit to manual integration; false
to enable continuous integration (which configures webhooks into online repos like GitHub).
Returns:
isMercurial
public Boolean isMercurial()
Get the isMercurial property: true
for a Mercurial repository; false
for a Git repository.
Returns:
repoUrl
public String repoUrl()
Get the repoUrl property: Repository or source control URL.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
SiteSourceControlInner.validate()withBranch
public SiteSourceControlInner withBranch(String branch)
Set the branch property: Name of branch to use for deployment.
Parameters:
Returns:
withDeploymentRollbackEnabled
public SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled)
Set the deploymentRollbackEnabled property: true
to enable deployment rollback; otherwise, false
.
Parameters:
Returns:
withGitHubActionConfiguration
public SiteSourceControlInner withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration)
Set the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.
Parameters:
Returns:
withIsGitHubAction
public SiteSourceControlInner withIsGitHubAction(Boolean isGitHubAction)
Set the isGitHubAction property: true
if this is deployed via GitHub action.
Parameters:
Returns:
withIsManualIntegration
public SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegration)
Set the isManualIntegration property: true
to limit to manual integration; false
to enable continuous integration (which configures webhooks into online repos like GitHub).
Parameters:
Returns:
withIsMercurial
public SiteSourceControlInner withIsMercurial(Boolean isMercurial)
Set the isMercurial property: true
for a Mercurial repository; false
for a Git repository.
Parameters:
Returns:
withKind
public SiteSourceControlInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
SiteSourceControlInner.withKind(String kind)Parameters:
withRepoUrl
public SiteSourceControlInner withRepoUrl(String repoUrl)
Set the repoUrl property: Repository or source control URL.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for