databricks logo
Databricks v1.14.0, May 23 23

databricks.SqlVisualization

Explore with Pulumi AI

Import

You can import a databricks_sql_visualization resource with ID like the followingbash

 $ pulumi import databricks:index/sqlVisualization:SqlVisualization this <query-id>/<visualization-id>

Create SqlVisualization Resource

new SqlVisualization(name: string, args: SqlVisualizationArgs, opts?: CustomResourceOptions);
@overload
def SqlVisualization(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None,
                     options: Optional[str] = None,
                     query_id: Optional[str] = None,
                     query_plan: Optional[str] = None,
                     type: Optional[str] = None,
                     visualization_id: Optional[str] = None)
@overload
def SqlVisualization(resource_name: str,
                     args: SqlVisualizationArgs,
                     opts: Optional[ResourceOptions] = None)
func NewSqlVisualization(ctx *Context, name string, args SqlVisualizationArgs, opts ...ResourceOption) (*SqlVisualization, error)
public SqlVisualization(string name, SqlVisualizationArgs args, CustomResourceOptions? opts = null)
public SqlVisualization(String name, SqlVisualizationArgs args)
public SqlVisualization(String name, SqlVisualizationArgs args, CustomResourceOptions options)
type: databricks:SqlVisualization
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SqlVisualizationArgs
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 SqlVisualizationArgs
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 SqlVisualizationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SqlVisualizationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SqlVisualizationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SqlVisualization Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The SqlVisualization resource accepts the following input properties:

Options string
QueryId string
Type string
Description string
Name string
QueryPlan string
VisualizationId string
Options string
QueryId string
Type string
Description string
Name string
QueryPlan string
VisualizationId string
options String
queryId String
type String
description String
name String
queryPlan String
visualizationId String
options string
queryId string
type string
description string
name string
queryPlan string
visualizationId string
options String
queryId String
type String
description String
name String
queryPlan String
visualizationId String

Outputs

All input properties are implicitly available as output properties. Additionally, the SqlVisualization resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing SqlVisualization Resource

Get an existing SqlVisualization 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?: SqlVisualizationState, opts?: CustomResourceOptions): SqlVisualization
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        options: Optional[str] = None,
        query_id: Optional[str] = None,
        query_plan: Optional[str] = None,
        type: Optional[str] = None,
        visualization_id: Optional[str] = None) -> SqlVisualization
func GetSqlVisualization(ctx *Context, name string, id IDInput, state *SqlVisualizationState, opts ...ResourceOption) (*SqlVisualization, error)
public static SqlVisualization Get(string name, Input<string> id, SqlVisualizationState? state, CustomResourceOptions? opts = null)
public static SqlVisualization get(String name, Output<String> id, SqlVisualizationState 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.
The following state arguments are supported:
Description string
Name string
Options string
QueryId string
QueryPlan string
Type string
VisualizationId string
Description string
Name string
Options string
QueryId string
QueryPlan string
Type string
VisualizationId string
description String
name String
options String
queryId String
queryPlan String
type String
visualizationId String
description string
name string
options string
queryId string
queryPlan string
type string
visualizationId string
description String
name String
options String
queryId String
queryPlan String
type String
visualizationId String

Package Details

Repository
databricks pulumi/pulumi-databricks
License
Apache-2.0
Notes

This Pulumi package is based on the databricks Terraform Provider.