Freigeben über


FactoriesOperationsExtensions.GetGitHubAccessTokenAsync Methode

Definition

Abrufen des GitHub-Zugriffstokens.

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)

Parameter

operations
IFactoriesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

factoryName
String

Der Factoryname.

gitHubAccessTokenRequest
GitHubAccessTokenRequest

Rufen Sie die GitHub-Zugriffstokenanforderungsdefinition ab.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: