RegistrySourceTrigger.DefinitionStages.RepositoryBranchAndAuth Interface
public static interface RegistrySourceTrigger.DefinitionStages.RepositoryBranchAndAuth
The stage of the container registry source trigger definition 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
Source |
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
Source |
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
Source |
withRepositoryBranch(String branch)
The function that specifies the branch of the respository to use. |
Method Details
withRepositoryAuthentication
public abstract RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable 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.DefinitionStages.SourceTriggerAttachable 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.DefinitionStages.SourceTriggerAttachable 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