Package com.databricks.sdk.core
Class AzureEnvironment
- java.lang.Object
-
- com.databricks.sdk.core.AzureEnvironment
-
public class AzureEnvironment extends Object
The set of endpoints within a single Azure authentication boundary.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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARM_DATABRICKS_RESOURCE_ID
The application ID of the production Databricks first-party application.
-
Constructor Summary
Constructors Constructor Description AzureEnvironment(String name, String serviceManagementEndpoint, String resourceManagerEndpoint, String activeDirectoryEndpoint)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActiveDirectoryEndpoint()
static AzureEnvironment
getEnvironment(String env)
String
getName()
String
getResourceManagerEndpoint()
String
getServiceManagementEndpoint()
-
-
-
Field Detail
-
ARM_DATABRICKS_RESOURCE_ID
public static final String ARM_DATABRICKS_RESOURCE_ID
The application ID of the production Databricks first-party application.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
getServiceManagementEndpoint
public String getServiceManagementEndpoint()
-
getResourceManagerEndpoint
public String getResourceManagerEndpoint()
-
getActiveDirectoryEndpoint
public String getActiveDirectoryEndpoint()
-
getEnvironment
public static AzureEnvironment getEnvironment(String env)
-
-