databricks.Recipient
Explore with Pulumi AI
This resource can only be used with a workspace-level provider!
In Delta Sharing, a recipient is an entity that receives shares from a provider. In Unity Catalog, a share is a securable object that represents an organization and associates it with a credential or secure sharing identifier that allows that organization to access one or more shares.
As a data provider (sharer), you can define multiple recipients for any given Unity Catalog metastore, but if you want to share data from multiple metastores with a particular user or group of users, you must define the recipient separately for each metastore. A recipient can have access to multiple shares.
A databricks.Recipient
is contained within databricks.Metastore and can have permissions to SELECT
from a list of shares.
Example Usage
Databricks Sharing with non databricks recipient
Setting authentication_type
type to TOKEN
creates a temporary url to download a credentials file. This is used to
authenticate to the sharing server to access data. This is for when the recipient is not using Databricks.
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
import * as random from "@pulumi/random";
const db2opensharecode = new random.index.Password("db2opensharecode", {
length: 16,
special: true,
});
const current = databricks.getCurrentUser({});
const db2open = new databricks.Recipient("db2open", {
name: current.then(current => `${current.alphanumeric}-recipient`),
comment: "Made by Pulumi",
authenticationType: "TOKEN",
sharingCode: db2opensharecode.result,
ipAccessList: {
allowedIpAddresses: [],
},
});
import pulumi
import pulumi_databricks as databricks
import pulumi_random as random
db2opensharecode = random.index.Password("db2opensharecode",
length=16,
special=True)
current = databricks.get_current_user()
db2open = databricks.Recipient("db2open",
name=f"{current.alphanumeric}-recipient",
comment="Made by Pulumi",
authentication_type="TOKEN",
sharing_code=db2opensharecode["result"],
ip_access_list={
"allowed_ip_addresses": [],
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
db2opensharecode, err := random.NewPassword(ctx, "db2opensharecode", &random.PasswordArgs{
Length: 16,
Special: true,
})
if err != nil {
return err
}
current, err := databricks.GetCurrentUser(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
_, err = databricks.NewRecipient(ctx, "db2open", &databricks.RecipientArgs{
Name: pulumi.Sprintf("%v-recipient", current.Alphanumeric),
Comment: pulumi.String("Made by Pulumi"),
AuthenticationType: pulumi.String("TOKEN"),
SharingCode: db2opensharecode.Result,
IpAccessList: &databricks.RecipientIpAccessListArgs{
AllowedIpAddresses: pulumi.StringArray{},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var db2opensharecode = new Random.Index.Password("db2opensharecode", new()
{
Length = 16,
Special = true,
});
var current = Databricks.GetCurrentUser.Invoke();
var db2open = new Databricks.Recipient("db2open", new()
{
Name = $"{current.Apply(getCurrentUserResult => getCurrentUserResult.Alphanumeric)}-recipient",
Comment = "Made by Pulumi",
AuthenticationType = "TOKEN",
SharingCode = db2opensharecode.Result,
IpAccessList = new Databricks.Inputs.RecipientIpAccessListArgs
{
AllowedIpAddresses = new() { },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.password;
import com.pulumi.random.PasswordArgs;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.Recipient;
import com.pulumi.databricks.RecipientArgs;
import com.pulumi.databricks.inputs.RecipientIpAccessListArgs;
import java.util.List;
import java.util.ArrayList;
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) {
var db2opensharecode = new Password("db2opensharecode", PasswordArgs.builder()
.length(16)
.special(true)
.build());
final var current = DatabricksFunctions.getCurrentUser();
var db2open = new Recipient("db2open", RecipientArgs.builder()
.name(String.format("%s-recipient", current.applyValue(getCurrentUserResult -> getCurrentUserResult.alphanumeric())))
.comment("Made by Pulumi")
.authenticationType("TOKEN")
.sharingCode(db2opensharecode.result())
.ipAccessList(RecipientIpAccessListArgs.builder()
.allowedIpAddresses()
.build())
.build());
}
}
resources:
db2opensharecode:
type: random:password
properties:
length: 16
special: true
db2open:
type: databricks:Recipient
properties:
name: ${current.alphanumeric}-recipient
comment: Made by Pulumi
authenticationType: TOKEN
sharingCode: ${db2opensharecode.result}
ipAccessList:
allowedIpAddresses: []
variables:
current:
fn::invoke:
Function: databricks:getCurrentUser
Arguments: {}
Create Recipient Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Recipient(name: string, args: RecipientArgs, opts?: CustomResourceOptions);
@overload
def Recipient(resource_name: str,
args: RecipientArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Recipient(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication_type: Optional[str] = None,
comment: Optional[str] = None,
data_recipient_global_metastore_id: Optional[str] = None,
ip_access_list: Optional[RecipientIpAccessListArgs] = None,
name: Optional[str] = None,
owner: Optional[str] = None,
properties_kvpairs: Optional[RecipientPropertiesKvpairsArgs] = None,
sharing_code: Optional[str] = None,
tokens: Optional[Sequence[RecipientTokenArgs]] = None)
func NewRecipient(ctx *Context, name string, args RecipientArgs, opts ...ResourceOption) (*Recipient, error)
public Recipient(string name, RecipientArgs args, CustomResourceOptions? opts = null)
public Recipient(String name, RecipientArgs args)
public Recipient(String name, RecipientArgs args, CustomResourceOptions options)
type: databricks:Recipient
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RecipientArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RecipientArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RecipientArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RecipientArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RecipientArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var recipientResource = new Databricks.Recipient("recipientResource", new()
{
AuthenticationType = "string",
Comment = "string",
DataRecipientGlobalMetastoreId = "string",
IpAccessList = new Databricks.Inputs.RecipientIpAccessListArgs
{
AllowedIpAddresses = new[]
{
"string",
},
},
Name = "string",
Owner = "string",
PropertiesKvpairs = new Databricks.Inputs.RecipientPropertiesKvpairsArgs
{
Properties =
{
{ "string", "string" },
},
},
SharingCode = "string",
Tokens = new[]
{
new Databricks.Inputs.RecipientTokenArgs
{
ActivationUrl = "string",
CreatedAt = 0,
CreatedBy = "string",
ExpirationTime = 0,
Id = "string",
UpdatedAt = 0,
UpdatedBy = "string",
},
},
});
example, err := databricks.NewRecipient(ctx, "recipientResource", &databricks.RecipientArgs{
AuthenticationType: pulumi.String("string"),
Comment: pulumi.String("string"),
DataRecipientGlobalMetastoreId: pulumi.String("string"),
IpAccessList: &databricks.RecipientIpAccessListArgs{
AllowedIpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Owner: pulumi.String("string"),
PropertiesKvpairs: &databricks.RecipientPropertiesKvpairsArgs{
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
SharingCode: pulumi.String("string"),
Tokens: databricks.RecipientTokenArray{
&databricks.RecipientTokenArgs{
ActivationUrl: pulumi.String("string"),
CreatedAt: pulumi.Int(0),
CreatedBy: pulumi.String("string"),
ExpirationTime: pulumi.Int(0),
Id: pulumi.String("string"),
UpdatedAt: pulumi.Int(0),
UpdatedBy: pulumi.String("string"),
},
},
})
var recipientResource = new Recipient("recipientResource", RecipientArgs.builder()
.authenticationType("string")
.comment("string")
.dataRecipientGlobalMetastoreId("string")
.ipAccessList(RecipientIpAccessListArgs.builder()
.allowedIpAddresses("string")
.build())
.name("string")
.owner("string")
.propertiesKvpairs(RecipientPropertiesKvpairsArgs.builder()
.properties(Map.of("string", "string"))
.build())
.sharingCode("string")
.tokens(RecipientTokenArgs.builder()
.activationUrl("string")
.createdAt(0)
.createdBy("string")
.expirationTime(0)
.id("string")
.updatedAt(0)
.updatedBy("string")
.build())
.build());
recipient_resource = databricks.Recipient("recipientResource",
authentication_type="string",
comment="string",
data_recipient_global_metastore_id="string",
ip_access_list={
"allowed_ip_addresses": ["string"],
},
name="string",
owner="string",
properties_kvpairs={
"properties": {
"string": "string",
},
},
sharing_code="string",
tokens=[{
"activation_url": "string",
"created_at": 0,
"created_by": "string",
"expiration_time": 0,
"id": "string",
"updated_at": 0,
"updated_by": "string",
}])
const recipientResource = new databricks.Recipient("recipientResource", {
authenticationType: "string",
comment: "string",
dataRecipientGlobalMetastoreId: "string",
ipAccessList: {
allowedIpAddresses: ["string"],
},
name: "string",
owner: "string",
propertiesKvpairs: {
properties: {
string: "string",
},
},
sharingCode: "string",
tokens: [{
activationUrl: "string",
createdAt: 0,
createdBy: "string",
expirationTime: 0,
id: "string",
updatedAt: 0,
updatedBy: "string",
}],
});
type: databricks:Recipient
properties:
authenticationType: string
comment: string
dataRecipientGlobalMetastoreId: string
ipAccessList:
allowedIpAddresses:
- string
name: string
owner: string
propertiesKvpairs:
properties:
string: string
sharingCode: string
tokens:
- activationUrl: string
createdAt: 0
createdBy: string
expirationTime: 0
id: string
updatedAt: 0
updatedBy: string
Recipient Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Recipient resource accepts the following input properties:
- Authentication
Type string - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - Comment string
- Description about the recipient.
- Data
Recipient stringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - Ip
Access RecipientList Ip Access List - Recipient IP access list.
- Name string
- Name of recipient. Change forces creation of a new resource.
- Owner string
- Username/groupname/sp application_id of the recipient owner.
- Properties
Kvpairs RecipientProperties Kvpairs - Recipient properties - object consisting of following fields:
- string
- The one-time sharing code provided by the data recipient.
- Tokens
List<Recipient
Token> - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- Authentication
Type string - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - Comment string
- Description about the recipient.
- Data
Recipient stringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - Ip
Access RecipientList Ip Access List Args - Recipient IP access list.
- Name string
- Name of recipient. Change forces creation of a new resource.
- Owner string
- Username/groupname/sp application_id of the recipient owner.
- Properties
Kvpairs RecipientProperties Kvpairs Args - Recipient properties - object consisting of following fields:
- string
- The one-time sharing code provided by the data recipient.
- Tokens
[]Recipient
Token Args - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- authentication
Type String - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - comment String
- Description about the recipient.
- data
Recipient StringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - ip
Access RecipientList Ip Access List - Recipient IP access list.
- name String
- Name of recipient. Change forces creation of a new resource.
- owner String
- Username/groupname/sp application_id of the recipient owner.
- properties
Kvpairs RecipientProperties Kvpairs - Recipient properties - object consisting of following fields:
- String
- The one-time sharing code provided by the data recipient.
- tokens
List<Recipient
Token> - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- authentication
Type string - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - comment string
- Description about the recipient.
- data
Recipient stringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - ip
Access RecipientList Ip Access List - Recipient IP access list.
- name string
- Name of recipient. Change forces creation of a new resource.
- owner string
- Username/groupname/sp application_id of the recipient owner.
- properties
Kvpairs RecipientProperties Kvpairs - Recipient properties - object consisting of following fields:
- string
- The one-time sharing code provided by the data recipient.
- tokens
Recipient
Token[] - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- authentication_
type str - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - comment str
- Description about the recipient.
- data_
recipient_ strglobal_ metastore_ id - Required when
authentication_type
isDATABRICKS
. - ip_
access_ Recipientlist Ip Access List Args - Recipient IP access list.
- name str
- Name of recipient. Change forces creation of a new resource.
- owner str
- Username/groupname/sp application_id of the recipient owner.
- properties_
kvpairs RecipientProperties Kvpairs Args - Recipient properties - object consisting of following fields:
- str
- The one-time sharing code provided by the data recipient.
- tokens
Sequence[Recipient
Token Args] - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- authentication
Type String - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - comment String
- Description about the recipient.
- data
Recipient StringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - ip
Access Property MapList - Recipient IP access list.
- name String
- Name of recipient. Change forces creation of a new resource.
- owner String
- Username/groupname/sp application_id of the recipient owner.
- properties
Kvpairs Property Map - Recipient properties - object consisting of following fields:
- String
- The one-time sharing code provided by the data recipient.
- tokens List<Property Map>
- List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
Outputs
All input properties are implicitly available as output properties. Additionally, the Recipient resource produces the following output properties:
- Activated bool
- Activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- Cloud string
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Created
At int - Time at which this recipient was created, in epoch milliseconds.
- Created
By string - Username of recipient creator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metastore
Id string - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - Region string
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Updated
At int - Time at which this recipient was updated, in epoch milliseconds.
- Updated
By string - Username of recipient Token updater.
- Activated bool
- Activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- Cloud string
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Created
At int - Time at which this recipient was created, in epoch milliseconds.
- Created
By string - Username of recipient creator.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metastore
Id string - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - Region string
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Updated
At int - Time at which this recipient was updated, in epoch milliseconds.
- Updated
By string - Username of recipient Token updater.
- activated Boolean
- activation
Url String - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- cloud String
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - created
At Integer - Time at which this recipient was created, in epoch milliseconds.
- created
By String - Username of recipient creator.
- id String
- The provider-assigned unique ID for this managed resource.
- metastore
Id String - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - region String
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - updated
At Integer - Time at which this recipient was updated, in epoch milliseconds.
- updated
By String - Username of recipient Token updater.
- activated boolean
- activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- cloud string
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - created
At number - Time at which this recipient was created, in epoch milliseconds.
- created
By string - Username of recipient creator.
- id string
- The provider-assigned unique ID for this managed resource.
- metastore
Id string - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - region string
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - updated
At number - Time at which this recipient was updated, in epoch milliseconds.
- updated
By string - Username of recipient Token updater.
- activated bool
- activation_
url str - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- cloud str
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - created_
at int - Time at which this recipient was created, in epoch milliseconds.
- created_
by str - Username of recipient creator.
- id str
- The provider-assigned unique ID for this managed resource.
- metastore_
id str - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - region str
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - updated_
at int - Time at which this recipient was updated, in epoch milliseconds.
- updated_
by str - Username of recipient Token updater.
- activated Boolean
- activation
Url String - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- cloud String
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - created
At Number - Time at which this recipient was created, in epoch milliseconds.
- created
By String - Username of recipient creator.
- id String
- The provider-assigned unique ID for this managed resource.
- metastore
Id String - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - region String
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - updated
At Number - Time at which this recipient was updated, in epoch milliseconds.
- updated
By String - Username of recipient Token updater.
Look up Existing Recipient Resource
Get an existing Recipient resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RecipientState, opts?: CustomResourceOptions): Recipient
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
activated: Optional[bool] = None,
activation_url: Optional[str] = None,
authentication_type: Optional[str] = None,
cloud: Optional[str] = None,
comment: Optional[str] = None,
created_at: Optional[int] = None,
created_by: Optional[str] = None,
data_recipient_global_metastore_id: Optional[str] = None,
ip_access_list: Optional[RecipientIpAccessListArgs] = None,
metastore_id: Optional[str] = None,
name: Optional[str] = None,
owner: Optional[str] = None,
properties_kvpairs: Optional[RecipientPropertiesKvpairsArgs] = None,
region: Optional[str] = None,
sharing_code: Optional[str] = None,
tokens: Optional[Sequence[RecipientTokenArgs]] = None,
updated_at: Optional[int] = None,
updated_by: Optional[str] = None) -> Recipient
func GetRecipient(ctx *Context, name string, id IDInput, state *RecipientState, opts ...ResourceOption) (*Recipient, error)
public static Recipient Get(string name, Input<string> id, RecipientState? state, CustomResourceOptions? opts = null)
public static Recipient get(String name, Output<String> id, RecipientState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Activated bool
- Activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- Authentication
Type string - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - Cloud string
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Comment string
- Description about the recipient.
- Created
At int - Time at which this recipient was created, in epoch milliseconds.
- Created
By string - Username of recipient creator.
- Data
Recipient stringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - Ip
Access RecipientList Ip Access List - Recipient IP access list.
- Metastore
Id string - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - Name string
- Name of recipient. Change forces creation of a new resource.
- Owner string
- Username/groupname/sp application_id of the recipient owner.
- Properties
Kvpairs RecipientProperties Kvpairs - Recipient properties - object consisting of following fields:
- Region string
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Sharing
Code string - The one-time sharing code provided by the data recipient.
- Tokens
List<Recipient
Token> - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- Updated
At int - Time at which this recipient was updated, in epoch milliseconds.
- Updated
By string - Username of recipient Token updater.
- Activated bool
- Activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- Authentication
Type string - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - Cloud string
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Comment string
- Description about the recipient.
- Created
At int - Time at which this recipient was created, in epoch milliseconds.
- Created
By string - Username of recipient creator.
- Data
Recipient stringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - Ip
Access RecipientList Ip Access List Args - Recipient IP access list.
- Metastore
Id string - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - Name string
- Name of recipient. Change forces creation of a new resource.
- Owner string
- Username/groupname/sp application_id of the recipient owner.
- Properties
Kvpairs RecipientProperties Kvpairs Args - Recipient properties - object consisting of following fields:
- Region string
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - Sharing
Code string - The one-time sharing code provided by the data recipient.
- Tokens
[]Recipient
Token Args - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- Updated
At int - Time at which this recipient was updated, in epoch milliseconds.
- Updated
By string - Username of recipient Token updater.
- activated Boolean
- activation
Url String - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- authentication
Type String - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - cloud String
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - comment String
- Description about the recipient.
- created
At Integer - Time at which this recipient was created, in epoch milliseconds.
- created
By String - Username of recipient creator.
- data
Recipient StringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - ip
Access RecipientList Ip Access List - Recipient IP access list.
- metastore
Id String - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - name String
- Name of recipient. Change forces creation of a new resource.
- owner String
- Username/groupname/sp application_id of the recipient owner.
- properties
Kvpairs RecipientProperties Kvpairs - Recipient properties - object consisting of following fields:
- region String
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - sharing
Code String - The one-time sharing code provided by the data recipient.
- tokens
List<Recipient
Token> - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- updated
At Integer - Time at which this recipient was updated, in epoch milliseconds.
- updated
By String - Username of recipient Token updater.
- activated boolean
- activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- authentication
Type string - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - cloud string
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - comment string
- Description about the recipient.
- created
At number - Time at which this recipient was created, in epoch milliseconds.
- created
By string - Username of recipient creator.
- data
Recipient stringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - ip
Access RecipientList Ip Access List - Recipient IP access list.
- metastore
Id string - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - name string
- Name of recipient. Change forces creation of a new resource.
- owner string
- Username/groupname/sp application_id of the recipient owner.
- properties
Kvpairs RecipientProperties Kvpairs - Recipient properties - object consisting of following fields:
- region string
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - sharing
Code string - The one-time sharing code provided by the data recipient.
- tokens
Recipient
Token[] - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- updated
At number - Time at which this recipient was updated, in epoch milliseconds.
- updated
By string - Username of recipient Token updater.
- activated bool
- activation_
url str - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- authentication_
type str - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - cloud str
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - comment str
- Description about the recipient.
- created_
at int - Time at which this recipient was created, in epoch milliseconds.
- created_
by str - Username of recipient creator.
- data_
recipient_ strglobal_ metastore_ id - Required when
authentication_type
isDATABRICKS
. - ip_
access_ Recipientlist Ip Access List Args - Recipient IP access list.
- metastore_
id str - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - name str
- Name of recipient. Change forces creation of a new resource.
- owner str
- Username/groupname/sp application_id of the recipient owner.
- properties_
kvpairs RecipientProperties Kvpairs Args - Recipient properties - object consisting of following fields:
- region str
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - sharing_
code str - The one-time sharing code provided by the data recipient.
- tokens
Sequence[Recipient
Token Args] - List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- updated_
at int - Time at which this recipient was updated, in epoch milliseconds.
- updated_
by str - Username of recipient Token updater.
- activated Boolean
- activation
Url String - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- authentication
Type String - The delta sharing authentication type. Valid values are
TOKEN
andDATABRICKS
. - cloud String
- Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - comment String
- Description about the recipient.
- created
At Number - Time at which this recipient was created, in epoch milliseconds.
- created
By String - Username of recipient creator.
- data
Recipient StringGlobal Metastore Id - Required when
authentication_type
isDATABRICKS
. - ip
Access Property MapList - Recipient IP access list.
- metastore
Id String - Unique identifier of recipient's Unity Catalog metastore. This field is only present when the authentication_type is
DATABRICKS
. - name String
- Name of recipient. Change forces creation of a new resource.
- owner String
- Username/groupname/sp application_id of the recipient owner.
- properties
Kvpairs Property Map - Recipient properties - object consisting of following fields:
- region String
- Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is
DATABRICKS
. - sharing
Code String - The one-time sharing code provided by the data recipient.
- tokens List<Property Map>
- List of Recipient Tokens. This field is only present when the authentication_type is TOKEN. Each list element is an object with following attributes:
- updated
At Number - Time at which this recipient was updated, in epoch milliseconds.
- updated
By String - Username of recipient Token updater.
Supporting Types
RecipientIpAccessList, RecipientIpAccessListArgs
- Allowed
Ip List<string>Addresses - Allowed IP Addresses in CIDR notation. Limit of 100.
- Allowed
Ip []stringAddresses - Allowed IP Addresses in CIDR notation. Limit of 100.
- allowed
Ip List<String>Addresses - Allowed IP Addresses in CIDR notation. Limit of 100.
- allowed
Ip string[]Addresses - Allowed IP Addresses in CIDR notation. Limit of 100.
- allowed_
ip_ Sequence[str]addresses - Allowed IP Addresses in CIDR notation. Limit of 100.
- allowed
Ip List<String>Addresses - Allowed IP Addresses in CIDR notation. Limit of 100.
RecipientPropertiesKvpairs, RecipientPropertiesKvpairsArgs
- Properties Dictionary<string, string>
- a map of string key-value pairs with recipient's properties. Properties with name starting with
databricks.
are reserved.
- Properties map[string]string
- a map of string key-value pairs with recipient's properties. Properties with name starting with
databricks.
are reserved.
- properties Map<String,String>
- a map of string key-value pairs with recipient's properties. Properties with name starting with
databricks.
are reserved.
- properties {[key: string]: string}
- a map of string key-value pairs with recipient's properties. Properties with name starting with
databricks.
are reserved.
- properties Mapping[str, str]
- a map of string key-value pairs with recipient's properties. Properties with name starting with
databricks.
are reserved.
- properties Map<String>
- a map of string key-value pairs with recipient's properties. Properties with name starting with
databricks.
are reserved.
RecipientToken, RecipientTokenArgs
- Activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- Created
At int - Time at which this recipient was created, in epoch milliseconds.
- Created
By string - Username of recipient creator.
- Expiration
Time int - Expiration timestamp of the token in epoch milliseconds.
- Id string
- Unique ID of the recipient token.
- Updated
At int - Time at which this recipient was updated, in epoch milliseconds.
- Updated
By string - Username of recipient Token updater.
- Activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- Created
At int - Time at which this recipient was created, in epoch milliseconds.
- Created
By string - Username of recipient creator.
- Expiration
Time int - Expiration timestamp of the token in epoch milliseconds.
- Id string
- Unique ID of the recipient token.
- Updated
At int - Time at which this recipient was updated, in epoch milliseconds.
- Updated
By string - Username of recipient Token updater.
- activation
Url String - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- created
At Integer - Time at which this recipient was created, in epoch milliseconds.
- created
By String - Username of recipient creator.
- expiration
Time Integer - Expiration timestamp of the token in epoch milliseconds.
- id String
- Unique ID of the recipient token.
- updated
At Integer - Time at which this recipient was updated, in epoch milliseconds.
- updated
By String - Username of recipient Token updater.
- activation
Url string - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- created
At number - Time at which this recipient was created, in epoch milliseconds.
- created
By string - Username of recipient creator.
- expiration
Time number - Expiration timestamp of the token in epoch milliseconds.
- id string
- Unique ID of the recipient token.
- updated
At number - Time at which this recipient was updated, in epoch milliseconds.
- updated
By string - Username of recipient Token updater.
- activation_
url str - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- created_
at int - Time at which this recipient was created, in epoch milliseconds.
- created_
by str - Username of recipient creator.
- expiration_
time int - Expiration timestamp of the token in epoch milliseconds.
- id str
- Unique ID of the recipient token.
- updated_
at int - Time at which this recipient was updated, in epoch milliseconds.
- updated_
by str - Username of recipient Token updater.
- activation
Url String - Full activation URL to retrieve the access token. It will be empty if the token is already retrieved.
- created
At Number - Time at which this recipient was created, in epoch milliseconds.
- created
By String - Username of recipient creator.
- expiration
Time Number - Expiration timestamp of the token in epoch milliseconds.
- id String
- Unique ID of the recipient token.
- updated
At Number - Time at which this recipient was updated, in epoch milliseconds.
- updated
By String - Username of recipient Token updater.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.