@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
118 lines (117 loc) • 3.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Import
*
* As of Pulumi v1.5, resources can be imported through configuration.
*
* hcl
*
* import {
*
* id = "entity_type,entity_name,tag_key"
*
* to = databricks_entity_tag_assignment.this
*
* }
*
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
*
* ```sh
* $ pulumi import databricks:index/entityTagAssignment:EntityTagAssignment databricks_entity_tag_assignment "entity_type,entity_name,tag_key"
* ```
*/
export declare class EntityTagAssignment extends pulumi.CustomResource {
/**
* Get an existing EntityTagAssignment resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EntityTagAssignmentState, opts?: pulumi.CustomResourceOptions): EntityTagAssignment;
/**
* Returns true if the given object is an instance of EntityTagAssignment. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is EntityTagAssignment;
/**
* The fully qualified name of the entity to which the tag is assigned
*/
readonly entityName: pulumi.Output<string>;
/**
* The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
*/
readonly entityType: pulumi.Output<string>;
/**
* The key of the tag
*/
readonly tagKey: pulumi.Output<string>;
/**
* The value of the tag
*/
readonly tagValue: pulumi.Output<string | undefined>;
/**
* Workspace ID of the resource
*/
readonly workspaceId: pulumi.Output<string | undefined>;
/**
* Create a EntityTagAssignment resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: EntityTagAssignmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EntityTagAssignment resources.
*/
export interface EntityTagAssignmentState {
/**
* The fully qualified name of the entity to which the tag is assigned
*/
entityName?: pulumi.Input<string>;
/**
* The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
*/
entityType?: pulumi.Input<string>;
/**
* The key of the tag
*/
tagKey?: pulumi.Input<string>;
/**
* The value of the tag
*/
tagValue?: pulumi.Input<string>;
/**
* Workspace ID of the resource
*/
workspaceId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a EntityTagAssignment resource.
*/
export interface EntityTagAssignmentArgs {
/**
* The fully qualified name of the entity to which the tag is assigned
*/
entityName: pulumi.Input<string>;
/**
* The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
*/
entityType: pulumi.Input<string>;
/**
* The key of the tag
*/
tagKey: pulumi.Input<string>;
/**
* The value of the tag
*/
tagValue?: pulumi.Input<string>;
/**
* Workspace ID of the resource
*/
workspaceId?: pulumi.Input<string>;
}