Class SourceUpdateParameters
java.lang.Object
com.microsoft.azure.management.containerregistry.SourceUpdateParameters
The properties for updating the source code repository.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranch()
Get the branch name of the source code.Get the full URL to the source code respository.Get the authorization properties for accessing the source code repository and to set up webhooks for notifications.Get the type of source control service.withBranch
(String branch) Set the branch name of the source code.withRepositoryUrl
(String repositoryUrl) Set the full URL to the source code respository.withSourceControlAuthProperties
(AuthInfoUpdateParameters sourceControlAuthProperties) Set the authorization properties for accessing the source code repository and to set up webhooks for notifications.withSourceControlType
(SourceControlType sourceControlType) Set the type of source control service.
-
Constructor Details
-
SourceUpdateParameters
public SourceUpdateParameters()
-
-
Method Details
-
sourceControlType
Get the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.- Returns:
- the sourceControlType value
-
withSourceControlType
Set the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.- Parameters:
sourceControlType
- the sourceControlType value to set- Returns:
- the SourceUpdateParameters object itself.
-
repositoryUrl
Get the full URL to the source code respository.- Returns:
- the repositoryUrl value
-
withRepositoryUrl
Set the full URL to the source code respository.- Parameters:
repositoryUrl
- the repositoryUrl value to set- Returns:
- the SourceUpdateParameters object itself.
-
branch
Get the branch name of the source code.- Returns:
- the branch value
-
withBranch
Set the branch name of the source code.- Parameters:
branch
- the branch value to set- Returns:
- the SourceUpdateParameters object itself.
-
sourceControlAuthProperties
Get the authorization properties for accessing the source code repository and to set up webhooks for notifications.- Returns:
- the sourceControlAuthProperties value
-
withSourceControlAuthProperties
public SourceUpdateParameters withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties) Set the authorization properties for accessing the source code repository and to set up webhooks for notifications.- Parameters:
sourceControlAuthProperties
- the sourceControlAuthProperties value to set- Returns:
- the SourceUpdateParameters object itself.
-