SourceUpdateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. containerregistry. SourceUpdateParameters
- com.
public class SourceUpdateParameters
The properties for updating the source code repository.
Constructor Summary
Constructor | Description | |
---|---|---|
SourceUpdateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
branch()
Get the branch name of the source code. |
java.lang.String |
repositoryUrl()
Get the full URL to the source code respository. |
Auth |
sourceControlAuthProperties()
Get the authorization properties for accessing the source code repository and to set up webhooks for notifications. |
Source |
sourceControlType()
Get the type of source control service. |
Source |
withBranch(String branch)
Set the branch name of the source code. |
Source |
withRepositoryUrl(String repositoryUrl)
Set the full URL to the source code respository. |
Source |
withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties)
Set the authorization properties for accessing the source code repository and to set up webhooks for notifications. |
Source |
withSourceControlType(SourceControlType sourceControlType)
Set the type of source control service. |
Methods inherited from java.lang.Object
Constructor Details
SourceUpdateParameters
public SourceUpdateParameters()
Method Details
branch
public String branch()
Get the branch name of the source code.
Returns:
repositoryUrl
public String repositoryUrl()
Get the full URL to the source code respository.
Returns:
sourceControlAuthProperties
public AuthInfoUpdateParameters sourceControlAuthProperties()
Get the authorization properties for accessing the source code repository and to set up webhooks for notifications.
Returns:
sourceControlType
public SourceControlType sourceControlType()
Get the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.
Returns:
withBranch
public SourceUpdateParameters withBranch(String branch)
Set the branch name of the source code.
Parameters:
Returns:
withRepositoryUrl
public SourceUpdateParameters withRepositoryUrl(String repositoryUrl)
Set the full URL to the source code respository.
Parameters:
Returns:
withSourceControlAuthProperties
public SourceUpdateParameters withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties)
Set the authorization properties for accessing the source code repository and to set up webhooks for notifications.
Parameters:
Returns:
withSourceControlType
public SourceUpdateParameters withSourceControlType(SourceControlType sourceControlType)
Set the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.
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