1. Packages
  2. Databricks Provider
  3. API Docs
  4. CleanRoomAutoApprovalRule
Databricks v1.74.0 published on Thursday, Aug 14, 2025 by Pulumi

databricks.CleanRoomAutoApprovalRule

Explore with Pulumi AI

databricks logo
Databricks v1.74.0 published on Thursday, Aug 14, 2025 by Pulumi

    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:

    AuthorCollaboratorAlias string
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    AuthorScope string
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    CleanRoomName string
    The name of the clean room this auto-approval rule belongs to
    RunnerCollaboratorAlias string
    Collaborator alias of the runner covered by the rule
    AuthorCollaboratorAlias string
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    AuthorScope string
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    CleanRoomName string
    The name of the clean room this auto-approval rule belongs to
    RunnerCollaboratorAlias string
    Collaborator alias of the runner covered by the rule
    authorCollaboratorAlias String
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    authorScope String
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    cleanRoomName String
    The name of the clean room this auto-approval rule belongs to
    runnerCollaboratorAlias String
    Collaborator alias of the runner covered by the rule
    authorCollaboratorAlias string
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    authorScope string
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    cleanRoomName string
    The name of the clean room this auto-approval rule belongs to
    runnerCollaboratorAlias string
    Collaborator alias of the runner covered by the rule
    author_collaborator_alias str
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    author_scope str
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    clean_room_name str
    The name of the clean room this auto-approval rule belongs to
    runner_collaborator_alias str
    Collaborator alias of the runner covered by the rule
    authorCollaboratorAlias String
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    authorScope String
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    cleanRoomName String
    The name of the clean room this auto-approval rule belongs to
    runnerCollaboratorAlias String
    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:

    CreatedAt int
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    (string) - A generated UUID identifying the rule
    RuleOwnerCollaboratorAlias string
    (string) - The owner of the rule to whom the rule applies
    CreatedAt int
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    (string) - A generated UUID identifying the rule
    RuleOwnerCollaboratorAlias string
    (string) - The owner of the rule to whom the rule applies
    createdAt Integer
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    (string) - A generated UUID identifying the rule
    ruleOwnerCollaboratorAlias String
    (string) - The owner of the rule to whom the rule applies
    createdAt number
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    id string
    The provider-assigned unique ID for this managed resource.
    ruleId string
    (string) - A generated UUID identifying the rule
    ruleOwnerCollaboratorAlias string
    (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_collaborator_alias str
    (string) - The owner of the rule to whom the rule applies
    createdAt Number
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    (string) - A generated UUID identifying the rule
    ruleOwnerCollaboratorAlias String
    (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.
    The following state arguments are supported:
    AuthorCollaboratorAlias string
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    AuthorScope string
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    CleanRoomName string
    The name of the clean room this auto-approval rule belongs to
    CreatedAt int
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    RuleId string
    (string) - A generated UUID identifying the rule
    RuleOwnerCollaboratorAlias string
    (string) - The owner of the rule to whom the rule applies
    RunnerCollaboratorAlias string
    Collaborator alias of the runner covered by the rule
    AuthorCollaboratorAlias string
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    AuthorScope string
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    CleanRoomName string
    The name of the clean room this auto-approval rule belongs to
    CreatedAt int
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    RuleId string
    (string) - A generated UUID identifying the rule
    RuleOwnerCollaboratorAlias string
    (string) - The owner of the rule to whom the rule applies
    RunnerCollaboratorAlias string
    Collaborator alias of the runner covered by the rule
    authorCollaboratorAlias String
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    authorScope String
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    cleanRoomName String
    The name of the clean room this auto-approval rule belongs to
    createdAt Integer
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    ruleId String
    (string) - A generated UUID identifying the rule
    ruleOwnerCollaboratorAlias String
    (string) - The owner of the rule to whom the rule applies
    runnerCollaboratorAlias String
    Collaborator alias of the runner covered by the rule
    authorCollaboratorAlias string
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    authorScope string
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    cleanRoomName string
    The name of the clean room this auto-approval rule belongs to
    createdAt number
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    ruleId string
    (string) - A generated UUID identifying the rule
    ruleOwnerCollaboratorAlias string
    (string) - The owner of the rule to whom the rule applies
    runnerCollaboratorAlias string
    Collaborator alias of the runner covered by the rule
    author_collaborator_alias str
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    author_scope str
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    clean_room_name str
    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_collaborator_alias str
    (string) - The owner of the rule to whom the rule applies
    runner_collaborator_alias str
    Collaborator alias of the runner covered by the rule
    authorCollaboratorAlias String
    Collaborator alias of the author covered by the rule. Only one of author_collaborator_alias and author_scope can be set
    authorScope String
    Scope of authors covered by the rule. Only one of author_collaborator_alias and author_scope can be set. Possible values are: ANY_AUTHOR
    cleanRoomName String
    The name of the clean room this auto-approval rule belongs to
    createdAt Number
    (integer) - Timestamp of when the rule was created, in epoch milliseconds
    ruleId String
    (string) - A generated UUID identifying the rule
    ruleOwnerCollaboratorAlias String
    (string) - The owner of the rule to whom the rule applies
    runnerCollaboratorAlias String
    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.
    databricks logo
    Databricks v1.74.0 published on Thursday, Aug 14, 2025 by Pulumi