AzurePipelinesCredential Constructors

Definition

Overloads

AzurePipelinesCredential()

Source:
AzurePipelinesCredential.cs
Source:
AzurePipelinesCredential.cs

Protected constructor for mocking.

C#
protected AzurePipelinesCredential();

Applies to

Azure SDK for .NET Preview en Azure SDK for .NET Latest
Product Versies
Azure SDK for .NET Latest, Preview

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

Source:
AzurePipelinesCredential.cs
Source:
AzurePipelinesCredential.cs

Creates a new instance of the AzurePipelinesCredential.

C#
public AzurePipelinesCredential(string tenantId, string clientId, string serviceConnectionId, string systemAccessToken, Azure.Identity.AzurePipelinesCredentialOptions options = default);

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

Thrown when tenantId, clientId, serviceConnectionId, or systemAccessToken is null.

Applies to

Azure SDK for .NET Preview en Azure SDK for .NET Latest
Product Versies
Azure SDK for .NET Latest, Preview