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

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type Resources struct {
     6  	AccessControlRuleSet     map[string]*ResourceAccessControlRuleSet     `json:"databricks_access_control_rule_set,omitempty"`
     7  	AwsS3Mount               map[string]*ResourceAwsS3Mount               `json:"databricks_aws_s3_mount,omitempty"`
     8  	AzureAdlsGen1Mount       map[string]*ResourceAzureAdlsGen1Mount       `json:"databricks_azure_adls_gen1_mount,omitempty"`
     9  	AzureAdlsGen2Mount       map[string]*ResourceAzureAdlsGen2Mount       `json:"databricks_azure_adls_gen2_mount,omitempty"`
    10  	AzureBlobMount           map[string]*ResourceAzureBlobMount           `json:"databricks_azure_blob_mount,omitempty"`
    11  	Catalog                  map[string]*ResourceCatalog                  `json:"databricks_catalog,omitempty"`
    12  	CatalogWorkspaceBinding  map[string]*ResourceCatalogWorkspaceBinding  `json:"databricks_catalog_workspace_binding,omitempty"`
    13  	Cluster                  map[string]*ResourceCluster                  `json:"databricks_cluster,omitempty"`
    14  	ClusterPolicy            map[string]*ResourceClusterPolicy            `json:"databricks_cluster_policy,omitempty"`
    15  	DbfsFile                 map[string]*ResourceDbfsFile                 `json:"databricks_dbfs_file,omitempty"`
    16  	Directory                map[string]*ResourceDirectory                `json:"databricks_directory,omitempty"`
    17  	Entitlements             map[string]*ResourceEntitlements             `json:"databricks_entitlements,omitempty"`
    18  	ExternalLocation         map[string]*ResourceExternalLocation         `json:"databricks_external_location,omitempty"`
    19  	GitCredential            map[string]*ResourceGitCredential            `json:"databricks_git_credential,omitempty"`
    20  	GlobalInitScript         map[string]*ResourceGlobalInitScript         `json:"databricks_global_init_script,omitempty"`
    21  	Grants                   map[string]*ResourceGrants                   `json:"databricks_grants,omitempty"`
    22  	Group                    map[string]*ResourceGroup                    `json:"databricks_group,omitempty"`
    23  	GroupInstanceProfile     map[string]*ResourceGroupInstanceProfile     `json:"databricks_group_instance_profile,omitempty"`
    24  	GroupMember              map[string]*ResourceGroupMember              `json:"databricks_group_member,omitempty"`
    25  	GroupRole                map[string]*ResourceGroupRole                `json:"databricks_group_role,omitempty"`
    26  	InstancePool             map[string]*ResourceInstancePool             `json:"databricks_instance_pool,omitempty"`
    27  	InstanceProfile          map[string]*ResourceInstanceProfile          `json:"databricks_instance_profile,omitempty"`
    28  	IpAccessList             map[string]*ResourceIpAccessList             `json:"databricks_ip_access_list,omitempty"`
    29  	Job                      map[string]*ResourceJob                      `json:"databricks_job,omitempty"`
    30  	Library                  map[string]*ResourceLibrary                  `json:"databricks_library,omitempty"`
    31  	Metastore                map[string]*ResourceMetastore                `json:"databricks_metastore,omitempty"`
    32  	MetastoreAssignment      map[string]*ResourceMetastoreAssignment      `json:"databricks_metastore_assignment,omitempty"`
    33  	MetastoreDataAccess      map[string]*ResourceMetastoreDataAccess      `json:"databricks_metastore_data_access,omitempty"`
    34  	MlflowExperiment         map[string]*ResourceMlflowExperiment         `json:"databricks_mlflow_experiment,omitempty"`
    35  	MlflowModel              map[string]*ResourceMlflowModel              `json:"databricks_mlflow_model,omitempty"`
    36  	MlflowWebhook            map[string]*ResourceMlflowWebhook            `json:"databricks_mlflow_webhook,omitempty"`
    37  	ModelServing             map[string]*ResourceModelServing             `json:"databricks_model_serving,omitempty"`
    38  	Mount                    map[string]*ResourceMount                    `json:"databricks_mount,omitempty"`
    39  	MwsCredentials           map[string]*ResourceMwsCredentials           `json:"databricks_mws_credentials,omitempty"`
    40  	MwsCustomerManagedKeys   map[string]*ResourceMwsCustomerManagedKeys   `json:"databricks_mws_customer_managed_keys,omitempty"`
    41  	MwsLogDelivery           map[string]*ResourceMwsLogDelivery           `json:"databricks_mws_log_delivery,omitempty"`
    42  	MwsNetworks              map[string]*ResourceMwsNetworks              `json:"databricks_mws_networks,omitempty"`
    43  	MwsPermissionAssignment  map[string]*ResourceMwsPermissionAssignment  `json:"databricks_mws_permission_assignment,omitempty"`
    44  	MwsPrivateAccessSettings map[string]*ResourceMwsPrivateAccessSettings `json:"databricks_mws_private_access_settings,omitempty"`
    45  	MwsStorageConfigurations map[string]*ResourceMwsStorageConfigurations `json:"databricks_mws_storage_configurations,omitempty"`
    46  	MwsVpcEndpoint           map[string]*ResourceMwsVpcEndpoint           `json:"databricks_mws_vpc_endpoint,omitempty"`
    47  	MwsWorkspaces            map[string]*ResourceMwsWorkspaces            `json:"databricks_mws_workspaces,omitempty"`
    48  	Notebook                 map[string]*ResourceNotebook                 `json:"databricks_notebook,omitempty"`
    49  	OboToken                 map[string]*ResourceOboToken                 `json:"databricks_obo_token,omitempty"`
    50  	PermissionAssignment     map[string]*ResourcePermissionAssignment     `json:"databricks_permission_assignment,omitempty"`
    51  	Permissions              map[string]*ResourcePermissions              `json:"databricks_permissions,omitempty"`
    52  	Pipeline                 map[string]*ResourcePipeline                 `json:"databricks_pipeline,omitempty"`
    53  	Provider                 map[string]*ResourceProvider                 `json:"databricks_provider,omitempty"`
    54  	Recipient                map[string]*ResourceRecipient                `json:"databricks_recipient,omitempty"`
    55  	Repo                     map[string]*ResourceRepo                     `json:"databricks_repo,omitempty"`
    56  	Schema                   map[string]*ResourceSchema                   `json:"databricks_schema,omitempty"`
    57  	Secret                   map[string]*ResourceSecret                   `json:"databricks_secret,omitempty"`
    58  	SecretAcl                map[string]*ResourceSecretAcl                `json:"databricks_secret_acl,omitempty"`
    59  	SecretScope              map[string]*ResourceSecretScope              `json:"databricks_secret_scope,omitempty"`
    60  	ServicePrincipal         map[string]*ResourceServicePrincipal         `json:"databricks_service_principal,omitempty"`
    61  	ServicePrincipalRole     map[string]*ResourceServicePrincipalRole     `json:"databricks_service_principal_role,omitempty"`
    62  	ServicePrincipalSecret   map[string]*ResourceServicePrincipalSecret   `json:"databricks_service_principal_secret,omitempty"`
    63  	Share                    map[string]*ResourceShare                    `json:"databricks_share,omitempty"`
    64  	SqlAlert                 map[string]*ResourceSqlAlert                 `json:"databricks_sql_alert,omitempty"`
    65  	SqlDashboard             map[string]*ResourceSqlDashboard             `json:"databricks_sql_dashboard,omitempty"`
    66  	SqlEndpoint              map[string]*ResourceSqlEndpoint              `json:"databricks_sql_endpoint,omitempty"`
    67  	SqlGlobalConfig          map[string]*ResourceSqlGlobalConfig          `json:"databricks_sql_global_config,omitempty"`
    68  	SqlPermissions           map[string]*ResourceSqlPermissions           `json:"databricks_sql_permissions,omitempty"`
    69  	SqlQuery                 map[string]*ResourceSqlQuery                 `json:"databricks_sql_query,omitempty"`
    70  	SqlTable                 map[string]*ResourceSqlTable                 `json:"databricks_sql_table,omitempty"`
    71  	SqlVisualization         map[string]*ResourceSqlVisualization         `json:"databricks_sql_visualization,omitempty"`
    72  	SqlWidget                map[string]*ResourceSqlWidget                `json:"databricks_sql_widget,omitempty"`
    73  	StorageCredential        map[string]*ResourceStorageCredential        `json:"databricks_storage_credential,omitempty"`
    74  	Table                    map[string]*ResourceTable                    `json:"databricks_table,omitempty"`
    75  	Token                    map[string]*ResourceToken                    `json:"databricks_token,omitempty"`
    76  	User                     map[string]*ResourceUser                     `json:"databricks_user,omitempty"`
    77  	UserInstanceProfile      map[string]*ResourceUserInstanceProfile      `json:"databricks_user_instance_profile,omitempty"`
    78  	UserRole                 map[string]*ResourceUserRole                 `json:"databricks_user_role,omitempty"`
    79  	Volume                   map[string]*ResourceVolume                   `json:"databricks_volume,omitempty"`
    80  	WorkspaceConf            map[string]*ResourceWorkspaceConf            `json:"databricks_workspace_conf,omitempty"`
    81  	WorkspaceFile            map[string]*ResourceWorkspaceFile            `json:"databricks_workspace_file,omitempty"`
    82  }
    83  
    84  func NewResources() *Resources {
    85  	return &Resources{
    86  		AccessControlRuleSet:     make(map[string]*ResourceAccessControlRuleSet),
    87  		AwsS3Mount:               make(map[string]*ResourceAwsS3Mount),
    88  		AzureAdlsGen1Mount:       make(map[string]*ResourceAzureAdlsGen1Mount),
    89  		AzureAdlsGen2Mount:       make(map[string]*ResourceAzureAdlsGen2Mount),
    90  		AzureBlobMount:           make(map[string]*ResourceAzureBlobMount),
    91  		Catalog:                  make(map[string]*ResourceCatalog),
    92  		CatalogWorkspaceBinding:  make(map[string]*ResourceCatalogWorkspaceBinding),
    93  		Cluster:                  make(map[string]*ResourceCluster),
    94  		ClusterPolicy:            make(map[string]*ResourceClusterPolicy),
    95  		DbfsFile:                 make(map[string]*ResourceDbfsFile),
    96  		Directory:                make(map[string]*ResourceDirectory),
    97  		Entitlements:             make(map[string]*ResourceEntitlements),
    98  		ExternalLocation:         make(map[string]*ResourceExternalLocation),
    99  		GitCredential:            make(map[string]*ResourceGitCredential),
   100  		GlobalInitScript:         make(map[string]*ResourceGlobalInitScript),
   101  		Grants:                   make(map[string]*ResourceGrants),
   102  		Group:                    make(map[string]*ResourceGroup),
   103  		GroupInstanceProfile:     make(map[string]*ResourceGroupInstanceProfile),
   104  		GroupMember:              make(map[string]*ResourceGroupMember),
   105  		GroupRole:                make(map[string]*ResourceGroupRole),
   106  		InstancePool:             make(map[string]*ResourceInstancePool),
   107  		InstanceProfile:          make(map[string]*ResourceInstanceProfile),
   108  		IpAccessList:             make(map[string]*ResourceIpAccessList),
   109  		Job:                      make(map[string]*ResourceJob),
   110  		Library:                  make(map[string]*ResourceLibrary),
   111  		Metastore:                make(map[string]*ResourceMetastore),
   112  		MetastoreAssignment:      make(map[string]*ResourceMetastoreAssignment),
   113  		MetastoreDataAccess:      make(map[string]*ResourceMetastoreDataAccess),
   114  		MlflowExperiment:         make(map[string]*ResourceMlflowExperiment),
   115  		MlflowModel:              make(map[string]*ResourceMlflowModel),
   116  		MlflowWebhook:            make(map[string]*ResourceMlflowWebhook),
   117  		ModelServing:             make(map[string]*ResourceModelServing),
   118  		Mount:                    make(map[string]*ResourceMount),
   119  		MwsCredentials:           make(map[string]*ResourceMwsCredentials),
   120  		MwsCustomerManagedKeys:   make(map[string]*ResourceMwsCustomerManagedKeys),
   121  		MwsLogDelivery:           make(map[string]*ResourceMwsLogDelivery),
   122  		MwsNetworks:              make(map[string]*ResourceMwsNetworks),
   123  		MwsPermissionAssignment:  make(map[string]*ResourceMwsPermissionAssignment),
   124  		MwsPrivateAccessSettings: make(map[string]*ResourceMwsPrivateAccessSettings),
   125  		MwsStorageConfigurations: make(map[string]*ResourceMwsStorageConfigurations),
   126  		MwsVpcEndpoint:           make(map[string]*ResourceMwsVpcEndpoint),
   127  		MwsWorkspaces:            make(map[string]*ResourceMwsWorkspaces),
   128  		Notebook:                 make(map[string]*ResourceNotebook),
   129  		OboToken:                 make(map[string]*ResourceOboToken),
   130  		PermissionAssignment:     make(map[string]*ResourcePermissionAssignment),
   131  		Permissions:              make(map[string]*ResourcePermissions),
   132  		Pipeline:                 make(map[string]*ResourcePipeline),
   133  		Provider:                 make(map[string]*ResourceProvider),
   134  		Recipient:                make(map[string]*ResourceRecipient),
   135  		Repo:                     make(map[string]*ResourceRepo),
   136  		Schema:                   make(map[string]*ResourceSchema),
   137  		Secret:                   make(map[string]*ResourceSecret),
   138  		SecretAcl:                make(map[string]*ResourceSecretAcl),
   139  		SecretScope:              make(map[string]*ResourceSecretScope),
   140  		ServicePrincipal:         make(map[string]*ResourceServicePrincipal),
   141  		ServicePrincipalRole:     make(map[string]*ResourceServicePrincipalRole),
   142  		ServicePrincipalSecret:   make(map[string]*ResourceServicePrincipalSecret),
   143  		Share:                    make(map[string]*ResourceShare),
   144  		SqlAlert:                 make(map[string]*ResourceSqlAlert),
   145  		SqlDashboard:             make(map[string]*ResourceSqlDashboard),
   146  		SqlEndpoint:              make(map[string]*ResourceSqlEndpoint),
   147  		SqlGlobalConfig:          make(map[string]*ResourceSqlGlobalConfig),
   148  		SqlPermissions:           make(map[string]*ResourceSqlPermissions),
   149  		SqlQuery:                 make(map[string]*ResourceSqlQuery),
   150  		SqlTable:                 make(map[string]*ResourceSqlTable),
   151  		SqlVisualization:         make(map[string]*ResourceSqlVisualization),
   152  		SqlWidget:                make(map[string]*ResourceSqlWidget),
   153  		StorageCredential:        make(map[string]*ResourceStorageCredential),
   154  		Table:                    make(map[string]*ResourceTable),
   155  		Token:                    make(map[string]*ResourceToken),
   156  		User:                     make(map[string]*ResourceUser),
   157  		UserInstanceProfile:      make(map[string]*ResourceUserInstanceProfile),
   158  		UserRole:                 make(map[string]*ResourceUserRole),
   159  		Volume:                   make(map[string]*ResourceVolume),
   160  		WorkspaceConf:            make(map[string]*ResourceWorkspaceConf),
   161  		WorkspaceFile:            make(map[string]*ResourceWorkspaceFile),
   162  	}
   163  }