github.com/databricks/cli@v0.203.0/bundle/internal/tf/schema/resource_table.go (about)

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type ResourceTableColumn struct {
     6  	Comment          string `json:"comment,omitempty"`
     7  	Name             string `json:"name"`
     8  	Nullable         bool   `json:"nullable,omitempty"`
     9  	PartitionIndex   int    `json:"partition_index,omitempty"`
    10  	Position         int    `json:"position"`
    11  	TypeIntervalType string `json:"type_interval_type,omitempty"`
    12  	TypeJson         string `json:"type_json,omitempty"`
    13  	TypeName         string `json:"type_name"`
    14  	TypePrecision    int    `json:"type_precision,omitempty"`
    15  	TypeScale        int    `json:"type_scale,omitempty"`
    16  	TypeText         string `json:"type_text"`
    17  }
    18  
    19  type ResourceTable struct {
    20  	CatalogName           string                `json:"catalog_name"`
    21  	Comment               string                `json:"comment,omitempty"`
    22  	DataSourceFormat      string                `json:"data_source_format"`
    23  	Id                    string                `json:"id,omitempty"`
    24  	Name                  string                `json:"name"`
    25  	Owner                 string                `json:"owner,omitempty"`
    26  	Properties            map[string]string     `json:"properties,omitempty"`
    27  	SchemaName            string                `json:"schema_name"`
    28  	StorageCredentialName string                `json:"storage_credential_name,omitempty"`
    29  	StorageLocation       string                `json:"storage_location,omitempty"`
    30  	TableType             string                `json:"table_type"`
    31  	ViewDefinition        string                `json:"view_definition,omitempty"`
    32  	Column                []ResourceTableColumn `json:"column,omitempty"`
    33  }