WebAppSourceControl.UpdateDefinitionStages.WithRepositoryType<ParentT>.withContinuouslyIntegratedGitHubRepository 方法

定义

重载

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.

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.

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.

public WithGitHubBranch<ParentT> withContinuouslyIntegratedGitHubRepository(String organization, String repository)

参数

organization
String

the user name or organization name the GitHub repository belongs to, e.g. Azure

repository
String

the name of the repository, e.g. azure-sdk-for-java

返回

the next stage of the definition

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.

public WithGitHubBranch<ParentT> withContinuouslyIntegratedGitHubRepository(String url)

参数

url
String

the URL pointing to the repository, e.g. https://github.com/Azure/azure-sdk-for-java

返回

the next stage of the definition

适用于