serving_tf

package
v1.114.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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"`
	// 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"`
}

func (Ai21LabsConfig) ApplySchemaCustomizations added in v1.63.0

func (m Ai21LabsConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Ai21LabsConfig) GetComplexFieldTypes added in v1.61.0

func (m Ai21LabsConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Ai21LabsConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Ai21LabsConfig)

func (*Ai21LabsConfig) SyncFieldsDuringRead added in v1.86.0

func (to *Ai21LabsConfig) SyncFieldsDuringRead(ctx context.Context, from Ai21LabsConfig)

func (Ai21LabsConfig) ToObjectValue added in v1.61.0

func (m 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().

func (Ai21LabsConfig) Type added in v1.61.0

func (m Ai21LabsConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Ai21LabsConfig_SdkV2 added in v1.62.1

type Ai21LabsConfig_SdkV2 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"`
	// 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"`
}

func (Ai21LabsConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Ai21LabsConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Ai21LabsConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Ai21LabsConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Ai21LabsConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Ai21LabsConfig_SdkV2)

func (*Ai21LabsConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Ai21LabsConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Ai21LabsConfig_SdkV2)

func (Ai21LabsConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (Ai21LabsConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AiGatewayConfig added in v1.53.0

type AiGatewayConfig struct {
	// Configuration for traffic fallback which auto fallbacks to other served
	// entities if the request to a served entity fails with certain error
	// codes, to increase availability.
	FallbackConfig types.Object `tfsdk:"fallback_config"`
	// Configuration for AI Guardrails to prevent unwanted data and unsafe data
	// in requests and responses.
	Guardrails types.Object `tfsdk:"guardrails"`
	// 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.Object `tfsdk:"inference_table_config"`
	// Configuration for rate limits which can be set to limit endpoint traffic.
	RateLimits types.List `tfsdk:"rate_limits"`
	// Configuration to enable usage tracking using system tables. These tables
	// allow you to monitor operational usage on endpoints and their associated
	// costs.
	UsageTrackingConfig types.Object `tfsdk:"usage_tracking_config"`
}

func (AiGatewayConfig) ApplySchemaCustomizations added in v1.63.0

func (m AiGatewayConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AiGatewayConfig) GetComplexFieldTypes added in v1.61.0

func (m AiGatewayConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) GetFallbackConfig added in v1.71.0

func (m *AiGatewayConfig) GetFallbackConfig(ctx context.Context) (FallbackConfig, bool)

GetFallbackConfig returns the value of the FallbackConfig field in AiGatewayConfig as a FallbackConfig value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayConfig) GetGuardrails added in v1.61.0

func (m *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 (m *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 (m *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 (m *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) SetFallbackConfig added in v1.71.0

func (m *AiGatewayConfig) SetFallbackConfig(ctx context.Context, v FallbackConfig)

SetFallbackConfig sets the value of the FallbackConfig field in AiGatewayConfig.

func (*AiGatewayConfig) SetGuardrails added in v1.61.0

func (m *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 (m *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 (m *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 (m *AiGatewayConfig) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)

SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in AiGatewayConfig.

func (*AiGatewayConfig) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayConfig)

func (*AiGatewayConfig) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayConfig) SyncFieldsDuringRead(ctx context.Context, from AiGatewayConfig)

func (AiGatewayConfig) ToObjectValue added in v1.61.0

func (m 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().

func (AiGatewayConfig) Type added in v1.61.0

func (m AiGatewayConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type AiGatewayConfig_SdkV2 added in v1.62.1

type AiGatewayConfig_SdkV2 struct {
	// Configuration for traffic fallback which auto fallbacks to other served
	// entities if the request to a served entity fails with certain error
	// codes, to increase availability.
	FallbackConfig types.List `tfsdk:"fallback_config"`
	// Configuration for AI Guardrails to prevent unwanted data and unsafe data
	// in requests and responses.
	Guardrails types.List `tfsdk:"guardrails"`
	// 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"`
	// Configuration for rate limits which can be set to limit endpoint traffic.
	RateLimits types.List `tfsdk:"rate_limits"`
	// 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"`
}

func (AiGatewayConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m AiGatewayConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AiGatewayConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetFallbackConfig added in v1.71.0

func (m *AiGatewayConfig_SdkV2) GetFallbackConfig(ctx context.Context) (FallbackConfig_SdkV2, bool)

GetFallbackConfig returns the value of the FallbackConfig field in AiGatewayConfig_SdkV2 as a FallbackConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayConfig_SdkV2) GetGuardrails added in v1.62.1

GetGuardrails returns the value of the Guardrails field in AiGatewayConfig_SdkV2 as a AiGatewayGuardrails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayConfig_SdkV2) GetInferenceTableConfig added in v1.62.1

GetInferenceTableConfig returns the value of the InferenceTableConfig field in AiGatewayConfig_SdkV2 as a AiGatewayInferenceTableConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayConfig_SdkV2) GetRateLimits added in v1.62.1

GetRateLimits returns the value of the RateLimits field in AiGatewayConfig_SdkV2 as a slice of AiGatewayRateLimit_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayConfig_SdkV2) GetUsageTrackingConfig added in v1.62.1

GetUsageTrackingConfig returns the value of the UsageTrackingConfig field in AiGatewayConfig_SdkV2 as a AiGatewayUsageTrackingConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayConfig_SdkV2) SetFallbackConfig added in v1.71.0

func (m *AiGatewayConfig_SdkV2) SetFallbackConfig(ctx context.Context, v FallbackConfig_SdkV2)

SetFallbackConfig sets the value of the FallbackConfig field in AiGatewayConfig_SdkV2.

func (*AiGatewayConfig_SdkV2) SetGuardrails added in v1.62.1

SetGuardrails sets the value of the Guardrails field in AiGatewayConfig_SdkV2.

func (*AiGatewayConfig_SdkV2) SetInferenceTableConfig added in v1.62.1

func (m *AiGatewayConfig_SdkV2) SetInferenceTableConfig(ctx context.Context, v AiGatewayInferenceTableConfig_SdkV2)

SetInferenceTableConfig sets the value of the InferenceTableConfig field in AiGatewayConfig_SdkV2.

func (*AiGatewayConfig_SdkV2) SetRateLimits added in v1.62.1

SetRateLimits sets the value of the RateLimits field in AiGatewayConfig_SdkV2.

func (*AiGatewayConfig_SdkV2) SetUsageTrackingConfig added in v1.62.1

func (m *AiGatewayConfig_SdkV2) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig_SdkV2)

SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in AiGatewayConfig_SdkV2.

func (*AiGatewayConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayConfig_SdkV2)

func (*AiGatewayConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AiGatewayConfig_SdkV2)

func (AiGatewayConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// Configuration for guardrail PII filter.
	Pii types.Object `tfsdk:"pii"`
	// Indicates whether the safety filter is enabled.
	Safety types.Bool `tfsdk:"safety"`
	// 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"`
}

func (AiGatewayGuardrailParameters) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayGuardrailParameters) GetComplexFieldTypes added in v1.61.0

func (m 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 (m *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

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

func (m *AiGatewayGuardrailParameters) GetValidTopics(ctx context.Context) ([]types.String, bool)

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 (m *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

SetPii sets the value of the Pii field in AiGatewayGuardrailParameters.

func (*AiGatewayGuardrailParameters) SetValidTopics added in v1.61.0

func (m *AiGatewayGuardrailParameters) SetValidTopics(ctx context.Context, v []types.String)

SetValidTopics sets the value of the ValidTopics field in AiGatewayGuardrailParameters.

func (*AiGatewayGuardrailParameters) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayGuardrailParameters) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayGuardrailParameters)

func (*AiGatewayGuardrailParameters) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayGuardrailParameters) SyncFieldsDuringRead(ctx context.Context, from AiGatewayGuardrailParameters)

func (AiGatewayGuardrailParameters) ToObjectValue added in v1.61.0

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().

func (AiGatewayGuardrailParameters) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AiGatewayGuardrailParameters_SdkV2 added in v1.62.1

type AiGatewayGuardrailParameters_SdkV2 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"`
	// Configuration for guardrail PII filter.
	Pii types.List `tfsdk:"pii"`
	// Indicates whether the safety filter is enabled.
	Safety types.Bool `tfsdk:"safety"`
	// 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"`
}

func (AiGatewayGuardrailParameters_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayGuardrailParameters_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayGuardrailParameters_SdkV2) 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_SdkV2) GetInvalidKeywords added in v1.62.1

func (m *AiGatewayGuardrailParameters_SdkV2) GetInvalidKeywords(ctx context.Context) ([]types.String, bool)

GetInvalidKeywords returns the value of the InvalidKeywords field in AiGatewayGuardrailParameters_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayGuardrailParameters_SdkV2) GetPii added in v1.62.1

GetPii returns the value of the Pii field in AiGatewayGuardrailParameters_SdkV2 as a AiGatewayGuardrailPiiBehavior_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayGuardrailParameters_SdkV2) GetValidTopics added in v1.62.1

func (m *AiGatewayGuardrailParameters_SdkV2) GetValidTopics(ctx context.Context) ([]types.String, bool)

GetValidTopics returns the value of the ValidTopics field in AiGatewayGuardrailParameters_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayGuardrailParameters_SdkV2) SetInvalidKeywords added in v1.62.1

func (m *AiGatewayGuardrailParameters_SdkV2) SetInvalidKeywords(ctx context.Context, v []types.String)

SetInvalidKeywords sets the value of the InvalidKeywords field in AiGatewayGuardrailParameters_SdkV2.

func (*AiGatewayGuardrailParameters_SdkV2) SetPii added in v1.62.1

SetPii sets the value of the Pii field in AiGatewayGuardrailParameters_SdkV2.

func (*AiGatewayGuardrailParameters_SdkV2) SetValidTopics added in v1.62.1

func (m *AiGatewayGuardrailParameters_SdkV2) SetValidTopics(ctx context.Context, v []types.String)

SetValidTopics sets the value of the ValidTopics field in AiGatewayGuardrailParameters_SdkV2.

func (*AiGatewayGuardrailParameters_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayGuardrailParameters_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayGuardrailParameters_SdkV2)

func (*AiGatewayGuardrailParameters_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (AiGatewayGuardrailParameters_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayGuardrailParameters_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AiGatewayGuardrailPiiBehavior added in v1.53.0

type AiGatewayGuardrailPiiBehavior struct {
	// Configuration for input guardrail filters.
	Behavior types.String `tfsdk:"behavior"`
}

func (AiGatewayGuardrailPiiBehavior) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayGuardrailPiiBehavior) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayGuardrailPiiBehavior) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayGuardrailPiiBehavior)

func (*AiGatewayGuardrailPiiBehavior) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayGuardrailPiiBehavior) SyncFieldsDuringRead(ctx context.Context, from AiGatewayGuardrailPiiBehavior)

func (AiGatewayGuardrailPiiBehavior) ToObjectValue added in v1.61.0

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().

func (AiGatewayGuardrailPiiBehavior) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AiGatewayGuardrailPiiBehavior_SdkV2 added in v1.62.1

type AiGatewayGuardrailPiiBehavior_SdkV2 struct {
	// Configuration for input guardrail filters.
	Behavior types.String `tfsdk:"behavior"`
}

func (AiGatewayGuardrailPiiBehavior_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayGuardrailPiiBehavior_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayGuardrailPiiBehavior_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayGuardrailPiiBehavior_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayGuardrailPiiBehavior_SdkV2)

func (*AiGatewayGuardrailPiiBehavior_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (AiGatewayGuardrailPiiBehavior_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayGuardrailPiiBehavior_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AiGatewayGuardrails added in v1.53.0

type AiGatewayGuardrails struct {
	// Configuration for input guardrail filters.
	Input types.Object `tfsdk:"input"`
	// Configuration for output guardrail filters.
	Output types.Object `tfsdk:"output"`
}

func (AiGatewayGuardrails) ApplySchemaCustomizations added in v1.63.0

func (m AiGatewayGuardrails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AiGatewayGuardrails) GetComplexFieldTypes added in v1.61.0

func (m AiGatewayGuardrails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

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

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

SetInput sets the value of the Input field in AiGatewayGuardrails.

func (*AiGatewayGuardrails) SetOutput added in v1.61.0

SetOutput sets the value of the Output field in AiGatewayGuardrails.

func (*AiGatewayGuardrails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayGuardrails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayGuardrails)

func (*AiGatewayGuardrails) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayGuardrails) SyncFieldsDuringRead(ctx context.Context, from AiGatewayGuardrails)

func (AiGatewayGuardrails) ToObjectValue added in v1.61.0

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().

func (AiGatewayGuardrails) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AiGatewayGuardrails_SdkV2 added in v1.62.1

type AiGatewayGuardrails_SdkV2 struct {
	// Configuration for input guardrail filters.
	Input types.List `tfsdk:"input"`
	// Configuration for output guardrail filters.
	Output types.List `tfsdk:"output"`
}

func (AiGatewayGuardrails_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m AiGatewayGuardrails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AiGatewayGuardrails_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayGuardrails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetInput added in v1.62.1

GetInput returns the value of the Input field in AiGatewayGuardrails_SdkV2 as a AiGatewayGuardrailParameters_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayGuardrails_SdkV2) GetOutput added in v1.62.1

GetOutput returns the value of the Output field in AiGatewayGuardrails_SdkV2 as a AiGatewayGuardrailParameters_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AiGatewayGuardrails_SdkV2) SetInput added in v1.62.1

SetInput sets the value of the Input field in AiGatewayGuardrails_SdkV2.

func (*AiGatewayGuardrails_SdkV2) SetOutput added in v1.62.1

SetOutput sets the value of the Output field in AiGatewayGuardrails_SdkV2.

func (*AiGatewayGuardrails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayGuardrails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayGuardrails_SdkV2)

func (*AiGatewayGuardrails_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayGuardrails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AiGatewayGuardrails_SdkV2)

func (AiGatewayGuardrails_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayGuardrails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// Indicates whether the inference table is enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// 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"`
	// 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"`
}

func (AiGatewayInferenceTableConfig) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayInferenceTableConfig) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayInferenceTableConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayInferenceTableConfig)

func (*AiGatewayInferenceTableConfig) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayInferenceTableConfig) SyncFieldsDuringRead(ctx context.Context, from AiGatewayInferenceTableConfig)

func (AiGatewayInferenceTableConfig) ToObjectValue added in v1.61.0

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().

func (AiGatewayInferenceTableConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AiGatewayInferenceTableConfig_SdkV2 added in v1.62.1

type AiGatewayInferenceTableConfig_SdkV2 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"`
	// Indicates whether the inference table is enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// 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"`
	// 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"`
}

func (AiGatewayInferenceTableConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayInferenceTableConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayInferenceTableConfig_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayInferenceTableConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayInferenceTableConfig_SdkV2)

func (*AiGatewayInferenceTableConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (AiGatewayInferenceTableConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayInferenceTableConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// Key field for a rate limit. Currently, 'user', 'user_group,
	// 'service_principal', and 'endpoint' are supported, with 'endpoint' being
	// the default if not specified.
	Key types.String `tfsdk:"key"`
	// Principal field for a user, user group, or service principal to apply
	// rate limiting to. Accepts a user email, group name, or service principal
	// application ID.
	Principal types.String `tfsdk:"principal"`
	// Renewal period field for a rate limit. Currently, only 'minute' is
	// supported.
	RenewalPeriod types.String `tfsdk:"renewal_period"`
	// Used to specify how many tokens are allowed for a key within the
	// renewal_period.
	Tokens types.Int64 `tfsdk:"tokens"`
}

func (AiGatewayRateLimit) ApplySchemaCustomizations added in v1.63.0

func (m AiGatewayRateLimit) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AiGatewayRateLimit) GetComplexFieldTypes added in v1.61.0

func (m AiGatewayRateLimit) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayRateLimit) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayRateLimit)

func (*AiGatewayRateLimit) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayRateLimit) SyncFieldsDuringRead(ctx context.Context, from AiGatewayRateLimit)

func (AiGatewayRateLimit) ToObjectValue added in v1.61.0

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().

func (AiGatewayRateLimit) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AiGatewayRateLimit_SdkV2 added in v1.62.1

type AiGatewayRateLimit_SdkV2 struct {
	// Used to specify how many calls are allowed for a key within the
	// renewal_period.
	Calls types.Int64 `tfsdk:"calls"`
	// Key field for a rate limit. Currently, 'user', 'user_group,
	// 'service_principal', and 'endpoint' are supported, with 'endpoint' being
	// the default if not specified.
	Key types.String `tfsdk:"key"`
	// Principal field for a user, user group, or service principal to apply
	// rate limiting to. Accepts a user email, group name, or service principal
	// application ID.
	Principal types.String `tfsdk:"principal"`
	// Renewal period field for a rate limit. Currently, only 'minute' is
	// supported.
	RenewalPeriod types.String `tfsdk:"renewal_period"`
	// Used to specify how many tokens are allowed for a key within the
	// renewal_period.
	Tokens types.Int64 `tfsdk:"tokens"`
}

func (AiGatewayRateLimit_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m AiGatewayRateLimit_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AiGatewayRateLimit_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayRateLimit_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayRateLimit_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayRateLimit_SdkV2)

func (*AiGatewayRateLimit_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayRateLimit_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AiGatewayRateLimit_SdkV2)

func (AiGatewayRateLimit_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayRateLimit_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AiGatewayUsageTrackingConfig added in v1.53.0

type AiGatewayUsageTrackingConfig struct {
	// Whether to enable usage tracking.
	Enabled types.Bool `tfsdk:"enabled"`
}

func (AiGatewayUsageTrackingConfig) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayUsageTrackingConfig) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayUsageTrackingConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayUsageTrackingConfig)

func (*AiGatewayUsageTrackingConfig) SyncFieldsDuringRead added in v1.86.0

func (to *AiGatewayUsageTrackingConfig) SyncFieldsDuringRead(ctx context.Context, from AiGatewayUsageTrackingConfig)

func (AiGatewayUsageTrackingConfig) ToObjectValue added in v1.61.0

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().

func (AiGatewayUsageTrackingConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AiGatewayUsageTrackingConfig_SdkV2 added in v1.62.1

type AiGatewayUsageTrackingConfig_SdkV2 struct {
	// Whether to enable usage tracking.
	Enabled types.Bool `tfsdk:"enabled"`
}

func (AiGatewayUsageTrackingConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AiGatewayUsageTrackingConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AiGatewayUsageTrackingConfig_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AiGatewayUsageTrackingConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AiGatewayUsageTrackingConfig_SdkV2)

func (*AiGatewayUsageTrackingConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (AiGatewayUsageTrackingConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AiGatewayUsageTrackingConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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_plaintext`. 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"`
	// 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"`
	// The AWS region to use. Bedrock has to be enabled there.
	AwsRegion types.String `tfsdk:"aws_region"`
	// 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"`
	// 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"`
	// The underlying provider in Amazon Bedrock. Supported values (case
	// insensitive) include: Anthropic, Cohere, AI21Labs, Amazon.
	BedrockProvider types.String `tfsdk:"bedrock_provider"`
	// ARN of the instance profile that the external model will use to access
	// AWS resources. You must authenticate using an instance profile or access
	// keys. If you prefer to authenticate using access keys, see
	// `aws_access_key_id`, `aws_access_key_id_plaintext`,
	// `aws_secret_access_key` and `aws_secret_access_key_plaintext`.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
}

func (AmazonBedrockConfig) ApplySchemaCustomizations added in v1.63.0

func (m AmazonBedrockConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AmazonBedrockConfig) GetComplexFieldTypes added in v1.61.0

func (m AmazonBedrockConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AmazonBedrockConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AmazonBedrockConfig)

func (*AmazonBedrockConfig) SyncFieldsDuringRead added in v1.86.0

func (to *AmazonBedrockConfig) SyncFieldsDuringRead(ctx context.Context, from AmazonBedrockConfig)

func (AmazonBedrockConfig) ToObjectValue added in v1.61.0

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().

func (AmazonBedrockConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AmazonBedrockConfig_SdkV2 added in v1.62.1

type AmazonBedrockConfig_SdkV2 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_plaintext`. 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"`
	// 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"`
	// The AWS region to use. Bedrock has to be enabled there.
	AwsRegion types.String `tfsdk:"aws_region"`
	// 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"`
	// 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"`
	// The underlying provider in Amazon Bedrock. Supported values (case
	// insensitive) include: Anthropic, Cohere, AI21Labs, Amazon.
	BedrockProvider types.String `tfsdk:"bedrock_provider"`
	// ARN of the instance profile that the external model will use to access
	// AWS resources. You must authenticate using an instance profile or access
	// keys. If you prefer to authenticate using access keys, see
	// `aws_access_key_id`, `aws_access_key_id_plaintext`,
	// `aws_secret_access_key` and `aws_secret_access_key_plaintext`.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
}

func (AmazonBedrockConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m AmazonBedrockConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AmazonBedrockConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AmazonBedrockConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AmazonBedrockConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AmazonBedrockConfig_SdkV2)

func (*AmazonBedrockConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AmazonBedrockConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AmazonBedrockConfig_SdkV2)

func (AmazonBedrockConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AmazonBedrockConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
}

func (AnthropicConfig) ApplySchemaCustomizations added in v1.63.0

func (m AnthropicConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AnthropicConfig) GetComplexFieldTypes added in v1.61.0

func (m AnthropicConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AnthropicConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AnthropicConfig)

func (*AnthropicConfig) SyncFieldsDuringRead added in v1.86.0

func (to *AnthropicConfig) SyncFieldsDuringRead(ctx context.Context, from AnthropicConfig)

func (AnthropicConfig) ToObjectValue added in v1.61.0

func (m 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().

func (AnthropicConfig) Type added in v1.61.0

func (m AnthropicConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type AnthropicConfig_SdkV2 added in v1.62.1

type AnthropicConfig_SdkV2 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"`
	// 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"`
}

func (AnthropicConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m AnthropicConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AnthropicConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AnthropicConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AnthropicConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AnthropicConfig_SdkV2)

func (*AnthropicConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AnthropicConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AnthropicConfig_SdkV2)

func (AnthropicConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AnthropicConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ApiKeyAuth added in v1.71.0

type ApiKeyAuth struct {
	// The name of the API key parameter used for authentication.
	Key types.String `tfsdk:"key"`
	// The Databricks secret key reference for an API Key. If you prefer to
	// paste your token directly, see `value_plaintext`.
	Value types.String `tfsdk:"value"`
	// The API Key provided as a plaintext string. If you prefer to reference
	// your token using Databricks Secrets, see `value`.
	ValuePlaintext types.String `tfsdk:"value_plaintext"`
}

func (ApiKeyAuth) ApplySchemaCustomizations added in v1.71.0

func (m ApiKeyAuth) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ApiKeyAuth) GetComplexFieldTypes added in v1.71.0

func (m ApiKeyAuth) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ApiKeyAuth. 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 (*ApiKeyAuth) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ApiKeyAuth) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ApiKeyAuth)

func (*ApiKeyAuth) SyncFieldsDuringRead added in v1.86.0

func (to *ApiKeyAuth) SyncFieldsDuringRead(ctx context.Context, from ApiKeyAuth)

func (ApiKeyAuth) ToObjectValue added in v1.71.0

func (m ApiKeyAuth) 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, ApiKeyAuth only implements ToObjectValue() and Type().

func (ApiKeyAuth) Type added in v1.71.0

func (m ApiKeyAuth) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ApiKeyAuth_SdkV2 added in v1.71.0

type ApiKeyAuth_SdkV2 struct {
	// The name of the API key parameter used for authentication.
	Key types.String `tfsdk:"key"`
	// The Databricks secret key reference for an API Key. If you prefer to
	// paste your token directly, see `value_plaintext`.
	Value types.String `tfsdk:"value"`
	// The API Key provided as a plaintext string. If you prefer to reference
	// your token using Databricks Secrets, see `value`.
	ValuePlaintext types.String `tfsdk:"value_plaintext"`
}

func (ApiKeyAuth_SdkV2) ApplySchemaCustomizations added in v1.71.0

func (m ApiKeyAuth_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ApiKeyAuth_SdkV2) GetComplexFieldTypes added in v1.71.0

func (m ApiKeyAuth_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ApiKeyAuth. 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 (*ApiKeyAuth_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ApiKeyAuth_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ApiKeyAuth_SdkV2)

func (*ApiKeyAuth_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ApiKeyAuth_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ApiKeyAuth_SdkV2)

func (ApiKeyAuth_SdkV2) ToObjectValue added in v1.71.0

func (m ApiKeyAuth_SdkV2) 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, ApiKeyAuth_SdkV2 only implements ToObjectValue() and Type().

func (ApiKeyAuth_SdkV2) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type AutoCaptureConfigInput deprecated

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"`
	// Indicates whether the inference table is enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// 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"`
	// 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"`
}

Deprecated: legacy inference table configuration. Please use AI Gateway inference tables instead. See https://docs.databricks.com/aws/en/ai-gateway/inference-tables.

func (AutoCaptureConfigInput) ApplySchemaCustomizations added in v1.63.0

func (m AutoCaptureConfigInput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AutoCaptureConfigInput) GetComplexFieldTypes added in v1.61.0

func (m AutoCaptureConfigInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AutoCaptureConfigInput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AutoCaptureConfigInput)

func (*AutoCaptureConfigInput) SyncFieldsDuringRead added in v1.86.0

func (to *AutoCaptureConfigInput) SyncFieldsDuringRead(ctx context.Context, from AutoCaptureConfigInput)

func (AutoCaptureConfigInput) ToObjectValue added in v1.61.0

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().

func (AutoCaptureConfigInput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AutoCaptureConfigInput_SdkV2 deprecated added in v1.62.1

type AutoCaptureConfigInput_SdkV2 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"`
	// Indicates whether the inference table is enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// 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"`
	// 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"`
}

Deprecated: legacy inference table configuration. Please use AI Gateway inference tables instead. See https://docs.databricks.com/aws/en/ai-gateway/inference-tables.

func (AutoCaptureConfigInput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AutoCaptureConfigInput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AutoCaptureConfigInput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AutoCaptureConfigInput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AutoCaptureConfigInput_SdkV2)

func (*AutoCaptureConfigInput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AutoCaptureConfigInput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AutoCaptureConfigInput_SdkV2)

func (AutoCaptureConfigInput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AutoCaptureConfigInput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AutoCaptureConfigOutput deprecated

type AutoCaptureConfigOutput 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"`
	// Indicates whether the inference table is enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// 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"`

	State types.Object `tfsdk:"state"`
	// 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"`
}

Deprecated: legacy inference table configuration. Please use AI Gateway inference tables instead. See https://docs.databricks.com/aws/en/ai-gateway/inference-tables.

func (AutoCaptureConfigOutput) ApplySchemaCustomizations added in v1.63.0

func (m AutoCaptureConfigOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AutoCaptureConfigOutput) GetComplexFieldTypes added in v1.61.0

func (m AutoCaptureConfigOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

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

SetState sets the value of the State field in AutoCaptureConfigOutput.

func (*AutoCaptureConfigOutput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AutoCaptureConfigOutput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AutoCaptureConfigOutput)

func (*AutoCaptureConfigOutput) SyncFieldsDuringRead added in v1.86.0

func (to *AutoCaptureConfigOutput) SyncFieldsDuringRead(ctx context.Context, from AutoCaptureConfigOutput)

func (AutoCaptureConfigOutput) ToObjectValue added in v1.61.0

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().

func (AutoCaptureConfigOutput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AutoCaptureConfigOutput_SdkV2 deprecated added in v1.62.1

type AutoCaptureConfigOutput_SdkV2 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"`
	// Indicates whether the inference table is enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// 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"`

	State types.List `tfsdk:"state"`
	// 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"`
}

Deprecated: legacy inference table configuration. Please use AI Gateway inference tables instead. See https://docs.databricks.com/aws/en/ai-gateway/inference-tables.

func (AutoCaptureConfigOutput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AutoCaptureConfigOutput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AutoCaptureConfigOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetState added in v1.62.1

GetState returns the value of the State field in AutoCaptureConfigOutput_SdkV2 as a AutoCaptureState_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AutoCaptureConfigOutput_SdkV2) SetState added in v1.62.1

SetState sets the value of the State field in AutoCaptureConfigOutput_SdkV2.

func (*AutoCaptureConfigOutput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AutoCaptureConfigOutput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AutoCaptureConfigOutput_SdkV2)

func (*AutoCaptureConfigOutput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AutoCaptureConfigOutput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AutoCaptureConfigOutput_SdkV2)

func (AutoCaptureConfigOutput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AutoCaptureConfigOutput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AutoCaptureState

type AutoCaptureState struct {
	PayloadTable types.Object `tfsdk:"payload_table"`
}

func (AutoCaptureState) ApplySchemaCustomizations added in v1.63.0

func (m AutoCaptureState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AutoCaptureState) GetComplexFieldTypes added in v1.61.0

func (m AutoCaptureState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *AutoCaptureState) SetPayloadTable(ctx context.Context, v PayloadTable)

SetPayloadTable sets the value of the PayloadTable field in AutoCaptureState.

func (*AutoCaptureState) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AutoCaptureState) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AutoCaptureState)

func (*AutoCaptureState) SyncFieldsDuringRead added in v1.86.0

func (to *AutoCaptureState) SyncFieldsDuringRead(ctx context.Context, from AutoCaptureState)

func (AutoCaptureState) ToObjectValue added in v1.61.0

func (m 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().

func (AutoCaptureState) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AutoCaptureState_SdkV2 added in v1.62.1

type AutoCaptureState_SdkV2 struct {
	PayloadTable types.List `tfsdk:"payload_table"`
}

func (AutoCaptureState_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m AutoCaptureState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AutoCaptureState_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m AutoCaptureState_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetPayloadTable added in v1.62.1

func (m *AutoCaptureState_SdkV2) GetPayloadTable(ctx context.Context) (PayloadTable_SdkV2, bool)

GetPayloadTable returns the value of the PayloadTable field in AutoCaptureState_SdkV2 as a PayloadTable_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AutoCaptureState_SdkV2) SetPayloadTable added in v1.62.1

func (m *AutoCaptureState_SdkV2) SetPayloadTable(ctx context.Context, v PayloadTable_SdkV2)

SetPayloadTable sets the value of the PayloadTable field in AutoCaptureState_SdkV2.

func (*AutoCaptureState_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *AutoCaptureState_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from AutoCaptureState_SdkV2)

func (*AutoCaptureState_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *AutoCaptureState_SdkV2) SyncFieldsDuringRead(ctx context.Context, from AutoCaptureState_SdkV2)

func (AutoCaptureState_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (AutoCaptureState_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type BearerTokenAuth added in v1.71.0

type BearerTokenAuth struct {
	// The Databricks secret key reference for a token. If you prefer to paste
	// your token directly, see `token_plaintext`.
	Token types.String `tfsdk:"token"`
	// The token provided as a plaintext string. If you prefer to reference your
	// token using Databricks Secrets, see `token`.
	TokenPlaintext types.String `tfsdk:"token_plaintext"`
}

func (BearerTokenAuth) ApplySchemaCustomizations added in v1.71.0

func (m BearerTokenAuth) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BearerTokenAuth) GetComplexFieldTypes added in v1.71.0

func (m BearerTokenAuth) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BearerTokenAuth. 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 (*BearerTokenAuth) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *BearerTokenAuth) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BearerTokenAuth)

func (*BearerTokenAuth) SyncFieldsDuringRead added in v1.86.0

func (to *BearerTokenAuth) SyncFieldsDuringRead(ctx context.Context, from BearerTokenAuth)

func (BearerTokenAuth) ToObjectValue added in v1.71.0

func (m BearerTokenAuth) 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, BearerTokenAuth only implements ToObjectValue() and Type().

func (BearerTokenAuth) Type added in v1.71.0

func (m BearerTokenAuth) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type BearerTokenAuth_SdkV2 added in v1.71.0

type BearerTokenAuth_SdkV2 struct {
	// The Databricks secret key reference for a token. If you prefer to paste
	// your token directly, see `token_plaintext`.
	Token types.String `tfsdk:"token"`
	// The token provided as a plaintext string. If you prefer to reference your
	// token using Databricks Secrets, see `token`.
	TokenPlaintext types.String `tfsdk:"token_plaintext"`
}

func (BearerTokenAuth_SdkV2) ApplySchemaCustomizations added in v1.71.0

func (m BearerTokenAuth_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BearerTokenAuth_SdkV2) GetComplexFieldTypes added in v1.71.0

func (m BearerTokenAuth_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in BearerTokenAuth. 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 (*BearerTokenAuth_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *BearerTokenAuth_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BearerTokenAuth_SdkV2)

func (*BearerTokenAuth_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *BearerTokenAuth_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BearerTokenAuth_SdkV2)

func (BearerTokenAuth_SdkV2) ToObjectValue added in v1.71.0

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, BearerTokenAuth_SdkV2 only implements ToObjectValue() and Type().

func (BearerTokenAuth_SdkV2) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

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:"-"`
}

func (BuildLogsRequest) ApplySchemaCustomizations added in v1.76.0

func (m BuildLogsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BuildLogsRequest) GetComplexFieldTypes added in v1.61.0

func (m BuildLogsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *BuildLogsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BuildLogsRequest)

func (*BuildLogsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *BuildLogsRequest) SyncFieldsDuringRead(ctx context.Context, from BuildLogsRequest)

func (BuildLogsRequest) ToObjectValue added in v1.61.0

func (m 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().

func (BuildLogsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type BuildLogsRequest_SdkV2 added in v1.62.1

type BuildLogsRequest_SdkV2 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:"-"`
}

func (BuildLogsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m BuildLogsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BuildLogsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m BuildLogsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *BuildLogsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BuildLogsRequest_SdkV2)

func (*BuildLogsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *BuildLogsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BuildLogsRequest_SdkV2)

func (BuildLogsRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (BuildLogsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type BuildLogsResponse

type BuildLogsResponse struct {
	// The logs associated with building the served entity's environment.
	Logs types.String `tfsdk:"logs"`
}

func (BuildLogsResponse) ApplySchemaCustomizations added in v1.63.0

func (m BuildLogsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BuildLogsResponse) GetComplexFieldTypes added in v1.61.0

func (m BuildLogsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *BuildLogsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BuildLogsResponse)

func (*BuildLogsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *BuildLogsResponse) SyncFieldsDuringRead(ctx context.Context, from BuildLogsResponse)

func (BuildLogsResponse) ToObjectValue added in v1.61.0

func (m 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().

func (BuildLogsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type BuildLogsResponse_SdkV2 added in v1.62.1

type BuildLogsResponse_SdkV2 struct {
	// The logs associated with building the served entity's environment.
	Logs types.String `tfsdk:"logs"`
}

func (BuildLogsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m BuildLogsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (BuildLogsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m BuildLogsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *BuildLogsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from BuildLogsResponse_SdkV2)

func (*BuildLogsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *BuildLogsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from BuildLogsResponse_SdkV2)

func (BuildLogsResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (BuildLogsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ChatMessage

type ChatMessage struct {
	// The content of the message.
	Content types.String `tfsdk:"content"`
	// The role of the message. One of [system, user, assistant].
	Role types.String `tfsdk:"role"`
}

func (ChatMessage) ApplySchemaCustomizations added in v1.63.0

func (m ChatMessage) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ChatMessage) GetComplexFieldTypes added in v1.61.0

func (m ChatMessage) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ChatMessage) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ChatMessage)

func (*ChatMessage) SyncFieldsDuringRead added in v1.86.0

func (to *ChatMessage) SyncFieldsDuringRead(ctx context.Context, from ChatMessage)

func (ChatMessage) ToObjectValue added in v1.61.0

func (m 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().

func (ChatMessage) Type added in v1.61.0

func (m ChatMessage) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ChatMessage_SdkV2 added in v1.62.1

type ChatMessage_SdkV2 struct {
	// The content of the message.
	Content types.String `tfsdk:"content"`
	// The role of the message. One of [system, user, assistant].
	Role types.String `tfsdk:"role"`
}

func (ChatMessage_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ChatMessage_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ChatMessage_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ChatMessage_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ChatMessage_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ChatMessage_SdkV2)

func (*ChatMessage_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ChatMessage_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ChatMessage_SdkV2)

func (ChatMessage_SdkV2) ToObjectValue added in v1.62.1

func (m ChatMessage_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (ChatMessage_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
	// 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"`
}

func (CohereConfig) ApplySchemaCustomizations added in v1.63.0

func (m CohereConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CohereConfig) GetComplexFieldTypes added in v1.61.0

func (m CohereConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *CohereConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CohereConfig)

func (*CohereConfig) SyncFieldsDuringRead added in v1.86.0

func (to *CohereConfig) SyncFieldsDuringRead(ctx context.Context, from CohereConfig)

func (CohereConfig) ToObjectValue added in v1.61.0

func (m 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().

func (CohereConfig) Type added in v1.61.0

func (m CohereConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CohereConfig_SdkV2 added in v1.62.1

type CohereConfig_SdkV2 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"`
	// 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"`
	// 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"`
}

func (CohereConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m CohereConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CohereConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m CohereConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *CohereConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CohereConfig_SdkV2)

func (*CohereConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *CohereConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CohereConfig_SdkV2)

func (CohereConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (CohereConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreatePtEndpointRequest added in v1.78.0

type CreatePtEndpointRequest struct {
	// The AI Gateway configuration for the serving endpoint.
	AiGateway types.Object `tfsdk:"ai_gateway"`
	// The budget policy associated with the endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The core config of the serving endpoint.
	Config types.Object `tfsdk:"config"`
	// Email notification settings.
	EmailNotifications types.Object `tfsdk:"email_notifications"`
	// 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"`
	// Tags to be attached to the serving endpoint and automatically propagated
	// to billing logs.
	Tags types.List `tfsdk:"tags"`
}

func (CreatePtEndpointRequest) ApplySchemaCustomizations added in v1.78.0

func (m CreatePtEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreatePtEndpointRequest) GetAiGateway added in v1.78.0

GetAiGateway returns the value of the AiGateway field in CreatePtEndpointRequest as a AiGatewayConfig value. If the field is unknown or null, the boolean return value is false.

func (CreatePtEndpointRequest) GetComplexFieldTypes added in v1.78.0

func (m CreatePtEndpointRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePtEndpointRequest. 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 (*CreatePtEndpointRequest) GetConfig added in v1.78.0

GetConfig returns the value of the Config field in CreatePtEndpointRequest as a PtEndpointCoreConfig value. If the field is unknown or null, the boolean return value is false.

func (*CreatePtEndpointRequest) GetEmailNotifications added in v1.86.0

func (m *CreatePtEndpointRequest) GetEmailNotifications(ctx context.Context) (EmailNotifications, bool)

GetEmailNotifications returns the value of the EmailNotifications field in CreatePtEndpointRequest as a EmailNotifications value. If the field is unknown or null, the boolean return value is false.

func (*CreatePtEndpointRequest) GetTags added in v1.78.0

GetTags returns the value of the Tags field in CreatePtEndpointRequest as a slice of EndpointTag values. If the field is unknown or null, the boolean return value is false.

func (*CreatePtEndpointRequest) SetAiGateway added in v1.78.0

func (m *CreatePtEndpointRequest) SetAiGateway(ctx context.Context, v AiGatewayConfig)

SetAiGateway sets the value of the AiGateway field in CreatePtEndpointRequest.

func (*CreatePtEndpointRequest) SetConfig added in v1.78.0

SetConfig sets the value of the Config field in CreatePtEndpointRequest.

func (*CreatePtEndpointRequest) SetEmailNotifications added in v1.86.0

func (m *CreatePtEndpointRequest) SetEmailNotifications(ctx context.Context, v EmailNotifications)

SetEmailNotifications sets the value of the EmailNotifications field in CreatePtEndpointRequest.

func (*CreatePtEndpointRequest) SetTags added in v1.78.0

func (m *CreatePtEndpointRequest) SetTags(ctx context.Context, v []EndpointTag)

SetTags sets the value of the Tags field in CreatePtEndpointRequest.

func (*CreatePtEndpointRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *CreatePtEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreatePtEndpointRequest)

func (*CreatePtEndpointRequest) SyncFieldsDuringRead added in v1.91.0

func (to *CreatePtEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from CreatePtEndpointRequest)

func (CreatePtEndpointRequest) ToObjectValue added in v1.78.0

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, CreatePtEndpointRequest only implements ToObjectValue() and Type().

func (CreatePtEndpointRequest) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type CreatePtEndpointRequest_SdkV2 added in v1.78.0

type CreatePtEndpointRequest_SdkV2 struct {
	// The AI Gateway configuration for the serving endpoint.
	AiGateway types.List `tfsdk:"ai_gateway"`
	// The budget policy associated with the endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The core config of the serving endpoint.
	Config types.List `tfsdk:"config"`
	// Email notification settings.
	EmailNotifications types.List `tfsdk:"email_notifications"`
	// 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"`
	// Tags to be attached to the serving endpoint and automatically propagated
	// to billing logs.
	Tags types.List `tfsdk:"tags"`
}

func (CreatePtEndpointRequest_SdkV2) ApplySchemaCustomizations added in v1.78.0

func (*CreatePtEndpointRequest_SdkV2) GetAiGateway added in v1.78.0

GetAiGateway returns the value of the AiGateway field in CreatePtEndpointRequest_SdkV2 as a AiGatewayConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreatePtEndpointRequest_SdkV2) GetComplexFieldTypes added in v1.78.0

func (m CreatePtEndpointRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePtEndpointRequest. 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 (*CreatePtEndpointRequest_SdkV2) GetConfig added in v1.78.0

GetConfig returns the value of the Config field in CreatePtEndpointRequest_SdkV2 as a PtEndpointCoreConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreatePtEndpointRequest_SdkV2) GetEmailNotifications added in v1.86.0

GetEmailNotifications returns the value of the EmailNotifications field in CreatePtEndpointRequest_SdkV2 as a EmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreatePtEndpointRequest_SdkV2) GetTags added in v1.78.0

GetTags returns the value of the Tags field in CreatePtEndpointRequest_SdkV2 as a slice of EndpointTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreatePtEndpointRequest_SdkV2) SetAiGateway added in v1.78.0

SetAiGateway sets the value of the AiGateway field in CreatePtEndpointRequest_SdkV2.

func (*CreatePtEndpointRequest_SdkV2) SetConfig added in v1.78.0

SetConfig sets the value of the Config field in CreatePtEndpointRequest_SdkV2.

func (*CreatePtEndpointRequest_SdkV2) SetEmailNotifications added in v1.86.0

func (m *CreatePtEndpointRequest_SdkV2) SetEmailNotifications(ctx context.Context, v EmailNotifications_SdkV2)

SetEmailNotifications sets the value of the EmailNotifications field in CreatePtEndpointRequest_SdkV2.

func (*CreatePtEndpointRequest_SdkV2) SetTags added in v1.78.0

SetTags sets the value of the Tags field in CreatePtEndpointRequest_SdkV2.

func (*CreatePtEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *CreatePtEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreatePtEndpointRequest_SdkV2)

func (*CreatePtEndpointRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *CreatePtEndpointRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreatePtEndpointRequest_SdkV2)

func (CreatePtEndpointRequest_SdkV2) ToObjectValue added in v1.78.0

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, CreatePtEndpointRequest_SdkV2 only implements ToObjectValue() and Type().

func (CreatePtEndpointRequest_SdkV2) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type CreateServingEndpoint

type CreateServingEndpoint struct {
	// The AI Gateway configuration for the serving endpoint. NOTE: External
	// model, provisioned throughput, and pay-per-token endpoints are fully
	// supported; agent endpoints currently only support inference tables.
	AiGateway types.Object `tfsdk:"ai_gateway"`
	// The budget policy to be applied to the serving endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The core config of the serving endpoint.
	Config types.Object `tfsdk:"config"`

	Description types.String `tfsdk:"description"`
	// Email notification settings.
	EmailNotifications types.Object `tfsdk:"email_notifications"`
	// 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"`
	// 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"`
	// Enable route optimization for the serving endpoint.
	RouteOptimized types.Bool `tfsdk:"route_optimized"`
	// Tags to be attached to the serving endpoint and automatically propagated
	// to billing logs.
	Tags types.List `tfsdk:"tags"`
}

func (CreateServingEndpoint) ApplySchemaCustomizations added in v1.63.0

func (m CreateServingEndpoint) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateServingEndpoint) GetAiGateway added in v1.61.0

func (m *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

func (m CreateServingEndpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

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) GetEmailNotifications added in v1.86.0

func (m *CreateServingEndpoint) GetEmailNotifications(ctx context.Context) (EmailNotifications, bool)

GetEmailNotifications returns the value of the EmailNotifications field in CreateServingEndpoint as a EmailNotifications value. If the field is unknown or null, the boolean return value is false.

func (*CreateServingEndpoint) GetRateLimits added in v1.61.0

func (m *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 (m *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 (m *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

SetConfig sets the value of the Config field in CreateServingEndpoint.

func (*CreateServingEndpoint) SetEmailNotifications added in v1.86.0

func (m *CreateServingEndpoint) SetEmailNotifications(ctx context.Context, v EmailNotifications)

SetEmailNotifications sets the value of the EmailNotifications field in CreateServingEndpoint.

func (*CreateServingEndpoint) SetRateLimits added in v1.61.0

func (m *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 (m *CreateServingEndpoint) SetTags(ctx context.Context, v []EndpointTag)

SetTags sets the value of the Tags field in CreateServingEndpoint.

func (*CreateServingEndpoint) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *CreateServingEndpoint) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateServingEndpoint)

func (*CreateServingEndpoint) SyncFieldsDuringRead added in v1.91.0

func (to *CreateServingEndpoint) SyncFieldsDuringRead(ctx context.Context, from CreateServingEndpoint)

func (CreateServingEndpoint) ToObjectValue added in v1.61.0

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().

func (CreateServingEndpoint) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateServingEndpoint_SdkV2 added in v1.62.1

type CreateServingEndpoint_SdkV2 struct {
	// The AI Gateway configuration for the serving endpoint. NOTE: External
	// model, provisioned throughput, and pay-per-token endpoints are fully
	// supported; agent endpoints currently only support inference tables.
	AiGateway types.List `tfsdk:"ai_gateway"`
	// The budget policy to be applied to the serving endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The core config of the serving endpoint.
	Config types.List `tfsdk:"config"`

	Description types.String `tfsdk:"description"`
	// Email notification settings.
	EmailNotifications types.List `tfsdk:"email_notifications"`
	// 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"`
	// 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"`
	// Enable route optimization for the serving endpoint.
	RouteOptimized types.Bool `tfsdk:"route_optimized"`
	// Tags to be attached to the serving endpoint and automatically propagated
	// to billing logs.
	Tags types.List `tfsdk:"tags"`
}

func (CreateServingEndpoint_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m CreateServingEndpoint_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CreateServingEndpoint_SdkV2) GetAiGateway added in v1.62.1

GetAiGateway returns the value of the AiGateway field in CreateServingEndpoint_SdkV2 as a AiGatewayConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateServingEndpoint_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m CreateServingEndpoint_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetConfig added in v1.62.1

GetConfig returns the value of the Config field in CreateServingEndpoint_SdkV2 as a EndpointCoreConfigInput_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateServingEndpoint_SdkV2) GetEmailNotifications added in v1.86.0

func (m *CreateServingEndpoint_SdkV2) GetEmailNotifications(ctx context.Context) (EmailNotifications_SdkV2, bool)

GetEmailNotifications returns the value of the EmailNotifications field in CreateServingEndpoint_SdkV2 as a EmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateServingEndpoint_SdkV2) GetRateLimits added in v1.62.1

func (m *CreateServingEndpoint_SdkV2) GetRateLimits(ctx context.Context) ([]RateLimit_SdkV2, bool)

GetRateLimits returns the value of the RateLimits field in CreateServingEndpoint_SdkV2 as a slice of RateLimit_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreateServingEndpoint_SdkV2) GetTags added in v1.62.1

GetTags returns the value of the Tags field in CreateServingEndpoint_SdkV2 as a slice of EndpointTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreateServingEndpoint_SdkV2) SetAiGateway added in v1.62.1

SetAiGateway sets the value of the AiGateway field in CreateServingEndpoint_SdkV2.

func (*CreateServingEndpoint_SdkV2) SetConfig added in v1.62.1

SetConfig sets the value of the Config field in CreateServingEndpoint_SdkV2.

func (*CreateServingEndpoint_SdkV2) SetEmailNotifications added in v1.86.0

func (m *CreateServingEndpoint_SdkV2) SetEmailNotifications(ctx context.Context, v EmailNotifications_SdkV2)

SetEmailNotifications sets the value of the EmailNotifications field in CreateServingEndpoint_SdkV2.

func (*CreateServingEndpoint_SdkV2) SetRateLimits added in v1.62.1

func (m *CreateServingEndpoint_SdkV2) SetRateLimits(ctx context.Context, v []RateLimit_SdkV2)

SetRateLimits sets the value of the RateLimits field in CreateServingEndpoint_SdkV2.

func (*CreateServingEndpoint_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in CreateServingEndpoint_SdkV2.

func (*CreateServingEndpoint_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *CreateServingEndpoint_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CreateServingEndpoint_SdkV2)

func (*CreateServingEndpoint_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *CreateServingEndpoint_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CreateServingEndpoint_SdkV2)

func (CreateServingEndpoint_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (CreateServingEndpoint_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CustomProviderConfig added in v1.71.0

type CustomProviderConfig struct {
	// This is a field to provide API key authentication for the custom provider
	// API. You can only specify one authentication method.
	ApiKeyAuth types.Object `tfsdk:"api_key_auth"`
	// This is a field to provide bearer token authentication for the custom
	// provider API. You can only specify one authentication method.
	BearerTokenAuth types.Object `tfsdk:"bearer_token_auth"`
	// This is a field to provide the URL of the custom provider API.
	CustomProviderUrl types.String `tfsdk:"custom_provider_url"`
}

Configs needed to create a custom provider model route.

func (CustomProviderConfig) ApplySchemaCustomizations added in v1.71.0

func (m CustomProviderConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CustomProviderConfig) GetApiKeyAuth added in v1.71.0

func (m *CustomProviderConfig) GetApiKeyAuth(ctx context.Context) (ApiKeyAuth, bool)

GetApiKeyAuth returns the value of the ApiKeyAuth field in CustomProviderConfig as a ApiKeyAuth value. If the field is unknown or null, the boolean return value is false.

func (*CustomProviderConfig) GetBearerTokenAuth added in v1.71.0

func (m *CustomProviderConfig) GetBearerTokenAuth(ctx context.Context) (BearerTokenAuth, bool)

GetBearerTokenAuth returns the value of the BearerTokenAuth field in CustomProviderConfig as a BearerTokenAuth value. If the field is unknown or null, the boolean return value is false.

func (CustomProviderConfig) GetComplexFieldTypes added in v1.71.0

func (m CustomProviderConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CustomProviderConfig. 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 (*CustomProviderConfig) SetApiKeyAuth added in v1.71.0

func (m *CustomProviderConfig) SetApiKeyAuth(ctx context.Context, v ApiKeyAuth)

SetApiKeyAuth sets the value of the ApiKeyAuth field in CustomProviderConfig.

func (*CustomProviderConfig) SetBearerTokenAuth added in v1.71.0

func (m *CustomProviderConfig) SetBearerTokenAuth(ctx context.Context, v BearerTokenAuth)

SetBearerTokenAuth sets the value of the BearerTokenAuth field in CustomProviderConfig.

func (*CustomProviderConfig) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *CustomProviderConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CustomProviderConfig)

func (*CustomProviderConfig) SyncFieldsDuringRead added in v1.86.0

func (to *CustomProviderConfig) SyncFieldsDuringRead(ctx context.Context, from CustomProviderConfig)

func (CustomProviderConfig) ToObjectValue added in v1.71.0

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, CustomProviderConfig only implements ToObjectValue() and Type().

func (CustomProviderConfig) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type CustomProviderConfig_SdkV2 added in v1.71.0

type CustomProviderConfig_SdkV2 struct {
	// This is a field to provide API key authentication for the custom provider
	// API. You can only specify one authentication method.
	ApiKeyAuth types.List `tfsdk:"api_key_auth"`
	// This is a field to provide bearer token authentication for the custom
	// provider API. You can only specify one authentication method.
	BearerTokenAuth types.List `tfsdk:"bearer_token_auth"`
	// This is a field to provide the URL of the custom provider API.
	CustomProviderUrl types.String `tfsdk:"custom_provider_url"`
}

Configs needed to create a custom provider model route.

func (CustomProviderConfig_SdkV2) ApplySchemaCustomizations added in v1.71.0

func (m CustomProviderConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*CustomProviderConfig_SdkV2) GetApiKeyAuth added in v1.71.0

GetApiKeyAuth returns the value of the ApiKeyAuth field in CustomProviderConfig_SdkV2 as a ApiKeyAuth_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CustomProviderConfig_SdkV2) GetBearerTokenAuth added in v1.71.0

GetBearerTokenAuth returns the value of the BearerTokenAuth field in CustomProviderConfig_SdkV2 as a BearerTokenAuth_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CustomProviderConfig_SdkV2) GetComplexFieldTypes added in v1.71.0

func (m CustomProviderConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CustomProviderConfig. 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 (*CustomProviderConfig_SdkV2) SetApiKeyAuth added in v1.71.0

SetApiKeyAuth sets the value of the ApiKeyAuth field in CustomProviderConfig_SdkV2.

func (*CustomProviderConfig_SdkV2) SetBearerTokenAuth added in v1.71.0

func (m *CustomProviderConfig_SdkV2) SetBearerTokenAuth(ctx context.Context, v BearerTokenAuth_SdkV2)

SetBearerTokenAuth sets the value of the BearerTokenAuth field in CustomProviderConfig_SdkV2.

func (*CustomProviderConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *CustomProviderConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from CustomProviderConfig_SdkV2)

func (*CustomProviderConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *CustomProviderConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from CustomProviderConfig_SdkV2)

func (CustomProviderConfig_SdkV2) ToObjectValue added in v1.71.0

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, CustomProviderConfig_SdkV2 only implements ToObjectValue() and Type().

func (CustomProviderConfig_SdkV2) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type DataPlaneInfo added in v1.63.0

type DataPlaneInfo struct {
	// Authorization details as a string.
	AuthorizationDetails types.String `tfsdk:"authorization_details"`
	// The URL of the endpoint for this operation in the dataplane.
	EndpointUrl types.String `tfsdk:"endpoint_url"`
}

Details necessary to query this object's API through the DataPlane APIs.

func (DataPlaneInfo) ApplySchemaCustomizations added in v1.63.0

func (m DataPlaneInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataPlaneInfo) GetComplexFieldTypes added in v1.63.0

func (m DataPlaneInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneInfo. 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 (*DataPlaneInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *DataPlaneInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataPlaneInfo)

func (*DataPlaneInfo) SyncFieldsDuringRead added in v1.86.0

func (to *DataPlaneInfo) SyncFieldsDuringRead(ctx context.Context, from DataPlaneInfo)

func (DataPlaneInfo) ToObjectValue added in v1.63.0

func (m DataPlaneInfo) 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, DataPlaneInfo only implements ToObjectValue() and Type().

func (DataPlaneInfo) Type added in v1.63.0

func (m DataPlaneInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DataPlaneInfo_SdkV2 added in v1.63.0

type DataPlaneInfo_SdkV2 struct {
	// Authorization details as a string.
	AuthorizationDetails types.String `tfsdk:"authorization_details"`
	// The URL of the endpoint for this operation in the dataplane.
	EndpointUrl types.String `tfsdk:"endpoint_url"`
}

Details necessary to query this object's API through the DataPlane APIs.

func (DataPlaneInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m DataPlaneInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataPlaneInfo_SdkV2) GetComplexFieldTypes added in v1.63.0

func (m DataPlaneInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneInfo. 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 (*DataPlaneInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *DataPlaneInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataPlaneInfo_SdkV2)

func (*DataPlaneInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *DataPlaneInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DataPlaneInfo_SdkV2)

func (DataPlaneInfo_SdkV2) ToObjectValue added in v1.63.0

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, DataPlaneInfo_SdkV2 only implements ToObjectValue() and Type().

func (DataPlaneInfo_SdkV2) Type added in v1.63.0

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
	// The URL of the Databricks workspace containing the model serving endpoint
	// pointed to by this external model.
	DatabricksWorkspaceUrl types.String `tfsdk:"databricks_workspace_url"`
}

func (DatabricksModelServingConfig) ApplySchemaCustomizations added in v1.63.0

func (DatabricksModelServingConfig) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *DatabricksModelServingConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabricksModelServingConfig)

func (*DatabricksModelServingConfig) SyncFieldsDuringRead added in v1.86.0

func (to *DatabricksModelServingConfig) SyncFieldsDuringRead(ctx context.Context, from DatabricksModelServingConfig)

func (DatabricksModelServingConfig) ToObjectValue added in v1.61.0

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().

func (DatabricksModelServingConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DatabricksModelServingConfig_SdkV2 added in v1.62.1

type DatabricksModelServingConfig_SdkV2 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"`
	// 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"`
	// The URL of the Databricks workspace containing the model serving endpoint
	// pointed to by this external model.
	DatabricksWorkspaceUrl types.String `tfsdk:"databricks_workspace_url"`
}

func (DatabricksModelServingConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (DatabricksModelServingConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m DatabricksModelServingConfig_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *DatabricksModelServingConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DatabricksModelServingConfig_SdkV2)

func (*DatabricksModelServingConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (DatabricksModelServingConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (DatabricksModelServingConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DataframeSplitInput

type DataframeSplitInput struct {
	// Columns array for the dataframe
	Columns types.List `tfsdk:"columns"`
	// Data array for the dataframe
	Data types.List `tfsdk:"data"`
	// Index array for the dataframe
	Index types.List `tfsdk:"index"`
}

func (DataframeSplitInput) ApplySchemaCustomizations added in v1.63.0

func (m DataframeSplitInput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*DataframeSplitInput) GetColumns added in v1.61.0

func (m *DataframeSplitInput) GetColumns(ctx context.Context) ([]types.Object, bool)

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

func (m DataframeSplitInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

func (m *DataframeSplitInput) GetData(ctx context.Context) ([]types.Object, bool)

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

func (m *DataframeSplitInput) GetIndex(ctx context.Context) ([]types.Int64, bool)

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 (m *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 (m *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 (m *DataframeSplitInput) SetIndex(ctx context.Context, v []types.Int64)

SetIndex sets the value of the Index field in DataframeSplitInput.

func (*DataframeSplitInput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *DataframeSplitInput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataframeSplitInput)

func (*DataframeSplitInput) SyncFieldsDuringRead added in v1.86.0

func (to *DataframeSplitInput) SyncFieldsDuringRead(ctx context.Context, from DataframeSplitInput)

func (DataframeSplitInput) ToObjectValue added in v1.61.0

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().

func (DataframeSplitInput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DataframeSplitInput_SdkV2 added in v1.62.1

type DataframeSplitInput_SdkV2 struct {
	// Columns array for the dataframe
	Columns types.List `tfsdk:"columns"`
	// Data array for the dataframe
	Data types.List `tfsdk:"data"`
	// Index array for the dataframe
	Index types.List `tfsdk:"index"`
}

func (DataframeSplitInput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m DataframeSplitInput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*DataframeSplitInput_SdkV2) GetColumns added in v1.62.1

func (m *DataframeSplitInput_SdkV2) GetColumns(ctx context.Context) ([]types.Object, bool)

GetColumns returns the value of the Columns field in DataframeSplitInput_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (DataframeSplitInput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m DataframeSplitInput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetData added in v1.62.1

GetData returns the value of the Data field in DataframeSplitInput_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*DataframeSplitInput_SdkV2) GetIndex added in v1.62.1

func (m *DataframeSplitInput_SdkV2) GetIndex(ctx context.Context) ([]types.Int64, bool)

GetIndex returns the value of the Index field in DataframeSplitInput_SdkV2 as a slice of types.Int64 values. If the field is unknown or null, the boolean return value is false.

func (*DataframeSplitInput_SdkV2) SetColumns added in v1.62.1

func (m *DataframeSplitInput_SdkV2) SetColumns(ctx context.Context, v []types.Object)

SetColumns sets the value of the Columns field in DataframeSplitInput_SdkV2.

func (*DataframeSplitInput_SdkV2) SetData added in v1.62.1

func (m *DataframeSplitInput_SdkV2) SetData(ctx context.Context, v []types.Object)

SetData sets the value of the Data field in DataframeSplitInput_SdkV2.

func (*DataframeSplitInput_SdkV2) SetIndex added in v1.62.1

func (m *DataframeSplitInput_SdkV2) SetIndex(ctx context.Context, v []types.Int64)

SetIndex sets the value of the Index field in DataframeSplitInput_SdkV2.

func (*DataframeSplitInput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *DataframeSplitInput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DataframeSplitInput_SdkV2)

func (*DataframeSplitInput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *DataframeSplitInput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from DataframeSplitInput_SdkV2)

func (DataframeSplitInput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (DataframeSplitInput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteServingEndpointRequest

type DeleteServingEndpointRequest struct {
	Name types.String `tfsdk:"-"`
}

func (DeleteServingEndpointRequest) ApplySchemaCustomizations added in v1.76.0

func (DeleteServingEndpointRequest) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *DeleteServingEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteServingEndpointRequest)

func (*DeleteServingEndpointRequest) SyncFieldsDuringRead added in v1.91.0

func (to *DeleteServingEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from DeleteServingEndpointRequest)

func (DeleteServingEndpointRequest) ToObjectValue added in v1.61.0

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().

func (DeleteServingEndpointRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteServingEndpointRequest_SdkV2 added in v1.62.1

type DeleteServingEndpointRequest_SdkV2 struct {
	Name types.String `tfsdk:"-"`
}

func (DeleteServingEndpointRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteServingEndpointRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m DeleteServingEndpointRequest_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *DeleteServingEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from DeleteServingEndpointRequest_SdkV2)

func (*DeleteServingEndpointRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (DeleteServingEndpointRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (DeleteServingEndpointRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EmailNotifications added in v1.86.0

type EmailNotifications struct {
	// A list of email addresses to be notified when an endpoint fails to update
	// its configuration or state.
	OnUpdateFailure types.List `tfsdk:"on_update_failure"`
	// A list of email addresses to be notified when an endpoint successfully
	// updates its configuration or state.
	OnUpdateSuccess types.List `tfsdk:"on_update_success"`
}

func (EmailNotifications) ApplySchemaCustomizations added in v1.86.0

func (m EmailNotifications) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EmailNotifications) GetComplexFieldTypes added in v1.86.0

func (m EmailNotifications) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EmailNotifications. 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 (*EmailNotifications) GetOnUpdateFailure added in v1.86.0

func (m *EmailNotifications) GetOnUpdateFailure(ctx context.Context) ([]types.String, bool)

GetOnUpdateFailure returns the value of the OnUpdateFailure field in EmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EmailNotifications) GetOnUpdateSuccess added in v1.86.0

func (m *EmailNotifications) GetOnUpdateSuccess(ctx context.Context) ([]types.String, bool)

GetOnUpdateSuccess returns the value of the OnUpdateSuccess field in EmailNotifications as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EmailNotifications) SetOnUpdateFailure added in v1.86.0

func (m *EmailNotifications) SetOnUpdateFailure(ctx context.Context, v []types.String)

SetOnUpdateFailure sets the value of the OnUpdateFailure field in EmailNotifications.

func (*EmailNotifications) SetOnUpdateSuccess added in v1.86.0

func (m *EmailNotifications) SetOnUpdateSuccess(ctx context.Context, v []types.String)

SetOnUpdateSuccess sets the value of the OnUpdateSuccess field in EmailNotifications.

func (*EmailNotifications) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EmailNotifications) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EmailNotifications)

func (*EmailNotifications) SyncFieldsDuringRead added in v1.86.0

func (to *EmailNotifications) SyncFieldsDuringRead(ctx context.Context, from EmailNotifications)

func (EmailNotifications) ToObjectValue added in v1.86.0

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, EmailNotifications only implements ToObjectValue() and Type().

func (EmailNotifications) Type added in v1.86.0

Type implements basetypes.ObjectValuable.

type EmailNotifications_SdkV2 added in v1.86.0

type EmailNotifications_SdkV2 struct {
	// A list of email addresses to be notified when an endpoint fails to update
	// its configuration or state.
	OnUpdateFailure types.List `tfsdk:"on_update_failure"`
	// A list of email addresses to be notified when an endpoint successfully
	// updates its configuration or state.
	OnUpdateSuccess types.List `tfsdk:"on_update_success"`
}

func (EmailNotifications_SdkV2) ApplySchemaCustomizations added in v1.86.0

func (m EmailNotifications_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EmailNotifications_SdkV2) GetComplexFieldTypes added in v1.86.0

func (m EmailNotifications_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EmailNotifications. 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 (*EmailNotifications_SdkV2) GetOnUpdateFailure added in v1.86.0

func (m *EmailNotifications_SdkV2) GetOnUpdateFailure(ctx context.Context) ([]types.String, bool)

GetOnUpdateFailure returns the value of the OnUpdateFailure field in EmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EmailNotifications_SdkV2) GetOnUpdateSuccess added in v1.86.0

func (m *EmailNotifications_SdkV2) GetOnUpdateSuccess(ctx context.Context) ([]types.String, bool)

GetOnUpdateSuccess returns the value of the OnUpdateSuccess field in EmailNotifications_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EmailNotifications_SdkV2) SetOnUpdateFailure added in v1.86.0

func (m *EmailNotifications_SdkV2) SetOnUpdateFailure(ctx context.Context, v []types.String)

SetOnUpdateFailure sets the value of the OnUpdateFailure field in EmailNotifications_SdkV2.

func (*EmailNotifications_SdkV2) SetOnUpdateSuccess added in v1.86.0

func (m *EmailNotifications_SdkV2) SetOnUpdateSuccess(ctx context.Context, v []types.String)

SetOnUpdateSuccess sets the value of the OnUpdateSuccess field in EmailNotifications_SdkV2.

func (*EmailNotifications_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EmailNotifications_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EmailNotifications_SdkV2)

func (*EmailNotifications_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EmailNotifications_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EmailNotifications_SdkV2)

func (EmailNotifications_SdkV2) ToObjectValue added in v1.86.0

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, EmailNotifications_SdkV2 only implements ToObjectValue() and Type().

func (EmailNotifications_SdkV2) Type added in v1.86.0

Type implements basetypes.ObjectValuable.

type EmbeddingsV1ResponseEmbeddingElement

type EmbeddingsV1ResponseEmbeddingElement struct {
	// The embedding vector
	Embedding types.List `tfsdk:"embedding"`
	// The index of the embedding in the response.
	Index types.Int64 `tfsdk:"index"`
	// This will always be 'embedding'.
	Object types.String `tfsdk:"object"`
}

func (EmbeddingsV1ResponseEmbeddingElement) ApplySchemaCustomizations added in v1.63.0

func (EmbeddingsV1ResponseEmbeddingElement) GetComplexFieldTypes added in v1.61.0

func (m 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

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

SetEmbedding sets the value of the Embedding field in EmbeddingsV1ResponseEmbeddingElement.

func (*EmbeddingsV1ResponseEmbeddingElement) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EmbeddingsV1ResponseEmbeddingElement) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EmbeddingsV1ResponseEmbeddingElement)

func (*EmbeddingsV1ResponseEmbeddingElement) SyncFieldsDuringRead added in v1.86.0

func (EmbeddingsV1ResponseEmbeddingElement) ToObjectValue added in v1.61.0

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().

func (EmbeddingsV1ResponseEmbeddingElement) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EmbeddingsV1ResponseEmbeddingElement_SdkV2 added in v1.62.1

type EmbeddingsV1ResponseEmbeddingElement_SdkV2 struct {
	// The embedding vector
	Embedding types.List `tfsdk:"embedding"`
	// The index of the embedding in the response.
	Index types.Int64 `tfsdk:"index"`
	// This will always be 'embedding'.
	Object types.String `tfsdk:"object"`
}

func (EmbeddingsV1ResponseEmbeddingElement_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (EmbeddingsV1ResponseEmbeddingElement_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) GetEmbedding added in v1.62.1

GetEmbedding returns the value of the Embedding field in EmbeddingsV1ResponseEmbeddingElement_SdkV2 as a slice of types.Float64 values. If the field is unknown or null, the boolean return value is false.

func (*EmbeddingsV1ResponseEmbeddingElement_SdkV2) SetEmbedding added in v1.62.1

SetEmbedding sets the value of the Embedding field in EmbeddingsV1ResponseEmbeddingElement_SdkV2.

func (*EmbeddingsV1ResponseEmbeddingElement_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*EmbeddingsV1ResponseEmbeddingElement_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (EmbeddingsV1ResponseEmbeddingElement_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (EmbeddingsV1ResponseEmbeddingElement_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointCoreConfigInput

type EndpointCoreConfigInput struct {
	// Configuration for legacy Inference Tables which automatically log
	// requests and responses to Unity Catalog. Deprecated: please use AI
	// Gateway inference tables instead. See
	// https://docs.databricks.com/aws/en/ai-gateway/inference-tables.
	AutoCaptureConfig types.Object `tfsdk:"auto_capture_config"`
	// The name of the serving endpoint to update. This field is required.
	Name types.String `tfsdk:"-"`
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (Deprecated, use served_entities instead) The list of served models under
	// the serving endpoint config.
	ServedModels types.List `tfsdk:"served_models"`
	// The traffic configuration associated with the serving endpoint config.
	TrafficConfig types.Object `tfsdk:"traffic_config"`
}

func (EndpointCoreConfigInput) ApplySchemaCustomizations added in v1.63.0

func (m EndpointCoreConfigInput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EndpointCoreConfigInput) GetAutoCaptureConfig added in v1.61.0

func (m *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

func (m EndpointCoreConfigInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *EndpointCoreConfigInput) SetTrafficConfig(ctx context.Context, v TrafficConfig)

SetTrafficConfig sets the value of the TrafficConfig field in EndpointCoreConfigInput.

func (*EndpointCoreConfigInput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointCoreConfigInput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointCoreConfigInput)

func (*EndpointCoreConfigInput) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointCoreConfigInput) SyncFieldsDuringRead(ctx context.Context, from EndpointCoreConfigInput)

func (EndpointCoreConfigInput) ToObjectValue added in v1.61.0

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().

func (EndpointCoreConfigInput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EndpointCoreConfigInput_SdkV2 added in v1.62.1

type EndpointCoreConfigInput_SdkV2 struct {
	// Configuration for legacy Inference Tables which automatically log
	// requests and responses to Unity Catalog. Deprecated: please use AI
	// Gateway inference tables instead. See
	// https://docs.databricks.com/aws/en/ai-gateway/inference-tables.
	AutoCaptureConfig types.List `tfsdk:"auto_capture_config"`
	// The name of the serving endpoint to update. This field is required.
	Name types.String `tfsdk:"-"`
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (Deprecated, use served_entities instead) The list of served models under
	// the serving endpoint config.
	ServedModels types.List `tfsdk:"served_models"`
	// The traffic configuration associated with the serving endpoint config.
	TrafficConfig types.List `tfsdk:"traffic_config"`
}

func (EndpointCoreConfigInput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*EndpointCoreConfigInput_SdkV2) GetAutoCaptureConfig added in v1.62.1

GetAutoCaptureConfig returns the value of the AutoCaptureConfig field in EndpointCoreConfigInput_SdkV2 as a AutoCaptureConfigInput_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EndpointCoreConfigInput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EndpointCoreConfigInput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetServedEntities added in v1.62.1

GetServedEntities returns the value of the ServedEntities field in EndpointCoreConfigInput_SdkV2 as a slice of ServedEntityInput_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigInput_SdkV2) GetServedModels added in v1.62.1

GetServedModels returns the value of the ServedModels field in EndpointCoreConfigInput_SdkV2 as a slice of ServedModelInput_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigInput_SdkV2) GetTrafficConfig added in v1.62.1

GetTrafficConfig returns the value of the TrafficConfig field in EndpointCoreConfigInput_SdkV2 as a TrafficConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigInput_SdkV2) SetAutoCaptureConfig added in v1.62.1

SetAutoCaptureConfig sets the value of the AutoCaptureConfig field in EndpointCoreConfigInput_SdkV2.

func (*EndpointCoreConfigInput_SdkV2) SetServedEntities added in v1.62.1

SetServedEntities sets the value of the ServedEntities field in EndpointCoreConfigInput_SdkV2.

func (*EndpointCoreConfigInput_SdkV2) SetServedModels added in v1.62.1

SetServedModels sets the value of the ServedModels field in EndpointCoreConfigInput_SdkV2.

func (*EndpointCoreConfigInput_SdkV2) SetTrafficConfig added in v1.62.1

SetTrafficConfig sets the value of the TrafficConfig field in EndpointCoreConfigInput_SdkV2.

func (*EndpointCoreConfigInput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointCoreConfigInput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointCoreConfigInput_SdkV2)

func (*EndpointCoreConfigInput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointCoreConfigInput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointCoreConfigInput_SdkV2)

func (EndpointCoreConfigInput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointCoreConfigInput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointCoreConfigOutput

type EndpointCoreConfigOutput struct {
	// Configuration for legacy Inference Tables which automatically log
	// requests and responses to Unity Catalog. Deprecated: please use AI
	// Gateway inference tables instead. See
	// https://docs.databricks.com/aws/en/ai-gateway/inference-tables.
	AutoCaptureConfig types.Object `tfsdk:"auto_capture_config"`
	// The config version that the serving endpoint is currently serving.
	ConfigVersion types.Int64 `tfsdk:"config_version"`
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (Deprecated, use served_entities instead) The list of served models under
	// the serving endpoint config.
	ServedModels types.List `tfsdk:"served_models"`
	// The traffic configuration associated with the serving endpoint config.
	TrafficConfig types.Object `tfsdk:"traffic_config"`
}

func (EndpointCoreConfigOutput) ApplySchemaCustomizations added in v1.63.0

func (m EndpointCoreConfigOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EndpointCoreConfigOutput) GetAutoCaptureConfig added in v1.61.0

func (m *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

func (m EndpointCoreConfigOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *EndpointCoreConfigOutput) SetTrafficConfig(ctx context.Context, v TrafficConfig)

SetTrafficConfig sets the value of the TrafficConfig field in EndpointCoreConfigOutput.

func (*EndpointCoreConfigOutput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointCoreConfigOutput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointCoreConfigOutput)

func (*EndpointCoreConfigOutput) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointCoreConfigOutput) SyncFieldsDuringRead(ctx context.Context, from EndpointCoreConfigOutput)

func (EndpointCoreConfigOutput) ToObjectValue added in v1.61.0

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().

func (EndpointCoreConfigOutput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EndpointCoreConfigOutput_SdkV2 added in v1.62.1

type EndpointCoreConfigOutput_SdkV2 struct {
	// Configuration for legacy Inference Tables which automatically log
	// requests and responses to Unity Catalog. Deprecated: please use AI
	// Gateway inference tables instead. See
	// https://docs.databricks.com/aws/en/ai-gateway/inference-tables.
	AutoCaptureConfig types.List `tfsdk:"auto_capture_config"`
	// The config version that the serving endpoint is currently serving.
	ConfigVersion types.Int64 `tfsdk:"config_version"`
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (Deprecated, use served_entities instead) The list of served models under
	// the serving endpoint config.
	ServedModels types.List `tfsdk:"served_models"`
	// The traffic configuration associated with the serving endpoint config.
	TrafficConfig types.List `tfsdk:"traffic_config"`
}

func (EndpointCoreConfigOutput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*EndpointCoreConfigOutput_SdkV2) GetAutoCaptureConfig added in v1.62.1

GetAutoCaptureConfig returns the value of the AutoCaptureConfig field in EndpointCoreConfigOutput_SdkV2 as a AutoCaptureConfigOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EndpointCoreConfigOutput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EndpointCoreConfigOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetServedEntities added in v1.62.1

GetServedEntities returns the value of the ServedEntities field in EndpointCoreConfigOutput_SdkV2 as a slice of ServedEntityOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigOutput_SdkV2) GetServedModels added in v1.62.1

GetServedModels returns the value of the ServedModels field in EndpointCoreConfigOutput_SdkV2 as a slice of ServedModelOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigOutput_SdkV2) GetTrafficConfig added in v1.62.1

GetTrafficConfig returns the value of the TrafficConfig field in EndpointCoreConfigOutput_SdkV2 as a TrafficConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigOutput_SdkV2) SetAutoCaptureConfig added in v1.62.1

SetAutoCaptureConfig sets the value of the AutoCaptureConfig field in EndpointCoreConfigOutput_SdkV2.

func (*EndpointCoreConfigOutput_SdkV2) SetServedEntities added in v1.62.1

SetServedEntities sets the value of the ServedEntities field in EndpointCoreConfigOutput_SdkV2.

func (*EndpointCoreConfigOutput_SdkV2) SetServedModels added in v1.62.1

SetServedModels sets the value of the ServedModels field in EndpointCoreConfigOutput_SdkV2.

func (*EndpointCoreConfigOutput_SdkV2) SetTrafficConfig added in v1.62.1

SetTrafficConfig sets the value of the TrafficConfig field in EndpointCoreConfigOutput_SdkV2.

func (*EndpointCoreConfigOutput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointCoreConfigOutput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointCoreConfigOutput_SdkV2)

func (*EndpointCoreConfigOutput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (EndpointCoreConfigOutput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointCoreConfigOutput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointCoreConfigSummary

type EndpointCoreConfigSummary struct {
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (Deprecated, use served_entities instead) The list of served models under
	// the serving endpoint config.
	ServedModels types.List `tfsdk:"served_models"`
}

func (EndpointCoreConfigSummary) ApplySchemaCustomizations added in v1.63.0

func (m EndpointCoreConfigSummary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointCoreConfigSummary) GetComplexFieldTypes added in v1.61.0

func (m 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 (m *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 (m *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 (m *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 (m *EndpointCoreConfigSummary) SetServedModels(ctx context.Context, v []ServedModelSpec)

SetServedModels sets the value of the ServedModels field in EndpointCoreConfigSummary.

func (*EndpointCoreConfigSummary) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointCoreConfigSummary) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointCoreConfigSummary)

func (*EndpointCoreConfigSummary) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointCoreConfigSummary) SyncFieldsDuringRead(ctx context.Context, from EndpointCoreConfigSummary)

func (EndpointCoreConfigSummary) ToObjectValue added in v1.61.0

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().

func (EndpointCoreConfigSummary) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EndpointCoreConfigSummary_SdkV2 added in v1.62.1

type EndpointCoreConfigSummary_SdkV2 struct {
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (Deprecated, use served_entities instead) The list of served models under
	// the serving endpoint config.
	ServedModels types.List `tfsdk:"served_models"`
}

func (EndpointCoreConfigSummary_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (EndpointCoreConfigSummary_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EndpointCoreConfigSummary_SdkV2) 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_SdkV2) GetServedEntities added in v1.62.1

GetServedEntities returns the value of the ServedEntities field in EndpointCoreConfigSummary_SdkV2 as a slice of ServedEntitySpec_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigSummary_SdkV2) GetServedModels added in v1.62.1

GetServedModels returns the value of the ServedModels field in EndpointCoreConfigSummary_SdkV2 as a slice of ServedModelSpec_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointCoreConfigSummary_SdkV2) SetServedEntities added in v1.62.1

SetServedEntities sets the value of the ServedEntities field in EndpointCoreConfigSummary_SdkV2.

func (*EndpointCoreConfigSummary_SdkV2) SetServedModels added in v1.62.1

SetServedModels sets the value of the ServedModels field in EndpointCoreConfigSummary_SdkV2.

func (*EndpointCoreConfigSummary_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointCoreConfigSummary_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointCoreConfigSummary_SdkV2)

func (*EndpointCoreConfigSummary_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (EndpointCoreConfigSummary_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointCoreConfigSummary_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointPendingConfig

type EndpointPendingConfig struct {
	// Configuration for legacy Inference Tables which automatically log
	// requests and responses to Unity Catalog. Deprecated: please use AI
	// Gateway inference tables instead. See
	// https://docs.databricks.com/aws/en/ai-gateway/inference-tables.
	AutoCaptureConfig types.Object `tfsdk:"auto_capture_config"`
	// The config version that the serving endpoint is currently serving.
	ConfigVersion types.Int64 `tfsdk:"config_version"`
	// The list of served entities belonging to the last issued update to the
	// serving endpoint.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (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"`
	// The timestamp when the update to the pending config started.
	StartTime types.Int64 `tfsdk:"start_time"`
	// The traffic config defining how invocations to the serving endpoint
	// should be routed.
	TrafficConfig types.Object `tfsdk:"traffic_config"`
}

func (EndpointPendingConfig) ApplySchemaCustomizations added in v1.63.0

func (m EndpointPendingConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EndpointPendingConfig) GetAutoCaptureConfig added in v1.61.0

func (m *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

func (m EndpointPendingConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *EndpointPendingConfig) SetTrafficConfig(ctx context.Context, v TrafficConfig)

SetTrafficConfig sets the value of the TrafficConfig field in EndpointPendingConfig.

func (*EndpointPendingConfig) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointPendingConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointPendingConfig)

func (*EndpointPendingConfig) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointPendingConfig) SyncFieldsDuringRead(ctx context.Context, from EndpointPendingConfig)

func (EndpointPendingConfig) ToObjectValue added in v1.61.0

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().

func (EndpointPendingConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EndpointPendingConfig_SdkV2 added in v1.62.1

type EndpointPendingConfig_SdkV2 struct {
	// Configuration for legacy Inference Tables which automatically log
	// requests and responses to Unity Catalog. Deprecated: please use AI
	// Gateway inference tables instead. See
	// https://docs.databricks.com/aws/en/ai-gateway/inference-tables.
	AutoCaptureConfig types.List `tfsdk:"auto_capture_config"`
	// The config version that the serving endpoint is currently serving.
	ConfigVersion types.Int64 `tfsdk:"config_version"`
	// The list of served entities belonging to the last issued update to the
	// serving endpoint.
	ServedEntities types.List `tfsdk:"served_entities"`
	// (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"`
	// The timestamp when the update to the pending config started.
	StartTime types.Int64 `tfsdk:"start_time"`
	// The traffic config defining how invocations to the serving endpoint
	// should be routed.
	TrafficConfig types.List `tfsdk:"traffic_config"`
}

func (EndpointPendingConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EndpointPendingConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EndpointPendingConfig_SdkV2) GetAutoCaptureConfig added in v1.62.1

GetAutoCaptureConfig returns the value of the AutoCaptureConfig field in EndpointPendingConfig_SdkV2 as a AutoCaptureConfigOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EndpointPendingConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EndpointPendingConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetServedEntities added in v1.62.1

GetServedEntities returns the value of the ServedEntities field in EndpointPendingConfig_SdkV2 as a slice of ServedEntityOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointPendingConfig_SdkV2) GetServedModels added in v1.62.1

GetServedModels returns the value of the ServedModels field in EndpointPendingConfig_SdkV2 as a slice of ServedModelOutput_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointPendingConfig_SdkV2) GetTrafficConfig added in v1.62.1

GetTrafficConfig returns the value of the TrafficConfig field in EndpointPendingConfig_SdkV2 as a TrafficConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointPendingConfig_SdkV2) SetAutoCaptureConfig added in v1.62.1

SetAutoCaptureConfig sets the value of the AutoCaptureConfig field in EndpointPendingConfig_SdkV2.

func (*EndpointPendingConfig_SdkV2) SetServedEntities added in v1.62.1

SetServedEntities sets the value of the ServedEntities field in EndpointPendingConfig_SdkV2.

func (*EndpointPendingConfig_SdkV2) SetServedModels added in v1.62.1

SetServedModels sets the value of the ServedModels field in EndpointPendingConfig_SdkV2.

func (*EndpointPendingConfig_SdkV2) SetTrafficConfig added in v1.62.1

func (m *EndpointPendingConfig_SdkV2) SetTrafficConfig(ctx context.Context, v TrafficConfig_SdkV2)

SetTrafficConfig sets the value of the TrafficConfig field in EndpointPendingConfig_SdkV2.

func (*EndpointPendingConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointPendingConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointPendingConfig_SdkV2)

func (*EndpointPendingConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointPendingConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointPendingConfig_SdkV2)

func (EndpointPendingConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointPendingConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
}

func (EndpointState) ApplySchemaCustomizations added in v1.63.0

func (m EndpointState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointState) GetComplexFieldTypes added in v1.61.0

func (m EndpointState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointState) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointState)

func (*EndpointState) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointState) SyncFieldsDuringRead(ctx context.Context, from EndpointState)

func (EndpointState) ToObjectValue added in v1.61.0

func (m 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().

func (EndpointState) Type added in v1.61.0

func (m EndpointState) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointState_SdkV2 added in v1.62.1

type EndpointState_SdkV2 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"`
	// 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"`
}

func (EndpointState_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EndpointState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointState_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EndpointState_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointState_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointState_SdkV2)

func (*EndpointState_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointState_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointState_SdkV2)

func (EndpointState_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointState_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointTag

type EndpointTag struct {
	// Key field for a serving endpoint tag.
	Key types.String `tfsdk:"key"`
	// Optional value field for a serving endpoint tag.
	Value types.String `tfsdk:"value"`
}

func (EndpointTag) ApplySchemaCustomizations added in v1.63.0

func (m EndpointTag) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTag) GetComplexFieldTypes added in v1.61.0

func (m EndpointTag) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointTag) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointTag)

func (*EndpointTag) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointTag) SyncFieldsDuringRead(ctx context.Context, from EndpointTag)

func (EndpointTag) ToObjectValue added in v1.61.0

func (m 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().

func (EndpointTag) Type added in v1.61.0

func (m EndpointTag) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointTag_SdkV2 added in v1.62.1

type EndpointTag_SdkV2 struct {
	// Key field for a serving endpoint tag.
	Key types.String `tfsdk:"key"`
	// Optional value field for a serving endpoint tag.
	Value types.String `tfsdk:"value"`
}

func (EndpointTag_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EndpointTag_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTag_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EndpointTag_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointTag_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointTag_SdkV2)

func (*EndpointTag_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointTag_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointTag_SdkV2)

func (EndpointTag_SdkV2) ToObjectValue added in v1.62.1

func (m EndpointTag_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (EndpointTag_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointTags added in v1.64.0

type EndpointTags struct {
	Tags types.List `tfsdk:"tags"`
}

func (EndpointTags) ApplySchemaCustomizations added in v1.64.0

func (m EndpointTags) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTags) GetComplexFieldTypes added in v1.64.0

func (m EndpointTags) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTags. 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 (*EndpointTags) GetTags added in v1.64.0

func (m *EndpointTags) GetTags(ctx context.Context) ([]EndpointTag, bool)

GetTags returns the value of the Tags field in EndpointTags as a slice of EndpointTag values. If the field is unknown or null, the boolean return value is false.

func (*EndpointTags) SetTags added in v1.64.0

func (m *EndpointTags) SetTags(ctx context.Context, v []EndpointTag)

SetTags sets the value of the Tags field in EndpointTags.

func (*EndpointTags) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointTags) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointTags)

func (*EndpointTags) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointTags) SyncFieldsDuringRead(ctx context.Context, from EndpointTags)

func (EndpointTags) ToObjectValue added in v1.64.0

func (m EndpointTags) 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, EndpointTags only implements ToObjectValue() and Type().

func (EndpointTags) Type added in v1.64.0

func (m EndpointTags) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EndpointTags_SdkV2 added in v1.64.0

type EndpointTags_SdkV2 struct {
	Tags types.List `tfsdk:"tags"`
}

func (EndpointTags_SdkV2) ApplySchemaCustomizations added in v1.64.0

func (m EndpointTags_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTags_SdkV2) GetComplexFieldTypes added in v1.64.0

func (m EndpointTags_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTags. 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 (*EndpointTags_SdkV2) GetTags added in v1.64.0

GetTags returns the value of the Tags field in EndpointTags_SdkV2 as a slice of EndpointTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointTags_SdkV2) SetTags added in v1.64.0

func (m *EndpointTags_SdkV2) SetTags(ctx context.Context, v []EndpointTag_SdkV2)

SetTags sets the value of the Tags field in EndpointTags_SdkV2.

func (*EndpointTags_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EndpointTags_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EndpointTags_SdkV2)

func (*EndpointTags_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EndpointTags_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EndpointTags_SdkV2)

func (EndpointTags_SdkV2) ToObjectValue added in v1.64.0

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, EndpointTags_SdkV2 only implements ToObjectValue() and Type().

func (EndpointTags_SdkV2) Type added in v1.64.0

Type implements basetypes.ObjectValuable.

type ExportMetricsRequest

type ExportMetricsRequest struct {
	// The name of the serving endpoint to retrieve metrics for. This field is
	// required.
	Name types.String `tfsdk:"-"`
}

func (ExportMetricsRequest) ApplySchemaCustomizations added in v1.76.0

func (m ExportMetricsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExportMetricsRequest) GetComplexFieldTypes added in v1.61.0

func (m ExportMetricsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ExportMetricsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExportMetricsRequest)

func (*ExportMetricsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ExportMetricsRequest) SyncFieldsDuringRead(ctx context.Context, from ExportMetricsRequest)

func (ExportMetricsRequest) ToObjectValue added in v1.61.0

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().

func (ExportMetricsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ExportMetricsRequest_SdkV2 added in v1.62.1

type ExportMetricsRequest_SdkV2 struct {
	// The name of the serving endpoint to retrieve metrics for. This field is
	// required.
	Name types.String `tfsdk:"-"`
}

func (ExportMetricsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ExportMetricsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExportMetricsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ExportMetricsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ExportMetricsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExportMetricsRequest_SdkV2)

func (*ExportMetricsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ExportMetricsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ExportMetricsRequest_SdkV2)

func (ExportMetricsRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ExportMetricsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ExportMetricsResponse

type ExportMetricsResponse struct {
	Contents types.Object `tfsdk:"-"`
}

func (ExportMetricsResponse) ApplySchemaCustomizations added in v1.76.0

func (m ExportMetricsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExportMetricsResponse) GetComplexFieldTypes added in v1.61.0

func (m ExportMetricsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ExportMetricsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExportMetricsResponse)

func (*ExportMetricsResponse) SyncFieldsDuringRead added in v1.91.0

func (to *ExportMetricsResponse) SyncFieldsDuringRead(ctx context.Context, from ExportMetricsResponse)

func (ExportMetricsResponse) ToObjectValue added in v1.61.0

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().

func (ExportMetricsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ExportMetricsResponse_SdkV2 added in v1.62.1

type ExportMetricsResponse_SdkV2 struct {
	Contents types.Object `tfsdk:"-"`
}

func (ExportMetricsResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ExportMetricsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExportMetricsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ExportMetricsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ExportMetricsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExportMetricsResponse_SdkV2)

func (*ExportMetricsResponse_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ExportMetricsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ExportMetricsResponse_SdkV2)

func (ExportMetricsResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ExportMetricsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ExternalFunctionRequest added in v1.64.0

type ExternalFunctionRequest struct {
	// The connection name to use. This is required to identify the external
	// connection.
	ConnectionName types.String `tfsdk:"connection_name"`
	// Additional headers for the request. If not provided, only auth headers
	// from connections would be passed.
	Headers types.String `tfsdk:"headers"`
	// The JSON payload to send in the request body.
	Json types.String `tfsdk:"json"`
	// The HTTP method to use (e.g., 'GET', 'POST').
	Method types.String `tfsdk:"method"`
	// Query parameters for the request.
	Params types.String `tfsdk:"params"`
	// The relative path for the API endpoint. This is required.
	Path types.String `tfsdk:"path"`
	// Optional subdomain to prepend to the connection URL's host. If provided,
	// this will be added as a prefix to the connection URL's host. For example,
	// if the connection URL is `https://api.example.com/v1` and `sub_domain` is
	// `"custom"`, the resulting URL will be
	// `https://custom.api.example.com/v1`.
	SubDomain types.String `tfsdk:"sub_domain"`
}

Simple Proto message for testing

func (ExternalFunctionRequest) ApplySchemaCustomizations added in v1.64.0

func (m ExternalFunctionRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExternalFunctionRequest) GetComplexFieldTypes added in v1.64.0

func (m ExternalFunctionRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalFunctionRequest. 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 (*ExternalFunctionRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ExternalFunctionRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExternalFunctionRequest)

func (*ExternalFunctionRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ExternalFunctionRequest) SyncFieldsDuringRead(ctx context.Context, from ExternalFunctionRequest)

func (ExternalFunctionRequest) ToObjectValue added in v1.64.0

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, ExternalFunctionRequest only implements ToObjectValue() and Type().

func (ExternalFunctionRequest) Type added in v1.64.0

Type implements basetypes.ObjectValuable.

type ExternalFunctionRequest_SdkV2 added in v1.64.0

type ExternalFunctionRequest_SdkV2 struct {
	// The connection name to use. This is required to identify the external
	// connection.
	ConnectionName types.String `tfsdk:"connection_name"`
	// Additional headers for the request. If not provided, only auth headers
	// from connections would be passed.
	Headers types.String `tfsdk:"headers"`
	// The JSON payload to send in the request body.
	Json types.String `tfsdk:"json"`
	// The HTTP method to use (e.g., 'GET', 'POST').
	Method types.String `tfsdk:"method"`
	// Query parameters for the request.
	Params types.String `tfsdk:"params"`
	// The relative path for the API endpoint. This is required.
	Path types.String `tfsdk:"path"`
	// Optional subdomain to prepend to the connection URL's host. If provided,
	// this will be added as a prefix to the connection URL's host. For example,
	// if the connection URL is `https://api.example.com/v1` and `sub_domain` is
	// `"custom"`, the resulting URL will be
	// `https://custom.api.example.com/v1`.
	SubDomain types.String `tfsdk:"sub_domain"`
}

Simple Proto message for testing

func (ExternalFunctionRequest_SdkV2) ApplySchemaCustomizations added in v1.64.0

func (ExternalFunctionRequest_SdkV2) GetComplexFieldTypes added in v1.64.0

func (m ExternalFunctionRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalFunctionRequest. 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 (*ExternalFunctionRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ExternalFunctionRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExternalFunctionRequest_SdkV2)

func (*ExternalFunctionRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ExternalFunctionRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ExternalFunctionRequest_SdkV2)

func (ExternalFunctionRequest_SdkV2) ToObjectValue added in v1.64.0

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, ExternalFunctionRequest_SdkV2 only implements ToObjectValue() and Type().

func (ExternalFunctionRequest_SdkV2) Type added in v1.64.0

Type implements basetypes.ObjectValuable.

type ExternalModel

type ExternalModel struct {
	// AI21Labs Config. Only required if the provider is 'ai21labs'.
	Ai21labsConfig types.Object `tfsdk:"ai21labs_config"`
	// Amazon Bedrock Config. Only required if the provider is 'amazon-bedrock'.
	AmazonBedrockConfig types.Object `tfsdk:"amazon_bedrock_config"`
	// Anthropic Config. Only required if the provider is 'anthropic'.
	AnthropicConfig types.Object `tfsdk:"anthropic_config"`
	// Cohere Config. Only required if the provider is 'cohere'.
	CohereConfig types.Object `tfsdk:"cohere_config"`
	// Custom Provider Config. Only required if the provider is 'custom'.
	CustomProviderConfig types.Object `tfsdk:"custom_provider_config"`
	// Databricks Model Serving Config. Only required if the provider is
	// 'databricks-model-serving'.
	DatabricksModelServingConfig types.Object `tfsdk:"databricks_model_serving_config"`
	// Google Cloud Vertex AI Config. Only required if the provider is
	// 'google-cloud-vertex-ai'.
	GoogleCloudVertexAiConfig types.Object `tfsdk:"google_cloud_vertex_ai_config"`
	// The name of the external model.
	Name types.String `tfsdk:"name"`
	// OpenAI Config. Only required if the provider is 'openai'.
	OpenaiConfig types.Object `tfsdk:"openai_config"`
	// PaLM Config. Only required if the provider is 'palm'.
	PalmConfig types.Object `tfsdk:"palm_config"`
	// 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', 'palm',
	// and 'custom'.
	Provider types.String `tfsdk:"provider"`
	// The task type of the external model.
	Task types.String `tfsdk:"task"`
}

func (ExternalModel) ApplySchemaCustomizations added in v1.63.0

func (m ExternalModel) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ExternalModel) GetAi21labsConfig added in v1.61.0

func (m *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 (m *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 (m *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 (m *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

func (m ExternalModel) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) GetCustomProviderConfig added in v1.71.0

func (m *ExternalModel) GetCustomProviderConfig(ctx context.Context) (CustomProviderConfig, bool)

GetCustomProviderConfig returns the value of the CustomProviderConfig field in ExternalModel as a CustomProviderConfig value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel) GetDatabricksModelServingConfig added in v1.61.0

func (m *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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *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 (m *ExternalModel) SetCohereConfig(ctx context.Context, v CohereConfig)

SetCohereConfig sets the value of the CohereConfig field in ExternalModel.

func (*ExternalModel) SetCustomProviderConfig added in v1.71.0

func (m *ExternalModel) SetCustomProviderConfig(ctx context.Context, v CustomProviderConfig)

SetCustomProviderConfig sets the value of the CustomProviderConfig field in ExternalModel.

func (*ExternalModel) SetDatabricksModelServingConfig added in v1.61.0

func (m *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 (m *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 (m *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 (m *ExternalModel) SetPalmConfig(ctx context.Context, v PaLmConfig)

SetPalmConfig sets the value of the PalmConfig field in ExternalModel.

func (*ExternalModel) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ExternalModel) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExternalModel)

func (*ExternalModel) SyncFieldsDuringRead added in v1.86.0

func (to *ExternalModel) SyncFieldsDuringRead(ctx context.Context, from ExternalModel)

func (ExternalModel) ToObjectValue added in v1.61.0

func (m 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().

func (ExternalModel) Type added in v1.61.0

func (m ExternalModel) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ExternalModelUsageElement

type ExternalModelUsageElement struct {
	// The number of tokens in the chat/completions response.
	CompletionTokens types.Int64 `tfsdk:"completion_tokens"`
	// The number of tokens in the prompt.
	PromptTokens types.Int64 `tfsdk:"prompt_tokens"`
	// The total number of tokens in the prompt and response.
	TotalTokens types.Int64 `tfsdk:"total_tokens"`
}

func (ExternalModelUsageElement) ApplySchemaCustomizations added in v1.63.0

func (m ExternalModelUsageElement) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExternalModelUsageElement) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ExternalModelUsageElement) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExternalModelUsageElement)

func (*ExternalModelUsageElement) SyncFieldsDuringRead added in v1.86.0

func (to *ExternalModelUsageElement) SyncFieldsDuringRead(ctx context.Context, from ExternalModelUsageElement)

func (ExternalModelUsageElement) ToObjectValue added in v1.61.0

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().

func (ExternalModelUsageElement) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ExternalModelUsageElement_SdkV2 added in v1.62.1

type ExternalModelUsageElement_SdkV2 struct {
	// The number of tokens in the chat/completions response.
	CompletionTokens types.Int64 `tfsdk:"completion_tokens"`
	// The number of tokens in the prompt.
	PromptTokens types.Int64 `tfsdk:"prompt_tokens"`
	// The total number of tokens in the prompt and response.
	TotalTokens types.Int64 `tfsdk:"total_tokens"`
}

func (ExternalModelUsageElement_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ExternalModelUsageElement_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ExternalModelUsageElement_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ExternalModelUsageElement_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExternalModelUsageElement_SdkV2)

func (*ExternalModelUsageElement_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ExternalModelUsageElement_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ExternalModelUsageElement_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ExternalModel_SdkV2 added in v1.62.1

type ExternalModel_SdkV2 struct {
	// AI21Labs Config. Only required if the provider is 'ai21labs'.
	Ai21labsConfig types.List `tfsdk:"ai21labs_config"`
	// Amazon Bedrock Config. Only required if the provider is 'amazon-bedrock'.
	AmazonBedrockConfig types.List `tfsdk:"amazon_bedrock_config"`
	// Anthropic Config. Only required if the provider is 'anthropic'.
	AnthropicConfig types.List `tfsdk:"anthropic_config"`
	// Cohere Config. Only required if the provider is 'cohere'.
	CohereConfig types.List `tfsdk:"cohere_config"`
	// Custom Provider Config. Only required if the provider is 'custom'.
	CustomProviderConfig types.List `tfsdk:"custom_provider_config"`
	// Databricks Model Serving Config. Only required if the provider is
	// 'databricks-model-serving'.
	DatabricksModelServingConfig types.List `tfsdk:"databricks_model_serving_config"`
	// Google Cloud Vertex AI Config. Only required if the provider is
	// 'google-cloud-vertex-ai'.
	GoogleCloudVertexAiConfig types.List `tfsdk:"google_cloud_vertex_ai_config"`
	// The name of the external model.
	Name types.String `tfsdk:"name"`
	// OpenAI Config. Only required if the provider is 'openai'.
	OpenaiConfig types.List `tfsdk:"openai_config"`
	// PaLM Config. Only required if the provider is 'palm'.
	PalmConfig types.List `tfsdk:"palm_config"`
	// 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', 'palm',
	// and 'custom'.
	Provider types.String `tfsdk:"provider"`
	// The task type of the external model.
	Task types.String `tfsdk:"task"`
}

func (ExternalModel_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ExternalModel_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ExternalModel_SdkV2) GetAi21labsConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetAi21labsConfig(ctx context.Context) (Ai21LabsConfig_SdkV2, bool)

GetAi21labsConfig returns the value of the Ai21labsConfig field in ExternalModel_SdkV2 as a Ai21LabsConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetAmazonBedrockConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetAmazonBedrockConfig(ctx context.Context) (AmazonBedrockConfig_SdkV2, bool)

GetAmazonBedrockConfig returns the value of the AmazonBedrockConfig field in ExternalModel_SdkV2 as a AmazonBedrockConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetAnthropicConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetAnthropicConfig(ctx context.Context) (AnthropicConfig_SdkV2, bool)

GetAnthropicConfig returns the value of the AnthropicConfig field in ExternalModel_SdkV2 as a AnthropicConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetCohereConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetCohereConfig(ctx context.Context) (CohereConfig_SdkV2, bool)

GetCohereConfig returns the value of the CohereConfig field in ExternalModel_SdkV2 as a CohereConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ExternalModel_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ExternalModel_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetCustomProviderConfig added in v1.71.0

func (m *ExternalModel_SdkV2) GetCustomProviderConfig(ctx context.Context) (CustomProviderConfig_SdkV2, bool)

GetCustomProviderConfig returns the value of the CustomProviderConfig field in ExternalModel_SdkV2 as a CustomProviderConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetDatabricksModelServingConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetDatabricksModelServingConfig(ctx context.Context) (DatabricksModelServingConfig_SdkV2, bool)

GetDatabricksModelServingConfig returns the value of the DatabricksModelServingConfig field in ExternalModel_SdkV2 as a DatabricksModelServingConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetGoogleCloudVertexAiConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetGoogleCloudVertexAiConfig(ctx context.Context) (GoogleCloudVertexAiConfig_SdkV2, bool)

GetGoogleCloudVertexAiConfig returns the value of the GoogleCloudVertexAiConfig field in ExternalModel_SdkV2 as a GoogleCloudVertexAiConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetOpenaiConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetOpenaiConfig(ctx context.Context) (OpenAiConfig_SdkV2, bool)

GetOpenaiConfig returns the value of the OpenaiConfig field in ExternalModel_SdkV2 as a OpenAiConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) GetPalmConfig added in v1.62.1

func (m *ExternalModel_SdkV2) GetPalmConfig(ctx context.Context) (PaLmConfig_SdkV2, bool)

GetPalmConfig returns the value of the PalmConfig field in ExternalModel_SdkV2 as a PaLmConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalModel_SdkV2) SetAi21labsConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetAi21labsConfig(ctx context.Context, v Ai21LabsConfig_SdkV2)

SetAi21labsConfig sets the value of the Ai21labsConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetAmazonBedrockConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetAmazonBedrockConfig(ctx context.Context, v AmazonBedrockConfig_SdkV2)

SetAmazonBedrockConfig sets the value of the AmazonBedrockConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetAnthropicConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetAnthropicConfig(ctx context.Context, v AnthropicConfig_SdkV2)

SetAnthropicConfig sets the value of the AnthropicConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetCohereConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetCohereConfig(ctx context.Context, v CohereConfig_SdkV2)

SetCohereConfig sets the value of the CohereConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetCustomProviderConfig added in v1.71.0

func (m *ExternalModel_SdkV2) SetCustomProviderConfig(ctx context.Context, v CustomProviderConfig_SdkV2)

SetCustomProviderConfig sets the value of the CustomProviderConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetDatabricksModelServingConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetDatabricksModelServingConfig(ctx context.Context, v DatabricksModelServingConfig_SdkV2)

SetDatabricksModelServingConfig sets the value of the DatabricksModelServingConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetGoogleCloudVertexAiConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetGoogleCloudVertexAiConfig(ctx context.Context, v GoogleCloudVertexAiConfig_SdkV2)

SetGoogleCloudVertexAiConfig sets the value of the GoogleCloudVertexAiConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetOpenaiConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetOpenaiConfig(ctx context.Context, v OpenAiConfig_SdkV2)

SetOpenaiConfig sets the value of the OpenaiConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SetPalmConfig added in v1.62.1

func (m *ExternalModel_SdkV2) SetPalmConfig(ctx context.Context, v PaLmConfig_SdkV2)

SetPalmConfig sets the value of the PalmConfig field in ExternalModel_SdkV2.

func (*ExternalModel_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ExternalModel_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ExternalModel_SdkV2)

func (*ExternalModel_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ExternalModel_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ExternalModel_SdkV2)

func (ExternalModel_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ExternalModel_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type FallbackConfig added in v1.71.0

type FallbackConfig struct {
	// Whether to enable traffic fallback. When a served entity in the serving
	// endpoint returns specific error codes (e.g. 500), the request will
	// automatically be round-robin attempted with other served entities in the
	// same endpoint, following the order of served entity list, until a
	// successful response is returned. If all attempts fail, return the last
	// response with the error code.
	Enabled types.Bool `tfsdk:"enabled"`
}

func (FallbackConfig) ApplySchemaCustomizations added in v1.71.0

func (m FallbackConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (FallbackConfig) GetComplexFieldTypes added in v1.71.0

func (m FallbackConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in FallbackConfig. 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 (*FallbackConfig) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *FallbackConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from FallbackConfig)

func (*FallbackConfig) SyncFieldsDuringRead added in v1.86.0

func (to *FallbackConfig) SyncFieldsDuringRead(ctx context.Context, from FallbackConfig)

func (FallbackConfig) ToObjectValue added in v1.71.0

func (m FallbackConfig) 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, FallbackConfig only implements ToObjectValue() and Type().

func (FallbackConfig) Type added in v1.71.0

func (m FallbackConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type FallbackConfig_SdkV2 added in v1.71.0

type FallbackConfig_SdkV2 struct {
	// Whether to enable traffic fallback. When a served entity in the serving
	// endpoint returns specific error codes (e.g. 500), the request will
	// automatically be round-robin attempted with other served entities in the
	// same endpoint, following the order of served entity list, until a
	// successful response is returned. If all attempts fail, return the last
	// response with the error code.
	Enabled types.Bool `tfsdk:"enabled"`
}

func (FallbackConfig_SdkV2) ApplySchemaCustomizations added in v1.71.0

func (m FallbackConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (FallbackConfig_SdkV2) GetComplexFieldTypes added in v1.71.0

func (m FallbackConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in FallbackConfig. 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 (*FallbackConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *FallbackConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from FallbackConfig_SdkV2)

func (*FallbackConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *FallbackConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from FallbackConfig_SdkV2)

func (FallbackConfig_SdkV2) ToObjectValue added in v1.71.0

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, FallbackConfig_SdkV2 only implements ToObjectValue() and Type().

func (FallbackConfig_SdkV2) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type FoundationModel

type FoundationModel struct {
	Description types.String `tfsdk:"description"`

	DisplayName types.String `tfsdk:"display_name"`

	Docs types.String `tfsdk:"docs"`

	Name types.String `tfsdk:"name"`
}

All fields are not sensitive as they are hard-coded in the system and made available to customers.

func (FoundationModel) ApplySchemaCustomizations added in v1.63.0

func (m FoundationModel) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (FoundationModel) GetComplexFieldTypes added in v1.61.0

func (m FoundationModel) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *FoundationModel) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from FoundationModel)

func (*FoundationModel) SyncFieldsDuringRead added in v1.86.0

func (to *FoundationModel) SyncFieldsDuringRead(ctx context.Context, from FoundationModel)

func (FoundationModel) ToObjectValue added in v1.61.0

func (m 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().

func (FoundationModel) Type added in v1.61.0

func (m FoundationModel) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type FoundationModel_SdkV2 added in v1.62.1

type FoundationModel_SdkV2 struct {
	Description types.String `tfsdk:"description"`

	DisplayName types.String `tfsdk:"display_name"`

	Docs types.String `tfsdk:"docs"`

	Name types.String `tfsdk:"name"`
}

All fields are not sensitive as they are hard-coded in the system and made available to customers.

func (FoundationModel_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m FoundationModel_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (FoundationModel_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m FoundationModel_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *FoundationModel_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from FoundationModel_SdkV2)

func (*FoundationModel_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *FoundationModel_SdkV2) SyncFieldsDuringRead(ctx context.Context, from FoundationModel_SdkV2)

func (FoundationModel_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (FoundationModel_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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:"-"`
}

func (GetOpenApiRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetOpenApiRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetOpenApiRequest) GetComplexFieldTypes added in v1.61.0

func (m GetOpenApiRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetOpenApiRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOpenApiRequest)

func (*GetOpenApiRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetOpenApiRequest) SyncFieldsDuringRead(ctx context.Context, from GetOpenApiRequest)

func (GetOpenApiRequest) ToObjectValue added in v1.61.0

func (m 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().

func (GetOpenApiRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetOpenApiRequest_SdkV2 added in v1.62.1

type GetOpenApiRequest_SdkV2 struct {
	// The name of the serving endpoint that the served model belongs to. This
	// field is required.
	Name types.String `tfsdk:"-"`
}

func (GetOpenApiRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetOpenApiRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetOpenApiRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetOpenApiRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetOpenApiRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOpenApiRequest_SdkV2)

func (*GetOpenApiRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetOpenApiRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetOpenApiRequest_SdkV2)

func (GetOpenApiRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GetOpenApiRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetOpenApiResponse

type GetOpenApiResponse struct {
	Contents types.Object `tfsdk:"-"`
}

func (GetOpenApiResponse) ApplySchemaCustomizations added in v1.76.0

func (m GetOpenApiResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetOpenApiResponse) GetComplexFieldTypes added in v1.61.0

func (m GetOpenApiResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetOpenApiResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOpenApiResponse)

func (*GetOpenApiResponse) SyncFieldsDuringRead added in v1.91.0

func (to *GetOpenApiResponse) SyncFieldsDuringRead(ctx context.Context, from GetOpenApiResponse)

func (GetOpenApiResponse) ToObjectValue added in v1.61.0

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().

func (GetOpenApiResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetOpenApiResponse_SdkV2 added in v1.62.1

type GetOpenApiResponse_SdkV2 struct {
	Contents types.Object `tfsdk:"-"`
}

func (GetOpenApiResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetOpenApiResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetOpenApiResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetOpenApiResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetOpenApiResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetOpenApiResponse_SdkV2)

func (*GetOpenApiResponse_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetOpenApiResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetOpenApiResponse_SdkV2)

func (GetOpenApiResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GetOpenApiResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetServingEndpointPermissionLevelsRequest

type GetServingEndpointPermissionLevelsRequest struct {
	// The serving endpoint for which to get or manage permissions.
	ServingEndpointId types.String `tfsdk:"-"`
}

func (GetServingEndpointPermissionLevelsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetServingEndpointPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetServingEndpointPermissionLevelsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetServingEndpointPermissionLevelsRequest) ToObjectValue added in v1.61.0

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().

func (GetServingEndpointPermissionLevelsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetServingEndpointPermissionLevelsRequest_SdkV2 added in v1.62.1

type GetServingEndpointPermissionLevelsRequest_SdkV2 struct {
	// The serving endpoint for which to get or manage permissions.
	ServingEndpointId types.String `tfsdk:"-"`
}

func (GetServingEndpointPermissionLevelsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetServingEndpointPermissionLevelsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetServingEndpointPermissionLevelsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetServingEndpointPermissionLevelsRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GetServingEndpointPermissionLevelsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetServingEndpointPermissionLevelsResponse

type GetServingEndpointPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetServingEndpointPermissionLevelsResponse) ApplySchemaCustomizations added in v1.63.0

func (GetServingEndpointPermissionLevelsResponse) GetComplexFieldTypes added in v1.61.0

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

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

SetPermissionLevels sets the value of the PermissionLevels field in GetServingEndpointPermissionLevelsResponse.

func (*GetServingEndpointPermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetServingEndpointPermissionLevelsResponse) SyncFieldsDuringRead added in v1.86.0

func (GetServingEndpointPermissionLevelsResponse) ToObjectValue added in v1.61.0

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().

func (GetServingEndpointPermissionLevelsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetServingEndpointPermissionLevelsResponse_SdkV2 added in v1.62.1

type GetServingEndpointPermissionLevelsResponse_SdkV2 struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetServingEndpointPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetServingEndpointPermissionLevelsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) GetPermissionLevels added in v1.62.1

GetPermissionLevels returns the value of the PermissionLevels field in GetServingEndpointPermissionLevelsResponse_SdkV2 as a slice of ServingEndpointPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetServingEndpointPermissionLevelsResponse_SdkV2) SetPermissionLevels added in v1.62.1

SetPermissionLevels sets the value of the PermissionLevels field in GetServingEndpointPermissionLevelsResponse_SdkV2.

func (*GetServingEndpointPermissionLevelsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetServingEndpointPermissionLevelsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetServingEndpointPermissionLevelsResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GetServingEndpointPermissionLevelsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetServingEndpointPermissionsRequest

type GetServingEndpointPermissionsRequest struct {
	// The serving endpoint for which to get or manage permissions.
	ServingEndpointId types.String `tfsdk:"-"`
}

func (GetServingEndpointPermissionsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetServingEndpointPermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetServingEndpointPermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetServingEndpointPermissionsRequest)

func (*GetServingEndpointPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetServingEndpointPermissionsRequest) ToObjectValue added in v1.61.0

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().

func (GetServingEndpointPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetServingEndpointPermissionsRequest_SdkV2 added in v1.62.1

type GetServingEndpointPermissionsRequest_SdkV2 struct {
	// The serving endpoint for which to get or manage permissions.
	ServingEndpointId types.String `tfsdk:"-"`
}

func (GetServingEndpointPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetServingEndpointPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetServingEndpointPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetServingEndpointPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GetServingEndpointPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetServingEndpointRequest

type GetServingEndpointRequest struct {
	// The name of the serving endpoint. This field is required.
	Name types.String `tfsdk:"-"`
}

func (GetServingEndpointRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetServingEndpointRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetServingEndpointRequest) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetServingEndpointRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetServingEndpointRequest)

func (*GetServingEndpointRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetServingEndpointRequest) SyncFieldsDuringRead(ctx context.Context, from GetServingEndpointRequest)

func (GetServingEndpointRequest) ToObjectValue added in v1.61.0

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().

func (GetServingEndpointRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetServingEndpointRequest_SdkV2 added in v1.62.1

type GetServingEndpointRequest_SdkV2 struct {
	// The name of the serving endpoint. This field is required.
	Name types.String `tfsdk:"-"`
}

func (GetServingEndpointRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetServingEndpointRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetServingEndpointRequest_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetServingEndpointRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetServingEndpointRequest_SdkV2)

func (*GetServingEndpointRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetServingEndpointRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GetServingEndpointRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
	// This is the Google Cloud project id that the service account is
	// associated with.
	ProjectId types.String `tfsdk:"project_id"`
	// 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"`
}

func (GoogleCloudVertexAiConfig) ApplySchemaCustomizations added in v1.63.0

func (m GoogleCloudVertexAiConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GoogleCloudVertexAiConfig) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GoogleCloudVertexAiConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GoogleCloudVertexAiConfig)

func (*GoogleCloudVertexAiConfig) SyncFieldsDuringRead added in v1.86.0

func (to *GoogleCloudVertexAiConfig) SyncFieldsDuringRead(ctx context.Context, from GoogleCloudVertexAiConfig)

func (GoogleCloudVertexAiConfig) ToObjectValue added in v1.61.0

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().

func (GoogleCloudVertexAiConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GoogleCloudVertexAiConfig_SdkV2 added in v1.62.1

type GoogleCloudVertexAiConfig_SdkV2 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"`
	// 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"`
	// This is the Google Cloud project id that the service account is
	// associated with.
	ProjectId types.String `tfsdk:"project_id"`
	// 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"`
}

func (GoogleCloudVertexAiConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GoogleCloudVertexAiConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GoogleCloudVertexAiConfig_SdkV2) 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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GoogleCloudVertexAiConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GoogleCloudVertexAiConfig_SdkV2)

func (*GoogleCloudVertexAiConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GoogleCloudVertexAiConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (GoogleCloudVertexAiConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type HttpRequestResponse added in v1.65.0

type HttpRequestResponse struct {
	Contents types.Object `tfsdk:"-"`
}

func (HttpRequestResponse) ApplySchemaCustomizations added in v1.76.0

func (m HttpRequestResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (HttpRequestResponse) GetComplexFieldTypes added in v1.65.0

func (m HttpRequestResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in HttpRequestResponse. 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 (*HttpRequestResponse) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *HttpRequestResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from HttpRequestResponse)

func (*HttpRequestResponse) SyncFieldsDuringRead added in v1.91.0

func (to *HttpRequestResponse) SyncFieldsDuringRead(ctx context.Context, from HttpRequestResponse)

func (HttpRequestResponse) ToObjectValue added in v1.65.0

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, HttpRequestResponse only implements ToObjectValue() and Type().

func (HttpRequestResponse) Type added in v1.65.0

Type implements basetypes.ObjectValuable.

type HttpRequestResponse_SdkV2 added in v1.65.0

type HttpRequestResponse_SdkV2 struct {
	Contents types.Object `tfsdk:"-"`
}

func (HttpRequestResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m HttpRequestResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (HttpRequestResponse_SdkV2) GetComplexFieldTypes added in v1.65.0

func (m HttpRequestResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in HttpRequestResponse. 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 (*HttpRequestResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *HttpRequestResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from HttpRequestResponse_SdkV2)

func (*HttpRequestResponse_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *HttpRequestResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from HttpRequestResponse_SdkV2)

func (HttpRequestResponse_SdkV2) ToObjectValue added in v1.65.0

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, HttpRequestResponse_SdkV2 only implements ToObjectValue() and Type().

func (HttpRequestResponse_SdkV2) Type added in v1.65.0

Type implements basetypes.ObjectValuable.

type ListEndpointsResponse

type ListEndpointsResponse struct {
	// The list of endpoints.
	Endpoints types.List `tfsdk:"endpoints"`
}

func (ListEndpointsResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListEndpointsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListEndpointsResponse) GetComplexFieldTypes added in v1.61.0

func (m ListEndpointsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *ListEndpointsResponse) SetEndpoints(ctx context.Context, v []ServingEndpoint)

SetEndpoints sets the value of the Endpoints field in ListEndpointsResponse.

func (*ListEndpointsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListEndpointsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsResponse)

func (*ListEndpointsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListEndpointsResponse) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsResponse)

func (ListEndpointsResponse) ToObjectValue added in v1.61.0

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().

func (ListEndpointsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListEndpointsResponse_SdkV2 added in v1.62.1

type ListEndpointsResponse_SdkV2 struct {
	// The list of endpoints.
	Endpoints types.List `tfsdk:"endpoints"`
}

func (ListEndpointsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListEndpointsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListEndpointsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListEndpointsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetEndpoints added in v1.62.1

GetEndpoints returns the value of the Endpoints field in ListEndpointsResponse_SdkV2 as a slice of ServingEndpoint_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListEndpointsResponse_SdkV2) SetEndpoints added in v1.62.1

SetEndpoints sets the value of the Endpoints field in ListEndpointsResponse_SdkV2.

func (*ListEndpointsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListEndpointsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListEndpointsResponse_SdkV2)

func (*ListEndpointsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListEndpointsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListEndpointsResponse_SdkV2)

func (ListEndpointsResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ListEndpointsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListServingEndpointsRequest added in v1.85.0

type ListServingEndpointsRequest struct {
}

func (ListServingEndpointsRequest) ApplySchemaCustomizations added in v1.91.0

func (m ListServingEndpointsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListServingEndpointsRequest) GetComplexFieldTypes added in v1.85.0

func (m ListServingEndpointsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServingEndpointsRequest. 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 (*ListServingEndpointsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListServingEndpointsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListServingEndpointsRequest)

func (*ListServingEndpointsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListServingEndpointsRequest) SyncFieldsDuringRead(ctx context.Context, from ListServingEndpointsRequest)

func (ListServingEndpointsRequest) ToObjectValue added in v1.85.0

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, ListServingEndpointsRequest only implements ToObjectValue() and Type().

func (ListServingEndpointsRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListServingEndpointsRequest_SdkV2 added in v1.85.0

type ListServingEndpointsRequest_SdkV2 struct {
}

func (ListServingEndpointsRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (ListServingEndpointsRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListServingEndpointsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServingEndpointsRequest. 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 (*ListServingEndpointsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListServingEndpointsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListServingEndpointsRequest_SdkV2)

func (*ListServingEndpointsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListServingEndpointsRequest_SdkV2) ToObjectValue added in v1.85.0

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, ListServingEndpointsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListServingEndpointsRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

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:"-"`
}

func (LogsRequest) ApplySchemaCustomizations added in v1.76.0

func (m LogsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LogsRequest) GetComplexFieldTypes added in v1.61.0

func (m LogsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *LogsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LogsRequest)

func (*LogsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *LogsRequest) SyncFieldsDuringRead(ctx context.Context, from LogsRequest)

func (LogsRequest) ToObjectValue added in v1.61.0

func (m 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().

func (LogsRequest) Type added in v1.61.0

func (m LogsRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type LogsRequest_SdkV2 added in v1.62.1

type LogsRequest_SdkV2 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:"-"`
}

func (LogsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m LogsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LogsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LogsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *LogsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LogsRequest_SdkV2)

func (*LogsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *LogsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LogsRequest_SdkV2)

func (LogsRequest_SdkV2) ToObjectValue added in v1.62.1

func (m LogsRequest_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (LogsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ModelDataPlaneInfo

type ModelDataPlaneInfo struct {
	// Information required to query DataPlane API 'query' endpoint.
	QueryInfo types.Object `tfsdk:"query_info"`
}

A representation of all DataPlaneInfo for operations that can be done on a model through Data Plane APIs.

func (ModelDataPlaneInfo) ApplySchemaCustomizations added in v1.63.0

func (m ModelDataPlaneInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ModelDataPlaneInfo) GetComplexFieldTypes added in v1.61.0

func (m ModelDataPlaneInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *ModelDataPlaneInfo) GetQueryInfo(ctx context.Context) (DataPlaneInfo, bool)

GetQueryInfo returns the value of the QueryInfo field in ModelDataPlaneInfo as a DataPlaneInfo value. If the field is unknown or null, the boolean return value is false.

func (*ModelDataPlaneInfo) SetQueryInfo added in v1.61.0

func (m *ModelDataPlaneInfo) SetQueryInfo(ctx context.Context, v DataPlaneInfo)

SetQueryInfo sets the value of the QueryInfo field in ModelDataPlaneInfo.

func (*ModelDataPlaneInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ModelDataPlaneInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ModelDataPlaneInfo)

func (*ModelDataPlaneInfo) SyncFieldsDuringRead added in v1.86.0

func (to *ModelDataPlaneInfo) SyncFieldsDuringRead(ctx context.Context, from ModelDataPlaneInfo)

func (ModelDataPlaneInfo) ToObjectValue added in v1.61.0

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().

func (ModelDataPlaneInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ModelDataPlaneInfo_SdkV2 added in v1.62.1

type ModelDataPlaneInfo_SdkV2 struct {
	// Information required to query DataPlane API 'query' endpoint.
	QueryInfo types.List `tfsdk:"query_info"`
}

A representation of all DataPlaneInfo for operations that can be done on a model through Data Plane APIs.

func (ModelDataPlaneInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ModelDataPlaneInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ModelDataPlaneInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ModelDataPlaneInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetQueryInfo added in v1.62.1

GetQueryInfo returns the value of the QueryInfo field in ModelDataPlaneInfo_SdkV2 as a DataPlaneInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ModelDataPlaneInfo_SdkV2) SetQueryInfo added in v1.62.1

SetQueryInfo sets the value of the QueryInfo field in ModelDataPlaneInfo_SdkV2.

func (*ModelDataPlaneInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ModelDataPlaneInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ModelDataPlaneInfo_SdkV2)

func (*ModelDataPlaneInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ModelDataPlaneInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ModelDataPlaneInfo_SdkV2)

func (ModelDataPlaneInfo_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ModelDataPlaneInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
	// 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"`
	// This field is only required for Azure AD OpenAI and is the Microsoft
	// Entra Tenant ID.
	MicrosoftEntraTenantId types.String `tfsdk:"microsoft_entra_tenant_id"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// This is an optional field to specify the organization in OpenAI or Azure
	// OpenAI.
	OpenaiOrganization types.String `tfsdk:"openai_organization"`
}

Configs needed to create an OpenAI model route.

func (OpenAiConfig) ApplySchemaCustomizations added in v1.63.0

func (m OpenAiConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (OpenAiConfig) GetComplexFieldTypes added in v1.61.0

func (m OpenAiConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *OpenAiConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from OpenAiConfig)

func (*OpenAiConfig) SyncFieldsDuringRead added in v1.86.0

func (to *OpenAiConfig) SyncFieldsDuringRead(ctx context.Context, from OpenAiConfig)

func (OpenAiConfig) ToObjectValue added in v1.61.0

func (m 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().

func (OpenAiConfig) Type added in v1.61.0

func (m OpenAiConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type OpenAiConfig_SdkV2 added in v1.62.1

type OpenAiConfig_SdkV2 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"`
	// 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"`
	// 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"`
	// This field is only required for Azure AD OpenAI and is the Microsoft
	// Entra Tenant ID.
	MicrosoftEntraTenantId types.String `tfsdk:"microsoft_entra_tenant_id"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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"`
	// This is an optional field to specify the organization in OpenAI or Azure
	// OpenAI.
	OpenaiOrganization types.String `tfsdk:"openai_organization"`
}

Configs needed to create an OpenAI model route.

func (OpenAiConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m OpenAiConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (OpenAiConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m OpenAiConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *OpenAiConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from OpenAiConfig_SdkV2)

func (*OpenAiConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *OpenAiConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from OpenAiConfig_SdkV2)

func (OpenAiConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (OpenAiConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
}

func (PaLmConfig) ApplySchemaCustomizations added in v1.63.0

func (m PaLmConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PaLmConfig) GetComplexFieldTypes added in v1.61.0

func (m PaLmConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PaLmConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PaLmConfig)

func (*PaLmConfig) SyncFieldsDuringRead added in v1.86.0

func (to *PaLmConfig) SyncFieldsDuringRead(ctx context.Context, from PaLmConfig)

func (PaLmConfig) ToObjectValue added in v1.61.0

func (m 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().

func (PaLmConfig) Type added in v1.61.0

func (m PaLmConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PaLmConfig_SdkV2 added in v1.62.1

type PaLmConfig_SdkV2 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"`
	// 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"`
}

func (PaLmConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PaLmConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PaLmConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PaLmConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PaLmConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PaLmConfig_SdkV2)

func (*PaLmConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PaLmConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PaLmConfig_SdkV2)

func (PaLmConfig_SdkV2) ToObjectValue added in v1.62.1

func (m PaLmConfig_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (PaLmConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PatchServingEndpointTags

type PatchServingEndpointTags struct {
	// List of endpoint tags to add
	AddTags types.List `tfsdk:"add_tags"`
	// List of tag keys to delete
	DeleteTags types.List `tfsdk:"delete_tags"`
	// The name of the serving endpoint who's tags to patch. This field is
	// required.
	Name types.String `tfsdk:"-"`
}

func (PatchServingEndpointTags) ApplySchemaCustomizations added in v1.63.0

func (m PatchServingEndpointTags) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*PatchServingEndpointTags) GetAddTags added in v1.61.0

func (m *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

func (m PatchServingEndpointTags) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

func (m *PatchServingEndpointTags) GetDeleteTags(ctx context.Context) ([]types.String, bool)

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 (m *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 (m *PatchServingEndpointTags) SetDeleteTags(ctx context.Context, v []types.String)

SetDeleteTags sets the value of the DeleteTags field in PatchServingEndpointTags.

func (*PatchServingEndpointTags) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PatchServingEndpointTags) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PatchServingEndpointTags)

func (*PatchServingEndpointTags) SyncFieldsDuringRead added in v1.91.0

func (to *PatchServingEndpointTags) SyncFieldsDuringRead(ctx context.Context, from PatchServingEndpointTags)

func (PatchServingEndpointTags) ToObjectValue added in v1.61.0

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().

func (PatchServingEndpointTags) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PatchServingEndpointTags_SdkV2 added in v1.62.1

type PatchServingEndpointTags_SdkV2 struct {
	// List of endpoint tags to add
	AddTags types.List `tfsdk:"add_tags"`
	// List of tag keys to delete
	DeleteTags types.List `tfsdk:"delete_tags"`
	// The name of the serving endpoint who's tags to patch. This field is
	// required.
	Name types.String `tfsdk:"-"`
}

func (PatchServingEndpointTags_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*PatchServingEndpointTags_SdkV2) GetAddTags added in v1.62.1

GetAddTags returns the value of the AddTags field in PatchServingEndpointTags_SdkV2 as a slice of EndpointTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (PatchServingEndpointTags_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PatchServingEndpointTags_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetDeleteTags added in v1.62.1

func (m *PatchServingEndpointTags_SdkV2) GetDeleteTags(ctx context.Context) ([]types.String, bool)

GetDeleteTags returns the value of the DeleteTags field in PatchServingEndpointTags_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*PatchServingEndpointTags_SdkV2) SetAddTags added in v1.62.1

SetAddTags sets the value of the AddTags field in PatchServingEndpointTags_SdkV2.

func (*PatchServingEndpointTags_SdkV2) SetDeleteTags added in v1.62.1

func (m *PatchServingEndpointTags_SdkV2) SetDeleteTags(ctx context.Context, v []types.String)

SetDeleteTags sets the value of the DeleteTags field in PatchServingEndpointTags_SdkV2.

func (*PatchServingEndpointTags_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PatchServingEndpointTags_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PatchServingEndpointTags_SdkV2)

func (*PatchServingEndpointTags_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (PatchServingEndpointTags_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (PatchServingEndpointTags_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PayloadTable

type PayloadTable struct {
	Name types.String `tfsdk:"name"`

	Status types.String `tfsdk:"status"`

	StatusMessage types.String `tfsdk:"status_message"`
}

func (PayloadTable) ApplySchemaCustomizations added in v1.63.0

func (m PayloadTable) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PayloadTable) GetComplexFieldTypes added in v1.61.0

func (m PayloadTable) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PayloadTable) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PayloadTable)

func (*PayloadTable) SyncFieldsDuringRead added in v1.86.0

func (to *PayloadTable) SyncFieldsDuringRead(ctx context.Context, from PayloadTable)

func (PayloadTable) ToObjectValue added in v1.61.0

func (m 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().

func (PayloadTable) Type added in v1.61.0

func (m PayloadTable) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PayloadTable_SdkV2 added in v1.62.1

type PayloadTable_SdkV2 struct {
	Name types.String `tfsdk:"name"`

	Status types.String `tfsdk:"status"`

	StatusMessage types.String `tfsdk:"status_message"`
}

func (PayloadTable_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PayloadTable_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PayloadTable_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PayloadTable_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PayloadTable_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PayloadTable_SdkV2)

func (*PayloadTable_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PayloadTable_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PayloadTable_SdkV2)

func (PayloadTable_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (PayloadTable_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PtEndpointCoreConfig added in v1.78.0

type PtEndpointCoreConfig struct {
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`

	TrafficConfig types.Object `tfsdk:"traffic_config"`
}

func (PtEndpointCoreConfig) ApplySchemaCustomizations added in v1.78.0

func (m PtEndpointCoreConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PtEndpointCoreConfig) GetComplexFieldTypes added in v1.78.0

func (m PtEndpointCoreConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PtEndpointCoreConfig. 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 (*PtEndpointCoreConfig) GetServedEntities added in v1.78.0

func (m *PtEndpointCoreConfig) GetServedEntities(ctx context.Context) ([]PtServedModel, bool)

GetServedEntities returns the value of the ServedEntities field in PtEndpointCoreConfig as a slice of PtServedModel values. If the field is unknown or null, the boolean return value is false.

func (*PtEndpointCoreConfig) GetTrafficConfig added in v1.78.0

func (m *PtEndpointCoreConfig) GetTrafficConfig(ctx context.Context) (TrafficConfig, bool)

GetTrafficConfig returns the value of the TrafficConfig field in PtEndpointCoreConfig as a TrafficConfig value. If the field is unknown or null, the boolean return value is false.

func (*PtEndpointCoreConfig) SetServedEntities added in v1.78.0

func (m *PtEndpointCoreConfig) SetServedEntities(ctx context.Context, v []PtServedModel)

SetServedEntities sets the value of the ServedEntities field in PtEndpointCoreConfig.

func (*PtEndpointCoreConfig) SetTrafficConfig added in v1.78.0

func (m *PtEndpointCoreConfig) SetTrafficConfig(ctx context.Context, v TrafficConfig)

SetTrafficConfig sets the value of the TrafficConfig field in PtEndpointCoreConfig.

func (*PtEndpointCoreConfig) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PtEndpointCoreConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PtEndpointCoreConfig)

func (*PtEndpointCoreConfig) SyncFieldsDuringRead added in v1.86.0

func (to *PtEndpointCoreConfig) SyncFieldsDuringRead(ctx context.Context, from PtEndpointCoreConfig)

func (PtEndpointCoreConfig) ToObjectValue added in v1.78.0

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, PtEndpointCoreConfig only implements ToObjectValue() and Type().

func (PtEndpointCoreConfig) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type PtEndpointCoreConfig_SdkV2 added in v1.78.0

type PtEndpointCoreConfig_SdkV2 struct {
	// The list of served entities under the serving endpoint config.
	ServedEntities types.List `tfsdk:"served_entities"`

	TrafficConfig types.List `tfsdk:"traffic_config"`
}

func (PtEndpointCoreConfig_SdkV2) ApplySchemaCustomizations added in v1.78.0

func (m PtEndpointCoreConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PtEndpointCoreConfig_SdkV2) GetComplexFieldTypes added in v1.78.0

func (m PtEndpointCoreConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PtEndpointCoreConfig. 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 (*PtEndpointCoreConfig_SdkV2) GetServedEntities added in v1.78.0

func (m *PtEndpointCoreConfig_SdkV2) GetServedEntities(ctx context.Context) ([]PtServedModel_SdkV2, bool)

GetServedEntities returns the value of the ServedEntities field in PtEndpointCoreConfig_SdkV2 as a slice of PtServedModel_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*PtEndpointCoreConfig_SdkV2) GetTrafficConfig added in v1.78.0

GetTrafficConfig returns the value of the TrafficConfig field in PtEndpointCoreConfig_SdkV2 as a TrafficConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PtEndpointCoreConfig_SdkV2) SetServedEntities added in v1.78.0

func (m *PtEndpointCoreConfig_SdkV2) SetServedEntities(ctx context.Context, v []PtServedModel_SdkV2)

SetServedEntities sets the value of the ServedEntities field in PtEndpointCoreConfig_SdkV2.

func (*PtEndpointCoreConfig_SdkV2) SetTrafficConfig added in v1.78.0

func (m *PtEndpointCoreConfig_SdkV2) SetTrafficConfig(ctx context.Context, v TrafficConfig_SdkV2)

SetTrafficConfig sets the value of the TrafficConfig field in PtEndpointCoreConfig_SdkV2.

func (*PtEndpointCoreConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PtEndpointCoreConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PtEndpointCoreConfig_SdkV2)

func (*PtEndpointCoreConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PtEndpointCoreConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PtEndpointCoreConfig_SdkV2)

func (PtEndpointCoreConfig_SdkV2) ToObjectValue added in v1.78.0

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, PtEndpointCoreConfig_SdkV2 only implements ToObjectValue() and Type().

func (PtEndpointCoreConfig_SdkV2) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type PtServedModel added in v1.78.0

type PtServedModel struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`
	// 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"`

	EntityVersion types.String `tfsdk:"entity_version"`
	// 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"`
	// The number of model units to be provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
}

func (PtServedModel) ApplySchemaCustomizations added in v1.78.0

func (m PtServedModel) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PtServedModel) GetComplexFieldTypes added in v1.78.0

func (m PtServedModel) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PtServedModel. 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 (*PtServedModel) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PtServedModel) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PtServedModel)

func (*PtServedModel) SyncFieldsDuringRead added in v1.86.0

func (to *PtServedModel) SyncFieldsDuringRead(ctx context.Context, from PtServedModel)

func (PtServedModel) ToObjectValue added in v1.78.0

func (m PtServedModel) 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, PtServedModel only implements ToObjectValue() and Type().

func (PtServedModel) Type added in v1.78.0

func (m PtServedModel) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PtServedModel_SdkV2 added in v1.78.0

type PtServedModel_SdkV2 struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`
	// 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"`

	EntityVersion types.String `tfsdk:"entity_version"`
	// 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"`
	// The number of model units to be provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
}

func (PtServedModel_SdkV2) ApplySchemaCustomizations added in v1.78.0

func (m PtServedModel_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PtServedModel_SdkV2) GetComplexFieldTypes added in v1.78.0

func (m PtServedModel_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PtServedModel. 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 (*PtServedModel_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PtServedModel_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PtServedModel_SdkV2)

func (*PtServedModel_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PtServedModel_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PtServedModel_SdkV2)

func (PtServedModel_SdkV2) ToObjectValue added in v1.78.0

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, PtServedModel_SdkV2 only implements ToObjectValue() and Type().

func (PtServedModel_SdkV2) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type PutAiGatewayRequest added in v1.53.0

type PutAiGatewayRequest struct {
	// Configuration for traffic fallback which auto fallbacks to other served
	// entities if the request to a served entity fails with certain error
	// codes, to increase availability.
	FallbackConfig types.Object `tfsdk:"fallback_config"`
	// Configuration for AI Guardrails to prevent unwanted data and unsafe data
	// in requests and responses.
	Guardrails types.Object `tfsdk:"guardrails"`
	// 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.Object `tfsdk:"inference_table_config"`
	// 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"`
	// Configuration to enable usage tracking using system tables. These tables
	// allow you to monitor operational usage on endpoints and their associated
	// costs.
	UsageTrackingConfig types.Object `tfsdk:"usage_tracking_config"`
}

func (PutAiGatewayRequest) ApplySchemaCustomizations added in v1.64.0

func (m PutAiGatewayRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutAiGatewayRequest) GetComplexFieldTypes added in v1.61.0

func (m PutAiGatewayRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) GetFallbackConfig added in v1.71.0

func (m *PutAiGatewayRequest) GetFallbackConfig(ctx context.Context) (FallbackConfig, bool)

GetFallbackConfig returns the value of the FallbackConfig field in PutAiGatewayRequest as a FallbackConfig value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayRequest) GetGuardrails added in v1.61.0

func (m *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 (m *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 (m *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 (m *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) SetFallbackConfig added in v1.71.0

func (m *PutAiGatewayRequest) SetFallbackConfig(ctx context.Context, v FallbackConfig)

SetFallbackConfig sets the value of the FallbackConfig field in PutAiGatewayRequest.

func (*PutAiGatewayRequest) SetGuardrails added in v1.61.0

func (m *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 (m *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 (m *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 (m *PutAiGatewayRequest) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)

SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in PutAiGatewayRequest.

func (*PutAiGatewayRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PutAiGatewayRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutAiGatewayRequest)

func (*PutAiGatewayRequest) SyncFieldsDuringRead added in v1.91.0

func (to *PutAiGatewayRequest) SyncFieldsDuringRead(ctx context.Context, from PutAiGatewayRequest)

func (PutAiGatewayRequest) ToObjectValue added in v1.61.0

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().

func (PutAiGatewayRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PutAiGatewayRequest_SdkV2 added in v1.62.1

type PutAiGatewayRequest_SdkV2 struct {
	// Configuration for traffic fallback which auto fallbacks to other served
	// entities if the request to a served entity fails with certain error
	// codes, to increase availability.
	FallbackConfig types.List `tfsdk:"fallback_config"`
	// Configuration for AI Guardrails to prevent unwanted data and unsafe data
	// in requests and responses.
	Guardrails types.List `tfsdk:"guardrails"`
	// 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"`
	// 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"`
	// 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"`
}

func (PutAiGatewayRequest_SdkV2) ApplySchemaCustomizations added in v1.64.0

func (m PutAiGatewayRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutAiGatewayRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PutAiGatewayRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetFallbackConfig added in v1.71.0

func (m *PutAiGatewayRequest_SdkV2) GetFallbackConfig(ctx context.Context) (FallbackConfig_SdkV2, bool)

GetFallbackConfig returns the value of the FallbackConfig field in PutAiGatewayRequest_SdkV2 as a FallbackConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayRequest_SdkV2) GetGuardrails added in v1.62.1

GetGuardrails returns the value of the Guardrails field in PutAiGatewayRequest_SdkV2 as a AiGatewayGuardrails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayRequest_SdkV2) GetInferenceTableConfig added in v1.62.1

GetInferenceTableConfig returns the value of the InferenceTableConfig field in PutAiGatewayRequest_SdkV2 as a AiGatewayInferenceTableConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayRequest_SdkV2) GetRateLimits added in v1.62.1

GetRateLimits returns the value of the RateLimits field in PutAiGatewayRequest_SdkV2 as a slice of AiGatewayRateLimit_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayRequest_SdkV2) GetUsageTrackingConfig added in v1.62.1

GetUsageTrackingConfig returns the value of the UsageTrackingConfig field in PutAiGatewayRequest_SdkV2 as a AiGatewayUsageTrackingConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayRequest_SdkV2) SetFallbackConfig added in v1.71.0

func (m *PutAiGatewayRequest_SdkV2) SetFallbackConfig(ctx context.Context, v FallbackConfig_SdkV2)

SetFallbackConfig sets the value of the FallbackConfig field in PutAiGatewayRequest_SdkV2.

func (*PutAiGatewayRequest_SdkV2) SetGuardrails added in v1.62.1

SetGuardrails sets the value of the Guardrails field in PutAiGatewayRequest_SdkV2.

func (*PutAiGatewayRequest_SdkV2) SetInferenceTableConfig added in v1.62.1

SetInferenceTableConfig sets the value of the InferenceTableConfig field in PutAiGatewayRequest_SdkV2.

func (*PutAiGatewayRequest_SdkV2) SetRateLimits added in v1.62.1

SetRateLimits sets the value of the RateLimits field in PutAiGatewayRequest_SdkV2.

func (*PutAiGatewayRequest_SdkV2) SetUsageTrackingConfig added in v1.62.1

SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in PutAiGatewayRequest_SdkV2.

func (*PutAiGatewayRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PutAiGatewayRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutAiGatewayRequest_SdkV2)

func (*PutAiGatewayRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *PutAiGatewayRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PutAiGatewayRequest_SdkV2)

func (PutAiGatewayRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (PutAiGatewayRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PutAiGatewayResponse added in v1.53.0

type PutAiGatewayResponse struct {
	// Configuration for traffic fallback which auto fallbacks to other served
	// entities if the request to a served entity fails with certain error
	// codes, to increase availability.
	FallbackConfig types.Object `tfsdk:"fallback_config"`
	// Configuration for AI Guardrails to prevent unwanted data and unsafe data
	// in requests and responses.
	Guardrails types.Object `tfsdk:"guardrails"`
	// 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.Object `tfsdk:"inference_table_config"`
	// Configuration for rate limits which can be set to limit endpoint traffic.
	RateLimits types.List `tfsdk:"rate_limits"`
	// Configuration to enable usage tracking using system tables. These tables
	// allow you to monitor operational usage on endpoints and their associated
	// costs.
	UsageTrackingConfig types.Object `tfsdk:"usage_tracking_config"`
}

func (PutAiGatewayResponse) ApplySchemaCustomizations added in v1.64.0

func (m PutAiGatewayResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutAiGatewayResponse) GetComplexFieldTypes added in v1.61.0

func (m PutAiGatewayResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) GetFallbackConfig added in v1.71.0

func (m *PutAiGatewayResponse) GetFallbackConfig(ctx context.Context) (FallbackConfig, bool)

GetFallbackConfig returns the value of the FallbackConfig field in PutAiGatewayResponse as a FallbackConfig value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayResponse) GetGuardrails added in v1.61.0

func (m *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 (m *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 (m *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 (m *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) SetFallbackConfig added in v1.71.0

func (m *PutAiGatewayResponse) SetFallbackConfig(ctx context.Context, v FallbackConfig)

SetFallbackConfig sets the value of the FallbackConfig field in PutAiGatewayResponse.

func (*PutAiGatewayResponse) SetGuardrails added in v1.61.0

func (m *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 (m *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 (m *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 (m *PutAiGatewayResponse) SetUsageTrackingConfig(ctx context.Context, v AiGatewayUsageTrackingConfig)

SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in PutAiGatewayResponse.

func (*PutAiGatewayResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PutAiGatewayResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutAiGatewayResponse)

func (*PutAiGatewayResponse) SyncFieldsDuringRead added in v1.86.0

func (to *PutAiGatewayResponse) SyncFieldsDuringRead(ctx context.Context, from PutAiGatewayResponse)

func (PutAiGatewayResponse) ToObjectValue added in v1.61.0

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().

func (PutAiGatewayResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PutAiGatewayResponse_SdkV2 added in v1.62.1

type PutAiGatewayResponse_SdkV2 struct {
	// Configuration for traffic fallback which auto fallbacks to other served
	// entities if the request to a served entity fails with certain error
	// codes, to increase availability.
	FallbackConfig types.List `tfsdk:"fallback_config"`
	// Configuration for AI Guardrails to prevent unwanted data and unsafe data
	// in requests and responses.
	Guardrails types.List `tfsdk:"guardrails"`
	// 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"`
	// Configuration for rate limits which can be set to limit endpoint traffic.
	RateLimits types.List `tfsdk:"rate_limits"`
	// 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"`
}

func (PutAiGatewayResponse_SdkV2) ApplySchemaCustomizations added in v1.64.0

func (m PutAiGatewayResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutAiGatewayResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PutAiGatewayResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetFallbackConfig added in v1.71.0

GetFallbackConfig returns the value of the FallbackConfig field in PutAiGatewayResponse_SdkV2 as a FallbackConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayResponse_SdkV2) GetGuardrails added in v1.62.1

GetGuardrails returns the value of the Guardrails field in PutAiGatewayResponse_SdkV2 as a AiGatewayGuardrails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayResponse_SdkV2) GetInferenceTableConfig added in v1.62.1

GetInferenceTableConfig returns the value of the InferenceTableConfig field in PutAiGatewayResponse_SdkV2 as a AiGatewayInferenceTableConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayResponse_SdkV2) GetRateLimits added in v1.62.1

GetRateLimits returns the value of the RateLimits field in PutAiGatewayResponse_SdkV2 as a slice of AiGatewayRateLimit_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayResponse_SdkV2) GetUsageTrackingConfig added in v1.62.1

GetUsageTrackingConfig returns the value of the UsageTrackingConfig field in PutAiGatewayResponse_SdkV2 as a AiGatewayUsageTrackingConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PutAiGatewayResponse_SdkV2) SetFallbackConfig added in v1.71.0

func (m *PutAiGatewayResponse_SdkV2) SetFallbackConfig(ctx context.Context, v FallbackConfig_SdkV2)

SetFallbackConfig sets the value of the FallbackConfig field in PutAiGatewayResponse_SdkV2.

func (*PutAiGatewayResponse_SdkV2) SetGuardrails added in v1.62.1

SetGuardrails sets the value of the Guardrails field in PutAiGatewayResponse_SdkV2.

func (*PutAiGatewayResponse_SdkV2) SetInferenceTableConfig added in v1.62.1

SetInferenceTableConfig sets the value of the InferenceTableConfig field in PutAiGatewayResponse_SdkV2.

func (*PutAiGatewayResponse_SdkV2) SetRateLimits added in v1.62.1

SetRateLimits sets the value of the RateLimits field in PutAiGatewayResponse_SdkV2.

func (*PutAiGatewayResponse_SdkV2) SetUsageTrackingConfig added in v1.62.1

SetUsageTrackingConfig sets the value of the UsageTrackingConfig field in PutAiGatewayResponse_SdkV2.

func (*PutAiGatewayResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PutAiGatewayResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutAiGatewayResponse_SdkV2)

func (*PutAiGatewayResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PutAiGatewayResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PutAiGatewayResponse_SdkV2)

func (PutAiGatewayResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (PutAiGatewayResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
}

func (PutRequest) ApplySchemaCustomizations added in v1.64.0

func (m PutRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutRequest) GetComplexFieldTypes added in v1.61.0

func (m PutRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *PutRequest) SetRateLimits(ctx context.Context, v []RateLimit)

SetRateLimits sets the value of the RateLimits field in PutRequest.

func (*PutRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PutRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutRequest)

func (*PutRequest) SyncFieldsDuringRead added in v1.91.0

func (to *PutRequest) SyncFieldsDuringRead(ctx context.Context, from PutRequest)

func (PutRequest) ToObjectValue added in v1.61.0

func (m 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().

func (PutRequest) Type added in v1.61.0

func (m PutRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PutRequest_SdkV2 added in v1.62.1

type PutRequest_SdkV2 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"`
}

func (PutRequest_SdkV2) ApplySchemaCustomizations added in v1.64.0

func (m PutRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PutRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetRateLimits added in v1.62.1

func (m *PutRequest_SdkV2) GetRateLimits(ctx context.Context) ([]RateLimit_SdkV2, bool)

GetRateLimits returns the value of the RateLimits field in PutRequest_SdkV2 as a slice of RateLimit_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*PutRequest_SdkV2) SetRateLimits added in v1.62.1

func (m *PutRequest_SdkV2) SetRateLimits(ctx context.Context, v []RateLimit_SdkV2)

SetRateLimits sets the value of the RateLimits field in PutRequest_SdkV2.

func (*PutRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PutRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutRequest_SdkV2)

func (*PutRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *PutRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PutRequest_SdkV2)

func (PutRequest_SdkV2) ToObjectValue added in v1.62.1

func (m PutRequest_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (PutRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PutResponse

type PutResponse struct {
	// The list of endpoint rate limits.
	RateLimits types.List `tfsdk:"rate_limits"`
}

func (PutResponse) ApplySchemaCustomizations added in v1.64.0

func (m PutResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutResponse) GetComplexFieldTypes added in v1.61.0

func (m PutResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *PutResponse) SetRateLimits(ctx context.Context, v []RateLimit)

SetRateLimits sets the value of the RateLimits field in PutResponse.

func (*PutResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PutResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutResponse)

func (*PutResponse) SyncFieldsDuringRead added in v1.86.0

func (to *PutResponse) SyncFieldsDuringRead(ctx context.Context, from PutResponse)

func (PutResponse) ToObjectValue added in v1.61.0

func (m 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().

func (PutResponse) Type added in v1.61.0

func (m PutResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PutResponse_SdkV2 added in v1.62.1

type PutResponse_SdkV2 struct {
	// The list of endpoint rate limits.
	RateLimits types.List `tfsdk:"rate_limits"`
}

func (PutResponse_SdkV2) ApplySchemaCustomizations added in v1.64.0

func (m PutResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PutResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PutResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetRateLimits added in v1.62.1

func (m *PutResponse_SdkV2) GetRateLimits(ctx context.Context) ([]RateLimit_SdkV2, bool)

GetRateLimits returns the value of the RateLimits field in PutResponse_SdkV2 as a slice of RateLimit_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*PutResponse_SdkV2) SetRateLimits added in v1.62.1

func (m *PutResponse_SdkV2) SetRateLimits(ctx context.Context, v []RateLimit_SdkV2)

SetRateLimits sets the value of the RateLimits field in PutResponse_SdkV2.

func (*PutResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PutResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PutResponse_SdkV2)

func (*PutResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PutResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PutResponse_SdkV2)

func (PutResponse_SdkV2) ToObjectValue added in v1.62.1

func (m PutResponse_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (PutResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryEndpointInput

type QueryEndpointInput struct {
	// Optional user-provided request identifier that will be recorded in the
	// inference table and the usage tracking table.
	ClientRequestId types.String `tfsdk:"client_request_id"`
	// Pandas Dataframe input in the records orientation.
	DataframeRecords types.List `tfsdk:"dataframe_records"`
	// Pandas Dataframe input in the split orientation.
	DataframeSplit types.Object `tfsdk:"dataframe_split"`
	// 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"`
	// 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"`
	// Tensor-based input in columnar format.
	Inputs types.Object `tfsdk:"inputs"`
	// Tensor-based input in row format.
	Instances types.List `tfsdk:"instances"`
	// 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"`
	// The messages field used ONLY for __chat external & foundation model__
	// serving endpoints. This is an array of ChatMessage objects and should
	// only be used with other chat query fields.
	Messages types.List `tfsdk:"messages"`
	// 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"`
	// The name of the serving endpoint. This field is required and is provided
	// via the path parameter.
	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"`
	// 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"`
	// 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"`
	// 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"`
	// Optional user-provided context that will be recorded in the usage
	// tracking table.
	UsageContext types.Map `tfsdk:"usage_context"`
}

func (QueryEndpointInput) ApplySchemaCustomizations added in v1.63.0

func (m QueryEndpointInput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryEndpointInput) GetComplexFieldTypes added in v1.61.0

func (m QueryEndpointInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

func (m *QueryEndpointInput) GetDataframeRecords(ctx context.Context) ([]types.Object, bool)

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 (m *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

func (m *QueryEndpointInput) GetExtraParams(ctx context.Context) (map[string]types.String, bool)

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

func (m *QueryEndpointInput) GetInstances(ctx context.Context) ([]types.Object, bool)

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 (m *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

func (m *QueryEndpointInput) GetStop(ctx context.Context) ([]types.String, bool)

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) GetUsageContext added in v1.87.0

func (m *QueryEndpointInput) GetUsageContext(ctx context.Context) (map[string]types.String, bool)

GetUsageContext returns the value of the UsageContext 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) SetDataframeRecords added in v1.61.0

func (m *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 (m *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

func (m *QueryEndpointInput) SetExtraParams(ctx context.Context, v map[string]types.String)

SetExtraParams sets the value of the ExtraParams field in QueryEndpointInput.

func (*QueryEndpointInput) SetInstances added in v1.61.0

func (m *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 (m *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 (m *QueryEndpointInput) SetStop(ctx context.Context, v []types.String)

SetStop sets the value of the Stop field in QueryEndpointInput.

func (*QueryEndpointInput) SetUsageContext added in v1.87.0

func (m *QueryEndpointInput) SetUsageContext(ctx context.Context, v map[string]types.String)

SetUsageContext sets the value of the UsageContext field in QueryEndpointInput.

func (*QueryEndpointInput) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *QueryEndpointInput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryEndpointInput)

func (*QueryEndpointInput) SyncFieldsDuringRead added in v1.91.0

func (to *QueryEndpointInput) SyncFieldsDuringRead(ctx context.Context, from QueryEndpointInput)

func (QueryEndpointInput) ToObjectValue added in v1.61.0

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().

func (QueryEndpointInput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type QueryEndpointInput_SdkV2 added in v1.62.1

type QueryEndpointInput_SdkV2 struct {
	// Optional user-provided request identifier that will be recorded in the
	// inference table and the usage tracking table.
	ClientRequestId types.String `tfsdk:"client_request_id"`
	// Pandas Dataframe input in the records orientation.
	DataframeRecords types.List `tfsdk:"dataframe_records"`
	// Pandas Dataframe input in the split orientation.
	DataframeSplit types.List `tfsdk:"dataframe_split"`
	// 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"`
	// 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"`
	// Tensor-based input in columnar format.
	Inputs types.Object `tfsdk:"inputs"`
	// Tensor-based input in row format.
	Instances types.List `tfsdk:"instances"`
	// 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"`
	// The messages field used ONLY for __chat external & foundation model__
	// serving endpoints. This is an array of ChatMessage objects and should
	// only be used with other chat query fields.
	Messages types.List `tfsdk:"messages"`
	// 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"`
	// The name of the serving endpoint. This field is required and is provided
	// via the path parameter.
	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"`
	// 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"`
	// 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"`
	// 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"`
	// Optional user-provided context that will be recorded in the usage
	// tracking table.
	UsageContext types.Map `tfsdk:"usage_context"`
}

func (QueryEndpointInput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryEndpointInput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryEndpointInput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryEndpointInput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetDataframeRecords added in v1.62.1

func (m *QueryEndpointInput_SdkV2) GetDataframeRecords(ctx context.Context) ([]types.Object, bool)

GetDataframeRecords returns the value of the DataframeRecords field in QueryEndpointInput_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) GetDataframeSplit added in v1.62.1

GetDataframeSplit returns the value of the DataframeSplit field in QueryEndpointInput_SdkV2 as a DataframeSplitInput_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) GetExtraParams added in v1.62.1

func (m *QueryEndpointInput_SdkV2) GetExtraParams(ctx context.Context) (map[string]types.String, bool)

GetExtraParams returns the value of the ExtraParams field in QueryEndpointInput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) GetInstances added in v1.62.1

func (m *QueryEndpointInput_SdkV2) GetInstances(ctx context.Context) ([]types.Object, bool)

GetInstances returns the value of the Instances field in QueryEndpointInput_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) GetMessages added in v1.62.1

GetMessages returns the value of the Messages field in QueryEndpointInput_SdkV2 as a slice of ChatMessage_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) GetStop added in v1.62.1

GetStop returns the value of the Stop field in QueryEndpointInput_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) GetUsageContext added in v1.87.0

func (m *QueryEndpointInput_SdkV2) GetUsageContext(ctx context.Context) (map[string]types.String, bool)

GetUsageContext returns the value of the UsageContext field in QueryEndpointInput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointInput_SdkV2) SetDataframeRecords added in v1.62.1

func (m *QueryEndpointInput_SdkV2) SetDataframeRecords(ctx context.Context, v []types.Object)

SetDataframeRecords sets the value of the DataframeRecords field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SetDataframeSplit added in v1.62.1

SetDataframeSplit sets the value of the DataframeSplit field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SetExtraParams added in v1.62.1

func (m *QueryEndpointInput_SdkV2) SetExtraParams(ctx context.Context, v map[string]types.String)

SetExtraParams sets the value of the ExtraParams field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SetInstances added in v1.62.1

func (m *QueryEndpointInput_SdkV2) SetInstances(ctx context.Context, v []types.Object)

SetInstances sets the value of the Instances field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SetMessages added in v1.62.1

func (m *QueryEndpointInput_SdkV2) SetMessages(ctx context.Context, v []ChatMessage_SdkV2)

SetMessages sets the value of the Messages field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SetStop added in v1.62.1

func (m *QueryEndpointInput_SdkV2) SetStop(ctx context.Context, v []types.String)

SetStop sets the value of the Stop field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SetUsageContext added in v1.87.0

func (m *QueryEndpointInput_SdkV2) SetUsageContext(ctx context.Context, v map[string]types.String)

SetUsageContext sets the value of the UsageContext field in QueryEndpointInput_SdkV2.

func (*QueryEndpointInput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *QueryEndpointInput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryEndpointInput_SdkV2)

func (*QueryEndpointInput_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *QueryEndpointInput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryEndpointInput_SdkV2)

func (QueryEndpointInput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (QueryEndpointInput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
	// The list of the embeddings returned by the __embeddings
	// external/foundation model__ serving endpoint.
	Data types.List `tfsdk:"data"`
	// The ID of the query that may be returned by a __completions or chat
	// external/foundation model__ serving endpoint.
	Id types.String `tfsdk:"id"`
	// 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"`
	// 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"`
	// The outputs of the feature serving endpoint.
	Outputs types.List `tfsdk:"outputs"`
	// The predictions returned by the serving endpoint.
	Predictions types.List `tfsdk:"predictions"`
	// 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.Object `tfsdk:"usage"`
}

func (QueryEndpointResponse) ApplySchemaCustomizations added in v1.63.0

func (m QueryEndpointResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*QueryEndpointResponse) GetChoices added in v1.61.0

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

func (m QueryEndpointResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

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) GetOutputs added in v1.104.0

func (m *QueryEndpointResponse) GetOutputs(ctx context.Context) ([]types.Object, bool)

GetOutputs returns the value of the Outputs 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) GetPredictions added in v1.61.0

func (m *QueryEndpointResponse) GetPredictions(ctx context.Context) ([]types.Object, bool)

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

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

SetChoices sets the value of the Choices field in QueryEndpointResponse.

func (*QueryEndpointResponse) SetData added in v1.61.0

SetData sets the value of the Data field in QueryEndpointResponse.

func (*QueryEndpointResponse) SetOutputs added in v1.104.0

func (m *QueryEndpointResponse) SetOutputs(ctx context.Context, v []types.Object)

SetOutputs sets the value of the Outputs field in QueryEndpointResponse.

func (*QueryEndpointResponse) SetPredictions added in v1.61.0

func (m *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

SetUsage sets the value of the Usage field in QueryEndpointResponse.

func (*QueryEndpointResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryEndpointResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryEndpointResponse)

func (*QueryEndpointResponse) SyncFieldsDuringRead added in v1.86.0

func (to *QueryEndpointResponse) SyncFieldsDuringRead(ctx context.Context, from QueryEndpointResponse)

func (QueryEndpointResponse) ToObjectValue added in v1.61.0

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().

func (QueryEndpointResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type QueryEndpointResponse_SdkV2 added in v1.62.1

type QueryEndpointResponse_SdkV2 struct {
	// The list of choices returned by the __chat or completions
	// external/foundation model__ serving endpoint.
	Choices types.List `tfsdk:"choices"`
	// 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"`
	// The list of the embeddings returned by the __embeddings
	// external/foundation model__ serving endpoint.
	Data types.List `tfsdk:"data"`
	// The ID of the query that may be returned by a __completions or chat
	// external/foundation model__ serving endpoint.
	Id types.String `tfsdk:"id"`
	// 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"`
	// 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"`
	// The outputs of the feature serving endpoint.
	Outputs types.List `tfsdk:"outputs"`
	// The predictions returned by the serving endpoint.
	Predictions types.List `tfsdk:"predictions"`
	// 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"`
}

func (QueryEndpointResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryEndpointResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*QueryEndpointResponse_SdkV2) GetChoices added in v1.62.1

GetChoices returns the value of the Choices field in QueryEndpointResponse_SdkV2 as a slice of V1ResponseChoiceElement_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (QueryEndpointResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryEndpointResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetData added in v1.62.1

GetData returns the value of the Data field in QueryEndpointResponse_SdkV2 as a slice of EmbeddingsV1ResponseEmbeddingElement_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointResponse_SdkV2) GetOutputs added in v1.104.0

func (m *QueryEndpointResponse_SdkV2) GetOutputs(ctx context.Context) ([]types.Object, bool)

GetOutputs returns the value of the Outputs field in QueryEndpointResponse_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointResponse_SdkV2) GetPredictions added in v1.62.1

func (m *QueryEndpointResponse_SdkV2) GetPredictions(ctx context.Context) ([]types.Object, bool)

GetPredictions returns the value of the Predictions field in QueryEndpointResponse_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointResponse_SdkV2) GetUsage added in v1.62.1

GetUsage returns the value of the Usage field in QueryEndpointResponse_SdkV2 as a ExternalModelUsageElement_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryEndpointResponse_SdkV2) SetChoices added in v1.62.1

SetChoices sets the value of the Choices field in QueryEndpointResponse_SdkV2.

func (*QueryEndpointResponse_SdkV2) SetData added in v1.62.1

SetData sets the value of the Data field in QueryEndpointResponse_SdkV2.

func (*QueryEndpointResponse_SdkV2) SetOutputs added in v1.104.0

func (m *QueryEndpointResponse_SdkV2) SetOutputs(ctx context.Context, v []types.Object)

SetOutputs sets the value of the Outputs field in QueryEndpointResponse_SdkV2.

func (*QueryEndpointResponse_SdkV2) SetPredictions added in v1.62.1

func (m *QueryEndpointResponse_SdkV2) SetPredictions(ctx context.Context, v []types.Object)

SetPredictions sets the value of the Predictions field in QueryEndpointResponse_SdkV2.

func (*QueryEndpointResponse_SdkV2) SetUsage added in v1.62.1

SetUsage sets the value of the Usage field in QueryEndpointResponse_SdkV2.

func (*QueryEndpointResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryEndpointResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryEndpointResponse_SdkV2)

func (*QueryEndpointResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryEndpointResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryEndpointResponse_SdkV2)

func (QueryEndpointResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (QueryEndpointResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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"`
	// 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"`
	// Renewal period field for a serving endpoint rate limit. Currently, only
	// 'minute' is supported.
	RenewalPeriod types.String `tfsdk:"renewal_period"`
}

func (RateLimit) ApplySchemaCustomizations added in v1.63.0

func (m RateLimit) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RateLimit) GetComplexFieldTypes added in v1.61.0

func (m RateLimit) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RateLimit) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RateLimit)

func (*RateLimit) SyncFieldsDuringRead added in v1.86.0

func (to *RateLimit) SyncFieldsDuringRead(ctx context.Context, from RateLimit)

func (RateLimit) ToObjectValue added in v1.61.0

func (m 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().

func (RateLimit) Type added in v1.61.0

func (m RateLimit) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RateLimit_SdkV2 added in v1.62.1

type RateLimit_SdkV2 struct {
	// Used to specify how many calls are allowed for a key within the
	// renewal_period.
	Calls types.Int64 `tfsdk:"calls"`
	// 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"`
	// Renewal period field for a serving endpoint rate limit. Currently, only
	// 'minute' is supported.
	RenewalPeriod types.String `tfsdk:"renewal_period"`
}

func (RateLimit_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m RateLimit_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RateLimit_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RateLimit_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RateLimit_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RateLimit_SdkV2)

func (*RateLimit_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *RateLimit_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RateLimit_SdkV2)

func (RateLimit_SdkV2) ToObjectValue added in v1.62.1

func (m RateLimit_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (RateLimit_SdkV2) Type added in v1.62.1

func (m RateLimit_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Route

type Route struct {
	ServedEntityName types.String `tfsdk:"served_entity_name"`
	// The name of the served model this route configures traffic for.
	ServedModelName types.String `tfsdk:"served_model_name"`
	// 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"`
}

func (Route) ApplySchemaCustomizations added in v1.63.0

func (m Route) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Route) GetComplexFieldTypes added in v1.61.0

func (m Route) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Route) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Route)

func (*Route) SyncFieldsDuringRead added in v1.86.0

func (to *Route) SyncFieldsDuringRead(ctx context.Context, from Route)

func (Route) ToObjectValue added in v1.61.0

func (m 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().

func (Route) Type added in v1.61.0

func (m Route) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Route_SdkV2 added in v1.62.1

type Route_SdkV2 struct {
	ServedEntityName types.String `tfsdk:"served_entity_name"`
	// The name of the served model this route configures traffic for.
	ServedModelName types.String `tfsdk:"served_model_name"`
	// 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"`
}

func (Route_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Route_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Route_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Route_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Route_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Route_SdkV2)

func (*Route_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Route_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Route_SdkV2)

func (Route_SdkV2) ToObjectValue added in v1.62.1

func (m Route_SdkV2) 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_SdkV2 only implements ToObjectValue() and Type().

func (Route_SdkV2) Type added in v1.62.1

func (m Route_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ServedEntityInput

type ServedEntityInput struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`
	// 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"`

	EntityVersion types.String `tfsdk:"entity_version"`
	// 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"`
	// 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.Object `tfsdk:"external_model"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The maximum tokens per second that the endpoint can scale up to.
	MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`
	// The minimum tokens per second that the endpoint can scale down to.
	MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedEntityInput) ApplySchemaCustomizations added in v1.63.0

func (m ServedEntityInput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedEntityInput) GetComplexFieldTypes added in v1.61.0

func (m ServedEntityInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

func (m *ServedEntityInput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

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 (m *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

func (m *ServedEntityInput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedEntityInput.

func (*ServedEntityInput) SetExternalModel added in v1.61.0

func (m *ServedEntityInput) SetExternalModel(ctx context.Context, v ExternalModel)

SetExternalModel sets the value of the ExternalModel field in ServedEntityInput.

func (*ServedEntityInput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedEntityInput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedEntityInput)

func (*ServedEntityInput) SyncFieldsDuringRead added in v1.86.0

func (to *ServedEntityInput) SyncFieldsDuringRead(ctx context.Context, from ServedEntityInput)

func (ServedEntityInput) ToObjectValue added in v1.61.0

func (m 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().

func (ServedEntityInput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServedEntityInput_SdkV2 added in v1.62.1

type ServedEntityInput_SdkV2 struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`
	// 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"`

	EntityVersion types.String `tfsdk:"entity_version"`
	// 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"`
	// 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"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The maximum tokens per second that the endpoint can scale up to.
	MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`
	// The minimum tokens per second that the endpoint can scale down to.
	MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedEntityInput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedEntityInput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedEntityInput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedEntityInput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetEnvironmentVars added in v1.62.1

func (m *ServedEntityInput_SdkV2) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

GetEnvironmentVars returns the value of the EnvironmentVars field in ServedEntityInput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ServedEntityInput_SdkV2) GetExternalModel added in v1.62.1

func (m *ServedEntityInput_SdkV2) GetExternalModel(ctx context.Context) (ExternalModel_SdkV2, bool)

GetExternalModel returns the value of the ExternalModel field in ServedEntityInput_SdkV2 as a ExternalModel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedEntityInput_SdkV2) SetEnvironmentVars added in v1.62.1

func (m *ServedEntityInput_SdkV2) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedEntityInput_SdkV2.

func (*ServedEntityInput_SdkV2) SetExternalModel added in v1.62.1

func (m *ServedEntityInput_SdkV2) SetExternalModel(ctx context.Context, v ExternalModel_SdkV2)

SetExternalModel sets the value of the ExternalModel field in ServedEntityInput_SdkV2.

func (*ServedEntityInput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedEntityInput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedEntityInput_SdkV2)

func (*ServedEntityInput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedEntityInput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedEntityInput_SdkV2)

func (ServedEntityInput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedEntityInput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServedEntityOutput

type ServedEntityOutput struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`

	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`

	Creator types.String `tfsdk:"creator"`
	// 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"`

	EntityVersion types.String `tfsdk:"entity_version"`
	// 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"`
	// 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.Object `tfsdk:"external_model"`

	FoundationModel types.Object `tfsdk:"foundation_model"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The maximum tokens per second that the endpoint can scale up to.
	MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`
	// The minimum tokens per second that the endpoint can scale down to.
	MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`

	State types.Object `tfsdk:"state"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedEntityOutput) ApplySchemaCustomizations added in v1.63.0

func (m ServedEntityOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedEntityOutput) GetComplexFieldTypes added in v1.61.0

func (m ServedEntityOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *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 (m *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

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

func (m *ServedEntityOutput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedEntityOutput.

func (*ServedEntityOutput) SetExternalModel added in v1.61.0

func (m *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 (m *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 (m *ServedEntityOutput) SetState(ctx context.Context, v ServedModelState)

SetState sets the value of the State field in ServedEntityOutput.

func (*ServedEntityOutput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedEntityOutput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedEntityOutput)

func (*ServedEntityOutput) SyncFieldsDuringRead added in v1.86.0

func (to *ServedEntityOutput) SyncFieldsDuringRead(ctx context.Context, from ServedEntityOutput)

func (ServedEntityOutput) ToObjectValue added in v1.61.0

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().

func (ServedEntityOutput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServedEntityOutput_SdkV2 added in v1.62.1

type ServedEntityOutput_SdkV2 struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`

	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`

	Creator types.String `tfsdk:"creator"`
	// 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"`

	EntityVersion types.String `tfsdk:"entity_version"`
	// 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"`
	// 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"`

	FoundationModel types.List `tfsdk:"foundation_model"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The maximum tokens per second that the endpoint can scale up to.
	MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`
	// The minimum tokens per second that the endpoint can scale down to.
	MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`

	State types.List `tfsdk:"state"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedEntityOutput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedEntityOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedEntityOutput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedEntityOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetEnvironmentVars added in v1.62.1

func (m *ServedEntityOutput_SdkV2) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

GetEnvironmentVars returns the value of the EnvironmentVars field in ServedEntityOutput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ServedEntityOutput_SdkV2) GetExternalModel added in v1.62.1

func (m *ServedEntityOutput_SdkV2) GetExternalModel(ctx context.Context) (ExternalModel_SdkV2, bool)

GetExternalModel returns the value of the ExternalModel field in ServedEntityOutput_SdkV2 as a ExternalModel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedEntityOutput_SdkV2) GetFoundationModel added in v1.62.1

func (m *ServedEntityOutput_SdkV2) GetFoundationModel(ctx context.Context) (FoundationModel_SdkV2, bool)

GetFoundationModel returns the value of the FoundationModel field in ServedEntityOutput_SdkV2 as a FoundationModel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedEntityOutput_SdkV2) GetState added in v1.62.1

GetState returns the value of the State field in ServedEntityOutput_SdkV2 as a ServedModelState_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedEntityOutput_SdkV2) SetEnvironmentVars added in v1.62.1

func (m *ServedEntityOutput_SdkV2) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedEntityOutput_SdkV2.

func (*ServedEntityOutput_SdkV2) SetExternalModel added in v1.62.1

func (m *ServedEntityOutput_SdkV2) SetExternalModel(ctx context.Context, v ExternalModel_SdkV2)

SetExternalModel sets the value of the ExternalModel field in ServedEntityOutput_SdkV2.

func (*ServedEntityOutput_SdkV2) SetFoundationModel added in v1.62.1

func (m *ServedEntityOutput_SdkV2) SetFoundationModel(ctx context.Context, v FoundationModel_SdkV2)

SetFoundationModel sets the value of the FoundationModel field in ServedEntityOutput_SdkV2.

func (*ServedEntityOutput_SdkV2) SetState added in v1.62.1

SetState sets the value of the State field in ServedEntityOutput_SdkV2.

func (*ServedEntityOutput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedEntityOutput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedEntityOutput_SdkV2)

func (*ServedEntityOutput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedEntityOutput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedEntityOutput_SdkV2)

func (ServedEntityOutput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedEntityOutput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServedEntitySpec

type ServedEntitySpec struct {
	EntityName types.String `tfsdk:"entity_name"`

	EntityVersion types.String `tfsdk:"entity_version"`

	ExternalModel types.Object `tfsdk:"external_model"`

	FoundationModel types.Object `tfsdk:"foundation_model"`

	Name types.String `tfsdk:"name"`
}

func (ServedEntitySpec) ApplySchemaCustomizations added in v1.63.0

func (m ServedEntitySpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedEntitySpec) GetComplexFieldTypes added in v1.61.0

func (m ServedEntitySpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *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 (m *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 (m *ServedEntitySpec) SetFoundationModel(ctx context.Context, v FoundationModel)

SetFoundationModel sets the value of the FoundationModel field in ServedEntitySpec.

func (*ServedEntitySpec) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedEntitySpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedEntitySpec)

func (*ServedEntitySpec) SyncFieldsDuringRead added in v1.86.0

func (to *ServedEntitySpec) SyncFieldsDuringRead(ctx context.Context, from ServedEntitySpec)

func (ServedEntitySpec) ToObjectValue added in v1.61.0

func (m 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().

func (ServedEntitySpec) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServedEntitySpec_SdkV2 added in v1.62.1

type ServedEntitySpec_SdkV2 struct {
	EntityName types.String `tfsdk:"entity_name"`

	EntityVersion types.String `tfsdk:"entity_version"`

	ExternalModel types.List `tfsdk:"external_model"`

	FoundationModel types.List `tfsdk:"foundation_model"`

	Name types.String `tfsdk:"name"`
}

func (ServedEntitySpec_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedEntitySpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedEntitySpec_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedEntitySpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetExternalModel added in v1.62.1

func (m *ServedEntitySpec_SdkV2) GetExternalModel(ctx context.Context) (ExternalModel_SdkV2, bool)

GetExternalModel returns the value of the ExternalModel field in ServedEntitySpec_SdkV2 as a ExternalModel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedEntitySpec_SdkV2) GetFoundationModel added in v1.62.1

func (m *ServedEntitySpec_SdkV2) GetFoundationModel(ctx context.Context) (FoundationModel_SdkV2, bool)

GetFoundationModel returns the value of the FoundationModel field in ServedEntitySpec_SdkV2 as a FoundationModel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedEntitySpec_SdkV2) SetExternalModel added in v1.62.1

func (m *ServedEntitySpec_SdkV2) SetExternalModel(ctx context.Context, v ExternalModel_SdkV2)

SetExternalModel sets the value of the ExternalModel field in ServedEntitySpec_SdkV2.

func (*ServedEntitySpec_SdkV2) SetFoundationModel added in v1.62.1

func (m *ServedEntitySpec_SdkV2) SetFoundationModel(ctx context.Context, v FoundationModel_SdkV2)

SetFoundationModel sets the value of the FoundationModel field in ServedEntitySpec_SdkV2.

func (*ServedEntitySpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedEntitySpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedEntitySpec_SdkV2)

func (*ServedEntitySpec_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedEntitySpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedEntitySpec_SdkV2)

func (ServedEntitySpec_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedEntitySpec_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServedModelInput

type ServedModelInput struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`
	// 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"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The maximum tokens per second that the endpoint can scale up to.
	MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`
	// The minimum tokens per second that the endpoint can scale down to.
	MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput"`

	ModelName types.String `tfsdk:"model_name"`

	ModelVersion types.String `tfsdk:"model_version"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedModelInput) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelInput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelInput) GetComplexFieldTypes added in v1.61.0

func (m ServedModelInput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

func (m *ServedModelInput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

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

func (m *ServedModelInput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedModelInput.

func (*ServedModelInput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelInput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelInput)

func (*ServedModelInput) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelInput) SyncFieldsDuringRead(ctx context.Context, from ServedModelInput)

func (ServedModelInput) ToObjectValue added in v1.61.0

func (m 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().

func (ServedModelInput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServedModelInput_SdkV2 added in v1.62.1

type ServedModelInput_SdkV2 struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`
	// 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"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The maximum tokens per second that the endpoint can scale up to.
	MaxProvisionedThroughput types.Int64 `tfsdk:"max_provisioned_throughput"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`
	// The minimum tokens per second that the endpoint can scale down to.
	MinProvisionedThroughput types.Int64 `tfsdk:"min_provisioned_throughput"`

	ModelName types.String `tfsdk:"model_name"`

	ModelVersion types.String `tfsdk:"model_version"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedModelInput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelInput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelInput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedModelInput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetEnvironmentVars added in v1.62.1

func (m *ServedModelInput_SdkV2) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

GetEnvironmentVars returns the value of the EnvironmentVars field in ServedModelInput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ServedModelInput_SdkV2) SetEnvironmentVars added in v1.62.1

func (m *ServedModelInput_SdkV2) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedModelInput_SdkV2.

func (*ServedModelInput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelInput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelInput_SdkV2)

func (*ServedModelInput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelInput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedModelInput_SdkV2)

func (ServedModelInput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedModelInput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServedModelOutput

type ServedModelOutput struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`

	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`

	Creator types.String `tfsdk:"creator"`
	// 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"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`

	ModelName types.String `tfsdk:"model_name"`

	ModelVersion types.String `tfsdk:"model_version"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`

	State types.Object `tfsdk:"state"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedModelOutput) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelOutput) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelOutput) GetComplexFieldTypes added in v1.61.0

func (m ServedModelOutput) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

func (m *ServedModelOutput) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

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

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

func (m *ServedModelOutput) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedModelOutput.

func (*ServedModelOutput) SetState added in v1.61.0

func (m *ServedModelOutput) SetState(ctx context.Context, v ServedModelState)

SetState sets the value of the State field in ServedModelOutput.

func (*ServedModelOutput) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelOutput) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelOutput)

func (*ServedModelOutput) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelOutput) SyncFieldsDuringRead(ctx context.Context, from ServedModelOutput)

func (ServedModelOutput) ToObjectValue added in v1.61.0

func (m 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().

func (ServedModelOutput) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServedModelOutput_SdkV2 added in v1.62.1

type ServedModelOutput_SdkV2 struct {
	// Whether burst scaling is enabled. When enabled (default), the endpoint
	// can automatically scale up beyond provisioned capacity to handle traffic
	// spikes. When disabled, the endpoint maintains fixed capacity at
	// provisioned_model_units.
	BurstScalingEnabled types.Bool `tfsdk:"burst_scaling_enabled"`

	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`

	Creator types.String `tfsdk:"creator"`
	// 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"`
	// ARN of the instance profile that the served entity uses to access AWS
	// resources.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The maximum provisioned concurrency that the endpoint can scale up to. Do
	// not use if workload_size is specified.
	MaxProvisionedConcurrency types.Int64 `tfsdk:"max_provisioned_concurrency"`
	// The minimum provisioned concurrency that the endpoint can scale down to.
	// Do not use if workload_size is specified.
	MinProvisionedConcurrency types.Int64 `tfsdk:"min_provisioned_concurrency"`

	ModelName types.String `tfsdk:"model_name"`

	ModelVersion types.String `tfsdk:"model_version"`
	// 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"`
	// The number of model units provisioned.
	ProvisionedModelUnits types.Int64 `tfsdk:"provisioned_model_units"`
	// Whether the compute resources for the served entity should scale down to
	// zero.
	ScaleToZeroEnabled types.Bool `tfsdk:"scale_to_zero_enabled"`

	State types.List `tfsdk:"state"`
	// 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). Additional custom workload sizes can also be
	// used when available in the workspace. If scale-to-zero is enabled, the
	// lower bound of the provisioned concurrency for each workload size is 0.
	// Do not use if min_provisioned_concurrency and max_provisioned_concurrency
	// are specified.
	WorkloadSize types.String `tfsdk:"workload_size"`
	// 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/en/machine-learning/model-serving/create-manage-serving-endpoints.html#gpu-workload-types
	WorkloadType types.String `tfsdk:"workload_type"`
}

func (ServedModelOutput_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelOutput_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelOutput_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedModelOutput_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetEnvironmentVars added in v1.62.1

func (m *ServedModelOutput_SdkV2) GetEnvironmentVars(ctx context.Context) (map[string]types.String, bool)

GetEnvironmentVars returns the value of the EnvironmentVars field in ServedModelOutput_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ServedModelOutput_SdkV2) GetState added in v1.62.1

GetState returns the value of the State field in ServedModelOutput_SdkV2 as a ServedModelState_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServedModelOutput_SdkV2) SetEnvironmentVars added in v1.62.1

func (m *ServedModelOutput_SdkV2) SetEnvironmentVars(ctx context.Context, v map[string]types.String)

SetEnvironmentVars sets the value of the EnvironmentVars field in ServedModelOutput_SdkV2.

func (*ServedModelOutput_SdkV2) SetState added in v1.62.1

SetState sets the value of the State field in ServedModelOutput_SdkV2.

func (*ServedModelOutput_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelOutput_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelOutput_SdkV2)

func (*ServedModelOutput_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelOutput_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedModelOutput_SdkV2)

func (ServedModelOutput_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedModelOutput_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServedModelSpec

type ServedModelSpec struct {
	// Only one of model_name and entity_name should be populated
	ModelName types.String `tfsdk:"model_name"`
	// Only one of model_version and entity_version should be populated
	ModelVersion types.String `tfsdk:"model_version"`

	Name types.String `tfsdk:"name"`
}

func (ServedModelSpec) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelSpec) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelSpec) GetComplexFieldTypes added in v1.61.0

func (m ServedModelSpec) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelSpec) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelSpec)

func (*ServedModelSpec) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelSpec) SyncFieldsDuringRead(ctx context.Context, from ServedModelSpec)

func (ServedModelSpec) ToObjectValue added in v1.61.0

func (m 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().

func (ServedModelSpec) Type added in v1.61.0

func (m ServedModelSpec) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ServedModelSpec_SdkV2 added in v1.62.1

type ServedModelSpec_SdkV2 struct {
	// Only one of model_name and entity_name should be populated
	ModelName types.String `tfsdk:"model_name"`
	// Only one of model_version and entity_version should be populated
	ModelVersion types.String `tfsdk:"model_version"`

	Name types.String `tfsdk:"name"`
}

func (ServedModelSpec_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelSpec_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelSpec_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedModelSpec_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelSpec_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelSpec_SdkV2)

func (*ServedModelSpec_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelSpec_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedModelSpec_SdkV2)

func (ServedModelSpec_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedModelSpec_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServedModelState

type ServedModelState struct {
	Deployment types.String `tfsdk:"deployment"`

	DeploymentStateMessage types.String `tfsdk:"deployment_state_message"`
}

func (ServedModelState) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelState) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelState) GetComplexFieldTypes added in v1.61.0

func (m ServedModelState) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelState) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelState)

func (*ServedModelState) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelState) SyncFieldsDuringRead(ctx context.Context, from ServedModelState)

func (ServedModelState) ToObjectValue added in v1.61.0

func (m 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().

func (ServedModelState) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServedModelState_SdkV2 added in v1.62.1

type ServedModelState_SdkV2 struct {
	Deployment types.String `tfsdk:"deployment"`

	DeploymentStateMessage types.String `tfsdk:"deployment_state_message"`
}

func (ServedModelState_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServedModelState_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServedModelState_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServedModelState_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServedModelState_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServedModelState_SdkV2)

func (*ServedModelState_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServedModelState_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServedModelState_SdkV2)

func (ServedModelState_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServedModelState_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServerLogsResponse

type ServerLogsResponse struct {
	// The most recent log lines of the model server processing invocation
	// requests.
	Logs types.String `tfsdk:"logs"`
}

func (ServerLogsResponse) ApplySchemaCustomizations added in v1.63.0

func (m ServerLogsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServerLogsResponse) GetComplexFieldTypes added in v1.61.0

func (m ServerLogsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServerLogsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServerLogsResponse)

func (*ServerLogsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ServerLogsResponse) SyncFieldsDuringRead(ctx context.Context, from ServerLogsResponse)

func (ServerLogsResponse) ToObjectValue added in v1.61.0

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().

func (ServerLogsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServerLogsResponse_SdkV2 added in v1.62.1

type ServerLogsResponse_SdkV2 struct {
	// The most recent log lines of the model server processing invocation
	// requests.
	Logs types.String `tfsdk:"logs"`
}

func (ServerLogsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServerLogsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServerLogsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServerLogsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServerLogsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServerLogsResponse_SdkV2)

func (*ServerLogsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServerLogsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServerLogsResponse_SdkV2)

func (ServerLogsResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServerLogsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpoint

type ServingEndpoint struct {
	// The AI Gateway configuration for the serving endpoint. NOTE: External
	// model, provisioned throughput, and pay-per-token endpoints are fully
	// supported; agent endpoints currently only support inference tables.
	AiGateway types.Object `tfsdk:"ai_gateway"`
	// The budget policy associated with the endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The config that is currently being served by the endpoint.
	Config types.Object `tfsdk:"config"`
	// The timestamp when the endpoint was created in Unix time.
	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`
	// The email of the user who created the serving endpoint.
	Creator types.String `tfsdk:"creator"`
	// Description of the endpoint
	Description types.String `tfsdk:"description"`
	// System-generated ID of the endpoint, included to be used by the
	// Permissions API.
	Id types.String `tfsdk:"id"`
	// The timestamp when the endpoint was last updated by a user in Unix time.
	LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp"`
	// The name of the serving endpoint.
	Name types.String `tfsdk:"name"`
	// Information corresponding to the state of the serving endpoint.
	State types.Object `tfsdk:"state"`
	// Tags attached to the serving endpoint.
	Tags types.List `tfsdk:"tags"`
	// The task type of the serving endpoint.
	Task types.String `tfsdk:"task"`
	// The usage policy associated with serving endpoint.
	UsagePolicyId types.String `tfsdk:"usage_policy_id"`
}

func (ServingEndpoint) ApplySchemaCustomizations added in v1.63.0

func (m ServingEndpoint) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ServingEndpoint) GetAiGateway added in v1.61.0

func (m *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

func (m ServingEndpoint) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

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 (m *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 (m *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 (m *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

SetConfig sets the value of the Config field in ServingEndpoint.

func (*ServingEndpoint) SetState added in v1.61.0

func (m *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 (m *ServingEndpoint) SetTags(ctx context.Context, v []EndpointTag)

SetTags sets the value of the Tags field in ServingEndpoint.

func (*ServingEndpoint) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpoint) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpoint)

func (*ServingEndpoint) SyncFieldsDuringRead added in v1.86.0

func (to *ServingEndpoint) SyncFieldsDuringRead(ctx context.Context, from ServingEndpoint)

func (ServingEndpoint) ToObjectValue added in v1.61.0

func (m 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().

func (ServingEndpoint) Type added in v1.61.0

func (m ServingEndpoint) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ServingEndpointAccessControlRequest

type ServingEndpointAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ServingEndpointAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

func (ServingEndpointAccessControlRequest) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointAccessControlRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointAccessControlRequest)

func (*ServingEndpointAccessControlRequest) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointAccessControlRequest) ToObjectValue added in v1.61.0

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().

func (ServingEndpointAccessControlRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointAccessControlRequest_SdkV2 added in v1.62.1

type ServingEndpointAccessControlRequest_SdkV2 struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ServingEndpointAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ServingEndpointAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ServingEndpointAccessControlRequest_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointAccessControlRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointAccessControlRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpointAccessControlResponse

type ServingEndpointAccessControlResponse struct {
	// All permissions.
	AllPermissions types.List `tfsdk:"all_permissions"`
	// Display name of the user or service principal.
	DisplayName types.String `tfsdk:"display_name"`
	// name of the group
	GroupName types.String `tfsdk:"group_name"`
	// Name of the service principal.
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ServingEndpointAccessControlResponse) ApplySchemaCustomizations added in v1.63.0

func (*ServingEndpointAccessControlResponse) GetAllPermissions added in v1.61.0

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 (m 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

SetAllPermissions sets the value of the AllPermissions field in ServingEndpointAccessControlResponse.

func (*ServingEndpointAccessControlResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointAccessControlResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointAccessControlResponse)

func (*ServingEndpointAccessControlResponse) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointAccessControlResponse) ToObjectValue added in v1.61.0

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().

func (ServingEndpointAccessControlResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointAccessControlResponse_SdkV2 added in v1.62.1

type ServingEndpointAccessControlResponse_SdkV2 struct {
	// All permissions.
	AllPermissions types.List `tfsdk:"all_permissions"`
	// Display name of the user or service principal.
	DisplayName types.String `tfsdk:"display_name"`
	// name of the group
	GroupName types.String `tfsdk:"group_name"`
	// Name of the service principal.
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ServingEndpointAccessControlResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ServingEndpointAccessControlResponse_SdkV2) GetAllPermissions added in v1.62.1

GetAllPermissions returns the value of the AllPermissions field in ServingEndpointAccessControlResponse_SdkV2 as a slice of ServingEndpointPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ServingEndpointAccessControlResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) SetAllPermissions added in v1.62.1

SetAllPermissions sets the value of the AllPermissions field in ServingEndpointAccessControlResponse_SdkV2.

func (*ServingEndpointAccessControlResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ServingEndpointAccessControlResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointAccessControlResponse_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointAccessControlResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpointDetailed

type ServingEndpointDetailed struct {
	// The AI Gateway configuration for the serving endpoint. NOTE: External
	// model, provisioned throughput, and pay-per-token endpoints are fully
	// supported; agent endpoints currently only support inference tables.
	AiGateway types.Object `tfsdk:"ai_gateway"`
	// The budget policy associated with the endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The config that is currently being served by the endpoint.
	Config types.Object `tfsdk:"config"`
	// The timestamp when the endpoint was created in Unix time.
	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`
	// The email of the user who created the serving endpoint.
	Creator types.String `tfsdk:"creator"`
	// Information required to query DataPlane APIs.
	DataPlaneInfo types.Object `tfsdk:"data_plane_info"`
	// Description of the serving model
	Description types.String `tfsdk:"description"`
	// Email notification settings.
	EmailNotifications types.Object `tfsdk:"email_notifications"`
	// Endpoint invocation url if route optimization is enabled for endpoint
	EndpointUrl types.String `tfsdk:"endpoint_url"`
	// System-generated ID of the endpoint. This is used to refer to the
	// endpoint in the Permissions API
	Id types.String `tfsdk:"id"`
	// The timestamp when the endpoint was last updated by a user in Unix time.
	LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp"`
	// The name of the serving endpoint.
	Name types.String `tfsdk:"name"`
	// The config that the endpoint is attempting to update to.
	PendingConfig types.Object `tfsdk:"pending_config"`
	// The permission level of the principal making the request.
	PermissionLevel types.String `tfsdk:"permission_level"`
	// Boolean representing if route optimization has been enabled for the
	// endpoint
	RouteOptimized types.Bool `tfsdk:"route_optimized"`
	// Information corresponding to the state of the serving endpoint.
	State types.Object `tfsdk:"state"`
	// Tags attached to the serving endpoint.
	Tags types.List `tfsdk:"tags"`
	// The task type of the serving endpoint.
	Task types.String `tfsdk:"task"`
}

func (ServingEndpointDetailed) ApplySchemaCustomizations added in v1.63.0

func (m ServingEndpointDetailed) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ServingEndpointDetailed) GetAiGateway added in v1.61.0

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

func (m ServingEndpointDetailed) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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

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 (m *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) GetEmailNotifications added in v1.86.0

func (m *ServingEndpointDetailed) GetEmailNotifications(ctx context.Context) (EmailNotifications, bool)

GetEmailNotifications returns the value of the EmailNotifications field in ServingEndpointDetailed as a EmailNotifications value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed) GetPendingConfig added in v1.61.0

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

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

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 (m *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

SetConfig sets the value of the Config field in ServingEndpointDetailed.

func (*ServingEndpointDetailed) SetDataPlaneInfo added in v1.61.0

func (m *ServingEndpointDetailed) SetDataPlaneInfo(ctx context.Context, v ModelDataPlaneInfo)

SetDataPlaneInfo sets the value of the DataPlaneInfo field in ServingEndpointDetailed.

func (*ServingEndpointDetailed) SetEmailNotifications added in v1.86.0

func (m *ServingEndpointDetailed) SetEmailNotifications(ctx context.Context, v EmailNotifications)

SetEmailNotifications sets the value of the EmailNotifications field in ServingEndpointDetailed.

func (*ServingEndpointDetailed) SetPendingConfig added in v1.61.0

func (m *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

SetState sets the value of the State field in ServingEndpointDetailed.

func (*ServingEndpointDetailed) SetTags added in v1.61.0

func (m *ServingEndpointDetailed) SetTags(ctx context.Context, v []EndpointTag)

SetTags sets the value of the Tags field in ServingEndpointDetailed.

func (*ServingEndpointDetailed) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointDetailed) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointDetailed)

func (*ServingEndpointDetailed) SyncFieldsDuringRead added in v1.86.0

func (to *ServingEndpointDetailed) SyncFieldsDuringRead(ctx context.Context, from ServingEndpointDetailed)

func (ServingEndpointDetailed) ToObjectValue added in v1.61.0

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().

func (ServingEndpointDetailed) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointDetailed_SdkV2 added in v1.62.1

type ServingEndpointDetailed_SdkV2 struct {
	// The AI Gateway configuration for the serving endpoint. NOTE: External
	// model, provisioned throughput, and pay-per-token endpoints are fully
	// supported; agent endpoints currently only support inference tables.
	AiGateway types.List `tfsdk:"ai_gateway"`
	// The budget policy associated with the endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The config that is currently being served by the endpoint.
	Config types.List `tfsdk:"config"`
	// The timestamp when the endpoint was created in Unix time.
	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`
	// The email of the user who created the serving endpoint.
	Creator types.String `tfsdk:"creator"`
	// Information required to query DataPlane APIs.
	DataPlaneInfo types.List `tfsdk:"data_plane_info"`
	// Description of the serving model
	Description types.String `tfsdk:"description"`
	// Email notification settings.
	EmailNotifications types.List `tfsdk:"email_notifications"`
	// Endpoint invocation url if route optimization is enabled for endpoint
	EndpointUrl types.String `tfsdk:"endpoint_url"`
	// System-generated ID of the endpoint. This is used to refer to the
	// endpoint in the Permissions API
	Id types.String `tfsdk:"id"`
	// The timestamp when the endpoint was last updated by a user in Unix time.
	LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp"`
	// The name of the serving endpoint.
	Name types.String `tfsdk:"name"`
	// The config that the endpoint is attempting to update to.
	PendingConfig types.List `tfsdk:"pending_config"`
	// The permission level of the principal making the request.
	PermissionLevel types.String `tfsdk:"permission_level"`
	// Boolean representing if route optimization has been enabled for the
	// endpoint
	RouteOptimized types.Bool `tfsdk:"route_optimized"`
	// Information corresponding to the state of the serving endpoint.
	State types.List `tfsdk:"state"`
	// Tags attached to the serving endpoint.
	Tags types.List `tfsdk:"tags"`
	// The task type of the serving endpoint.
	Task types.String `tfsdk:"task"`
}

func (ServingEndpointDetailed_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ServingEndpointDetailed_SdkV2) GetAiGateway added in v1.62.1

GetAiGateway returns the value of the AiGateway field in ServingEndpointDetailed_SdkV2 as a AiGatewayConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ServingEndpointDetailed_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServingEndpointDetailed_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetConfig added in v1.62.1

GetConfig returns the value of the Config field in ServingEndpointDetailed_SdkV2 as a EndpointCoreConfigOutput_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed_SdkV2) GetDataPlaneInfo added in v1.62.1

GetDataPlaneInfo returns the value of the DataPlaneInfo field in ServingEndpointDetailed_SdkV2 as a ModelDataPlaneInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed_SdkV2) GetEmailNotifications added in v1.86.0

GetEmailNotifications returns the value of the EmailNotifications field in ServingEndpointDetailed_SdkV2 as a EmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed_SdkV2) GetPendingConfig added in v1.62.1

GetPendingConfig returns the value of the PendingConfig field in ServingEndpointDetailed_SdkV2 as a EndpointPendingConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed_SdkV2) GetState added in v1.62.1

GetState returns the value of the State field in ServingEndpointDetailed_SdkV2 as a EndpointState_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed_SdkV2) GetTags added in v1.62.1

GetTags returns the value of the Tags field in ServingEndpointDetailed_SdkV2 as a slice of EndpointTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointDetailed_SdkV2) SetAiGateway added in v1.62.1

SetAiGateway sets the value of the AiGateway field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SetConfig added in v1.62.1

SetConfig sets the value of the Config field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SetDataPlaneInfo added in v1.62.1

SetDataPlaneInfo sets the value of the DataPlaneInfo field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SetEmailNotifications added in v1.86.0

func (m *ServingEndpointDetailed_SdkV2) SetEmailNotifications(ctx context.Context, v EmailNotifications_SdkV2)

SetEmailNotifications sets the value of the EmailNotifications field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SetPendingConfig added in v1.62.1

SetPendingConfig sets the value of the PendingConfig field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SetState added in v1.62.1

SetState sets the value of the State field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in ServingEndpointDetailed_SdkV2.

func (*ServingEndpointDetailed_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointDetailed_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointDetailed_SdkV2)

func (*ServingEndpointDetailed_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServingEndpointDetailed_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServingEndpointDetailed_SdkV2)

func (ServingEndpointDetailed_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointDetailed_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpointPermission

type ServingEndpointPermission struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ServingEndpointPermission) ApplySchemaCustomizations added in v1.63.0

func (m ServingEndpointPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServingEndpointPermission) GetComplexFieldTypes added in v1.61.0

func (m 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 (m *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 (m *ServingEndpointPermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ServingEndpointPermission.

func (*ServingEndpointPermission) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointPermission) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointPermission)

func (*ServingEndpointPermission) SyncFieldsDuringRead added in v1.86.0

func (to *ServingEndpointPermission) SyncFieldsDuringRead(ctx context.Context, from ServingEndpointPermission)

func (ServingEndpointPermission) ToObjectValue added in v1.61.0

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().

func (ServingEndpointPermission) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointPermission_SdkV2 added in v1.62.1

type ServingEndpointPermission_SdkV2 struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ServingEndpointPermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ServingEndpointPermission_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServingEndpointPermission_SdkV2) 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_SdkV2) GetInheritedFromObject added in v1.62.1

func (m *ServingEndpointPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in ServingEndpointPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpointPermission_SdkV2) SetInheritedFromObject added in v1.62.1

func (m *ServingEndpointPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ServingEndpointPermission_SdkV2.

func (*ServingEndpointPermission_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointPermission_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointPermission_SdkV2)

func (*ServingEndpointPermission_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointPermission_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointPermission_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpointPermissions

type ServingEndpointPermissions struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (ServingEndpointPermissions) ApplySchemaCustomizations added in v1.63.0

func (m ServingEndpointPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ServingEndpointPermissions) GetAccessControlList added in v1.61.0

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 (m 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

SetAccessControlList sets the value of the AccessControlList field in ServingEndpointPermissions.

func (*ServingEndpointPermissions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointPermissions) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointPermissions)

func (*ServingEndpointPermissions) SyncFieldsDuringRead added in v1.86.0

func (to *ServingEndpointPermissions) SyncFieldsDuringRead(ctx context.Context, from ServingEndpointPermissions)

func (ServingEndpointPermissions) ToObjectValue added in v1.61.0

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().

func (ServingEndpointPermissions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointPermissionsDescription

type ServingEndpointPermissionsDescription struct {
	Description types.String `tfsdk:"description"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ServingEndpointPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (ServingEndpointPermissionsDescription) GetComplexFieldTypes added in v1.61.0

func (m 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) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ServingEndpointPermissionsDescription) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointPermissionsDescription) ToObjectValue added in v1.61.0

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().

func (ServingEndpointPermissionsDescription) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointPermissionsDescription_SdkV2 added in v1.62.1

type ServingEndpointPermissionsDescription_SdkV2 struct {
	Description types.String `tfsdk:"description"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ServingEndpointPermissionsDescription_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ServingEndpointPermissionsDescription_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ServingEndpointPermissionsDescription_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointPermissionsDescription_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointPermissionsDescription_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpointPermissionsRequest

type ServingEndpointPermissionsRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The serving endpoint for which to get or manage permissions.
	ServingEndpointId types.String `tfsdk:"-"`
}

func (ServingEndpointPermissionsRequest) ApplySchemaCustomizations added in v1.63.0

func (*ServingEndpointPermissionsRequest) GetAccessControlList added in v1.61.0

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 (m 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

SetAccessControlList sets the value of the AccessControlList field in ServingEndpointPermissionsRequest.

func (*ServingEndpointPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ServingEndpointPermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointPermissionsRequest)

func (*ServingEndpointPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (ServingEndpointPermissionsRequest) ToObjectValue added in v1.61.0

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().

func (ServingEndpointPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ServingEndpointPermissionsRequest_SdkV2 added in v1.62.1

type ServingEndpointPermissionsRequest_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The serving endpoint for which to get or manage permissions.
	ServingEndpointId types.String `tfsdk:"-"`
}

func (ServingEndpointPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ServingEndpointPermissionsRequest_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in ServingEndpointPermissionsRequest_SdkV2 as a slice of ServingEndpointAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ServingEndpointPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in ServingEndpointPermissionsRequest_SdkV2.

func (*ServingEndpointPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*ServingEndpointPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ServingEndpointPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpointPermissions_SdkV2 added in v1.62.1

type ServingEndpointPermissions_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (ServingEndpointPermissions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ServingEndpointPermissions_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in ServingEndpointPermissions_SdkV2 as a slice of ServingEndpointAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ServingEndpointPermissions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServingEndpointPermissions_SdkV2) 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_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in ServingEndpointPermissions_SdkV2.

func (*ServingEndpointPermissions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpointPermissions_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpointPermissions_SdkV2)

func (*ServingEndpointPermissions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ServingEndpointPermissions_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpointPermissions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServingEndpoint_SdkV2 added in v1.62.1

type ServingEndpoint_SdkV2 struct {
	// The AI Gateway configuration for the serving endpoint. NOTE: External
	// model, provisioned throughput, and pay-per-token endpoints are fully
	// supported; agent endpoints currently only support inference tables.
	AiGateway types.List `tfsdk:"ai_gateway"`
	// The budget policy associated with the endpoint.
	BudgetPolicyId types.String `tfsdk:"budget_policy_id"`
	// The config that is currently being served by the endpoint.
	Config types.List `tfsdk:"config"`
	// The timestamp when the endpoint was created in Unix time.
	CreationTimestamp types.Int64 `tfsdk:"creation_timestamp"`
	// The email of the user who created the serving endpoint.
	Creator types.String `tfsdk:"creator"`
	// Description of the endpoint
	Description types.String `tfsdk:"description"`
	// System-generated ID of the endpoint, included to be used by the
	// Permissions API.
	Id types.String `tfsdk:"id"`
	// The timestamp when the endpoint was last updated by a user in Unix time.
	LastUpdatedTimestamp types.Int64 `tfsdk:"last_updated_timestamp"`
	// The name of the serving endpoint.
	Name types.String `tfsdk:"name"`
	// Information corresponding to the state of the serving endpoint.
	State types.List `tfsdk:"state"`
	// Tags attached to the serving endpoint.
	Tags types.List `tfsdk:"tags"`
	// The task type of the serving endpoint.
	Task types.String `tfsdk:"task"`
	// The usage policy associated with serving endpoint.
	UsagePolicyId types.String `tfsdk:"usage_policy_id"`
}

func (ServingEndpoint_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServingEndpoint_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ServingEndpoint_SdkV2) GetAiGateway added in v1.62.1

GetAiGateway returns the value of the AiGateway field in ServingEndpoint_SdkV2 as a AiGatewayConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ServingEndpoint_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServingEndpoint_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetConfig added in v1.62.1

GetConfig returns the value of the Config field in ServingEndpoint_SdkV2 as a EndpointCoreConfigSummary_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpoint_SdkV2) GetState added in v1.62.1

GetState returns the value of the State field in ServingEndpoint_SdkV2 as a EndpointState_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpoint_SdkV2) GetTags added in v1.62.1

GetTags returns the value of the Tags field in ServingEndpoint_SdkV2 as a slice of EndpointTag_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ServingEndpoint_SdkV2) SetAiGateway added in v1.62.1

SetAiGateway sets the value of the AiGateway field in ServingEndpoint_SdkV2.

func (*ServingEndpoint_SdkV2) SetConfig added in v1.62.1

SetConfig sets the value of the Config field in ServingEndpoint_SdkV2.

func (*ServingEndpoint_SdkV2) SetState added in v1.62.1

SetState sets the value of the State field in ServingEndpoint_SdkV2.

func (*ServingEndpoint_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in ServingEndpoint_SdkV2.

func (*ServingEndpoint_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServingEndpoint_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServingEndpoint_SdkV2)

func (*ServingEndpoint_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServingEndpoint_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServingEndpoint_SdkV2)

func (ServingEndpoint_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (ServingEndpoint_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type TrafficConfig

type TrafficConfig struct {
	// The list of routes that define traffic to each served entity.
	Routes types.List `tfsdk:"routes"`
}

func (TrafficConfig) ApplySchemaCustomizations added in v1.63.0

func (m TrafficConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrafficConfig) GetComplexFieldTypes added in v1.61.0

func (m TrafficConfig) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *TrafficConfig) SetRoutes(ctx context.Context, v []Route)

SetRoutes sets the value of the Routes field in TrafficConfig.

func (*TrafficConfig) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TrafficConfig) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrafficConfig)

func (*TrafficConfig) SyncFieldsDuringRead added in v1.86.0

func (to *TrafficConfig) SyncFieldsDuringRead(ctx context.Context, from TrafficConfig)

func (TrafficConfig) ToObjectValue added in v1.61.0

func (m 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().

func (TrafficConfig) Type added in v1.61.0

func (m TrafficConfig) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type TrafficConfig_SdkV2 added in v1.62.1

type TrafficConfig_SdkV2 struct {
	// The list of routes that define traffic to each served entity.
	Routes types.List `tfsdk:"routes"`
}

func (TrafficConfig_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m TrafficConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrafficConfig_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TrafficConfig_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetRoutes added in v1.62.1

func (m *TrafficConfig_SdkV2) GetRoutes(ctx context.Context) ([]Route_SdkV2, bool)

GetRoutes returns the value of the Routes field in TrafficConfig_SdkV2 as a slice of Route_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*TrafficConfig_SdkV2) SetRoutes added in v1.62.1

func (m *TrafficConfig_SdkV2) SetRoutes(ctx context.Context, v []Route_SdkV2)

SetRoutes sets the value of the Routes field in TrafficConfig_SdkV2.

func (*TrafficConfig_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TrafficConfig_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrafficConfig_SdkV2)

func (*TrafficConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TrafficConfig_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TrafficConfig_SdkV2)

func (TrafficConfig_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (TrafficConfig_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateInferenceEndpointNotifications added in v1.92.0

type UpdateInferenceEndpointNotifications struct {
	// The email notification settings to update. Specify email addresses to
	// notify when endpoint state changes occur.
	EmailNotifications types.Object `tfsdk:"email_notifications"`
	// The name of the serving endpoint whose notifications are being updated.
	// This field is required.
	Name types.String `tfsdk:"-"`
}

func (UpdateInferenceEndpointNotifications) ApplySchemaCustomizations added in v1.92.0

func (UpdateInferenceEndpointNotifications) GetComplexFieldTypes added in v1.92.0

func (m UpdateInferenceEndpointNotifications) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInferenceEndpointNotifications. 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 (*UpdateInferenceEndpointNotifications) GetEmailNotifications added in v1.92.0

GetEmailNotifications returns the value of the EmailNotifications field in UpdateInferenceEndpointNotifications as a EmailNotifications value. If the field is unknown or null, the boolean return value is false.

func (*UpdateInferenceEndpointNotifications) SetEmailNotifications added in v1.92.0

SetEmailNotifications sets the value of the EmailNotifications field in UpdateInferenceEndpointNotifications.

func (*UpdateInferenceEndpointNotifications) SyncFieldsDuringCreateOrUpdate added in v1.92.0

func (to *UpdateInferenceEndpointNotifications) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateInferenceEndpointNotifications)

func (*UpdateInferenceEndpointNotifications) SyncFieldsDuringRead added in v1.92.0

func (UpdateInferenceEndpointNotifications) ToObjectValue added in v1.92.0

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, UpdateInferenceEndpointNotifications only implements ToObjectValue() and Type().

func (UpdateInferenceEndpointNotifications) Type added in v1.92.0

Type implements basetypes.ObjectValuable.

type UpdateInferenceEndpointNotificationsResponse added in v1.92.0

type UpdateInferenceEndpointNotificationsResponse struct {
	EmailNotifications types.Object `tfsdk:"email_notifications"`

	Name types.String `tfsdk:"name"`
}

func (UpdateInferenceEndpointNotificationsResponse) ApplySchemaCustomizations added in v1.92.0

func (UpdateInferenceEndpointNotificationsResponse) GetComplexFieldTypes added in v1.92.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInferenceEndpointNotificationsResponse. 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 (*UpdateInferenceEndpointNotificationsResponse) GetEmailNotifications added in v1.92.0

GetEmailNotifications returns the value of the EmailNotifications field in UpdateInferenceEndpointNotificationsResponse as a EmailNotifications value. If the field is unknown or null, the boolean return value is false.

func (*UpdateInferenceEndpointNotificationsResponse) SetEmailNotifications added in v1.92.0

SetEmailNotifications sets the value of the EmailNotifications field in UpdateInferenceEndpointNotificationsResponse.

func (*UpdateInferenceEndpointNotificationsResponse) SyncFieldsDuringCreateOrUpdate added in v1.92.0

func (*UpdateInferenceEndpointNotificationsResponse) SyncFieldsDuringRead added in v1.92.0

func (UpdateInferenceEndpointNotificationsResponse) ToObjectValue added in v1.92.0

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, UpdateInferenceEndpointNotificationsResponse only implements ToObjectValue() and Type().

func (UpdateInferenceEndpointNotificationsResponse) Type added in v1.92.0

Type implements basetypes.ObjectValuable.

type UpdateInferenceEndpointNotificationsResponse_SdkV2 added in v1.92.0

type UpdateInferenceEndpointNotificationsResponse_SdkV2 struct {
	EmailNotifications types.List `tfsdk:"email_notifications"`

	Name types.String `tfsdk:"name"`
}

func (UpdateInferenceEndpointNotificationsResponse_SdkV2) ApplySchemaCustomizations added in v1.92.0

func (UpdateInferenceEndpointNotificationsResponse_SdkV2) GetComplexFieldTypes added in v1.92.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInferenceEndpointNotificationsResponse. 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 (*UpdateInferenceEndpointNotificationsResponse_SdkV2) GetEmailNotifications added in v1.92.0

GetEmailNotifications returns the value of the EmailNotifications field in UpdateInferenceEndpointNotificationsResponse_SdkV2 as a EmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateInferenceEndpointNotificationsResponse_SdkV2) SetEmailNotifications added in v1.92.0

SetEmailNotifications sets the value of the EmailNotifications field in UpdateInferenceEndpointNotificationsResponse_SdkV2.

func (*UpdateInferenceEndpointNotificationsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.92.0

func (*UpdateInferenceEndpointNotificationsResponse_SdkV2) SyncFieldsDuringRead added in v1.92.0

func (UpdateInferenceEndpointNotificationsResponse_SdkV2) ToObjectValue added in v1.92.0

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, UpdateInferenceEndpointNotificationsResponse_SdkV2 only implements ToObjectValue() and Type().

func (UpdateInferenceEndpointNotificationsResponse_SdkV2) Type added in v1.92.0

Type implements basetypes.ObjectValuable.

type UpdateInferenceEndpointNotifications_SdkV2 added in v1.92.0

type UpdateInferenceEndpointNotifications_SdkV2 struct {
	// The email notification settings to update. Specify email addresses to
	// notify when endpoint state changes occur.
	EmailNotifications types.List `tfsdk:"email_notifications"`
	// The name of the serving endpoint whose notifications are being updated.
	// This field is required.
	Name types.String `tfsdk:"-"`
}

func (UpdateInferenceEndpointNotifications_SdkV2) ApplySchemaCustomizations added in v1.92.0

func (UpdateInferenceEndpointNotifications_SdkV2) GetComplexFieldTypes added in v1.92.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInferenceEndpointNotifications. 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 (*UpdateInferenceEndpointNotifications_SdkV2) GetEmailNotifications added in v1.92.0

GetEmailNotifications returns the value of the EmailNotifications field in UpdateInferenceEndpointNotifications_SdkV2 as a EmailNotifications_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateInferenceEndpointNotifications_SdkV2) SetEmailNotifications added in v1.92.0

SetEmailNotifications sets the value of the EmailNotifications field in UpdateInferenceEndpointNotifications_SdkV2.

func (*UpdateInferenceEndpointNotifications_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.92.0

func (*UpdateInferenceEndpointNotifications_SdkV2) SyncFieldsDuringRead added in v1.92.0

func (UpdateInferenceEndpointNotifications_SdkV2) ToObjectValue added in v1.92.0

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, UpdateInferenceEndpointNotifications_SdkV2 only implements ToObjectValue() and Type().

func (UpdateInferenceEndpointNotifications_SdkV2) Type added in v1.92.0

Type implements basetypes.ObjectValuable.

type UpdateProvisionedThroughputEndpointConfigRequest added in v1.78.0

type UpdateProvisionedThroughputEndpointConfigRequest struct {
	Config types.Object `tfsdk:"config"`
	// The name of the pt endpoint to update. This field is required.
	Name types.String `tfsdk:"-"`
}

func (UpdateProvisionedThroughputEndpointConfigRequest) ApplySchemaCustomizations added in v1.78.0

func (UpdateProvisionedThroughputEndpointConfigRequest) GetComplexFieldTypes added in v1.78.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProvisionedThroughputEndpointConfigRequest. 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 (*UpdateProvisionedThroughputEndpointConfigRequest) GetConfig added in v1.78.0

GetConfig returns the value of the Config field in UpdateProvisionedThroughputEndpointConfigRequest as a PtEndpointCoreConfig value. If the field is unknown or null, the boolean return value is false.

func (*UpdateProvisionedThroughputEndpointConfigRequest) SetConfig added in v1.78.0

SetConfig sets the value of the Config field in UpdateProvisionedThroughputEndpointConfigRequest.

func (*UpdateProvisionedThroughputEndpointConfigRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*UpdateProvisionedThroughputEndpointConfigRequest) SyncFieldsDuringRead added in v1.91.0

func (UpdateProvisionedThroughputEndpointConfigRequest) ToObjectValue added in v1.78.0

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, UpdateProvisionedThroughputEndpointConfigRequest only implements ToObjectValue() and Type().

func (UpdateProvisionedThroughputEndpointConfigRequest) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type UpdateProvisionedThroughputEndpointConfigRequest_SdkV2 added in v1.78.0

type UpdateProvisionedThroughputEndpointConfigRequest_SdkV2 struct {
	Config types.List `tfsdk:"config"`
	// The name of the pt endpoint to update. This field is required.
	Name types.String `tfsdk:"-"`
}

func (UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.78.0

func (UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) GetComplexFieldTypes added in v1.78.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProvisionedThroughputEndpointConfigRequest. 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 (*UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) GetConfig added in v1.78.0

GetConfig returns the value of the Config field in UpdateProvisionedThroughputEndpointConfigRequest_SdkV2 as a PtEndpointCoreConfig_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) SetConfig added in v1.78.0

SetConfig sets the value of the Config field in UpdateProvisionedThroughputEndpointConfigRequest_SdkV2.

func (*UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) ToObjectValue added in v1.78.0

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, UpdateProvisionedThroughputEndpointConfigRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateProvisionedThroughputEndpointConfigRequest_SdkV2) Type added in v1.78.0

Type implements basetypes.ObjectValuable.

type V1ResponseChoiceElement

type V1ResponseChoiceElement struct {
	// The finish reason returned by the endpoint.
	FinishReason types.String `tfsdk:"finish_reason"`
	// The index of the choice in the __chat or completions__ response.
	Index types.Int64 `tfsdk:"index"`
	// The logprobs returned only by the __completions__ endpoint.
	Logprobs types.Int64 `tfsdk:"logprobs"`
	// The message response from the __chat__ endpoint.
	Message types.Object `tfsdk:"message"`
	// The text response from the __completions__ endpoint.
	Text types.String `tfsdk:"text"`
}

func (V1ResponseChoiceElement) ApplySchemaCustomizations added in v1.63.0

func (m V1ResponseChoiceElement) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (V1ResponseChoiceElement) GetComplexFieldTypes added in v1.61.0

func (m V1ResponseChoiceElement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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 (m *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 (m *V1ResponseChoiceElement) SetMessage(ctx context.Context, v ChatMessage)

SetMessage sets the value of the Message field in V1ResponseChoiceElement.

func (*V1ResponseChoiceElement) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *V1ResponseChoiceElement) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from V1ResponseChoiceElement)

func (*V1ResponseChoiceElement) SyncFieldsDuringRead added in v1.86.0

func (to *V1ResponseChoiceElement) SyncFieldsDuringRead(ctx context.Context, from V1ResponseChoiceElement)

func (V1ResponseChoiceElement) ToObjectValue added in v1.61.0

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().

func (V1ResponseChoiceElement) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type V1ResponseChoiceElement_SdkV2 added in v1.62.1

type V1ResponseChoiceElement_SdkV2 struct {
	// The finish reason returned by the endpoint.
	FinishReason types.String `tfsdk:"finish_reason"`
	// The index of the choice in the __chat or completions__ response.
	Index types.Int64 `tfsdk:"index"`
	// The logprobs returned only by the __completions__ endpoint.
	Logprobs types.Int64 `tfsdk:"logprobs"`
	// The message response from the __chat__ endpoint.
	Message types.List `tfsdk:"message"`
	// The text response from the __completions__ endpoint.
	Text types.String `tfsdk:"text"`
}

func (V1ResponseChoiceElement_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (V1ResponseChoiceElement_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m V1ResponseChoiceElement_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

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_SdkV2) GetMessage added in v1.62.1

GetMessage returns the value of the Message field in V1ResponseChoiceElement_SdkV2 as a ChatMessage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*V1ResponseChoiceElement_SdkV2) SetMessage added in v1.62.1

SetMessage sets the value of the Message field in V1ResponseChoiceElement_SdkV2.

func (*V1ResponseChoiceElement_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *V1ResponseChoiceElement_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from V1ResponseChoiceElement_SdkV2)

func (*V1ResponseChoiceElement_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *V1ResponseChoiceElement_SdkV2) SyncFieldsDuringRead(ctx context.Context, from V1ResponseChoiceElement_SdkV2)

func (V1ResponseChoiceElement_SdkV2) ToObjectValue added in v1.62.1

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_SdkV2 only implements ToObjectValue() and Type().

func (V1ResponseChoiceElement_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL