Viewing docs for Databricks v1.96.0
published on Thursday, Jun 18, 2026 by Pulumi
published on Thursday, Jun 18, 2026 by Pulumi
Viewing docs for Databricks v1.96.0
published on Thursday, Jun 18, 2026 by Pulumi
published on Thursday, Jun 18, 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_getdisasterrecoverystableurl" "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:
- 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 - Id string
- The provider-assigned unique ID for this managed resource.
- 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}
- 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 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 - Id string
- The provider-assigned unique ID for this managed resource.
- 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}
- 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_ 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 - id string
- The provider-assigned unique ID for this managed resource.
- 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}
- 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 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 - id String
- The provider-assigned unique ID for this managed resource.
- 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}
- 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 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 - id string
- The provider-assigned unique ID for this managed resource.
- 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}
- 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_ 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 - id str
- The provider-assigned unique ID for this managed resource.
- 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}
- 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
- 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 - id String
- The provider-assigned unique ID for this managed resource.
- 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}
- 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
databricksTerraform Provider.
Viewing docs for Databricks v1.96.0
published on Thursday, Jun 18, 2026 by Pulumi
published on Thursday, Jun 18, 2026 by Pulumi