Interface ResourceProvidersClient


public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
  • Method Details

    • gitHubOAuth

      GitHubOAuthInfoResponseInner gitHubOAuth(String location)
      Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
      Parameters:
      location - The name of Azure region.
      Returns:
      gitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
      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.
    • gitHubOAuthWithResponse

      com.azure.core.http.rest.Response<GitHubOAuthInfoResponseInner> gitHubOAuthWithResponse(String location, GitHubOAuthCallRequest parameters, com.azure.core.util.Context context)
      Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
      Parameters:
      location - The name of Azure region.
      parameters - GitHubOAuth request object.
      context - The context to associate with this operation.
      Returns:
      gitHubOAuth info used to authenticate users with the Developer Hub GitHub App 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.
    • gitHubOAuthCallback

      GitHubOAuthResponseInner gitHubOAuthCallback(String location, String code, String state)
      Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
      Parameters:
      location - The name of Azure region.
      code - The code response from authenticating the GitHub App.
      state - The state response from authenticating the GitHub App.
      Returns:
      singleton response of GitHubOAuth containing.
      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.
    • gitHubOAuthCallbackWithResponse

      com.azure.core.http.rest.Response<GitHubOAuthResponseInner> gitHubOAuthCallbackWithResponse(String location, String code, String state, com.azure.core.util.Context context)
      Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
      Parameters:
      location - The name of Azure region.
      code - The code response from authenticating the GitHub App.
      state - The state response from authenticating the GitHub App.
      context - The context to associate with this operation.
      Returns:
      singleton response of GitHubOAuth containing 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.
    • listGitHubOAuth

      GitHubOAuthListResponseInner listGitHubOAuth(String location)
      Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
      Parameters:
      location - The name of Azure region.
      Returns:
      the response from List GitHubOAuth operation.
      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.
    • listGitHubOAuthWithResponse

      com.azure.core.http.rest.Response<GitHubOAuthListResponseInner> listGitHubOAuthWithResponse(String location, com.azure.core.util.Context context)
      Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
      Parameters:
      location - The name of Azure region.
      context - The context to associate with this operation.
      Returns:
      the response from List GitHubOAuth operation 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.