1. Packages
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. getDisasterRecoveryStableUrls
Viewing docs for Databricks v1.96.0
published on Thursday, Jun 18, 2026 by Pulumi
databricks logo
Viewing docs for Databricks v1.96.0
published on Thursday, Jun 18, 2026 by Pulumi

    Public Preview

    API Documentation

    This data source can be used to fetch the list of stable URLs in the account.

    Note This data source can only be used with an account-level provider!

    Example Usage

    Getting a list of all stable URLs in the account:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const all = databricks.getDisasterRecoveryStableUrls({});
    
    import pulumi
    import pulumi_databricks as databricks
    
    all = databricks.get_disaster_recovery_stable_urls()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.GetDisasterRecoveryStableUrls(ctx, &databricks.GetDisasterRecoveryStableUrlsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Databricks.GetDisasterRecoveryStableUrls.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.DatabricksFunctions;
    import com.pulumi.databricks.inputs.GetDisasterRecoveryStableUrlsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var all = DatabricksFunctions.getDisasterRecoveryStableUrls(GetDisasterRecoveryStableUrlsArgs.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: databricks:getDisasterRecoveryStableUrls
          arguments: {}
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    data "databricks_getdisasterrecoverystableurls" "all" {
    }
    

    Using getDisasterRecoveryStableUrls

    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 getDisasterRecoveryStableUrls(args: GetDisasterRecoveryStableUrlsArgs, opts?: InvokeOptions): Promise<GetDisasterRecoveryStableUrlsResult>
    function getDisasterRecoveryStableUrlsOutput(args: GetDisasterRecoveryStableUrlsOutputArgs, opts?: InvokeOptions): Output<GetDisasterRecoveryStableUrlsResult>
    def get_disaster_recovery_stable_urls(page_size: Optional[int] = None,
                                          parent: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetDisasterRecoveryStableUrlsResult
    def get_disaster_recovery_stable_urls_output(page_size: pulumi.Input[Optional[int]] = None,
                                          parent: pulumi.Input[Optional[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetDisasterRecoveryStableUrlsResult]
    func GetDisasterRecoveryStableUrls(ctx *Context, args *GetDisasterRecoveryStableUrlsArgs, opts ...InvokeOption) (*GetDisasterRecoveryStableUrlsResult, error)
    func GetDisasterRecoveryStableUrlsOutput(ctx *Context, args *GetDisasterRecoveryStableUrlsOutputArgs, opts ...InvokeOption) GetDisasterRecoveryStableUrlsResultOutput

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

    public static class GetDisasterRecoveryStableUrls 
    {
        public static Task<GetDisasterRecoveryStableUrlsResult> InvokeAsync(GetDisasterRecoveryStableUrlsArgs args, InvokeOptions? opts = null)
        public static Output<GetDisasterRecoveryStableUrlsResult> Invoke(GetDisasterRecoveryStableUrlsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDisasterRecoveryStableUrlsResult> getDisasterRecoveryStableUrls(GetDisasterRecoveryStableUrlsArgs args, InvokeOptions options)
    public static Output<GetDisasterRecoveryStableUrlsResult> getDisasterRecoveryStableUrls(GetDisasterRecoveryStableUrlsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getDisasterRecoveryStableUrls:getDisasterRecoveryStableUrls
      arguments:
        # arguments dictionary
    data "databricks_getdisasterrecoverystableurls" "name" {
        # arguments
    }

    The following arguments are supported:

    Parent string
    The parent resource. Format: accounts/{account_id}
    PageSize int
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned
    Parent string
    The parent resource. Format: accounts/{account_id}
    PageSize int
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned
    parent string
    The parent resource. Format: accounts/{account_id}
    page_size number
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned
    parent String
    The parent resource. Format: accounts/{account_id}
    pageSize Integer
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned
    parent string
    The parent resource. Format: accounts/{account_id}
    pageSize number
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned
    parent str
    The parent resource. Format: accounts/{account_id}
    page_size int
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned
    parent String
    The parent resource. Format: accounts/{account_id}
    pageSize Number
    Maximum number of stable URLs to return per page:

    • when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
    • when set to 0 or unset, the page length is set to a server configured value (recommended);
    • when set to a value less than 0, an invalid parameter error is returned

    getDisasterRecoveryStableUrls Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Parent string
    StableUrls List<GetDisasterRecoveryStableUrlsStableUrl>
    PageSize int
    Id string
    The provider-assigned unique ID for this managed resource.
    Parent string
    StableUrls []GetDisasterRecoveryStableUrlsStableUrl
    PageSize int
    id string
    The provider-assigned unique ID for this managed resource.
    parent string
    stable_urls list(object)
    page_size number
    id String
    The provider-assigned unique ID for this managed resource.
    parent String
    stableUrls List<GetDisasterRecoveryStableUrlsStableUrl>
    pageSize Integer
    id string
    The provider-assigned unique ID for this managed resource.
    parent string
    stableUrls GetDisasterRecoveryStableUrlsStableUrl[]
    pageSize number
    id str
    The provider-assigned unique ID for this managed resource.
    parent str
    stable_urls Sequence[GetDisasterRecoveryStableUrlsStableUrl]
    page_size int
    id String
    The provider-assigned unique ID for this managed resource.
    parent String
    stableUrls List<Property Map>
    pageSize Number

    Supporting Types

    GetDisasterRecoveryStableUrlsStableUrl

    FailoverGroupName string
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    InitialWorkspaceId string
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    Name string
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    Url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    FailoverGroupName string
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    InitialWorkspaceId string
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    Name string
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    Url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    failover_group_name string
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    initial_workspace_id string
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    name string
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    failoverGroupName String
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    initialWorkspaceId String
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    name String
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    url String
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    failoverGroupName string
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    initialWorkspaceId string
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    name string
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    failover_group_name str
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    initial_workspace_id str
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    name str
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    url str
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    failoverGroupName String
    (string) - Fully qualified resource name of the FailoverGroup this stable URL is currently linked to, in the format accounts/{account_id}/failover-groups/{failover_group_id}. Empty when the stable URL is not attached to any failover group
    initialWorkspaceId String
    (string) - The workspace this stable URL is initially bound to. Used only in Create requests to associate the stable URL with a workspace. Not returned in responses
    name String
    (string) - Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
    url String
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?c=<connection_id>. For Private-Link workspaces this is the per-connection hostname

    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.96.0
    published on Thursday, Jun 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial