GitHubClient Constructors

Definition

Overloads

Name Description
GitHubClient()
GitHubClient(String)

Creates a new GitHubClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

GitHubClient(Uri)

Creates a new GitHubClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

GitHubClient(Uri, TokenCredential)

Creates a new GitHubClient with the specified connection runtime URL and credential.

GitHubClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new GitHubClient with the specified connection runtime URL and credential.

GitHubClient()

protected GitHubClient();
Protected Sub New ()

Applies to

GitHubClient(String)

Creates a new GitHubClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

public GitHubClient(string connectionRuntimeUrl);
new Azure.Connectors.Sdk.GitHub.GitHubClient : string -> Azure.Connectors.Sdk.GitHub.GitHubClient
Public Sub New (connectionRuntimeUrl As String)

Parameters

connectionRuntimeUrl
String

The connection runtime URL from Azure Portal.

Applies to

GitHubClient(Uri)

Creates a new GitHubClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

public GitHubClient(Uri connectionRuntimeUrl);
new Azure.Connectors.Sdk.GitHub.GitHubClient : Uri -> Azure.Connectors.Sdk.GitHub.GitHubClient
Public Sub New (connectionRuntimeUrl As Uri)

Parameters

connectionRuntimeUrl
Uri

The connection runtime URL from Azure Portal.

Applies to

GitHubClient(Uri, TokenCredential)

Creates a new GitHubClient with the specified connection runtime URL and credential.

public GitHubClient(Uri connectionRuntimeUrl, Azure.Core.TokenCredential credential);
new Azure.Connectors.Sdk.GitHub.GitHubClient : Uri * Azure.Core.TokenCredential -> Azure.Connectors.Sdk.GitHub.GitHubClient
Public Sub New (connectionRuntimeUrl As Uri, credential As TokenCredential)

Parameters

connectionRuntimeUrl
Uri

The connection runtime URL from Azure Portal.

credential
TokenCredential

The Azure credential for authentication.

Applies to

GitHubClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new GitHubClient with the specified connection runtime URL and credential.

public GitHubClient(Uri connectionRuntimeUrl, Azure.Core.TokenCredential credential, Azure.Connectors.Sdk.ConnectorClientOptions options = default);
new Azure.Connectors.Sdk.GitHub.GitHubClient : Uri * Azure.Core.TokenCredential * Azure.Connectors.Sdk.ConnectorClientOptions -> Azure.Connectors.Sdk.GitHub.GitHubClient
Public Sub New (connectionRuntimeUrl As Uri, credential As TokenCredential, Optional options As ConnectorClientOptions = Nothing)

Parameters

connectionRuntimeUrl
Uri

The connection runtime URL from Azure Portal.

credential
TokenCredential

The Azure credential for authentication.

options
ConnectorClientOptions

Optional client options for retry, timeout, etc.

Applies to