2023-03-20 16:22:55 +00:00
|
|
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
|
|
|
|
|
|
|
package schema
|
|
|
|
|
|
|
|
type ResourceModelServingConfigServedModels struct {
|
2023-07-07 12:52:41 +00:00
|
|
|
EnvironmentVars map[string]string `json:"environment_vars,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
2023-07-07 12:52:41 +00:00
|
|
|
ModelName string `json:"model_name"`
|
|
|
|
ModelVersion string `json:"model_version"`
|
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
ScaleToZeroEnabled bool `json:"scale_to_zero_enabled,omitempty"`
|
|
|
|
WorkloadSize string `json:"workload_size"`
|
2023-10-16 12:52:16 +00:00
|
|
|
WorkloadType string `json:"workload_type,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceModelServingConfigTrafficConfigRoutes struct {
|
|
|
|
ServedModelName string `json:"served_model_name"`
|
|
|
|
TrafficPercentage int `json:"traffic_percentage"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceModelServingConfigTrafficConfig struct {
|
|
|
|
Routes []ResourceModelServingConfigTrafficConfigRoutes `json:"routes,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceModelServingConfig struct {
|
|
|
|
ServedModels []ResourceModelServingConfigServedModels `json:"served_models,omitempty"`
|
|
|
|
TrafficConfig *ResourceModelServingConfigTrafficConfig `json:"traffic_config,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-10-16 12:52:16 +00:00
|
|
|
type ResourceModelServingTags struct {
|
|
|
|
Key string `json:"key"`
|
|
|
|
Value string `json:"value,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceModelServing struct {
|
2023-06-21 06:40:11 +00:00
|
|
|
Id string `json:"id,omitempty"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
ServingEndpointId string `json:"serving_endpoint_id,omitempty"`
|
|
|
|
Config *ResourceModelServingConfig `json:"config,omitempty"`
|
2023-10-16 12:52:16 +00:00
|
|
|
Tags []ResourceModelServingTags `json:"tags,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
}
|