Class 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 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
    • Constructor Detail

      • AzureEnvironment

        public AzureEnvironment​(String name,
                                String serviceManagementEndpoint,
                                String resourceManagerEndpoint,
                                String activeDirectoryEndpoint)
    • Method Detail

      • getName

        public String getName()
      • getServiceManagementEndpoint

        public String getServiceManagementEndpoint()
      • getResourceManagerEndpoint

        public String getResourceManagerEndpoint()
      • getActiveDirectoryEndpoint

        public String getActiveDirectoryEndpoint()