Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdaptiveAllocationsData ¶
type TrainedModelDeploymentData ¶
type TrainedModelDeploymentData struct {
entitycore.ResourceTimeoutsField
ID types.String `tfsdk:"id"`
ElasticsearchConnection types.List `tfsdk:"elasticsearch_connection"`
ModelID types.String `tfsdk:"model_id"`
DeploymentID types.String `tfsdk:"deployment_id"`
NumberOfAllocations types.Int64 `tfsdk:"number_of_allocations"`
ThreadsPerAllocation types.Int64 `tfsdk:"threads_per_allocation"`
Priority types.String `tfsdk:"priority"`
QueueCapacity types.Int64 `tfsdk:"queue_capacity"`
WaitFor types.String `tfsdk:"wait_for"`
APITimeout customtypes.Duration `tfsdk:"api_timeout"`
ForceStop types.Bool `tfsdk:"force_stop"`
AdaptiveAllocations *AdaptiveAllocationsData `tfsdk:"adaptive_allocations"`
State types.String `tfsdk:"state"`
AllocationStatus types.String `tfsdk:"allocation_status"`
StatsJSON types.String `tfsdk:"stats_json"`
}
Data represents the Terraform state model for the trained model deployment resource.
func (TrainedModelDeploymentData) GetElasticsearchConnection ¶
func (d TrainedModelDeploymentData) GetElasticsearchConnection() types.List
func (TrainedModelDeploymentData) GetID ¶
func (d TrainedModelDeploymentData) GetID() types.String
func (TrainedModelDeploymentData) GetReadResourceID ¶
func (d TrainedModelDeploymentData) GetReadResourceID() string
GetReadResourceID satisfies entitycore.WithReadResourceID.
func (TrainedModelDeploymentData) GetResourceID ¶
func (d TrainedModelDeploymentData) GetResourceID() types.String
Click to show internal directories.
Click to hide internal directories.