databricks.CleanRoomAutoApprovalRule
Explore with Pulumi AI
Import
As of Pulumi v1.5, resources can be imported through configuration.
hcl
import {
id = rule_id
to = databricks_clean_room_auto_approval_rule.this
}
If you are using an older version of Pulumi, import the resource using the pulumi import
command as follows:
$ pulumi import databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule databricks_clean_room_auto_approval_rule rule_id
Create CleanRoomAutoApprovalRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CleanRoomAutoApprovalRule(name: string, args?: CleanRoomAutoApprovalRuleArgs, opts?: CustomResourceOptions);
@overload
def CleanRoomAutoApprovalRule(resource_name: str,
args: Optional[CleanRoomAutoApprovalRuleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CleanRoomAutoApprovalRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
author_collaborator_alias: Optional[str] = None,
author_scope: Optional[str] = None,
clean_room_name: Optional[str] = None,
runner_collaborator_alias: Optional[str] = None)
func NewCleanRoomAutoApprovalRule(ctx *Context, name string, args *CleanRoomAutoApprovalRuleArgs, opts ...ResourceOption) (*CleanRoomAutoApprovalRule, error)
public CleanRoomAutoApprovalRule(string name, CleanRoomAutoApprovalRuleArgs? args = null, CustomResourceOptions? opts = null)
public CleanRoomAutoApprovalRule(String name, CleanRoomAutoApprovalRuleArgs args)
public CleanRoomAutoApprovalRule(String name, CleanRoomAutoApprovalRuleArgs args, CustomResourceOptions options)
type: databricks:CleanRoomAutoApprovalRule
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 CleanRoomAutoApprovalRuleArgs
- 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 CleanRoomAutoApprovalRuleArgs
- 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 CleanRoomAutoApprovalRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CleanRoomAutoApprovalRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CleanRoomAutoApprovalRuleArgs
- 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 cleanRoomAutoApprovalRuleResource = new Databricks.CleanRoomAutoApprovalRule("cleanRoomAutoApprovalRuleResource", new()
{
AuthorCollaboratorAlias = "string",
AuthorScope = "string",
CleanRoomName = "string",
RunnerCollaboratorAlias = "string",
});
example, err := databricks.NewCleanRoomAutoApprovalRule(ctx, "cleanRoomAutoApprovalRuleResource", &databricks.CleanRoomAutoApprovalRuleArgs{
AuthorCollaboratorAlias: pulumi.String("string"),
AuthorScope: pulumi.String("string"),
CleanRoomName: pulumi.String("string"),
RunnerCollaboratorAlias: pulumi.String("string"),
})
var cleanRoomAutoApprovalRuleResource = new CleanRoomAutoApprovalRule("cleanRoomAutoApprovalRuleResource", CleanRoomAutoApprovalRuleArgs.builder()
.authorCollaboratorAlias("string")
.authorScope("string")
.cleanRoomName("string")
.runnerCollaboratorAlias("string")
.build());
clean_room_auto_approval_rule_resource = databricks.CleanRoomAutoApprovalRule("cleanRoomAutoApprovalRuleResource",
author_collaborator_alias="string",
author_scope="string",
clean_room_name="string",
runner_collaborator_alias="string")
const cleanRoomAutoApprovalRuleResource = new databricks.CleanRoomAutoApprovalRule("cleanRoomAutoApprovalRuleResource", {
authorCollaboratorAlias: "string",
authorScope: "string",
cleanRoomName: "string",
runnerCollaboratorAlias: "string",
});
type: databricks:CleanRoomAutoApprovalRule
properties:
authorCollaboratorAlias: string
authorScope: string
cleanRoomName: string
runnerCollaboratorAlias: string
CleanRoomAutoApprovalRule 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 CleanRoomAutoApprovalRule resource accepts the following input properties:
- string
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - string
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- Clean
Room stringName - The name of the clean room this auto-approval rule belongs to
- Runner
Collaborator stringAlias - Collaborator alias of the runner covered by the rule
- string
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - string
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- Clean
Room stringName - The name of the clean room this auto-approval rule belongs to
- Runner
Collaborator stringAlias - Collaborator alias of the runner covered by the rule
- String
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - String
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean
Room StringName - The name of the clean room this auto-approval rule belongs to
- runner
Collaborator StringAlias - Collaborator alias of the runner covered by the rule
- string
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - string
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean
Room stringName - The name of the clean room this auto-approval rule belongs to
- runner
Collaborator stringAlias - Collaborator alias of the runner covered by the rule
- str
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - str
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean_
room_ strname - The name of the clean room this auto-approval rule belongs to
- runner_
collaborator_ stralias - Collaborator alias of the runner covered by the rule
- String
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - String
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean
Room StringName - The name of the clean room this auto-approval rule belongs to
- runner
Collaborator StringAlias - Collaborator alias of the runner covered by the rule
Outputs
All input properties are implicitly available as output properties. Additionally, the CleanRoomAutoApprovalRule resource produces the following output properties:
- Created
At int - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Id string - (string) - A generated UUID identifying the rule
- Rule
Owner stringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- Created
At int - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Id string - (string) - A generated UUID identifying the rule
- Rule
Owner stringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- created
At Integer - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Id String - (string) - A generated UUID identifying the rule
- rule
Owner StringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- created
At number - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- id string
- The provider-assigned unique ID for this managed resource.
- rule
Id string - (string) - A generated UUID identifying the rule
- rule
Owner stringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- created_
at int - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- id str
- The provider-assigned unique ID for this managed resource.
- rule_
id str - (string) - A generated UUID identifying the rule
- rule_
owner_ strcollaborator_ alias - (string) - The owner of the rule to whom the rule applies
- created
At Number - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Id String - (string) - A generated UUID identifying the rule
- rule
Owner StringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
Look up Existing CleanRoomAutoApprovalRule Resource
Get an existing CleanRoomAutoApprovalRule 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?: CleanRoomAutoApprovalRuleState, opts?: CustomResourceOptions): CleanRoomAutoApprovalRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
author_collaborator_alias: Optional[str] = None,
author_scope: Optional[str] = None,
clean_room_name: Optional[str] = None,
created_at: Optional[int] = None,
rule_id: Optional[str] = None,
rule_owner_collaborator_alias: Optional[str] = None,
runner_collaborator_alias: Optional[str] = None) -> CleanRoomAutoApprovalRule
func GetCleanRoomAutoApprovalRule(ctx *Context, name string, id IDInput, state *CleanRoomAutoApprovalRuleState, opts ...ResourceOption) (*CleanRoomAutoApprovalRule, error)
public static CleanRoomAutoApprovalRule Get(string name, Input<string> id, CleanRoomAutoApprovalRuleState? state, CustomResourceOptions? opts = null)
public static CleanRoomAutoApprovalRule get(String name, Output<String> id, CleanRoomAutoApprovalRuleState state, CustomResourceOptions options)
resources: _: type: databricks:CleanRoomAutoApprovalRule get: id: ${id}
- 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.
- string
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - string
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- Clean
Room stringName - The name of the clean room this auto-approval rule belongs to
- Created
At int - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- Rule
Id string - (string) - A generated UUID identifying the rule
- Rule
Owner stringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- Runner
Collaborator stringAlias - Collaborator alias of the runner covered by the rule
- string
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - string
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- Clean
Room stringName - The name of the clean room this auto-approval rule belongs to
- Created
At int - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- Rule
Id string - (string) - A generated UUID identifying the rule
- Rule
Owner stringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- Runner
Collaborator stringAlias - Collaborator alias of the runner covered by the rule
- String
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - String
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean
Room StringName - The name of the clean room this auto-approval rule belongs to
- created
At Integer - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- rule
Id String - (string) - A generated UUID identifying the rule
- rule
Owner StringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- runner
Collaborator StringAlias - Collaborator alias of the runner covered by the rule
- string
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - string
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean
Room stringName - The name of the clean room this auto-approval rule belongs to
- created
At number - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- rule
Id string - (string) - A generated UUID identifying the rule
- rule
Owner stringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- runner
Collaborator stringAlias - Collaborator alias of the runner covered by the rule
- str
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - str
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean_
room_ strname - The name of the clean room this auto-approval rule belongs to
- created_
at int - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- rule_
id str - (string) - A generated UUID identifying the rule
- rule_
owner_ strcollaborator_ alias - (string) - The owner of the rule to whom the rule applies
- runner_
collaborator_ stralias - Collaborator alias of the runner covered by the rule
- String
- Collaborator alias of the author covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set - String
- Scope of authors covered by the rule.
Only one of
author_collaborator_alias
andauthor_scope
can be set. Possible values are:ANY_AUTHOR
- clean
Room StringName - The name of the clean room this auto-approval rule belongs to
- created
At Number - (integer) - Timestamp of when the rule was created, in epoch milliseconds
- rule
Id String - (string) - A generated UUID identifying the rule
- rule
Owner StringCollaborator Alias - (string) - The owner of the rule to whom the rule applies
- runner
Collaborator StringAlias - Collaborator alias of the runner covered by the rule
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.