mirror of https://github.com/databricks/cli.git
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||
|
|
||
|
package schema
|
||
|
|
||
|
type ResourceModelServingConfigServedModels struct {
|
||
|
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"`
|
||
|
}
|
||
|
|
||
|
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"`
|
||
|
}
|
||
|
|
||
|
type ResourceModelServing struct {
|
||
|
Id string `json:"id,omitempty"`
|
||
|
Name string `json:"name"`
|
||
|
Config *ResourceModelServingConfig `json:"config,omitempty"`
|
||
|
}
|