RegistrySourceTrigger.UpdateStages.RepositoryBranchAndAuth Interface
public static interface RegistrySourceTrigger.UpdateStages.RepositoryBranchAndAuth
The stage of the container registry source trigger update allowing to specify the branch of the repository and authentication credentials if needed to interact with the source control repository.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withRepositoryAuthentication(TokenType tokenType, String token)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository. |
abstract Update |
withRepositoryAuthentication(TokenType tokenType, String token, String refreshToken, String scope, int expiresIn)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository. |
abstract Update |
withRepositoryBranch(String branch)
The function that specifies the branch of the respository to use. |
Method Details
withRepositoryAuthentication
public abstract RegistrySourceTrigger.Update withRepositoryAuthentication(TokenType tokenType, String token)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
Parameters:
Returns:
withRepositoryAuthentication
public abstract RegistrySourceTrigger.Update withRepositoryAuthentication(TokenType tokenType, String token, String refreshToken, String scope, int expiresIn)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
Parameters:
Returns:
withRepositoryBranch
public abstract RegistrySourceTrigger.Update withRepositoryBranch(String branch)
The function that specifies the branch of the respository to use.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for