public class AzureEnvironment extends Object
Tokens fetched from Azure AAD can be scoped to a specific resource. The identifiers for these resources vary depending on the cloud environment: public, germany, govcloud, or china. Depending on the operation, tokens scoped to a specific endpoint are needed.
Modifier and Type | Field and Description |
---|---|
static String |
ARM_DATABRICKS_RESOURCE_ID
The application ID of the production Databricks first-party application.
|
Constructor and Description |
---|
AzureEnvironment(String name,
String serviceManagementEndpoint,
String resourceManagerEndpoint,
String activeDirectoryEndpoint) |
Modifier and Type | Method and Description |
---|---|
String |
getActiveDirectoryEndpoint() |
static AzureEnvironment |
getEnvironment(String env) |
String |
getName() |
String |
getResourceManagerEndpoint() |
String |
getServiceManagementEndpoint() |
public static final String ARM_DATABRICKS_RESOURCE_ID
public String getName()
public String getServiceManagementEndpoint()
public String getResourceManagerEndpoint()
public String getActiveDirectoryEndpoint()
public static AzureEnvironment getEnvironment(String env)
Copyright © 2023. All rights reserved.