AzurePipelinesCredential Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- options
- AzurePipelinesCredentialOptions
An instance of AzurePipelinesCredentialOptions.
Exceptions
When systemAccessToken
is null.