Interface GitHubRepoes


public interface GitHubRepoes
Resource collection API of GitHubRepoes.
  • Method Details

    • listByConnector

      com.azure.core.http.rest.PagedIterable<GitHubRepo> listByConnector(String resourceGroupName, String gitHubConnectorName)
      Returns a list of monitored GitHub repositories.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      gitHubConnectorName - Name of the GitHub Connector.
      Returns:
      the 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.
    • listByConnector

      com.azure.core.http.rest.PagedIterable<GitHubRepo> listByConnector(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context)
      Returns a list of monitored GitHub repositories.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      gitHubConnectorName - Name of the GitHub Connector.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • list

      com.azure.core.http.rest.PagedIterable<GitHubRepo> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName)
      Returns a list of monitored GitHub repositories.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      gitHubConnectorName - Name of the GitHub Connector.
      gitHubOwnerName - Name of the GitHub Owner.
      Returns:
      the 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.
    • list

      com.azure.core.http.rest.PagedIterable<GitHubRepo> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, com.azure.core.util.Context context)
      Returns a list of monitored GitHub repositories.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      gitHubConnectorName - Name of the GitHub Connector.
      gitHubOwnerName - Name of the GitHub Owner.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • getWithResponse

      com.azure.core.http.rest.Response<GitHubRepo> getWithResponse(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, com.azure.core.util.Context context)
      Returns a monitored GitHub repository.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      gitHubConnectorName - Name of the GitHub Connector.
      gitHubOwnerName - Name of the GitHub Owner.
      gitHubRepoName - Name of the GitHub Repo.
      context - The context to associate with this operation.
      Returns:
      gitHub repo Proxy Resource along with Response.
      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.
    • get

      GitHubRepo get(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName)
      Returns a monitored GitHub repository.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      gitHubConnectorName - Name of the GitHub Connector.
      gitHubOwnerName - Name of the GitHub Owner.
      gitHubRepoName - Name of the GitHub Repo.
      Returns:
      gitHub repo Proxy Resource.
      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.
    • getById

      GitHubRepo getById(String id)
      Returns a monitored GitHub repository.
      Parameters:
      id - the resource ID.
      Returns:
      gitHub repo Proxy Resource along with Response.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<GitHubRepo> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns a monitored GitHub repository.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      gitHub repo Proxy Resource along with Response.
      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.
    • define

      Begins definition for a new GitHubRepo resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new GitHubRepo definition.