Documentation ¶
Index ¶
- Constants
- Variables
- func HookGlobal[T any](ptr *T, val T) func()
- func IsKnown[T Knowable](t T) bool
- func New(version string) func() provider.Provider
- func NewApiTokenCredentialResource() resource.Resource
- func NewApplicationSourceResource() resource.Resource
- func NewBasicCredentialResource() resource.Resource
- func NewChatApplicationResource() resource.Resource
- func NewCustomApplicationResource() resource.Resource
- func NewCustomModelResource() resource.Resource
- func NewDatasetFromFileResource() resource.Resource
- func NewDeploymentResource() resource.Resource
- func NewGlobalModelDataSource() datasource.DataSource
- func NewGoogleCloudCredentialResource() resource.Resource
- func NewLLMBlueprintResource() resource.Resource
- func NewPlaygroundResource() resource.Resource
- func NewPredictionEnvironmentResource() resource.Resource
- func NewRegisteredModelResource() resource.Resource
- func NewRemoteRepositoryResource() resource.Resource
- func NewUseCaseResource() resource.Resource
- func NewVectorDatabaseResource() resource.Resource
- type ApiTokenCredentialResource
- func (r *ApiTokenCredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApiTokenCredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApiTokenCredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApiTokenCredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApiTokenCredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApiTokenCredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApiTokenCredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApiTokenCredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApiTokenCredentialResourceModel
- type ApplicationResourceSettings
- type ApplicationSourceResource
- func (r *ApplicationSourceResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApplicationSourceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApplicationSourceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApplicationSourceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApplicationSourceResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r ApplicationSourceResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *ApplicationSourceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApplicationSourceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApplicationSourceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApplicationSourceResourceModel
- type AssociationIDSetting
- type BasicCredentialResource
- func (r *BasicCredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BasicCredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BasicCredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BasicCredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BasicCredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *BasicCredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BasicCredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BasicCredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BasicCredentialResourceModel
- type ChatApplicationResource
- func (r *ChatApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ChatApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ChatApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ChatApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ChatApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ChatApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ChatApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ChatApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ChatApplicationResourceModel
- type ChunkingParametersModel
- type CustomApplicationResource
- func (r *CustomApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CustomApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CustomApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CustomApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CustomApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CustomApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CustomApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CustomApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CustomApplicationResourceModel
- type CustomModelResource
- func (r *CustomModelResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CustomModelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CustomModelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CustomModelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CustomModelResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r CustomModelResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *CustomModelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CustomModelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CustomModelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CustomModelResourceModel
- type CustomModelResourceSettings
- type DatasetFromFileResource
- func (r *DatasetFromFileResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DatasetFromFileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DatasetFromFileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DatasetFromFileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DatasetFromFileResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DatasetFromFileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DatasetFromFileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DatasetFromFileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DatasetFromFileResourceModel
- type DeploymentResource
- func (r *DeploymentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DeploymentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DeploymentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DeploymentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DeploymentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DeploymentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DeploymentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DeploymentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DeploymentResourceModel
- type DeploymentSettings
- type GlobalModelDataSource
- func (r *GlobalModelDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GlobalModelDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (r *GlobalModelDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (r *GlobalModelDataSource) Schema(ctx context.Context, _ datasource.SchemaRequest, ...)
- type GlobalModelDataSourceModel
- type GoogleCloudCredentialResource
- func (r *GoogleCloudCredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *GoogleCloudCredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *GoogleCloudCredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *GoogleCloudCredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *GoogleCloudCredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *GoogleCloudCredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *GoogleCloudCredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *GoogleCloudCredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type GoogleCloudCredentialResourceModel
- type GuardCondition
- type GuardConfiguration
- type GuardIntervention
- type Knowable
- type LLMBlueprintResource
- func (r *LLMBlueprintResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *LLMBlueprintResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *LLMBlueprintResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *LLMBlueprintResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *LLMBlueprintResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *LLMBlueprintResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *LLMBlueprintResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *LLMBlueprintResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type LLMBlueprintResourceModel
- type OverallModerationConfiguration
- type PlaygroundResource
- func (r *PlaygroundResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PlaygroundResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PlaygroundResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PlaygroundResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PlaygroundResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PlaygroundResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PlaygroundResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PlaygroundResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PlaygroundResourceModel
- type PredictionEnvironmentResource
- func (r *PredictionEnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *PredictionEnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *PredictionEnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *PredictionEnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *PredictionEnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *PredictionEnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *PredictionEnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *PredictionEnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type PredictionEnvironmentResourceModel
- type PredictionsSetting
- type Provider
- func (p *Provider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *Provider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *Provider) Functions(ctx context.Context) []func() function.Function
- func (p *Provider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *Provider) Resources(ctx context.Context) []func() resource.Resource
- func (p *Provider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type ProviderModel
- type RegisteredModelResource
- func (r *RegisteredModelResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RegisteredModelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RegisteredModelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RegisteredModelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RegisteredModelResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RegisteredModelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RegisteredModelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RegisteredModelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type RegisteredModelResourceModel
- type RemoteRepositoryResource
- func (r *RemoteRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RemoteRepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RemoteRepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RemoteRepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RemoteRepositoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RemoteRepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RemoteRepositoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RemoteRepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type RemoteRepositoryResourceModel
- type RuntimeParameterValue
- type SourceRemoteRepository
- type UseCaseResource
- func (r *UseCaseResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *UseCaseResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *UseCaseResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *UseCaseResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *UseCaseResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *UseCaseResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *UseCaseResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *UseCaseResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type UseCaseResourceModel
- type VectorDatabaseResource
- func (r *VectorDatabaseResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VectorDatabaseResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VectorDatabaseResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VectorDatabaseResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VectorDatabaseResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VectorDatabaseResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VectorDatabaseResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VectorDatabaseResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VectorDatabaseResourceModel
Constants ¶
const ( DataRobotApiKeyEnvVar string = "DATAROBOT_API_KEY" DataRobotEndpointEnvVar string = "DATAROBOT_ENDPOINT" TimeoutMinutesEnvVar string = "DATAROBOT_TIMEOUT_MINUTES" UserAgent string = "terraform-provider-datarobot" )
Variables ¶
var NewService = client.NewService
NewService overrides the client method for testing.
Functions ¶
func HookGlobal ¶
func HookGlobal[T any](ptr *T, val T) func()
HookGlobal sets `*ptr = val` and returns a closure for restoring `*ptr` to its original value. A runtime panic will occur if `val` is not assignable to `*ptr`.
func NewApplicationSourceResource ¶ added in v0.0.13
func NewCustomApplicationResource ¶ added in v0.0.13
func NewCustomModelResource ¶
func NewDeploymentResource ¶
func NewGlobalModelDataSource ¶
func NewGlobalModelDataSource() datasource.DataSource
func NewLLMBlueprintResource ¶
func NewPlaygroundResource ¶
func NewUseCaseResource ¶
Types ¶
type ApiTokenCredentialResource ¶
type ApiTokenCredentialResource struct {
// contains filtered or unexported fields
}
ApiTokenCredentialResource defines the resource implementation.
func (*ApiTokenCredentialResource) Configure ¶
func (r *ApiTokenCredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApiTokenCredentialResource) Create ¶
func (r *ApiTokenCredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApiTokenCredentialResource) Delete ¶
func (r *ApiTokenCredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApiTokenCredentialResource) ImportState ¶
func (r *ApiTokenCredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApiTokenCredentialResource) Metadata ¶
func (r *ApiTokenCredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApiTokenCredentialResource) Read ¶
func (r *ApiTokenCredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApiTokenCredentialResource) Schema ¶
func (r *ApiTokenCredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApiTokenCredentialResource) Update ¶
func (r *ApiTokenCredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApiTokenCredentialResourceModel ¶
type ApiTokenCredentialResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` ApiToken types.String `tfsdk:"api_token"` }
CredentialResourceModel describes the credential resource.
type ApplicationResourceSettings ¶ added in v0.0.17
type ApplicationSourceResource ¶ added in v0.0.13
type ApplicationSourceResource struct {
// contains filtered or unexported fields
}
func (*ApplicationSourceResource) Configure ¶ added in v0.0.13
func (r *ApplicationSourceResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApplicationSourceResource) Create ¶ added in v0.0.13
func (r *ApplicationSourceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApplicationSourceResource) Delete ¶ added in v0.0.13
func (r *ApplicationSourceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApplicationSourceResource) ImportState ¶ added in v0.0.13
func (r *ApplicationSourceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApplicationSourceResource) Metadata ¶ added in v0.0.13
func (r *ApplicationSourceResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (ApplicationSourceResource) ModifyPlan ¶ added in v0.0.17
func (r ApplicationSourceResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*ApplicationSourceResource) Read ¶ added in v0.0.13
func (r *ApplicationSourceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApplicationSourceResource) Schema ¶ added in v0.0.13
func (r *ApplicationSourceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApplicationSourceResource) Update ¶ added in v0.0.13
func (r *ApplicationSourceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApplicationSourceResourceModel ¶ added in v0.0.13
type ApplicationSourceResourceModel struct { ID types.String `tfsdk:"id"` VersionID types.String `tfsdk:"version_id"` Name types.String `tfsdk:"name"` LocalFiles []types.String `tfsdk:"local_files"` ResourceSettings *ApplicationResourceSettings `tfsdk:"resource_settings"` RuntimeParameterValues types.List `tfsdk:"runtime_parameter_values"` }
type AssociationIDSetting ¶
type BasicCredentialResource ¶
type BasicCredentialResource struct {
// contains filtered or unexported fields
}
BasicCredentialResource defines the resource implementation.
func (*BasicCredentialResource) Configure ¶
func (r *BasicCredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BasicCredentialResource) Create ¶
func (r *BasicCredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*BasicCredentialResource) Delete ¶
func (r *BasicCredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*BasicCredentialResource) ImportState ¶
func (r *BasicCredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*BasicCredentialResource) Metadata ¶
func (r *BasicCredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*BasicCredentialResource) Read ¶
func (r *BasicCredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*BasicCredentialResource) Schema ¶
func (r *BasicCredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*BasicCredentialResource) Update ¶
func (r *BasicCredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ChatApplicationResource ¶
type ChatApplicationResource struct {
// contains filtered or unexported fields
}
func (*ChatApplicationResource) Configure ¶
func (r *ChatApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ChatApplicationResource) Create ¶
func (r *ChatApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ChatApplicationResource) Delete ¶
func (r *ChatApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ChatApplicationResource) ImportState ¶
func (r *ChatApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ChatApplicationResource) Metadata ¶
func (r *ChatApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ChatApplicationResource) Read ¶
func (r *ChatApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ChatApplicationResource) Schema ¶
func (r *ChatApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ChatApplicationResource) Update ¶
func (r *ChatApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ChatApplicationResourceModel ¶
type ChatApplicationResourceModel struct { ID types.String `tfsdk:"id"` SourceID types.String `tfsdk:"source_id"` SourceVersionID types.String `tfsdk:"source_version_id"` Name types.String `tfsdk:"name"` DeploymentID types.String `tfsdk:"deployment_id"` ApplicationUrl types.String `tfsdk:"application_url"` ExternalAccessEnabled types.Bool `tfsdk:"external_access_enabled"` ExternalAccessRecipients []types.String `tfsdk:"external_access_recipients"` }
type ChunkingParametersModel ¶
type ChunkingParametersModel struct { EmbeddingModel types.String `tfsdk:"embedding_model"` ChunkOverlapPercentage types.Int64 `tfsdk:"chunk_overlap_percentage"` ChunkSize types.Int64 `tfsdk:"chunk_size"` ChunkingMethod types.String `tfsdk:"chunking_method"` IsSeparatorRegex types.Bool `tfsdk:"is_separator_regex"` Separators []types.String `tfsdk:"separators"` }
ChunkingParametersModel represents the chunking parameters nested attribute.
type CustomApplicationResource ¶ added in v0.0.13
type CustomApplicationResource struct {
// contains filtered or unexported fields
}
func (*CustomApplicationResource) Configure ¶ added in v0.0.13
func (r *CustomApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CustomApplicationResource) Create ¶ added in v0.0.13
func (r *CustomApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CustomApplicationResource) Delete ¶ added in v0.0.13
func (r *CustomApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CustomApplicationResource) ImportState ¶ added in v0.0.13
func (r *CustomApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CustomApplicationResource) Metadata ¶ added in v0.0.13
func (r *CustomApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CustomApplicationResource) Read ¶ added in v0.0.13
func (r *CustomApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CustomApplicationResource) Schema ¶ added in v0.0.13
func (r *CustomApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CustomApplicationResource) Update ¶ added in v0.0.13
func (r *CustomApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CustomApplicationResourceModel ¶ added in v0.0.13
type CustomApplicationResourceModel struct { ID types.String `tfsdk:"id"` SourceID types.String `tfsdk:"source_id"` SourceVersionID types.String `tfsdk:"source_version_id"` Name types.String `tfsdk:"name"` ApplicationUrl types.String `tfsdk:"application_url"` ExternalAccessEnabled types.Bool `tfsdk:"external_access_enabled"` ExternalAccessRecipients []types.String `tfsdk:"external_access_recipients"` }
type CustomModelResource ¶
type CustomModelResource struct {
// contains filtered or unexported fields
}
VectorDatabaseResource defines the resource implementation.
func (*CustomModelResource) Configure ¶
func (r *CustomModelResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CustomModelResource) Create ¶
func (r *CustomModelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CustomModelResource) Delete ¶
func (r *CustomModelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CustomModelResource) ImportState ¶
func (r *CustomModelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CustomModelResource) Metadata ¶
func (r *CustomModelResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (CustomModelResource) ModifyPlan ¶ added in v0.0.17
func (r CustomModelResource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*CustomModelResource) Read ¶
func (r *CustomModelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CustomModelResource) Schema ¶
func (r *CustomModelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CustomModelResource) Update ¶
func (r *CustomModelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CustomModelResourceModel ¶
type CustomModelResourceModel struct { ID types.String `tfsdk:"id"` VersionID types.String `tfsdk:"version_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` SourceLLMBlueprintID types.String `tfsdk:"source_llm_blueprint_id"` BaseEnvironmentName types.String `tfsdk:"base_environment_name"` BaseEnvironmentID types.String `tfsdk:"base_environment_id"` BaseEnvironmentVersionID types.String `tfsdk:"base_environment_version_id"` RuntimeParameterValues types.List `tfsdk:"runtime_parameter_values"` SourceRemoteRepositories []SourceRemoteRepository `tfsdk:"source_remote_repositories"` LocalFiles []types.String `tfsdk:"local_files"` Target types.String `tfsdk:"target"` TargetType types.String `tfsdk:"target_type"` PositiveClassLabel types.String `tfsdk:"positive_class_label"` NegativeClassLabel types.String `tfsdk:"negative_class_label"` IsProxy types.Bool `tfsdk:"is_proxy"` GuardConfigurations []GuardConfiguration `tfsdk:"guard_configurations"` OverallModerationConfiguration *OverallModerationConfiguration `tfsdk:"overall_moderation_configuration"` ResourceSettings *CustomModelResourceSettings `tfsdk:"resource_settings"` }
ModelResourceModel describes the custom model resource.
type CustomModelResourceSettings ¶ added in v0.0.17
type DatasetFromFileResource ¶
type DatasetFromFileResource struct {
// contains filtered or unexported fields
}
DatasetFromFileResource defines the resource implementation.
func (*DatasetFromFileResource) Configure ¶
func (r *DatasetFromFileResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DatasetFromFileResource) Create ¶
func (r *DatasetFromFileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DatasetFromFileResource) Delete ¶
func (r *DatasetFromFileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DatasetFromFileResource) ImportState ¶
func (r *DatasetFromFileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DatasetFromFileResource) Metadata ¶
func (r *DatasetFromFileResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DatasetFromFileResource) Read ¶
func (r *DatasetFromFileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DatasetFromFileResource) Schema ¶
func (r *DatasetFromFileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DatasetFromFileResource) Update ¶
func (r *DatasetFromFileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DatasetFromFileResourceModel ¶
type DatasetFromFileResourceModel struct { ID types.String `tfsdk:"id"` SourceFile types.String `tfsdk:"source_file"` UseCaseID types.String `tfsdk:"use_case_id"` }
DatasetFromFileResourceModel describes the datasource uploaded from a file.
type DeploymentResource ¶
type DeploymentResource struct {
// contains filtered or unexported fields
}
VectorDatabaseResource defines the resource implementation.
func (*DeploymentResource) Configure ¶
func (r *DeploymentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DeploymentResource) Create ¶
func (r *DeploymentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DeploymentResource) Delete ¶
func (r *DeploymentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DeploymentResource) ImportState ¶
func (r *DeploymentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DeploymentResource) Metadata ¶
func (r *DeploymentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DeploymentResource) Read ¶
func (r *DeploymentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DeploymentResource) Schema ¶
func (r *DeploymentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DeploymentResource) Update ¶
func (r *DeploymentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DeploymentResourceModel ¶
type DeploymentResourceModel struct { ID types.String `tfsdk:"id"` Label types.String `tfsdk:"label"` RegisteredModelVersionID types.String `tfsdk:"registered_model_version_id"` PredictionEnvironmentID types.String `tfsdk:"prediction_environment_id"` Settings *DeploymentSettings `tfsdk:"settings"` }
DeploymentResourceModel describes the deployment resource.
type DeploymentSettings ¶
type DeploymentSettings struct { AssociationID *AssociationIDSetting `tfsdk:"association_id"` PredictionRowStorage types.Bool `tfsdk:"prediction_row_storage"` ChallengerAnalysis types.Bool `tfsdk:"challenger_analysis"` PredictionsSettings *PredictionsSetting `tfsdk:"predictions_settings"` }
type GlobalModelDataSource ¶
type GlobalModelDataSource struct {
// contains filtered or unexported fields
}
func (*GlobalModelDataSource) Configure ¶
func (r *GlobalModelDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GlobalModelDataSource) Metadata ¶
func (d *GlobalModelDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GlobalModelDataSource) Read ¶
func (r *GlobalModelDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GlobalModelDataSource) Schema ¶
func (r *GlobalModelDataSource) Schema(ctx context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GlobalModelDataSourceModel ¶
type GlobalModelDataSourceModel struct { Name types.String `tfsdk:"name"` ID types.String `tfsdk:"id"` VersionID types.String `tfsdk:"version_id"` }
GlobalModelDataSourceModel describes the global model data source resource.
type GoogleCloudCredentialResource ¶
type GoogleCloudCredentialResource struct {
// contains filtered or unexported fields
}
GoogleCloudCredentialResource defines the resource implementation.
func (*GoogleCloudCredentialResource) Configure ¶
func (r *GoogleCloudCredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*GoogleCloudCredentialResource) Create ¶
func (r *GoogleCloudCredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*GoogleCloudCredentialResource) Delete ¶
func (r *GoogleCloudCredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*GoogleCloudCredentialResource) ImportState ¶
func (r *GoogleCloudCredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*GoogleCloudCredentialResource) Metadata ¶
func (r *GoogleCloudCredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*GoogleCloudCredentialResource) Read ¶
func (r *GoogleCloudCredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*GoogleCloudCredentialResource) Schema ¶
func (r *GoogleCloudCredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*GoogleCloudCredentialResource) Update ¶
func (r *GoogleCloudCredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type GuardCondition ¶
type GuardConfiguration ¶
type GuardConfiguration struct { TemplateName types.String `tfsdk:"template_name"` Name types.String `tfsdk:"name"` Stages []types.String `tfsdk:"stages"` Intervention GuardIntervention `tfsdk:"intervention"` DeploymentID types.String `tfsdk:"deployment_id"` InputColumnName types.String `tfsdk:"input_column_name"` OutputColumnName types.String `tfsdk:"output_column_name"` }
type GuardIntervention ¶
type GuardIntervention struct { Action types.String `tfsdk:"action"` Condition GuardCondition `tfsdk:"condition"` Message types.String `tfsdk:"message"` }
type LLMBlueprintResource ¶
type LLMBlueprintResource struct {
// contains filtered or unexported fields
}
func (*LLMBlueprintResource) Configure ¶
func (r *LLMBlueprintResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*LLMBlueprintResource) Create ¶
func (r *LLMBlueprintResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*LLMBlueprintResource) Delete ¶
func (r *LLMBlueprintResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*LLMBlueprintResource) ImportState ¶
func (r *LLMBlueprintResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*LLMBlueprintResource) Metadata ¶
func (r *LLMBlueprintResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*LLMBlueprintResource) Read ¶
func (r *LLMBlueprintResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*LLMBlueprintResource) Schema ¶
func (r *LLMBlueprintResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*LLMBlueprintResource) Update ¶
func (r *LLMBlueprintResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type LLMBlueprintResourceModel ¶
type LLMBlueprintResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` PlaygroundID types.String `tfsdk:"playground_id"` VectorDatabaseID types.String `tfsdk:"vector_database_id"` LLMID types.String `tfsdk:"llm_id"` }
LLMBlueprintResourceModel describes the LLM blueprint resource.
type PlaygroundResource ¶
type PlaygroundResource struct {
// contains filtered or unexported fields
}
PlaygroundResource defines the resource implementation.
func (*PlaygroundResource) Configure ¶
func (r *PlaygroundResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PlaygroundResource) Create ¶
func (r *PlaygroundResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PlaygroundResource) Delete ¶
func (r *PlaygroundResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PlaygroundResource) ImportState ¶
func (r *PlaygroundResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PlaygroundResource) Metadata ¶
func (r *PlaygroundResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PlaygroundResource) Read ¶
func (r *PlaygroundResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PlaygroundResource) Schema ¶
func (r *PlaygroundResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PlaygroundResource) Update ¶
func (r *PlaygroundResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PlaygroundResourceModel ¶
type PlaygroundResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` UseCaseID types.String `tfsdk:"use_case_id"` }
PlaygroundResourceModel describes the playground associated to a use case.
type PredictionEnvironmentResource ¶
type PredictionEnvironmentResource struct {
// contains filtered or unexported fields
}
VectorDatabaseResource defines the resource implementation.
func (*PredictionEnvironmentResource) Configure ¶
func (r *PredictionEnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*PredictionEnvironmentResource) Create ¶
func (r *PredictionEnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*PredictionEnvironmentResource) Delete ¶
func (r *PredictionEnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*PredictionEnvironmentResource) ImportState ¶
func (r *PredictionEnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*PredictionEnvironmentResource) Metadata ¶
func (r *PredictionEnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*PredictionEnvironmentResource) Read ¶
func (r *PredictionEnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*PredictionEnvironmentResource) Schema ¶
func (r *PredictionEnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*PredictionEnvironmentResource) Update ¶
func (r *PredictionEnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PredictionEnvironmentResourceModel ¶
type PredictionEnvironmentResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Platform types.String `tfsdk:"platform"` Description types.String `tfsdk:"description"` }
PredictionEnvironmentResourceModel describes the prediction environment resource.
type PredictionsSetting ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider defines the provider implementation.
func (*Provider) Configure ¶
func (p *Provider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*Provider) DataSources ¶
func (p *Provider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*Provider) Metadata ¶
func (p *Provider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*Provider) Schema ¶
func (p *Provider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type ProviderModel ¶
type ProviderModel struct { Endpoint types.String `tfsdk:"endpoint"` ApiKey types.String `tfsdk:"apikey"` }
ProviderModel describes the provider data model.
type RegisteredModelResource ¶
type RegisteredModelResource struct {
// contains filtered or unexported fields
}
VectorDatabaseResource defines the resource implementation.
func (*RegisteredModelResource) Configure ¶
func (r *RegisteredModelResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RegisteredModelResource) Create ¶
func (r *RegisteredModelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RegisteredModelResource) Delete ¶
func (r *RegisteredModelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RegisteredModelResource) ImportState ¶
func (r *RegisteredModelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*RegisteredModelResource) Metadata ¶
func (r *RegisteredModelResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RegisteredModelResource) Read ¶
func (r *RegisteredModelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RegisteredModelResource) Schema ¶
func (r *RegisteredModelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RegisteredModelResource) Update ¶
func (r *RegisteredModelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type RegisteredModelResourceModel ¶
type RegisteredModelResourceModel struct { ID types.String `tfsdk:"id"` VersionID types.String `tfsdk:"version_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` CustomModelVersionId types.String `tfsdk:"custom_model_version_id"` }
RegisteredModelResourceModel describes the registered model resource.
type RemoteRepositoryResource ¶
type RemoteRepositoryResource struct {
// contains filtered or unexported fields
}
VectorDatabaseResource defines the resource implementation.
func (*RemoteRepositoryResource) Configure ¶
func (r *RemoteRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RemoteRepositoryResource) Create ¶
func (r *RemoteRepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RemoteRepositoryResource) Delete ¶
func (r *RemoteRepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RemoteRepositoryResource) ImportState ¶
func (r *RemoteRepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*RemoteRepositoryResource) Metadata ¶
func (r *RemoteRepositoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RemoteRepositoryResource) Read ¶
func (r *RemoteRepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RemoteRepositoryResource) Schema ¶
func (r *RemoteRepositoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RemoteRepositoryResource) Update ¶
func (r *RemoteRepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type RemoteRepositoryResourceModel ¶
type RemoteRepositoryResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Location types.String `tfsdk:"location"` SourceType types.String `tfsdk:"source_type"` PersonalAccessToken types.String `tfsdk:"personal_access_token"` // optional fields for S3 remote repositories AWSAccessKeyID types.String `tfsdk:"aws_access_key_id"` AWSSecretAccessKey types.String `tfsdk:"aws_secret_access_key"` AWSSessionToken types.String `tfsdk:"aws_session_token"` }
RemoteRepositoryResourceModel describes the remote repository resource.
type RuntimeParameterValue ¶ added in v0.0.16
type SourceRemoteRepository ¶
type UseCaseResource ¶
type UseCaseResource struct {
// contains filtered or unexported fields
}
UseCaseResource defines the resource implementation.
func (*UseCaseResource) Configure ¶
func (r *UseCaseResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*UseCaseResource) Create ¶
func (r *UseCaseResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*UseCaseResource) Delete ¶
func (r *UseCaseResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*UseCaseResource) ImportState ¶
func (r *UseCaseResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*UseCaseResource) Metadata ¶
func (r *UseCaseResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*UseCaseResource) Read ¶
func (r *UseCaseResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*UseCaseResource) Schema ¶
func (r *UseCaseResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*UseCaseResource) Update ¶
func (r *UseCaseResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type UseCaseResourceModel ¶
type UseCaseResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` }
UseCaseResourceModel describes the resource data model.
type VectorDatabaseResource ¶
type VectorDatabaseResource struct {
// contains filtered or unexported fields
}
VectorDatabaseResource defines the resource implementation.
func (*VectorDatabaseResource) Configure ¶
func (r *VectorDatabaseResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VectorDatabaseResource) Create ¶
func (r *VectorDatabaseResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VectorDatabaseResource) Delete ¶
func (r *VectorDatabaseResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VectorDatabaseResource) ImportState ¶
func (r *VectorDatabaseResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VectorDatabaseResource) Metadata ¶
func (r *VectorDatabaseResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VectorDatabaseResource) Read ¶
func (r *VectorDatabaseResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VectorDatabaseResource) Schema ¶
func (r *VectorDatabaseResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VectorDatabaseResource) Update ¶
func (r *VectorDatabaseResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VectorDatabaseResourceModel ¶
type VectorDatabaseResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` UseCaseID types.String `tfsdk:"use_case_id"` DatasetID types.String `tfsdk:"dataset_id"` ChunkingParameters *ChunkingParametersModel `tfsdk:"chunking_parameters"` }
VectorDatabaseResourceModel describes a vector database.
Source Files ¶
- api_token_credential_resource.go
- application_source_resource.go
- basic_credential_resource.go
- chat_application_resource.go
- custom_application_resource.go
- custom_model_resource.go
- dataset_from_file_resource.go
- deployment_resource.go
- global_model_data_source.go
- google_cloud_service_account_credential_resource.go
- llm_blueprint_resource.go
- models.go
- playground_resource.go
- prediction_environment_resource.go
- provider.go
- registered_model_resource.go
- remote_repository_resource.go
- use_case_resource.go
- utils.go
- vector_database_resource.go