public final class WorkspaceGitRepoManagementClient extends Object
Modifier and Type | Method and Description |
---|---|
GitHubAccessTokenResponse |
getGitHubAccessToken(GitHubAccessTokenRequest gitHubAccessTokenRequest)
Get the GitHub access token.
|
GitHubAccessTokenResponse |
getGitHubAccessToken(GitHubAccessTokenRequest gitHubAccessTokenRequest,
String clientRequestId)
Get the GitHub access token.
|
com.azure.core.http.rest.Response<GitHubAccessTokenResponse> |
getGitHubAccessTokenWithResponse(GitHubAccessTokenRequest gitHubAccessTokenRequest,
String clientRequestId,
com.azure.core.util.Context context)
Get the GitHub access token.
|
public GitHubAccessTokenResponse getGitHubAccessToken(GitHubAccessTokenRequest gitHubAccessTokenRequest, String clientRequestId)
gitHubAccessTokenRequest
- The gitHubAccessTokenRequest parameter.clientRequestId
- Can provide a guid, which is helpful for debugging and to provide better customer support.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public GitHubAccessTokenResponse getGitHubAccessToken(GitHubAccessTokenRequest gitHubAccessTokenRequest)
gitHubAccessTokenRequest
- The gitHubAccessTokenRequest parameter.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<GitHubAccessTokenResponse> getGitHubAccessTokenWithResponse(GitHubAccessTokenRequest gitHubAccessTokenRequest, String clientRequestId, com.azure.core.util.Context context)
gitHubAccessTokenRequest
- The gitHubAccessTokenRequest parameter.clientRequestId
- Can provide a guid, which is helpful for debugging and to provide better customer support.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.