public final class SiteSourceControlInner extends ProxyOnlyResource
| Constructor and Description |
|---|
SiteSourceControlInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
branch()
Get the branch property: Name of branch to use for deployment.
|
Boolean |
deploymentRollbackEnabled()
Get the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback;
otherwise, <code>false</code>.
|
GitHubActionConfiguration |
gitHubActionConfiguration()
Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.
|
Boolean |
isGitHubAction()
Get the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.
|
Boolean |
isManualIntegration()
Get the isManualIntegration property: <code>true</code> to limit to manual integration;
<code>false</code> to enable continuous integration (which configures webhooks into online repos like
GitHub).
|
Boolean |
isMercurial()
Get the isMercurial property: <code>true</code> for a Mercurial repository;
<code>false</code> for a Git repository.
|
String |
repoUrl()
Get the repoUrl property: Repository or source control URL.
|
void |
validate()
Validates the instance.
|
SiteSourceControlInner |
withBranch(String branch)
Set the branch property: Name of branch to use for deployment.
|
SiteSourceControlInner |
withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled)
Set the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback;
otherwise, <code>false</code>.
|
SiteSourceControlInner |
withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration)
Set the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.
|
SiteSourceControlInner |
withIsGitHubAction(Boolean isGitHubAction)
Set the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.
|
SiteSourceControlInner |
withIsManualIntegration(Boolean isManualIntegration)
Set the isManualIntegration property: <code>true</code> to limit to manual integration;
<code>false</code> to enable continuous integration (which configures webhooks into online repos like
GitHub).
|
SiteSourceControlInner |
withIsMercurial(Boolean isMercurial)
Set the isMercurial property: <code>true</code> for a Mercurial repository;
<code>false</code> for a Git repository.
|
SiteSourceControlInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
SiteSourceControlInner |
withRepoUrl(String repoUrl)
Set the repoUrl property: Repository or source control URL.
|
kindpublic SiteSourceControlInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String repoUrl()
public SiteSourceControlInner withRepoUrl(String repoUrl)
repoUrl - the repoUrl value to set.public String branch()
public SiteSourceControlInner withBranch(String branch)
branch - the branch value to set.public Boolean isManualIntegration()
public SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegration)
isManualIntegration - the isManualIntegration value to set.public Boolean isGitHubAction()
public SiteSourceControlInner withIsGitHubAction(Boolean isGitHubAction)
isGitHubAction - the isGitHubAction value to set.public Boolean deploymentRollbackEnabled()
public SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRollbackEnabled)
deploymentRollbackEnabled - the deploymentRollbackEnabled value to set.public Boolean isMercurial()
public SiteSourceControlInner withIsMercurial(Boolean isMercurial)
isMercurial - the isMercurial value to set.public GitHubActionConfiguration gitHubActionConfiguration()
public SiteSourceControlInner withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration)
gitHubActionConfiguration - the gitHubActionConfiguration value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.