public class VisualStudioCodeCredentialBuilder extends CredentialBuilderBase<VisualStudioCodeCredentialBuilder>
VisualStudioCodeCredential.VisualStudioCodeCredential| Constructor and Description |
|---|
VisualStudioCodeCredentialBuilder() |
| Modifier and Type | Method and Description |
|---|---|
VisualStudioCodeCredential |
build()
Creates a new
VisualStudioCodeCredential with the current configurations. |
VisualStudioCodeCredentialBuilder |
tenantId(String tenantId)
Sets the tenant id of the user to authenticate through the
VisualStudioCodeCredential. |
configuration, httpClient, httpPipeline, maxRetry, proxyOptions, retryTimeoutpublic VisualStudioCodeCredentialBuilder tenantId(String tenantId)
VisualStudioCodeCredential. The default is
the tenant the user originally authenticated to via via the Visual Studio Code Azure Account plugin.tenantId - the tenant ID to set.public VisualStudioCodeCredential build()
VisualStudioCodeCredential with the current configurations.VisualStudioCodeCredential with the current configurations.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.