Interface GitHubOwners


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

    • list

      com.azure.core.http.rest.PagedIterable<GitHubOwner> list(String resourceGroupName, String gitHubConnectorName)
      Returns a list of monitored GitHub owners.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<GitHubOwner> list(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context)
      Returns a list of monitored GitHub owners.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<GitHubOwner> getWithResponse(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, 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.
      context - The context to associate with this operation.
      Returns:
      gitHub repo owner 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

      GitHubOwner get(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName)
      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.
      Returns:
      gitHub repo owner 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

      GitHubOwner getById(String id)
      Returns a monitored GitHub repository.
      Parameters:
      id - the resource ID.
      Returns:
      gitHub repo owner 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<GitHubOwner> 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 owner 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 GitHubOwner resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new GitHubOwner definition.