Interface SourceControls


public interface SourceControls
Resource collection API of SourceControls.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<Repo>
    listRepositories(String resourceGroupName, String workspaceName, RepoType repoType)
    Gets a list of repositories metadata.
    com.azure.core.http.rest.PagedIterable<Repo>
    listRepositories(String resourceGroupName, String workspaceName, RepoType repoType, com.azure.core.util.Context context)
    Gets a list of repositories metadata.
  • Method Details

    • listRepositories

      com.azure.core.http.rest.PagedIterable<Repo> listRepositories(String resourceGroupName, String workspaceName, RepoType repoType)
      Gets a list of repositories metadata.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      repoType - The repo type.
      Returns:
      a list of repositories metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listRepositories

      com.azure.core.http.rest.PagedIterable<Repo> listRepositories(String resourceGroupName, String workspaceName, RepoType repoType, com.azure.core.util.Context context)
      Gets a list of repositories metadata.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      repoType - The repo type.
      context - The context to associate with this operation.
      Returns:
      a list of repositories metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.