1. Packages
  2. Databricks Provider
  3. API Docs
  4. getEnvironmentsDefaultWorkspaceBaseEnvironment
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
databricks logo
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi

    Public Beta

    This data source retrieves the current default Workspace Base Environment configuration for the workspace.

    Using getEnvironmentsDefaultWorkspaceBaseEnvironment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEnvironmentsDefaultWorkspaceBaseEnvironment(args: GetEnvironmentsDefaultWorkspaceBaseEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult>
    function getEnvironmentsDefaultWorkspaceBaseEnvironmentOutput(args: GetEnvironmentsDefaultWorkspaceBaseEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult>
    def get_environments_default_workspace_base_environment(name: Optional[str] = None,
                                                            provider_config: Optional[GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig] = None,
                                                            opts: Optional[InvokeOptions] = None) -> GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult
    def get_environments_default_workspace_base_environment_output(name: Optional[pulumi.Input[str]] = None,
                                                            provider_config: Optional[pulumi.Input[GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfigArgs]] = None,
                                                            opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult]
    func LookupEnvironmentsDefaultWorkspaceBaseEnvironment(ctx *Context, args *LookupEnvironmentsDefaultWorkspaceBaseEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentsDefaultWorkspaceBaseEnvironmentResult, error)
    func LookupEnvironmentsDefaultWorkspaceBaseEnvironmentOutput(ctx *Context, args *LookupEnvironmentsDefaultWorkspaceBaseEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentsDefaultWorkspaceBaseEnvironmentResultOutput

    > Note: This function is named LookupEnvironmentsDefaultWorkspaceBaseEnvironment in the Go SDK.

    public static class GetEnvironmentsDefaultWorkspaceBaseEnvironment 
    {
        public static Task<GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult> InvokeAsync(GetEnvironmentsDefaultWorkspaceBaseEnvironmentArgs args, InvokeOptions? opts = null)
        public static Output<GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult> Invoke(GetEnvironmentsDefaultWorkspaceBaseEnvironmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult> getEnvironmentsDefaultWorkspaceBaseEnvironment(GetEnvironmentsDefaultWorkspaceBaseEnvironmentArgs args, InvokeOptions options)
    public static Output<GetEnvironmentsDefaultWorkspaceBaseEnvironmentResult> getEnvironmentsDefaultWorkspaceBaseEnvironment(GetEnvironmentsDefaultWorkspaceBaseEnvironmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getEnvironmentsDefaultWorkspaceBaseEnvironment:getEnvironmentsDefaultWorkspaceBaseEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The resource name of this singleton resource. Format: default-workspace-base-environment
    ProviderConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    Configure the provider for management through account provider.
    Name string
    The resource name of this singleton resource. Format: default-workspace-base-environment
    ProviderConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    Configure the provider for management through account provider.
    name String
    The resource name of this singleton resource. Format: default-workspace-base-environment
    providerConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    Configure the provider for management through account provider.
    name string
    The resource name of this singleton resource. Format: default-workspace-base-environment
    providerConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    Configure the provider for management through account provider.
    name str
    The resource name of this singleton resource. Format: default-workspace-base-environment
    provider_config GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    Configure the provider for management through account provider.
    name String
    The resource name of this singleton resource. Format: default-workspace-base-environment
    providerConfig Property Map
    Configure the provider for management through account provider.

    getEnvironmentsDefaultWorkspaceBaseEnvironment Result

    The following output properties are available:

    CpuWorkspaceBaseEnvironment string
    (string) - The default workspace base environment for CPU compute. Format: workspace-base-environments/{workspace_base_environment}
    GpuWorkspaceBaseEnvironment string
    (string) - The default workspace base environment for GPU compute. Format: workspace-base-environments/{workspace_base_environment}
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    (string) - The resource name of this singleton resource. Format: default-workspace-base-environment
    ProviderConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    CpuWorkspaceBaseEnvironment string
    (string) - The default workspace base environment for CPU compute. Format: workspace-base-environments/{workspace_base_environment}
    GpuWorkspaceBaseEnvironment string
    (string) - The default workspace base environment for GPU compute. Format: workspace-base-environments/{workspace_base_environment}
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    (string) - The resource name of this singleton resource. Format: default-workspace-base-environment
    ProviderConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    cpuWorkspaceBaseEnvironment String
    (string) - The default workspace base environment for CPU compute. Format: workspace-base-environments/{workspace_base_environment}
    gpuWorkspaceBaseEnvironment String
    (string) - The default workspace base environment for GPU compute. Format: workspace-base-environments/{workspace_base_environment}
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    (string) - The resource name of this singleton resource. Format: default-workspace-base-environment
    providerConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    cpuWorkspaceBaseEnvironment string
    (string) - The default workspace base environment for CPU compute. Format: workspace-base-environments/{workspace_base_environment}
    gpuWorkspaceBaseEnvironment string
    (string) - The default workspace base environment for GPU compute. Format: workspace-base-environments/{workspace_base_environment}
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    (string) - The resource name of this singleton resource. Format: default-workspace-base-environment
    providerConfig GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    cpu_workspace_base_environment str
    (string) - The default workspace base environment for CPU compute. Format: workspace-base-environments/{workspace_base_environment}
    gpu_workspace_base_environment str
    (string) - The default workspace base environment for GPU compute. Format: workspace-base-environments/{workspace_base_environment}
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    (string) - The resource name of this singleton resource. Format: default-workspace-base-environment
    provider_config GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig
    cpuWorkspaceBaseEnvironment String
    (string) - The default workspace base environment for CPU compute. Format: workspace-base-environments/{workspace_base_environment}
    gpuWorkspaceBaseEnvironment String
    (string) - The default workspace base environment for GPU compute. Format: workspace-base-environments/{workspace_base_environment}
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    (string) - The resource name of this singleton resource. Format: default-workspace-base-environment
    providerConfig Property Map

    Supporting Types

    GetEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Viewing docs for Databricks v1.90.0
    published on Thursday, Mar 19, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.