Dela via


AzurePipelinesCredential Constructors

Definition

Overloads

AzurePipelinesCredential()

Protected constructor for mocking.

AzurePipelinesCredential(String, String, String, String, AzurePipelinesCredentialOptions)

Creates a new instance of the AzurePipelinesCredential.

AzurePipelinesCredential()

Source:
AzurePipelinesCredential.cs
Source:
AzurePipelinesCredential.cs

Protected constructor for mocking.

protected AzurePipelinesCredential ();
Protected Sub New ()

Applies to

AzurePipelinesCredential(String, String, String, String, AzurePipelinesCredentialOptions)

Source:
AzurePipelinesCredential.cs
Source:
AzurePipelinesCredential.cs

Creates a new instance of the AzurePipelinesCredential.

public AzurePipelinesCredential (string tenantId, string clientId, string serviceConnectionId, string systemAccessToken, Azure.Identity.AzurePipelinesCredentialOptions options = default);
new Azure.Identity.AzurePipelinesCredential : string * string * string * string * Azure.Identity.AzurePipelinesCredentialOptions -> Azure.Identity.AzurePipelinesCredential
Public Sub New (tenantId As String, clientId As String, serviceConnectionId As String, systemAccessToken As String, Optional options As AzurePipelinesCredentialOptions = Nothing)

Parameters

tenantId
String

The tenant ID for the service connection.

clientId
String

The client ID for the service connection.

serviceConnectionId
String

The service connection Id for the service connection associated with the pipeline.

systemAccessToken
String

The pipeline's System.AccessToken value.

Exceptions

When systemAccessToken is null.

Applies to