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

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type ResourceMountAbfs struct {
     6  	ClientId             string `json:"client_id"`
     7  	ClientSecretKey      string `json:"client_secret_key"`
     8  	ClientSecretScope    string `json:"client_secret_scope"`
     9  	ContainerName        string `json:"container_name,omitempty"`
    10  	Directory            string `json:"directory,omitempty"`
    11  	InitializeFileSystem bool   `json:"initialize_file_system"`
    12  	StorageAccountName   string `json:"storage_account_name,omitempty"`
    13  	TenantId             string `json:"tenant_id,omitempty"`
    14  }
    15  
    16  type ResourceMountAdl struct {
    17  	ClientId            string `json:"client_id"`
    18  	ClientSecretKey     string `json:"client_secret_key"`
    19  	ClientSecretScope   string `json:"client_secret_scope"`
    20  	Directory           string `json:"directory,omitempty"`
    21  	SparkConfPrefix     string `json:"spark_conf_prefix,omitempty"`
    22  	StorageResourceName string `json:"storage_resource_name,omitempty"`
    23  	TenantId            string `json:"tenant_id,omitempty"`
    24  }
    25  
    26  type ResourceMountGs struct {
    27  	BucketName     string `json:"bucket_name"`
    28  	ServiceAccount string `json:"service_account,omitempty"`
    29  }
    30  
    31  type ResourceMountS3 struct {
    32  	BucketName      string `json:"bucket_name"`
    33  	InstanceProfile string `json:"instance_profile,omitempty"`
    34  }
    35  
    36  type ResourceMountWasb struct {
    37  	AuthType           string `json:"auth_type"`
    38  	ContainerName      string `json:"container_name,omitempty"`
    39  	Directory          string `json:"directory,omitempty"`
    40  	StorageAccountName string `json:"storage_account_name,omitempty"`
    41  	TokenSecretKey     string `json:"token_secret_key"`
    42  	TokenSecretScope   string `json:"token_secret_scope"`
    43  }
    44  
    45  type ResourceMount struct {
    46  	ClusterId      string             `json:"cluster_id,omitempty"`
    47  	EncryptionType string             `json:"encryption_type,omitempty"`
    48  	ExtraConfigs   map[string]string  `json:"extra_configs,omitempty"`
    49  	Id             string             `json:"id,omitempty"`
    50  	Name           string             `json:"name,omitempty"`
    51  	ResourceId     string             `json:"resource_id,omitempty"`
    52  	Source         string             `json:"source,omitempty"`
    53  	Uri            string             `json:"uri,omitempty"`
    54  	Abfs           *ResourceMountAbfs `json:"abfs,omitempty"`
    55  	Adl            *ResourceMountAdl  `json:"adl,omitempty"`
    56  	Gs             *ResourceMountGs   `json:"gs,omitempty"`
    57  	S3             *ResourceMountS3   `json:"s3,omitempty"`
    58  	Wasb           *ResourceMountWasb `json:"wasb,omitempty"`
    59  }