Share via


FactoriesOperationsExtensions.GetGitHubAccessTokenAsync Method

Definition

Get GitHub Access Token.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenResponse> GetGitHubAccessTokenAsync (this Microsoft.Azure.Management.DataFactory.IFactoriesOperations operations, string resourceGroupName, string factoryName, Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenRequest gitHubAccessTokenRequest, System.Threading.CancellationToken cancellationToken = default);
static member GetGitHubAccessTokenAsync : Microsoft.Azure.Management.DataFactory.IFactoriesOperations * string * string * Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenResponse>
<Extension()>
Public Function GetGitHubAccessTokenAsync (operations As IFactoriesOperations, resourceGroupName As String, factoryName As String, gitHubAccessTokenRequest As GitHubAccessTokenRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GitHubAccessTokenResponse)

Parameters

operations
IFactoriesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

gitHubAccessTokenRequest
GitHubAccessTokenRequest

Get GitHub access token request definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to