Documentation ¶
Index ¶
- type Ai21LabsConfig
- func (a Ai21LabsConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Ai21LabsConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ai21LabsConfig)
- func (newState *Ai21LabsConfig) SyncEffectiveFieldsDuringRead(existingState Ai21LabsConfig)
- func (o Ai21LabsConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Ai21LabsConfig) Type(ctx context.Context) attr.Type
- type AiGatewayConfig
- func (a AiGatewayConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AiGatewayConfig) GetGuardrails(ctx context.Context) (AiGatewayGuardrails, bool)
- func (o *AiGatewayConfig) GetInferenceTableConfig(ctx context.Context) (AiGatewayInferenceTableConfig, bool)
- func (o *AiGatewayConfig) GetRateLimits(ctx context.Context) ([]AiGatewayRateLimit, bool)
- func (o *AiGatewayConfig) GetUsageTrackingConfig(ctx context.Context) (AiGatewayUsageTrackingConfig, bool)
- func (o *AiGatewayConfig) SetGuardrails(ctx context.Context, v AiGatewayGuardrails)
- func (o *AiGatewayConfig) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig)
- func (o *AiGatewayConfig) SetRateLimits(ctx context.Context, v []AiGatewayRateLimit)
- func (o *AiGatewayConfig) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)
- func (newState *AiGatewayConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayConfig)
- func (newState *AiGatewayConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayConfig)
- func (o AiGatewayConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayConfig) Type(ctx context.Context) attr.Type
- type AiGatewayGuardrailParameters
- func (a AiGatewayGuardrailParameters) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AiGatewayGuardrailParameters) GetInvalidKeywords(ctx context.Context) ([]types.String, bool)
- func (o *AiGatewayGuardrailParameters) GetPii(ctx context.Context) (AiGatewayGuardrailPiiBehavior, bool)
- func (o *AiGatewayGuardrailParameters) GetValidTopics(ctx context.Context) ([]types.String, bool)
- func (o *AiGatewayGuardrailParameters) SetInvalidKeywords(ctx context.Context, v []types.String)
- func (o *AiGatewayGuardrailParameters) SetPii(ctx context.Context, v AiGatewayGuardrailPiiBehavior)
- func (o *AiGatewayGuardrailParameters) SetValidTopics(ctx context.Context, v []types.String)
- func (newState *AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayGuardrailParameters)
- func (newState *AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailParameters)
- func (o AiGatewayGuardrailParameters) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayGuardrailParameters) Type(ctx context.Context) attr.Type
- type AiGatewayGuardrailPiiBehavior
- func (a AiGatewayGuardrailPiiBehavior) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayGuardrailPiiBehavior)
- func (newState *AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailPiiBehavior)
- func (o AiGatewayGuardrailPiiBehavior) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayGuardrailPiiBehavior) Type(ctx context.Context) attr.Type
- type AiGatewayGuardrails
- func (a AiGatewayGuardrails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AiGatewayGuardrails) GetInput(ctx context.Context) (AiGatewayGuardrailParameters, bool)
- func (o *AiGatewayGuardrails) GetOutput(ctx context.Context) (AiGatewayGuardrailParameters, bool)
- func (o *AiGatewayGuardrails) SetInput(ctx context.Context, v AiGatewayGuardrailParameters)
- func (o *AiGatewayGuardrails) SetOutput(ctx context.Context, v AiGatewayGuardrailParameters)
- func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayGuardrails)
- func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrails)
- func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayGuardrails) Type(ctx context.Context) attr.Type
- type AiGatewayInferenceTableConfig
- func (a AiGatewayInferenceTableConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayInferenceTableConfig)
- func (newState *AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayInferenceTableConfig)
- func (o AiGatewayInferenceTableConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayInferenceTableConfig) Type(ctx context.Context) attr.Type
- type AiGatewayRateLimit
- func (a AiGatewayRateLimit) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AiGatewayRateLimit) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayRateLimit)
- func (newState *AiGatewayRateLimit) SyncEffectiveFieldsDuringRead(existingState AiGatewayRateLimit)
- func (o AiGatewayRateLimit) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayRateLimit) Type(ctx context.Context) attr.Type
- type AiGatewayUsageTrackingConfig
- func (a AiGatewayUsageTrackingConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayUsageTrackingConfig)
- func (newState *AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayUsageTrackingConfig)
- func (o AiGatewayUsageTrackingConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AiGatewayUsageTrackingConfig) Type(ctx context.Context) attr.Type
- type AmazonBedrockConfig
- func (a AmazonBedrockConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AmazonBedrockConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AmazonBedrockConfig)
- func (newState *AmazonBedrockConfig) SyncEffectiveFieldsDuringRead(existingState AmazonBedrockConfig)
- func (o AmazonBedrockConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AmazonBedrockConfig) Type(ctx context.Context) attr.Type
- type AnthropicConfig
- func (a AnthropicConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AnthropicConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AnthropicConfig)
- func (newState *AnthropicConfig) SyncEffectiveFieldsDuringRead(existingState AnthropicConfig)
- func (o AnthropicConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AnthropicConfig) Type(ctx context.Context) attr.Type
- type AutoCaptureConfigInput
- func (a AutoCaptureConfigInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AutoCaptureConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoCaptureConfigInput)
- func (newState *AutoCaptureConfigInput) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigInput)
- func (o AutoCaptureConfigInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AutoCaptureConfigInput) Type(ctx context.Context) attr.Type
- type AutoCaptureConfigOutput
- func (a AutoCaptureConfigOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AutoCaptureConfigOutput) GetState(ctx context.Context) (AutoCaptureState, bool)
- func (o *AutoCaptureConfigOutput) SetState(ctx context.Context, v AutoCaptureState)
- func (newState *AutoCaptureConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoCaptureConfigOutput)
- func (newState *AutoCaptureConfigOutput) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigOutput)
- func (o AutoCaptureConfigOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AutoCaptureConfigOutput) Type(ctx context.Context) attr.Type
- type AutoCaptureState
- func (a AutoCaptureState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *AutoCaptureState) GetPayloadTable(ctx context.Context) (PayloadTable, bool)
- func (o *AutoCaptureState) SetPayloadTable(ctx context.Context, v PayloadTable)
- func (newState *AutoCaptureState) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoCaptureState)
- func (newState *AutoCaptureState) SyncEffectiveFieldsDuringRead(existingState AutoCaptureState)
- func (o AutoCaptureState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AutoCaptureState) Type(ctx context.Context) attr.Type
- type BuildLogsRequest
- func (a BuildLogsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *BuildLogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan BuildLogsRequest)
- func (newState *BuildLogsRequest) SyncEffectiveFieldsDuringRead(existingState BuildLogsRequest)
- func (o BuildLogsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o BuildLogsRequest) Type(ctx context.Context) attr.Type
- type BuildLogsResponse
- func (a BuildLogsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *BuildLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan BuildLogsResponse)
- func (newState *BuildLogsResponse) SyncEffectiveFieldsDuringRead(existingState BuildLogsResponse)
- func (o BuildLogsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o BuildLogsResponse) Type(ctx context.Context) attr.Type
- type ChatMessage
- func (a ChatMessage) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ChatMessage) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChatMessage)
- func (newState *ChatMessage) SyncEffectiveFieldsDuringRead(existingState ChatMessage)
- func (o ChatMessage) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ChatMessage) Type(ctx context.Context) attr.Type
- type CohereConfig
- func (a CohereConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CohereConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan CohereConfig)
- func (newState *CohereConfig) SyncEffectiveFieldsDuringRead(existingState CohereConfig)
- func (o CohereConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CohereConfig) Type(ctx context.Context) attr.Type
- type CreateServingEndpoint
- func (o *CreateServingEndpoint) GetAiGateway(ctx context.Context) (AiGatewayConfig, bool)
- func (a CreateServingEndpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *CreateServingEndpoint) GetConfig(ctx context.Context) (EndpointCoreConfigInput, bool)
- func (o *CreateServingEndpoint) GetRateLimits(ctx context.Context) ([]RateLimit, bool)
- func (o *CreateServingEndpoint) GetTags(ctx context.Context) ([]EndpointTag, bool)
- func (o *CreateServingEndpoint) SetAiGateway(ctx context.Context, v AiGatewayConfig)
- func (o *CreateServingEndpoint) SetConfig(ctx context.Context, v EndpointCoreConfigInput)
- func (o *CreateServingEndpoint) SetRateLimits(ctx context.Context, v []RateLimit)
- func (o *CreateServingEndpoint) SetTags(ctx context.Context, v []EndpointTag)
- func (newState *CreateServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateServingEndpoint)
- func (newState *CreateServingEndpoint) SyncEffectiveFieldsDuringRead(existingState CreateServingEndpoint)
- func (o CreateServingEndpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateServingEndpoint) Type(ctx context.Context) attr.Type
- type DatabricksModelServingConfig
- func (a DatabricksModelServingConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DatabricksModelServingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan DatabricksModelServingConfig)
- func (newState *DatabricksModelServingConfig) SyncEffectiveFieldsDuringRead(existingState DatabricksModelServingConfig)
- func (o DatabricksModelServingConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DatabricksModelServingConfig) Type(ctx context.Context) attr.Type
- type DataframeSplitInput
- func (o *DataframeSplitInput) GetColumns(ctx context.Context) ([]types.Object, bool)
- func (a DataframeSplitInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *DataframeSplitInput) GetData(ctx context.Context) ([]types.Object, bool)
- func (o *DataframeSplitInput) GetIndex(ctx context.Context) ([]types.Int64, bool)
- func (o *DataframeSplitInput) SetColumns(ctx context.Context, v []types.Object)
- func (o *DataframeSplitInput) SetData(ctx context.Context, v []types.Object)
- func (o *DataframeSplitInput) SetIndex(ctx context.Context, v []types.Int64)
- func (newState *DataframeSplitInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataframeSplitInput)
- func (newState *DataframeSplitInput) SyncEffectiveFieldsDuringRead(existingState DataframeSplitInput)
- func (o DataframeSplitInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DataframeSplitInput) Type(ctx context.Context) attr.Type
- type DeleteResponse
- func (a DeleteResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)
- func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)
- func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteResponse) Type(ctx context.Context) attr.Type
- type DeleteServingEndpointRequest
- func (a DeleteServingEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServingEndpointRequest)
- func (newState *DeleteServingEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServingEndpointRequest)
- func (o DeleteServingEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteServingEndpointRequest) Type(ctx context.Context) attr.Type
- type EmbeddingsV1ResponseEmbeddingElement
- func (a EmbeddingsV1ResponseEmbeddingElement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EmbeddingsV1ResponseEmbeddingElement) GetEmbedding(ctx context.Context) ([]types.Float64, bool)
- func (o *EmbeddingsV1ResponseEmbeddingElement) SetEmbedding(ctx context.Context, v []types.Float64)
- func (newState *EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmbeddingsV1ResponseEmbeddingElement)
- func (newState *EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringRead(existingState EmbeddingsV1ResponseEmbeddingElement)
- func (o EmbeddingsV1ResponseEmbeddingElement) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EmbeddingsV1ResponseEmbeddingElement) Type(ctx context.Context) attr.Type
- type EndpointCoreConfigInput
- func (o *EndpointCoreConfigInput) GetAutoCaptureConfig(ctx context.Context) (AutoCaptureConfigInput, bool)
- func (a EndpointCoreConfigInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EndpointCoreConfigInput) GetServedEntities(ctx context.Context) ([]ServedEntityInput, bool)
- func (o *EndpointCoreConfigInput) GetServedModels(ctx context.Context) ([]ServedModelInput, bool)
- func (o *EndpointCoreConfigInput) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)
- func (o *EndpointCoreConfigInput) SetAutoCaptureConfig(ctx context.Context, v AutoCaptureConfigInput)
- func (o *EndpointCoreConfigInput) SetServedEntities(ctx context.Context, v []ServedEntityInput)
- func (o *EndpointCoreConfigInput) SetServedModels(ctx context.Context, v []ServedModelInput)
- func (o *EndpointCoreConfigInput) SetTrafficConfig(ctx context.Context, v TrafficConfig)
- func (newState *EndpointCoreConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointCoreConfigInput)
- func (newState *EndpointCoreConfigInput) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigInput)
- func (o EndpointCoreConfigInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointCoreConfigInput) Type(ctx context.Context) attr.Type
- type EndpointCoreConfigOutput
- func (o *EndpointCoreConfigOutput) GetAutoCaptureConfig(ctx context.Context) (AutoCaptureConfigOutput, bool)
- func (a EndpointCoreConfigOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EndpointCoreConfigOutput) GetServedEntities(ctx context.Context) ([]ServedEntityOutput, bool)
- func (o *EndpointCoreConfigOutput) GetServedModels(ctx context.Context) ([]ServedModelOutput, bool)
- func (o *EndpointCoreConfigOutput) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)
- func (o *EndpointCoreConfigOutput) SetAutoCaptureConfig(ctx context.Context, v AutoCaptureConfigOutput)
- func (o *EndpointCoreConfigOutput) SetServedEntities(ctx context.Context, v []ServedEntityOutput)
- func (o *EndpointCoreConfigOutput) SetServedModels(ctx context.Context, v []ServedModelOutput)
- func (o *EndpointCoreConfigOutput) SetTrafficConfig(ctx context.Context, v TrafficConfig)
- func (newState *EndpointCoreConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointCoreConfigOutput)
- func (newState *EndpointCoreConfigOutput) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigOutput)
- func (o EndpointCoreConfigOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointCoreConfigOutput) Type(ctx context.Context) attr.Type
- type EndpointCoreConfigSummary
- func (a EndpointCoreConfigSummary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EndpointCoreConfigSummary) GetServedEntities(ctx context.Context) ([]ServedEntitySpec, bool)
- func (o *EndpointCoreConfigSummary) GetServedModels(ctx context.Context) ([]ServedModelSpec, bool)
- func (o *EndpointCoreConfigSummary) SetServedEntities(ctx context.Context, v []ServedEntitySpec)
- func (o *EndpointCoreConfigSummary) SetServedModels(ctx context.Context, v []ServedModelSpec)
- func (newState *EndpointCoreConfigSummary) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointCoreConfigSummary)
- func (newState *EndpointCoreConfigSummary) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigSummary)
- func (o EndpointCoreConfigSummary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointCoreConfigSummary) Type(ctx context.Context) attr.Type
- type EndpointPendingConfig
- func (o *EndpointPendingConfig) GetAutoCaptureConfig(ctx context.Context) (AutoCaptureConfigOutput, bool)
- func (a EndpointPendingConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *EndpointPendingConfig) GetServedEntities(ctx context.Context) ([]ServedEntityOutput, bool)
- func (o *EndpointPendingConfig) GetServedModels(ctx context.Context) ([]ServedModelOutput, bool)
- func (o *EndpointPendingConfig) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)
- func (o *EndpointPendingConfig) SetAutoCaptureConfig(ctx context.Context, v AutoCaptureConfigOutput)
- func (o *EndpointPendingConfig) SetServedEntities(ctx context.Context, v []ServedEntityOutput)
- func (o *EndpointPendingConfig) SetServedModels(ctx context.Context, v []ServedModelOutput)
- func (o *EndpointPendingConfig) SetTrafficConfig(ctx context.Context, v TrafficConfig)
- func (newState *EndpointPendingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointPendingConfig)
- func (newState *EndpointPendingConfig) SyncEffectiveFieldsDuringRead(existingState EndpointPendingConfig)
- func (o EndpointPendingConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointPendingConfig) Type(ctx context.Context) attr.Type
- type EndpointState
- func (a EndpointState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EndpointState) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointState)
- func (newState *EndpointState) SyncEffectiveFieldsDuringRead(existingState EndpointState)
- func (o EndpointState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointState) Type(ctx context.Context) attr.Type
- type EndpointTag
- func (a EndpointTag) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *EndpointTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointTag)
- func (newState *EndpointTag) SyncEffectiveFieldsDuringRead(existingState EndpointTag)
- func (o EndpointTag) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o EndpointTag) Type(ctx context.Context) attr.Type
- type ExportMetricsRequest
- func (a ExportMetricsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ExportMetricsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsRequest)
- func (newState *ExportMetricsRequest) SyncEffectiveFieldsDuringRead(existingState ExportMetricsRequest)
- func (o ExportMetricsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ExportMetricsRequest) Type(ctx context.Context) attr.Type
- type ExportMetricsResponse
- func (a ExportMetricsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ExportMetricsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsResponse)
- func (newState *ExportMetricsResponse) SyncEffectiveFieldsDuringRead(existingState ExportMetricsResponse)
- func (o ExportMetricsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ExportMetricsResponse) Type(ctx context.Context) attr.Type
- type ExternalModel
- func (o *ExternalModel) GetAi21labsConfig(ctx context.Context) (Ai21LabsConfig, bool)
- func (o *ExternalModel) GetAmazonBedrockConfig(ctx context.Context) (AmazonBedrockConfig, bool)
- func (o *ExternalModel) GetAnthropicConfig(ctx context.Context) (AnthropicConfig, bool)
- func (o *ExternalModel) GetCohereConfig(ctx context.Context) (CohereConfig, bool)
- func (a ExternalModel) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ExternalModel) GetDatabricksModelServingConfig(ctx context.Context) (DatabricksModelServingConfig, bool)
- func (o *ExternalModel) GetGoogleCloudVertexAiConfig(ctx context.Context) (GoogleCloudVertexAiConfig, bool)
- func (o *ExternalModel) GetOpenaiConfig(ctx context.Context) (OpenAiConfig, bool)
- func (o *ExternalModel) GetPalmConfig(ctx context.Context) (PaLmConfig, bool)
- func (o *ExternalModel) SetAi21labsConfig(ctx context.Context, v Ai21LabsConfig)
- func (o *ExternalModel) SetAmazonBedrockConfig(ctx context.Context, v AmazonBedrockConfig)
- func (o *ExternalModel) SetAnthropicConfig(ctx context.Context, v AnthropicConfig)
- func (o *ExternalModel) SetCohereConfig(ctx context.Context, v CohereConfig)
- func (o *ExternalModel) SetDatabricksModelServingConfig(ctx context.Context, v DatabricksModelServingConfig)
- func (o *ExternalModel) SetGoogleCloudVertexAiConfig(ctx context.Context, v GoogleCloudVertexAiConfig)
- func (o *ExternalModel) SetOpenaiConfig(ctx context.Context, v OpenAiConfig)
- func (o *ExternalModel) SetPalmConfig(ctx context.Context, v PaLmConfig)
- func (newState *ExternalModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalModel)
- func (newState *ExternalModel) SyncEffectiveFieldsDuringRead(existingState ExternalModel)
- func (o ExternalModel) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ExternalModel) Type(ctx context.Context) attr.Type
- type ExternalModelUsageElement
- func (a ExternalModelUsageElement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ExternalModelUsageElement) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalModelUsageElement)
- func (newState *ExternalModelUsageElement) SyncEffectiveFieldsDuringRead(existingState ExternalModelUsageElement)
- func (o ExternalModelUsageElement) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ExternalModelUsageElement) Type(ctx context.Context) attr.Type
- type FoundationModel
- func (a FoundationModel) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *FoundationModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan FoundationModel)
- func (newState *FoundationModel) SyncEffectiveFieldsDuringRead(existingState FoundationModel)
- func (o FoundationModel) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o FoundationModel) Type(ctx context.Context) attr.Type
- type GetOpenApiRequest
- func (a GetOpenApiRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetOpenApiRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiRequest)
- func (newState *GetOpenApiRequest) SyncEffectiveFieldsDuringRead(existingState GetOpenApiRequest)
- func (o GetOpenApiRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetOpenApiRequest) Type(ctx context.Context) attr.Type
- type GetOpenApiResponse
- func (a GetOpenApiResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetOpenApiResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiResponse)
- func (newState *GetOpenApiResponse) SyncEffectiveFieldsDuringRead(existingState GetOpenApiResponse)
- func (o GetOpenApiResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetOpenApiResponse) Type(ctx context.Context) attr.Type
- type GetServingEndpointPermissionLevelsRequest
- func (a GetServingEndpointPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionLevelsRequest)
- func (newState *GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsRequest)
- func (o GetServingEndpointPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetServingEndpointPermissionLevelsRequest) Type(ctx context.Context) attr.Type
- type GetServingEndpointPermissionLevelsResponse
- func (a GetServingEndpointPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *GetServingEndpointPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]ServingEndpointPermissionsDescription, bool)
- func (o *GetServingEndpointPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []ServingEndpointPermissionsDescription)
- func (newState *GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionLevelsResponse)
- func (newState *GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsResponse)
- func (o GetServingEndpointPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetServingEndpointPermissionLevelsResponse) Type(ctx context.Context) attr.Type
- type GetServingEndpointPermissionsRequest
- func (a GetServingEndpointPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionsRequest)
- func (newState *GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionsRequest)
- func (o GetServingEndpointPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetServingEndpointPermissionsRequest) Type(ctx context.Context) attr.Type
- type GetServingEndpointRequest
- func (a GetServingEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointRequest)
- func (newState *GetServingEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointRequest)
- func (o GetServingEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetServingEndpointRequest) Type(ctx context.Context) attr.Type
- type GoogleCloudVertexAiConfig
- func (a GoogleCloudVertexAiConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan GoogleCloudVertexAiConfig)
- func (newState *GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringRead(existingState GoogleCloudVertexAiConfig)
- func (o GoogleCloudVertexAiConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GoogleCloudVertexAiConfig) Type(ctx context.Context) attr.Type
- type ListEndpointsResponse
- func (a ListEndpointsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListEndpointsResponse) GetEndpoints(ctx context.Context) ([]ServingEndpoint, bool)
- func (o *ListEndpointsResponse) SetEndpoints(ctx context.Context, v []ServingEndpoint)
- func (newState *ListEndpointsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointsResponse)
- func (newState *ListEndpointsResponse) SyncEffectiveFieldsDuringRead(existingState ListEndpointsResponse)
- func (o ListEndpointsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListEndpointsResponse) Type(ctx context.Context) attr.Type
- type LogsRequest
- func (a LogsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *LogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogsRequest)
- func (newState *LogsRequest) SyncEffectiveFieldsDuringRead(existingState LogsRequest)
- func (o LogsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o LogsRequest) Type(ctx context.Context) attr.Type
- type ModelDataPlaneInfo
- func (a ModelDataPlaneInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ModelDataPlaneInfo) GetQueryInfo(ctx context.Context) (oauth2_tf.DataPlaneInfo, bool)
- func (o *ModelDataPlaneInfo) SetQueryInfo(ctx context.Context, v oauth2_tf.DataPlaneInfo)
- func (newState *ModelDataPlaneInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelDataPlaneInfo)
- func (newState *ModelDataPlaneInfo) SyncEffectiveFieldsDuringRead(existingState ModelDataPlaneInfo)
- func (o ModelDataPlaneInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ModelDataPlaneInfo) Type(ctx context.Context) attr.Type
- type OpenAiConfig
- func (a OpenAiConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *OpenAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan OpenAiConfig)
- func (newState *OpenAiConfig) SyncEffectiveFieldsDuringRead(existingState OpenAiConfig)
- func (o OpenAiConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o OpenAiConfig) Type(ctx context.Context) attr.Type
- type PaLmConfig
- func (a PaLmConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PaLmConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan PaLmConfig)
- func (newState *PaLmConfig) SyncEffectiveFieldsDuringRead(existingState PaLmConfig)
- func (o PaLmConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PaLmConfig) Type(ctx context.Context) attr.Type
- type PatchServingEndpointTags
- func (o *PatchServingEndpointTags) GetAddTags(ctx context.Context) ([]EndpointTag, bool)
- func (a PatchServingEndpointTags) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PatchServingEndpointTags) GetDeleteTags(ctx context.Context) ([]types.String, bool)
- func (o *PatchServingEndpointTags) SetAddTags(ctx context.Context, v []EndpointTag)
- func (o *PatchServingEndpointTags) SetDeleteTags(ctx context.Context, v []types.String)
- func (newState *PatchServingEndpointTags) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchServingEndpointTags)
- func (newState *PatchServingEndpointTags) SyncEffectiveFieldsDuringRead(existingState PatchServingEndpointTags)
- func (o PatchServingEndpointTags) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PatchServingEndpointTags) Type(ctx context.Context) attr.Type
- type PayloadTable
- func (a PayloadTable) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PayloadTable) SyncEffectiveFieldsDuringCreateOrUpdate(plan PayloadTable)
- func (newState *PayloadTable) SyncEffectiveFieldsDuringRead(existingState PayloadTable)
- func (o PayloadTable) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PayloadTable) Type(ctx context.Context) attr.Type
- type PutAiGatewayRequest
- func (a PutAiGatewayRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PutAiGatewayRequest) GetGuardrails(ctx context.Context) (AiGatewayGuardrails, bool)
- func (o *PutAiGatewayRequest) GetInferenceTableConfig(ctx context.Context) (AiGatewayInferenceTableConfig, bool)
- func (o *PutAiGatewayRequest) GetRateLimits(ctx context.Context) ([]AiGatewayRateLimit, bool)
- func (o *PutAiGatewayRequest) GetUsageTrackingConfig(ctx context.Context) (AiGatewayUsageTrackingConfig, bool)
- func (o *PutAiGatewayRequest) SetGuardrails(ctx context.Context, v AiGatewayGuardrails)
- func (o *PutAiGatewayRequest) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig)
- func (o *PutAiGatewayRequest) SetRateLimits(ctx context.Context, v []AiGatewayRateLimit)
- func (o *PutAiGatewayRequest) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)
- func (newState *PutAiGatewayRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayRequest)
- func (newState *PutAiGatewayRequest) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayRequest)
- func (o PutAiGatewayRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PutAiGatewayRequest) Type(ctx context.Context) attr.Type
- type PutAiGatewayResponse
- func (a PutAiGatewayResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PutAiGatewayResponse) GetGuardrails(ctx context.Context) (AiGatewayGuardrails, bool)
- func (o *PutAiGatewayResponse) GetInferenceTableConfig(ctx context.Context) (AiGatewayInferenceTableConfig, bool)
- func (o *PutAiGatewayResponse) GetRateLimits(ctx context.Context) ([]AiGatewayRateLimit, bool)
- func (o *PutAiGatewayResponse) GetUsageTrackingConfig(ctx context.Context) (AiGatewayUsageTrackingConfig, bool)
- func (o *PutAiGatewayResponse) SetGuardrails(ctx context.Context, v AiGatewayGuardrails)
- func (o *PutAiGatewayResponse) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig)
- func (o *PutAiGatewayResponse) SetRateLimits(ctx context.Context, v []AiGatewayRateLimit)
- func (o *PutAiGatewayResponse) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)
- func (newState *PutAiGatewayResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayResponse)
- func (newState *PutAiGatewayResponse) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayResponse)
- func (o PutAiGatewayResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PutAiGatewayResponse) Type(ctx context.Context) attr.Type
- type PutRequest
- func (a PutRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PutRequest) GetRateLimits(ctx context.Context) ([]RateLimit, bool)
- func (o *PutRequest) SetRateLimits(ctx context.Context, v []RateLimit)
- func (newState *PutRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutRequest)
- func (newState *PutRequest) SyncEffectiveFieldsDuringRead(existingState PutRequest)
- func (o PutRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PutRequest) Type(ctx context.Context) attr.Type
- type PutResponse
- func (a PutResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *PutResponse) GetRateLimits(ctx context.Context) ([]RateLimit, bool)
- func (o *PutResponse) SetRateLimits(ctx context.Context, v []RateLimit)
- func (newState *PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutResponse)
- func (newState *PutResponse) SyncEffectiveFieldsDuringRead(existingState PutResponse)
- func (o PutResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PutResponse) Type(ctx context.Context) attr.Type
- type QueryEndpointInput
- func (a QueryEndpointInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *QueryEndpointInput) GetDataframeRecords(ctx context.Context) ([]types.Object, bool)
- func (o *QueryEndpointInput) GetDataframeSplit(ctx context.Context) (DataframeSplitInput, bool)
- func (o *QueryEndpointInput) GetExtraParams(ctx context.Context) (map[string]types.String, bool)
- func (o *QueryEndpointInput) GetInstances(ctx context.Context) ([]types.Object, bool)
- func (o *QueryEndpointInput) GetMessages(ctx context.Context) ([]ChatMessage, bool)
- func (o *QueryEndpointInput) GetStop(ctx context.Context) ([]types.String, bool)
- func (o *QueryEndpointInput) SetDataframeRecords(ctx context.Context, v []types.Object)
- func (o *QueryEndpointInput) SetDataframeSplit(ctx context.Context, v DataframeSplitInput)
- func (o *QueryEndpointInput) SetExtraParams(ctx context.Context, v map[string]types.String)
- func (o *QueryEndpointInput) SetInstances(ctx context.Context, v []types.Object)
- func (o *QueryEndpointInput) SetMessages(ctx context.Context, v []ChatMessage)
- func (o *QueryEndpointInput) SetStop(ctx context.Context, v []types.String)
- func (newState *QueryEndpointInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryEndpointInput)
- func (newState *QueryEndpointInput) SyncEffectiveFieldsDuringRead(existingState QueryEndpointInput)
- func (o QueryEndpointInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueryEndpointInput) Type(ctx context.Context) attr.Type
- type QueryEndpointResponse
- func (o *QueryEndpointResponse) GetChoices(ctx context.Context) ([]V1ResponseChoiceElement, bool)
- func (a QueryEndpointResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *QueryEndpointResponse) GetData(ctx context.Context) ([]EmbeddingsV1ResponseEmbeddingElement, bool)
- func (o *QueryEndpointResponse) GetPredictions(ctx context.Context) ([]types.Object, bool)
- func (o *QueryEndpointResponse) GetUsage(ctx context.Context) (ExternalModelUsageElement, bool)
- func (o *QueryEndpointResponse) SetChoices(ctx context.Context, v []V1ResponseChoiceElement)
- func (o *QueryEndpointResponse) SetData(ctx context.Context, v []EmbeddingsV1ResponseEmbeddingElement)
- func (o *QueryEndpointResponse) SetPredictions(ctx context.Context, v []types.Object)
- func (o *QueryEndpointResponse) SetUsage(ctx context.Context, v ExternalModelUsageElement)
- func (newState *QueryEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryEndpointResponse)
- func (newState *QueryEndpointResponse) SyncEffectiveFieldsDuringRead(existingState QueryEndpointResponse)
- func (o QueryEndpointResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o QueryEndpointResponse) Type(ctx context.Context) attr.Type
- type RateLimit
- func (a RateLimit) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *RateLimit) SyncEffectiveFieldsDuringCreateOrUpdate(plan RateLimit)
- func (newState *RateLimit) SyncEffectiveFieldsDuringRead(existingState RateLimit)
- func (o RateLimit) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o RateLimit) Type(ctx context.Context) attr.Type
- type Route
- func (a Route) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Route) SyncEffectiveFieldsDuringCreateOrUpdate(plan Route)
- func (newState *Route) SyncEffectiveFieldsDuringRead(existingState Route)
- func (o Route) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Route) Type(ctx context.Context) attr.Type
- type ServedEntityInput
- func (a ServedEntityInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServedEntityInput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ServedEntityInput) GetExternalModel(ctx context.Context) (ExternalModel, bool)
- func (o *ServedEntityInput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)
- func (o *ServedEntityInput) SetExternalModel(ctx context.Context, v ExternalModel)
- func (newState *ServedEntityInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedEntityInput)
- func (newState *ServedEntityInput) SyncEffectiveFieldsDuringRead(existingState ServedEntityInput)
- func (o ServedEntityInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedEntityInput) Type(ctx context.Context) attr.Type
- type ServedEntityOutput
- func (a ServedEntityOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServedEntityOutput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ServedEntityOutput) GetExternalModel(ctx context.Context) (ExternalModel, bool)
- func (o *ServedEntityOutput) GetFoundationModel(ctx context.Context) (FoundationModel, bool)
- func (o *ServedEntityOutput) GetState(ctx context.Context) (ServedModelState, bool)
- func (o *ServedEntityOutput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)
- func (o *ServedEntityOutput) SetExternalModel(ctx context.Context, v ExternalModel)
- func (o *ServedEntityOutput) SetFoundationModel(ctx context.Context, v FoundationModel)
- func (o *ServedEntityOutput) SetState(ctx context.Context, v ServedModelState)
- func (newState *ServedEntityOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedEntityOutput)
- func (newState *ServedEntityOutput) SyncEffectiveFieldsDuringRead(existingState ServedEntityOutput)
- func (o ServedEntityOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedEntityOutput) Type(ctx context.Context) attr.Type
- type ServedEntitySpec
- func (a ServedEntitySpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServedEntitySpec) GetExternalModel(ctx context.Context) (ExternalModel, bool)
- func (o *ServedEntitySpec) GetFoundationModel(ctx context.Context) (FoundationModel, bool)
- func (o *ServedEntitySpec) SetExternalModel(ctx context.Context, v ExternalModel)
- func (o *ServedEntitySpec) SetFoundationModel(ctx context.Context, v FoundationModel)
- func (newState *ServedEntitySpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedEntitySpec)
- func (newState *ServedEntitySpec) SyncEffectiveFieldsDuringRead(existingState ServedEntitySpec)
- func (o ServedEntitySpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedEntitySpec) Type(ctx context.Context) attr.Type
- type ServedModelInput
- func (a ServedModelInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServedModelInput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ServedModelInput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)
- func (newState *ServedModelInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelInput)
- func (newState *ServedModelInput) SyncEffectiveFieldsDuringRead(existingState ServedModelInput)
- func (o ServedModelInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedModelInput) Type(ctx context.Context) attr.Type
- type ServedModelOutput
- func (a ServedModelOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServedModelOutput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)
- func (o *ServedModelOutput) GetState(ctx context.Context) (ServedModelState, bool)
- func (o *ServedModelOutput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)
- func (o *ServedModelOutput) SetState(ctx context.Context, v ServedModelState)
- func (newState *ServedModelOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelOutput)
- func (newState *ServedModelOutput) SyncEffectiveFieldsDuringRead(existingState ServedModelOutput)
- func (o ServedModelOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedModelOutput) Type(ctx context.Context) attr.Type
- type ServedModelSpec
- func (a ServedModelSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ServedModelSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelSpec)
- func (newState *ServedModelSpec) SyncEffectiveFieldsDuringRead(existingState ServedModelSpec)
- func (o ServedModelSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedModelSpec) Type(ctx context.Context) attr.Type
- type ServedModelState
- func (a ServedModelState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ServedModelState) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelState)
- func (newState *ServedModelState) SyncEffectiveFieldsDuringRead(existingState ServedModelState)
- func (o ServedModelState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServedModelState) Type(ctx context.Context) attr.Type
- type ServerLogsResponse
- func (a ServerLogsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ServerLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServerLogsResponse)
- func (newState *ServerLogsResponse) SyncEffectiveFieldsDuringRead(existingState ServerLogsResponse)
- func (o ServerLogsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServerLogsResponse) Type(ctx context.Context) attr.Type
- type ServingEndpoint
- func (o *ServingEndpoint) GetAiGateway(ctx context.Context) (AiGatewayConfig, bool)
- func (a ServingEndpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServingEndpoint) GetConfig(ctx context.Context) (EndpointCoreConfigSummary, bool)
- func (o *ServingEndpoint) GetState(ctx context.Context) (EndpointState, bool)
- func (o *ServingEndpoint) GetTags(ctx context.Context) ([]EndpointTag, bool)
- func (o *ServingEndpoint) SetAiGateway(ctx context.Context, v AiGatewayConfig)
- func (o *ServingEndpoint) SetConfig(ctx context.Context, v EndpointCoreConfigSummary)
- func (o *ServingEndpoint) SetState(ctx context.Context, v EndpointState)
- func (o *ServingEndpoint) SetTags(ctx context.Context, v []EndpointTag)
- func (newState *ServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpoint)
- func (newState *ServingEndpoint) SyncEffectiveFieldsDuringRead(existingState ServingEndpoint)
- func (o ServingEndpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpoint) Type(ctx context.Context) attr.Type
- type ServingEndpointAccessControlRequest
- func (a ServingEndpointAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointAccessControlRequest)
- func (newState *ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlRequest)
- func (o ServingEndpointAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointAccessControlRequest) Type(ctx context.Context) attr.Type
- type ServingEndpointAccessControlResponse
- func (o *ServingEndpointAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ServingEndpointPermission, bool)
- func (a ServingEndpointAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServingEndpointAccessControlResponse) SetAllPermissions(ctx context.Context, v []ServingEndpointPermission)
- func (newState *ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointAccessControlResponse)
- func (newState *ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlResponse)
- func (o ServingEndpointAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointAccessControlResponse) Type(ctx context.Context) attr.Type
- type ServingEndpointDetailed
- func (o *ServingEndpointDetailed) GetAiGateway(ctx context.Context) (AiGatewayConfig, bool)
- func (a ServingEndpointDetailed) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServingEndpointDetailed) GetConfig(ctx context.Context) (EndpointCoreConfigOutput, bool)
- func (o *ServingEndpointDetailed) GetDataPlaneInfo(ctx context.Context) (ModelDataPlaneInfo, bool)
- func (o *ServingEndpointDetailed) GetPendingConfig(ctx context.Context) (EndpointPendingConfig, bool)
- func (o *ServingEndpointDetailed) GetState(ctx context.Context) (EndpointState, bool)
- func (o *ServingEndpointDetailed) GetTags(ctx context.Context) ([]EndpointTag, bool)
- func (o *ServingEndpointDetailed) SetAiGateway(ctx context.Context, v AiGatewayConfig)
- func (o *ServingEndpointDetailed) SetConfig(ctx context.Context, v EndpointCoreConfigOutput)
- func (o *ServingEndpointDetailed) SetDataPlaneInfo(ctx context.Context, v ModelDataPlaneInfo)
- func (o *ServingEndpointDetailed) SetPendingConfig(ctx context.Context, v EndpointPendingConfig)
- func (o *ServingEndpointDetailed) SetState(ctx context.Context, v EndpointState)
- func (o *ServingEndpointDetailed) SetTags(ctx context.Context, v []EndpointTag)
- func (newState *ServingEndpointDetailed) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointDetailed)
- func (newState *ServingEndpointDetailed) SyncEffectiveFieldsDuringRead(existingState ServingEndpointDetailed)
- func (o ServingEndpointDetailed) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointDetailed) Type(ctx context.Context) attr.Type
- type ServingEndpointPermission
- func (a ServingEndpointPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServingEndpointPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
- func (o *ServingEndpointPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
- func (newState *ServingEndpointPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermission)
- func (newState *ServingEndpointPermission) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermission)
- func (o ServingEndpointPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointPermission) Type(ctx context.Context) attr.Type
- type ServingEndpointPermissions
- func (o *ServingEndpointPermissions) GetAccessControlList(ctx context.Context) ([]ServingEndpointAccessControlResponse, bool)
- func (a ServingEndpointPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServingEndpointPermissions) SetAccessControlList(ctx context.Context, v []ServingEndpointAccessControlResponse)
- func (newState *ServingEndpointPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermissions)
- func (newState *ServingEndpointPermissions) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissions)
- func (o ServingEndpointPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointPermissions) Type(ctx context.Context) attr.Type
- type ServingEndpointPermissionsDescription
- func (a ServingEndpointPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermissionsDescription)
- func (newState *ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsDescription)
- func (o ServingEndpointPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointPermissionsDescription) Type(ctx context.Context) attr.Type
- type ServingEndpointPermissionsRequest
- func (o *ServingEndpointPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ServingEndpointAccessControlRequest, bool)
- func (a ServingEndpointPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ServingEndpointPermissionsRequest) SetAccessControlList(ctx context.Context, v []ServingEndpointAccessControlRequest)
- func (newState *ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermissionsRequest)
- func (newState *ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsRequest)
- func (o ServingEndpointPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ServingEndpointPermissionsRequest) Type(ctx context.Context) attr.Type
- type TrafficConfig
- func (a TrafficConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *TrafficConfig) GetRoutes(ctx context.Context) ([]Route, bool)
- func (o *TrafficConfig) SetRoutes(ctx context.Context, v []Route)
- func (newState *TrafficConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrafficConfig)
- func (newState *TrafficConfig) SyncEffectiveFieldsDuringRead(existingState TrafficConfig)
- func (o TrafficConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o TrafficConfig) Type(ctx context.Context) attr.Type
- type V1ResponseChoiceElement
- func (a V1ResponseChoiceElement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *V1ResponseChoiceElement) GetMessage(ctx context.Context) (ChatMessage, bool)
- func (o *V1ResponseChoiceElement) SetMessage(ctx context.Context, v ChatMessage)
- func (newState *V1ResponseChoiceElement) SyncEffectiveFieldsDuringCreateOrUpdate(plan V1ResponseChoiceElement)
- func (newState *V1ResponseChoiceElement) SyncEffectiveFieldsDuringRead(existingState V1ResponseChoiceElement)
- func (o V1ResponseChoiceElement) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o V1ResponseChoiceElement) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ai21LabsConfig ¶
type Ai21LabsConfig struct { // The Databricks secret key reference for an AI21 Labs API key. If you // prefer to paste your API key directly, see `ai21labs_api_key_plaintext`. // You must provide an API key using one of the following fields: // `ai21labs_api_key` or `ai21labs_api_key_plaintext`. Ai21labsApiKey types.String `tfsdk:"ai21labs_api_key" tf:"optional"` // An AI21 Labs API key provided as a plaintext string. If you prefer to // reference your key using Databricks Secrets, see `ai21labs_api_key`. You // must provide an API key using one of the following fields: // `ai21labs_api_key` or `ai21labs_api_key_plaintext`. Ai21labsApiKeyPlaintext types.String `tfsdk:"ai21labs_api_key_plaintext" tf:"optional"` }
func (Ai21LabsConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Ai21LabsConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Ai21LabsConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *Ai21LabsConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ai21LabsConfig)
func (*Ai21LabsConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *Ai21LabsConfig) SyncEffectiveFieldsDuringRead(existingState Ai21LabsConfig)
func (Ai21LabsConfig) ToObjectValue ¶ added in v1.61.0
func (o Ai21LabsConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Ai21LabsConfig only implements ToObjectValue() and Type().
type AiGatewayConfig ¶ added in v1.53.0
type AiGatewayConfig struct { // Configuration for AI Guardrails to prevent unwanted data and unsafe data // in requests and responses. Guardrails types.List `tfsdk:"guardrails" tf:"optional,object"` // Configuration for payload logging using inference tables. Use these // tables to monitor and audit data being sent to and received from model // APIs and to improve model quality. InferenceTableConfig types.List `tfsdk:"inference_table_config" tf:"optional,object"` // Configuration for rate limits which can be set to limit endpoint traffic. RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` // Configuration to enable usage tracking using system tables. These tables // allow you to monitor operational usage on endpoints and their associated // costs. UsageTrackingConfig types.List `tfsdk:"usage_tracking_config" tf:"optional,object"` }
func (AiGatewayConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayConfig) GetGuardrails ¶ added in v1.61.0
func (o *AiGatewayConfig) GetGuardrails(ctx context.Context) (AiGatewayGuardrails, bool)
GetGuardrails returns the value of the Guardrails field in AiGatewayConfig as a AiGatewayGuardrails value. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayConfig) GetInferenceTableConfig ¶ added in v1.61.0
func (o *AiGatewayConfig) GetInferenceTableConfig(ctx context.Context) (AiGatewayInferenceTableConfig, bool)
GetInferenceTableConfig returns the value of the InferenceTableConfig field in AiGatewayConfig as a AiGatewayInferenceTableConfig value. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayConfig) GetRateLimits ¶ added in v1.61.0
func (o *AiGatewayConfig) GetRateLimits(ctx context.Context) ([]AiGatewayRateLimit, bool)
GetRateLimits returns the value of the RateLimits field in AiGatewayConfig as a slice of AiGatewayRateLimit values. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayConfig) GetUsageTrackingConfig ¶ added in v1.61.0
func (o *AiGatewayConfig) GetUsageTrackingConfig(ctx context.Context) (AiGatewayUsageTrackingConfig, bool)
GetUsageTrackingConfig returns the value of the UsageTrackingConfig field in AiGatewayConfig as a AiGatewayUsageTrackingConfig value. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayConfig) SetGuardrails ¶ added in v1.61.0
func (o *AiGatewayConfig) SetGuardrails(ctx context.Context, v AiGatewayGuardrails)
SetGuardrails sets the value of the Guardrails field in AiGatewayConfig.
func (*AiGatewayConfig) SetInferenceTableConfig ¶ added in v1.61.0
func (o *AiGatewayConfig) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig)
SetInferenceTableConfig sets the value of the InferenceTableConfig field in AiGatewayConfig.
func (*AiGatewayConfig) SetRateLimits ¶ added in v1.61.0
func (o *AiGatewayConfig) SetRateLimits(ctx context.Context, v []AiGatewayRateLimit)
SetRateLimits sets the value of the RateLimits field in AiGatewayConfig.
func (*AiGatewayConfig) SetUsageTrackingConfig ¶ added in v1.61.0
func (o *AiGatewayConfig) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)
SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in AiGatewayConfig.
func (*AiGatewayConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayConfig)
func (*AiGatewayConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayConfig)
func (AiGatewayConfig) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayConfig only implements ToObjectValue() and Type().
type AiGatewayGuardrailParameters ¶ added in v1.53.0
type AiGatewayGuardrailParameters struct { // List of invalid keywords. AI guardrail uses keyword or string matching to // decide if the keyword exists in the request or response content. InvalidKeywords types.List `tfsdk:"invalid_keywords" tf:"optional"` // Configuration for guardrail PII filter. Pii types.List `tfsdk:"pii" tf:"optional,object"` // Indicates whether the safety filter is enabled. Safety types.Bool `tfsdk:"safety" tf:"optional"` // The list of allowed topics. Given a chat request, this guardrail flags // the request if its topic is not in the allowed topics. ValidTopics types.List `tfsdk:"valid_topics" tf:"optional"` }
func (AiGatewayGuardrailParameters) GetComplexFieldTypes ¶ added in v1.61.0
func (a AiGatewayGuardrailParameters) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrailParameters. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayGuardrailParameters) GetInvalidKeywords ¶ added in v1.61.0
func (o *AiGatewayGuardrailParameters) GetInvalidKeywords(ctx context.Context) ([]types.String, bool)
GetInvalidKeywords returns the value of the InvalidKeywords field in AiGatewayGuardrailParameters as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayGuardrailParameters) GetPii ¶ added in v1.61.0
func (o *AiGatewayGuardrailParameters) GetPii(ctx context.Context) (AiGatewayGuardrailPiiBehavior, bool)
GetPii returns the value of the Pii field in AiGatewayGuardrailParameters as a AiGatewayGuardrailPiiBehavior value. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayGuardrailParameters) GetValidTopics ¶ added in v1.61.0
GetValidTopics returns the value of the ValidTopics field in AiGatewayGuardrailParameters as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayGuardrailParameters) SetInvalidKeywords ¶ added in v1.61.0
func (o *AiGatewayGuardrailParameters) SetInvalidKeywords(ctx context.Context, v []types.String)
SetInvalidKeywords sets the value of the InvalidKeywords field in AiGatewayGuardrailParameters.
func (*AiGatewayGuardrailParameters) SetPii ¶ added in v1.61.0
func (o *AiGatewayGuardrailParameters) SetPii(ctx context.Context, v AiGatewayGuardrailPiiBehavior)
SetPii sets the value of the Pii field in AiGatewayGuardrailParameters.
func (*AiGatewayGuardrailParameters) SetValidTopics ¶ added in v1.61.0
func (o *AiGatewayGuardrailParameters) SetValidTopics(ctx context.Context, v []types.String)
SetValidTopics sets the value of the ValidTopics field in AiGatewayGuardrailParameters.
func (*AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayGuardrailParameters)
func (*AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailParameters)
func (AiGatewayGuardrailParameters) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayGuardrailParameters) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayGuardrailParameters only implements ToObjectValue() and Type().
type AiGatewayGuardrailPiiBehavior ¶ added in v1.53.0
type AiGatewayGuardrailPiiBehavior struct { // Behavior for PII filter. Currently only 'BLOCK' is supported. If 'BLOCK' // is set for the input guardrail and the request contains PII, the request // is not sent to the model server and 400 status code is returned; if // 'BLOCK' is set for the output guardrail and the model response contains // PII, the PII info in the response is redacted and 400 status code is // returned. Behavior types.String `tfsdk:"behavior" tf:""` }
func (AiGatewayGuardrailPiiBehavior) GetComplexFieldTypes ¶ added in v1.61.0
func (a AiGatewayGuardrailPiiBehavior) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrailPiiBehavior. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayGuardrailPiiBehavior)
func (*AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailPiiBehavior)
func (AiGatewayGuardrailPiiBehavior) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayGuardrailPiiBehavior) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayGuardrailPiiBehavior only implements ToObjectValue() and Type().
type AiGatewayGuardrails ¶ added in v1.53.0
type AiGatewayGuardrails struct { // Configuration for input guardrail filters. Input types.List `tfsdk:"input" tf:"optional,object"` // Configuration for output guardrail filters. Output types.List `tfsdk:"output" tf:"optional,object"` }
func (AiGatewayGuardrails) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayGuardrails) GetInput ¶ added in v1.61.0
func (o *AiGatewayGuardrails) GetInput(ctx context.Context) (AiGatewayGuardrailParameters, bool)
GetInput returns the value of the Input field in AiGatewayGuardrails as a AiGatewayGuardrailParameters value. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayGuardrails) GetOutput ¶ added in v1.61.0
func (o *AiGatewayGuardrails) GetOutput(ctx context.Context) (AiGatewayGuardrailParameters, bool)
GetOutput returns the value of the Output field in AiGatewayGuardrails as a AiGatewayGuardrailParameters value. If the field is unknown or null, the boolean return value is false.
func (*AiGatewayGuardrails) SetInput ¶ added in v1.61.0
func (o *AiGatewayGuardrails) SetInput(ctx context.Context, v AiGatewayGuardrailParameters)
SetInput sets the value of the Input field in AiGatewayGuardrails.
func (*AiGatewayGuardrails) SetOutput ¶ added in v1.61.0
func (o *AiGatewayGuardrails) SetOutput(ctx context.Context, v AiGatewayGuardrailParameters)
SetOutput sets the value of the Output field in AiGatewayGuardrails.
func (*AiGatewayGuardrails) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayGuardrails)
func (*AiGatewayGuardrails) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrails)
func (AiGatewayGuardrails) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayGuardrails only implements ToObjectValue() and Type().
type AiGatewayInferenceTableConfig ¶ added in v1.53.0
type AiGatewayInferenceTableConfig struct { // The name of the catalog in Unity Catalog. Required when enabling // inference tables. NOTE: On update, you have to disable inference table // first in order to change the catalog name. CatalogName types.String `tfsdk:"catalog_name" tf:"optional"` // Indicates whether the inference table is enabled. Enabled types.Bool `tfsdk:"enabled" tf:"optional"` // The name of the schema in Unity Catalog. Required when enabling inference // tables. NOTE: On update, you have to disable inference table first in // order to change the schema name. SchemaName types.String `tfsdk:"schema_name" tf:"optional"` // The prefix of the table in Unity Catalog. NOTE: On update, you have to // disable inference table first in order to change the prefix name. TableNamePrefix types.String `tfsdk:"table_name_prefix" tf:"optional"` }
func (AiGatewayInferenceTableConfig) GetComplexFieldTypes ¶ added in v1.61.0
func (a AiGatewayInferenceTableConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayInferenceTableConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayInferenceTableConfig)
func (*AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayInferenceTableConfig)
func (AiGatewayInferenceTableConfig) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayInferenceTableConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayInferenceTableConfig only implements ToObjectValue() and Type().
type AiGatewayRateLimit ¶ added in v1.53.0
type AiGatewayRateLimit struct { // Used to specify how many calls are allowed for a key within the // renewal_period. Calls types.Int64 `tfsdk:"calls" tf:""` // Key field for a rate limit. Currently, only 'user' and 'endpoint' are // supported, with 'endpoint' being the default if not specified. Key types.String `tfsdk:"key" tf:"optional"` // Renewal period field for a rate limit. Currently, only 'minute' is // supported. RenewalPeriod types.String `tfsdk:"renewal_period" tf:""` }
func (AiGatewayRateLimit) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayRateLimit. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayRateLimit) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayRateLimit) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayRateLimit)
func (*AiGatewayRateLimit) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayRateLimit) SyncEffectiveFieldsDuringRead(existingState AiGatewayRateLimit)
func (AiGatewayRateLimit) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayRateLimit) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayRateLimit only implements ToObjectValue() and Type().
type AiGatewayUsageTrackingConfig ¶ added in v1.53.0
type AiGatewayUsageTrackingConfig struct { // Whether to enable usage tracking. Enabled types.Bool `tfsdk:"enabled" tf:"optional"` }
func (AiGatewayUsageTrackingConfig) GetComplexFieldTypes ¶ added in v1.61.0
func (a AiGatewayUsageTrackingConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayUsageTrackingConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AiGatewayUsageTrackingConfig)
func (*AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayUsageTrackingConfig)
func (AiGatewayUsageTrackingConfig) ToObjectValue ¶ added in v1.61.0
func (o AiGatewayUsageTrackingConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AiGatewayUsageTrackingConfig only implements ToObjectValue() and Type().
type AmazonBedrockConfig ¶
type AmazonBedrockConfig struct { // The Databricks secret key reference for an AWS access key ID with // permissions to interact with Bedrock services. If you prefer to paste // your API key directly, see `aws_access_key_id`. You must provide an API // key using one of the following fields: `aws_access_key_id` or // `aws_access_key_id_plaintext`. AwsAccessKeyId types.String `tfsdk:"aws_access_key_id" tf:"optional"` // An AWS access key ID with permissions to interact with Bedrock services // provided as a plaintext string. If you prefer to reference your key using // Databricks Secrets, see `aws_access_key_id`. You must provide an API key // using one of the following fields: `aws_access_key_id` or // `aws_access_key_id_plaintext`. AwsAccessKeyIdPlaintext types.String `tfsdk:"aws_access_key_id_plaintext" tf:"optional"` // The AWS region to use. Bedrock has to be enabled there. AwsRegion types.String `tfsdk:"aws_region" tf:""` // The Databricks secret key reference for an AWS secret access key paired // with the access key ID, with permissions to interact with Bedrock // services. If you prefer to paste your API key directly, see // `aws_secret_access_key_plaintext`. You must provide an API key using one // of the following fields: `aws_secret_access_key` or // `aws_secret_access_key_plaintext`. AwsSecretAccessKey types.String `tfsdk:"aws_secret_access_key" tf:"optional"` // An AWS secret access key paired with the access key ID, with permissions // to interact with Bedrock services provided as a plaintext string. If you // prefer to reference your key using Databricks Secrets, see // `aws_secret_access_key`. You must provide an API key using one of the // following fields: `aws_secret_access_key` or // `aws_secret_access_key_plaintext`. AwsSecretAccessKeyPlaintext types.String `tfsdk:"aws_secret_access_key_plaintext" tf:"optional"` // The underlying provider in Amazon Bedrock. Supported values (case // insensitive) include: Anthropic, Cohere, AI21Labs, Amazon. BedrockProvider types.String `tfsdk:"bedrock_provider" tf:""` }
func (AmazonBedrockConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AmazonBedrockConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AmazonBedrockConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AmazonBedrockConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AmazonBedrockConfig)
func (*AmazonBedrockConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AmazonBedrockConfig) SyncEffectiveFieldsDuringRead(existingState AmazonBedrockConfig)
func (AmazonBedrockConfig) ToObjectValue ¶ added in v1.61.0
func (o AmazonBedrockConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AmazonBedrockConfig only implements ToObjectValue() and Type().
type AnthropicConfig ¶
type AnthropicConfig struct { // The Databricks secret key reference for an Anthropic API key. If you // prefer to paste your API key directly, see `anthropic_api_key_plaintext`. // You must provide an API key using one of the following fields: // `anthropic_api_key` or `anthropic_api_key_plaintext`. AnthropicApiKey types.String `tfsdk:"anthropic_api_key" tf:"optional"` // The Anthropic API key provided as a plaintext string. If you prefer to // reference your key using Databricks Secrets, see `anthropic_api_key`. You // must provide an API key using one of the following fields: // `anthropic_api_key` or `anthropic_api_key_plaintext`. AnthropicApiKeyPlaintext types.String `tfsdk:"anthropic_api_key_plaintext" tf:"optional"` }
func (AnthropicConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AnthropicConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AnthropicConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AnthropicConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan AnthropicConfig)
func (*AnthropicConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AnthropicConfig) SyncEffectiveFieldsDuringRead(existingState AnthropicConfig)
func (AnthropicConfig) ToObjectValue ¶ added in v1.61.0
func (o AnthropicConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AnthropicConfig only implements ToObjectValue() and Type().
type AutoCaptureConfigInput ¶
type AutoCaptureConfigInput struct { // The name of the catalog in Unity Catalog. NOTE: On update, you cannot // change the catalog name if the inference table is already enabled. CatalogName types.String `tfsdk:"catalog_name" tf:"optional"` // Indicates whether the inference table is enabled. Enabled types.Bool `tfsdk:"enabled" tf:"optional"` // The name of the schema in Unity Catalog. NOTE: On update, you cannot // change the schema name if the inference table is already enabled. SchemaName types.String `tfsdk:"schema_name" tf:"optional"` // The prefix of the table in Unity Catalog. NOTE: On update, you cannot // change the prefix name if the inference table is already enabled. TableNamePrefix types.String `tfsdk:"table_name_prefix" tf:"optional"` }
func (AutoCaptureConfigInput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureConfigInput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AutoCaptureConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AutoCaptureConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoCaptureConfigInput)
func (*AutoCaptureConfigInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AutoCaptureConfigInput) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigInput)
func (AutoCaptureConfigInput) ToObjectValue ¶ added in v1.61.0
func (o AutoCaptureConfigInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AutoCaptureConfigInput only implements ToObjectValue() and Type().
type AutoCaptureConfigOutput ¶
type AutoCaptureConfigOutput struct { // The name of the catalog in Unity Catalog. CatalogName types.String `tfsdk:"catalog_name" tf:"optional"` // Indicates whether the inference table is enabled. Enabled types.Bool `tfsdk:"enabled" tf:"optional"` // The name of the schema in Unity Catalog. SchemaName types.String `tfsdk:"schema_name" tf:"optional"` State types.List `tfsdk:"state" tf:"optional,object"` // The prefix of the table in Unity Catalog. TableNamePrefix types.String `tfsdk:"table_name_prefix" tf:"optional"` }
func (AutoCaptureConfigOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureConfigOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AutoCaptureConfigOutput) GetState ¶ added in v1.61.0
func (o *AutoCaptureConfigOutput) GetState(ctx context.Context) (AutoCaptureState, bool)
GetState returns the value of the State field in AutoCaptureConfigOutput as a AutoCaptureState value. If the field is unknown or null, the boolean return value is false.
func (*AutoCaptureConfigOutput) SetState ¶ added in v1.61.0
func (o *AutoCaptureConfigOutput) SetState(ctx context.Context, v AutoCaptureState)
SetState sets the value of the State field in AutoCaptureConfigOutput.
func (*AutoCaptureConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AutoCaptureConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoCaptureConfigOutput)
func (*AutoCaptureConfigOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AutoCaptureConfigOutput) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigOutput)
func (AutoCaptureConfigOutput) ToObjectValue ¶ added in v1.61.0
func (o AutoCaptureConfigOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AutoCaptureConfigOutput only implements ToObjectValue() and Type().
type AutoCaptureState ¶
type AutoCaptureState struct {
PayloadTable types.List `tfsdk:"payload_table" tf:"optional,object"`
}
func (AutoCaptureState) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AutoCaptureState) GetPayloadTable ¶ added in v1.61.0
func (o *AutoCaptureState) GetPayloadTable(ctx context.Context) (PayloadTable, bool)
GetPayloadTable returns the value of the PayloadTable field in AutoCaptureState as a PayloadTable value. If the field is unknown or null, the boolean return value is false.
func (*AutoCaptureState) SetPayloadTable ¶ added in v1.61.0
func (o *AutoCaptureState) SetPayloadTable(ctx context.Context, v PayloadTable)
SetPayloadTable sets the value of the PayloadTable field in AutoCaptureState.
func (*AutoCaptureState) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AutoCaptureState) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoCaptureState)
func (*AutoCaptureState) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AutoCaptureState) SyncEffectiveFieldsDuringRead(existingState AutoCaptureState)
func (AutoCaptureState) ToObjectValue ¶ added in v1.61.0
func (o AutoCaptureState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AutoCaptureState only implements ToObjectValue() and Type().
type BuildLogsRequest ¶
type BuildLogsRequest struct { // The name of the serving endpoint that the served model belongs to. This // field is required. Name types.String `tfsdk:"-"` // The name of the served model that build logs will be retrieved for. This // field is required. ServedModelName types.String `tfsdk:"-"` }
Get build logs for a served model
func (BuildLogsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in BuildLogsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*BuildLogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *BuildLogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan BuildLogsRequest)
func (*BuildLogsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *BuildLogsRequest) SyncEffectiveFieldsDuringRead(existingState BuildLogsRequest)
func (BuildLogsRequest) ToObjectValue ¶ added in v1.61.0
func (o BuildLogsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, BuildLogsRequest only implements ToObjectValue() and Type().
type BuildLogsResponse ¶
type BuildLogsResponse struct { // The logs associated with building the served entity's environment. Logs types.String `tfsdk:"logs" tf:""` }
func (BuildLogsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in BuildLogsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*BuildLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *BuildLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan BuildLogsResponse)
func (*BuildLogsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *BuildLogsResponse) SyncEffectiveFieldsDuringRead(existingState BuildLogsResponse)
func (BuildLogsResponse) ToObjectValue ¶ added in v1.61.0
func (o BuildLogsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, BuildLogsResponse only implements ToObjectValue() and Type().
type ChatMessage ¶
type ChatMessage struct { // The content of the message. Content types.String `tfsdk:"content" tf:"optional"` // The role of the message. One of [system, user, assistant]. Role types.String `tfsdk:"role" tf:"optional"` }
func (ChatMessage) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ChatMessage. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ChatMessage) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ChatMessage) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChatMessage)
func (*ChatMessage) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ChatMessage) SyncEffectiveFieldsDuringRead(existingState ChatMessage)
func (ChatMessage) ToObjectValue ¶ added in v1.61.0
func (o ChatMessage) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ChatMessage only implements ToObjectValue() and Type().
type CohereConfig ¶
type CohereConfig struct { // This is an optional field to provide a customized base URL for the Cohere // API. If left unspecified, the standard Cohere base URL is used. CohereApiBase types.String `tfsdk:"cohere_api_base" tf:"optional"` // The Databricks secret key reference for a Cohere API key. If you prefer // to paste your API key directly, see `cohere_api_key_plaintext`. You must // provide an API key using one of the following fields: `cohere_api_key` or // `cohere_api_key_plaintext`. CohereApiKey types.String `tfsdk:"cohere_api_key" tf:"optional"` // The Cohere API key provided as a plaintext string. If you prefer to // reference your key using Databricks Secrets, see `cohere_api_key`. You // must provide an API key using one of the following fields: // `cohere_api_key` or `cohere_api_key_plaintext`. CohereApiKeyPlaintext types.String `tfsdk:"cohere_api_key_plaintext" tf:"optional"` }
func (CohereConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CohereConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CohereConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CohereConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan CohereConfig)
func (*CohereConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CohereConfig) SyncEffectiveFieldsDuringRead(existingState CohereConfig)
func (CohereConfig) ToObjectValue ¶ added in v1.61.0
func (o CohereConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CohereConfig only implements ToObjectValue() and Type().
type CreateServingEndpoint ¶
type CreateServingEndpoint struct { // The AI Gateway configuration for the serving endpoint. NOTE: only // external model endpoints are supported as of now. AiGateway types.List `tfsdk:"ai_gateway" tf:"optional,object"` // The core config of the serving endpoint. Config types.List `tfsdk:"config" tf:"object"` // The name of the serving endpoint. This field is required and must be // unique across a Databricks workspace. An endpoint name can consist of // alphanumeric characters, dashes, and underscores. Name types.String `tfsdk:"name" tf:""` // Rate limits to be applied to the serving endpoint. NOTE: this field is // deprecated, please use AI Gateway to manage rate limits. RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` // Enable route optimization for the serving endpoint. RouteOptimized types.Bool `tfsdk:"route_optimized" tf:"optional"` // Tags to be attached to the serving endpoint and automatically propagated // to billing logs. Tags types.List `tfsdk:"tags" tf:"optional"` }
func (*CreateServingEndpoint) GetAiGateway ¶ added in v1.61.0
func (o *CreateServingEndpoint) GetAiGateway(ctx context.Context) (AiGatewayConfig, bool)
GetAiGateway returns the value of the AiGateway field in CreateServingEndpoint as a AiGatewayConfig value. If the field is unknown or null, the boolean return value is false.
func (CreateServingEndpoint) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServingEndpoint. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateServingEndpoint) GetConfig ¶ added in v1.61.0
func (o *CreateServingEndpoint) GetConfig(ctx context.Context) (EndpointCoreConfigInput, bool)
GetConfig returns the value of the Config field in CreateServingEndpoint as a EndpointCoreConfigInput value. If the field is unknown or null, the boolean return value is false.
func (*CreateServingEndpoint) GetRateLimits ¶ added in v1.61.0
func (o *CreateServingEndpoint) GetRateLimits(ctx context.Context) ([]RateLimit, bool)
GetRateLimits returns the value of the RateLimits field in CreateServingEndpoint as a slice of RateLimit values. If the field is unknown or null, the boolean return value is false.
func (*CreateServingEndpoint) GetTags ¶ added in v1.61.0
func (o *CreateServingEndpoint) GetTags(ctx context.Context) ([]EndpointTag, bool)
GetTags returns the value of the Tags field in CreateServingEndpoint as a slice of EndpointTag values. If the field is unknown or null, the boolean return value is false.
func (*CreateServingEndpoint) SetAiGateway ¶ added in v1.61.0
func (o *CreateServingEndpoint) SetAiGateway(ctx context.Context, v AiGatewayConfig)
SetAiGateway sets the value of the AiGateway field in CreateServingEndpoint.
func (*CreateServingEndpoint) SetConfig ¶ added in v1.61.0
func (o *CreateServingEndpoint) SetConfig(ctx context.Context, v EndpointCoreConfigInput)
SetConfig sets the value of the Config field in CreateServingEndpoint.
func (*CreateServingEndpoint) SetRateLimits ¶ added in v1.61.0
func (o *CreateServingEndpoint) SetRateLimits(ctx context.Context, v []RateLimit)
SetRateLimits sets the value of the RateLimits field in CreateServingEndpoint.
func (*CreateServingEndpoint) SetTags ¶ added in v1.61.0
func (o *CreateServingEndpoint) SetTags(ctx context.Context, v []EndpointTag)
SetTags sets the value of the Tags field in CreateServingEndpoint.
func (*CreateServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateServingEndpoint)
func (*CreateServingEndpoint) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateServingEndpoint) SyncEffectiveFieldsDuringRead(existingState CreateServingEndpoint)
func (CreateServingEndpoint) ToObjectValue ¶ added in v1.61.0
func (o CreateServingEndpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateServingEndpoint only implements ToObjectValue() and Type().
type DatabricksModelServingConfig ¶
type DatabricksModelServingConfig struct { // The Databricks secret key reference for a Databricks API token that // corresponds to a user or service principal with Can Query access to the // model serving endpoint pointed to by this external model. If you prefer // to paste your API key directly, see `databricks_api_token_plaintext`. You // must provide an API key using one of the following fields: // `databricks_api_token` or `databricks_api_token_plaintext`. DatabricksApiToken types.String `tfsdk:"databricks_api_token" tf:"optional"` // The Databricks API token that corresponds to a user or service principal // with Can Query access to the model serving endpoint pointed to by this // external model provided as a plaintext string. If you prefer to reference // your key using Databricks Secrets, see `databricks_api_token`. You must // provide an API key using one of the following fields: // `databricks_api_token` or `databricks_api_token_plaintext`. DatabricksApiTokenPlaintext types.String `tfsdk:"databricks_api_token_plaintext" tf:"optional"` // The URL of the Databricks workspace containing the model serving endpoint // pointed to by this external model. DatabricksWorkspaceUrl types.String `tfsdk:"databricks_workspace_url" tf:""` }
func (DatabricksModelServingConfig) GetComplexFieldTypes ¶ added in v1.61.0
func (a DatabricksModelServingConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksModelServingConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DatabricksModelServingConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DatabricksModelServingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan DatabricksModelServingConfig)
func (*DatabricksModelServingConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DatabricksModelServingConfig) SyncEffectiveFieldsDuringRead(existingState DatabricksModelServingConfig)
func (DatabricksModelServingConfig) ToObjectValue ¶ added in v1.61.0
func (o DatabricksModelServingConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DatabricksModelServingConfig only implements ToObjectValue() and Type().
type DataframeSplitInput ¶
type DataframeSplitInput struct { Columns types.List `tfsdk:"columns" tf:"optional"` Data types.List `tfsdk:"data" tf:"optional"` Index types.List `tfsdk:"index" tf:"optional"` }
func (*DataframeSplitInput) GetColumns ¶ added in v1.61.0
GetColumns returns the value of the Columns field in DataframeSplitInput as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (DataframeSplitInput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DataframeSplitInput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DataframeSplitInput) GetData ¶ added in v1.61.0
GetData returns the value of the Data field in DataframeSplitInput as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (*DataframeSplitInput) GetIndex ¶ added in v1.61.0
GetIndex returns the value of the Index field in DataframeSplitInput as a slice of types.Int64 values. If the field is unknown or null, the boolean return value is false.
func (*DataframeSplitInput) SetColumns ¶ added in v1.61.0
func (o *DataframeSplitInput) SetColumns(ctx context.Context, v []types.Object)
SetColumns sets the value of the Columns field in DataframeSplitInput.
func (*DataframeSplitInput) SetData ¶ added in v1.61.0
func (o *DataframeSplitInput) SetData(ctx context.Context, v []types.Object)
SetData sets the value of the Data field in DataframeSplitInput.
func (*DataframeSplitInput) SetIndex ¶ added in v1.61.0
func (o *DataframeSplitInput) SetIndex(ctx context.Context, v []types.Int64)
SetIndex sets the value of the Index field in DataframeSplitInput.
func (*DataframeSplitInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DataframeSplitInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataframeSplitInput)
func (*DataframeSplitInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DataframeSplitInput) SyncEffectiveFieldsDuringRead(existingState DataframeSplitInput)
func (DataframeSplitInput) ToObjectValue ¶ added in v1.61.0
func (o DataframeSplitInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DataframeSplitInput only implements ToObjectValue() and Type().
type DeleteResponse ¶
type DeleteResponse struct { }
func (DeleteResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)
func (*DeleteResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)
func (DeleteResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().
type DeleteServingEndpointRequest ¶
type DeleteServingEndpointRequest struct { // The name of the serving endpoint. This field is required. Name types.String `tfsdk:"-"` }
Delete a serving endpoint
func (DeleteServingEndpointRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a DeleteServingEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServingEndpointRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServingEndpointRequest)
func (*DeleteServingEndpointRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteServingEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServingEndpointRequest)
func (DeleteServingEndpointRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteServingEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteServingEndpointRequest only implements ToObjectValue() and Type().
type EmbeddingsV1ResponseEmbeddingElement ¶
type EmbeddingsV1ResponseEmbeddingElement struct { Embedding types.List `tfsdk:"embedding" tf:"optional"` // The index of the embedding in the response. Index types.Int64 `tfsdk:"index" tf:"optional"` // This will always be 'embedding'. Object types.String `tfsdk:"object" tf:"optional"` }
func (EmbeddingsV1ResponseEmbeddingElement) GetComplexFieldTypes ¶ added in v1.61.0
func (a EmbeddingsV1ResponseEmbeddingElement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingsV1ResponseEmbeddingElement. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EmbeddingsV1ResponseEmbeddingElement) GetEmbedding ¶ added in v1.61.0
func (o *EmbeddingsV1ResponseEmbeddingElement) GetEmbedding(ctx context.Context) ([]types.Float64, bool)
GetEmbedding returns the value of the Embedding field in EmbeddingsV1ResponseEmbeddingElement as a slice of types.Float64 values. If the field is unknown or null, the boolean return value is false.
func (*EmbeddingsV1ResponseEmbeddingElement) SetEmbedding ¶ added in v1.61.0
func (o *EmbeddingsV1ResponseEmbeddingElement) SetEmbedding(ctx context.Context, v []types.Float64)
SetEmbedding sets the value of the Embedding field in EmbeddingsV1ResponseEmbeddingElement.
func (*EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmbeddingsV1ResponseEmbeddingElement)
func (*EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringRead(existingState EmbeddingsV1ResponseEmbeddingElement)
func (EmbeddingsV1ResponseEmbeddingElement) ToObjectValue ¶ added in v1.61.0
func (o EmbeddingsV1ResponseEmbeddingElement) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EmbeddingsV1ResponseEmbeddingElement only implements ToObjectValue() and Type().
type EndpointCoreConfigInput ¶
type EndpointCoreConfigInput struct { // Configuration for Inference Tables which automatically logs requests and // responses to Unity Catalog. AutoCaptureConfig types.List `tfsdk:"auto_capture_config" tf:"optional,object"` // The name of the serving endpoint to update. This field is required. Name types.String `tfsdk:"-"` // A list of served entities for the endpoint to serve. A serving endpoint // can have up to 15 served entities. ServedEntities types.List `tfsdk:"served_entities" tf:"optional"` // (Deprecated, use served_entities instead) A list of served models for the // endpoint to serve. A serving endpoint can have up to 15 served models. ServedModels types.List `tfsdk:"served_models" tf:"optional"` // The traffic config defining how invocations to the serving endpoint // should be routed. TrafficConfig types.List `tfsdk:"traffic_config" tf:"optional,object"` }
func (*EndpointCoreConfigInput) GetAutoCaptureConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) GetAutoCaptureConfig(ctx context.Context) (AutoCaptureConfigInput, bool)
GetAutoCaptureConfig returns the value of the AutoCaptureConfig field in EndpointCoreConfigInput as a AutoCaptureConfigInput value. If the field is unknown or null, the boolean return value is false.
func (EndpointCoreConfigInput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigInput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointCoreConfigInput) GetServedEntities ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) GetServedEntities(ctx context.Context) ([]ServedEntityInput, bool)
GetServedEntities returns the value of the ServedEntities field in EndpointCoreConfigInput as a slice of ServedEntityInput values. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigInput) GetServedModels ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) GetServedModels(ctx context.Context) ([]ServedModelInput, bool)
GetServedModels returns the value of the ServedModels field in EndpointCoreConfigInput as a slice of ServedModelInput values. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigInput) GetTrafficConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)
GetTrafficConfig returns the value of the TrafficConfig field in EndpointCoreConfigInput as a TrafficConfig value. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigInput) SetAutoCaptureConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) SetAutoCaptureConfig(ctx context.Context, v AutoCaptureConfigInput)
SetAutoCaptureConfig sets the value of the AutoCaptureConfig field in EndpointCoreConfigInput.
func (*EndpointCoreConfigInput) SetServedEntities ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) SetServedEntities(ctx context.Context, v []ServedEntityInput)
SetServedEntities sets the value of the ServedEntities field in EndpointCoreConfigInput.
func (*EndpointCoreConfigInput) SetServedModels ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) SetServedModels(ctx context.Context, v []ServedModelInput)
SetServedModels sets the value of the ServedModels field in EndpointCoreConfigInput.
func (*EndpointCoreConfigInput) SetTrafficConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigInput) SetTrafficConfig(ctx context.Context, v TrafficConfig)
SetTrafficConfig sets the value of the TrafficConfig field in EndpointCoreConfigInput.
func (*EndpointCoreConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointCoreConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointCoreConfigInput)
func (*EndpointCoreConfigInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointCoreConfigInput) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigInput)
func (EndpointCoreConfigInput) ToObjectValue ¶ added in v1.61.0
func (o EndpointCoreConfigInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointCoreConfigInput only implements ToObjectValue() and Type().
type EndpointCoreConfigOutput ¶
type EndpointCoreConfigOutput struct { // Configuration for Inference Tables which automatically logs requests and // responses to Unity Catalog. AutoCaptureConfig types.List `tfsdk:"auto_capture_config" tf:"optional,object"` // The config version that the serving endpoint is currently serving. ConfigVersion types.Int64 `tfsdk:"config_version" tf:"optional"` // The list of served entities under the serving endpoint config. ServedEntities types.List `tfsdk:"served_entities" tf:"optional"` // (Deprecated, use served_entities instead) The list of served models under // the serving endpoint config. ServedModels types.List `tfsdk:"served_models" tf:"optional"` // The traffic configuration associated with the serving endpoint config. TrafficConfig types.List `tfsdk:"traffic_config" tf:"optional,object"` }
func (*EndpointCoreConfigOutput) GetAutoCaptureConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) GetAutoCaptureConfig(ctx context.Context) (AutoCaptureConfigOutput, bool)
GetAutoCaptureConfig returns the value of the AutoCaptureConfig field in EndpointCoreConfigOutput as a AutoCaptureConfigOutput value. If the field is unknown or null, the boolean return value is false.
func (EndpointCoreConfigOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointCoreConfigOutput) GetServedEntities ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) GetServedEntities(ctx context.Context) ([]ServedEntityOutput, bool)
GetServedEntities returns the value of the ServedEntities field in EndpointCoreConfigOutput as a slice of ServedEntityOutput values. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigOutput) GetServedModels ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) GetServedModels(ctx context.Context) ([]ServedModelOutput, bool)
GetServedModels returns the value of the ServedModels field in EndpointCoreConfigOutput as a slice of ServedModelOutput values. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigOutput) GetTrafficConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)
GetTrafficConfig returns the value of the TrafficConfig field in EndpointCoreConfigOutput as a TrafficConfig value. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigOutput) SetAutoCaptureConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) SetAutoCaptureConfig(ctx context.Context, v AutoCaptureConfigOutput)
SetAutoCaptureConfig sets the value of the AutoCaptureConfig field in EndpointCoreConfigOutput.
func (*EndpointCoreConfigOutput) SetServedEntities ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) SetServedEntities(ctx context.Context, v []ServedEntityOutput)
SetServedEntities sets the value of the ServedEntities field in EndpointCoreConfigOutput.
func (*EndpointCoreConfigOutput) SetServedModels ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) SetServedModels(ctx context.Context, v []ServedModelOutput)
SetServedModels sets the value of the ServedModels field in EndpointCoreConfigOutput.
func (*EndpointCoreConfigOutput) SetTrafficConfig ¶ added in v1.61.0
func (o *EndpointCoreConfigOutput) SetTrafficConfig(ctx context.Context, v TrafficConfig)
SetTrafficConfig sets the value of the TrafficConfig field in EndpointCoreConfigOutput.
func (*EndpointCoreConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointCoreConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointCoreConfigOutput)
func (*EndpointCoreConfigOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointCoreConfigOutput) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigOutput)
func (EndpointCoreConfigOutput) ToObjectValue ¶ added in v1.61.0
func (o EndpointCoreConfigOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointCoreConfigOutput only implements ToObjectValue() and Type().
type EndpointCoreConfigSummary ¶
type EndpointCoreConfigSummary struct { // The list of served entities under the serving endpoint config. ServedEntities types.List `tfsdk:"served_entities" tf:"optional"` // (Deprecated, use served_entities instead) The list of served models under // the serving endpoint config. ServedModels types.List `tfsdk:"served_models" tf:"optional"` }
func (EndpointCoreConfigSummary) GetComplexFieldTypes ¶ added in v1.61.0
func (a EndpointCoreConfigSummary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigSummary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointCoreConfigSummary) GetServedEntities ¶ added in v1.61.0
func (o *EndpointCoreConfigSummary) GetServedEntities(ctx context.Context) ([]ServedEntitySpec, bool)
GetServedEntities returns the value of the ServedEntities field in EndpointCoreConfigSummary as a slice of ServedEntitySpec values. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigSummary) GetServedModels ¶ added in v1.61.0
func (o *EndpointCoreConfigSummary) GetServedModels(ctx context.Context) ([]ServedModelSpec, bool)
GetServedModels returns the value of the ServedModels field in EndpointCoreConfigSummary as a slice of ServedModelSpec values. If the field is unknown or null, the boolean return value is false.
func (*EndpointCoreConfigSummary) SetServedEntities ¶ added in v1.61.0
func (o *EndpointCoreConfigSummary) SetServedEntities(ctx context.Context, v []ServedEntitySpec)
SetServedEntities sets the value of the ServedEntities field in EndpointCoreConfigSummary.
func (*EndpointCoreConfigSummary) SetServedModels ¶ added in v1.61.0
func (o *EndpointCoreConfigSummary) SetServedModels(ctx context.Context, v []ServedModelSpec)
SetServedModels sets the value of the ServedModels field in EndpointCoreConfigSummary.
func (*EndpointCoreConfigSummary) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointCoreConfigSummary) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointCoreConfigSummary)
func (*EndpointCoreConfigSummary) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointCoreConfigSummary) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigSummary)
func (EndpointCoreConfigSummary) ToObjectValue ¶ added in v1.61.0
func (o EndpointCoreConfigSummary) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointCoreConfigSummary only implements ToObjectValue() and Type().
type EndpointPendingConfig ¶
type EndpointPendingConfig struct { // Configuration for Inference Tables which automatically logs requests and // responses to Unity Catalog. AutoCaptureConfig types.List `tfsdk:"auto_capture_config" tf:"optional,object"` // The config version that the serving endpoint is currently serving. ConfigVersion types.Int64 `tfsdk:"config_version" tf:"optional"` // The list of served entities belonging to the last issued update to the // serving endpoint. ServedEntities types.List `tfsdk:"served_entities" tf:"optional"` // (Deprecated, use served_entities instead) The list of served models // belonging to the last issued update to the serving endpoint. ServedModels types.List `tfsdk:"served_models" tf:"optional"` // The timestamp when the update to the pending config started. StartTime types.Int64 `tfsdk:"start_time" tf:"optional"` // The traffic config defining how invocations to the serving endpoint // should be routed. TrafficConfig types.List `tfsdk:"traffic_config" tf:"optional,object"` }
func (*EndpointPendingConfig) GetAutoCaptureConfig ¶ added in v1.61.0
func (o *EndpointPendingConfig) GetAutoCaptureConfig(ctx context.Context) (AutoCaptureConfigOutput, bool)
GetAutoCaptureConfig returns the value of the AutoCaptureConfig field in EndpointPendingConfig as a AutoCaptureConfigOutput value. If the field is unknown or null, the boolean return value is false.
func (EndpointPendingConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointPendingConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointPendingConfig) GetServedEntities ¶ added in v1.61.0
func (o *EndpointPendingConfig) GetServedEntities(ctx context.Context) ([]ServedEntityOutput, bool)
GetServedEntities returns the value of the ServedEntities field in EndpointPendingConfig as a slice of ServedEntityOutput values. If the field is unknown or null, the boolean return value is false.
func (*EndpointPendingConfig) GetServedModels ¶ added in v1.61.0
func (o *EndpointPendingConfig) GetServedModels(ctx context.Context) ([]ServedModelOutput, bool)
GetServedModels returns the value of the ServedModels field in EndpointPendingConfig as a slice of ServedModelOutput values. If the field is unknown or null, the boolean return value is false.
func (*EndpointPendingConfig) GetTrafficConfig ¶ added in v1.61.0
func (o *EndpointPendingConfig) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)
GetTrafficConfig returns the value of the TrafficConfig field in EndpointPendingConfig as a TrafficConfig value. If the field is unknown or null, the boolean return value is false.
func (*EndpointPendingConfig) SetAutoCaptureConfig ¶ added in v1.61.0
func (o *EndpointPendingConfig) SetAutoCaptureConfig(ctx context.Context, v AutoCaptureConfigOutput)
SetAutoCaptureConfig sets the value of the AutoCaptureConfig field in EndpointPendingConfig.
func (*EndpointPendingConfig) SetServedEntities ¶ added in v1.61.0
func (o *EndpointPendingConfig) SetServedEntities(ctx context.Context, v []ServedEntityOutput)
SetServedEntities sets the value of the ServedEntities field in EndpointPendingConfig.
func (*EndpointPendingConfig) SetServedModels ¶ added in v1.61.0
func (o *EndpointPendingConfig) SetServedModels(ctx context.Context, v []ServedModelOutput)
SetServedModels sets the value of the ServedModels field in EndpointPendingConfig.
func (*EndpointPendingConfig) SetTrafficConfig ¶ added in v1.61.0
func (o *EndpointPendingConfig) SetTrafficConfig(ctx context.Context, v TrafficConfig)
SetTrafficConfig sets the value of the TrafficConfig field in EndpointPendingConfig.
func (*EndpointPendingConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointPendingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointPendingConfig)
func (*EndpointPendingConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointPendingConfig) SyncEffectiveFieldsDuringRead(existingState EndpointPendingConfig)
func (EndpointPendingConfig) ToObjectValue ¶ added in v1.61.0
func (o EndpointPendingConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointPendingConfig only implements ToObjectValue() and Type().
type EndpointState ¶
type EndpointState struct { // The state of an endpoint's config update. This informs the user if the // pending_config is in progress, if the update failed, or if there is no // update in progress. Note that if the endpoint's config_update state value // is IN_PROGRESS, another update can not be made until the update completes // or fails." ConfigUpdate types.String `tfsdk:"config_update" tf:"optional"` // The state of an endpoint, indicating whether or not the endpoint is // queryable. An endpoint is READY if all of the served entities in its // active configuration are ready. If any of the actively served entities // are in a non-ready state, the endpoint state will be NOT_READY. Ready types.String `tfsdk:"ready" tf:"optional"` }
func (EndpointState) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointState) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointState) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointState)
func (*EndpointState) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointState) SyncEffectiveFieldsDuringRead(existingState EndpointState)
func (EndpointState) ToObjectValue ¶ added in v1.61.0
func (o EndpointState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointState only implements ToObjectValue() and Type().
type EndpointTag ¶
type EndpointTag struct { // Key field for a serving endpoint tag. Key types.String `tfsdk:"key" tf:""` // Optional value field for a serving endpoint tag. Value types.String `tfsdk:"value" tf:"optional"` }
func (EndpointTag) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTag. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*EndpointTag) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *EndpointTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointTag)
func (*EndpointTag) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *EndpointTag) SyncEffectiveFieldsDuringRead(existingState EndpointTag)
func (EndpointTag) ToObjectValue ¶ added in v1.61.0
func (o EndpointTag) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EndpointTag only implements ToObjectValue() and Type().
type ExportMetricsRequest ¶
type ExportMetricsRequest struct { // The name of the serving endpoint to retrieve metrics for. This field is // required. Name types.String `tfsdk:"-"` }
Get metrics of a serving endpoint
func (ExportMetricsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportMetricsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ExportMetricsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExportMetricsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsRequest)
func (*ExportMetricsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExportMetricsRequest) SyncEffectiveFieldsDuringRead(existingState ExportMetricsRequest)
func (ExportMetricsRequest) ToObjectValue ¶ added in v1.61.0
func (o ExportMetricsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExportMetricsRequest only implements ToObjectValue() and Type().
type ExportMetricsResponse ¶
func (ExportMetricsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportMetricsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ExportMetricsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExportMetricsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsResponse)
func (*ExportMetricsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExportMetricsResponse) SyncEffectiveFieldsDuringRead(existingState ExportMetricsResponse)
func (ExportMetricsResponse) ToObjectValue ¶ added in v1.61.0
func (o ExportMetricsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExportMetricsResponse only implements ToObjectValue() and Type().
type ExternalModel ¶
type ExternalModel struct { // AI21Labs Config. Only required if the provider is 'ai21labs'. Ai21labsConfig types.List `tfsdk:"ai21labs_config" tf:"optional,object"` // Amazon Bedrock Config. Only required if the provider is 'amazon-bedrock'. AmazonBedrockConfig types.List `tfsdk:"amazon_bedrock_config" tf:"optional,object"` // Anthropic Config. Only required if the provider is 'anthropic'. AnthropicConfig types.List `tfsdk:"anthropic_config" tf:"optional,object"` // Cohere Config. Only required if the provider is 'cohere'. CohereConfig types.List `tfsdk:"cohere_config" tf:"optional,object"` // Databricks Model Serving Config. Only required if the provider is // 'databricks-model-serving'. DatabricksModelServingConfig types.List `tfsdk:"databricks_model_serving_config" tf:"optional,object"` // Google Cloud Vertex AI Config. Only required if the provider is // 'google-cloud-vertex-ai'. GoogleCloudVertexAiConfig types.List `tfsdk:"google_cloud_vertex_ai_config" tf:"optional,object"` // The name of the external model. Name types.String `tfsdk:"name" tf:""` // OpenAI Config. Only required if the provider is 'openai'. OpenaiConfig types.List `tfsdk:"openai_config" tf:"optional,object"` // PaLM Config. Only required if the provider is 'palm'. PalmConfig types.List `tfsdk:"palm_config" tf:"optional,object"` // The name of the provider for the external model. Currently, the supported // providers are 'ai21labs', 'anthropic', 'amazon-bedrock', 'cohere', // 'databricks-model-serving', 'google-cloud-vertex-ai', 'openai', and // 'palm'.", Provider types.String `tfsdk:"provider" tf:""` // The task type of the external model. Task types.String `tfsdk:"task" tf:""` }
func (*ExternalModel) GetAi21labsConfig ¶ added in v1.61.0
func (o *ExternalModel) GetAi21labsConfig(ctx context.Context) (Ai21LabsConfig, bool)
GetAi21labsConfig returns the value of the Ai21labsConfig field in ExternalModel as a Ai21LabsConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) GetAmazonBedrockConfig ¶ added in v1.61.0
func (o *ExternalModel) GetAmazonBedrockConfig(ctx context.Context) (AmazonBedrockConfig, bool)
GetAmazonBedrockConfig returns the value of the AmazonBedrockConfig field in ExternalModel as a AmazonBedrockConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) GetAnthropicConfig ¶ added in v1.61.0
func (o *ExternalModel) GetAnthropicConfig(ctx context.Context) (AnthropicConfig, bool)
GetAnthropicConfig returns the value of the AnthropicConfig field in ExternalModel as a AnthropicConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) GetCohereConfig ¶ added in v1.61.0
func (o *ExternalModel) GetCohereConfig(ctx context.Context) (CohereConfig, bool)
GetCohereConfig returns the value of the CohereConfig field in ExternalModel as a CohereConfig value. If the field is unknown or null, the boolean return value is false.
func (ExternalModel) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalModel. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ExternalModel) GetDatabricksModelServingConfig ¶ added in v1.61.0
func (o *ExternalModel) GetDatabricksModelServingConfig(ctx context.Context) (DatabricksModelServingConfig, bool)
GetDatabricksModelServingConfig returns the value of the DatabricksModelServingConfig field in ExternalModel as a DatabricksModelServingConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) GetGoogleCloudVertexAiConfig ¶ added in v1.61.0
func (o *ExternalModel) GetGoogleCloudVertexAiConfig(ctx context.Context) (GoogleCloudVertexAiConfig, bool)
GetGoogleCloudVertexAiConfig returns the value of the GoogleCloudVertexAiConfig field in ExternalModel as a GoogleCloudVertexAiConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) GetOpenaiConfig ¶ added in v1.61.0
func (o *ExternalModel) GetOpenaiConfig(ctx context.Context) (OpenAiConfig, bool)
GetOpenaiConfig returns the value of the OpenaiConfig field in ExternalModel as a OpenAiConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) GetPalmConfig ¶ added in v1.61.0
func (o *ExternalModel) GetPalmConfig(ctx context.Context) (PaLmConfig, bool)
GetPalmConfig returns the value of the PalmConfig field in ExternalModel as a PaLmConfig value. If the field is unknown or null, the boolean return value is false.
func (*ExternalModel) SetAi21labsConfig ¶ added in v1.61.0
func (o *ExternalModel) SetAi21labsConfig(ctx context.Context, v Ai21LabsConfig)
SetAi21labsConfig sets the value of the Ai21labsConfig field in ExternalModel.
func (*ExternalModel) SetAmazonBedrockConfig ¶ added in v1.61.0
func (o *ExternalModel) SetAmazonBedrockConfig(ctx context.Context, v AmazonBedrockConfig)
SetAmazonBedrockConfig sets the value of the AmazonBedrockConfig field in ExternalModel.
func (*ExternalModel) SetAnthropicConfig ¶ added in v1.61.0
func (o *ExternalModel) SetAnthropicConfig(ctx context.Context, v AnthropicConfig)
SetAnthropicConfig sets the value of the AnthropicConfig field in ExternalModel.
func (*ExternalModel) SetCohereConfig ¶ added in v1.61.0
func (o *ExternalModel) SetCohereConfig(ctx context.Context, v CohereConfig)
SetCohereConfig sets the value of the CohereConfig field in ExternalModel.
func (*ExternalModel) SetDatabricksModelServingConfig ¶ added in v1.61.0
func (o *ExternalModel) SetDatabricksModelServingConfig(ctx context.Context, v DatabricksModelServingConfig)
SetDatabricksModelServingConfig sets the value of the DatabricksModelServingConfig field in ExternalModel.
func (*ExternalModel) SetGoogleCloudVertexAiConfig ¶ added in v1.61.0
func (o *ExternalModel) SetGoogleCloudVertexAiConfig(ctx context.Context, v GoogleCloudVertexAiConfig)
SetGoogleCloudVertexAiConfig sets the value of the GoogleCloudVertexAiConfig field in ExternalModel.
func (*ExternalModel) SetOpenaiConfig ¶ added in v1.61.0
func (o *ExternalModel) SetOpenaiConfig(ctx context.Context, v OpenAiConfig)
SetOpenaiConfig sets the value of the OpenaiConfig field in ExternalModel.
func (*ExternalModel) SetPalmConfig ¶ added in v1.61.0
func (o *ExternalModel) SetPalmConfig(ctx context.Context, v PaLmConfig)
SetPalmConfig sets the value of the PalmConfig field in ExternalModel.
func (*ExternalModel) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExternalModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalModel)
func (*ExternalModel) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExternalModel) SyncEffectiveFieldsDuringRead(existingState ExternalModel)
func (ExternalModel) ToObjectValue ¶ added in v1.61.0
func (o ExternalModel) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExternalModel only implements ToObjectValue() and Type().
type ExternalModelUsageElement ¶
type ExternalModelUsageElement struct { // The number of tokens in the chat/completions response. CompletionTokens types.Int64 `tfsdk:"completion_tokens" tf:"optional"` // The number of tokens in the prompt. PromptTokens types.Int64 `tfsdk:"prompt_tokens" tf:"optional"` // The total number of tokens in the prompt and response. TotalTokens types.Int64 `tfsdk:"total_tokens" tf:"optional"` }
func (ExternalModelUsageElement) GetComplexFieldTypes ¶ added in v1.61.0
func (a ExternalModelUsageElement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalModelUsageElement. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ExternalModelUsageElement) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ExternalModelUsageElement) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalModelUsageElement)
func (*ExternalModelUsageElement) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ExternalModelUsageElement) SyncEffectiveFieldsDuringRead(existingState ExternalModelUsageElement)
func (ExternalModelUsageElement) ToObjectValue ¶ added in v1.61.0
func (o ExternalModelUsageElement) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ExternalModelUsageElement only implements ToObjectValue() and Type().
type FoundationModel ¶
type FoundationModel struct { // The description of the foundation model. Description types.String `tfsdk:"description" tf:"optional"` // The display name of the foundation model. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // The URL to the documentation of the foundation model. Docs types.String `tfsdk:"docs" tf:"optional"` // The name of the foundation model. Name types.String `tfsdk:"name" tf:"optional"` }
func (FoundationModel) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in FoundationModel. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*FoundationModel) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *FoundationModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan FoundationModel)
func (*FoundationModel) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *FoundationModel) SyncEffectiveFieldsDuringRead(existingState FoundationModel)
func (FoundationModel) ToObjectValue ¶ added in v1.61.0
func (o FoundationModel) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, FoundationModel only implements ToObjectValue() and Type().
type GetOpenApiRequest ¶
type GetOpenApiRequest struct { // The name of the serving endpoint that the served model belongs to. This // field is required. Name types.String `tfsdk:"-"` }
Get the schema for a serving endpoint
func (GetOpenApiRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOpenApiRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetOpenApiRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetOpenApiRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiRequest)
func (*GetOpenApiRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetOpenApiRequest) SyncEffectiveFieldsDuringRead(existingState GetOpenApiRequest)
func (GetOpenApiRequest) ToObjectValue ¶ added in v1.61.0
func (o GetOpenApiRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetOpenApiRequest only implements ToObjectValue() and Type().
type GetOpenApiResponse ¶
type GetOpenApiResponse struct { }
The response is an OpenAPI spec in JSON format that typically includes fields like openapi, info, servers and paths, etc.
func (GetOpenApiResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOpenApiResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetOpenApiResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetOpenApiResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiResponse)
func (*GetOpenApiResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetOpenApiResponse) SyncEffectiveFieldsDuringRead(existingState GetOpenApiResponse)
func (GetOpenApiResponse) ToObjectValue ¶ added in v1.61.0
func (o GetOpenApiResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetOpenApiResponse only implements ToObjectValue() and Type().
type GetServingEndpointPermissionLevelsRequest ¶
type GetServingEndpointPermissionLevelsRequest struct { // The serving endpoint for which to get or manage permissions. ServingEndpointId types.String `tfsdk:"-"` }
Get serving endpoint permission levels
func (GetServingEndpointPermissionLevelsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetServingEndpointPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionLevelsRequest)
func (*GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsRequest)
func (GetServingEndpointPermissionLevelsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetServingEndpointPermissionLevelsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetServingEndpointPermissionLevelsRequest only implements ToObjectValue() and Type().
type GetServingEndpointPermissionLevelsResponse ¶
type GetServingEndpointPermissionLevelsResponse struct { // Specific permission levels PermissionLevels types.List `tfsdk:"permission_levels" tf:"optional"` }
func (GetServingEndpointPermissionLevelsResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetServingEndpointPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetServingEndpointPermissionLevelsResponse) GetPermissionLevels ¶ added in v1.61.0
func (o *GetServingEndpointPermissionLevelsResponse) GetPermissionLevels(ctx context.Context) ([]ServingEndpointPermissionsDescription, bool)
GetPermissionLevels returns the value of the PermissionLevels field in GetServingEndpointPermissionLevelsResponse as a slice of ServingEndpointPermissionsDescription values. If the field is unknown or null, the boolean return value is false.
func (*GetServingEndpointPermissionLevelsResponse) SetPermissionLevels ¶ added in v1.61.0
func (o *GetServingEndpointPermissionLevelsResponse) SetPermissionLevels(ctx context.Context, v []ServingEndpointPermissionsDescription)
SetPermissionLevels sets the value of the PermissionLevels field in GetServingEndpointPermissionLevelsResponse.
func (*GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionLevelsResponse)
func (*GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsResponse)
func (GetServingEndpointPermissionLevelsResponse) ToObjectValue ¶ added in v1.61.0
func (o GetServingEndpointPermissionLevelsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetServingEndpointPermissionLevelsResponse only implements ToObjectValue() and Type().
type GetServingEndpointPermissionsRequest ¶
type GetServingEndpointPermissionsRequest struct { // The serving endpoint for which to get or manage permissions. ServingEndpointId types.String `tfsdk:"-"` }
Get serving endpoint permissions
func (GetServingEndpointPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetServingEndpointPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionsRequest)
func (*GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionsRequest)
func (GetServingEndpointPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o GetServingEndpointPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetServingEndpointPermissionsRequest only implements ToObjectValue() and Type().
type GetServingEndpointRequest ¶
type GetServingEndpointRequest struct { // The name of the serving endpoint. This field is required. Name types.String `tfsdk:"-"` }
Get a single serving endpoint
func (GetServingEndpointRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetServingEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointRequest)
func (*GetServingEndpointRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetServingEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointRequest)
func (GetServingEndpointRequest) ToObjectValue ¶ added in v1.61.0
func (o GetServingEndpointRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetServingEndpointRequest only implements ToObjectValue() and Type().
type GoogleCloudVertexAiConfig ¶
type GoogleCloudVertexAiConfig struct { // The Databricks secret key reference for a private key for the service // account which has access to the Google Cloud Vertex AI Service. See [Best // practices for managing service account keys]. If you prefer to paste your // API key directly, see `private_key_plaintext`. You must provide an API // key using one of the following fields: `private_key` or // `private_key_plaintext` // // [Best practices for managing service account keys]: https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys PrivateKey types.String `tfsdk:"private_key" tf:"optional"` // The private key for the service account which has access to the Google // Cloud Vertex AI Service provided as a plaintext secret. See [Best // practices for managing service account keys]. If you prefer to reference // your key using Databricks Secrets, see `private_key`. You must provide an // API key using one of the following fields: `private_key` or // `private_key_plaintext`. // // [Best practices for managing service account keys]: https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys PrivateKeyPlaintext types.String `tfsdk:"private_key_plaintext" tf:"optional"` // This is the Google Cloud project id that the service account is // associated with. ProjectId types.String `tfsdk:"project_id" tf:"optional"` // This is the region for the Google Cloud Vertex AI Service. See [supported // regions] for more details. Some models are only available in specific // regions. // // [supported regions]: https://cloud.google.com/vertex-ai/docs/general/locations Region types.String `tfsdk:"region" tf:"optional"` }
func (GoogleCloudVertexAiConfig) GetComplexFieldTypes ¶ added in v1.61.0
func (a GoogleCloudVertexAiConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GoogleCloudVertexAiConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan GoogleCloudVertexAiConfig)
func (*GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringRead(existingState GoogleCloudVertexAiConfig)
func (GoogleCloudVertexAiConfig) ToObjectValue ¶ added in v1.61.0
func (o GoogleCloudVertexAiConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GoogleCloudVertexAiConfig only implements ToObjectValue() and Type().
type ListEndpointsResponse ¶
type ListEndpointsResponse struct { // The list of endpoints. Endpoints types.List `tfsdk:"endpoints" tf:"optional"` }
func (ListEndpointsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListEndpointsResponse) GetEndpoints ¶ added in v1.61.0
func (o *ListEndpointsResponse) GetEndpoints(ctx context.Context) ([]ServingEndpoint, bool)
GetEndpoints returns the value of the Endpoints field in ListEndpointsResponse as a slice of ServingEndpoint values. If the field is unknown or null, the boolean return value is false.
func (*ListEndpointsResponse) SetEndpoints ¶ added in v1.61.0
func (o *ListEndpointsResponse) SetEndpoints(ctx context.Context, v []ServingEndpoint)
SetEndpoints sets the value of the Endpoints field in ListEndpointsResponse.
func (*ListEndpointsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListEndpointsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointsResponse)
func (*ListEndpointsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListEndpointsResponse) SyncEffectiveFieldsDuringRead(existingState ListEndpointsResponse)
func (ListEndpointsResponse) ToObjectValue ¶ added in v1.61.0
func (o ListEndpointsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListEndpointsResponse only implements ToObjectValue() and Type().
type LogsRequest ¶
type LogsRequest struct { // The name of the serving endpoint that the served model belongs to. This // field is required. Name types.String `tfsdk:"-"` // The name of the served model that logs will be retrieved for. This field // is required. ServedModelName types.String `tfsdk:"-"` }
Get the latest logs for a served model
func (LogsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in LogsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*LogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *LogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogsRequest)
func (*LogsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *LogsRequest) SyncEffectiveFieldsDuringRead(existingState LogsRequest)
func (LogsRequest) ToObjectValue ¶ added in v1.61.0
func (o LogsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogsRequest only implements ToObjectValue() and Type().
type ModelDataPlaneInfo ¶
type ModelDataPlaneInfo struct { // Information required to query DataPlane API 'query' endpoint. QueryInfo types.List `tfsdk:"query_info" tf:"optional,object"` }
func (ModelDataPlaneInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelDataPlaneInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ModelDataPlaneInfo) GetQueryInfo ¶ added in v1.61.0
func (o *ModelDataPlaneInfo) GetQueryInfo(ctx context.Context) (oauth2_tf.DataPlaneInfo, bool)
GetQueryInfo returns the value of the QueryInfo field in ModelDataPlaneInfo as a oauth2_tf.DataPlaneInfo value. If the field is unknown or null, the boolean return value is false.
func (*ModelDataPlaneInfo) SetQueryInfo ¶ added in v1.61.0
func (o *ModelDataPlaneInfo) SetQueryInfo(ctx context.Context, v oauth2_tf.DataPlaneInfo)
SetQueryInfo sets the value of the QueryInfo field in ModelDataPlaneInfo.
func (*ModelDataPlaneInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ModelDataPlaneInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelDataPlaneInfo)
func (*ModelDataPlaneInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ModelDataPlaneInfo) SyncEffectiveFieldsDuringRead(existingState ModelDataPlaneInfo)
func (ModelDataPlaneInfo) ToObjectValue ¶ added in v1.61.0
func (o ModelDataPlaneInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ModelDataPlaneInfo only implements ToObjectValue() and Type().
type OpenAiConfig ¶
type OpenAiConfig struct { // This field is only required for Azure AD OpenAI and is the Microsoft // Entra Client ID. MicrosoftEntraClientId types.String `tfsdk:"microsoft_entra_client_id" tf:"optional"` // The Databricks secret key reference for a client secret used for // Microsoft Entra ID authentication. If you prefer to paste your client // secret directly, see `microsoft_entra_client_secret_plaintext`. You must // provide an API key using one of the following fields: // `microsoft_entra_client_secret` or // `microsoft_entra_client_secret_plaintext`. MicrosoftEntraClientSecret types.String `tfsdk:"microsoft_entra_client_secret" tf:"optional"` // The client secret used for Microsoft Entra ID authentication provided as // a plaintext string. If you prefer to reference your key using Databricks // Secrets, see `microsoft_entra_client_secret`. You must provide an API key // using one of the following fields: `microsoft_entra_client_secret` or // `microsoft_entra_client_secret_plaintext`. MicrosoftEntraClientSecretPlaintext types.String `tfsdk:"microsoft_entra_client_secret_plaintext" tf:"optional"` // This field is only required for Azure AD OpenAI and is the Microsoft // Entra Tenant ID. MicrosoftEntraTenantId types.String `tfsdk:"microsoft_entra_tenant_id" tf:"optional"` // This is a field to provide a customized base URl for the OpenAI API. For // Azure OpenAI, this field is required, and is the base URL for the Azure // OpenAI API service provided by Azure. For other OpenAI API types, this // field is optional, and if left unspecified, the standard OpenAI base URL // is used. OpenaiApiBase types.String `tfsdk:"openai_api_base" tf:"optional"` // The Databricks secret key reference for an OpenAI API key using the // OpenAI or Azure service. If you prefer to paste your API key directly, // see `openai_api_key_plaintext`. You must provide an API key using one of // the following fields: `openai_api_key` or `openai_api_key_plaintext`. OpenaiApiKey types.String `tfsdk:"openai_api_key" tf:"optional"` // The OpenAI API key using the OpenAI or Azure service provided as a // plaintext string. If you prefer to reference your key using Databricks // Secrets, see `openai_api_key`. You must provide an API key using one of // the following fields: `openai_api_key` or `openai_api_key_plaintext`. OpenaiApiKeyPlaintext types.String `tfsdk:"openai_api_key_plaintext" tf:"optional"` // This is an optional field to specify the type of OpenAI API to use. For // Azure OpenAI, this field is required, and adjust this parameter to // represent the preferred security access validation protocol. For access // token validation, use azure. For authentication using Azure Active // Directory (Azure AD) use, azuread. OpenaiApiType types.String `tfsdk:"openai_api_type" tf:"optional"` // This is an optional field to specify the OpenAI API version. For Azure // OpenAI, this field is required, and is the version of the Azure OpenAI // service to utilize, specified by a date. OpenaiApiVersion types.String `tfsdk:"openai_api_version" tf:"optional"` // This field is only required for Azure OpenAI and is the name of the // deployment resource for the Azure OpenAI service. OpenaiDeploymentName types.String `tfsdk:"openai_deployment_name" tf:"optional"` // This is an optional field to specify the organization in OpenAI or Azure // OpenAI. OpenaiOrganization types.String `tfsdk:"openai_organization" tf:"optional"` }
func (OpenAiConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in OpenAiConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*OpenAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *OpenAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan OpenAiConfig)
func (*OpenAiConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *OpenAiConfig) SyncEffectiveFieldsDuringRead(existingState OpenAiConfig)
func (OpenAiConfig) ToObjectValue ¶ added in v1.61.0
func (o OpenAiConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, OpenAiConfig only implements ToObjectValue() and Type().
type PaLmConfig ¶
type PaLmConfig struct { // The Databricks secret key reference for a PaLM API key. If you prefer to // paste your API key directly, see `palm_api_key_plaintext`. You must // provide an API key using one of the following fields: `palm_api_key` or // `palm_api_key_plaintext`. PalmApiKey types.String `tfsdk:"palm_api_key" tf:"optional"` // The PaLM API key provided as a plaintext string. If you prefer to // reference your key using Databricks Secrets, see `palm_api_key`. You must // provide an API key using one of the following fields: `palm_api_key` or // `palm_api_key_plaintext`. PalmApiKeyPlaintext types.String `tfsdk:"palm_api_key_plaintext" tf:"optional"` }
func (PaLmConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PaLmConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PaLmConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PaLmConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan PaLmConfig)
func (*PaLmConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PaLmConfig) SyncEffectiveFieldsDuringRead(existingState PaLmConfig)
func (PaLmConfig) ToObjectValue ¶ added in v1.61.0
func (o PaLmConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PaLmConfig only implements ToObjectValue() and Type().
type PatchServingEndpointTags ¶
type PatchServingEndpointTags struct { // List of endpoint tags to add AddTags types.List `tfsdk:"add_tags" tf:"optional"` // List of tag keys to delete DeleteTags types.List `tfsdk:"delete_tags" tf:"optional"` // The name of the serving endpoint who's tags to patch. This field is // required. Name types.String `tfsdk:"-"` }
func (*PatchServingEndpointTags) GetAddTags ¶ added in v1.61.0
func (o *PatchServingEndpointTags) GetAddTags(ctx context.Context) ([]EndpointTag, bool)
GetAddTags returns the value of the AddTags field in PatchServingEndpointTags as a slice of EndpointTag values. If the field is unknown or null, the boolean return value is false.
func (PatchServingEndpointTags) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchServingEndpointTags. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PatchServingEndpointTags) GetDeleteTags ¶ added in v1.61.0
GetDeleteTags returns the value of the DeleteTags field in PatchServingEndpointTags as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*PatchServingEndpointTags) SetAddTags ¶ added in v1.61.0
func (o *PatchServingEndpointTags) SetAddTags(ctx context.Context, v []EndpointTag)
SetAddTags sets the value of the AddTags field in PatchServingEndpointTags.
func (*PatchServingEndpointTags) SetDeleteTags ¶ added in v1.61.0
func (o *PatchServingEndpointTags) SetDeleteTags(ctx context.Context, v []types.String)
SetDeleteTags sets the value of the DeleteTags field in PatchServingEndpointTags.
func (*PatchServingEndpointTags) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PatchServingEndpointTags) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchServingEndpointTags)
func (*PatchServingEndpointTags) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PatchServingEndpointTags) SyncEffectiveFieldsDuringRead(existingState PatchServingEndpointTags)
func (PatchServingEndpointTags) ToObjectValue ¶ added in v1.61.0
func (o PatchServingEndpointTags) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PatchServingEndpointTags only implements ToObjectValue() and Type().
type PayloadTable ¶
type PayloadTable struct { // The name of the payload table. Name types.String `tfsdk:"name" tf:"optional"` // The status of the payload table. Status types.String `tfsdk:"status" tf:"optional"` // The status message of the payload table. StatusMessage types.String `tfsdk:"status_message" tf:"optional"` }
func (PayloadTable) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PayloadTable. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PayloadTable) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PayloadTable) SyncEffectiveFieldsDuringCreateOrUpdate(plan PayloadTable)
func (*PayloadTable) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PayloadTable) SyncEffectiveFieldsDuringRead(existingState PayloadTable)
func (PayloadTable) ToObjectValue ¶ added in v1.61.0
func (o PayloadTable) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PayloadTable only implements ToObjectValue() and Type().
type PutAiGatewayRequest ¶ added in v1.53.0
type PutAiGatewayRequest struct { // Configuration for AI Guardrails to prevent unwanted data and unsafe data // in requests and responses. Guardrails types.List `tfsdk:"guardrails" tf:"optional,object"` // Configuration for payload logging using inference tables. Use these // tables to monitor and audit data being sent to and received from model // APIs and to improve model quality. InferenceTableConfig types.List `tfsdk:"inference_table_config" tf:"optional,object"` // The name of the serving endpoint whose AI Gateway is being updated. This // field is required. Name types.String `tfsdk:"-"` // Configuration for rate limits which can be set to limit endpoint traffic. RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` // Configuration to enable usage tracking using system tables. These tables // allow you to monitor operational usage on endpoints and their associated // costs. UsageTrackingConfig types.List `tfsdk:"usage_tracking_config" tf:"optional,object"` }
Update AI Gateway of a serving endpoint
func (PutAiGatewayRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAiGatewayRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PutAiGatewayRequest) GetGuardrails ¶ added in v1.61.0
func (o *PutAiGatewayRequest) GetGuardrails(ctx context.Context) (AiGatewayGuardrails, bool)
GetGuardrails returns the value of the Guardrails field in PutAiGatewayRequest as a AiGatewayGuardrails value. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayRequest) GetInferenceTableConfig ¶ added in v1.61.0
func (o *PutAiGatewayRequest) GetInferenceTableConfig(ctx context.Context) (AiGatewayInferenceTableConfig, bool)
GetInferenceTableConfig returns the value of the InferenceTableConfig field in PutAiGatewayRequest as a AiGatewayInferenceTableConfig value. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayRequest) GetRateLimits ¶ added in v1.61.0
func (o *PutAiGatewayRequest) GetRateLimits(ctx context.Context) ([]AiGatewayRateLimit, bool)
GetRateLimits returns the value of the RateLimits field in PutAiGatewayRequest as a slice of AiGatewayRateLimit values. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayRequest) GetUsageTrackingConfig ¶ added in v1.61.0
func (o *PutAiGatewayRequest) GetUsageTrackingConfig(ctx context.Context) (AiGatewayUsageTrackingConfig, bool)
GetUsageTrackingConfig returns the value of the UsageTrackingConfig field in PutAiGatewayRequest as a AiGatewayUsageTrackingConfig value. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayRequest) SetGuardrails ¶ added in v1.61.0
func (o *PutAiGatewayRequest) SetGuardrails(ctx context.Context, v AiGatewayGuardrails)
SetGuardrails sets the value of the Guardrails field in PutAiGatewayRequest.
func (*PutAiGatewayRequest) SetInferenceTableConfig ¶ added in v1.61.0
func (o *PutAiGatewayRequest) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig)
SetInferenceTableConfig sets the value of the InferenceTableConfig field in PutAiGatewayRequest.
func (*PutAiGatewayRequest) SetRateLimits ¶ added in v1.61.0
func (o *PutAiGatewayRequest) SetRateLimits(ctx context.Context, v []AiGatewayRateLimit)
SetRateLimits sets the value of the RateLimits field in PutAiGatewayRequest.
func (*PutAiGatewayRequest) SetUsageTrackingConfig ¶ added in v1.61.0
func (o *PutAiGatewayRequest) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)
SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in PutAiGatewayRequest.
func (*PutAiGatewayRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PutAiGatewayRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayRequest)
func (*PutAiGatewayRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PutAiGatewayRequest) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayRequest)
func (PutAiGatewayRequest) ToObjectValue ¶ added in v1.61.0
func (o PutAiGatewayRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PutAiGatewayRequest only implements ToObjectValue() and Type().
type PutAiGatewayResponse ¶ added in v1.53.0
type PutAiGatewayResponse struct { // Configuration for AI Guardrails to prevent unwanted data and unsafe data // in requests and responses. Guardrails types.List `tfsdk:"guardrails" tf:"optional,object"` // Configuration for payload logging using inference tables. Use these // tables to monitor and audit data being sent to and received from model // APIs and to improve model quality . InferenceTableConfig types.List `tfsdk:"inference_table_config" tf:"optional,object"` // Configuration for rate limits which can be set to limit endpoint traffic. RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` // Configuration to enable usage tracking using system tables. These tables // allow you to monitor operational usage on endpoints and their associated // costs. UsageTrackingConfig types.List `tfsdk:"usage_tracking_config" tf:"optional,object"` }
func (PutAiGatewayResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAiGatewayResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PutAiGatewayResponse) GetGuardrails ¶ added in v1.61.0
func (o *PutAiGatewayResponse) GetGuardrails(ctx context.Context) (AiGatewayGuardrails, bool)
GetGuardrails returns the value of the Guardrails field in PutAiGatewayResponse as a AiGatewayGuardrails value. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayResponse) GetInferenceTableConfig ¶ added in v1.61.0
func (o *PutAiGatewayResponse) GetInferenceTableConfig(ctx context.Context) (AiGatewayInferenceTableConfig, bool)
GetInferenceTableConfig returns the value of the InferenceTableConfig field in PutAiGatewayResponse as a AiGatewayInferenceTableConfig value. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayResponse) GetRateLimits ¶ added in v1.61.0
func (o *PutAiGatewayResponse) GetRateLimits(ctx context.Context) ([]AiGatewayRateLimit, bool)
GetRateLimits returns the value of the RateLimits field in PutAiGatewayResponse as a slice of AiGatewayRateLimit values. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayResponse) GetUsageTrackingConfig ¶ added in v1.61.0
func (o *PutAiGatewayResponse) GetUsageTrackingConfig(ctx context.Context) (AiGatewayUsageTrackingConfig, bool)
GetUsageTrackingConfig returns the value of the UsageTrackingConfig field in PutAiGatewayResponse as a AiGatewayUsageTrackingConfig value. If the field is unknown or null, the boolean return value is false.
func (*PutAiGatewayResponse) SetGuardrails ¶ added in v1.61.0
func (o *PutAiGatewayResponse) SetGuardrails(ctx context.Context, v AiGatewayGuardrails)
SetGuardrails sets the value of the Guardrails field in PutAiGatewayResponse.
func (*PutAiGatewayResponse) SetInferenceTableConfig ¶ added in v1.61.0
func (o *PutAiGatewayResponse) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig)
SetInferenceTableConfig sets the value of the InferenceTableConfig field in PutAiGatewayResponse.
func (*PutAiGatewayResponse) SetRateLimits ¶ added in v1.61.0
func (o *PutAiGatewayResponse) SetRateLimits(ctx context.Context, v []AiGatewayRateLimit)
SetRateLimits sets the value of the RateLimits field in PutAiGatewayResponse.
func (*PutAiGatewayResponse) SetUsageTrackingConfig ¶ added in v1.61.0
func (o *PutAiGatewayResponse) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)
SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in PutAiGatewayResponse.
func (*PutAiGatewayResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PutAiGatewayResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayResponse)
func (*PutAiGatewayResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PutAiGatewayResponse) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayResponse)
func (PutAiGatewayResponse) ToObjectValue ¶ added in v1.61.0
func (o PutAiGatewayResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PutAiGatewayResponse only implements ToObjectValue() and Type().
type PutRequest ¶
type PutRequest struct { // The name of the serving endpoint whose rate limits are being updated. // This field is required. Name types.String `tfsdk:"-"` // The list of endpoint rate limits. RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` }
Update rate limits of a serving endpoint
func (PutRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PutRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PutRequest) GetRateLimits ¶ added in v1.61.0
func (o *PutRequest) GetRateLimits(ctx context.Context) ([]RateLimit, bool)
GetRateLimits returns the value of the RateLimits field in PutRequest as a slice of RateLimit values. If the field is unknown or null, the boolean return value is false.
func (*PutRequest) SetRateLimits ¶ added in v1.61.0
func (o *PutRequest) SetRateLimits(ctx context.Context, v []RateLimit)
SetRateLimits sets the value of the RateLimits field in PutRequest.
func (*PutRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PutRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutRequest)
func (*PutRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PutRequest) SyncEffectiveFieldsDuringRead(existingState PutRequest)
func (PutRequest) ToObjectValue ¶ added in v1.61.0
func (o PutRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PutRequest only implements ToObjectValue() and Type().
type PutResponse ¶
type PutResponse struct { // The list of endpoint rate limits. RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` }
func (PutResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PutResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PutResponse) GetRateLimits ¶ added in v1.61.0
func (o *PutResponse) GetRateLimits(ctx context.Context) ([]RateLimit, bool)
GetRateLimits returns the value of the RateLimits field in PutResponse as a slice of RateLimit values. If the field is unknown or null, the boolean return value is false.
func (*PutResponse) SetRateLimits ¶ added in v1.61.0
func (o *PutResponse) SetRateLimits(ctx context.Context, v []RateLimit)
SetRateLimits sets the value of the RateLimits field in PutResponse.
func (*PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutResponse)
func (*PutResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PutResponse) SyncEffectiveFieldsDuringRead(existingState PutResponse)
func (PutResponse) ToObjectValue ¶ added in v1.61.0
func (o PutResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PutResponse only implements ToObjectValue() and Type().
type QueryEndpointInput ¶
type QueryEndpointInput struct { // Pandas Dataframe input in the records orientation. DataframeRecords types.List `tfsdk:"dataframe_records" tf:"optional"` // Pandas Dataframe input in the split orientation. DataframeSplit types.List `tfsdk:"dataframe_split" tf:"optional,object"` // The extra parameters field used ONLY for __completions, chat,__ and // __embeddings external & foundation model__ serving endpoints. This is a // map of strings and should only be used with other external/foundation // model query fields. ExtraParams types.Map `tfsdk:"extra_params" tf:"optional"` // The input string (or array of strings) field used ONLY for __embeddings // external & foundation model__ serving endpoints and is the only field // (along with extra_params if needed) used by embeddings queries. Input types.Object `tfsdk:"input" tf:"optional"` // Tensor-based input in columnar format. Inputs types.Object `tfsdk:"inputs" tf:"optional"` // Tensor-based input in row format. Instances types.List `tfsdk:"instances" tf:"optional"` // The max tokens field used ONLY for __completions__ and __chat external & // foundation model__ serving endpoints. This is an integer and should only // be used with other chat/completions query fields. MaxTokens types.Int64 `tfsdk:"max_tokens" tf:"optional"` // The messages field used ONLY for __chat external & foundation model__ // serving endpoints. This is a map of strings and should only be used with // other chat query fields. Messages types.List `tfsdk:"messages" tf:"optional"` // The n (number of candidates) field used ONLY for __completions__ and // __chat external & foundation model__ serving endpoints. This is an // integer between 1 and 5 with a default of 1 and should only be used with // other chat/completions query fields. N types.Int64 `tfsdk:"n" tf:"optional"` // The name of the serving endpoint. This field is required. Name types.String `tfsdk:"-"` // The prompt string (or array of strings) field used ONLY for __completions // external & foundation model__ serving endpoints and should only be used // with other completions query fields. Prompt types.Object `tfsdk:"prompt" tf:"optional"` // The stop sequences field used ONLY for __completions__ and __chat // external & foundation model__ serving endpoints. This is a list of // strings and should only be used with other chat/completions query fields. Stop types.List `tfsdk:"stop" tf:"optional"` // The stream field used ONLY for __completions__ and __chat external & // foundation model__ serving endpoints. This is a boolean defaulting to // false and should only be used with other chat/completions query fields. Stream types.Bool `tfsdk:"stream" tf:"optional"` // The temperature field used ONLY for __completions__ and __chat external & // foundation model__ serving endpoints. This is a float between 0.0 and 2.0 // with a default of 1.0 and should only be used with other chat/completions // query fields. Temperature types.Float64 `tfsdk:"temperature" tf:"optional"` }
func (QueryEndpointInput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEndpointInput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueryEndpointInput) GetDataframeRecords ¶ added in v1.61.0
GetDataframeRecords returns the value of the DataframeRecords field in QueryEndpointInput as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointInput) GetDataframeSplit ¶ added in v1.61.0
func (o *QueryEndpointInput) GetDataframeSplit(ctx context.Context) (DataframeSplitInput, bool)
GetDataframeSplit returns the value of the DataframeSplit field in QueryEndpointInput as a DataframeSplitInput value. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointInput) GetExtraParams ¶ added in v1.61.0
GetExtraParams returns the value of the ExtraParams field in QueryEndpointInput as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointInput) GetInstances ¶ added in v1.61.0
GetInstances returns the value of the Instances field in QueryEndpointInput as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointInput) GetMessages ¶ added in v1.61.0
func (o *QueryEndpointInput) GetMessages(ctx context.Context) ([]ChatMessage, bool)
GetMessages returns the value of the Messages field in QueryEndpointInput as a slice of ChatMessage values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointInput) GetStop ¶ added in v1.61.0
GetStop returns the value of the Stop field in QueryEndpointInput as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointInput) SetDataframeRecords ¶ added in v1.61.0
func (o *QueryEndpointInput) SetDataframeRecords(ctx context.Context, v []types.Object)
SetDataframeRecords sets the value of the DataframeRecords field in QueryEndpointInput.
func (*QueryEndpointInput) SetDataframeSplit ¶ added in v1.61.0
func (o *QueryEndpointInput) SetDataframeSplit(ctx context.Context, v DataframeSplitInput)
SetDataframeSplit sets the value of the DataframeSplit field in QueryEndpointInput.
func (*QueryEndpointInput) SetExtraParams ¶ added in v1.61.0
SetExtraParams sets the value of the ExtraParams field in QueryEndpointInput.
func (*QueryEndpointInput) SetInstances ¶ added in v1.61.0
func (o *QueryEndpointInput) SetInstances(ctx context.Context, v []types.Object)
SetInstances sets the value of the Instances field in QueryEndpointInput.
func (*QueryEndpointInput) SetMessages ¶ added in v1.61.0
func (o *QueryEndpointInput) SetMessages(ctx context.Context, v []ChatMessage)
SetMessages sets the value of the Messages field in QueryEndpointInput.
func (*QueryEndpointInput) SetStop ¶ added in v1.61.0
func (o *QueryEndpointInput) SetStop(ctx context.Context, v []types.String)
SetStop sets the value of the Stop field in QueryEndpointInput.
func (*QueryEndpointInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueryEndpointInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryEndpointInput)
func (*QueryEndpointInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueryEndpointInput) SyncEffectiveFieldsDuringRead(existingState QueryEndpointInput)
func (QueryEndpointInput) ToObjectValue ¶ added in v1.61.0
func (o QueryEndpointInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueryEndpointInput only implements ToObjectValue() and Type().
type QueryEndpointResponse ¶
type QueryEndpointResponse struct { // The list of choices returned by the __chat or completions // external/foundation model__ serving endpoint. Choices types.List `tfsdk:"choices" tf:"optional"` // The timestamp in seconds when the query was created in Unix time returned // by a __completions or chat external/foundation model__ serving endpoint. Created types.Int64 `tfsdk:"created" tf:"optional"` // The list of the embeddings returned by the __embeddings // external/foundation model__ serving endpoint. Data types.List `tfsdk:"data" tf:"optional"` // The ID of the query that may be returned by a __completions or chat // external/foundation model__ serving endpoint. Id types.String `tfsdk:"id" tf:"optional"` // The name of the __external/foundation model__ used for querying. This is // the name of the model that was specified in the endpoint config. Model types.String `tfsdk:"model" tf:"optional"` // The type of object returned by the __external/foundation model__ serving // endpoint, one of [text_completion, chat.completion, list (of // embeddings)]. Object types.String `tfsdk:"object" tf:"optional"` // The predictions returned by the serving endpoint. Predictions types.List `tfsdk:"predictions" tf:"optional"` // The name of the served model that served the request. This is useful when // there are multiple models behind the same endpoint with traffic split. ServedModelName types.String `tfsdk:"-"` // The usage object that may be returned by the __external/foundation // model__ serving endpoint. This contains information about the number of // tokens used in the prompt and response. Usage types.List `tfsdk:"usage" tf:"optional,object"` }
func (*QueryEndpointResponse) GetChoices ¶ added in v1.61.0
func (o *QueryEndpointResponse) GetChoices(ctx context.Context) ([]V1ResponseChoiceElement, bool)
GetChoices returns the value of the Choices field in QueryEndpointResponse as a slice of V1ResponseChoiceElement values. If the field is unknown or null, the boolean return value is false.
func (QueryEndpointResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEndpointResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*QueryEndpointResponse) GetData ¶ added in v1.61.0
func (o *QueryEndpointResponse) GetData(ctx context.Context) ([]EmbeddingsV1ResponseEmbeddingElement, bool)
GetData returns the value of the Data field in QueryEndpointResponse as a slice of EmbeddingsV1ResponseEmbeddingElement values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointResponse) GetPredictions ¶ added in v1.61.0
GetPredictions returns the value of the Predictions field in QueryEndpointResponse as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointResponse) GetUsage ¶ added in v1.61.0
func (o *QueryEndpointResponse) GetUsage(ctx context.Context) (ExternalModelUsageElement, bool)
GetUsage returns the value of the Usage field in QueryEndpointResponse as a ExternalModelUsageElement value. If the field is unknown or null, the boolean return value is false.
func (*QueryEndpointResponse) SetChoices ¶ added in v1.61.0
func (o *QueryEndpointResponse) SetChoices(ctx context.Context, v []V1ResponseChoiceElement)
SetChoices sets the value of the Choices field in QueryEndpointResponse.
func (*QueryEndpointResponse) SetData ¶ added in v1.61.0
func (o *QueryEndpointResponse) SetData(ctx context.Context, v []EmbeddingsV1ResponseEmbeddingElement)
SetData sets the value of the Data field in QueryEndpointResponse.
func (*QueryEndpointResponse) SetPredictions ¶ added in v1.61.0
func (o *QueryEndpointResponse) SetPredictions(ctx context.Context, v []types.Object)
SetPredictions sets the value of the Predictions field in QueryEndpointResponse.
func (*QueryEndpointResponse) SetUsage ¶ added in v1.61.0
func (o *QueryEndpointResponse) SetUsage(ctx context.Context, v ExternalModelUsageElement)
SetUsage sets the value of the Usage field in QueryEndpointResponse.
func (*QueryEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *QueryEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryEndpointResponse)
func (*QueryEndpointResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *QueryEndpointResponse) SyncEffectiveFieldsDuringRead(existingState QueryEndpointResponse)
func (QueryEndpointResponse) ToObjectValue ¶ added in v1.61.0
func (o QueryEndpointResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, QueryEndpointResponse only implements ToObjectValue() and Type().
type RateLimit ¶
type RateLimit struct { // Used to specify how many calls are allowed for a key within the // renewal_period. Calls types.Int64 `tfsdk:"calls" tf:""` // Key field for a serving endpoint rate limit. Currently, only 'user' and // 'endpoint' are supported, with 'endpoint' being the default if not // specified. Key types.String `tfsdk:"key" tf:"optional"` // Renewal period field for a serving endpoint rate limit. Currently, only // 'minute' is supported. RenewalPeriod types.String `tfsdk:"renewal_period" tf:""` }
func (RateLimit) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in RateLimit. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*RateLimit) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*RateLimit) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (RateLimit) ToObjectValue ¶ added in v1.61.0
func (o RateLimit) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RateLimit only implements ToObjectValue() and Type().
type Route ¶
type Route struct { // The name of the served model this route configures traffic for. ServedModelName types.String `tfsdk:"served_model_name" tf:""` // The percentage of endpoint traffic to send to this route. It must be an // integer between 0 and 100 inclusive. TrafficPercentage types.Int64 `tfsdk:"traffic_percentage" tf:""` }
func (Route) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Route. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Route) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Route) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Route) ToObjectValue ¶ added in v1.61.0
func (o Route) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Route only implements ToObjectValue() and Type().
type ServedEntityInput ¶
type ServedEntityInput struct { // The name of the entity to be served. The entity may be a model in the // Databricks Model Registry, a model in the Unity Catalog (UC), or a // function of type FEATURE_SPEC in the UC. If it is a UC object, the full // name of the object should be given in the form of // __catalog_name__.__schema_name__.__model_name__. EntityName types.String `tfsdk:"entity_name" tf:"optional"` // The version of the model in Databricks Model Registry to be served or // empty if the entity is a FEATURE_SPEC. EntityVersion types.String `tfsdk:"entity_version" tf:"optional"` // An object containing a set of optional, user-specified environment // variable key-value pairs used for serving this entity. Note: this is an // experimental feature and subject to change. Example entity environment // variables that refer to Databricks secrets: `{"OPENAI_API_KEY": // "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": // "{{secrets/my_scope2/my_key2}}"}` EnvironmentVars types.Map `tfsdk:"environment_vars" tf:"optional"` // The external model to be served. NOTE: Only one of external_model and // (entity_name, entity_version, workload_size, workload_type, and // scale_to_zero_enabled) can be specified with the latter set being used // for custom model serving for a Databricks registered model. For an // existing endpoint with external_model, it cannot be updated to an // endpoint without external_model. If the endpoint is created without // external_model, users cannot update it to add external_model later. The // task type of all external models within an endpoint must be the same. ExternalModel types.List `tfsdk:"external_model" tf:"optional,object"` // ARN of the instance profile that the served entity uses to access AWS // resources. InstanceProfileArn types.String `tfsdk:"instance_profile_arn" tf:"optional"` // The maximum tokens per second that the endpoint can scale up to. MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput" tf:"optional"` // The minimum tokens per second that the endpoint can scale down to. MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput" tf:"optional"` // The name of a served entity. It must be unique across an endpoint. A // served entity name can consist of alphanumeric characters, dashes, and // underscores. If not specified for an external model, this field defaults // to external_model.name, with '.' and ':' replaced with '-', and if not // specified for other entities, it defaults to // <entity-name>-<entity-version>. Name types.String `tfsdk:"name" tf:"optional"` // Whether the compute resources for the served entity should scale down to // zero. ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled" tf:"optional"` // The workload size of the served entity. The workload size corresponds to // a range of provisioned concurrency that the compute autoscales between. A // single unit of provisioned concurrency can process one request at a time. // Valid workload sizes are "Small" (4 - 4 provisioned concurrency), // "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 // provisioned concurrency). If scale-to-zero is enabled, the lower bound of // the provisioned concurrency for each workload size is 0. WorkloadSize types.String `tfsdk:"workload_size" tf:"optional"` // The workload type of the served entity. The workload type selects which // type of compute to use in the endpoint. The default value for this // parameter is "CPU". For deep learning workloads, GPU acceleration is // available by selecting workload types like GPU_SMALL and others. See the // available [GPU types]. // // [GPU types]: https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types WorkloadType types.String `tfsdk:"workload_type" tf:"optional"` }
func (ServedEntityInput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntityInput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedEntityInput) GetEnvironmentVars ¶ added in v1.61.0
GetEnvironmentVars returns the value of the EnvironmentVars field in ServedEntityInput as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ServedEntityInput) GetExternalModel ¶ added in v1.61.0
func (o *ServedEntityInput) GetExternalModel(ctx context.Context) (ExternalModel, bool)
GetExternalModel returns the value of the ExternalModel field in ServedEntityInput as a ExternalModel value. If the field is unknown or null, the boolean return value is false.
func (*ServedEntityInput) SetEnvironmentVars ¶ added in v1.61.0
SetEnvironmentVars sets the value of the EnvironmentVars field in ServedEntityInput.
func (*ServedEntityInput) SetExternalModel ¶ added in v1.61.0
func (o *ServedEntityInput) SetExternalModel(ctx context.Context, v ExternalModel)
SetExternalModel sets the value of the ExternalModel field in ServedEntityInput.
func (*ServedEntityInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedEntityInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedEntityInput)
func (*ServedEntityInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedEntityInput) SyncEffectiveFieldsDuringRead(existingState ServedEntityInput)
func (ServedEntityInput) ToObjectValue ¶ added in v1.61.0
func (o ServedEntityInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedEntityInput only implements ToObjectValue() and Type().
type ServedEntityOutput ¶
type ServedEntityOutput struct { // The creation timestamp of the served entity in Unix time. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // The email of the user who created the served entity. Creator types.String `tfsdk:"creator" tf:"optional"` // The name of the entity served. The entity may be a model in the // Databricks Model Registry, a model in the Unity Catalog (UC), or a // function of type FEATURE_SPEC in the UC. If it is a UC object, the full // name of the object is given in the form of // __catalog_name__.__schema_name__.__model_name__. EntityName types.String `tfsdk:"entity_name" tf:"optional"` // The version of the served entity in Databricks Model Registry or empty if // the entity is a FEATURE_SPEC. EntityVersion types.String `tfsdk:"entity_version" tf:"optional"` // An object containing a set of optional, user-specified environment // variable key-value pairs used for serving this entity. Note: this is an // experimental feature and subject to change. Example entity environment // variables that refer to Databricks secrets: `{"OPENAI_API_KEY": // "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": // "{{secrets/my_scope2/my_key2}}"}` EnvironmentVars types.Map `tfsdk:"environment_vars" tf:"optional"` // The external model that is served. NOTE: Only one of external_model, // foundation_model, and (entity_name, entity_version, workload_size, // workload_type, and scale_to_zero_enabled) is returned based on the // endpoint type. ExternalModel types.List `tfsdk:"external_model" tf:"optional,object"` // The foundation model that is served. NOTE: Only one of foundation_model, // external_model, and (entity_name, entity_version, workload_size, // workload_type, and scale_to_zero_enabled) is returned based on the // endpoint type. FoundationModel types.List `tfsdk:"foundation_model" tf:"optional,object"` // ARN of the instance profile that the served entity uses to access AWS // resources. InstanceProfileArn types.String `tfsdk:"instance_profile_arn" tf:"optional"` // The maximum tokens per second that the endpoint can scale up to. MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput" tf:"optional"` // The minimum tokens per second that the endpoint can scale down to. MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput" tf:"optional"` // The name of the served entity. Name types.String `tfsdk:"name" tf:"optional"` // Whether the compute resources for the served entity should scale down to // zero. ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled" tf:"optional"` // Information corresponding to the state of the served entity. State types.List `tfsdk:"state" tf:"optional,object"` // The workload size of the served entity. The workload size corresponds to // a range of provisioned concurrency that the compute autoscales between. A // single unit of provisioned concurrency can process one request at a time. // Valid workload sizes are "Small" (4 - 4 provisioned concurrency), // "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 // provisioned concurrency). If scale-to-zero is enabled, the lower bound of // the provisioned concurrency for each workload size will be 0. WorkloadSize types.String `tfsdk:"workload_size" tf:"optional"` // The workload type of the served entity. The workload type selects which // type of compute to use in the endpoint. The default value for this // parameter is "CPU". For deep learning workloads, GPU acceleration is // available by selecting workload types like GPU_SMALL and others. See the // available [GPU types]. // // [GPU types]: https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types WorkloadType types.String `tfsdk:"workload_type" tf:"optional"` }
func (ServedEntityOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntityOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedEntityOutput) GetEnvironmentVars ¶ added in v1.61.0
func (o *ServedEntityOutput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)
GetEnvironmentVars returns the value of the EnvironmentVars field in ServedEntityOutput as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ServedEntityOutput) GetExternalModel ¶ added in v1.61.0
func (o *ServedEntityOutput) GetExternalModel(ctx context.Context) (ExternalModel, bool)
GetExternalModel returns the value of the ExternalModel field in ServedEntityOutput as a ExternalModel value. If the field is unknown or null, the boolean return value is false.
func (*ServedEntityOutput) GetFoundationModel ¶ added in v1.61.0
func (o *ServedEntityOutput) GetFoundationModel(ctx context.Context) (FoundationModel, bool)
GetFoundationModel returns the value of the FoundationModel field in ServedEntityOutput as a FoundationModel value. If the field is unknown or null, the boolean return value is false.
func (*ServedEntityOutput) GetState ¶ added in v1.61.0
func (o *ServedEntityOutput) GetState(ctx context.Context) (ServedModelState, bool)
GetState returns the value of the State field in ServedEntityOutput as a ServedModelState value. If the field is unknown or null, the boolean return value is false.
func (*ServedEntityOutput) SetEnvironmentVars ¶ added in v1.61.0
SetEnvironmentVars sets the value of the EnvironmentVars field in ServedEntityOutput.
func (*ServedEntityOutput) SetExternalModel ¶ added in v1.61.0
func (o *ServedEntityOutput) SetExternalModel(ctx context.Context, v ExternalModel)
SetExternalModel sets the value of the ExternalModel field in ServedEntityOutput.
func (*ServedEntityOutput) SetFoundationModel ¶ added in v1.61.0
func (o *ServedEntityOutput) SetFoundationModel(ctx context.Context, v FoundationModel)
SetFoundationModel sets the value of the FoundationModel field in ServedEntityOutput.
func (*ServedEntityOutput) SetState ¶ added in v1.61.0
func (o *ServedEntityOutput) SetState(ctx context.Context, v ServedModelState)
SetState sets the value of the State field in ServedEntityOutput.
func (*ServedEntityOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedEntityOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedEntityOutput)
func (*ServedEntityOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedEntityOutput) SyncEffectiveFieldsDuringRead(existingState ServedEntityOutput)
func (ServedEntityOutput) ToObjectValue ¶ added in v1.61.0
func (o ServedEntityOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedEntityOutput only implements ToObjectValue() and Type().
type ServedEntitySpec ¶
type ServedEntitySpec struct { // The name of the entity served. The entity may be a model in the // Databricks Model Registry, a model in the Unity Catalog (UC), or a // function of type FEATURE_SPEC in the UC. If it is a UC object, the full // name of the object is given in the form of // __catalog_name__.__schema_name__.__model_name__. EntityName types.String `tfsdk:"entity_name" tf:"optional"` // The version of the served entity in Databricks Model Registry or empty if // the entity is a FEATURE_SPEC. EntityVersion types.String `tfsdk:"entity_version" tf:"optional"` // The external model that is served. NOTE: Only one of external_model, // foundation_model, and (entity_name, entity_version) is returned based on // the endpoint type. ExternalModel types.List `tfsdk:"external_model" tf:"optional,object"` // The foundation model that is served. NOTE: Only one of foundation_model, // external_model, and (entity_name, entity_version) is returned based on // the endpoint type. FoundationModel types.List `tfsdk:"foundation_model" tf:"optional,object"` // The name of the served entity. Name types.String `tfsdk:"name" tf:"optional"` }
func (ServedEntitySpec) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntitySpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedEntitySpec) GetExternalModel ¶ added in v1.61.0
func (o *ServedEntitySpec) GetExternalModel(ctx context.Context) (ExternalModel, bool)
GetExternalModel returns the value of the ExternalModel field in ServedEntitySpec as a ExternalModel value. If the field is unknown or null, the boolean return value is false.
func (*ServedEntitySpec) GetFoundationModel ¶ added in v1.61.0
func (o *ServedEntitySpec) GetFoundationModel(ctx context.Context) (FoundationModel, bool)
GetFoundationModel returns the value of the FoundationModel field in ServedEntitySpec as a FoundationModel value. If the field is unknown or null, the boolean return value is false.
func (*ServedEntitySpec) SetExternalModel ¶ added in v1.61.0
func (o *ServedEntitySpec) SetExternalModel(ctx context.Context, v ExternalModel)
SetExternalModel sets the value of the ExternalModel field in ServedEntitySpec.
func (*ServedEntitySpec) SetFoundationModel ¶ added in v1.61.0
func (o *ServedEntitySpec) SetFoundationModel(ctx context.Context, v FoundationModel)
SetFoundationModel sets the value of the FoundationModel field in ServedEntitySpec.
func (*ServedEntitySpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedEntitySpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedEntitySpec)
func (*ServedEntitySpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedEntitySpec) SyncEffectiveFieldsDuringRead(existingState ServedEntitySpec)
func (ServedEntitySpec) ToObjectValue ¶ added in v1.61.0
func (o ServedEntitySpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedEntitySpec only implements ToObjectValue() and Type().
type ServedModelInput ¶
type ServedModelInput struct { // An object containing a set of optional, user-specified environment // variable key-value pairs used for serving this model. Note: this is an // experimental feature and subject to change. Example model environment // variables that refer to Databricks secrets: `{"OPENAI_API_KEY": // "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": // "{{secrets/my_scope2/my_key2}}"}` EnvironmentVars types.Map `tfsdk:"environment_vars" tf:"optional"` // ARN of the instance profile that the served model will use to access AWS // resources. InstanceProfileArn types.String `tfsdk:"instance_profile_arn" tf:"optional"` // The maximum tokens per second that the endpoint can scale up to. MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput" tf:"optional"` // The minimum tokens per second that the endpoint can scale down to. MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput" tf:"optional"` // The name of the model in Databricks Model Registry to be served or if the // model resides in Unity Catalog, the full name of model, in the form of // __catalog_name__.__schema_name__.__model_name__. ModelName types.String `tfsdk:"model_name" tf:""` // The version of the model in Databricks Model Registry or Unity Catalog to // be served. ModelVersion types.String `tfsdk:"model_version" tf:""` // The name of a served model. It must be unique across an endpoint. If not // specified, this field will default to <model-name>-<model-version>. A // served model name can consist of alphanumeric characters, dashes, and // underscores. Name types.String `tfsdk:"name" tf:"optional"` // Whether the compute resources for the served model should scale down to // zero. ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled" tf:""` // The workload size of the served model. The workload size corresponds to a // range of provisioned concurrency that the compute will autoscale between. // A single unit of provisioned concurrency can process one request at a // time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), // "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 // provisioned concurrency). If scale-to-zero is enabled, the lower bound of // the provisioned concurrency for each workload size will be 0. WorkloadSize types.String `tfsdk:"workload_size" tf:"optional"` // The workload type of the served model. The workload type selects which // type of compute to use in the endpoint. The default value for this // parameter is "CPU". For deep learning workloads, GPU acceleration is // available by selecting workload types like GPU_SMALL and others. See the // available [GPU types]. // // [GPU types]: https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types WorkloadType types.String `tfsdk:"workload_type" tf:"optional"` }
func (ServedModelInput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelInput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedModelInput) GetEnvironmentVars ¶ added in v1.61.0
GetEnvironmentVars returns the value of the EnvironmentVars field in ServedModelInput as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ServedModelInput) SetEnvironmentVars ¶ added in v1.61.0
SetEnvironmentVars sets the value of the EnvironmentVars field in ServedModelInput.
func (*ServedModelInput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedModelInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelInput)
func (*ServedModelInput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedModelInput) SyncEffectiveFieldsDuringRead(existingState ServedModelInput)
func (ServedModelInput) ToObjectValue ¶ added in v1.61.0
func (o ServedModelInput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedModelInput only implements ToObjectValue() and Type().
type ServedModelOutput ¶
type ServedModelOutput struct { // The creation timestamp of the served model in Unix time. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // The email of the user who created the served model. Creator types.String `tfsdk:"creator" tf:"optional"` // An object containing a set of optional, user-specified environment // variable key-value pairs used for serving this model. Note: this is an // experimental feature and subject to change. Example model environment // variables that refer to Databricks secrets: `{"OPENAI_API_KEY": // "{{secrets/my_scope/my_key}}", "DATABRICKS_TOKEN": // "{{secrets/my_scope2/my_key2}}"}` EnvironmentVars types.Map `tfsdk:"environment_vars" tf:"optional"` // ARN of the instance profile that the served model will use to access AWS // resources. InstanceProfileArn types.String `tfsdk:"instance_profile_arn" tf:"optional"` // The name of the model in Databricks Model Registry or the full name of // the model in Unity Catalog. ModelName types.String `tfsdk:"model_name" tf:"optional"` // The version of the model in Databricks Model Registry or Unity Catalog to // be served. ModelVersion types.String `tfsdk:"model_version" tf:"optional"` // The name of the served model. Name types.String `tfsdk:"name" tf:"optional"` // Whether the compute resources for the Served Model should scale down to // zero. ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled" tf:"optional"` // Information corresponding to the state of the Served Model. State types.List `tfsdk:"state" tf:"optional,object"` // The workload size of the served model. The workload size corresponds to a // range of provisioned concurrency that the compute will autoscale between. // A single unit of provisioned concurrency can process one request at a // time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), // "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 // provisioned concurrency). If scale-to-zero is enabled, the lower bound of // the provisioned concurrency for each workload size will be 0. WorkloadSize types.String `tfsdk:"workload_size" tf:"optional"` // The workload type of the served model. The workload type selects which // type of compute to use in the endpoint. The default value for this // parameter is "CPU". For deep learning workloads, GPU acceleration is // available by selecting workload types like GPU_SMALL and others. See the // available [GPU types]. // // [GPU types]: https://docs.databricks.com/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types WorkloadType types.String `tfsdk:"workload_type" tf:"optional"` }
func (ServedModelOutput) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelOutput. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedModelOutput) GetEnvironmentVars ¶ added in v1.61.0
GetEnvironmentVars returns the value of the EnvironmentVars field in ServedModelOutput as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.
func (*ServedModelOutput) GetState ¶ added in v1.61.0
func (o *ServedModelOutput) GetState(ctx context.Context) (ServedModelState, bool)
GetState returns the value of the State field in ServedModelOutput as a ServedModelState value. If the field is unknown or null, the boolean return value is false.
func (*ServedModelOutput) SetEnvironmentVars ¶ added in v1.61.0
SetEnvironmentVars sets the value of the EnvironmentVars field in ServedModelOutput.
func (*ServedModelOutput) SetState ¶ added in v1.61.0
func (o *ServedModelOutput) SetState(ctx context.Context, v ServedModelState)
SetState sets the value of the State field in ServedModelOutput.
func (*ServedModelOutput) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedModelOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelOutput)
func (*ServedModelOutput) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedModelOutput) SyncEffectiveFieldsDuringRead(existingState ServedModelOutput)
func (ServedModelOutput) ToObjectValue ¶ added in v1.61.0
func (o ServedModelOutput) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedModelOutput only implements ToObjectValue() and Type().
type ServedModelSpec ¶
type ServedModelSpec struct { // The name of the model in Databricks Model Registry or the full name of // the model in Unity Catalog. ModelName types.String `tfsdk:"model_name" tf:"optional"` // The version of the model in Databricks Model Registry or Unity Catalog to // be served. ModelVersion types.String `tfsdk:"model_version" tf:"optional"` // The name of the served model. Name types.String `tfsdk:"name" tf:"optional"` }
func (ServedModelSpec) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelSpec. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedModelSpec) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedModelSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelSpec)
func (*ServedModelSpec) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedModelSpec) SyncEffectiveFieldsDuringRead(existingState ServedModelSpec)
func (ServedModelSpec) ToObjectValue ¶ added in v1.61.0
func (o ServedModelSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedModelSpec only implements ToObjectValue() and Type().
type ServedModelState ¶
type ServedModelState struct { // The state of the served entity deployment. DEPLOYMENT_CREATING indicates // that the served entity is not ready yet because the deployment is still // being created (i.e container image is building, model server is deploying // for the first time, etc.). DEPLOYMENT_RECOVERING indicates that the // served entity was previously in a ready state but no longer is and is // attempting to recover. DEPLOYMENT_READY indicates that the served entity // is ready to receive traffic. DEPLOYMENT_FAILED indicates that there was // an error trying to bring up the served entity (e.g container image build // failed, the model server failed to start due to a model loading error, // etc.) DEPLOYMENT_ABORTED indicates that the deployment was terminated // likely due to a failure in bringing up another served entity under the // same endpoint and config version. Deployment types.String `tfsdk:"deployment" tf:"optional"` // More information about the state of the served entity, if available. DeploymentStateMessage types.String `tfsdk:"deployment_state_message" tf:"optional"` }
func (ServedModelState) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelState. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServedModelState) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServedModelState) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServedModelState)
func (*ServedModelState) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServedModelState) SyncEffectiveFieldsDuringRead(existingState ServedModelState)
func (ServedModelState) ToObjectValue ¶ added in v1.61.0
func (o ServedModelState) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServedModelState only implements ToObjectValue() and Type().
type ServerLogsResponse ¶
type ServerLogsResponse struct { // The most recent log lines of the model server processing invocation // requests. Logs types.String `tfsdk:"logs" tf:""` }
func (ServerLogsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServerLogsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServerLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServerLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServerLogsResponse)
func (*ServerLogsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServerLogsResponse) SyncEffectiveFieldsDuringRead(existingState ServerLogsResponse)
func (ServerLogsResponse) ToObjectValue ¶ added in v1.61.0
func (o ServerLogsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServerLogsResponse only implements ToObjectValue() and Type().
type ServingEndpoint ¶
type ServingEndpoint struct { // The AI Gateway configuration for the serving endpoint. NOTE: Only // external model endpoints are currently supported. AiGateway types.List `tfsdk:"ai_gateway" tf:"optional,object"` // The config that is currently being served by the endpoint. Config types.List `tfsdk:"config" tf:"optional,object"` // The timestamp when the endpoint was created in Unix time. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // The email of the user who created the serving endpoint. Creator types.String `tfsdk:"creator" tf:"optional"` // System-generated ID of the endpoint. This is used to refer to the // endpoint in the Permissions API Id types.String `tfsdk:"id" tf:"optional"` // The timestamp when the endpoint was last updated by a user in Unix time. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // The name of the serving endpoint. Name types.String `tfsdk:"name" tf:"optional"` // Information corresponding to the state of the serving endpoint. State types.List `tfsdk:"state" tf:"optional,object"` // Tags attached to the serving endpoint. Tags types.List `tfsdk:"tags" tf:"optional"` // The task type of the serving endpoint. Task types.String `tfsdk:"task" tf:"optional"` }
func (*ServingEndpoint) GetAiGateway ¶ added in v1.61.0
func (o *ServingEndpoint) GetAiGateway(ctx context.Context) (AiGatewayConfig, bool)
GetAiGateway returns the value of the AiGateway field in ServingEndpoint as a AiGatewayConfig value. If the field is unknown or null, the boolean return value is false.
func (ServingEndpoint) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpoint. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpoint) GetConfig ¶ added in v1.61.0
func (o *ServingEndpoint) GetConfig(ctx context.Context) (EndpointCoreConfigSummary, bool)
GetConfig returns the value of the Config field in ServingEndpoint as a EndpointCoreConfigSummary value. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpoint) GetState ¶ added in v1.61.0
func (o *ServingEndpoint) GetState(ctx context.Context) (EndpointState, bool)
GetState returns the value of the State field in ServingEndpoint as a EndpointState value. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpoint) GetTags ¶ added in v1.61.0
func (o *ServingEndpoint) GetTags(ctx context.Context) ([]EndpointTag, bool)
GetTags returns the value of the Tags field in ServingEndpoint as a slice of EndpointTag values. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpoint) SetAiGateway ¶ added in v1.61.0
func (o *ServingEndpoint) SetAiGateway(ctx context.Context, v AiGatewayConfig)
SetAiGateway sets the value of the AiGateway field in ServingEndpoint.
func (*ServingEndpoint) SetConfig ¶ added in v1.61.0
func (o *ServingEndpoint) SetConfig(ctx context.Context, v EndpointCoreConfigSummary)
SetConfig sets the value of the Config field in ServingEndpoint.
func (*ServingEndpoint) SetState ¶ added in v1.61.0
func (o *ServingEndpoint) SetState(ctx context.Context, v EndpointState)
SetState sets the value of the State field in ServingEndpoint.
func (*ServingEndpoint) SetTags ¶ added in v1.61.0
func (o *ServingEndpoint) SetTags(ctx context.Context, v []EndpointTag)
SetTags sets the value of the Tags field in ServingEndpoint.
func (*ServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpoint)
func (*ServingEndpoint) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpoint) SyncEffectiveFieldsDuringRead(existingState ServingEndpoint)
func (ServingEndpoint) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpoint) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpoint only implements ToObjectValue() and Type().
type ServingEndpointAccessControlRequest ¶
type ServingEndpointAccessControlRequest struct { // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // application ID of a service principal ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (ServingEndpointAccessControlRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ServingEndpointAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointAccessControlRequest)
func (*ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlRequest)
func (ServingEndpointAccessControlRequest) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointAccessControlRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointAccessControlRequest only implements ToObjectValue() and Type().
type ServingEndpointAccessControlResponse ¶
type ServingEndpointAccessControlResponse struct { // All permissions. AllPermissions types.List `tfsdk:"all_permissions" tf:"optional"` // Display name of the user or service principal. DisplayName types.String `tfsdk:"display_name" tf:"optional"` // name of the group GroupName types.String `tfsdk:"group_name" tf:"optional"` // Name of the service principal. ServicePrincipalName types.String `tfsdk:"service_principal_name" tf:"optional"` // name of the user UserName types.String `tfsdk:"user_name" tf:"optional"` }
func (*ServingEndpointAccessControlResponse) GetAllPermissions ¶ added in v1.61.0
func (o *ServingEndpointAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ServingEndpointPermission, bool)
GetAllPermissions returns the value of the AllPermissions field in ServingEndpointAccessControlResponse as a slice of ServingEndpointPermission values. If the field is unknown or null, the boolean return value is false.
func (ServingEndpointAccessControlResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a ServingEndpointAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointAccessControlResponse) SetAllPermissions ¶ added in v1.61.0
func (o *ServingEndpointAccessControlResponse) SetAllPermissions(ctx context.Context, v []ServingEndpointPermission)
SetAllPermissions sets the value of the AllPermissions field in ServingEndpointAccessControlResponse.
func (*ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointAccessControlResponse)
func (*ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlResponse)
func (ServingEndpointAccessControlResponse) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointAccessControlResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointAccessControlResponse only implements ToObjectValue() and Type().
type ServingEndpointDetailed ¶
type ServingEndpointDetailed struct { // The AI Gateway configuration for the serving endpoint. NOTE: Only // external model endpoints are currently supported. AiGateway types.List `tfsdk:"ai_gateway" tf:"optional,object"` // The config that is currently being served by the endpoint. Config types.List `tfsdk:"config" tf:"optional,object"` // The timestamp when the endpoint was created in Unix time. CreationTimestamp types.Int64 `tfsdk:"creation_timestamp" tf:"optional"` // The email of the user who created the serving endpoint. Creator types.String `tfsdk:"creator" tf:"optional"` // Information required to query DataPlane APIs. DataPlaneInfo types.List `tfsdk:"data_plane_info" tf:"optional,object"` // Endpoint invocation url if route optimization is enabled for endpoint EndpointUrl types.String `tfsdk:"endpoint_url" tf:"optional"` // System-generated ID of the endpoint. This is used to refer to the // endpoint in the Permissions API Id types.String `tfsdk:"id" tf:"optional"` // The timestamp when the endpoint was last updated by a user in Unix time. LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp" tf:"optional"` // The name of the serving endpoint. Name types.String `tfsdk:"name" tf:"optional"` // The config that the endpoint is attempting to update to. PendingConfig types.List `tfsdk:"pending_config" tf:"optional,object"` // The permission level of the principal making the request. PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` // Boolean representing if route optimization has been enabled for the // endpoint RouteOptimized types.Bool `tfsdk:"route_optimized" tf:"optional"` // Information corresponding to the state of the serving endpoint. State types.List `tfsdk:"state" tf:"optional,object"` // Tags attached to the serving endpoint. Tags types.List `tfsdk:"tags" tf:"optional"` // The task type of the serving endpoint. Task types.String `tfsdk:"task" tf:"optional"` }
func (*ServingEndpointDetailed) GetAiGateway ¶ added in v1.61.0
func (o *ServingEndpointDetailed) GetAiGateway(ctx context.Context) (AiGatewayConfig, bool)
GetAiGateway returns the value of the AiGateway field in ServingEndpointDetailed as a AiGatewayConfig value. If the field is unknown or null, the boolean return value is false.
func (ServingEndpointDetailed) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointDetailed. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointDetailed) GetConfig ¶ added in v1.61.0
func (o *ServingEndpointDetailed) GetConfig(ctx context.Context) (EndpointCoreConfigOutput, bool)
GetConfig returns the value of the Config field in ServingEndpointDetailed as a EndpointCoreConfigOutput value. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpointDetailed) GetDataPlaneInfo ¶ added in v1.61.0
func (o *ServingEndpointDetailed) GetDataPlaneInfo(ctx context.Context) (ModelDataPlaneInfo, bool)
GetDataPlaneInfo returns the value of the DataPlaneInfo field in ServingEndpointDetailed as a ModelDataPlaneInfo value. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpointDetailed) GetPendingConfig ¶ added in v1.61.0
func (o *ServingEndpointDetailed) GetPendingConfig(ctx context.Context) (EndpointPendingConfig, bool)
GetPendingConfig returns the value of the PendingConfig field in ServingEndpointDetailed as a EndpointPendingConfig value. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpointDetailed) GetState ¶ added in v1.61.0
func (o *ServingEndpointDetailed) GetState(ctx context.Context) (EndpointState, bool)
GetState returns the value of the State field in ServingEndpointDetailed as a EndpointState value. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpointDetailed) GetTags ¶ added in v1.61.0
func (o *ServingEndpointDetailed) GetTags(ctx context.Context) ([]EndpointTag, bool)
GetTags returns the value of the Tags field in ServingEndpointDetailed as a slice of EndpointTag values. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpointDetailed) SetAiGateway ¶ added in v1.61.0
func (o *ServingEndpointDetailed) SetAiGateway(ctx context.Context, v AiGatewayConfig)
SetAiGateway sets the value of the AiGateway field in ServingEndpointDetailed.
func (*ServingEndpointDetailed) SetConfig ¶ added in v1.61.0
func (o *ServingEndpointDetailed) SetConfig(ctx context.Context, v EndpointCoreConfigOutput)
SetConfig sets the value of the Config field in ServingEndpointDetailed.
func (*ServingEndpointDetailed) SetDataPlaneInfo ¶ added in v1.61.0
func (o *ServingEndpointDetailed) SetDataPlaneInfo(ctx context.Context, v ModelDataPlaneInfo)
SetDataPlaneInfo sets the value of the DataPlaneInfo field in ServingEndpointDetailed.
func (*ServingEndpointDetailed) SetPendingConfig ¶ added in v1.61.0
func (o *ServingEndpointDetailed) SetPendingConfig(ctx context.Context, v EndpointPendingConfig)
SetPendingConfig sets the value of the PendingConfig field in ServingEndpointDetailed.
func (*ServingEndpointDetailed) SetState ¶ added in v1.61.0
func (o *ServingEndpointDetailed) SetState(ctx context.Context, v EndpointState)
SetState sets the value of the State field in ServingEndpointDetailed.
func (*ServingEndpointDetailed) SetTags ¶ added in v1.61.0
func (o *ServingEndpointDetailed) SetTags(ctx context.Context, v []EndpointTag)
SetTags sets the value of the Tags field in ServingEndpointDetailed.
func (*ServingEndpointDetailed) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointDetailed) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointDetailed)
func (*ServingEndpointDetailed) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointDetailed) SyncEffectiveFieldsDuringRead(existingState ServingEndpointDetailed)
func (ServingEndpointDetailed) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointDetailed) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointDetailed only implements ToObjectValue() and Type().
type ServingEndpointPermission ¶
type ServingEndpointPermission struct { Inherited types.Bool `tfsdk:"inherited" tf:"optional"` InheritedFromObject types.List `tfsdk:"inherited_from_object" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (ServingEndpointPermission) GetComplexFieldTypes ¶ added in v1.61.0
func (a ServingEndpointPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointPermission) GetInheritedFromObject ¶ added in v1.61.0
func (o *ServingEndpointPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)
GetInheritedFromObject returns the value of the InheritedFromObject field in ServingEndpointPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.
func (*ServingEndpointPermission) SetInheritedFromObject ¶ added in v1.61.0
func (o *ServingEndpointPermission) SetInheritedFromObject(ctx context.Context, v []types.String)
SetInheritedFromObject sets the value of the InheritedFromObject field in ServingEndpointPermission.
func (*ServingEndpointPermission) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermission)
func (*ServingEndpointPermission) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointPermission) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermission)
func (ServingEndpointPermission) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointPermission only implements ToObjectValue() and Type().
type ServingEndpointPermissions ¶
type ServingEndpointPermissions struct { AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"` ObjectId types.String `tfsdk:"object_id" tf:"optional"` ObjectType types.String `tfsdk:"object_type" tf:"optional"` }
func (*ServingEndpointPermissions) GetAccessControlList ¶ added in v1.61.0
func (o *ServingEndpointPermissions) GetAccessControlList(ctx context.Context) ([]ServingEndpointAccessControlResponse, bool)
GetAccessControlList returns the value of the AccessControlList field in ServingEndpointPermissions as a slice of ServingEndpointAccessControlResponse values. If the field is unknown or null, the boolean return value is false.
func (ServingEndpointPermissions) GetComplexFieldTypes ¶ added in v1.61.0
func (a ServingEndpointPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointPermissions) SetAccessControlList ¶ added in v1.61.0
func (o *ServingEndpointPermissions) SetAccessControlList(ctx context.Context, v []ServingEndpointAccessControlResponse)
SetAccessControlList sets the value of the AccessControlList field in ServingEndpointPermissions.
func (*ServingEndpointPermissions) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermissions)
func (*ServingEndpointPermissions) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointPermissions) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissions)
func (ServingEndpointPermissions) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointPermissions) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointPermissions only implements ToObjectValue() and Type().
type ServingEndpointPermissionsDescription ¶
type ServingEndpointPermissionsDescription struct { Description types.String `tfsdk:"description" tf:"optional"` // Permission level PermissionLevel types.String `tfsdk:"permission_level" tf:"optional"` }
func (ServingEndpointPermissionsDescription) GetComplexFieldTypes ¶ added in v1.61.0
func (a ServingEndpointPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermissionsDescription)
func (*ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsDescription)
func (ServingEndpointPermissionsDescription) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointPermissionsDescription) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointPermissionsDescription only implements ToObjectValue() and Type().
type ServingEndpointPermissionsRequest ¶
type ServingEndpointPermissionsRequest struct { AccessControlList types.List `tfsdk:"access_control_list" tf:"optional"` // The serving endpoint for which to get or manage permissions. ServingEndpointId types.String `tfsdk:"-"` }
func (*ServingEndpointPermissionsRequest) GetAccessControlList ¶ added in v1.61.0
func (o *ServingEndpointPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ServingEndpointAccessControlRequest, bool)
GetAccessControlList returns the value of the AccessControlList field in ServingEndpointPermissionsRequest as a slice of ServingEndpointAccessControlRequest values. If the field is unknown or null, the boolean return value is false.
func (ServingEndpointPermissionsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ServingEndpointPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ServingEndpointPermissionsRequest) SetAccessControlList ¶ added in v1.61.0
func (o *ServingEndpointPermissionsRequest) SetAccessControlList(ctx context.Context, v []ServingEndpointAccessControlRequest)
SetAccessControlList sets the value of the AccessControlList field in ServingEndpointPermissionsRequest.
func (*ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServingEndpointPermissionsRequest)
func (*ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsRequest)
func (ServingEndpointPermissionsRequest) ToObjectValue ¶ added in v1.61.0
func (o ServingEndpointPermissionsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ServingEndpointPermissionsRequest only implements ToObjectValue() and Type().
type TrafficConfig ¶
type TrafficConfig struct { // The list of routes that define traffic to each served entity. Routes types.List `tfsdk:"routes" tf:"optional"` }
func (TrafficConfig) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in TrafficConfig. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*TrafficConfig) GetRoutes ¶ added in v1.61.0
func (o *TrafficConfig) GetRoutes(ctx context.Context) ([]Route, bool)
GetRoutes returns the value of the Routes field in TrafficConfig as a slice of Route values. If the field is unknown or null, the boolean return value is false.
func (*TrafficConfig) SetRoutes ¶ added in v1.61.0
func (o *TrafficConfig) SetRoutes(ctx context.Context, v []Route)
SetRoutes sets the value of the Routes field in TrafficConfig.
func (*TrafficConfig) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *TrafficConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrafficConfig)
func (*TrafficConfig) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *TrafficConfig) SyncEffectiveFieldsDuringRead(existingState TrafficConfig)
func (TrafficConfig) ToObjectValue ¶ added in v1.61.0
func (o TrafficConfig) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TrafficConfig only implements ToObjectValue() and Type().
type V1ResponseChoiceElement ¶
type V1ResponseChoiceElement struct { // The finish reason returned by the endpoint. FinishReason types.String `tfsdk:"finishReason" tf:"optional"` // The index of the choice in the __chat or completions__ response. Index types.Int64 `tfsdk:"index" tf:"optional"` // The logprobs returned only by the __completions__ endpoint. Logprobs types.Int64 `tfsdk:"logprobs" tf:"optional"` // The message response from the __chat__ endpoint. Message types.List `tfsdk:"message" tf:"optional,object"` // The text response from the __completions__ endpoint. Text types.String `tfsdk:"text" tf:"optional"` }
func (V1ResponseChoiceElement) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in V1ResponseChoiceElement. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*V1ResponseChoiceElement) GetMessage ¶ added in v1.61.0
func (o *V1ResponseChoiceElement) GetMessage(ctx context.Context) (ChatMessage, bool)
GetMessage returns the value of the Message field in V1ResponseChoiceElement as a ChatMessage value. If the field is unknown or null, the boolean return value is false.
func (*V1ResponseChoiceElement) SetMessage ¶ added in v1.61.0
func (o *V1ResponseChoiceElement) SetMessage(ctx context.Context, v ChatMessage)
SetMessage sets the value of the Message field in V1ResponseChoiceElement.
func (*V1ResponseChoiceElement) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *V1ResponseChoiceElement) SyncEffectiveFieldsDuringCreateOrUpdate(plan V1ResponseChoiceElement)
func (*V1ResponseChoiceElement) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *V1ResponseChoiceElement) SyncEffectiveFieldsDuringRead(existingState V1ResponseChoiceElement)
func (V1ResponseChoiceElement) ToObjectValue ¶ added in v1.61.0
func (o V1ResponseChoiceElement) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, V1ResponseChoiceElement only implements ToObjectValue() and Type().