mirror of https://github.com/databricks/cli.git
Bump internal terraform provider version to `1.39` (#1339)
This commit is contained in:
parent
338fe1fe62
commit
7d1bab7cf0
|
@ -1,3 +1,3 @@
|
|||
package schema
|
||||
|
||||
const ProviderVersion = "1.38.0"
|
||||
const ProviderVersion = "1.39.0"
|
||||
|
|
|
@ -3,7 +3,12 @@
|
|||
package schema
|
||||
|
||||
type DataSourceAwsCrossaccountPolicy struct {
|
||||
AwsAccountId string `json:"aws_account_id,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Json string `json:"json,omitempty"`
|
||||
PassRoles []string `json:"pass_roles,omitempty"`
|
||||
PolicyType string `json:"policy_type,omitempty"`
|
||||
Region string `json:"region,omitempty"`
|
||||
SecurityGroupId string `json:"security_group_id,omitempty"`
|
||||
VpcId string `json:"vpc_id,omitempty"`
|
||||
}
|
||||
|
|
|
@ -472,9 +472,9 @@ type DataSourceJobJobSettingsSettingsSparkSubmitTask struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskConditionTask struct {
|
||||
Left string `json:"left,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Right string `json:"right,omitempty"`
|
||||
Left string `json:"left"`
|
||||
Op string `json:"op"`
|
||||
Right string `json:"right"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskDbtTask struct {
|
||||
|
@ -493,6 +493,7 @@ type DataSourceJobJobSettingsSettingsTaskDependsOn struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskEmailNotifications struct {
|
||||
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
|
@ -500,9 +501,9 @@ type DataSourceJobJobSettingsSettingsTaskEmailNotifications struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskConditionTask struct {
|
||||
Left string `json:"left,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Right string `json:"right,omitempty"`
|
||||
Left string `json:"left"`
|
||||
Op string `json:"op"`
|
||||
Right string `json:"right"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDbtTask struct {
|
||||
|
@ -521,6 +522,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDependsOn struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struct {
|
||||
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
|
@ -806,19 +808,19 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications struct {
|
||||
|
@ -1143,19 +1145,19 @@ type DataSourceJobJobSettingsSettingsTaskSqlTask struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnFailure struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotifications struct {
|
||||
|
@ -1202,25 +1204,33 @@ type DataSourceJobJobSettingsSettingsTriggerFileArrival struct {
|
|||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
|
||||
Condition string `json:"condition,omitempty"`
|
||||
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
||||
TableNames []string `json:"table_names"`
|
||||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTrigger struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
FileArrival *DataSourceJobJobSettingsSettingsTriggerFileArrival `json:"file_arrival,omitempty"`
|
||||
TableUpdate *DataSourceJobJobSettingsSettingsTriggerTableUpdate `json:"table_update,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnFailure struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnStart struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotifications struct {
|
||||
|
|
|
@ -15,6 +15,8 @@ type ResourceGrants struct {
|
|||
Id string `json:"id,omitempty"`
|
||||
Metastore string `json:"metastore,omitempty"`
|
||||
Model string `json:"model,omitempty"`
|
||||
Pipeline string `json:"pipeline,omitempty"`
|
||||
Recipient string `json:"recipient,omitempty"`
|
||||
Schema string `json:"schema,omitempty"`
|
||||
Share string `json:"share,omitempty"`
|
||||
StorageCredential string `json:"storage_credential,omitempty"`
|
||||
|
|
|
@ -472,9 +472,9 @@ type ResourceJobSparkSubmitTask struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskConditionTask struct {
|
||||
Left string `json:"left,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Right string `json:"right,omitempty"`
|
||||
Left string `json:"left"`
|
||||
Op string `json:"op"`
|
||||
Right string `json:"right"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskDbtTask struct {
|
||||
|
@ -493,6 +493,7 @@ type ResourceJobTaskDependsOn struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskEmailNotifications struct {
|
||||
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
|
@ -500,9 +501,9 @@ type ResourceJobTaskEmailNotifications struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskConditionTask struct {
|
||||
Left string `json:"left,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Right string `json:"right,omitempty"`
|
||||
Left string `json:"left"`
|
||||
Op string `json:"op"`
|
||||
Right string `json:"right"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskDbtTask struct {
|
||||
|
@ -521,6 +522,7 @@ type ResourceJobTaskForEachTaskTaskDependsOn struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskEmailNotifications struct {
|
||||
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
|
@ -806,19 +808,19 @@ type ResourceJobTaskForEachTaskTaskSqlTask struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnFailure struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
|
||||
|
@ -1143,19 +1145,19 @@ type ResourceJobTaskSqlTask struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotificationsOnFailure struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotificationsOnStart struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotifications struct {
|
||||
|
@ -1202,25 +1204,33 @@ type ResourceJobTriggerFileArrival struct {
|
|||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTriggerTableUpdate struct {
|
||||
Condition string `json:"condition,omitempty"`
|
||||
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
||||
TableNames []string `json:"table_names"`
|
||||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTrigger struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"`
|
||||
TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotificationsOnFailure struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotificationsOnStart struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotifications struct {
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceLakehouseMonitorCustomMetrics struct {
|
||||
Definition string `json:"definition,omitempty"`
|
||||
InputColumns []string `json:"input_columns,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OutputDataType string `json:"output_data_type,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorDataClassificationConfig struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorInferenceLog struct {
|
||||
Granularities []string `json:"granularities,omitempty"`
|
||||
LabelCol string `json:"label_col,omitempty"`
|
||||
ModelIdCol string `json:"model_id_col,omitempty"`
|
||||
PredictionCol string `json:"prediction_col,omitempty"`
|
||||
PredictionProbaCol string `json:"prediction_proba_col,omitempty"`
|
||||
ProblemType string `json:"problem_type,omitempty"`
|
||||
TimestampCol string `json:"timestamp_col,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorNotificationsOnFailure struct {
|
||||
EmailAddresses []string `json:"email_addresses,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorNotifications struct {
|
||||
OnFailure *ResourceLakehouseMonitorNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorSchedule struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
QuartzCronExpression string `json:"quartz_cron_expression,omitempty"`
|
||||
TimezoneId string `json:"timezone_id,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorSnapshot struct {
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitorTimeSeries struct {
|
||||
Granularities []string `json:"granularities,omitempty"`
|
||||
TimestampCol string `json:"timestamp_col,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceLakehouseMonitor struct {
|
||||
AssetsDir string `json:"assets_dir"`
|
||||
BaselineTableName string `json:"baseline_table_name,omitempty"`
|
||||
DashboardId string `json:"dashboard_id,omitempty"`
|
||||
DriftMetricsTableName string `json:"drift_metrics_table_name,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
LatestMonitorFailureMsg string `json:"latest_monitor_failure_msg,omitempty"`
|
||||
MonitorVersion string `json:"monitor_version,omitempty"`
|
||||
OutputSchemaName string `json:"output_schema_name"`
|
||||
ProfileMetricsTableName string `json:"profile_metrics_table_name,omitempty"`
|
||||
SkipBuiltinDashboard bool `json:"skip_builtin_dashboard,omitempty"`
|
||||
SlicingExprs []string `json:"slicing_exprs,omitempty"`
|
||||
Status string `json:"status,omitempty"`
|
||||
TableName string `json:"table_name"`
|
||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||
CustomMetrics []ResourceLakehouseMonitorCustomMetrics `json:"custom_metrics,omitempty"`
|
||||
DataClassificationConfig *ResourceLakehouseMonitorDataClassificationConfig `json:"data_classification_config,omitempty"`
|
||||
InferenceLog *ResourceLakehouseMonitorInferenceLog `json:"inference_log,omitempty"`
|
||||
Notifications *ResourceLakehouseMonitorNotifications `json:"notifications,omitempty"`
|
||||
Schedule *ResourceLakehouseMonitorSchedule `json:"schedule,omitempty"`
|
||||
Snapshot *ResourceLakehouseMonitorSnapshot `json:"snapshot,omitempty"`
|
||||
TimeSeries *ResourceLakehouseMonitorTimeSeries `json:"time_series,omitempty"`
|
||||
}
|
|
@ -9,6 +9,70 @@ type ResourceModelServingConfigAutoCaptureConfig struct {
|
|||
TableNamePrefix string `json:"table_name_prefix,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelAi21LabsConfig struct {
|
||||
Ai21LabsApiKey string `json:"ai21labs_api_key"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelAmazonBedrockConfig struct {
|
||||
AwsAccessKeyId string `json:"aws_access_key_id"`
|
||||
AwsRegion string `json:"aws_region"`
|
||||
AwsSecretAccessKey string `json:"aws_secret_access_key"`
|
||||
BedrockProvider string `json:"bedrock_provider"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelAnthropicConfig struct {
|
||||
AnthropicApiKey string `json:"anthropic_api_key"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelCohereConfig struct {
|
||||
CohereApiKey string `json:"cohere_api_key"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelDatabricksModelServingConfig struct {
|
||||
DatabricksApiToken string `json:"databricks_api_token"`
|
||||
DatabricksWorkspaceUrl string `json:"databricks_workspace_url"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelOpenaiConfig struct {
|
||||
OpenaiApiBase string `json:"openai_api_base,omitempty"`
|
||||
OpenaiApiKey string `json:"openai_api_key"`
|
||||
OpenaiApiType string `json:"openai_api_type,omitempty"`
|
||||
OpenaiApiVersion string `json:"openai_api_version,omitempty"`
|
||||
OpenaiDeploymentName string `json:"openai_deployment_name,omitempty"`
|
||||
OpenaiOrganization string `json:"openai_organization,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModelPalmConfig struct {
|
||||
PalmApiKey string `json:"palm_api_key"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntitiesExternalModel struct {
|
||||
Name string `json:"name"`
|
||||
Provider string `json:"provider"`
|
||||
Task string `json:"task"`
|
||||
Ai21LabsConfig *ResourceModelServingConfigServedEntitiesExternalModelAi21LabsConfig `json:"ai21labs_config,omitempty"`
|
||||
AmazonBedrockConfig *ResourceModelServingConfigServedEntitiesExternalModelAmazonBedrockConfig `json:"amazon_bedrock_config,omitempty"`
|
||||
AnthropicConfig *ResourceModelServingConfigServedEntitiesExternalModelAnthropicConfig `json:"anthropic_config,omitempty"`
|
||||
CohereConfig *ResourceModelServingConfigServedEntitiesExternalModelCohereConfig `json:"cohere_config,omitempty"`
|
||||
DatabricksModelServingConfig *ResourceModelServingConfigServedEntitiesExternalModelDatabricksModelServingConfig `json:"databricks_model_serving_config,omitempty"`
|
||||
OpenaiConfig *ResourceModelServingConfigServedEntitiesExternalModelOpenaiConfig `json:"openai_config,omitempty"`
|
||||
PalmConfig *ResourceModelServingConfigServedEntitiesExternalModelPalmConfig `json:"palm_config,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedEntities struct {
|
||||
EntityName string `json:"entity_name,omitempty"`
|
||||
EntityVersion string `json:"entity_version,omitempty"`
|
||||
EnvironmentVars map[string]string `json:"environment_vars,omitempty"`
|
||||
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
||||
MaxProvisionedThroughput int `json:"max_provisioned_throughput,omitempty"`
|
||||
MinProvisionedThroughput int `json:"min_provisioned_throughput,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
ScaleToZeroEnabled bool `json:"scale_to_zero_enabled,omitempty"`
|
||||
WorkloadSize string `json:"workload_size,omitempty"`
|
||||
WorkloadType string `json:"workload_type,omitempty"`
|
||||
ExternalModel *ResourceModelServingConfigServedEntitiesExternalModel `json:"external_model,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceModelServingConfigServedModels struct {
|
||||
EnvironmentVars map[string]string `json:"environment_vars,omitempty"`
|
||||
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
||||
|
@ -31,6 +95,7 @@ type ResourceModelServingConfigTrafficConfig struct {
|
|||
|
||||
type ResourceModelServingConfig struct {
|
||||
AutoCaptureConfig *ResourceModelServingConfigAutoCaptureConfig `json:"auto_capture_config,omitempty"`
|
||||
ServedEntities []ResourceModelServingConfigServedEntities `json:"served_entities,omitempty"`
|
||||
ServedModels []ResourceModelServingConfigServedModels `json:"served_models,omitempty"`
|
||||
TrafficConfig *ResourceModelServingConfigTrafficConfig `json:"traffic_config,omitempty"`
|
||||
}
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceOnlineTableSpecRunContinuously struct {
|
||||
}
|
||||
|
||||
type ResourceOnlineTableSpecRunTriggered struct {
|
||||
}
|
||||
|
||||
type ResourceOnlineTableSpec struct {
|
||||
PerformFullCopy bool `json:"perform_full_copy,omitempty"`
|
||||
PipelineId string `json:"pipeline_id,omitempty"`
|
||||
PrimaryKeyColumns []string `json:"primary_key_columns,omitempty"`
|
||||
SourceTableFullName string `json:"source_table_full_name,omitempty"`
|
||||
TimeseriesKey string `json:"timeseries_key,omitempty"`
|
||||
RunContinuously *ResourceOnlineTableSpecRunContinuously `json:"run_continuously,omitempty"`
|
||||
RunTriggered *ResourceOnlineTableSpecRunTriggered `json:"run_triggered,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceOnlineTable struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Status []any `json:"status,omitempty"`
|
||||
Spec *ResourceOnlineTableSpec `json:"spec,omitempty"`
|
||||
}
|
|
@ -7,6 +7,7 @@ type ResourceRegisteredModel struct {
|
|||
Comment string `json:"comment,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
SchemaName string `json:"schema_name"`
|
||||
StorageLocation string `json:"storage_location,omitempty"`
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceRestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct {
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type ResourceRestrictWorkspaceAdminsSetting struct {
|
||||
Etag string `json:"etag,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
SettingName string `json:"setting_name,omitempty"`
|
||||
RestrictWorkspaceAdmins *ResourceRestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins `json:"restrict_workspace_admins,omitempty"`
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||
|
||||
package schema
|
||||
|
||||
type ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumns struct {
|
||||
EmbeddingModelEndpointName string `json:"embedding_model_endpoint_name,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumns struct {
|
||||
EmbeddingDimension int `json:"embedding_dimension,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceVectorSearchIndexDeltaSyncIndexSpec struct {
|
||||
PipelineId string `json:"pipeline_id,omitempty"`
|
||||
PipelineType string `json:"pipeline_type,omitempty"`
|
||||
SourceTable string `json:"source_table,omitempty"`
|
||||
EmbeddingSourceColumns []ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumns `json:"embedding_source_columns,omitempty"`
|
||||
EmbeddingVectorColumns []ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumns `json:"embedding_vector_columns,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumns struct {
|
||||
EmbeddingModelEndpointName string `json:"embedding_model_endpoint_name,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumns struct {
|
||||
EmbeddingDimension int `json:"embedding_dimension,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceVectorSearchIndexDirectAccessIndexSpec struct {
|
||||
SchemaJson string `json:"schema_json,omitempty"`
|
||||
EmbeddingSourceColumns []ResourceVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumns `json:"embedding_source_columns,omitempty"`
|
||||
EmbeddingVectorColumns []ResourceVectorSearchIndexDirectAccessIndexSpecEmbeddingVectorColumns `json:"embedding_vector_columns,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceVectorSearchIndex struct {
|
||||
Creator string `json:"creator,omitempty"`
|
||||
EndpointName string `json:"endpoint_name"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IndexType string `json:"index_type"`
|
||||
Name string `json:"name"`
|
||||
PrimaryKey string `json:"primary_key"`
|
||||
Status []any `json:"status,omitempty"`
|
||||
DeltaSyncIndexSpec *ResourceVectorSearchIndexDeltaSyncIndexSpec `json:"delta_sync_index_spec,omitempty"`
|
||||
DirectAccessIndexSpec *ResourceVectorSearchIndexDirectAccessIndexSpec `json:"direct_access_index_spec,omitempty"`
|
||||
}
|
|
@ -32,6 +32,7 @@ type Resources struct {
|
|||
InstanceProfile map[string]any `json:"databricks_instance_profile,omitempty"`
|
||||
IpAccessList map[string]any `json:"databricks_ip_access_list,omitempty"`
|
||||
Job map[string]any `json:"databricks_job,omitempty"`
|
||||
LakehouseMonitor map[string]any `json:"databricks_lakehouse_monitor,omitempty"`
|
||||
Library map[string]any `json:"databricks_library,omitempty"`
|
||||
Metastore map[string]any `json:"databricks_metastore,omitempty"`
|
||||
MetastoreAssignment map[string]any `json:"databricks_metastore_assignment,omitempty"`
|
||||
|
@ -52,6 +53,7 @@ type Resources struct {
|
|||
MwsWorkspaces map[string]any `json:"databricks_mws_workspaces,omitempty"`
|
||||
Notebook map[string]any `json:"databricks_notebook,omitempty"`
|
||||
OboToken map[string]any `json:"databricks_obo_token,omitempty"`
|
||||
OnlineTable map[string]any `json:"databricks_online_table,omitempty"`
|
||||
PermissionAssignment map[string]any `json:"databricks_permission_assignment,omitempty"`
|
||||
Permissions map[string]any `json:"databricks_permissions,omitempty"`
|
||||
Pipeline map[string]any `json:"databricks_pipeline,omitempty"`
|
||||
|
@ -59,6 +61,7 @@ type Resources struct {
|
|||
Recipient map[string]any `json:"databricks_recipient,omitempty"`
|
||||
RegisteredModel map[string]any `json:"databricks_registered_model,omitempty"`
|
||||
Repo map[string]any `json:"databricks_repo,omitempty"`
|
||||
RestrictWorkspaceAdminsSetting map[string]any `json:"databricks_restrict_workspace_admins_setting,omitempty"`
|
||||
Schema map[string]any `json:"databricks_schema,omitempty"`
|
||||
Secret map[string]any `json:"databricks_secret,omitempty"`
|
||||
SecretAcl map[string]any `json:"databricks_secret_acl,omitempty"`
|
||||
|
@ -84,6 +87,7 @@ type Resources struct {
|
|||
UserInstanceProfile map[string]any `json:"databricks_user_instance_profile,omitempty"`
|
||||
UserRole map[string]any `json:"databricks_user_role,omitempty"`
|
||||
VectorSearchEndpoint map[string]any `json:"databricks_vector_search_endpoint,omitempty"`
|
||||
VectorSearchIndex map[string]any `json:"databricks_vector_search_index,omitempty"`
|
||||
Volume map[string]any `json:"databricks_volume,omitempty"`
|
||||
WorkspaceConf map[string]any `json:"databricks_workspace_conf,omitempty"`
|
||||
WorkspaceFile map[string]any `json:"databricks_workspace_file,omitempty"`
|
||||
|
@ -120,6 +124,7 @@ func NewResources() *Resources {
|
|||
InstanceProfile: make(map[string]any),
|
||||
IpAccessList: make(map[string]any),
|
||||
Job: make(map[string]any),
|
||||
LakehouseMonitor: make(map[string]any),
|
||||
Library: make(map[string]any),
|
||||
Metastore: make(map[string]any),
|
||||
MetastoreAssignment: make(map[string]any),
|
||||
|
@ -140,6 +145,7 @@ func NewResources() *Resources {
|
|||
MwsWorkspaces: make(map[string]any),
|
||||
Notebook: make(map[string]any),
|
||||
OboToken: make(map[string]any),
|
||||
OnlineTable: make(map[string]any),
|
||||
PermissionAssignment: make(map[string]any),
|
||||
Permissions: make(map[string]any),
|
||||
Pipeline: make(map[string]any),
|
||||
|
@ -147,6 +153,7 @@ func NewResources() *Resources {
|
|||
Recipient: make(map[string]any),
|
||||
RegisteredModel: make(map[string]any),
|
||||
Repo: make(map[string]any),
|
||||
RestrictWorkspaceAdminsSetting: make(map[string]any),
|
||||
Schema: make(map[string]any),
|
||||
Secret: make(map[string]any),
|
||||
SecretAcl: make(map[string]any),
|
||||
|
@ -172,6 +179,7 @@ func NewResources() *Resources {
|
|||
UserInstanceProfile: make(map[string]any),
|
||||
UserRole: make(map[string]any),
|
||||
VectorSearchEndpoint: make(map[string]any),
|
||||
VectorSearchIndex: make(map[string]any),
|
||||
Volume: make(map[string]any),
|
||||
WorkspaceConf: make(map[string]any),
|
||||
WorkspaceFile: make(map[string]any),
|
||||
|
|
|
@ -21,7 +21,7 @@ type Root struct {
|
|||
|
||||
const ProviderHost = "registry.terraform.io"
|
||||
const ProviderSource = "databricks/databricks"
|
||||
const ProviderVersion = "1.38.0"
|
||||
const ProviderVersion = "1.39.0"
|
||||
|
||||
func NewRoot() *Root {
|
||||
return &Root{
|
||||
|
|
Loading…
Reference in New Issue