Class SiteSourceControlInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.SiteSourceControlInner
Source control configuration for an app.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranch()
Get the branch property: Name of branch to use for deployment.Get the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.Get the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.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).Get the isMercurial property: <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.repoUrl()
Get the repoUrl property: Repository or source control URL.void
validate()
Validates the instance.withBranch
(String branch) Set the branch property: Name of branch to use for deployment.withDeploymentRollbackEnabled
(Boolean deploymentRollbackEnabled) Set the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.withGitHubActionConfiguration
(GitHubActionConfiguration gitHubActionConfiguration) Set the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.withIsGitHubAction
(Boolean isGitHubAction) Set the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.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).withIsMercurial
(Boolean isMercurial) Set the isMercurial property: <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.Set the kind property: Kind of resource.withRepoUrl
(String repoUrl) Set the repoUrl property: Repository or source control URL.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SiteSourceControlInner
public SiteSourceControlInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
repoUrl
Get the repoUrl property: Repository or source control URL.- Returns:
- the repoUrl value.
-
withRepoUrl
Set the repoUrl property: Repository or source control URL.- Parameters:
repoUrl
- the repoUrl value to set.- Returns:
- the SiteSourceControlInner object itself.
-
branch
Get the branch property: Name of branch to use for deployment.- Returns:
- the branch value.
-
withBranch
Set the branch property: Name of branch to use for deployment.- Parameters:
branch
- the branch value to set.- Returns:
- the SiteSourceControlInner object itself.
-
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).- Returns:
- the isManualIntegration value.
-
withIsManualIntegration
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).- Parameters:
isManualIntegration
- the isManualIntegration value to set.- Returns:
- the SiteSourceControlInner object itself.
-
isGitHubAction
Get the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.- Returns:
- the isGitHubAction value.
-
withIsGitHubAction
Set the isGitHubAction property: <code>true</code> if this is deployed via GitHub action.- Parameters:
isGitHubAction
- the isGitHubAction value to set.- Returns:
- the SiteSourceControlInner object itself.
-
deploymentRollbackEnabled
Get the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.- Returns:
- the deploymentRollbackEnabled value.
-
withDeploymentRollbackEnabled
Set the deploymentRollbackEnabled property: <code>true</code> to enable deployment rollback; otherwise, <code>false</code>.- Parameters:
deploymentRollbackEnabled
- the deploymentRollbackEnabled value to set.- Returns:
- the SiteSourceControlInner object itself.
-
isMercurial
Get the isMercurial property: <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.- Returns:
- the isMercurial value.
-
withIsMercurial
Set the isMercurial property: <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository.- Parameters:
isMercurial
- the isMercurial value to set.- Returns:
- the SiteSourceControlInner object itself.
-
gitHubActionConfiguration
Get the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.- Returns:
- the gitHubActionConfiguration value.
-
withGitHubActionConfiguration
public SiteSourceControlInner withGitHubActionConfiguration(GitHubActionConfiguration gitHubActionConfiguration) Set the gitHubActionConfiguration property: If GitHub Action is selected, than the associated configuration.- Parameters:
gitHubActionConfiguration
- the gitHubActionConfiguration value to set.- Returns:
- the SiteSourceControlInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-