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
Retrieves a set of databricks.Recipient names, that were created by Pulumi or manually.
This data source can only be used with a workspace-level provider!
Example Usage
Getting all existing recipients in the metastore
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getRecipients({});
export const recipientNames = _this.then(_this => _this.recipients);
import pulumi
import pulumi_databricks as databricks
this = databricks.get_recipients()
pulumi.export("recipientNames", this.recipients)
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 {
this, err := databricks.GetRecipients(ctx, &databricks.GetRecipientsArgs{}, nil)
if err != nil {
return err
}
ctx.Export("recipientNames", this.Recipients)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetRecipients.Invoke();
return new Dictionary<string, object?>
{
["recipientNames"] = @this.Apply(@this => @this.Apply(getRecipientsResult => getRecipientsResult.Recipients)),
};
});
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.GetRecipientsArgs;
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.getRecipients(GetRecipientsArgs.builder()
.build());
ctx.export("recipientNames", this_.recipients());
}
}
variables:
this:
fn::invoke:
function: databricks:getRecipients
arguments: {}
outputs:
recipientNames: ${this.recipients}
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getrecipients" "this" {
}
output "recipientNames" {
value = data.databricks_getrecipients.this.recipients
}
Related Resources
The following resources are used in the same context:
- databricks.Recipient to create Delta Sharing recipients.
- databricks.Share to create Delta Sharing shares.
- databricks.getShares to get a list of Delta Sharing shares.
- databricks.Grants to manage Delta Sharing permissions.
Using getRecipients
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 getRecipients(args: GetRecipientsArgs, opts?: InvokeOptions): Promise<GetRecipientsResult>
function getRecipientsOutput(args: GetRecipientsOutputArgs, opts?: InvokeOptions): Output<GetRecipientsResult>def get_recipients(provider_config: Optional[GetRecipientsProviderConfig] = None,
recipients: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetRecipientsResult
def get_recipients_output(provider_config: pulumi.Input[Optional[GetRecipientsProviderConfigArgs]] = None,
recipients: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRecipientsResult]func GetRecipients(ctx *Context, args *GetRecipientsArgs, opts ...InvokeOption) (*GetRecipientsResult, error)
func GetRecipientsOutput(ctx *Context, args *GetRecipientsOutputArgs, opts ...InvokeOption) GetRecipientsResultOutput> Note: This function is named GetRecipients in the Go SDK.
public static class GetRecipients
{
public static Task<GetRecipientsResult> InvokeAsync(GetRecipientsArgs args, InvokeOptions? opts = null)
public static Output<GetRecipientsResult> Invoke(GetRecipientsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRecipientsResult> getRecipients(GetRecipientsArgs args, InvokeOptions options)
public static Output<GetRecipientsResult> getRecipients(GetRecipientsArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getRecipients:getRecipients
arguments:
# arguments dictionarydata "databricks_get_recipients" "name" {
# arguments
}The following arguments are supported:
- Provider
Config GetRecipients Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- Recipients List<string>
- set of databricks.Recipient names.
- Provider
Config GetRecipients Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- Recipients []string
- set of databricks.Recipient names.
- provider_
config object - Configure the provider for management through account provider. This block consists of the following fields:
- recipients list(string)
- set of databricks.Recipient names.
- provider
Config GetRecipients Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- recipients List<String>
- set of databricks.Recipient names.
- provider
Config GetRecipients Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- recipients string[]
- set of databricks.Recipient names.
- provider_
config GetRecipients Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- recipients Sequence[str]
- set of databricks.Recipient names.
- provider
Config Property Map - Configure the provider for management through account provider. This block consists of the following fields:
- recipients List<String>
- set of databricks.Recipient names.
getRecipients Result
The following output properties are available:
- Recipients List<string>
- set of databricks.Recipient names.
- Provider
Config GetRecipients Provider Config
- Recipients []string
- set of databricks.Recipient names.
- Provider
Config GetRecipients Provider Config
- recipients list(string)
- set of databricks.Recipient names.
- provider_
config object
- recipients List<String>
- set of databricks.Recipient names.
- provider
Config GetRecipients Provider Config
- recipients string[]
- set of databricks.Recipient names.
- provider
Config GetRecipients Provider Config
- recipients Sequence[str]
- set of databricks.Recipient names.
- provider_
config GetRecipients Provider Config
- recipients List<String>
- set of databricks.Recipient names.
- provider
Config Property Map
Supporting Types
GetRecipientsProviderConfig
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id 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.
- workspace
Id 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
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