Interface ResourceProviders
public interface ResourceProviders
Resource collection API of ResourceProviders.
-
Method Summary
Modifier and TypeMethodDescriptiongitHubOAuth
(String location) Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.gitHubOAuthCallback
(String location, String code, String state) Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.com.azure.core.http.rest.Response<GitHubOAuthResponse>
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.com.azure.core.http.rest.Response<GitHubOAuthInfoResponse>
gitHubOAuthWithResponse
(String location, GitHubOAuthCallRequest parameters, com.azure.core.util.Context context) Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.listGitHubOAuth
(String location) Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.com.azure.core.http.rest.Response<GitHubOAuthListResponse>
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.
-
Method Details
-
gitHubOAuth
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<GitHubOAuthInfoResponse> 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
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<GitHubOAuthResponse> 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
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<GitHubOAuthListResponse> 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.
-