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

    GA

    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_get_disaster_recovery_stable_urls" "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:

    Supporting Types

    GetDisasterRecoveryStableUrlsStableUrl

    EffectiveWorkspaceId string
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    StableWorkspaceId string
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    Url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    EffectiveWorkspaceId string
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    StableWorkspaceId string
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    Url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    effective_workspace_id string
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    stable_workspace_id string
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    effectiveWorkspaceId String
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    stableWorkspaceId String
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    url String
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    effectiveWorkspaceId string
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    stableWorkspaceId string
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    url string
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    effective_workspace_id str
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    stable_workspace_id str
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    url str
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<connection_id>. For Private-Link workspaces this is the per-connection hostname
    effectiveWorkspaceId String
    (string) - The workspace this stable URL currently routes to. Set to initialWorkspaceId at creation, advanced to the failover group's primary while attached (including across a failover), and preserved when the stable URL is detached from its failover group. Read this to see where an unattached stable URL points: after a failover followed by a detach it reflects the post-failover primary, not initialWorkspaceId
    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}
    stableWorkspaceId String
    (string) - The stable workspace ID for this stable URL. Generated on creation and immutable thereafter; identifies the URL across failovers and is the same value embedded in the url (as the w= query parameter for SPOG URLs, or in the conn-<id> hostname for Private-Link URLs)
    url String
    (string) - The stable URL endpoint. Generated on creation and immutable thereafter. For non-Private-Link workspaces this is https://<spog_host>/?w=<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.101.0
    published on Thursday, Jul 30, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial