Interface WebAppSourceControl.DefinitionStages.WithRepositoryType<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
WebAppSourceControl.Definition<ParentT>,WebAppSourceControl.DefinitionStages.Blank<ParentT>
- Enclosing interface:
- WebAppSourceControl.DefinitionStages
public static interface WebAppSourceControl.DefinitionStages.WithRepositoryType<ParentT>A web app source control definition allowing repository type to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAppSourceControl.DefinitionStages.WithGitHubBranch<ParentT>withContinuouslyIntegratedGitHubRepository(String url)Specifies the repository to be a GitHub repository.WebAppSourceControl.DefinitionStages.WithGitHubBranch<ParentT>withContinuouslyIntegratedGitHubRepository(String organization, String repository)Specifies the repository to be a GitHub repository.WebAppSourceControl.DefinitionStages.WithBranch<ParentT>withPublicGitRepository(String url)Specifies the repository to be a public external repository, either Git or Mercurial.WebAppSourceControl.DefinitionStages.WithBranch<ParentT>withPublicMercurialRepository(String url)Specifies the repository to be a public external repository, either Git or Mercurial.
-
-
-
Method Detail
-
withPublicGitRepository
WebAppSourceControl.DefinitionStages.WithBranch<ParentT> withPublicGitRepository(String url)
Specifies the repository to be a public external repository, either Git or Mercurial. Continuous integration will not be turned on.- Parameters:
url- the url of the Git repository- Returns:
- the next stage of the definition
-
withPublicMercurialRepository
WebAppSourceControl.DefinitionStages.WithBranch<ParentT> withPublicMercurialRepository(String url)
Specifies the repository to be a public external repository, either Git or Mercurial. Continuous integration will not be turned on.- Parameters:
url- the url of the Mercurial repository- Returns:
- the next stage of the definition
-
withContinuouslyIntegratedGitHubRepository
WebAppSourceControl.DefinitionStages.WithGitHubBranch<ParentT> withContinuouslyIntegratedGitHubRepository(String organization, String repository)
Specifies the repository to be a GitHub repository. Continuous integration will be turned on. This repository can be either public or private, but your GitHub access token must have enough privileges to add a webhook to the repository.- Parameters:
organization- the user name or organization name the GitHub repository belongs to, e.g. Azurerepository- the name of the repository, e.g. azure-sdk-for-java- Returns:
- the next stage of the definition
-
withContinuouslyIntegratedGitHubRepository
WebAppSourceControl.DefinitionStages.WithGitHubBranch<ParentT> withContinuouslyIntegratedGitHubRepository(String url)
Specifies the repository to be a GitHub repository. Continuous integration will be turned on. This repository can be either public or private, but your GitHub access token must have enough privileges to add a webhook to the repository.- Parameters:
url- the URL pointing to the repository, e.g. https://github.com/Azure/azure-sdk-for-java- Returns:
- the next stage of the definition
-
-