Interface WebAppSourceControl.DefinitionStages.WithRepositoryType<ParentT>

    • 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. Azure
        repository - 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