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

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type ResourceGrantsGrant struct {
     6  	Principal  string   `json:"principal"`
     7  	Privileges []string `json:"privileges"`
     8  }
     9  
    10  type ResourceGrants struct {
    11  	Catalog           string                `json:"catalog,omitempty"`
    12  	ExternalLocation  string                `json:"external_location,omitempty"`
    13  	Function          string                `json:"function,omitempty"`
    14  	Id                string                `json:"id,omitempty"`
    15  	MaterializedView  string                `json:"materialized_view,omitempty"`
    16  	Metastore         string                `json:"metastore,omitempty"`
    17  	Schema            string                `json:"schema,omitempty"`
    18  	Share             string                `json:"share,omitempty"`
    19  	StorageCredential string                `json:"storage_credential,omitempty"`
    20  	Table             string                `json:"table,omitempty"`
    21  	View              string                `json:"view,omitempty"`
    22  	Volume            string                `json:"volume,omitempty"`
    23  	Grant             []ResourceGrantsGrant `json:"grant,omitempty"`
    24  }