Udostępnij za pośrednictwem


WorkspaceGitRepoManagementClient.GetGitHubAccessToken Method

Definition

Get the GitHub access token.

public virtual Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.GitHubAccessTokenResponse> GetGitHubAccessToken (Azure.Analytics.Synapse.Artifacts.Models.GitHubAccessTokenRequest gitHubAccessTokenRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGitHubAccessToken : Azure.Analytics.Synapse.Artifacts.Models.GitHubAccessTokenRequest * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.GitHubAccessTokenResponse>
override this.GetGitHubAccessToken : Azure.Analytics.Synapse.Artifacts.Models.GitHubAccessTokenRequest * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.GitHubAccessTokenResponse>
Public Overridable Function GetGitHubAccessToken (gitHubAccessTokenRequest As GitHubAccessTokenRequest, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GitHubAccessTokenResponse)

Parameters

gitHubAccessTokenRequest
GitHubAccessTokenRequest

The GitHubAccessTokenRequest to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to