Viewing docs for Databricks v1.101.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
Viewing docs for Databricks v1.101.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
This data source can be used to get a single stable URL by its fully qualified resource name.
Note This data source can only be used with an account-level provider!
Example Usage
Referring to a stable URL by its resource name:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getDisasterRecoveryStableUrl({
name: `accounts/${accountId}/stable-urls/accounting-stable-url`,
});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_disaster_recovery_stable_url(name=f"accounts/{account_id}/stable-urls/accounting-stable-url")
package main
import (
"fmt"
"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.GetDisasterRecoveryStableUrl(ctx, &databricks.LookupDisasterRecoveryStableUrlArgs{
Name: fmt.Sprintf("accounts/%v/stable-urls/accounting-stable-url", accountId),
}, 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 @this = Databricks.GetDisasterRecoveryStableUrl.Invoke(new()
{
Name = $"accounts/{accountId}/stable-urls/accounting-stable-url",
});
});
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.GetDisasterRecoveryStableUrlArgs;
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 this = DatabricksFunctions.getDisasterRecoveryStableUrl(GetDisasterRecoveryStableUrlArgs.builder()
.name(String.format("accounts/%s/stable-urls/accounting-stable-url", accountId))
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getDisasterRecoveryStableUrl
arguments:
name: accounts/${accountId}/stable-urls/accounting-stable-url
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getdisasterrecoverystableurl" "this" {
name ="accounts/${accountId}/stable-urls/accounting-stable-url"
}
Using getDisasterRecoveryStableUrl
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 getDisasterRecoveryStableUrl(args: GetDisasterRecoveryStableUrlArgs, opts?: InvokeOptions): Promise<GetDisasterRecoveryStableUrlResult>
function getDisasterRecoveryStableUrlOutput(args: GetDisasterRecoveryStableUrlOutputArgs, opts?: InvokeOptions): Output<GetDisasterRecoveryStableUrlResult>def get_disaster_recovery_stable_url(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDisasterRecoveryStableUrlResult
def get_disaster_recovery_stable_url_output(name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDisasterRecoveryStableUrlResult]func LookupDisasterRecoveryStableUrl(ctx *Context, args *LookupDisasterRecoveryStableUrlArgs, opts ...InvokeOption) (*LookupDisasterRecoveryStableUrlResult, error)
func LookupDisasterRecoveryStableUrlOutput(ctx *Context, args *LookupDisasterRecoveryStableUrlOutputArgs, opts ...InvokeOption) LookupDisasterRecoveryStableUrlResultOutput> Note: This function is named LookupDisasterRecoveryStableUrl in the Go SDK.
public static class GetDisasterRecoveryStableUrl
{
public static Task<GetDisasterRecoveryStableUrlResult> InvokeAsync(GetDisasterRecoveryStableUrlArgs args, InvokeOptions? opts = null)
public static Output<GetDisasterRecoveryStableUrlResult> Invoke(GetDisasterRecoveryStableUrlInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDisasterRecoveryStableUrlResult> getDisasterRecoveryStableUrl(GetDisasterRecoveryStableUrlArgs args, InvokeOptions options)
public static Output<GetDisasterRecoveryStableUrlResult> getDisasterRecoveryStableUrl(GetDisasterRecoveryStableUrlArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getDisasterRecoveryStableUrl:getDisasterRecoveryStableUrl
arguments:
# arguments dictionarydata "databricks_get_disaster_recovery_stable_url" "name" {
# arguments
}The following arguments are supported:
- Name string
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
- Name string
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
- name string
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
- name String
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
- name string
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
- name str
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
- name String
- Fully qualified resource name. Format: accounts/{account_id}/stable-urls/{stable_url_id}
getDisasterRecoveryStableUrl Result
The following output properties are available:
- Effective
Workspace stringId - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - Failover
Group stringName - (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 stringId - (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 stringId - (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 thew=query parameter for SPOG URLs, or in theconn-<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 stringId - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - Failover
Group stringName - (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 stringId - (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 stringId - (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 thew=query parameter for SPOG URLs, or in theconn-<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_ stringid - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - failover_
group_ stringname - (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_ stringid - (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_ stringid - (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 thew=query parameter for SPOG URLs, or in theconn-<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 StringId - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - failover
Group StringName - (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 StringId - (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 StringId - (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 thew=query parameter for SPOG URLs, or in theconn-<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 stringId - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - failover
Group stringName - (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 stringId - (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 stringId - (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 thew=query parameter for SPOG URLs, or in theconn-<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_ strid - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - failover_
group_ strname - (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_ strid - (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_ strid - (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 thew=query parameter for SPOG URLs, or in theconn-<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
- effective
Workspace StringId - (string) - The workspace this stable URL currently routes to. Set to
initialWorkspaceIdat 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, notinitialWorkspaceId - failover
Group StringName - (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 StringId - (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 StringId - (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 thew=query parameter for SPOG URLs, or in theconn-<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
databricksTerraform Provider.
Viewing docs for Databricks v1.101.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi