public interface AzureOptions extends PipelineOptions
Modifier and Type | Interface and Description |
---|---|
static class |
AzureOptions.AzureUserCredentialsFactory
Attempts to load Azure credentials.
|
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
com.azure.core.credential.TokenCredential |
getAzureCredentialsProvider()
The credential instance that should be used to authenticate against Azure services.
|
void |
setAzureCredentialsProvider(com.azure.core.credential.TokenCredential value) |
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.InstanceFactory(value=AzureOptions.AzureUserCredentialsFactory.class) com.azure.core.credential.TokenCredential getAzureCredentialsProvider()
For example, to specify the Azure client id, tenant id, and client secret, specify the
following:
{"@type" : "ClientSecretCredential", "azureClientId": "client_id_value",
"azureTenantId": "tenant_id_value", "azureClientSecret": "client_secret_value"}
void setAzureCredentialsProvider(com.azure.core.credential.TokenCredential value)