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
- Query
Id string - Type string
- Description string
- Name string
- Query
Plan string - Visualization
Id string
- Options string
- Query
Id string - Type string
- Description string
- Name string
- Query
Plan string - Visualization
Id string
- options String
- query
Id String - type String
- description String
- name String
- query
Plan String - visualization
Id String
- options string
- query
Id string - type string
- description string
- name string
- query
Plan string - visualization
Id string
- options str
- query_
id str - type str
- description str
- name str
- query_
plan str - visualization_
id str
- options String
- query
Id String - type String
- description String
- name String
- query
Plan String - visualization
Id 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.
- Description string
- Name string
- Options string
- Query
Id string - Query
Plan string - Type string
- Visualization
Id string
- Description string
- Name string
- Options string
- Query
Id string - Query
Plan string - Type string
- Visualization
Id string
- description String
- name String
- options String
- query
Id String - query
Plan String - type String
- visualization
Id String
- description string
- name string
- options string
- query
Id string - query
Plan string - type string
- visualization
Id string
- description str
- name str
- options str
- query_
id str - query_
plan str - type str
- visualization_
id str
- description String
- name String
- options String
- query
Id String - query
Plan String - type String
- visualization
Id String
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
databricks
Terraform Provider.