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

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type ResourceShareObjectPartitionValue struct {
     6  	Name                 string `json:"name"`
     7  	Op                   string `json:"op"`
     8  	RecipientPropertyKey string `json:"recipient_property_key,omitempty"`
     9  	Value                string `json:"value,omitempty"`
    10  }
    11  
    12  type ResourceShareObjectPartition struct {
    13  	Value []ResourceShareObjectPartitionValue `json:"value,omitempty"`
    14  }
    15  
    16  type ResourceShareObject struct {
    17  	AddedAt                  int                            `json:"added_at,omitempty"`
    18  	AddedBy                  string                         `json:"added_by,omitempty"`
    19  	CdfEnabled               bool                           `json:"cdf_enabled,omitempty"`
    20  	Comment                  string                         `json:"comment,omitempty"`
    21  	DataObjectType           string                         `json:"data_object_type"`
    22  	HistoryDataSharingStatus string                         `json:"history_data_sharing_status,omitempty"`
    23  	Name                     string                         `json:"name"`
    24  	SharedAs                 string                         `json:"shared_as,omitempty"`
    25  	StartVersion             int                            `json:"start_version,omitempty"`
    26  	Status                   string                         `json:"status,omitempty"`
    27  	Partition                []ResourceShareObjectPartition `json:"partition,omitempty"`
    28  }
    29  
    30  type ResourceShare struct {
    31  	CreatedAt int                   `json:"created_at,omitempty"`
    32  	CreatedBy string                `json:"created_by,omitempty"`
    33  	Id        string                `json:"id,omitempty"`
    34  	Name      string                `json:"name"`
    35  	Object    []ResourceShareObject `json:"object,omitempty"`
    36  }