Class SourceProperties

java.lang.Object
com.microsoft.azure.management.containerregistry.SourceProperties

public class SourceProperties extends Object
The properties of the source code repository.
  • Constructor Details

    • SourceProperties

      public SourceProperties()
  • Method Details

    • sourceControlType

      public SourceControlType sourceControlType()
      Get the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.
      Returns:
      the sourceControlType value
    • withSourceControlType

      public SourceProperties withSourceControlType(SourceControlType sourceControlType)
      Set the type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'.
      Parameters:
      sourceControlType - the sourceControlType value to set
      Returns:
      the SourceProperties object itself.
    • repositoryUrl

      public String repositoryUrl()
      Get the full URL to the source code respository.
      Returns:
      the repositoryUrl value
    • withRepositoryUrl

      public SourceProperties withRepositoryUrl(String repositoryUrl)
      Set the full URL to the source code respository.
      Parameters:
      repositoryUrl - the repositoryUrl value to set
      Returns:
      the SourceProperties object itself.
    • branch

      public String branch()
      Get the branch name of the source code.
      Returns:
      the branch value
    • withBranch

      public SourceProperties withBranch(String branch)
      Set the branch name of the source code.
      Parameters:
      branch - the branch value to set
      Returns:
      the SourceProperties object itself.
    • sourceControlAuthProperties

      public AuthInfo sourceControlAuthProperties()
      Get the authorization properties for accessing the source code repository and to set up webhooks for notifications.
      Returns:
      the sourceControlAuthProperties value
    • withSourceControlAuthProperties

      public SourceProperties withSourceControlAuthProperties(AuthInfo 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 SourceProperties object itself.