sql_tf

package
v1.103.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 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 AccessControl

type AccessControl struct {
	GroupName types.String `tfsdk:"group_name"`
	// * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query *
	// `CAN_EDIT`: Can edit the query * `CAN_MANAGE`: Can manage the query
	PermissionLevel types.String `tfsdk:"permission_level"`

	UserName types.String `tfsdk:"user_name"`
}

func (AccessControl) ApplySchemaCustomizations added in v1.63.0

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

func (AccessControl) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*AccessControl) SyncFieldsDuringRead added in v1.86.0

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

func (AccessControl) ToObjectValue added in v1.61.0

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

func (AccessControl) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AccessControl_SdkV2 added in v1.62.1

type AccessControl_SdkV2 struct {
	GroupName types.String `tfsdk:"group_name"`
	// * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query *
	// `CAN_EDIT`: Can edit the query * `CAN_MANAGE`: Can manage the query
	PermissionLevel types.String `tfsdk:"permission_level"`

	UserName types.String `tfsdk:"user_name"`
}

func (AccessControl_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AccessControl_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*AccessControl_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AccessControl_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Alert

type Alert struct {
	// Trigger conditions of the alert.
	Condition types.Object `tfsdk:"condition"`
	// The timestamp indicating when the alert was created.
	CreateTime types.String `tfsdk:"create_time"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"id"`
	// The workspace state of the alert. Used for tracking trashed status.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// The workspace path of the folder containing the alert.
	ParentPath types.String `tfsdk:"parent_path"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
	// Current state of the alert's trigger status. This field is set to UNKNOWN
	// if the alert has not yet been evaluated or ran into an error during the
	// last evaluation.
	State types.String `tfsdk:"state"`
	// Timestamp when the alert was last triggered, if the alert has been
	// triggered before.
	TriggerTime types.String `tfsdk:"trigger_time"`
	// The timestamp indicating when the alert was updated.
	UpdateTime types.String `tfsdk:"update_time"`
}

func (Alert) ApplySchemaCustomizations added in v1.63.0

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

func (Alert) GetComplexFieldTypes added in v1.61.0

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

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

func (m *Alert) GetCondition(ctx context.Context) (AlertCondition, bool)

GetCondition returns the value of the Condition field in Alert as a AlertCondition value. If the field is unknown or null, the boolean return value is false.

func (*Alert) SetCondition added in v1.61.0

func (m *Alert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in Alert.

func (*Alert) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Alert) SyncFieldsDuringRead added in v1.86.0

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

func (Alert) ToObjectValue added in v1.61.0

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

func (Alert) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AlertCondition

type AlertCondition struct {
	// Alert state if result is empty.
	EmptyResultState types.String `tfsdk:"empty_result_state"`
	// Operator used for comparison in alert evaluation.
	Op types.String `tfsdk:"op"`
	// Name of the column from the query result to use for comparison in alert
	// evaluation.
	Operand types.Object `tfsdk:"operand"`
	// Threshold value used for comparison in alert evaluation.
	Threshold types.Object `tfsdk:"threshold"`
}

func (AlertCondition) ApplySchemaCustomizations added in v1.63.0

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

func (AlertCondition) GetComplexFieldTypes added in v1.61.0

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

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

GetOperand returns the value of the Operand field in AlertCondition as a AlertConditionOperand value. If the field is unknown or null, the boolean return value is false.

func (*AlertCondition) GetThreshold added in v1.61.0

func (m *AlertCondition) GetThreshold(ctx context.Context) (AlertConditionThreshold, bool)

GetThreshold returns the value of the Threshold field in AlertCondition as a AlertConditionThreshold value. If the field is unknown or null, the boolean return value is false.

func (*AlertCondition) SetOperand added in v1.61.0

func (m *AlertCondition) SetOperand(ctx context.Context, v AlertConditionOperand)

SetOperand sets the value of the Operand field in AlertCondition.

func (*AlertCondition) SetThreshold added in v1.61.0

func (m *AlertCondition) SetThreshold(ctx context.Context, v AlertConditionThreshold)

SetThreshold sets the value of the Threshold field in AlertCondition.

func (*AlertCondition) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertCondition) SyncFieldsDuringRead added in v1.86.0

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

func (AlertCondition) ToObjectValue added in v1.61.0

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

func (AlertCondition) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AlertConditionOperand

type AlertConditionOperand struct {
	Column types.Object `tfsdk:"column"`
}

func (AlertConditionOperand) ApplySchemaCustomizations added in v1.63.0

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

func (*AlertConditionOperand) GetColumn added in v1.61.0

GetColumn returns the value of the Column field in AlertConditionOperand as a AlertOperandColumn value. If the field is unknown or null, the boolean return value is false.

func (AlertConditionOperand) GetComplexFieldTypes added in v1.61.0

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

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

SetColumn sets the value of the Column field in AlertConditionOperand.

func (*AlertConditionOperand) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertConditionOperand) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertConditionOperand) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AlertConditionOperand_SdkV2 added in v1.62.1

type AlertConditionOperand_SdkV2 struct {
	Column types.List `tfsdk:"column"`
}

func (AlertConditionOperand_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*AlertConditionOperand_SdkV2) GetColumn added in v1.62.1

GetColumn returns the value of the Column field in AlertConditionOperand_SdkV2 as a AlertOperandColumn_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (AlertConditionOperand_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConditionOperand. 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 (*AlertConditionOperand_SdkV2) SetColumn added in v1.62.1

SetColumn sets the value of the Column field in AlertConditionOperand_SdkV2.

func (*AlertConditionOperand_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertConditionOperand_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertConditionOperand_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertConditionThreshold

type AlertConditionThreshold struct {
	Value types.Object `tfsdk:"value"`
}

func (AlertConditionThreshold) ApplySchemaCustomizations added in v1.63.0

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

func (AlertConditionThreshold) GetComplexFieldTypes added in v1.61.0

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

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

GetValue returns the value of the Value field in AlertConditionThreshold as a AlertOperandValue value. If the field is unknown or null, the boolean return value is false.

func (*AlertConditionThreshold) SetValue added in v1.61.0

SetValue sets the value of the Value field in AlertConditionThreshold.

func (*AlertConditionThreshold) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertConditionThreshold) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertConditionThreshold) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AlertConditionThreshold_SdkV2 added in v1.62.1

type AlertConditionThreshold_SdkV2 struct {
	Value types.List `tfsdk:"value"`
}

func (AlertConditionThreshold_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (AlertConditionThreshold_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConditionThreshold. 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 (*AlertConditionThreshold_SdkV2) GetValue added in v1.62.1

GetValue returns the value of the Value field in AlertConditionThreshold_SdkV2 as a AlertOperandValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertConditionThreshold_SdkV2) SetValue added in v1.62.1

SetValue sets the value of the Value field in AlertConditionThreshold_SdkV2.

func (*AlertConditionThreshold_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertConditionThreshold_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertConditionThreshold_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertCondition_SdkV2 added in v1.62.1

type AlertCondition_SdkV2 struct {
	// Alert state if result is empty.
	EmptyResultState types.String `tfsdk:"empty_result_state"`
	// Operator used for comparison in alert evaluation.
	Op types.String `tfsdk:"op"`
	// Name of the column from the query result to use for comparison in alert
	// evaluation.
	Operand types.List `tfsdk:"operand"`
	// Threshold value used for comparison in alert evaluation.
	Threshold types.List `tfsdk:"threshold"`
}

func (AlertCondition_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AlertCondition_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertCondition. 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 (*AlertCondition_SdkV2) GetOperand added in v1.62.1

GetOperand returns the value of the Operand field in AlertCondition_SdkV2 as a AlertConditionOperand_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertCondition_SdkV2) GetThreshold added in v1.62.1

GetThreshold returns the value of the Threshold field in AlertCondition_SdkV2 as a AlertConditionThreshold_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertCondition_SdkV2) SetOperand added in v1.62.1

SetOperand sets the value of the Operand field in AlertCondition_SdkV2.

func (*AlertCondition_SdkV2) SetThreshold added in v1.62.1

SetThreshold sets the value of the Threshold field in AlertCondition_SdkV2.

func (*AlertCondition_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertCondition_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertCondition_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertOperandColumn

type AlertOperandColumn struct {
	Name types.String `tfsdk:"name"`
}

func (AlertOperandColumn) ApplySchemaCustomizations added in v1.63.0

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

func (AlertOperandColumn) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*AlertOperandColumn) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertOperandColumn) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AlertOperandColumn_SdkV2 added in v1.62.1

type AlertOperandColumn_SdkV2 struct {
	Name types.String `tfsdk:"name"`
}

func (AlertOperandColumn_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AlertOperandColumn_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*AlertOperandColumn_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertOperandColumn_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertOperandValue

type AlertOperandValue struct {
	BoolValue types.Bool `tfsdk:"bool_value"`

	DoubleValue types.Float64 `tfsdk:"double_value"`

	StringValue types.String `tfsdk:"string_value"`
}

func (AlertOperandValue) ApplySchemaCustomizations added in v1.63.0

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

func (AlertOperandValue) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*AlertOperandValue) SyncFieldsDuringRead added in v1.86.0

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

func (AlertOperandValue) ToObjectValue added in v1.61.0

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

func (AlertOperandValue) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AlertOperandValue_SdkV2 added in v1.62.1

type AlertOperandValue_SdkV2 struct {
	BoolValue types.Bool `tfsdk:"bool_value"`

	DoubleValue types.Float64 `tfsdk:"double_value"`

	StringValue types.String `tfsdk:"string_value"`
}

func (AlertOperandValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AlertOperandValue_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*AlertOperandValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertOperandValue_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertOptions

type AlertOptions struct {
	// Name of column in the query result to compare in alert evaluation.
	Column types.String `tfsdk:"column"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This includes email
	// subject, Slack notification header, etc. See [here] for custom templating
	// instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// State that alert evaluates to when query result is empty.
	EmptyResultState types.String `tfsdk:"empty_result_state"`
	// Whether or not the alert is muted. If an alert is muted, it will not
	// notify users and notification destinations when triggered.
	Muted types.Bool `tfsdk:"muted"`
	// Operator used to compare in alert evaluation: `>`, `>=`, `<`, `<=`, `==`,
	// `!=`
	Op types.String `tfsdk:"op"`
	// Value used to compare in alert evaluation. Supported types include
	// strings (eg. 'foobar'), floats (eg. 123.4), and booleans (true).
	Value types.Object `tfsdk:"value"`
}

Alert configuration options.

func (AlertOptions) ApplySchemaCustomizations added in v1.63.0

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

func (AlertOptions) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*AlertOptions) SyncFieldsDuringRead added in v1.86.0

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

func (AlertOptions) ToObjectValue added in v1.61.0

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

func (AlertOptions) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AlertOptions_SdkV2 added in v1.62.1

type AlertOptions_SdkV2 struct {
	// Name of column in the query result to compare in alert evaluation.
	Column types.String `tfsdk:"column"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This includes email
	// subject, Slack notification header, etc. See [here] for custom templating
	// instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// State that alert evaluates to when query result is empty.
	EmptyResultState types.String `tfsdk:"empty_result_state"`
	// Whether or not the alert is muted. If an alert is muted, it will not
	// notify users and notification destinations when triggered.
	Muted types.Bool `tfsdk:"muted"`
	// Operator used to compare in alert evaluation: `>`, `>=`, `<`, `<=`, `==`,
	// `!=`
	Op types.String `tfsdk:"op"`
	// Value used to compare in alert evaluation. Supported types include
	// strings (eg. 'foobar'), floats (eg. 123.4), and booleans (true).
	Value types.Object `tfsdk:"value"`
}

Alert configuration options.

func (AlertOptions_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AlertOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*AlertOptions_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (AlertOptions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertQuery

type AlertQuery struct {
	// The timestamp when this query was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Query ID.
	Id types.String `tfsdk:"id"`
	// Indicates whether the query is trashed. Trashed queries can't be used in
	// dashboards, or appear in search results. If this boolean is `true`, the
	// `options` property for this query includes a `moved_to_trash_at`
	// timestamp. Trashed queries are permanently deleted after 30 days.
	IsArchived types.Bool `tfsdk:"is_archived"`
	// Whether the query is a draft. Draft queries only appear in list views for
	// their owners. Visualizations from draft queries cannot appear on
	// dashboards.
	IsDraft types.Bool `tfsdk:"is_draft"`
	// Text parameter types are not safe from SQL injection for all types of
	// data source. Set this Boolean parameter to `true` if a query either does
	// not use any text type parameters or uses a data source type where text
	// type parameters are handled safely.
	IsSafe types.Bool `tfsdk:"is_safe"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`

	Options types.Object `tfsdk:"options"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`

	Tags types.List `tfsdk:"tags"`
	// The timestamp at which this query was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`
	// The ID of the user who owns the query.
	UserId types.Int64 `tfsdk:"user_id"`
}

func (AlertQuery) ApplySchemaCustomizations added in v1.63.0

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

func (AlertQuery) GetComplexFieldTypes added in v1.61.0

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

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

func (m *AlertQuery) GetOptions(ctx context.Context) (QueryOptions, bool)

GetOptions returns the value of the Options field in AlertQuery as a QueryOptions value. If the field is unknown or null, the boolean return value is false.

func (*AlertQuery) GetTags added in v1.61.0

func (m *AlertQuery) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*AlertQuery) SetOptions added in v1.61.0

func (m *AlertQuery) SetOptions(ctx context.Context, v QueryOptions)

SetOptions sets the value of the Options field in AlertQuery.

func (*AlertQuery) SetTags added in v1.61.0

func (m *AlertQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in AlertQuery.

func (*AlertQuery) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertQuery) SyncFieldsDuringRead added in v1.86.0

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

func (AlertQuery) ToObjectValue added in v1.61.0

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

func (AlertQuery) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AlertQuery_SdkV2 added in v1.62.1

type AlertQuery_SdkV2 struct {
	// The timestamp when this query was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Query ID.
	Id types.String `tfsdk:"id"`
	// Indicates whether the query is trashed. Trashed queries can't be used in
	// dashboards, or appear in search results. If this boolean is `true`, the
	// `options` property for this query includes a `moved_to_trash_at`
	// timestamp. Trashed queries are permanently deleted after 30 days.
	IsArchived types.Bool `tfsdk:"is_archived"`
	// Whether the query is a draft. Draft queries only appear in list views for
	// their owners. Visualizations from draft queries cannot appear on
	// dashboards.
	IsDraft types.Bool `tfsdk:"is_draft"`
	// Text parameter types are not safe from SQL injection for all types of
	// data source. Set this Boolean parameter to `true` if a query either does
	// not use any text type parameters or uses a data source type where text
	// type parameters are handled safely.
	IsSafe types.Bool `tfsdk:"is_safe"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`

	Options types.List `tfsdk:"options"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`

	Tags types.List `tfsdk:"tags"`
	// The timestamp at which this query was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`
	// The ID of the user who owns the query.
	UserId types.Int64 `tfsdk:"user_id"`
}

func (AlertQuery_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AlertQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertQuery. 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 (*AlertQuery_SdkV2) GetOptions added in v1.62.1

func (m *AlertQuery_SdkV2) GetOptions(ctx context.Context) (QueryOptions_SdkV2, bool)

GetOptions returns the value of the Options field in AlertQuery_SdkV2 as a QueryOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertQuery_SdkV2) GetTags added in v1.62.1

func (m *AlertQuery_SdkV2) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*AlertQuery_SdkV2) SetOptions added in v1.62.1

func (m *AlertQuery_SdkV2) SetOptions(ctx context.Context, v QueryOptions_SdkV2)

SetOptions sets the value of the Options field in AlertQuery_SdkV2.

func (*AlertQuery_SdkV2) SetTags added in v1.62.1

func (m *AlertQuery_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in AlertQuery_SdkV2.

func (*AlertQuery_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertQuery_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertQuery_SdkV2) ToObjectValue added in v1.62.1

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

func (AlertQuery_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AlertV2 added in v1.76.0

type AlertV2 struct {
	// The timestamp indicating when the alert was created.
	CreateTime types.String `tfsdk:"create_time"`
	// Custom description for the alert. support mustache template.
	CustomDescription types.String `tfsdk:"custom_description"`
	// Custom summary for the alert. support mustache template.
	CustomSummary types.String `tfsdk:"custom_summary"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// The actual identity that will be used to execute the alert. This is an
	// output-only field that shows the resolved run-as identity after applying
	// permissions and defaults.
	EffectiveRunAs types.Object `tfsdk:"effective_run_as"`

	Evaluation types.Object `tfsdk:"evaluation"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"id"`
	// Indicates whether the query is trashed.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// The workspace path of the folder containing the alert. Can only be set on
	// create, and cannot be updated.
	ParentPath types.String `tfsdk:"parent_path"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Specifies the identity that will be used to run the alert. This field
	// allows you to configure alerts to run as a specific user or service
	// principal. - For user identity: Set `user_name` to the email of an active
	// workspace user. Users can only set this to their own email. - For service
	// principal: Set `service_principal_name` to the application ID. Requires
	// the `servicePrincipal/user` role. If not specified, the alert will run as
	// the request user.
	RunAs types.Object `tfsdk:"run_as"`
	// The run as username or application ID of service principal. On Create and
	// Update, this field can be set to application ID of an active service
	// principal. Setting this field requires the servicePrincipal/user role.
	// Deprecated: Use `run_as` field instead. This field will be removed in a
	// future release.
	RunAsUserName types.String `tfsdk:"run_as_user_name"`

	Schedule types.Object `tfsdk:"schedule"`
	// The timestamp indicating when the alert was updated.
	UpdateTime types.String `tfsdk:"update_time"`
	// ID of the SQL warehouse attached to the alert.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (AlertV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2) GetComplexFieldTypes added in v1.76.0

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

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

func (m *AlertV2) GetEffectiveRunAs(ctx context.Context) (AlertV2RunAs, bool)

GetEffectiveRunAs returns the value of the EffectiveRunAs field in AlertV2 as a AlertV2RunAs value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2) GetEvaluation added in v1.76.0

func (m *AlertV2) GetEvaluation(ctx context.Context) (AlertV2Evaluation, bool)

GetEvaluation returns the value of the Evaluation field in AlertV2 as a AlertV2Evaluation value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2) GetRunAs added in v1.88.0

func (m *AlertV2) GetRunAs(ctx context.Context) (AlertV2RunAs, bool)

GetRunAs returns the value of the RunAs field in AlertV2 as a AlertV2RunAs value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2) GetSchedule added in v1.76.0

func (m *AlertV2) GetSchedule(ctx context.Context) (CronSchedule, bool)

GetSchedule returns the value of the Schedule field in AlertV2 as a CronSchedule value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2) SetEffectiveRunAs added in v1.88.0

func (m *AlertV2) SetEffectiveRunAs(ctx context.Context, v AlertV2RunAs)

SetEffectiveRunAs sets the value of the EffectiveRunAs field in AlertV2.

func (*AlertV2) SetEvaluation added in v1.76.0

func (m *AlertV2) SetEvaluation(ctx context.Context, v AlertV2Evaluation)

SetEvaluation sets the value of the Evaluation field in AlertV2.

func (*AlertV2) SetRunAs added in v1.88.0

func (m *AlertV2) SetRunAs(ctx context.Context, v AlertV2RunAs)

SetRunAs sets the value of the RunAs field in AlertV2.

func (*AlertV2) SetSchedule added in v1.76.0

func (m *AlertV2) SetSchedule(ctx context.Context, v CronSchedule)

SetSchedule sets the value of the Schedule field in AlertV2.

func (*AlertV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2) ToObjectValue added in v1.76.0

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

func (AlertV2) Type added in v1.76.0

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

Type implements basetypes.ObjectValuable.

type AlertV2Evaluation added in v1.76.0

type AlertV2Evaluation struct {
	// Operator used for comparison in alert evaluation.
	ComparisonOperator types.String `tfsdk:"comparison_operator"`
	// Alert state if result is empty. Please avoid setting this field to be
	// `UNKNOWN` because `UNKNOWN` state is planned to be deprecated.
	EmptyResultState types.String `tfsdk:"empty_result_state"`
	// Timestamp of the last evaluation.
	LastEvaluatedAt types.String `tfsdk:"last_evaluated_at"`
	// User or Notification Destination to notify when alert is triggered.
	Notification types.Object `tfsdk:"notification"`
	// Source column from result to use to evaluate alert
	Source types.Object `tfsdk:"source"`
	// Latest state of alert evaluation.
	State types.String `tfsdk:"state"`
	// Threshold to user for alert evaluation, can be a column or a value.
	Threshold types.Object `tfsdk:"threshold"`
}

func (AlertV2Evaluation) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2Evaluation) GetComplexFieldTypes added in v1.76.0

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

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

func (m *AlertV2Evaluation) GetNotification(ctx context.Context) (AlertV2Notification, bool)

GetNotification returns the value of the Notification field in AlertV2Evaluation as a AlertV2Notification value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Evaluation) GetSource added in v1.76.0

GetSource returns the value of the Source field in AlertV2Evaluation as a AlertV2OperandColumn value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Evaluation) GetThreshold added in v1.76.0

func (m *AlertV2Evaluation) GetThreshold(ctx context.Context) (AlertV2Operand, bool)

GetThreshold returns the value of the Threshold field in AlertV2Evaluation as a AlertV2Operand value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Evaluation) SetNotification added in v1.76.0

func (m *AlertV2Evaluation) SetNotification(ctx context.Context, v AlertV2Notification)

SetNotification sets the value of the Notification field in AlertV2Evaluation.

func (*AlertV2Evaluation) SetSource added in v1.76.0

SetSource sets the value of the Source field in AlertV2Evaluation.

func (*AlertV2Evaluation) SetThreshold added in v1.76.0

func (m *AlertV2Evaluation) SetThreshold(ctx context.Context, v AlertV2Operand)

SetThreshold sets the value of the Threshold field in AlertV2Evaluation.

func (*AlertV2Evaluation) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2Evaluation) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Evaluation) ToObjectValue added in v1.76.0

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

func (AlertV2Evaluation) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2Evaluation_SdkV2 added in v1.76.0

type AlertV2Evaluation_SdkV2 struct {
	// Operator used for comparison in alert evaluation.
	ComparisonOperator types.String `tfsdk:"comparison_operator"`
	// Alert state if result is empty. Please avoid setting this field to be
	// `UNKNOWN` because `UNKNOWN` state is planned to be deprecated.
	EmptyResultState types.String `tfsdk:"empty_result_state"`
	// Timestamp of the last evaluation.
	LastEvaluatedAt types.String `tfsdk:"last_evaluated_at"`
	// User or Notification Destination to notify when alert is triggered.
	Notification types.List `tfsdk:"notification"`
	// Source column from result to use to evaluate alert
	Source types.List `tfsdk:"source"`
	// Latest state of alert evaluation.
	State types.String `tfsdk:"state"`
	// Threshold to user for alert evaluation, can be a column or a value.
	Threshold types.List `tfsdk:"threshold"`
}

func (AlertV2Evaluation_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2Evaluation_SdkV2) GetComplexFieldTypes added in v1.76.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertV2Evaluation. 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 (*AlertV2Evaluation_SdkV2) GetNotification added in v1.76.0

GetNotification returns the value of the Notification field in AlertV2Evaluation_SdkV2 as a AlertV2Notification_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Evaluation_SdkV2) GetSource added in v1.76.0

GetSource returns the value of the Source field in AlertV2Evaluation_SdkV2 as a AlertV2OperandColumn_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Evaluation_SdkV2) GetThreshold added in v1.76.0

GetThreshold returns the value of the Threshold field in AlertV2Evaluation_SdkV2 as a AlertV2Operand_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Evaluation_SdkV2) SetNotification added in v1.76.0

SetNotification sets the value of the Notification field in AlertV2Evaluation_SdkV2.

func (*AlertV2Evaluation_SdkV2) SetSource added in v1.76.0

SetSource sets the value of the Source field in AlertV2Evaluation_SdkV2.

func (*AlertV2Evaluation_SdkV2) SetThreshold added in v1.76.0

SetThreshold sets the value of the Threshold field in AlertV2Evaluation_SdkV2.

func (*AlertV2Evaluation_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2Evaluation_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Evaluation_SdkV2) ToObjectValue added in v1.76.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, AlertV2Evaluation_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2Evaluation_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2Notification added in v1.76.0

type AlertV2Notification struct {
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk          types.Bool `tfsdk:"notify_on_ok"`
	EffectiveNotifyOnOk types.Bool `tfsdk:"effective_notify_on_ok"`
	// Number of seconds an alert waits after being triggered before it is
	// allowed to send another notification. If set to 0 or omitted, the alert
	// will not send any further notifications after the first trigger Setting
	// this value to 1 allows the alert to send a notification on every
	// evaluation where the condition is met, effectively making it always
	// retrigger for notification purposes.
	RetriggerSeconds          types.Int64 `tfsdk:"retrigger_seconds"`
	EffectiveRetriggerSeconds types.Int64 `tfsdk:"effective_retrigger_seconds"`

	Subscriptions types.Set `tfsdk:"subscriptions"`
}

func (AlertV2Notification) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2Notification) GetComplexFieldTypes added in v1.76.0

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

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

func (m *AlertV2Notification) GetSubscriptions(ctx context.Context) ([]AlertV2Subscription, bool)

GetSubscriptions returns the value of the Subscriptions field in AlertV2Notification as a slice of AlertV2Subscription values. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Notification) SetSubscriptions added in v1.76.0

func (m *AlertV2Notification) SetSubscriptions(ctx context.Context, v []AlertV2Subscription)

SetSubscriptions sets the value of the Subscriptions field in AlertV2Notification.

func (*AlertV2Notification) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2Notification) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Notification) ToObjectValue added in v1.76.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, AlertV2Notification only implements ToObjectValue() and Type().

func (AlertV2Notification) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2Notification_SdkV2 added in v1.76.0

type AlertV2Notification_SdkV2 struct {
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk          types.Bool `tfsdk:"notify_on_ok"`
	EffectiveNotifyOnOk types.Bool `tfsdk:"effective_notify_on_ok"`
	// Number of seconds an alert waits after being triggered before it is
	// allowed to send another notification. If set to 0 or omitted, the alert
	// will not send any further notifications after the first trigger Setting
	// this value to 1 allows the alert to send a notification on every
	// evaluation where the condition is met, effectively making it always
	// retrigger for notification purposes.
	RetriggerSeconds          types.Int64 `tfsdk:"retrigger_seconds"`
	EffectiveRetriggerSeconds types.Int64 `tfsdk:"effective_retrigger_seconds"`

	Subscriptions types.Set `tfsdk:"subscriptions"`
}

func (AlertV2Notification_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2Notification_SdkV2) GetComplexFieldTypes added in v1.76.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertV2Notification. 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 (*AlertV2Notification_SdkV2) GetSubscriptions added in v1.76.0

GetSubscriptions returns the value of the Subscriptions field in AlertV2Notification_SdkV2 as a slice of AlertV2Subscription_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Notification_SdkV2) SetSubscriptions added in v1.76.0

SetSubscriptions sets the value of the Subscriptions field in AlertV2Notification_SdkV2.

func (*AlertV2Notification_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2Notification_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Notification_SdkV2) ToObjectValue added in v1.76.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, AlertV2Notification_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2Notification_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2Operand added in v1.76.0

type AlertV2Operand struct {
	Column types.Object `tfsdk:"column"`

	Value types.Object `tfsdk:"value"`
}

func (AlertV2Operand) ApplySchemaCustomizations added in v1.76.0

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

func (*AlertV2Operand) GetColumn added in v1.76.0

GetColumn returns the value of the Column field in AlertV2Operand as a AlertV2OperandColumn value. If the field is unknown or null, the boolean return value is false.

func (AlertV2Operand) GetComplexFieldTypes added in v1.76.0

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

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

GetValue returns the value of the Value field in AlertV2Operand as a AlertV2OperandValue value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Operand) SetColumn added in v1.76.0

func (m *AlertV2Operand) SetColumn(ctx context.Context, v AlertV2OperandColumn)

SetColumn sets the value of the Column field in AlertV2Operand.

func (*AlertV2Operand) SetValue added in v1.76.0

func (m *AlertV2Operand) SetValue(ctx context.Context, v AlertV2OperandValue)

SetValue sets the value of the Value field in AlertV2Operand.

func (*AlertV2Operand) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2Operand) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Operand) ToObjectValue added in v1.76.0

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

func (AlertV2Operand) Type added in v1.76.0

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

Type implements basetypes.ObjectValuable.

type AlertV2OperandColumn added in v1.76.0

type AlertV2OperandColumn struct {
	// If not set, the behavior is equivalent to using `First row` in the UI.
	Aggregation types.String `tfsdk:"aggregation"`

	Display types.String `tfsdk:"display"`

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

func (AlertV2OperandColumn) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2OperandColumn) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*AlertV2OperandColumn) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2OperandColumn) ToObjectValue added in v1.76.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, AlertV2OperandColumn only implements ToObjectValue() and Type().

func (AlertV2OperandColumn) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2OperandColumn_SdkV2 added in v1.76.0

type AlertV2OperandColumn_SdkV2 struct {
	// If not set, the behavior is equivalent to using `First row` in the UI.
	Aggregation types.String `tfsdk:"aggregation"`

	Display types.String `tfsdk:"display"`

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

func (AlertV2OperandColumn_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2OperandColumn_SdkV2) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*AlertV2OperandColumn_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2OperandColumn_SdkV2) ToObjectValue added in v1.76.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, AlertV2OperandColumn_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2OperandColumn_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2OperandValue added in v1.76.0

type AlertV2OperandValue struct {
	BoolValue types.Bool `tfsdk:"bool_value"`

	DoubleValue types.Float64 `tfsdk:"double_value"`

	StringValue types.String `tfsdk:"string_value"`
}

func (AlertV2OperandValue) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2OperandValue) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*AlertV2OperandValue) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2OperandValue) ToObjectValue added in v1.76.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, AlertV2OperandValue only implements ToObjectValue() and Type().

func (AlertV2OperandValue) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2OperandValue_SdkV2 added in v1.76.0

type AlertV2OperandValue_SdkV2 struct {
	BoolValue types.Bool `tfsdk:"bool_value"`

	DoubleValue types.Float64 `tfsdk:"double_value"`

	StringValue types.String `tfsdk:"string_value"`
}

func (AlertV2OperandValue_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2OperandValue_SdkV2) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*AlertV2OperandValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2OperandValue_SdkV2) ToObjectValue added in v1.76.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, AlertV2OperandValue_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2OperandValue_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2Operand_SdkV2 added in v1.76.0

type AlertV2Operand_SdkV2 struct {
	Column types.List `tfsdk:"column"`

	Value types.List `tfsdk:"value"`
}

func (AlertV2Operand_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (*AlertV2Operand_SdkV2) GetColumn added in v1.76.0

GetColumn returns the value of the Column field in AlertV2Operand_SdkV2 as a AlertV2OperandColumn_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (AlertV2Operand_SdkV2) GetComplexFieldTypes added in v1.76.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertV2Operand. 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 (*AlertV2Operand_SdkV2) GetValue added in v1.76.0

GetValue returns the value of the Value field in AlertV2Operand_SdkV2 as a AlertV2OperandValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2Operand_SdkV2) SetColumn added in v1.76.0

SetColumn sets the value of the Column field in AlertV2Operand_SdkV2.

func (*AlertV2Operand_SdkV2) SetValue added in v1.76.0

SetValue sets the value of the Value field in AlertV2Operand_SdkV2.

func (*AlertV2Operand_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2Operand_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Operand_SdkV2) ToObjectValue added in v1.76.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, AlertV2Operand_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2Operand_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2RunAs added in v1.88.0

type AlertV2RunAs struct {
	// Application ID of an active service principal. Setting this field
	// requires the `servicePrincipal/user` role.
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// The email of an active workspace user. Can only set this field to their
	// own email.
	UserName types.String `tfsdk:"user_name"`
}

func (AlertV2RunAs) ApplySchemaCustomizations added in v1.88.0

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

func (AlertV2RunAs) GetComplexFieldTypes added in v1.88.0

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

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

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

func (*AlertV2RunAs) SyncFieldsDuringRead added in v1.88.0

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

func (AlertV2RunAs) ToObjectValue added in v1.88.0

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

func (AlertV2RunAs) Type added in v1.88.0

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

Type implements basetypes.ObjectValuable.

type AlertV2RunAs_SdkV2 added in v1.88.0

type AlertV2RunAs_SdkV2 struct {
	// Application ID of an active service principal. Setting this field
	// requires the `servicePrincipal/user` role.
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// The email of an active workspace user. Can only set this field to their
	// own email.
	UserName types.String `tfsdk:"user_name"`
}

func (AlertV2RunAs_SdkV2) ApplySchemaCustomizations added in v1.88.0

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

func (AlertV2RunAs_SdkV2) GetComplexFieldTypes added in v1.88.0

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

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

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

func (*AlertV2RunAs_SdkV2) SyncFieldsDuringRead added in v1.88.0

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

func (AlertV2RunAs_SdkV2) ToObjectValue added in v1.88.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, AlertV2RunAs_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2RunAs_SdkV2) Type added in v1.88.0

Type implements basetypes.ObjectValuable.

type AlertV2Subscription added in v1.76.0

type AlertV2Subscription struct {
	DestinationId types.String `tfsdk:"destination_id"`

	UserEmail types.String `tfsdk:"user_email"`
}

func (AlertV2Subscription) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2Subscription) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*AlertV2Subscription) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Subscription) ToObjectValue added in v1.76.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, AlertV2Subscription only implements ToObjectValue() and Type().

func (AlertV2Subscription) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2Subscription_SdkV2 added in v1.76.0

type AlertV2Subscription_SdkV2 struct {
	DestinationId types.String `tfsdk:"destination_id"`

	UserEmail types.String `tfsdk:"user_email"`
}

func (AlertV2Subscription_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2Subscription_SdkV2) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*AlertV2Subscription_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2Subscription_SdkV2) ToObjectValue added in v1.76.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, AlertV2Subscription_SdkV2 only implements ToObjectValue() and Type().

func (AlertV2Subscription_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type AlertV2_SdkV2 added in v1.76.0

type AlertV2_SdkV2 struct {
	// The timestamp indicating when the alert was created.
	CreateTime types.String `tfsdk:"create_time"`
	// Custom description for the alert. support mustache template.
	CustomDescription types.String `tfsdk:"custom_description"`
	// Custom summary for the alert. support mustache template.
	CustomSummary types.String `tfsdk:"custom_summary"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// The actual identity that will be used to execute the alert. This is an
	// output-only field that shows the resolved run-as identity after applying
	// permissions and defaults.
	EffectiveRunAs types.List `tfsdk:"effective_run_as"`

	Evaluation types.List `tfsdk:"evaluation"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"id"`
	// Indicates whether the query is trashed.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// The workspace path of the folder containing the alert. Can only be set on
	// create, and cannot be updated.
	ParentPath types.String `tfsdk:"parent_path"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Specifies the identity that will be used to run the alert. This field
	// allows you to configure alerts to run as a specific user or service
	// principal. - For user identity: Set `user_name` to the email of an active
	// workspace user. Users can only set this to their own email. - For service
	// principal: Set `service_principal_name` to the application ID. Requires
	// the `servicePrincipal/user` role. If not specified, the alert will run as
	// the request user.
	RunAs types.List `tfsdk:"run_as"`
	// The run as username or application ID of service principal. On Create and
	// Update, this field can be set to application ID of an active service
	// principal. Setting this field requires the servicePrincipal/user role.
	// Deprecated: Use `run_as` field instead. This field will be removed in a
	// future release.
	RunAsUserName types.String `tfsdk:"run_as_user_name"`

	Schedule types.List `tfsdk:"schedule"`
	// The timestamp indicating when the alert was updated.
	UpdateTime types.String `tfsdk:"update_time"`
	// ID of the SQL warehouse attached to the alert.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (AlertV2_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AlertV2_SdkV2) GetComplexFieldTypes added in v1.76.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertV2. 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 (*AlertV2_SdkV2) GetEffectiveRunAs added in v1.88.0

func (m *AlertV2_SdkV2) GetEffectiveRunAs(ctx context.Context) (AlertV2RunAs_SdkV2, bool)

GetEffectiveRunAs returns the value of the EffectiveRunAs field in AlertV2_SdkV2 as a AlertV2RunAs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2_SdkV2) GetEvaluation added in v1.76.0

func (m *AlertV2_SdkV2) GetEvaluation(ctx context.Context) (AlertV2Evaluation_SdkV2, bool)

GetEvaluation returns the value of the Evaluation field in AlertV2_SdkV2 as a AlertV2Evaluation_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2_SdkV2) GetRunAs added in v1.88.0

func (m *AlertV2_SdkV2) GetRunAs(ctx context.Context) (AlertV2RunAs_SdkV2, bool)

GetRunAs returns the value of the RunAs field in AlertV2_SdkV2 as a AlertV2RunAs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2_SdkV2) GetSchedule added in v1.76.0

func (m *AlertV2_SdkV2) GetSchedule(ctx context.Context) (CronSchedule_SdkV2, bool)

GetSchedule returns the value of the Schedule field in AlertV2_SdkV2 as a CronSchedule_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AlertV2_SdkV2) SetEffectiveRunAs added in v1.88.0

func (m *AlertV2_SdkV2) SetEffectiveRunAs(ctx context.Context, v AlertV2RunAs_SdkV2)

SetEffectiveRunAs sets the value of the EffectiveRunAs field in AlertV2_SdkV2.

func (*AlertV2_SdkV2) SetEvaluation added in v1.76.0

func (m *AlertV2_SdkV2) SetEvaluation(ctx context.Context, v AlertV2Evaluation_SdkV2)

SetEvaluation sets the value of the Evaluation field in AlertV2_SdkV2.

func (*AlertV2_SdkV2) SetRunAs added in v1.88.0

func (m *AlertV2_SdkV2) SetRunAs(ctx context.Context, v AlertV2RunAs_SdkV2)

SetRunAs sets the value of the RunAs field in AlertV2_SdkV2.

func (*AlertV2_SdkV2) SetSchedule added in v1.76.0

func (m *AlertV2_SdkV2) SetSchedule(ctx context.Context, v CronSchedule_SdkV2)

SetSchedule sets the value of the Schedule field in AlertV2_SdkV2.

func (*AlertV2_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AlertV2_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AlertV2_SdkV2) ToObjectValue added in v1.76.0

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

func (AlertV2_SdkV2) Type added in v1.76.0

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

Type implements basetypes.ObjectValuable.

type Alert_SdkV2 added in v1.62.1

type Alert_SdkV2 struct {
	// Trigger conditions of the alert.
	Condition types.List `tfsdk:"condition"`
	// The timestamp indicating when the alert was created.
	CreateTime types.String `tfsdk:"create_time"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"id"`
	// The workspace state of the alert. Used for tracking trashed status.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// The workspace path of the folder containing the alert.
	ParentPath types.String `tfsdk:"parent_path"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
	// Current state of the alert's trigger status. This field is set to UNKNOWN
	// if the alert has not yet been evaluated or ran into an error during the
	// last evaluation.
	State types.String `tfsdk:"state"`
	// Timestamp when the alert was last triggered, if the alert has been
	// triggered before.
	TriggerTime types.String `tfsdk:"trigger_time"`
	// The timestamp indicating when the alert was updated.
	UpdateTime types.String `tfsdk:"update_time"`
}

func (Alert_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Alert_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in Alert. 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 (*Alert_SdkV2) GetCondition added in v1.62.1

func (m *Alert_SdkV2) GetCondition(ctx context.Context) (AlertCondition_SdkV2, bool)

GetCondition returns the value of the Condition field in Alert_SdkV2 as a AlertCondition_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Alert_SdkV2) SetCondition added in v1.62.1

func (m *Alert_SdkV2) SetCondition(ctx context.Context, v AlertCondition_SdkV2)

SetCondition sets the value of the Condition field in Alert_SdkV2.

func (*Alert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Alert_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (Alert_SdkV2) ToObjectValue added in v1.62.1

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

func (Alert_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type BaseChunkInfo

type BaseChunkInfo struct {
	// The number of bytes in the result chunk. This field is not available when
	// using `INLINE` disposition.
	ByteCount types.Int64 `tfsdk:"byte_count"`
	// The position within the sequence of result set chunks.
	ChunkIndex types.Int64 `tfsdk:"chunk_index"`
	// The number of rows within the result chunk.
	RowCount types.Int64 `tfsdk:"row_count"`
	// The starting row offset within the result set.
	RowOffset types.Int64 `tfsdk:"row_offset"`
}

func (BaseChunkInfo) ApplySchemaCustomizations added in v1.63.0

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

func (BaseChunkInfo) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*BaseChunkInfo) SyncFieldsDuringRead added in v1.86.0

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

func (BaseChunkInfo) ToObjectValue added in v1.61.0

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

func (BaseChunkInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type BaseChunkInfo_SdkV2 added in v1.62.1

type BaseChunkInfo_SdkV2 struct {
	// The number of bytes in the result chunk. This field is not available when
	// using `INLINE` disposition.
	ByteCount types.Int64 `tfsdk:"byte_count"`
	// The position within the sequence of result set chunks.
	ChunkIndex types.Int64 `tfsdk:"chunk_index"`
	// The number of rows within the result chunk.
	RowCount types.Int64 `tfsdk:"row_count"`
	// The starting row offset within the result set.
	RowOffset types.Int64 `tfsdk:"row_offset"`
}

func (BaseChunkInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (BaseChunkInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*BaseChunkInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (BaseChunkInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CancelExecutionRequest

type CancelExecutionRequest struct {
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"-"`
}

func (CancelExecutionRequest) ApplySchemaCustomizations added in v1.76.0

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

func (CancelExecutionRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*CancelExecutionRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (CancelExecutionRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CancelExecutionRequest_SdkV2 added in v1.62.1

type CancelExecutionRequest_SdkV2 struct {
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"-"`
}

func (CancelExecutionRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (CancelExecutionRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*CancelExecutionRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (CancelExecutionRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Channel

type Channel struct {
	DbsqlVersion types.String `tfsdk:"dbsql_version"`

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

Configures the channel name and DBSQL version of the warehouse. CHANNEL_NAME_CUSTOM should be chosen only when `dbsql_version` is specified.

func (Channel) ApplySchemaCustomizations added in v1.63.0

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

func (Channel) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*Channel) SyncFieldsDuringRead added in v1.86.0

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

func (Channel) ToObjectValue added in v1.61.0

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

func (Channel) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ChannelInfo

type ChannelInfo struct {
	// DB SQL Version the Channel is mapped to.
	DbsqlVersion types.String `tfsdk:"dbsql_version"`
	// Name of the channel
	Name types.String `tfsdk:"name"`
}

Details about a Channel.

func (ChannelInfo) ApplySchemaCustomizations added in v1.63.0

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

func (ChannelInfo) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*ChannelInfo) SyncFieldsDuringRead added in v1.86.0

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

func (ChannelInfo) ToObjectValue added in v1.61.0

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

func (ChannelInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ChannelInfo_SdkV2 added in v1.62.1

type ChannelInfo_SdkV2 struct {
	// DB SQL Version the Channel is mapped to.
	DbsqlVersion types.String `tfsdk:"dbsql_version"`
	// Name of the channel
	Name types.String `tfsdk:"name"`
}

Details about a Channel.

func (ChannelInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ChannelInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*ChannelInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ChannelInfo_SdkV2) ToObjectValue added in v1.62.1

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

func (ChannelInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Channel_SdkV2 added in v1.62.1

type Channel_SdkV2 struct {
	DbsqlVersion types.String `tfsdk:"dbsql_version"`

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

Configures the channel name and DBSQL version of the warehouse. CHANNEL_NAME_CUSTOM should be chosen only when `dbsql_version` is specified.

func (Channel_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Channel_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*Channel_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (Channel_SdkV2) ToObjectValue added in v1.62.1

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

func (Channel_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type ClientConfig added in v1.65.0

type ClientConfig struct {
	AllowCustomJsVisualizations types.Bool `tfsdk:"allow_custom_js_visualizations"`

	AllowDownloads types.Bool `tfsdk:"allow_downloads"`

	AllowExternalShares types.Bool `tfsdk:"allow_external_shares"`

	AllowSubscriptions types.Bool `tfsdk:"allow_subscriptions"`

	DateFormat types.String `tfsdk:"date_format"`

	DateTimeFormat types.String `tfsdk:"date_time_format"`

	DisablePublish types.Bool `tfsdk:"disable_publish"`

	EnableLegacyAutodetectTypes types.Bool `tfsdk:"enable_legacy_autodetect_types"`

	FeatureShowPermissionsControl types.Bool `tfsdk:"feature_show_permissions_control"`

	HidePlotlyModeBar types.Bool `tfsdk:"hide_plotly_mode_bar"`
}

func (ClientConfig) ApplySchemaCustomizations added in v1.65.0

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

func (ClientConfig) GetComplexFieldTypes added in v1.65.0

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

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

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

func (*ClientConfig) SyncFieldsDuringRead added in v1.86.0

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

func (ClientConfig) ToObjectValue added in v1.65.0

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

func (ClientConfig) Type added in v1.65.0

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

Type implements basetypes.ObjectValuable.

type ClientConfig_SdkV2 added in v1.65.0

type ClientConfig_SdkV2 struct {
	AllowCustomJsVisualizations types.Bool `tfsdk:"allow_custom_js_visualizations"`

	AllowDownloads types.Bool `tfsdk:"allow_downloads"`

	AllowExternalShares types.Bool `tfsdk:"allow_external_shares"`

	AllowSubscriptions types.Bool `tfsdk:"allow_subscriptions"`

	DateFormat types.String `tfsdk:"date_format"`

	DateTimeFormat types.String `tfsdk:"date_time_format"`

	DisablePublish types.Bool `tfsdk:"disable_publish"`

	EnableLegacyAutodetectTypes types.Bool `tfsdk:"enable_legacy_autodetect_types"`

	FeatureShowPermissionsControl types.Bool `tfsdk:"feature_show_permissions_control"`

	HidePlotlyModeBar types.Bool `tfsdk:"hide_plotly_mode_bar"`
}

func (ClientConfig_SdkV2) ApplySchemaCustomizations added in v1.65.0

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

func (ClientConfig_SdkV2) GetComplexFieldTypes added in v1.65.0

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

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

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

func (*ClientConfig_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClientConfig_SdkV2) Type added in v1.65.0

Type implements basetypes.ObjectValuable.

type ColumnInfo

type ColumnInfo struct {
	// The name of the column.
	Name types.String `tfsdk:"name"`
	// The ordinal position of the column (starting at position 0).
	Position types.Int64 `tfsdk:"position"`
	// The format of the interval type.
	TypeIntervalType types.String `tfsdk:"type_interval_type"`
	// The name of the base data type. This doesn't include details for complex
	// types such as STRUCT, MAP or ARRAY.
	TypeName types.String `tfsdk:"type_name"`
	// Specifies the number of digits in a number. This applies to the DECIMAL
	// type.
	TypePrecision types.Int64 `tfsdk:"type_precision"`
	// Specifies the number of digits to the right of the decimal point in a
	// number. This applies to the DECIMAL type.
	TypeScale types.Int64 `tfsdk:"type_scale"`
	// The full SQL type specification.
	TypeText types.String `tfsdk:"type_text"`
}

func (ColumnInfo) ApplySchemaCustomizations added in v1.63.0

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

func (ColumnInfo) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*ColumnInfo) SyncFieldsDuringRead added in v1.86.0

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

func (ColumnInfo) ToObjectValue added in v1.61.0

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

func (ColumnInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ColumnInfo_SdkV2 added in v1.62.1

type ColumnInfo_SdkV2 struct {
	// The name of the column.
	Name types.String `tfsdk:"name"`
	// The ordinal position of the column (starting at position 0).
	Position types.Int64 `tfsdk:"position"`
	// The format of the interval type.
	TypeIntervalType types.String `tfsdk:"type_interval_type"`
	// The name of the base data type. This doesn't include details for complex
	// types such as STRUCT, MAP or ARRAY.
	TypeName types.String `tfsdk:"type_name"`
	// Specifies the number of digits in a number. This applies to the DECIMAL
	// type.
	TypePrecision types.Int64 `tfsdk:"type_precision"`
	// Specifies the number of digits to the right of the decimal point in a
	// number. This applies to the DECIMAL type.
	TypeScale types.Int64 `tfsdk:"type_scale"`
	// The full SQL type specification.
	TypeText types.String `tfsdk:"type_text"`
}

func (ColumnInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ColumnInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*ColumnInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ColumnInfo_SdkV2) ToObjectValue added in v1.62.1

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

func (ColumnInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateAlert

type CreateAlert struct {
	// Name of the alert.
	Name types.String `tfsdk:"name"`
	// Alert configuration options.
	Options types.Object `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// Query ID.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds after being triggered before the alert rearms itself
	// and can be triggered again. If `null`, alert will never be triggered
	// again.
	Rearm types.Int64 `tfsdk:"rearm"`
}

func (CreateAlert) ApplySchemaCustomizations added in v1.63.0

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

func (CreateAlert) GetComplexFieldTypes added in v1.61.0

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

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

func (m *CreateAlert) GetOptions(ctx context.Context) (AlertOptions, bool)

GetOptions returns the value of the Options field in CreateAlert as a AlertOptions value. If the field is unknown or null, the boolean return value is false.

func (*CreateAlert) SetOptions added in v1.61.0

func (m *CreateAlert) SetOptions(ctx context.Context, v AlertOptions)

SetOptions sets the value of the Options field in CreateAlert.

func (*CreateAlert) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateAlert) SyncFieldsDuringRead added in v1.91.0

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

func (CreateAlert) ToObjectValue added in v1.61.0

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

func (CreateAlert) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreateAlertRequest

type CreateAlertRequest struct {
	Alert types.Object `tfsdk:"alert"`
	// If true, automatically resolve alert display name conflicts. Otherwise,
	// fail the request if the alert's display name conflicts with an existing
	// alert's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`
}

func (CreateAlertRequest) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateAlertRequest) GetAlert added in v1.61.0

GetAlert returns the value of the Alert field in CreateAlertRequest as a CreateAlertRequestAlert value. If the field is unknown or null, the boolean return value is false.

func (CreateAlertRequest) GetComplexFieldTypes added in v1.61.0

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

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

SetAlert sets the value of the Alert field in CreateAlertRequest.

func (*CreateAlertRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateAlertRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateAlertRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateAlertRequestAlert

type CreateAlertRequestAlert struct {
	// Trigger conditions of the alert.
	Condition types.Object `tfsdk:"condition"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The workspace path of the folder containing the alert.
	ParentPath types.String `tfsdk:"parent_path"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
}

func (CreateAlertRequestAlert) ApplySchemaCustomizations added in v1.63.0

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

func (CreateAlertRequestAlert) GetComplexFieldTypes added in v1.61.0

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

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

func (m *CreateAlertRequestAlert) GetCondition(ctx context.Context) (AlertCondition, bool)

GetCondition returns the value of the Condition field in CreateAlertRequestAlert as a AlertCondition value. If the field is unknown or null, the boolean return value is false.

func (*CreateAlertRequestAlert) SetCondition added in v1.61.0

func (m *CreateAlertRequestAlert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in CreateAlertRequestAlert.

func (*CreateAlertRequestAlert) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateAlertRequestAlert) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateAlertRequestAlert) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateAlertRequestAlert_SdkV2 added in v1.62.1

type CreateAlertRequestAlert_SdkV2 struct {
	// Trigger conditions of the alert.
	Condition types.List `tfsdk:"condition"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The workspace path of the folder containing the alert.
	ParentPath types.String `tfsdk:"parent_path"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
}

func (CreateAlertRequestAlert_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (CreateAlertRequestAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertRequestAlert. 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 (*CreateAlertRequestAlert_SdkV2) GetCondition added in v1.62.1

GetCondition returns the value of the Condition field in CreateAlertRequestAlert_SdkV2 as a AlertCondition_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateAlertRequestAlert_SdkV2) SetCondition added in v1.62.1

SetCondition sets the value of the Condition field in CreateAlertRequestAlert_SdkV2.

func (*CreateAlertRequestAlert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateAlertRequestAlert_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateAlertRequestAlert_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateAlertRequest_SdkV2 added in v1.62.1

type CreateAlertRequest_SdkV2 struct {
	Alert types.List `tfsdk:"alert"`
	// If true, automatically resolve alert display name conflicts. Otherwise,
	// fail the request if the alert's display name conflicts with an existing
	// alert's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`
}

func (CreateAlertRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateAlertRequest_SdkV2) GetAlert added in v1.62.1

GetAlert returns the value of the Alert field in CreateAlertRequest_SdkV2 as a CreateAlertRequestAlert_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateAlertRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertRequest. 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 (*CreateAlertRequest_SdkV2) SetAlert added in v1.62.1

SetAlert sets the value of the Alert field in CreateAlertRequest_SdkV2.

func (*CreateAlertRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateAlertRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateAlertRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateAlertV2Request added in v1.76.0

type CreateAlertV2Request struct {
	Alert types.Object `tfsdk:"alert"`
}

func (CreateAlertV2Request) ApplySchemaCustomizations added in v1.76.0

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

func (*CreateAlertV2Request) GetAlert added in v1.76.0

func (m *CreateAlertV2Request) GetAlert(ctx context.Context) (AlertV2, bool)

GetAlert returns the value of the Alert field in CreateAlertV2Request as a AlertV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateAlertV2Request) GetComplexFieldTypes added in v1.76.0

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

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

func (m *CreateAlertV2Request) SetAlert(ctx context.Context, v AlertV2)

SetAlert sets the value of the Alert field in CreateAlertV2Request.

func (*CreateAlertV2Request) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateAlertV2Request) SyncFieldsDuringRead added in v1.91.0

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

func (CreateAlertV2Request) ToObjectValue added in v1.76.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, CreateAlertV2Request only implements ToObjectValue() and Type().

func (CreateAlertV2Request) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type CreateAlertV2Request_SdkV2 added in v1.76.0

type CreateAlertV2Request_SdkV2 struct {
	Alert types.List `tfsdk:"alert"`
}

func (CreateAlertV2Request_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (*CreateAlertV2Request_SdkV2) GetAlert added in v1.76.0

GetAlert returns the value of the Alert field in CreateAlertV2Request_SdkV2 as a AlertV2_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateAlertV2Request_SdkV2) GetComplexFieldTypes added in v1.76.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertV2Request. 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 (*CreateAlertV2Request_SdkV2) SetAlert added in v1.76.0

SetAlert sets the value of the Alert field in CreateAlertV2Request_SdkV2.

func (*CreateAlertV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateAlertV2Request_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateAlertV2Request_SdkV2) ToObjectValue added in v1.76.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, CreateAlertV2Request_SdkV2 only implements ToObjectValue() and Type().

func (CreateAlertV2Request_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type CreateAlert_SdkV2 added in v1.62.1

type CreateAlert_SdkV2 struct {
	// Name of the alert.
	Name types.String `tfsdk:"name"`
	// Alert configuration options.
	Options types.List `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// Query ID.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds after being triggered before the alert rearms itself
	// and can be triggered again. If `null`, alert will never be triggered
	// again.
	Rearm types.Int64 `tfsdk:"rearm"`
}

func (CreateAlert_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlert. 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 (*CreateAlert_SdkV2) GetOptions added in v1.62.1

GetOptions returns the value of the Options field in CreateAlert_SdkV2 as a AlertOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateAlert_SdkV2) SetOptions added in v1.62.1

func (m *CreateAlert_SdkV2) SetOptions(ctx context.Context, v AlertOptions_SdkV2)

SetOptions sets the value of the Options field in CreateAlert_SdkV2.

func (*CreateAlert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateAlert_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateAlert_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateAlert_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateQueryRequest

type CreateQueryRequest struct {
	// If true, automatically resolve query display name conflicts. Otherwise,
	// fail the request if the query's display name conflicts with an existing
	// query's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`

	Query types.Object `tfsdk:"query"`
}

func (CreateQueryRequest) ApplySchemaCustomizations added in v1.63.0

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

func (CreateQueryRequest) GetComplexFieldTypes added in v1.61.0

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

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

GetQuery returns the value of the Query field in CreateQueryRequest as a CreateQueryRequestQuery value. If the field is unknown or null, the boolean return value is false.

func (*CreateQueryRequest) SetQuery added in v1.61.0

SetQuery sets the value of the Query field in CreateQueryRequest.

func (*CreateQueryRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateQueryRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateQueryRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateQueryRequestQuery

type CreateQueryRequestQuery struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Workspace path of the workspace folder containing the object.
	ParentPath types.String `tfsdk:"parent_path"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (CreateQueryRequestQuery) ApplySchemaCustomizations added in v1.63.0

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

func (CreateQueryRequestQuery) GetComplexFieldTypes added in v1.61.0

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

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

func (m *CreateQueryRequestQuery) GetParameters(ctx context.Context) ([]QueryParameter, bool)

GetParameters returns the value of the Parameters field in CreateQueryRequestQuery as a slice of QueryParameter values. If the field is unknown or null, the boolean return value is false.

func (*CreateQueryRequestQuery) GetTags added in v1.61.0

func (m *CreateQueryRequestQuery) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*CreateQueryRequestQuery) SetParameters added in v1.61.0

func (m *CreateQueryRequestQuery) SetParameters(ctx context.Context, v []QueryParameter)

SetParameters sets the value of the Parameters field in CreateQueryRequestQuery.

func (*CreateQueryRequestQuery) SetTags added in v1.61.0

func (m *CreateQueryRequestQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in CreateQueryRequestQuery.

func (*CreateQueryRequestQuery) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateQueryRequestQuery) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateQueryRequestQuery) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateQueryRequestQuery_SdkV2 added in v1.62.1

type CreateQueryRequestQuery_SdkV2 struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Workspace path of the workspace folder containing the object.
	ParentPath types.String `tfsdk:"parent_path"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (CreateQueryRequestQuery_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (CreateQueryRequestQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryRequestQuery. 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 (*CreateQueryRequestQuery_SdkV2) GetParameters added in v1.62.1

GetParameters returns the value of the Parameters field in CreateQueryRequestQuery_SdkV2 as a slice of QueryParameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreateQueryRequestQuery_SdkV2) GetTags added in v1.62.1

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

func (*CreateQueryRequestQuery_SdkV2) SetParameters added in v1.62.1

SetParameters sets the value of the Parameters field in CreateQueryRequestQuery_SdkV2.

func (*CreateQueryRequestQuery_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in CreateQueryRequestQuery_SdkV2.

func (*CreateQueryRequestQuery_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateQueryRequestQuery_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateQueryRequestQuery_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateQueryRequest_SdkV2 added in v1.62.1

type CreateQueryRequest_SdkV2 struct {
	// If true, automatically resolve query display name conflicts. Otherwise,
	// fail the request if the query's display name conflicts with an existing
	// query's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`

	Query types.List `tfsdk:"query"`
}

func (CreateQueryRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryRequest. 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 (*CreateQueryRequest_SdkV2) GetQuery added in v1.62.1

GetQuery returns the value of the Query field in CreateQueryRequest_SdkV2 as a CreateQueryRequestQuery_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateQueryRequest_SdkV2) SetQuery added in v1.62.1

SetQuery sets the value of the Query field in CreateQueryRequest_SdkV2.

func (*CreateQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateQueryRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateQueryRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateQueryVisualizationsLegacyRequest

type CreateQueryVisualizationsLegacyRequest struct {
	// A short description of this visualization. This is not displayed in the
	// UI.
	Description types.String `tfsdk:"description"`
	// The name of the visualization that appears on dashboards and the query
	// screen.
	Name types.String `tfsdk:"name"`
	// The options object varies widely from one visualization type to the next
	// and is unsupported. Databricks does not recommend modifying visualization
	// settings in JSON.
	Options types.Object `tfsdk:"options"`
	// The identifier returned by :method:queries/create
	QueryId types.String `tfsdk:"query_id"`
	// The type of visualization: chart, table, pivot table, and so on.
	Type_ types.String `tfsdk:"type"`
}

Add visualization to a query

func (CreateQueryVisualizationsLegacyRequest) ApplySchemaCustomizations added in v1.76.0

func (CreateQueryVisualizationsLegacyRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateQueryVisualizationsLegacyRequest) SyncFieldsDuringRead added in v1.91.0

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

func (CreateQueryVisualizationsLegacyRequest) Type

Type implements basetypes.ObjectValuable.

type CreateQueryVisualizationsLegacyRequest_SdkV2 added in v1.62.1

type CreateQueryVisualizationsLegacyRequest_SdkV2 struct {
	// A short description of this visualization. This is not displayed in the
	// UI.
	Description types.String `tfsdk:"description"`
	// The name of the visualization that appears on dashboards and the query
	// screen.
	Name types.String `tfsdk:"name"`
	// The options object varies widely from one visualization type to the next
	// and is unsupported. Databricks does not recommend modifying visualization
	// settings in JSON.
	Options types.Object `tfsdk:"options"`
	// The identifier returned by :method:queries/create
	QueryId types.String `tfsdk:"query_id"`
	// The type of visualization: chart, table, pivot table, and so on.
	Type_ types.String `tfsdk:"type"`
}

Add visualization to a query

func (CreateQueryVisualizationsLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (CreateQueryVisualizationsLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (*CreateQueryVisualizationsLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateQueryVisualizationsLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateVisualizationRequest

type CreateVisualizationRequest struct {
	Visualization types.Object `tfsdk:"visualization"`
}

func (CreateVisualizationRequest) ApplySchemaCustomizations added in v1.63.0

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

func (CreateVisualizationRequest) GetComplexFieldTypes added in v1.61.0

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

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

GetVisualization returns the value of the Visualization field in CreateVisualizationRequest as a CreateVisualizationRequestVisualization value. If the field is unknown or null, the boolean return value is false.

func (*CreateVisualizationRequest) SetVisualization added in v1.61.0

SetVisualization sets the value of the Visualization field in CreateVisualizationRequest.

func (*CreateVisualizationRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateVisualizationRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateVisualizationRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateVisualizationRequestVisualization

type CreateVisualizationRequestVisualization struct {
	// The display name of the visualization.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID of the query that the visualization is attached to.
	QueryId types.String `tfsdk:"query_id"`
	// The visualization options varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying
	// visualization options directly.
	SerializedOptions types.String `tfsdk:"serialized_options"`
	// The visualization query plan varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying the
	// visualization query plan directly.
	SerializedQueryPlan types.String `tfsdk:"serialized_query_plan"`
	// The type of visualization: counter, table, funnel, and so on.
	Type_ types.String `tfsdk:"type"`
}

func (CreateVisualizationRequestVisualization) ApplySchemaCustomizations added in v1.63.0

func (CreateVisualizationRequestVisualization) GetComplexFieldTypes added in v1.61.0

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

func (*CreateVisualizationRequestVisualization) SyncFieldsDuringRead added in v1.86.0

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

func (CreateVisualizationRequestVisualization) Type

Type implements basetypes.ObjectValuable.

type CreateVisualizationRequestVisualization_SdkV2 added in v1.62.1

type CreateVisualizationRequestVisualization_SdkV2 struct {
	// The display name of the visualization.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID of the query that the visualization is attached to.
	QueryId types.String `tfsdk:"query_id"`
	// The visualization options varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying
	// visualization options directly.
	SerializedOptions types.String `tfsdk:"serialized_options"`
	// The visualization query plan varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying the
	// visualization query plan directly.
	SerializedQueryPlan types.String `tfsdk:"serialized_query_plan"`
	// The type of visualization: counter, table, funnel, and so on.
	Type_ types.String `tfsdk:"type"`
}

func (CreateVisualizationRequestVisualization_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (CreateVisualizationRequestVisualization_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (*CreateVisualizationRequestVisualization_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CreateVisualizationRequestVisualization_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateVisualizationRequest_SdkV2 added in v1.62.1

type CreateVisualizationRequest_SdkV2 struct {
	Visualization types.List `tfsdk:"visualization"`
}

func (CreateVisualizationRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (CreateVisualizationRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVisualizationRequest. 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 (*CreateVisualizationRequest_SdkV2) GetVisualization added in v1.62.1

GetVisualization returns the value of the Visualization field in CreateVisualizationRequest_SdkV2 as a CreateVisualizationRequestVisualization_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateVisualizationRequest_SdkV2) SetVisualization added in v1.62.1

SetVisualization sets the value of the Visualization field in CreateVisualizationRequest_SdkV2.

func (*CreateVisualizationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateVisualizationRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateVisualizationRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateWarehouseRequest

type CreateWarehouseRequest struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.Object `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.Object `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

Creates a new SQL warehouse.

func (CreateWarehouseRequest) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateWarehouseRequest) GetChannel added in v1.61.0

func (m *CreateWarehouseRequest) GetChannel(ctx context.Context) (Channel, bool)

GetChannel returns the value of the Channel field in CreateWarehouseRequest as a Channel value. If the field is unknown or null, the boolean return value is false.

func (CreateWarehouseRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*CreateWarehouseRequest) SetChannel added in v1.61.0

func (m *CreateWarehouseRequest) SetChannel(ctx context.Context, v Channel)

SetChannel sets the value of the Channel field in CreateWarehouseRequest.

func (*CreateWarehouseRequest) SetTags added in v1.61.0

SetTags sets the value of the Tags field in CreateWarehouseRequest.

func (*CreateWarehouseRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateWarehouseRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateWarehouseRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateWarehouseRequest_SdkV2 added in v1.62.1

type CreateWarehouseRequest_SdkV2 struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.List `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.List `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

Creates a new SQL warehouse.

func (CreateWarehouseRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*CreateWarehouseRequest_SdkV2) GetChannel added in v1.62.1

GetChannel returns the value of the Channel field in CreateWarehouseRequest_SdkV2 as a Channel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateWarehouseRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*CreateWarehouseRequest_SdkV2) SetChannel added in v1.62.1

SetChannel sets the value of the Channel field in CreateWarehouseRequest_SdkV2.

func (*CreateWarehouseRequest_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in CreateWarehouseRequest_SdkV2.

func (*CreateWarehouseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateWarehouseRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateWarehouseRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateWarehouseResponse

type CreateWarehouseResponse struct {
	// Id for the SQL warehouse. This value is unique across all SQL warehouses.
	Id types.String `tfsdk:"id"`
}

func (CreateWarehouseResponse) ApplySchemaCustomizations added in v1.63.0

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

func (CreateWarehouseResponse) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*CreateWarehouseResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateWarehouseResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateWarehouseResponse_SdkV2 added in v1.62.1

type CreateWarehouseResponse_SdkV2 struct {
	// Id for the SQL warehouse. This value is unique across all SQL warehouses.
	Id types.String `tfsdk:"id"`
}

func (CreateWarehouseResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (CreateWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*CreateWarehouseResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateWarehouseResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateWidget

type CreateWidget struct {
	// Dashboard ID returned by :method:dashboards/create.
	DashboardId types.String `tfsdk:"dashboard_id"`

	Options types.Object `tfsdk:"options"`
	// If this is a textbox widget, the application displays this text. This
	// field is ignored if the widget contains a visualization in the
	// `visualization` field.
	Text types.String `tfsdk:"text"`
	// Query Vizualization ID returned by :method:queryvisualizations/create.
	VisualizationId types.String `tfsdk:"visualization_id"`
	// Width of a widget
	Width types.Int64 `tfsdk:"width"`
}

func (CreateWidget) ApplySchemaCustomizations added in v1.63.0

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

func (CreateWidget) GetComplexFieldTypes added in v1.61.0

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

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

func (m *CreateWidget) GetOptions(ctx context.Context) (WidgetOptions, bool)

GetOptions returns the value of the Options field in CreateWidget as a WidgetOptions value. If the field is unknown or null, the boolean return value is false.

func (*CreateWidget) SetOptions added in v1.61.0

func (m *CreateWidget) SetOptions(ctx context.Context, v WidgetOptions)

SetOptions sets the value of the Options field in CreateWidget.

func (*CreateWidget) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateWidget) SyncFieldsDuringRead added in v1.91.0

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

func (CreateWidget) ToObjectValue added in v1.61.0

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

func (CreateWidget) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreateWidget_SdkV2 added in v1.62.1

type CreateWidget_SdkV2 struct {
	// Dashboard ID returned by :method:dashboards/create.
	DashboardId types.String `tfsdk:"dashboard_id"`

	Options types.List `tfsdk:"options"`
	// If this is a textbox widget, the application displays this text. This
	// field is ignored if the widget contains a visualization in the
	// `visualization` field.
	Text types.String `tfsdk:"text"`
	// Query Vizualization ID returned by :method:queryvisualizations/create.
	VisualizationId types.String `tfsdk:"visualization_id"`
	// Width of a widget
	Width types.Int64 `tfsdk:"width"`
}

func (CreateWidget_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateWidget_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWidget. 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 (*CreateWidget_SdkV2) GetOptions added in v1.62.1

GetOptions returns the value of the Options field in CreateWidget_SdkV2 as a WidgetOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateWidget_SdkV2) SetOptions added in v1.62.1

func (m *CreateWidget_SdkV2) SetOptions(ctx context.Context, v WidgetOptions_SdkV2)

SetOptions sets the value of the Options field in CreateWidget_SdkV2.

func (*CreateWidget_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateWidget_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateWidget_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CronSchedule added in v1.76.0

type CronSchedule struct {
	// Indicate whether this schedule is paused or not.
	PauseStatus types.String `tfsdk:"pause_status"`
	// A cron expression using quartz syntax that specifies the schedule for
	// this pipeline. Should use the quartz format described here:
	// http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
	QuartzCronSchedule types.String `tfsdk:"quartz_cron_schedule"`
	// A Java timezone id. The schedule will be resolved using this timezone.
	// This will be combined with the quartz_cron_schedule to determine the
	// schedule. See
	// https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html
	// for details.
	TimezoneId types.String `tfsdk:"timezone_id"`
}

func (CronSchedule) ApplySchemaCustomizations added in v1.76.0

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

func (CronSchedule) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*CronSchedule) SyncFieldsDuringRead added in v1.86.0

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

func (CronSchedule) ToObjectValue added in v1.76.0

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

func (CronSchedule) Type added in v1.76.0

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

Type implements basetypes.ObjectValuable.

type CronSchedule_SdkV2 added in v1.76.0

type CronSchedule_SdkV2 struct {
	// Indicate whether this schedule is paused or not.
	PauseStatus types.String `tfsdk:"pause_status"`
	// A cron expression using quartz syntax that specifies the schedule for
	// this pipeline. Should use the quartz format described here:
	// http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
	QuartzCronSchedule types.String `tfsdk:"quartz_cron_schedule"`
	// A Java timezone id. The schedule will be resolved using this timezone.
	// This will be combined with the quartz_cron_schedule to determine the
	// schedule. See
	// https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html
	// for details.
	TimezoneId types.String `tfsdk:"timezone_id"`
}

func (CronSchedule_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (CronSchedule_SdkV2) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*CronSchedule_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CronSchedule_SdkV2) ToObjectValue added in v1.76.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, CronSchedule_SdkV2 only implements ToObjectValue() and Type().

func (CronSchedule_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type Dashboard

type Dashboard struct {
	// Whether the authenticated user can edit the query definition.
	CanEdit types.Bool `tfsdk:"can_edit"`
	// Timestamp when this dashboard was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// In the web application, query filters that share a name are coupled to a
	// single selection box if this value is `true`.
	DashboardFiltersEnabled types.Bool `tfsdk:"dashboard_filters_enabled"`
	// The ID for this dashboard.
	Id types.String `tfsdk:"id"`
	// Indicates whether a dashboard is trashed. Trashed dashboards won't appear
	// in list views. If this boolean is `true`, the `options` property for this
	// dashboard includes a `moved_to_trash_at` timestamp. Items in trash are
	// permanently deleted after 30 days.
	IsArchived types.Bool `tfsdk:"is_archived"`
	// Whether a dashboard is a draft. Draft dashboards only appear in list
	// views for their owners.
	IsDraft types.Bool `tfsdk:"is_draft"`
	// Indicates whether this query object appears in the current user's
	// favorites list. This flag determines whether the star icon for favorites
	// is selected.
	IsFavorite types.Bool `tfsdk:"is_favorite"`
	// The title of the dashboard that appears in list views and at the top of
	// the dashboard page.
	Name types.String `tfsdk:"name"`

	Options types.Object `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query *
	// `CAN_EDIT`: Can edit the query * `CAN_MANAGE`: Can manage the query
	PermissionTier types.String `tfsdk:"permission_tier"`
	// URL slug. Usually mirrors the query name with dashes (`-`) instead of
	// spaces. Appears in the URL for this query.
	Slug types.String `tfsdk:"slug"`

	Tags types.List `tfsdk:"tags"`
	// Timestamp when this dashboard was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`

	User types.Object `tfsdk:"user"`
	// The ID of the user who owns the dashboard.
	UserId types.Int64 `tfsdk:"user_id"`

	Widgets types.List `tfsdk:"widgets"`
}

A JSON representing a dashboard containing widgets of visualizations and text boxes.

func (Dashboard) ApplySchemaCustomizations added in v1.63.0

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

func (Dashboard) GetComplexFieldTypes added in v1.61.0

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

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

func (m *Dashboard) GetOptions(ctx context.Context) (DashboardOptions, bool)

GetOptions returns the value of the Options field in Dashboard as a DashboardOptions value. If the field is unknown or null, the boolean return value is false.

func (*Dashboard) GetTags added in v1.61.0

func (m *Dashboard) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*Dashboard) GetUser added in v1.61.0

func (m *Dashboard) GetUser(ctx context.Context) (User, bool)

GetUser returns the value of the User field in Dashboard as a User value. If the field is unknown or null, the boolean return value is false.

func (*Dashboard) GetWidgets added in v1.61.0

func (m *Dashboard) GetWidgets(ctx context.Context) ([]Widget, bool)

GetWidgets returns the value of the Widgets field in Dashboard as a slice of Widget values. If the field is unknown or null, the boolean return value is false.

func (*Dashboard) SetOptions added in v1.61.0

func (m *Dashboard) SetOptions(ctx context.Context, v DashboardOptions)

SetOptions sets the value of the Options field in Dashboard.

func (*Dashboard) SetTags added in v1.61.0

func (m *Dashboard) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in Dashboard.

func (*Dashboard) SetUser added in v1.61.0

func (m *Dashboard) SetUser(ctx context.Context, v User)

SetUser sets the value of the User field in Dashboard.

func (*Dashboard) SetWidgets added in v1.61.0

func (m *Dashboard) SetWidgets(ctx context.Context, v []Widget)

SetWidgets sets the value of the Widgets field in Dashboard.

func (*Dashboard) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Dashboard) SyncFieldsDuringRead added in v1.86.0

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

func (Dashboard) ToObjectValue added in v1.61.0

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

func (Dashboard) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DashboardEditContent

type DashboardEditContent struct {
	DashboardId types.String `tfsdk:"-"`
	// The title of this dashboard that appears in list views and at the top of
	// the dashboard page.
	Name types.String `tfsdk:"name"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
}

func (DashboardEditContent) ApplySchemaCustomizations added in v1.63.0

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

func (DashboardEditContent) GetComplexFieldTypes added in v1.61.0

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

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

func (m *DashboardEditContent) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*DashboardEditContent) SetTags added in v1.61.0

func (m *DashboardEditContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in DashboardEditContent.

func (*DashboardEditContent) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DashboardEditContent) SyncFieldsDuringRead added in v1.91.0

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

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

func (DashboardEditContent) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DashboardEditContent_SdkV2 added in v1.62.1

type DashboardEditContent_SdkV2 struct {
	DashboardId types.String `tfsdk:"-"`
	// The title of this dashboard that appears in list views and at the top of
	// the dashboard page.
	Name types.String `tfsdk:"name"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
}

func (DashboardEditContent_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DashboardEditContent_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DashboardEditContent_SdkV2) SetTags added in v1.62.1

func (m *DashboardEditContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in DashboardEditContent_SdkV2.

func (*DashboardEditContent_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DashboardEditContent_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (DashboardEditContent_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DashboardOptions

type DashboardOptions struct {
	// The timestamp when this dashboard was moved to trash. Only present when
	// the `is_archived` property is `true`. Trashed items are deleted after
	// thirty days.
	MovedToTrashAt types.String `tfsdk:"moved_to_trash_at"`
}

func (DashboardOptions) ApplySchemaCustomizations added in v1.63.0

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

func (DashboardOptions) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DashboardOptions) SyncFieldsDuringRead added in v1.86.0

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

func (DashboardOptions) ToObjectValue added in v1.61.0

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

func (DashboardOptions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DashboardOptions_SdkV2 added in v1.62.1

type DashboardOptions_SdkV2 struct {
	// The timestamp when this dashboard was moved to trash. Only present when
	// the `is_archived` property is `true`. Trashed items are deleted after
	// thirty days.
	MovedToTrashAt types.String `tfsdk:"moved_to_trash_at"`
}

func (DashboardOptions_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DashboardOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DashboardOptions_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (DashboardOptions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Dashboard_SdkV2 added in v1.62.1

type Dashboard_SdkV2 struct {
	// Whether the authenticated user can edit the query definition.
	CanEdit types.Bool `tfsdk:"can_edit"`
	// Timestamp when this dashboard was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// In the web application, query filters that share a name are coupled to a
	// single selection box if this value is `true`.
	DashboardFiltersEnabled types.Bool `tfsdk:"dashboard_filters_enabled"`
	// The ID for this dashboard.
	Id types.String `tfsdk:"id"`
	// Indicates whether a dashboard is trashed. Trashed dashboards won't appear
	// in list views. If this boolean is `true`, the `options` property for this
	// dashboard includes a `moved_to_trash_at` timestamp. Items in trash are
	// permanently deleted after 30 days.
	IsArchived types.Bool `tfsdk:"is_archived"`
	// Whether a dashboard is a draft. Draft dashboards only appear in list
	// views for their owners.
	IsDraft types.Bool `tfsdk:"is_draft"`
	// Indicates whether this query object appears in the current user's
	// favorites list. This flag determines whether the star icon for favorites
	// is selected.
	IsFavorite types.Bool `tfsdk:"is_favorite"`
	// The title of the dashboard that appears in list views and at the top of
	// the dashboard page.
	Name types.String `tfsdk:"name"`

	Options types.List `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query *
	// `CAN_EDIT`: Can edit the query * `CAN_MANAGE`: Can manage the query
	PermissionTier types.String `tfsdk:"permission_tier"`
	// URL slug. Usually mirrors the query name with dashes (`-`) instead of
	// spaces. Appears in the URL for this query.
	Slug types.String `tfsdk:"slug"`

	Tags types.List `tfsdk:"tags"`
	// Timestamp when this dashboard was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`

	User types.List `tfsdk:"user"`
	// The ID of the user who owns the dashboard.
	UserId types.Int64 `tfsdk:"user_id"`

	Widgets types.List `tfsdk:"widgets"`
}

A JSON representing a dashboard containing widgets of visualizations and text boxes.

func (Dashboard_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Dashboard_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in Dashboard. 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 (*Dashboard_SdkV2) GetOptions added in v1.62.1

GetOptions returns the value of the Options field in Dashboard_SdkV2 as a DashboardOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Dashboard_SdkV2) GetTags added in v1.62.1

func (m *Dashboard_SdkV2) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*Dashboard_SdkV2) GetUser added in v1.62.1

func (m *Dashboard_SdkV2) GetUser(ctx context.Context) (User_SdkV2, bool)

GetUser returns the value of the User field in Dashboard_SdkV2 as a User_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Dashboard_SdkV2) GetWidgets added in v1.62.1

func (m *Dashboard_SdkV2) GetWidgets(ctx context.Context) ([]Widget_SdkV2, bool)

GetWidgets returns the value of the Widgets field in Dashboard_SdkV2 as a slice of Widget_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*Dashboard_SdkV2) SetOptions added in v1.62.1

func (m *Dashboard_SdkV2) SetOptions(ctx context.Context, v DashboardOptions_SdkV2)

SetOptions sets the value of the Options field in Dashboard_SdkV2.

func (*Dashboard_SdkV2) SetTags added in v1.62.1

func (m *Dashboard_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in Dashboard_SdkV2.

func (*Dashboard_SdkV2) SetUser added in v1.62.1

func (m *Dashboard_SdkV2) SetUser(ctx context.Context, v User_SdkV2)

SetUser sets the value of the User field in Dashboard_SdkV2.

func (*Dashboard_SdkV2) SetWidgets added in v1.62.1

func (m *Dashboard_SdkV2) SetWidgets(ctx context.Context, v []Widget_SdkV2)

SetWidgets sets the value of the Widgets field in Dashboard_SdkV2.

func (*Dashboard_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Dashboard_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (Dashboard_SdkV2) ToObjectValue added in v1.62.1

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

func (Dashboard_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type DataSource

type DataSource struct {
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	Id types.String `tfsdk:"id"`
	// The string name of this data source / SQL warehouse as it appears in the
	// Databricks SQL web application.
	Name types.String `tfsdk:"name"`
	// Reserved for internal use.
	PauseReason types.String `tfsdk:"pause_reason"`
	// Reserved for internal use.
	Paused types.Int64 `tfsdk:"paused"`
	// Reserved for internal use.
	SupportsAutoLimit types.Bool `tfsdk:"supports_auto_limit"`
	// Reserved for internal use.
	Syntax types.String `tfsdk:"syntax"`
	// The type of data source. For SQL warehouses, this will be
	// `databricks_internal`.
	Type_ types.String `tfsdk:"type"`
	// Reserved for internal use.
	ViewOnly types.Bool `tfsdk:"view_only"`
	// The ID of the associated SQL warehouse, if this data source is backed by
	// a SQL warehouse.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

A JSON object representing a DBSQL data source / SQL warehouse.

func (DataSource) ApplySchemaCustomizations added in v1.63.0

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

func (DataSource) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DataSource) SyncFieldsDuringRead added in v1.86.0

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

func (DataSource) ToObjectValue added in v1.61.0

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

func (DataSource) Type

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

Type implements basetypes.ObjectValuable.

type DataSource_SdkV2 added in v1.62.1

type DataSource_SdkV2 struct {
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	Id types.String `tfsdk:"id"`
	// The string name of this data source / SQL warehouse as it appears in the
	// Databricks SQL web application.
	Name types.String `tfsdk:"name"`
	// Reserved for internal use.
	PauseReason types.String `tfsdk:"pause_reason"`
	// Reserved for internal use.
	Paused types.Int64 `tfsdk:"paused"`
	// Reserved for internal use.
	SupportsAutoLimit types.Bool `tfsdk:"supports_auto_limit"`
	// Reserved for internal use.
	Syntax types.String `tfsdk:"syntax"`
	// The type of data source. For SQL warehouses, this will be
	// `databricks_internal`.
	Type_ types.String `tfsdk:"type"`
	// Reserved for internal use.
	ViewOnly types.Bool `tfsdk:"view_only"`
	// The ID of the associated SQL warehouse, if this data source is backed by
	// a SQL warehouse.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

A JSON object representing a DBSQL data source / SQL warehouse.

func (DataSource_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DataSource_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DataSource_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DataSource_SdkV2) ToObjectValue added in v1.62.1

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

func (DataSource_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DateRange

type DateRange struct {
	End types.String `tfsdk:"end"`

	Start types.String `tfsdk:"start"`
}

func (DateRange) ApplySchemaCustomizations added in v1.63.0

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

func (DateRange) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DateRange) SyncFieldsDuringRead added in v1.86.0

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

func (DateRange) ToObjectValue added in v1.61.0

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

func (DateRange) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DateRangeValue

type DateRangeValue struct {
	// Manually specified date-time range value.
	DateRangeValue types.Object `tfsdk:"date_range_value"`
	// Dynamic date-time range value based on current date-time.
	DynamicDateRangeValue types.String `tfsdk:"dynamic_date_range_value"`
	// Date-time precision to format the value into when the query is run.
	// Defaults to DAY_PRECISION (YYYY-MM-DD).
	Precision types.String `tfsdk:"precision"`

	StartDayOfWeek types.Int64 `tfsdk:"start_day_of_week"`
}

func (DateRangeValue) ApplySchemaCustomizations added in v1.63.0

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

func (DateRangeValue) GetComplexFieldTypes added in v1.61.0

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

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

func (m *DateRangeValue) GetDateRangeValue(ctx context.Context) (DateRange, bool)

GetDateRangeValue returns the value of the DateRangeValue field in DateRangeValue as a DateRange value. If the field is unknown or null, the boolean return value is false.

func (*DateRangeValue) SetDateRangeValue added in v1.61.0

func (m *DateRangeValue) SetDateRangeValue(ctx context.Context, v DateRange)

SetDateRangeValue sets the value of the DateRangeValue field in DateRangeValue.

func (*DateRangeValue) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DateRangeValue) SyncFieldsDuringRead added in v1.86.0

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

func (DateRangeValue) ToObjectValue added in v1.61.0

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

func (DateRangeValue) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DateRangeValue_SdkV2 added in v1.62.1

type DateRangeValue_SdkV2 struct {
	// Manually specified date-time range value.
	DateRangeValue types.List `tfsdk:"date_range_value"`
	// Dynamic date-time range value based on current date-time.
	DynamicDateRangeValue types.String `tfsdk:"dynamic_date_range_value"`
	// Date-time precision to format the value into when the query is run.
	// Defaults to DAY_PRECISION (YYYY-MM-DD).
	Precision types.String `tfsdk:"precision"`

	StartDayOfWeek types.Int64 `tfsdk:"start_day_of_week"`
}

func (DateRangeValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DateRangeValue_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in DateRangeValue. 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 (*DateRangeValue_SdkV2) GetDateRangeValue added in v1.62.1

func (m *DateRangeValue_SdkV2) GetDateRangeValue(ctx context.Context) (DateRange_SdkV2, bool)

GetDateRangeValue returns the value of the DateRangeValue field in DateRangeValue_SdkV2 as a DateRange_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*DateRangeValue_SdkV2) SetDateRangeValue added in v1.62.1

func (m *DateRangeValue_SdkV2) SetDateRangeValue(ctx context.Context, v DateRange_SdkV2)

SetDateRangeValue sets the value of the DateRangeValue field in DateRangeValue_SdkV2.

func (*DateRangeValue_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DateRangeValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (DateRangeValue_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DateRange_SdkV2 added in v1.62.1

type DateRange_SdkV2 struct {
	End types.String `tfsdk:"end"`

	Start types.String `tfsdk:"start"`
}

func (DateRange_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DateRange_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DateRange_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DateRange_SdkV2) ToObjectValue added in v1.62.1

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

func (DateRange_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type DateValue

type DateValue struct {
	// Manually specified date-time value.
	DateValue types.String `tfsdk:"date_value"`
	// Dynamic date-time value based on current date-time.
	DynamicDateValue types.String `tfsdk:"dynamic_date_value"`
	// Date-time precision to format the value into when the query is run.
	// Defaults to DAY_PRECISION (YYYY-MM-DD).
	Precision types.String `tfsdk:"precision"`
}

func (DateValue) ApplySchemaCustomizations added in v1.63.0

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

func (DateValue) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DateValue) SyncFieldsDuringRead added in v1.86.0

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

func (DateValue) ToObjectValue added in v1.61.0

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

func (DateValue) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DateValue_SdkV2 added in v1.62.1

type DateValue_SdkV2 struct {
	// Manually specified date-time value.
	DateValue types.String `tfsdk:"date_value"`
	// Dynamic date-time value based on current date-time.
	DynamicDateValue types.String `tfsdk:"dynamic_date_value"`
	// Date-time precision to format the value into when the query is run.
	// Defaults to DAY_PRECISION (YYYY-MM-DD).
	Precision types.String `tfsdk:"precision"`
}

func (DateValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DateValue_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DateValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DateValue_SdkV2) ToObjectValue added in v1.62.1

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

func (DateValue_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type DeleteAlertsLegacyRequest

type DeleteAlertsLegacyRequest struct {
	AlertId types.String `tfsdk:"-"`
}

func (DeleteAlertsLegacyRequest) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteAlertsLegacyRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteAlertsLegacyRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteAlertsLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteAlertsLegacyRequest_SdkV2 added in v1.62.1

type DeleteAlertsLegacyRequest_SdkV2 struct {
	AlertId types.String `tfsdk:"-"`
}

func (DeleteAlertsLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteAlertsLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteAlertsLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteAlertsLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteDashboardRequest

type DeleteDashboardRequest struct {
	DashboardId types.String `tfsdk:"-"`
}

func (DeleteDashboardRequest) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteDashboardRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteDashboardRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteDashboardRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteDashboardRequest_SdkV2 added in v1.62.1

type DeleteDashboardRequest_SdkV2 struct {
	DashboardId types.String `tfsdk:"-"`
}

func (DeleteDashboardRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteDashboardRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteDashboardRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteDashboardRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteDashboardWidgetRequest

type DeleteDashboardWidgetRequest struct {
	// Widget ID returned by :method:dashboardwidgets/create
	Id types.String `tfsdk:"-"`
}

func (DeleteDashboardWidgetRequest) ApplySchemaCustomizations added in v1.76.0

func (DeleteDashboardWidgetRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteDashboardWidgetRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteDashboardWidgetRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteDashboardWidgetRequest_SdkV2 added in v1.62.1

type DeleteDashboardWidgetRequest_SdkV2 struct {
	// Widget ID returned by :method:dashboardwidgets/create
	Id types.String `tfsdk:"-"`
}

func (DeleteDashboardWidgetRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteDashboardWidgetRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteDashboardWidgetRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteDashboardWidgetRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteQueriesLegacyRequest

type DeleteQueriesLegacyRequest struct {
	QueryId types.String `tfsdk:"-"`
}

func (DeleteQueriesLegacyRequest) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteQueriesLegacyRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteQueriesLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteQueriesLegacyRequest_SdkV2 added in v1.62.1

type DeleteQueriesLegacyRequest_SdkV2 struct {
	QueryId types.String `tfsdk:"-"`
}

func (DeleteQueriesLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteQueriesLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteQueriesLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteQueryVisualizationsLegacyRequest

type DeleteQueryVisualizationsLegacyRequest struct {
	// Widget ID returned by :method:queryvisualizations/create
	Id types.String `tfsdk:"-"`
}

func (DeleteQueryVisualizationsLegacyRequest) ApplySchemaCustomizations added in v1.76.0

func (DeleteQueryVisualizationsLegacyRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteQueryVisualizationsLegacyRequest) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteQueryVisualizationsLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteQueryVisualizationsLegacyRequest_SdkV2 added in v1.62.1

type DeleteQueryVisualizationsLegacyRequest_SdkV2 struct {
	// Widget ID returned by :method:queryvisualizations/create
	Id types.String `tfsdk:"-"`
}

func (DeleteQueryVisualizationsLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteQueryVisualizationsLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (*DeleteQueryVisualizationsLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteQueryVisualizationsLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteResponse

type DeleteResponse struct {
}

func (DeleteResponse) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteResponse) GetComplexFieldTypes added in v1.61.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteResponse) SyncFieldsDuringRead added in v1.86.0

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

func (DeleteResponse) ToObjectValue added in v1.61.0

func (m DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().

func (DeleteResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DeleteResponse_SdkV2 added in v1.62.1

type DeleteResponse_SdkV2 struct {
}

func (DeleteResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DeleteResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (DeleteResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteVisualizationRequest

type DeleteVisualizationRequest struct {
	Id types.String `tfsdk:"-"`
}

func (DeleteVisualizationRequest) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteVisualizationRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteVisualizationRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteVisualizationRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteVisualizationRequest_SdkV2 added in v1.62.1

type DeleteVisualizationRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (DeleteVisualizationRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteVisualizationRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteVisualizationRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteVisualizationRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteWarehouseRequest

type DeleteWarehouseRequest struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (DeleteWarehouseRequest) ApplySchemaCustomizations added in v1.76.0

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

func (DeleteWarehouseRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteWarehouseRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteWarehouseRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteWarehouseRequest_SdkV2 added in v1.62.1

type DeleteWarehouseRequest_SdkV2 struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (DeleteWarehouseRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteWarehouseRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteWarehouseRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteWarehouseRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteWarehouseResponse

type DeleteWarehouseResponse struct {
}

func (DeleteWarehouseResponse) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteWarehouseResponse) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*DeleteWarehouseResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (DeleteWarehouseResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteWarehouseResponse_SdkV2 added in v1.62.1

type DeleteWarehouseResponse_SdkV2 struct {
}

func (DeleteWarehouseResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (DeleteWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*DeleteWarehouseResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (DeleteWarehouseResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditAlert

type EditAlert struct {
	AlertId types.String `tfsdk:"-"`
	// Name of the alert.
	Name types.String `tfsdk:"name"`
	// Alert configuration options.
	Options types.Object `tfsdk:"options"`
	// Query ID.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds after being triggered before the alert rearms itself
	// and can be triggered again. If `null`, alert will never be triggered
	// again.
	Rearm types.Int64 `tfsdk:"rearm"`
}

func (EditAlert) ApplySchemaCustomizations added in v1.63.0

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

func (EditAlert) GetComplexFieldTypes added in v1.61.0

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

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

func (m *EditAlert) GetOptions(ctx context.Context) (AlertOptions, bool)

GetOptions returns the value of the Options field in EditAlert as a AlertOptions value. If the field is unknown or null, the boolean return value is false.

func (*EditAlert) SetOptions added in v1.61.0

func (m *EditAlert) SetOptions(ctx context.Context, v AlertOptions)

SetOptions sets the value of the Options field in EditAlert.

func (*EditAlert) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*EditAlert) SyncFieldsDuringRead added in v1.91.0

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

func (EditAlert) ToObjectValue added in v1.61.0

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

func (EditAlert) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type EditAlert_SdkV2 added in v1.62.1

type EditAlert_SdkV2 struct {
	AlertId types.String `tfsdk:"-"`
	// Name of the alert.
	Name types.String `tfsdk:"name"`
	// Alert configuration options.
	Options types.List `tfsdk:"options"`
	// Query ID.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds after being triggered before the alert rearms itself
	// and can be triggered again. If `null`, alert will never be triggered
	// again.
	Rearm types.Int64 `tfsdk:"rearm"`
}

func (EditAlert_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EditAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditAlert. 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 (*EditAlert_SdkV2) GetOptions added in v1.62.1

func (m *EditAlert_SdkV2) GetOptions(ctx context.Context) (AlertOptions_SdkV2, bool)

GetOptions returns the value of the Options field in EditAlert_SdkV2 as a AlertOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditAlert_SdkV2) SetOptions added in v1.62.1

func (m *EditAlert_SdkV2) SetOptions(ctx context.Context, v AlertOptions_SdkV2)

SetOptions sets the value of the Options field in EditAlert_SdkV2.

func (*EditAlert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*EditAlert_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (EditAlert_SdkV2) ToObjectValue added in v1.62.1

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

func (EditAlert_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type EditWarehouseRequest

type EditWarehouseRequest struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.Object `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Required. Id of the warehouse to configure.
	Id types.String `tfsdk:"-"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.Object `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

This is an incremental edit functionality, so all fields except id are optional. If a field is set, the corresponding configuration in the SQL warehouse is modified. If a field is unset, the existing configuration value in the SQL warehouse is retained. Thus, this API is not idempotent.

func (EditWarehouseRequest) ApplySchemaCustomizations added in v1.63.0

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

func (*EditWarehouseRequest) GetChannel added in v1.61.0

func (m *EditWarehouseRequest) GetChannel(ctx context.Context) (Channel, bool)

GetChannel returns the value of the Channel field in EditWarehouseRequest as a Channel value. If the field is unknown or null, the boolean return value is false.

func (EditWarehouseRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*EditWarehouseRequest) SetChannel added in v1.61.0

func (m *EditWarehouseRequest) SetChannel(ctx context.Context, v Channel)

SetChannel sets the value of the Channel field in EditWarehouseRequest.

func (*EditWarehouseRequest) SetTags added in v1.61.0

func (m *EditWarehouseRequest) SetTags(ctx context.Context, v EndpointTags)

SetTags sets the value of the Tags field in EditWarehouseRequest.

func (*EditWarehouseRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*EditWarehouseRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (EditWarehouseRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EditWarehouseRequest_SdkV2 added in v1.62.1

type EditWarehouseRequest_SdkV2 struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.List `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Required. Id of the warehouse to configure.
	Id types.String `tfsdk:"-"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.List `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

This is an incremental edit functionality, so all fields except id are optional. If a field is set, the corresponding configuration in the SQL warehouse is modified. If a field is unset, the existing configuration value in the SQL warehouse is retained. Thus, this API is not idempotent.

func (EditWarehouseRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*EditWarehouseRequest_SdkV2) GetChannel added in v1.62.1

GetChannel returns the value of the Channel field in EditWarehouseRequest_SdkV2 as a Channel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EditWarehouseRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*EditWarehouseRequest_SdkV2) SetChannel added in v1.62.1

SetChannel sets the value of the Channel field in EditWarehouseRequest_SdkV2.

func (*EditWarehouseRequest_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in EditWarehouseRequest_SdkV2.

func (*EditWarehouseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*EditWarehouseRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (EditWarehouseRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditWarehouseResponse

type EditWarehouseResponse struct {
}

func (EditWarehouseResponse) ApplySchemaCustomizations added in v1.63.0

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

func (EditWarehouseResponse) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*EditWarehouseResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (EditWarehouseResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EditWarehouseResponse_SdkV2 added in v1.62.1

type EditWarehouseResponse_SdkV2 struct {
}

func (EditWarehouseResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EditWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*EditWarehouseResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (EditWarehouseResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Empty

type Empty struct {
}

Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm right now.

func (Empty) ApplySchemaCustomizations added in v1.63.0

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

func (Empty) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*Empty) SyncFieldsDuringRead added in v1.86.0

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

func (Empty) ToObjectValue added in v1.61.0

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

func (Empty) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type Empty_SdkV2 added in v1.62.1

type Empty_SdkV2 struct {
}

Represents an empty message, similar to google.protobuf.Empty, which is not available in the firm right now.

func (Empty_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Empty_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*Empty_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (Empty_SdkV2) ToObjectValue added in v1.62.1

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

func (Empty_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type EndpointConfPair

type EndpointConfPair struct {
	Key types.String `tfsdk:"key"`

	Value types.String `tfsdk:"value"`
}

func (EndpointConfPair) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointConfPair) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*EndpointConfPair) SyncFieldsDuringRead added in v1.86.0

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

func (EndpointConfPair) ToObjectValue added in v1.61.0

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

func (EndpointConfPair) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EndpointConfPair_SdkV2 added in v1.62.1

type EndpointConfPair_SdkV2 struct {
	Key types.String `tfsdk:"key"`

	Value types.String `tfsdk:"value"`
}

func (EndpointConfPair_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointConfPair_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*EndpointConfPair_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (EndpointConfPair_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointHealth

type EndpointHealth struct {
	// Details about errors that are causing current degraded/failed status.
	Details types.String `tfsdk:"details"`
	// The reason for failure to bring up clusters for this warehouse. This is
	// available when status is 'FAILED' and sometimes when it is DEGRADED.
	FailureReason types.Object `tfsdk:"failure_reason"`
	// Deprecated. split into summary and details for security
	Message types.String `tfsdk:"message"`
	// Health status of the endpoint.
	Status types.String `tfsdk:"status"`
	// A short summary of the health status in case of degraded/failed
	// warehouses.
	Summary types.String `tfsdk:"summary"`
}

func (EndpointHealth) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointHealth) GetComplexFieldTypes added in v1.61.0

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

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

func (m *EndpointHealth) GetFailureReason(ctx context.Context) (TerminationReason, bool)

GetFailureReason returns the value of the FailureReason field in EndpointHealth as a TerminationReason value. If the field is unknown or null, the boolean return value is false.

func (*EndpointHealth) SetFailureReason added in v1.61.0

func (m *EndpointHealth) SetFailureReason(ctx context.Context, v TerminationReason)

SetFailureReason sets the value of the FailureReason field in EndpointHealth.

func (*EndpointHealth) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*EndpointHealth) SyncFieldsDuringRead added in v1.86.0

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

func (EndpointHealth) ToObjectValue added in v1.61.0

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

func (EndpointHealth) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type EndpointHealth_SdkV2 added in v1.62.1

type EndpointHealth_SdkV2 struct {
	// Details about errors that are causing current degraded/failed status.
	Details types.String `tfsdk:"details"`
	// The reason for failure to bring up clusters for this warehouse. This is
	// available when status is 'FAILED' and sometimes when it is DEGRADED.
	FailureReason types.List `tfsdk:"failure_reason"`
	// Deprecated. split into summary and details for security
	Message types.String `tfsdk:"message"`
	// Health status of the endpoint.
	Status types.String `tfsdk:"status"`
	// A short summary of the health status in case of degraded/failed
	// warehouses.
	Summary types.String `tfsdk:"summary"`
}

func (EndpointHealth_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointHealth_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointHealth. 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 (*EndpointHealth_SdkV2) GetFailureReason added in v1.62.1

func (m *EndpointHealth_SdkV2) GetFailureReason(ctx context.Context) (TerminationReason_SdkV2, bool)

GetFailureReason returns the value of the FailureReason field in EndpointHealth_SdkV2 as a TerminationReason_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointHealth_SdkV2) SetFailureReason added in v1.62.1

func (m *EndpointHealth_SdkV2) SetFailureReason(ctx context.Context, v TerminationReason_SdkV2)

SetFailureReason sets the value of the FailureReason field in EndpointHealth_SdkV2.

func (*EndpointHealth_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*EndpointHealth_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (EndpointHealth_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointInfo

type EndpointInfo struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.Object `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Optional health status. Assume the warehouse is healthy if this field is
	// not set.
	Health types.Object `tfsdk:"health"`
	// unique identifier for warehouse
	Id types.String `tfsdk:"id"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// the jdbc connection string for this warehouse
	JdbcUrl types.String `tfsdk:"jdbc_url"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Deprecated. current number of active sessions for the warehouse
	NumActiveSessions types.Int64 `tfsdk:"num_active_sessions"`
	// current number of clusters running for the service
	NumClusters types.Int64 `tfsdk:"num_clusters"`
	// ODBC parameters for the SQL warehouse
	OdbcParams types.Object `tfsdk:"odbc_params"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// state of the endpoint
	State types.String `tfsdk:"state"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.Object `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

func (EndpointInfo) ApplySchemaCustomizations added in v1.63.0

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

func (*EndpointInfo) GetChannel added in v1.61.0

func (m *EndpointInfo) GetChannel(ctx context.Context) (Channel, bool)

GetChannel returns the value of the Channel field in EndpointInfo as a Channel value. If the field is unknown or null, the boolean return value is false.

func (EndpointInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (m *EndpointInfo) GetHealth(ctx context.Context) (EndpointHealth, bool)

GetHealth returns the value of the Health field in EndpointInfo as a EndpointHealth value. If the field is unknown or null, the boolean return value is false.

func (*EndpointInfo) GetOdbcParams added in v1.61.0

func (m *EndpointInfo) GetOdbcParams(ctx context.Context) (OdbcParams, bool)

GetOdbcParams returns the value of the OdbcParams field in EndpointInfo as a OdbcParams value. If the field is unknown or null, the boolean return value is false.

func (*EndpointInfo) GetTags added in v1.61.0

func (m *EndpointInfo) GetTags(ctx context.Context) (EndpointTags, bool)

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

func (*EndpointInfo) SetChannel added in v1.61.0

func (m *EndpointInfo) SetChannel(ctx context.Context, v Channel)

SetChannel sets the value of the Channel field in EndpointInfo.

func (*EndpointInfo) SetHealth added in v1.61.0

func (m *EndpointInfo) SetHealth(ctx context.Context, v EndpointHealth)

SetHealth sets the value of the Health field in EndpointInfo.

func (*EndpointInfo) SetOdbcParams added in v1.61.0

func (m *EndpointInfo) SetOdbcParams(ctx context.Context, v OdbcParams)

SetOdbcParams sets the value of the OdbcParams field in EndpointInfo.

func (*EndpointInfo) SetTags added in v1.61.0

func (m *EndpointInfo) SetTags(ctx context.Context, v EndpointTags)

SetTags sets the value of the Tags field in EndpointInfo.

func (*EndpointInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*EndpointInfo) SyncFieldsDuringRead added in v1.86.0

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

func (EndpointInfo) ToObjectValue added in v1.61.0

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

func (EndpointInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type EndpointInfo_SdkV2 added in v1.62.1

type EndpointInfo_SdkV2 struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.List `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Optional health status. Assume the warehouse is healthy if this field is
	// not set.
	Health types.List `tfsdk:"health"`
	// unique identifier for warehouse
	Id types.String `tfsdk:"id"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// the jdbc connection string for this warehouse
	JdbcUrl types.String `tfsdk:"jdbc_url"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Deprecated. current number of active sessions for the warehouse
	NumActiveSessions types.Int64 `tfsdk:"num_active_sessions"`
	// current number of clusters running for the service
	NumClusters types.Int64 `tfsdk:"num_clusters"`
	// ODBC parameters for the SQL warehouse
	OdbcParams types.List `tfsdk:"odbc_params"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// state of the endpoint
	State types.String `tfsdk:"state"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.List `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

func (EndpointInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*EndpointInfo_SdkV2) GetChannel added in v1.62.1

func (m *EndpointInfo_SdkV2) GetChannel(ctx context.Context) (Channel_SdkV2, bool)

GetChannel returns the value of the Channel field in EndpointInfo_SdkV2 as a Channel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EndpointInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointInfo. 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 (*EndpointInfo_SdkV2) GetHealth added in v1.62.1

GetHealth returns the value of the Health field in EndpointInfo_SdkV2 as a EndpointHealth_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointInfo_SdkV2) GetOdbcParams added in v1.62.1

func (m *EndpointInfo_SdkV2) GetOdbcParams(ctx context.Context) (OdbcParams_SdkV2, bool)

GetOdbcParams returns the value of the OdbcParams field in EndpointInfo_SdkV2 as a OdbcParams_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EndpointInfo_SdkV2) GetTags added in v1.62.1

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

func (*EndpointInfo_SdkV2) SetChannel added in v1.62.1

func (m *EndpointInfo_SdkV2) SetChannel(ctx context.Context, v Channel_SdkV2)

SetChannel sets the value of the Channel field in EndpointInfo_SdkV2.

func (*EndpointInfo_SdkV2) SetHealth added in v1.62.1

SetHealth sets the value of the Health field in EndpointInfo_SdkV2.

func (*EndpointInfo_SdkV2) SetOdbcParams added in v1.62.1

func (m *EndpointInfo_SdkV2) SetOdbcParams(ctx context.Context, v OdbcParams_SdkV2)

SetOdbcParams sets the value of the OdbcParams field in EndpointInfo_SdkV2.

func (*EndpointInfo_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in EndpointInfo_SdkV2.

func (*EndpointInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*EndpointInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (EndpointInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointTagPair

type EndpointTagPair struct {
	Key types.String `tfsdk:"key"`

	Value types.String `tfsdk:"value"`
}

func (EndpointTagPair) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointTagPair) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*EndpointTagPair) SyncFieldsDuringRead added in v1.86.0

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

func (EndpointTagPair) ToObjectValue added in v1.61.0

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

func (EndpointTagPair) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type EndpointTagPair_SdkV2 added in v1.62.1

type EndpointTagPair_SdkV2 struct {
	Key types.String `tfsdk:"key"`

	Value types.String `tfsdk:"value"`
}

func (EndpointTagPair_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointTagPair_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*EndpointTagPair_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (EndpointTagPair_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EndpointTags

type EndpointTags struct {
	CustomTags types.List `tfsdk:"custom_tags"`
}

func (EndpointTags) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointTags) GetComplexFieldTypes added in v1.61.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) GetCustomTags added in v1.61.0

func (m *EndpointTags) GetCustomTags(ctx context.Context) ([]EndpointTagPair, bool)

GetCustomTags returns the value of the CustomTags field in EndpointTags as a slice of EndpointTagPair values. If the field is unknown or null, the boolean return value is false.

func (*EndpointTags) SetCustomTags added in v1.61.0

func (m *EndpointTags) SetCustomTags(ctx context.Context, v []EndpointTagPair)

SetCustomTags sets the value of the CustomTags 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.61.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.61.0

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

Type implements basetypes.ObjectValuable.

type EndpointTags_SdkV2 added in v1.62.1

type EndpointTags_SdkV2 struct {
	CustomTags types.List `tfsdk:"custom_tags"`
}

func (EndpointTags_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EndpointTags_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (m *EndpointTags_SdkV2) GetCustomTags(ctx context.Context) ([]EndpointTagPair_SdkV2, bool)

GetCustomTags returns the value of the CustomTags field in EndpointTags_SdkV2 as a slice of EndpointTagPair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EndpointTags_SdkV2) SetCustomTags added in v1.62.1

func (m *EndpointTags_SdkV2) SetCustomTags(ctx context.Context, v []EndpointTagPair_SdkV2)

SetCustomTags sets the value of the CustomTags 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.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, EndpointTags_SdkV2 only implements ToObjectValue() and Type().

func (EndpointTags_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EnumValue

type EnumValue struct {
	// List of valid query parameter values, newline delimited.
	EnumOptions types.String `tfsdk:"enum_options"`
	// If specified, allows multiple values to be selected for this parameter.
	MultiValuesOptions types.Object `tfsdk:"multi_values_options"`
	// List of selected query parameter values.
	Values types.List `tfsdk:"values"`
}

func (EnumValue) ApplySchemaCustomizations added in v1.63.0

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

func (EnumValue) GetComplexFieldTypes added in v1.61.0

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

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

func (m *EnumValue) GetMultiValuesOptions(ctx context.Context) (MultiValuesOptions, bool)

GetMultiValuesOptions returns the value of the MultiValuesOptions field in EnumValue as a MultiValuesOptions value. If the field is unknown or null, the boolean return value is false.

func (*EnumValue) GetValues added in v1.61.0

func (m *EnumValue) GetValues(ctx context.Context) ([]types.String, bool)

GetValues returns the value of the Values field in EnumValue as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnumValue) SetMultiValuesOptions added in v1.61.0

func (m *EnumValue) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in EnumValue.

func (*EnumValue) SetValues added in v1.61.0

func (m *EnumValue) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in EnumValue.

func (*EnumValue) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*EnumValue) SyncFieldsDuringRead added in v1.86.0

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

func (EnumValue) ToObjectValue added in v1.61.0

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

func (EnumValue) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type EnumValue_SdkV2 added in v1.62.1

type EnumValue_SdkV2 struct {
	// List of valid query parameter values, newline delimited.
	EnumOptions types.String `tfsdk:"enum_options"`
	// If specified, allows multiple values to be selected for this parameter.
	MultiValuesOptions types.List `tfsdk:"multi_values_options"`
	// List of selected query parameter values.
	Values types.List `tfsdk:"values"`
}

func (EnumValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EnumValue_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnumValue. 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 (*EnumValue_SdkV2) GetMultiValuesOptions added in v1.62.1

func (m *EnumValue_SdkV2) GetMultiValuesOptions(ctx context.Context) (MultiValuesOptions_SdkV2, bool)

GetMultiValuesOptions returns the value of the MultiValuesOptions field in EnumValue_SdkV2 as a MultiValuesOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnumValue_SdkV2) GetValues added in v1.62.1

func (m *EnumValue_SdkV2) GetValues(ctx context.Context) ([]types.String, bool)

GetValues returns the value of the Values field in EnumValue_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnumValue_SdkV2) SetMultiValuesOptions added in v1.62.1

func (m *EnumValue_SdkV2) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions_SdkV2)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in EnumValue_SdkV2.

func (*EnumValue_SdkV2) SetValues added in v1.62.1

func (m *EnumValue_SdkV2) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in EnumValue_SdkV2.

func (*EnumValue_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*EnumValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (EnumValue_SdkV2) ToObjectValue added in v1.62.1

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

func (EnumValue_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type ExecuteStatementRequest

type ExecuteStatementRequest struct {
	// Applies the given byte limit to the statement's result size. Byte counts
	// are based on internal data representations and might not match the final
	// size in the requested `format`. If the result was truncated due to the
	// byte limit, then `truncated` in the response is set to `true`. When using
	// `EXTERNAL_LINKS` disposition, a default `byte_limit` of 100 GiB is
	// applied if `byte_limit` is not explicitly set.
	ByteLimit types.Int64 `tfsdk:"byte_limit"`
	// Sets default catalog for statement execution, similar to [`USE CATALOG`]
	// in SQL.
	//
	// [`USE CATALOG`]: https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-catalog.html
	Catalog types.String `tfsdk:"catalog"`
	// The fetch disposition provides two modes of fetching results: `INLINE`
	// and `EXTERNAL_LINKS`.
	//
	// Statements executed with `INLINE` disposition will return result data
	// inline, in `JSON_ARRAY` format, in a series of chunks. If a given
	// statement produces a result set with a size larger than 25 MiB, that
	// statement execution is aborted, and no result set will be available.
	//
	// **NOTE** Byte limits are computed based upon internal representations of
	// the result set data, and might not match the sizes visible in JSON
	// responses.
	//
	// Statements executed with `EXTERNAL_LINKS` disposition will return result
	// data as external links: URLs that point to cloud storage internal to the
	// workspace. Using `EXTERNAL_LINKS` disposition allows statements to
	// generate arbitrarily sized result sets for fetching up to 100 GiB. The
	// resulting links have two important properties:
	//
	// 1. They point to resources _external_ to the Databricks compute;
	// therefore any associated authentication information (typically a personal
	// access token, OAuth token, or similar) _must be removed_ when fetching
	// from these links.
	//
	// 2. These are URLs with a specific expiration, indicated in the response.
	// The behavior when attempting to use an expired link is cloud specific.
	Disposition types.String `tfsdk:"disposition"`
	// Statement execution supports three result formats: `JSON_ARRAY`
	// (default), `ARROW_STREAM`, and `CSV`.
	//
	// Important: The formats `ARROW_STREAM` and `CSV` are supported only with
	// `EXTERNAL_LINKS` disposition. `JSON_ARRAY` is supported in `INLINE` and
	// `EXTERNAL_LINKS` disposition.
	//
	// When specifying `format=JSON_ARRAY`, result data will be formatted as an
	// array of arrays of values, where each value is either the *string
	// representation* of a value, or `null`. For example, the output of `SELECT
	// concat('id-', id) AS strCol, id AS intCol, null AS nullCol FROM range(3)`
	// would look like this:
	//
	// “` [ [ "id-1", "1", null ], [ "id-2", "2", null ], [ "id-3", "3", null
	// ], ] “`
	//
	// When specifying `format=JSON_ARRAY` and `disposition=EXTERNAL_LINKS`,
	// each chunk in the result contains compact JSON with no indentation or
	// extra whitespace.
	//
	// When specifying `format=ARROW_STREAM` and `disposition=EXTERNAL_LINKS`,
	// each chunk in the result will be formatted as Apache Arrow Stream. See
	// the [Apache Arrow streaming format].
	//
	// When specifying `format=CSV` and `disposition=EXTERNAL_LINKS`, each chunk
	// in the result will be a CSV according to [RFC 4180] standard. All the
	// columns values will have *string representation* similar to the
	// `JSON_ARRAY` format, and `null` values will be encoded as “null”.
	// Only the first chunk in the result would contain a header row with column
	// names. For example, the output of `SELECT concat('id-', id) AS strCol, id
	// AS intCol, null as nullCol FROM range(3)` would look like this:
	//
	// “` strCol,intCol,nullCol id-1,1,null id-2,2,null id-3,3,null “`
	//
	// [Apache Arrow streaming format]: https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format
	// [RFC 4180]: https://www.rfc-editor.org/rfc/rfc4180
	Format types.String `tfsdk:"format"`
	// When `wait_timeout > 0s`, the call will block up to the specified time.
	// If the statement execution doesn't finish within this time,
	// `on_wait_timeout` determines whether the execution should continue or be
	// canceled. When set to `CONTINUE`, the statement execution continues
	// asynchronously and the call returns a statement ID which can be used for
	// polling with :method:statementexecution/getStatement. When set to
	// `CANCEL`, the statement execution is canceled and the call returns with a
	// `CANCELED` state.
	OnWaitTimeout types.String `tfsdk:"on_wait_timeout"`
	// A list of parameters to pass into a SQL statement containing parameter
	// markers. A parameter consists of a name, a value, and optionally a type.
	// To represent a NULL value, the `value` field may be omitted or set to
	// `null` explicitly. If the `type` field is omitted, the value is
	// interpreted as a string.
	//
	// If the type is given, parameters will be checked for type correctness
	// according to the given type. A value is correct if the provided string
	// can be converted to the requested type using the `cast` function. The
	// exact semantics are described in the section [`cast` function] of the SQL
	// language reference.
	//
	// For example, the following statement contains two parameters, `my_name`
	// and `my_date`:
	//
	// “` SELECT * FROM my_table WHERE name = :my_name AND date = :my_date “`
	//
	// The parameters can be passed in the request body as follows:
	//
	// ` { ..., "statement": "SELECT * FROM my_table WHERE name = :my_name AND
	// date = :my_date", "parameters": [ { "name": "my_name", "value": "the
	// name" }, { "name": "my_date", "value": "2020-01-01", "type": "DATE" } ] }
	// `
	//
	// Currently, positional parameters denoted by a `?` marker are not
	// supported by the Databricks SQL Statement Execution API.
	//
	// Also see the section [Parameter markers] of the SQL language reference.
	//
	// [Parameter markers]: https://docs.databricks.com/sql/language-manual/sql-ref-parameter-marker.html
	// [`cast` function]: https://docs.databricks.com/sql/language-manual/functions/cast.html
	Parameters types.List `tfsdk:"parameters"`
	// Applies the given row limit to the statement's result set, but unlike the
	// `LIMIT` clause in SQL, it also sets the `truncated` field in the response
	// to indicate whether the result was trimmed due to the limit or not.
	RowLimit types.Int64 `tfsdk:"row_limit"`
	// Sets default schema for statement execution, similar to [`USE SCHEMA`] in
	// SQL.
	//
	// [`USE SCHEMA`]: https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-schema.html
	Schema types.String `tfsdk:"schema"`
	// The SQL statement to execute. The statement can optionally be
	// parameterized, see `parameters`. The maximum query text size is 16 MiB.
	Statement types.String `tfsdk:"statement"`
	// The time in seconds the call will wait for the statement's result set as
	// `Ns`, where `N` can be set to 0 or to a value between 5 and 50.
	//
	// When set to `0s`, the statement will execute in asynchronous mode and the
	// call will not wait for the execution to finish. In this case, the call
	// returns directly with `PENDING` state and a statement ID which can be
	// used for polling with :method:statementexecution/getStatement.
	//
	// When set between 5 and 50 seconds, the call will behave synchronously up
	// to this timeout and wait for the statement execution to finish. If the
	// execution finishes within this time, the call returns immediately with a
	// manifest and result data (or a `FAILED` state in case of an execution
	// error). If the statement takes longer to execute, `on_wait_timeout`
	// determines what should happen after the timeout is reached.
	WaitTimeout types.String `tfsdk:"wait_timeout"`
	// Warehouse upon which to execute a statement. See also [What are SQL
	// warehouses?]
	//
	// [What are SQL warehouses?]: https://docs.databricks.com/sql/admin/warehouse-type.html
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (ExecuteStatementRequest) ApplySchemaCustomizations added in v1.63.0

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

func (ExecuteStatementRequest) GetComplexFieldTypes added in v1.61.0

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

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

GetParameters returns the value of the Parameters field in ExecuteStatementRequest as a slice of StatementParameterListItem values. If the field is unknown or null, the boolean return value is false.

func (*ExecuteStatementRequest) SetParameters added in v1.61.0

SetParameters sets the value of the Parameters field in ExecuteStatementRequest.

func (*ExecuteStatementRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ExecuteStatementRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (ExecuteStatementRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ExecuteStatementRequest_SdkV2 added in v1.62.1

type ExecuteStatementRequest_SdkV2 struct {
	// Applies the given byte limit to the statement's result size. Byte counts
	// are based on internal data representations and might not match the final
	// size in the requested `format`. If the result was truncated due to the
	// byte limit, then `truncated` in the response is set to `true`. When using
	// `EXTERNAL_LINKS` disposition, a default `byte_limit` of 100 GiB is
	// applied if `byte_limit` is not explicitly set.
	ByteLimit types.Int64 `tfsdk:"byte_limit"`
	// Sets default catalog for statement execution, similar to [`USE CATALOG`]
	// in SQL.
	//
	// [`USE CATALOG`]: https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-catalog.html
	Catalog types.String `tfsdk:"catalog"`
	// The fetch disposition provides two modes of fetching results: `INLINE`
	// and `EXTERNAL_LINKS`.
	//
	// Statements executed with `INLINE` disposition will return result data
	// inline, in `JSON_ARRAY` format, in a series of chunks. If a given
	// statement produces a result set with a size larger than 25 MiB, that
	// statement execution is aborted, and no result set will be available.
	//
	// **NOTE** Byte limits are computed based upon internal representations of
	// the result set data, and might not match the sizes visible in JSON
	// responses.
	//
	// Statements executed with `EXTERNAL_LINKS` disposition will return result
	// data as external links: URLs that point to cloud storage internal to the
	// workspace. Using `EXTERNAL_LINKS` disposition allows statements to
	// generate arbitrarily sized result sets for fetching up to 100 GiB. The
	// resulting links have two important properties:
	//
	// 1. They point to resources _external_ to the Databricks compute;
	// therefore any associated authentication information (typically a personal
	// access token, OAuth token, or similar) _must be removed_ when fetching
	// from these links.
	//
	// 2. These are URLs with a specific expiration, indicated in the response.
	// The behavior when attempting to use an expired link is cloud specific.
	Disposition types.String `tfsdk:"disposition"`
	// Statement execution supports three result formats: `JSON_ARRAY`
	// (default), `ARROW_STREAM`, and `CSV`.
	//
	// Important: The formats `ARROW_STREAM` and `CSV` are supported only with
	// `EXTERNAL_LINKS` disposition. `JSON_ARRAY` is supported in `INLINE` and
	// `EXTERNAL_LINKS` disposition.
	//
	// When specifying `format=JSON_ARRAY`, result data will be formatted as an
	// array of arrays of values, where each value is either the *string
	// representation* of a value, or `null`. For example, the output of `SELECT
	// concat('id-', id) AS strCol, id AS intCol, null AS nullCol FROM range(3)`
	// would look like this:
	//
	// “` [ [ "id-1", "1", null ], [ "id-2", "2", null ], [ "id-3", "3", null
	// ], ] “`
	//
	// When specifying `format=JSON_ARRAY` and `disposition=EXTERNAL_LINKS`,
	// each chunk in the result contains compact JSON with no indentation or
	// extra whitespace.
	//
	// When specifying `format=ARROW_STREAM` and `disposition=EXTERNAL_LINKS`,
	// each chunk in the result will be formatted as Apache Arrow Stream. See
	// the [Apache Arrow streaming format].
	//
	// When specifying `format=CSV` and `disposition=EXTERNAL_LINKS`, each chunk
	// in the result will be a CSV according to [RFC 4180] standard. All the
	// columns values will have *string representation* similar to the
	// `JSON_ARRAY` format, and `null` values will be encoded as “null”.
	// Only the first chunk in the result would contain a header row with column
	// names. For example, the output of `SELECT concat('id-', id) AS strCol, id
	// AS intCol, null as nullCol FROM range(3)` would look like this:
	//
	// “` strCol,intCol,nullCol id-1,1,null id-2,2,null id-3,3,null “`
	//
	// [Apache Arrow streaming format]: https://arrow.apache.org/docs/format/Columnar.html#ipc-streaming-format
	// [RFC 4180]: https://www.rfc-editor.org/rfc/rfc4180
	Format types.String `tfsdk:"format"`
	// When `wait_timeout > 0s`, the call will block up to the specified time.
	// If the statement execution doesn't finish within this time,
	// `on_wait_timeout` determines whether the execution should continue or be
	// canceled. When set to `CONTINUE`, the statement execution continues
	// asynchronously and the call returns a statement ID which can be used for
	// polling with :method:statementexecution/getStatement. When set to
	// `CANCEL`, the statement execution is canceled and the call returns with a
	// `CANCELED` state.
	OnWaitTimeout types.String `tfsdk:"on_wait_timeout"`
	// A list of parameters to pass into a SQL statement containing parameter
	// markers. A parameter consists of a name, a value, and optionally a type.
	// To represent a NULL value, the `value` field may be omitted or set to
	// `null` explicitly. If the `type` field is omitted, the value is
	// interpreted as a string.
	//
	// If the type is given, parameters will be checked for type correctness
	// according to the given type. A value is correct if the provided string
	// can be converted to the requested type using the `cast` function. The
	// exact semantics are described in the section [`cast` function] of the SQL
	// language reference.
	//
	// For example, the following statement contains two parameters, `my_name`
	// and `my_date`:
	//
	// “` SELECT * FROM my_table WHERE name = :my_name AND date = :my_date “`
	//
	// The parameters can be passed in the request body as follows:
	//
	// ` { ..., "statement": "SELECT * FROM my_table WHERE name = :my_name AND
	// date = :my_date", "parameters": [ { "name": "my_name", "value": "the
	// name" }, { "name": "my_date", "value": "2020-01-01", "type": "DATE" } ] }
	// `
	//
	// Currently, positional parameters denoted by a `?` marker are not
	// supported by the Databricks SQL Statement Execution API.
	//
	// Also see the section [Parameter markers] of the SQL language reference.
	//
	// [Parameter markers]: https://docs.databricks.com/sql/language-manual/sql-ref-parameter-marker.html
	// [`cast` function]: https://docs.databricks.com/sql/language-manual/functions/cast.html
	Parameters types.List `tfsdk:"parameters"`
	// Applies the given row limit to the statement's result set, but unlike the
	// `LIMIT` clause in SQL, it also sets the `truncated` field in the response
	// to indicate whether the result was trimmed due to the limit or not.
	RowLimit types.Int64 `tfsdk:"row_limit"`
	// Sets default schema for statement execution, similar to [`USE SCHEMA`] in
	// SQL.
	//
	// [`USE SCHEMA`]: https://docs.databricks.com/sql/language-manual/sql-ref-syntax-ddl-use-schema.html
	Schema types.String `tfsdk:"schema"`
	// The SQL statement to execute. The statement can optionally be
	// parameterized, see `parameters`. The maximum query text size is 16 MiB.
	Statement types.String `tfsdk:"statement"`
	// The time in seconds the call will wait for the statement's result set as
	// `Ns`, where `N` can be set to 0 or to a value between 5 and 50.
	//
	// When set to `0s`, the statement will execute in asynchronous mode and the
	// call will not wait for the execution to finish. In this case, the call
	// returns directly with `PENDING` state and a statement ID which can be
	// used for polling with :method:statementexecution/getStatement.
	//
	// When set between 5 and 50 seconds, the call will behave synchronously up
	// to this timeout and wait for the statement execution to finish. If the
	// execution finishes within this time, the call returns immediately with a
	// manifest and result data (or a `FAILED` state in case of an execution
	// error). If the statement takes longer to execute, `on_wait_timeout`
	// determines what should happen after the timeout is reached.
	WaitTimeout types.String `tfsdk:"wait_timeout"`
	// Warehouse upon which to execute a statement. See also [What are SQL
	// warehouses?]
	//
	// [What are SQL warehouses?]: https://docs.databricks.com/sql/admin/warehouse-type.html
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (ExecuteStatementRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ExecuteStatementRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in ExecuteStatementRequest. 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 (*ExecuteStatementRequest_SdkV2) GetParameters added in v1.62.1

GetParameters returns the value of the Parameters field in ExecuteStatementRequest_SdkV2 as a slice of StatementParameterListItem_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ExecuteStatementRequest_SdkV2) SetParameters added in v1.62.1

SetParameters sets the value of the Parameters field in ExecuteStatementRequest_SdkV2.

func (*ExecuteStatementRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ExecuteStatementRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (ExecuteStatementRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ExternalLink struct {
	// The number of bytes in the result chunk. This field is not available when
	// using `INLINE` disposition.
	ByteCount types.Int64 `tfsdk:"byte_count"`
	// The position within the sequence of result set chunks.
	ChunkIndex types.Int64 `tfsdk:"chunk_index"`
	// Indicates the date-time that the given external link will expire and
	// becomes invalid, after which point a new `external_link` must be
	// requested.
	Expiration types.String `tfsdk:"expiration"`
	// A URL pointing to a chunk of result data, hosted by an external service,
	// with a short expiration time (<= 15 minutes). As this URL contains a
	// temporary credential, it should be considered sensitive and the client
	// should not expose this URL in a log.
	ExternalLink types.String `tfsdk:"external_link"`
	// HTTP headers that must be included with a GET request to the
	// `external_link`. Each header is provided as a key-value pair. Headers are
	// typically used to pass a decryption key to the external service. The
	// values of these headers should be considered sensitive and the client
	// should not expose these values in a log.
	HttpHeaders types.Map `tfsdk:"http_headers"`
	// When fetching, provides the `chunk_index` for the _next_ chunk. If
	// absent, indicates there are no more chunks. The next chunk can be fetched
	// with a :method:statementexecution/getstatementresultchunkn request.
	NextChunkIndex types.Int64 `tfsdk:"next_chunk_index"`
	// When fetching, provides a link to fetch the _next_ chunk. If absent,
	// indicates there are no more chunks. This link is an absolute `path` to be
	// joined with your `$DATABRICKS_HOST`, and should be treated as an opaque
	// link. This is an alternative to using `next_chunk_index`.
	NextChunkInternalLink types.String `tfsdk:"next_chunk_internal_link"`
	// The number of rows within the result chunk.
	RowCount types.Int64 `tfsdk:"row_count"`
	// The starting row offset within the result set.
	RowOffset types.Int64 `tfsdk:"row_offset"`
}

func (ExternalLink) ApplySchemaCustomizations added in v1.63.0

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

func (ExternalLink) GetComplexFieldTypes added in v1.61.0

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

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

func (m *ExternalLink) GetHttpHeaders(ctx context.Context) (map[string]types.String, bool)

GetHttpHeaders returns the value of the HttpHeaders field in ExternalLink as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ExternalLink) SetHttpHeaders added in v1.61.0

func (m *ExternalLink) SetHttpHeaders(ctx context.Context, v map[string]types.String)

SetHttpHeaders sets the value of the HttpHeaders field in ExternalLink.

func (*ExternalLink) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ExternalLink) SyncFieldsDuringRead added in v1.86.0

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

func (ExternalLink) ToObjectValue added in v1.61.0

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

func (ExternalLink) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ExternalLink_SdkV2 struct {
	// The number of bytes in the result chunk. This field is not available when
	// using `INLINE` disposition.
	ByteCount types.Int64 `tfsdk:"byte_count"`
	// The position within the sequence of result set chunks.
	ChunkIndex types.Int64 `tfsdk:"chunk_index"`
	// Indicates the date-time that the given external link will expire and
	// becomes invalid, after which point a new `external_link` must be
	// requested.
	Expiration types.String `tfsdk:"expiration"`
	// A URL pointing to a chunk of result data, hosted by an external service,
	// with a short expiration time (<= 15 minutes). As this URL contains a
	// temporary credential, it should be considered sensitive and the client
	// should not expose this URL in a log.
	ExternalLink types.String `tfsdk:"external_link"`
	// HTTP headers that must be included with a GET request to the
	// `external_link`. Each header is provided as a key-value pair. Headers are
	// typically used to pass a decryption key to the external service. The
	// values of these headers should be considered sensitive and the client
	// should not expose these values in a log.
	HttpHeaders types.Map `tfsdk:"http_headers"`
	// When fetching, provides the `chunk_index` for the _next_ chunk. If
	// absent, indicates there are no more chunks. The next chunk can be fetched
	// with a :method:statementexecution/getstatementresultchunkn request.
	NextChunkIndex types.Int64 `tfsdk:"next_chunk_index"`
	// When fetching, provides a link to fetch the _next_ chunk. If absent,
	// indicates there are no more chunks. This link is an absolute `path` to be
	// joined with your `$DATABRICKS_HOST`, and should be treated as an opaque
	// link. This is an alternative to using `next_chunk_index`.
	NextChunkInternalLink types.String `tfsdk:"next_chunk_internal_link"`
	// The number of rows within the result chunk.
	RowCount types.Int64 `tfsdk:"row_count"`
	// The starting row offset within the result set.
	RowOffset types.Int64 `tfsdk:"row_offset"`
}
func (m ExternalLink_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (m ExternalLink_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalLink. 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 (m *ExternalLink_SdkV2) GetHttpHeaders(ctx context.Context) (map[string]types.String, bool)

GetHttpHeaders returns the value of the HttpHeaders field in ExternalLink_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (m *ExternalLink_SdkV2) SetHttpHeaders(ctx context.Context, v map[string]types.String)

SetHttpHeaders sets the value of the HttpHeaders field in ExternalLink_SdkV2.

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

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

Type implements basetypes.ObjectValuable.

type ExternalQuerySource added in v1.71.0

type ExternalQuerySource struct {
	// The canonical identifier for this SQL alert
	AlertId types.String `tfsdk:"alert_id"`
	// The canonical identifier for this Lakeview dashboard
	DashboardId types.String `tfsdk:"dashboard_id"`
	// The canonical identifier for this Genie space
	GenieSpaceId types.String `tfsdk:"genie_space_id"`

	JobInfo types.Object `tfsdk:"job_info"`
	// The canonical identifier for this legacy dashboard
	LegacyDashboardId types.String `tfsdk:"legacy_dashboard_id"`
	// The canonical identifier for this notebook
	NotebookId types.String `tfsdk:"notebook_id"`
	// The canonical identifier for this SQL query
	SqlQueryId types.String `tfsdk:"sql_query_id"`
}

func (ExternalQuerySource) ApplySchemaCustomizations added in v1.71.0

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

func (ExternalQuerySource) GetComplexFieldTypes added in v1.71.0

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

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

GetJobInfo returns the value of the JobInfo field in ExternalQuerySource as a ExternalQuerySourceJobInfo value. If the field is unknown or null, the boolean return value is false.

func (*ExternalQuerySource) SetJobInfo added in v1.71.0

SetJobInfo sets the value of the JobInfo field in ExternalQuerySource.

func (*ExternalQuerySource) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ExternalQuerySource) SyncFieldsDuringRead added in v1.86.0

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

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

func (ExternalQuerySource) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type ExternalQuerySourceJobInfo added in v1.71.0

type ExternalQuerySourceJobInfo struct {
	// The canonical identifier for this job.
	JobId types.String `tfsdk:"job_id"`
	// The canonical identifier of the run. This ID is unique across all runs of
	// all jobs.
	JobRunId types.String `tfsdk:"job_run_id"`
	// The canonical identifier of the task run.
	JobTaskRunId types.String `tfsdk:"job_task_run_id"`
}

func (ExternalQuerySourceJobInfo) ApplySchemaCustomizations added in v1.71.0

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

func (ExternalQuerySourceJobInfo) GetComplexFieldTypes added in v1.71.0

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

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

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

func (*ExternalQuerySourceJobInfo) SyncFieldsDuringRead added in v1.86.0

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

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

func (ExternalQuerySourceJobInfo) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type ExternalQuerySourceJobInfo_SdkV2 added in v1.71.0

type ExternalQuerySourceJobInfo_SdkV2 struct {
	// The canonical identifier for this job.
	JobId types.String `tfsdk:"job_id"`
	// The canonical identifier of the run. This ID is unique across all runs of
	// all jobs.
	JobRunId types.String `tfsdk:"job_run_id"`
	// The canonical identifier of the task run.
	JobTaskRunId types.String `tfsdk:"job_task_run_id"`
}

func (ExternalQuerySourceJobInfo_SdkV2) ApplySchemaCustomizations added in v1.71.0

func (ExternalQuerySourceJobInfo_SdkV2) GetComplexFieldTypes added in v1.71.0

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

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

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

func (*ExternalQuerySourceJobInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ExternalQuerySourceJobInfo_SdkV2) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type ExternalQuerySource_SdkV2 added in v1.71.0

type ExternalQuerySource_SdkV2 struct {
	// The canonical identifier for this SQL alert
	AlertId types.String `tfsdk:"alert_id"`
	// The canonical identifier for this Lakeview dashboard
	DashboardId types.String `tfsdk:"dashboard_id"`
	// The canonical identifier for this Genie space
	GenieSpaceId types.String `tfsdk:"genie_space_id"`

	JobInfo types.List `tfsdk:"job_info"`
	// The canonical identifier for this legacy dashboard
	LegacyDashboardId types.String `tfsdk:"legacy_dashboard_id"`
	// The canonical identifier for this notebook
	NotebookId types.String `tfsdk:"notebook_id"`
	// The canonical identifier for this SQL query
	SqlQueryId types.String `tfsdk:"sql_query_id"`
}

func (ExternalQuerySource_SdkV2) ApplySchemaCustomizations added in v1.71.0

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

func (ExternalQuerySource_SdkV2) GetComplexFieldTypes added in v1.71.0

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

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

GetJobInfo returns the value of the JobInfo field in ExternalQuerySource_SdkV2 as a ExternalQuerySourceJobInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ExternalQuerySource_SdkV2) SetJobInfo added in v1.71.0

SetJobInfo sets the value of the JobInfo field in ExternalQuerySource_SdkV2.

func (*ExternalQuerySource_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ExternalQuerySource_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (ExternalQuerySource_SdkV2) Type added in v1.71.0

Type implements basetypes.ObjectValuable.

type GetAlertRequest

type GetAlertRequest struct {
	Id types.String `tfsdk:"-"`
}

func (GetAlertRequest) ApplySchemaCustomizations added in v1.76.0

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

func (GetAlertRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*GetAlertRequest) SyncFieldsDuringRead added in v1.91.0

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

func (GetAlertRequest) ToObjectValue added in v1.61.0

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

func (GetAlertRequest) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type GetAlertRequest_SdkV2 added in v1.62.1

type GetAlertRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (GetAlertRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (GetAlertRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*GetAlertRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (GetAlertRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetAlertV2Request added in v1.76.0

type GetAlertV2Request struct {
	Id types.String `tfsdk:"-"`
}

func (GetAlertV2Request) ApplySchemaCustomizations added in v1.76.0

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

func (GetAlertV2Request) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*GetAlertV2Request) SyncFieldsDuringRead added in v1.91.0

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

func (GetAlertV2Request) ToObjectValue added in v1.76.0

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

func (GetAlertV2Request) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type GetAlertV2Request_SdkV2 added in v1.76.0

type GetAlertV2Request_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (GetAlertV2Request_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (GetAlertV2Request_SdkV2) GetComplexFieldTypes added in v1.76.0

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

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

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

func (*GetAlertV2Request_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (GetAlertV2Request_SdkV2) ToObjectValue added in v1.76.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, GetAlertV2Request_SdkV2 only implements ToObjectValue() and Type().

func (GetAlertV2Request_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type GetAlertsLegacyRequest

type GetAlertsLegacyRequest struct {
	AlertId types.String `tfsdk:"-"`
}

func (GetAlertsLegacyRequest) ApplySchemaCustomizations added in v1.76.0

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

func (GetAlertsLegacyRequest) GetComplexFieldTypes added in v1.61.0

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

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

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

func (*GetAlertsLegacyRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (GetAlertsLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetAlertsLegacyRequest_SdkV2 added in v1.62.1

type GetAlertsLegacyRequest_SdkV2 struct {
	AlertId types.String `tfsdk:"-"`
}

func (GetAlertsLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetAlertsLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (*GetAlertsLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (GetAlertsLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetConfigRequest added in v1.85.0

type GetConfigRequest struct {
}

func (GetConfigRequest) ApplySchemaCustomizations added in v1.91.0

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

func (GetConfigRequest) GetComplexFieldTypes added in v1.85.0

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

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

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

func (*GetConfigRequest) SyncFieldsDuringRead added in v1.91.0

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

func (GetConfigRequest) ToObjectValue added in v1.85.0

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

func (GetConfigRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type GetConfigRequest_SdkV2 added in v1.85.0

type GetConfigRequest_SdkV2 struct {
}

func (GetConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

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

func (GetConfigRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

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

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

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

func (*GetConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

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

func (GetConfigRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type GetDashboardRequest

type GetDashboardRequest struct {
	DashboardId types.String `tfsdk:"-"`
}

func (GetDashboardRequest) ApplySchemaCustomizations added in v1.76.0

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

func (GetDashboardRequest) GetComplexFieldTypes added in v1.61.0

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

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDashboardRequest. 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 (*GetDashboardRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetDashboardRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDashboardRequest)

func (*GetDashboardRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetDashboardRequest) SyncFieldsDuringRead(ctx context.Context, from GetDashboardRequest)

func (GetDashboardRequest) 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, GetDashboardRequest only implements ToObjectValue() and Type().

func (GetDashboardRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetDashboardRequest_SdkV2 added in v1.62.1

type GetDashboardRequest_SdkV2 struct {
	DashboardId types.String `tfsdk:"-"`
}

func (GetDashboardRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetDashboardRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetDashboardRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetDashboardRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDashboardRequest. 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 (*GetDashboardRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetDashboardRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDashboardRequest_SdkV2)

func (*GetDashboardRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetDashboardRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetDashboardRequest_SdkV2)

func (GetDashboardRequest_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, GetDashboardRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetDashboardRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetDbsqlPermissionRequest

type GetDbsqlPermissionRequest struct {
	// Object ID. An ACL is returned for the object with this UUID.
	ObjectId types.String `tfsdk:"-"`
	// The type of object permissions to check.
	ObjectType types.String `tfsdk:"-"`
}

func (GetDbsqlPermissionRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetDbsqlPermissionRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetDbsqlPermissionRequest) GetComplexFieldTypes added in v1.61.0

func (m GetDbsqlPermissionRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDbsqlPermissionRequest. 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 (*GetDbsqlPermissionRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetDbsqlPermissionRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDbsqlPermissionRequest)

func (*GetDbsqlPermissionRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetDbsqlPermissionRequest) SyncFieldsDuringRead(ctx context.Context, from GetDbsqlPermissionRequest)

func (GetDbsqlPermissionRequest) 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, GetDbsqlPermissionRequest only implements ToObjectValue() and Type().

func (GetDbsqlPermissionRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetDbsqlPermissionRequest_SdkV2 added in v1.62.1

type GetDbsqlPermissionRequest_SdkV2 struct {
	// Object ID. An ACL is returned for the object with this UUID.
	ObjectId types.String `tfsdk:"-"`
	// The type of object permissions to check.
	ObjectType types.String `tfsdk:"-"`
}

func (GetDbsqlPermissionRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetDbsqlPermissionRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetDbsqlPermissionRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDbsqlPermissionRequest. 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 (*GetDbsqlPermissionRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetDbsqlPermissionRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetDbsqlPermissionRequest_SdkV2)

func (*GetDbsqlPermissionRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetDbsqlPermissionRequest_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, GetDbsqlPermissionRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetDbsqlPermissionRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetQueriesLegacyRequest

type GetQueriesLegacyRequest struct {
	QueryId types.String `tfsdk:"-"`
}

func (GetQueriesLegacyRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetQueriesLegacyRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (m GetQueriesLegacyRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueriesLegacyRequest. 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 (*GetQueriesLegacyRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetQueriesLegacyRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetQueriesLegacyRequest)

func (*GetQueriesLegacyRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetQueriesLegacyRequest) SyncFieldsDuringRead(ctx context.Context, from GetQueriesLegacyRequest)

func (GetQueriesLegacyRequest) 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, GetQueriesLegacyRequest only implements ToObjectValue() and Type().

func (GetQueriesLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetQueriesLegacyRequest_SdkV2 added in v1.62.1

type GetQueriesLegacyRequest_SdkV2 struct {
	QueryId types.String `tfsdk:"-"`
}

func (GetQueriesLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetQueriesLegacyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueriesLegacyRequest. 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 (*GetQueriesLegacyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetQueriesLegacyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetQueriesLegacyRequest_SdkV2)

func (*GetQueriesLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetQueriesLegacyRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetQueriesLegacyRequest_SdkV2)

func (GetQueriesLegacyRequest_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, GetQueriesLegacyRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetQueriesLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetQueryRequest

type GetQueryRequest struct {
	Id types.String `tfsdk:"-"`
}

func (GetQueryRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetQueryRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetQueryRequest) GetComplexFieldTypes added in v1.61.0

func (m GetQueryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueryRequest. 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 (*GetQueryRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetQueryRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetQueryRequest)

func (*GetQueryRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetQueryRequest) SyncFieldsDuringRead(ctx context.Context, from GetQueryRequest)

func (GetQueryRequest) ToObjectValue added in v1.61.0

func (m GetQueryRequest) 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, GetQueryRequest only implements ToObjectValue() and Type().

func (GetQueryRequest) Type added in v1.61.0

func (m GetQueryRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GetQueryRequest_SdkV2 added in v1.62.1

type GetQueryRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (GetQueryRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetQueryRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetQueryRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueryRequest. 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 (*GetQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetQueryRequest_SdkV2)

func (*GetQueryRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetQueryRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetQueryRequest_SdkV2)

func (GetQueryRequest_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, GetQueryRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetQueryRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetResponse

type GetResponse struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// An object's type and UUID, separated by a forward slash (/) character.
	ObjectId types.String `tfsdk:"object_id"`
	// A singular noun object type.
	ObjectType types.String `tfsdk:"object_type"`
}

func (GetResponse) ApplySchemaCustomizations added in v1.76.0

func (m GetResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetResponse) GetAccessControlList added in v1.61.0

func (m *GetResponse) GetAccessControlList(ctx context.Context) ([]AccessControl, bool)

GetAccessControlList returns the value of the AccessControlList field in GetResponse as a slice of AccessControl values. If the field is unknown or null, the boolean return value is false.

func (GetResponse) GetComplexFieldTypes added in v1.61.0

func (m GetResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetResponse. 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 (*GetResponse) SetAccessControlList added in v1.61.0

func (m *GetResponse) SetAccessControlList(ctx context.Context, v []AccessControl)

SetAccessControlList sets the value of the AccessControlList field in GetResponse.

func (*GetResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetResponse)

func (*GetResponse) SyncFieldsDuringRead added in v1.86.0

func (to *GetResponse) SyncFieldsDuringRead(ctx context.Context, from GetResponse)

func (GetResponse) ToObjectValue added in v1.61.0

func (m GetResponse) 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, GetResponse only implements ToObjectValue() and Type().

func (GetResponse) Type added in v1.61.0

func (m GetResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GetResponse_SdkV2 added in v1.62.1

type GetResponse_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// An object's type and UUID, separated by a forward slash (/) character.
	ObjectId types.String `tfsdk:"object_id"`
	// A singular noun object type.
	ObjectType types.String `tfsdk:"object_type"`
}

func (GetResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetResponse_SdkV2) GetAccessControlList added in v1.62.1

func (m *GetResponse_SdkV2) GetAccessControlList(ctx context.Context) ([]AccessControl_SdkV2, bool)

GetAccessControlList returns the value of the AccessControlList field in GetResponse_SdkV2 as a slice of AccessControl_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (GetResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetResponse. 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 (*GetResponse_SdkV2) SetAccessControlList added in v1.62.1

func (m *GetResponse_SdkV2) SetAccessControlList(ctx context.Context, v []AccessControl_SdkV2)

SetAccessControlList sets the value of the AccessControlList field in GetResponse_SdkV2.

func (*GetResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetResponse_SdkV2)

func (*GetResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GetResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetResponse_SdkV2)

func (GetResponse_SdkV2) ToObjectValue added in v1.62.1

func (m GetResponse_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, GetResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetStatementRequest

type GetStatementRequest struct {
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"-"`
}

func (GetStatementRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetStatementRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetStatementRequest) GetComplexFieldTypes added in v1.61.0

func (m GetStatementRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementRequest. 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 (*GetStatementRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetStatementRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetStatementRequest)

func (*GetStatementRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetStatementRequest) SyncFieldsDuringRead(ctx context.Context, from GetStatementRequest)

func (GetStatementRequest) 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, GetStatementRequest only implements ToObjectValue() and Type().

func (GetStatementRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetStatementRequest_SdkV2 added in v1.62.1

type GetStatementRequest_SdkV2 struct {
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"-"`
}

func (GetStatementRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetStatementRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetStatementRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetStatementRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementRequest. 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 (*GetStatementRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetStatementRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetStatementRequest_SdkV2)

func (*GetStatementRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetStatementRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetStatementRequest_SdkV2)

func (GetStatementRequest_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, GetStatementRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetStatementRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetStatementResultChunkNRequest

type GetStatementResultChunkNRequest struct {
	ChunkIndex types.Int64 `tfsdk:"-"`
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"-"`
}

func (GetStatementResultChunkNRequest) ApplySchemaCustomizations added in v1.76.0

func (GetStatementResultChunkNRequest) GetComplexFieldTypes added in v1.61.0

func (m GetStatementResultChunkNRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementResultChunkNRequest. 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 (*GetStatementResultChunkNRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetStatementResultChunkNRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetStatementResultChunkNRequest)

func (*GetStatementResultChunkNRequest) SyncFieldsDuringRead added in v1.91.0

func (GetStatementResultChunkNRequest) 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, GetStatementResultChunkNRequest only implements ToObjectValue() and Type().

func (GetStatementResultChunkNRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetStatementResultChunkNRequest_SdkV2 added in v1.62.1

type GetStatementResultChunkNRequest_SdkV2 struct {
	ChunkIndex types.Int64 `tfsdk:"-"`
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"-"`
}

func (GetStatementResultChunkNRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetStatementResultChunkNRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetStatementResultChunkNRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementResultChunkNRequest. 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 (*GetStatementResultChunkNRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetStatementResultChunkNRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetStatementResultChunkNRequest_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, GetStatementResultChunkNRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetStatementResultChunkNRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetWarehousePermissionLevelsRequest

type GetWarehousePermissionLevelsRequest struct {
	// The SQL warehouse for which to get or manage permissions.
	WarehouseId types.String `tfsdk:"-"`
}

func (GetWarehousePermissionLevelsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetWarehousePermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetWarehousePermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsRequest. 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 (*GetWarehousePermissionLevelsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetWarehousePermissionLevelsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehousePermissionLevelsRequest)

func (*GetWarehousePermissionLevelsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetWarehousePermissionLevelsRequest) 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, GetWarehousePermissionLevelsRequest only implements ToObjectValue() and Type().

func (GetWarehousePermissionLevelsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWarehousePermissionLevelsRequest_SdkV2 added in v1.62.1

type GetWarehousePermissionLevelsRequest_SdkV2 struct {
	// The SQL warehouse for which to get or manage permissions.
	WarehouseId types.String `tfsdk:"-"`
}

func (GetWarehousePermissionLevelsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetWarehousePermissionLevelsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsRequest. 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 (*GetWarehousePermissionLevelsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetWarehousePermissionLevelsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetWarehousePermissionLevelsRequest_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, GetWarehousePermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetWarehousePermissionLevelsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetWarehousePermissionLevelsResponse

type GetWarehousePermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetWarehousePermissionLevelsResponse) ApplySchemaCustomizations added in v1.63.0

func (GetWarehousePermissionLevelsResponse) GetComplexFieldTypes added in v1.61.0

func (m GetWarehousePermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsResponse. 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 (*GetWarehousePermissionLevelsResponse) GetPermissionLevels added in v1.61.0

GetPermissionLevels returns the value of the PermissionLevels field in GetWarehousePermissionLevelsResponse as a slice of WarehousePermissionsDescription values. If the field is unknown or null, the boolean return value is false.

func (*GetWarehousePermissionLevelsResponse) SetPermissionLevels added in v1.61.0

SetPermissionLevels sets the value of the PermissionLevels field in GetWarehousePermissionLevelsResponse.

func (*GetWarehousePermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetWarehousePermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehousePermissionLevelsResponse)

func (*GetWarehousePermissionLevelsResponse) SyncFieldsDuringRead added in v1.86.0

func (GetWarehousePermissionLevelsResponse) 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, GetWarehousePermissionLevelsResponse only implements ToObjectValue() and Type().

func (GetWarehousePermissionLevelsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWarehousePermissionLevelsResponse_SdkV2 added in v1.62.1

type GetWarehousePermissionLevelsResponse_SdkV2 struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetWarehousePermissionLevelsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetWarehousePermissionLevelsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsResponse. 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 (*GetWarehousePermissionLevelsResponse_SdkV2) GetPermissionLevels added in v1.62.1

GetPermissionLevels returns the value of the PermissionLevels field in GetWarehousePermissionLevelsResponse_SdkV2 as a slice of WarehousePermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetWarehousePermissionLevelsResponse_SdkV2) SetPermissionLevels added in v1.62.1

SetPermissionLevels sets the value of the PermissionLevels field in GetWarehousePermissionLevelsResponse_SdkV2.

func (*GetWarehousePermissionLevelsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetWarehousePermissionLevelsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetWarehousePermissionLevelsResponse_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, GetWarehousePermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetWarehousePermissionLevelsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetWarehousePermissionsRequest

type GetWarehousePermissionsRequest struct {
	// The SQL warehouse for which to get or manage permissions.
	WarehouseId types.String `tfsdk:"-"`
}

func (GetWarehousePermissionsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetWarehousePermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetWarehousePermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionsRequest. 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 (*GetWarehousePermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetWarehousePermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehousePermissionsRequest)

func (*GetWarehousePermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetWarehousePermissionsRequest) 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, GetWarehousePermissionsRequest only implements ToObjectValue() and Type().

func (GetWarehousePermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWarehousePermissionsRequest_SdkV2 added in v1.62.1

type GetWarehousePermissionsRequest_SdkV2 struct {
	// The SQL warehouse for which to get or manage permissions.
	WarehouseId types.String `tfsdk:"-"`
}

func (GetWarehousePermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetWarehousePermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetWarehousePermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionsRequest. 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 (*GetWarehousePermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetWarehousePermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehousePermissionsRequest_SdkV2)

func (*GetWarehousePermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetWarehousePermissionsRequest_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, GetWarehousePermissionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetWarehousePermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetWarehouseRequest

type GetWarehouseRequest struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (GetWarehouseRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetWarehouseRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetWarehouseRequest) GetComplexFieldTypes added in v1.61.0

func (m GetWarehouseRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseRequest. 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 (*GetWarehouseRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetWarehouseRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehouseRequest)

func (*GetWarehouseRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetWarehouseRequest) SyncFieldsDuringRead(ctx context.Context, from GetWarehouseRequest)

func (GetWarehouseRequest) 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, GetWarehouseRequest only implements ToObjectValue() and Type().

func (GetWarehouseRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWarehouseRequest_SdkV2 added in v1.62.1

type GetWarehouseRequest_SdkV2 struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (GetWarehouseRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetWarehouseRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetWarehouseRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetWarehouseRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseRequest. 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 (*GetWarehouseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetWarehouseRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehouseRequest_SdkV2)

func (*GetWarehouseRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetWarehouseRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetWarehouseRequest_SdkV2)

func (GetWarehouseRequest_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, GetWarehouseRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetWarehouseRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetWarehouseResponse

type GetWarehouseResponse struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.Object `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Optional health status. Assume the warehouse is healthy if this field is
	// not set.
	Health types.Object `tfsdk:"health"`
	// unique identifier for warehouse
	Id types.String `tfsdk:"id"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// the jdbc connection string for this warehouse
	JdbcUrl types.String `tfsdk:"jdbc_url"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Deprecated. current number of active sessions for the warehouse
	NumActiveSessions types.Int64 `tfsdk:"num_active_sessions"`
	// current number of clusters running for the service
	NumClusters types.Int64 `tfsdk:"num_clusters"`
	// ODBC parameters for the SQL warehouse
	OdbcParams types.Object `tfsdk:"odbc_params"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// state of the endpoint
	State types.String `tfsdk:"state"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.Object `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

func (GetWarehouseResponse) ApplySchemaCustomizations added in v1.63.0

func (m GetWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetWarehouseResponse) GetChannel added in v1.61.0

func (m *GetWarehouseResponse) GetChannel(ctx context.Context) (Channel, bool)

GetChannel returns the value of the Channel field in GetWarehouseResponse as a Channel value. If the field is unknown or null, the boolean return value is false.

func (GetWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (m GetWarehouseResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseResponse. 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 (*GetWarehouseResponse) GetHealth added in v1.61.0

GetHealth returns the value of the Health field in GetWarehouseResponse as a EndpointHealth value. If the field is unknown or null, the boolean return value is false.

func (*GetWarehouseResponse) GetOdbcParams added in v1.61.0

func (m *GetWarehouseResponse) GetOdbcParams(ctx context.Context) (OdbcParams, bool)

GetOdbcParams returns the value of the OdbcParams field in GetWarehouseResponse as a OdbcParams value. If the field is unknown or null, the boolean return value is false.

func (*GetWarehouseResponse) GetTags added in v1.61.0

GetTags returns the value of the Tags field in GetWarehouseResponse as a EndpointTags value. If the field is unknown or null, the boolean return value is false.

func (*GetWarehouseResponse) SetChannel added in v1.61.0

func (m *GetWarehouseResponse) SetChannel(ctx context.Context, v Channel)

SetChannel sets the value of the Channel field in GetWarehouseResponse.

func (*GetWarehouseResponse) SetHealth added in v1.61.0

func (m *GetWarehouseResponse) SetHealth(ctx context.Context, v EndpointHealth)

SetHealth sets the value of the Health field in GetWarehouseResponse.

func (*GetWarehouseResponse) SetOdbcParams added in v1.61.0

func (m *GetWarehouseResponse) SetOdbcParams(ctx context.Context, v OdbcParams)

SetOdbcParams sets the value of the OdbcParams field in GetWarehouseResponse.

func (*GetWarehouseResponse) SetTags added in v1.61.0

func (m *GetWarehouseResponse) SetTags(ctx context.Context, v EndpointTags)

SetTags sets the value of the Tags field in GetWarehouseResponse.

func (*GetWarehouseResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetWarehouseResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehouseResponse)

func (*GetWarehouseResponse) SyncFieldsDuringRead added in v1.86.0

func (to *GetWarehouseResponse) SyncFieldsDuringRead(ctx context.Context, from GetWarehouseResponse)

func (GetWarehouseResponse) 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, GetWarehouseResponse only implements ToObjectValue() and Type().

func (GetWarehouseResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWarehouseResponse_SdkV2 added in v1.62.1

type GetWarehouseResponse_SdkV2 struct {
	// The amount of time in minutes that a SQL warehouse must be idle (i.e., no
	// RUNNING queries) before it is automatically stopped.
	//
	// Supported values: - Must be == 0 or >= 10 mins - 0 indicates no autostop.
	//
	// Defaults to 120 mins
	AutoStopMins types.Int64 `tfsdk:"auto_stop_mins"`
	// Channel Details
	Channel types.List `tfsdk:"channel"`
	// Size of the clusters allocated for this warehouse. Increasing the size of
	// a spark cluster allows you to run larger queries on it. If you want to
	// increase the number of concurrent queries, please tune max_num_clusters.
	//
	// Supported values: - 2X-Small - X-Small - Small - Medium - Large - X-Large
	// - 2X-Large - 3X-Large - 4X-Large
	ClusterSize types.String `tfsdk:"cluster_size"`
	// warehouse creator name
	CreatorName types.String `tfsdk:"creator_name"`
	// Configures whether the warehouse should use Photon optimized clusters.
	//
	// Defaults to false.
	EnablePhoton types.Bool `tfsdk:"enable_photon"`
	// Configures whether the warehouse should use serverless compute
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// Optional health status. Assume the warehouse is healthy if this field is
	// not set.
	Health types.List `tfsdk:"health"`
	// unique identifier for warehouse
	Id types.String `tfsdk:"id"`
	// Deprecated. Instance profile used to pass IAM role to the cluster
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// the jdbc connection string for this warehouse
	JdbcUrl types.String `tfsdk:"jdbc_url"`
	// Maximum number of clusters that the autoscaler will create to handle
	// concurrent queries.
	//
	// Supported values: - Must be >= min_num_clusters - Must be <= 40.
	//
	// Defaults to min_clusters if unset.
	MaxNumClusters types.Int64 `tfsdk:"max_num_clusters"`
	// Minimum number of available clusters that will be maintained for this SQL
	// warehouse. Increasing this will ensure that a larger number of clusters
	// are always running and therefore may reduce the cold start time for new
	// queries. This is similar to reserved vs. revocable cores in a resource
	// manager.
	//
	// Supported values: - Must be > 0 - Must be <= min(max_num_clusters, 30)
	//
	// Defaults to 1
	MinNumClusters types.Int64 `tfsdk:"min_num_clusters"`
	// Logical name for the cluster.
	//
	// Supported values: - Must be unique within an org. - Must be less than 100
	// characters.
	Name types.String `tfsdk:"name"`
	// Deprecated. current number of active sessions for the warehouse
	NumActiveSessions types.Int64 `tfsdk:"num_active_sessions"`
	// current number of clusters running for the service
	NumClusters types.Int64 `tfsdk:"num_clusters"`
	// ODBC parameters for the SQL warehouse
	OdbcParams types.List `tfsdk:"odbc_params"`
	// Configurations whether the endpoint should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// state of the endpoint
	State types.String `tfsdk:"state"`
	// A set of key-value pairs that will be tagged on all resources (e.g., AWS
	// instances and EBS volumes) associated with this SQL warehouse.
	//
	// Supported values: - Number of tags < 45.
	Tags types.List `tfsdk:"tags"`
	// Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless
	// compute, you must set to `PRO` and also set the field
	// `enable_serverless_compute` to `true`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

func (GetWarehouseResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m GetWarehouseResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetWarehouseResponse_SdkV2) GetChannel added in v1.62.1

GetChannel returns the value of the Channel field in GetWarehouseResponse_SdkV2 as a Channel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (GetWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetWarehouseResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseResponse. 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 (*GetWarehouseResponse_SdkV2) GetHealth added in v1.62.1

GetHealth returns the value of the Health field in GetWarehouseResponse_SdkV2 as a EndpointHealth_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetWarehouseResponse_SdkV2) GetOdbcParams added in v1.62.1

GetOdbcParams returns the value of the OdbcParams field in GetWarehouseResponse_SdkV2 as a OdbcParams_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetWarehouseResponse_SdkV2) GetTags added in v1.62.1

GetTags returns the value of the Tags field in GetWarehouseResponse_SdkV2 as a EndpointTags_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetWarehouseResponse_SdkV2) SetChannel added in v1.62.1

SetChannel sets the value of the Channel field in GetWarehouseResponse_SdkV2.

func (*GetWarehouseResponse_SdkV2) SetHealth added in v1.62.1

SetHealth sets the value of the Health field in GetWarehouseResponse_SdkV2.

func (*GetWarehouseResponse_SdkV2) SetOdbcParams added in v1.62.1

SetOdbcParams sets the value of the OdbcParams field in GetWarehouseResponse_SdkV2.

func (*GetWarehouseResponse_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in GetWarehouseResponse_SdkV2.

func (*GetWarehouseResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetWarehouseResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWarehouseResponse_SdkV2)

func (*GetWarehouseResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GetWarehouseResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetWarehouseResponse_SdkV2)

func (GetWarehouseResponse_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, GetWarehouseResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetWarehouseResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetWorkspaceWarehouseConfigRequest added in v1.85.0

type GetWorkspaceWarehouseConfigRequest struct {
}

func (GetWorkspaceWarehouseConfigRequest) ApplySchemaCustomizations added in v1.91.0

func (GetWorkspaceWarehouseConfigRequest) GetComplexFieldTypes added in v1.85.0

func (m GetWorkspaceWarehouseConfigRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceWarehouseConfigRequest. 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 (*GetWorkspaceWarehouseConfigRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetWorkspaceWarehouseConfigRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWorkspaceWarehouseConfigRequest)

func (*GetWorkspaceWarehouseConfigRequest) SyncFieldsDuringRead added in v1.91.0

func (GetWorkspaceWarehouseConfigRequest) 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, GetWorkspaceWarehouseConfigRequest only implements ToObjectValue() and Type().

func (GetWorkspaceWarehouseConfigRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type GetWorkspaceWarehouseConfigRequest_SdkV2 added in v1.85.0

type GetWorkspaceWarehouseConfigRequest_SdkV2 struct {
}

func (GetWorkspaceWarehouseConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (GetWorkspaceWarehouseConfigRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceWarehouseConfigRequest. 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 (*GetWorkspaceWarehouseConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetWorkspaceWarehouseConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetWorkspaceWarehouseConfigRequest_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, GetWorkspaceWarehouseConfigRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetWorkspaceWarehouseConfigRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type GetWorkspaceWarehouseConfigResponse

type GetWorkspaceWarehouseConfigResponse struct {
	// Optional: Channel selection details
	Channel types.Object `tfsdk:"channel"`
	// Deprecated: Use sql_configuration_parameters
	ConfigParam types.Object `tfsdk:"config_param"`
	// Spark confs for external hive metastore configuration JSON serialized
	// size must be less than <= 512K
	DataAccessConfig types.List `tfsdk:"data_access_config"`
	// Enable Serverless compute for SQL warehouses
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// List of Warehouse Types allowed in this workspace (limits allowed value
	// of the type field in CreateWarehouse and EditWarehouse). Note: Some types
	// cannot be disabled, they don't need to be specified in
	// SetWorkspaceWarehouseConfig. Note: Disabling a type may cause existing
	// warehouses to be converted to another type. Used by frontend to save
	// specific type availability in the warehouse create and edit form UI.
	EnabledWarehouseTypes types.List `tfsdk:"enabled_warehouse_types"`
	// Deprecated: Use sql_configuration_parameters
	GlobalParam types.Object `tfsdk:"global_param"`
	// GCP only: Google Service Account used to pass to cluster to access Google
	// Cloud Storage
	GoogleServiceAccount types.String `tfsdk:"google_service_account"`
	// AWS Only: The instance profile used to pass an IAM role to the SQL
	// warehouses. This configuration is also applied to the workspace's
	// serverless compute for notebooks and jobs.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Security policy for warehouses
	SecurityPolicy types.String `tfsdk:"security_policy"`
	// SQL configuration parameters
	SqlConfigurationParameters types.Object `tfsdk:"sql_configuration_parameters"`
}

func (GetWorkspaceWarehouseConfigResponse) ApplySchemaCustomizations added in v1.63.0

func (*GetWorkspaceWarehouseConfigResponse) GetChannel added in v1.61.0

GetChannel returns the value of the Channel field in GetWorkspaceWarehouseConfigResponse as a Channel value. If the field is unknown or null, the boolean return value is false.

func (GetWorkspaceWarehouseConfigResponse) GetComplexFieldTypes added in v1.61.0

func (m GetWorkspaceWarehouseConfigResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceWarehouseConfigResponse. 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 (*GetWorkspaceWarehouseConfigResponse) GetConfigParam added in v1.61.0

GetConfigParam returns the value of the ConfigParam field in GetWorkspaceWarehouseConfigResponse as a RepeatedEndpointConfPairs value. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse) GetDataAccessConfig added in v1.61.0

func (m *GetWorkspaceWarehouseConfigResponse) GetDataAccessConfig(ctx context.Context) ([]EndpointConfPair, bool)

GetDataAccessConfig returns the value of the DataAccessConfig field in GetWorkspaceWarehouseConfigResponse as a slice of EndpointConfPair values. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse) GetEnabledWarehouseTypes added in v1.61.0

func (m *GetWorkspaceWarehouseConfigResponse) GetEnabledWarehouseTypes(ctx context.Context) ([]WarehouseTypePair, bool)

GetEnabledWarehouseTypes returns the value of the EnabledWarehouseTypes field in GetWorkspaceWarehouseConfigResponse as a slice of WarehouseTypePair values. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse) GetGlobalParam added in v1.61.0

GetGlobalParam returns the value of the GlobalParam field in GetWorkspaceWarehouseConfigResponse as a RepeatedEndpointConfPairs value. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse) GetSqlConfigurationParameters added in v1.61.0

func (m *GetWorkspaceWarehouseConfigResponse) GetSqlConfigurationParameters(ctx context.Context) (RepeatedEndpointConfPairs, bool)

GetSqlConfigurationParameters returns the value of the SqlConfigurationParameters field in GetWorkspaceWarehouseConfigResponse as a RepeatedEndpointConfPairs value. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse) SetChannel added in v1.61.0

SetChannel sets the value of the Channel field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SetConfigParam added in v1.61.0

SetConfigParam sets the value of the ConfigParam field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SetDataAccessConfig added in v1.61.0

func (m *GetWorkspaceWarehouseConfigResponse) SetDataAccessConfig(ctx context.Context, v []EndpointConfPair)

SetDataAccessConfig sets the value of the DataAccessConfig field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SetEnabledWarehouseTypes added in v1.61.0

func (m *GetWorkspaceWarehouseConfigResponse) SetEnabledWarehouseTypes(ctx context.Context, v []WarehouseTypePair)

SetEnabledWarehouseTypes sets the value of the EnabledWarehouseTypes field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SetGlobalParam added in v1.61.0

SetGlobalParam sets the value of the GlobalParam field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SetSqlConfigurationParameters added in v1.61.0

func (m *GetWorkspaceWarehouseConfigResponse) SetSqlConfigurationParameters(ctx context.Context, v RepeatedEndpointConfPairs)

SetSqlConfigurationParameters sets the value of the SqlConfigurationParameters field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetWorkspaceWarehouseConfigResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetWorkspaceWarehouseConfigResponse)

func (*GetWorkspaceWarehouseConfigResponse) SyncFieldsDuringRead added in v1.86.0

func (GetWorkspaceWarehouseConfigResponse) 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, GetWorkspaceWarehouseConfigResponse only implements ToObjectValue() and Type().

func (GetWorkspaceWarehouseConfigResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWorkspaceWarehouseConfigResponse_SdkV2 added in v1.62.1

type GetWorkspaceWarehouseConfigResponse_SdkV2 struct {
	// Optional: Channel selection details
	Channel types.List `tfsdk:"channel"`
	// Deprecated: Use sql_configuration_parameters
	ConfigParam types.List `tfsdk:"config_param"`
	// Spark confs for external hive metastore configuration JSON serialized
	// size must be less than <= 512K
	DataAccessConfig types.List `tfsdk:"data_access_config"`
	// Enable Serverless compute for SQL warehouses
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// List of Warehouse Types allowed in this workspace (limits allowed value
	// of the type field in CreateWarehouse and EditWarehouse). Note: Some types
	// cannot be disabled, they don't need to be specified in
	// SetWorkspaceWarehouseConfig. Note: Disabling a type may cause existing
	// warehouses to be converted to another type. Used by frontend to save
	// specific type availability in the warehouse create and edit form UI.
	EnabledWarehouseTypes types.List `tfsdk:"enabled_warehouse_types"`
	// Deprecated: Use sql_configuration_parameters
	GlobalParam types.List `tfsdk:"global_param"`
	// GCP only: Google Service Account used to pass to cluster to access Google
	// Cloud Storage
	GoogleServiceAccount types.String `tfsdk:"google_service_account"`
	// AWS Only: The instance profile used to pass an IAM role to the SQL
	// warehouses. This configuration is also applied to the workspace's
	// serverless compute for notebooks and jobs.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Security policy for warehouses
	SecurityPolicy types.String `tfsdk:"security_policy"`
	// SQL configuration parameters
	SqlConfigurationParameters types.List `tfsdk:"sql_configuration_parameters"`
}

func (GetWorkspaceWarehouseConfigResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) GetChannel added in v1.62.1

GetChannel returns the value of the Channel field in GetWorkspaceWarehouseConfigResponse_SdkV2 as a Channel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (GetWorkspaceWarehouseConfigResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceWarehouseConfigResponse. 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 (*GetWorkspaceWarehouseConfigResponse_SdkV2) GetConfigParam added in v1.62.1

GetConfigParam returns the value of the ConfigParam field in GetWorkspaceWarehouseConfigResponse_SdkV2 as a RepeatedEndpointConfPairs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) GetDataAccessConfig added in v1.62.1

GetDataAccessConfig returns the value of the DataAccessConfig field in GetWorkspaceWarehouseConfigResponse_SdkV2 as a slice of EndpointConfPair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) GetEnabledWarehouseTypes added in v1.62.1

GetEnabledWarehouseTypes returns the value of the EnabledWarehouseTypes field in GetWorkspaceWarehouseConfigResponse_SdkV2 as a slice of WarehouseTypePair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) GetGlobalParam added in v1.62.1

GetGlobalParam returns the value of the GlobalParam field in GetWorkspaceWarehouseConfigResponse_SdkV2 as a RepeatedEndpointConfPairs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) GetSqlConfigurationParameters added in v1.62.1

GetSqlConfigurationParameters returns the value of the SqlConfigurationParameters field in GetWorkspaceWarehouseConfigResponse_SdkV2 as a RepeatedEndpointConfPairs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SetChannel added in v1.62.1

SetChannel sets the value of the Channel field in GetWorkspaceWarehouseConfigResponse_SdkV2.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SetConfigParam added in v1.62.1

SetConfigParam sets the value of the ConfigParam field in GetWorkspaceWarehouseConfigResponse_SdkV2.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SetDataAccessConfig added in v1.62.1

SetDataAccessConfig sets the value of the DataAccessConfig field in GetWorkspaceWarehouseConfigResponse_SdkV2.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SetEnabledWarehouseTypes added in v1.62.1

SetEnabledWarehouseTypes sets the value of the EnabledWarehouseTypes field in GetWorkspaceWarehouseConfigResponse_SdkV2.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SetGlobalParam added in v1.62.1

SetGlobalParam sets the value of the GlobalParam field in GetWorkspaceWarehouseConfigResponse_SdkV2.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SetSqlConfigurationParameters added in v1.62.1

SetSqlConfigurationParameters sets the value of the SqlConfigurationParameters field in GetWorkspaceWarehouseConfigResponse_SdkV2.

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetWorkspaceWarehouseConfigResponse_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, GetWorkspaceWarehouseConfigResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetWorkspaceWarehouseConfigResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type LegacyAlert

type LegacyAlert struct {
	// Timestamp when the alert was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// Alert ID.
	Id types.String `tfsdk:"id"`
	// Timestamp when the alert was last triggered.
	LastTriggeredAt types.String `tfsdk:"last_triggered_at"`
	// Name of the alert.
	Name types.String `tfsdk:"name"`
	// Alert configuration options.
	Options types.Object `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`

	Query types.Object `tfsdk:"query"`
	// Number of seconds after being triggered before the alert rearms itself
	// and can be triggered again. If `null`, alert will never be triggered
	// again.
	Rearm types.Int64 `tfsdk:"rearm"`
	// State of the alert. Possible values are: `unknown` (yet to be evaluated),
	// `triggered` (evaluated and fulfilled trigger conditions), or `ok`
	// (evaluated and did not fulfill trigger conditions).
	State types.String `tfsdk:"state"`
	// Timestamp when the alert was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`

	User types.Object `tfsdk:"user"`
}

func (LegacyAlert) ApplySchemaCustomizations added in v1.63.0

func (m LegacyAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyAlert) GetComplexFieldTypes added in v1.61.0

func (m LegacyAlert) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyAlert. 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 (*LegacyAlert) GetOptions added in v1.61.0

func (m *LegacyAlert) GetOptions(ctx context.Context) (AlertOptions, bool)

GetOptions returns the value of the Options field in LegacyAlert as a AlertOptions value. If the field is unknown or null, the boolean return value is false.

func (*LegacyAlert) GetQuery added in v1.61.0

func (m *LegacyAlert) GetQuery(ctx context.Context) (AlertQuery, bool)

GetQuery returns the value of the Query field in LegacyAlert as a AlertQuery value. If the field is unknown or null, the boolean return value is false.

func (*LegacyAlert) GetUser added in v1.61.0

func (m *LegacyAlert) GetUser(ctx context.Context) (User, bool)

GetUser returns the value of the User field in LegacyAlert as a User value. If the field is unknown or null, the boolean return value is false.

func (*LegacyAlert) SetOptions added in v1.61.0

func (m *LegacyAlert) SetOptions(ctx context.Context, v AlertOptions)

SetOptions sets the value of the Options field in LegacyAlert.

func (*LegacyAlert) SetQuery added in v1.61.0

func (m *LegacyAlert) SetQuery(ctx context.Context, v AlertQuery)

SetQuery sets the value of the Query field in LegacyAlert.

func (*LegacyAlert) SetUser added in v1.61.0

func (m *LegacyAlert) SetUser(ctx context.Context, v User)

SetUser sets the value of the User field in LegacyAlert.

func (*LegacyAlert) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LegacyAlert) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LegacyAlert)

func (*LegacyAlert) SyncFieldsDuringRead added in v1.86.0

func (to *LegacyAlert) SyncFieldsDuringRead(ctx context.Context, from LegacyAlert)

func (LegacyAlert) ToObjectValue added in v1.61.0

func (m LegacyAlert) 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, LegacyAlert only implements ToObjectValue() and Type().

func (LegacyAlert) Type added in v1.61.0

func (m LegacyAlert) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type LegacyAlert_SdkV2 added in v1.62.1

type LegacyAlert_SdkV2 struct {
	// Timestamp when the alert was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// Alert ID.
	Id types.String `tfsdk:"id"`
	// Timestamp when the alert was last triggered.
	LastTriggeredAt types.String `tfsdk:"last_triggered_at"`
	// Name of the alert.
	Name types.String `tfsdk:"name"`
	// Alert configuration options.
	Options types.List `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`

	Query types.List `tfsdk:"query"`
	// Number of seconds after being triggered before the alert rearms itself
	// and can be triggered again. If `null`, alert will never be triggered
	// again.
	Rearm types.Int64 `tfsdk:"rearm"`
	// State of the alert. Possible values are: `unknown` (yet to be evaluated),
	// `triggered` (evaluated and fulfilled trigger conditions), or `ok`
	// (evaluated and did not fulfill trigger conditions).
	State types.String `tfsdk:"state"`
	// Timestamp when the alert was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`

	User types.List `tfsdk:"user"`
}

func (LegacyAlert_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LegacyAlert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LegacyAlert_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyAlert. 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 (*LegacyAlert_SdkV2) GetOptions added in v1.62.1

GetOptions returns the value of the Options field in LegacyAlert_SdkV2 as a AlertOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyAlert_SdkV2) GetQuery added in v1.62.1

GetQuery returns the value of the Query field in LegacyAlert_SdkV2 as a AlertQuery_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyAlert_SdkV2) GetUser added in v1.62.1

func (m *LegacyAlert_SdkV2) GetUser(ctx context.Context) (User_SdkV2, bool)

GetUser returns the value of the User field in LegacyAlert_SdkV2 as a User_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyAlert_SdkV2) SetOptions added in v1.62.1

func (m *LegacyAlert_SdkV2) SetOptions(ctx context.Context, v AlertOptions_SdkV2)

SetOptions sets the value of the Options field in LegacyAlert_SdkV2.

func (*LegacyAlert_SdkV2) SetQuery added in v1.62.1

func (m *LegacyAlert_SdkV2) SetQuery(ctx context.Context, v AlertQuery_SdkV2)

SetQuery sets the value of the Query field in LegacyAlert_SdkV2.

func (*LegacyAlert_SdkV2) SetUser added in v1.62.1

func (m *LegacyAlert_SdkV2) SetUser(ctx context.Context, v User_SdkV2)

SetUser sets the value of the User field in LegacyAlert_SdkV2.

func (*LegacyAlert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LegacyAlert_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LegacyAlert_SdkV2)

func (*LegacyAlert_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LegacyAlert_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LegacyAlert_SdkV2)

func (LegacyAlert_SdkV2) ToObjectValue added in v1.62.1

func (m LegacyAlert_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, LegacyAlert_SdkV2 only implements ToObjectValue() and Type().

func (LegacyAlert_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type LegacyQuery

type LegacyQuery struct {
	// Describes whether the authenticated user is allowed to edit the
	// definition of this query.
	CanEdit types.Bool `tfsdk:"can_edit"`
	// The timestamp when this query was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Query ID.
	Id types.String `tfsdk:"id"`
	// Indicates whether the query is trashed. Trashed queries can't be used in
	// dashboards, or appear in search results. If this boolean is `true`, the
	// `options` property for this query includes a `moved_to_trash_at`
	// timestamp. Trashed queries are permanently deleted after 30 days.
	IsArchived types.Bool `tfsdk:"is_archived"`
	// Whether the query is a draft. Draft queries only appear in list views for
	// their owners. Visualizations from draft queries cannot appear on
	// dashboards.
	IsDraft types.Bool `tfsdk:"is_draft"`
	// Whether this query object appears in the current user's favorites list.
	// This flag determines whether the star icon for favorites is selected.
	IsFavorite types.Bool `tfsdk:"is_favorite"`
	// Text parameter types are not safe from SQL injection for all types of
	// data source. Set this Boolean parameter to `true` if a query either does
	// not use any text type parameters or uses a data source type where text
	// type parameters are handled safely.
	IsSafe types.Bool `tfsdk:"is_safe"`

	LastModifiedBy types.Object `tfsdk:"last_modified_by"`
	// The ID of the user who last saved changes to this query.
	LastModifiedById types.Int64 `tfsdk:"last_modified_by_id"`
	// If there is a cached result for this query and user, this field includes
	// the query result ID. If this query uses parameters, this field is always
	// null.
	LatestQueryDataId types.String `tfsdk:"latest_query_data_id"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`

	Options types.Object `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query *
	// `CAN_EDIT`: Can edit the query * `CAN_MANAGE`: Can manage the query
	PermissionTier types.String `tfsdk:"permission_tier"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`
	// A SHA-256 hash of the query text along with the authenticated user ID.
	QueryHash types.String `tfsdk:"query_hash"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
	// The timestamp at which this query was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`

	User types.Object `tfsdk:"user"`
	// The ID of the user who owns the query.
	UserId types.Int64 `tfsdk:"user_id"`

	Visualizations types.List `tfsdk:"visualizations"`
}

func (LegacyQuery) ApplySchemaCustomizations added in v1.63.0

func (m LegacyQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyQuery) GetComplexFieldTypes added in v1.61.0

func (m LegacyQuery) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyQuery. 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 (*LegacyQuery) GetLastModifiedBy added in v1.61.0

func (m *LegacyQuery) GetLastModifiedBy(ctx context.Context) (User, bool)

GetLastModifiedBy returns the value of the LastModifiedBy field in LegacyQuery as a User value. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery) GetOptions added in v1.61.0

func (m *LegacyQuery) GetOptions(ctx context.Context) (QueryOptions, bool)

GetOptions returns the value of the Options field in LegacyQuery as a QueryOptions value. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery) GetTags added in v1.61.0

func (m *LegacyQuery) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in LegacyQuery as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery) GetUser added in v1.61.0

func (m *LegacyQuery) GetUser(ctx context.Context) (User, bool)

GetUser returns the value of the User field in LegacyQuery as a User value. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery) GetVisualizations added in v1.61.0

func (m *LegacyQuery) GetVisualizations(ctx context.Context) ([]LegacyVisualization, bool)

GetVisualizations returns the value of the Visualizations field in LegacyQuery as a slice of LegacyVisualization values. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery) SetLastModifiedBy added in v1.61.0

func (m *LegacyQuery) SetLastModifiedBy(ctx context.Context, v User)

SetLastModifiedBy sets the value of the LastModifiedBy field in LegacyQuery.

func (*LegacyQuery) SetOptions added in v1.61.0

func (m *LegacyQuery) SetOptions(ctx context.Context, v QueryOptions)

SetOptions sets the value of the Options field in LegacyQuery.

func (*LegacyQuery) SetTags added in v1.61.0

func (m *LegacyQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in LegacyQuery.

func (*LegacyQuery) SetUser added in v1.61.0

func (m *LegacyQuery) SetUser(ctx context.Context, v User)

SetUser sets the value of the User field in LegacyQuery.

func (*LegacyQuery) SetVisualizations added in v1.61.0

func (m *LegacyQuery) SetVisualizations(ctx context.Context, v []LegacyVisualization)

SetVisualizations sets the value of the Visualizations field in LegacyQuery.

func (*LegacyQuery) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LegacyQuery) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LegacyQuery)

func (*LegacyQuery) SyncFieldsDuringRead added in v1.86.0

func (to *LegacyQuery) SyncFieldsDuringRead(ctx context.Context, from LegacyQuery)

func (LegacyQuery) ToObjectValue added in v1.61.0

func (m LegacyQuery) 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, LegacyQuery only implements ToObjectValue() and Type().

func (LegacyQuery) Type added in v1.61.0

func (m LegacyQuery) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type LegacyQuery_SdkV2 added in v1.62.1

type LegacyQuery_SdkV2 struct {
	// Describes whether the authenticated user is allowed to edit the
	// definition of this query.
	CanEdit types.Bool `tfsdk:"can_edit"`
	// The timestamp when this query was created.
	CreatedAt types.String `tfsdk:"created_at"`
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Query ID.
	Id types.String `tfsdk:"id"`
	// Indicates whether the query is trashed. Trashed queries can't be used in
	// dashboards, or appear in search results. If this boolean is `true`, the
	// `options` property for this query includes a `moved_to_trash_at`
	// timestamp. Trashed queries are permanently deleted after 30 days.
	IsArchived types.Bool `tfsdk:"is_archived"`
	// Whether the query is a draft. Draft queries only appear in list views for
	// their owners. Visualizations from draft queries cannot appear on
	// dashboards.
	IsDraft types.Bool `tfsdk:"is_draft"`
	// Whether this query object appears in the current user's favorites list.
	// This flag determines whether the star icon for favorites is selected.
	IsFavorite types.Bool `tfsdk:"is_favorite"`
	// Text parameter types are not safe from SQL injection for all types of
	// data source. Set this Boolean parameter to `true` if a query either does
	// not use any text type parameters or uses a data source type where text
	// type parameters are handled safely.
	IsSafe types.Bool `tfsdk:"is_safe"`

	LastModifiedBy types.List `tfsdk:"last_modified_by"`
	// The ID of the user who last saved changes to this query.
	LastModifiedById types.Int64 `tfsdk:"last_modified_by_id"`
	// If there is a cached result for this query and user, this field includes
	// the query result ID. If this query uses parameters, this field is always
	// null.
	LatestQueryDataId types.String `tfsdk:"latest_query_data_id"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`

	Options types.List `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// * `CAN_VIEW`: Can view the query * `CAN_RUN`: Can run the query *
	// `CAN_EDIT`: Can edit the query * `CAN_MANAGE`: Can manage the query
	PermissionTier types.String `tfsdk:"permission_tier"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`
	// A SHA-256 hash of the query text along with the authenticated user ID.
	QueryHash types.String `tfsdk:"query_hash"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
	// The timestamp at which this query was last updated.
	UpdatedAt types.String `tfsdk:"updated_at"`

	User types.List `tfsdk:"user"`
	// The ID of the user who owns the query.
	UserId types.Int64 `tfsdk:"user_id"`

	Visualizations types.List `tfsdk:"visualizations"`
}

func (LegacyQuery_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LegacyQuery_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LegacyQuery_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyQuery. 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 (*LegacyQuery_SdkV2) GetLastModifiedBy added in v1.62.1

func (m *LegacyQuery_SdkV2) GetLastModifiedBy(ctx context.Context) (User_SdkV2, bool)

GetLastModifiedBy returns the value of the LastModifiedBy field in LegacyQuery_SdkV2 as a User_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery_SdkV2) GetOptions added in v1.62.1

GetOptions returns the value of the Options field in LegacyQuery_SdkV2 as a QueryOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery_SdkV2) GetTags added in v1.62.1

func (m *LegacyQuery_SdkV2) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in LegacyQuery_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery_SdkV2) GetUser added in v1.62.1

func (m *LegacyQuery_SdkV2) GetUser(ctx context.Context) (User_SdkV2, bool)

GetUser returns the value of the User field in LegacyQuery_SdkV2 as a User_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery_SdkV2) GetVisualizations added in v1.62.1

func (m *LegacyQuery_SdkV2) GetVisualizations(ctx context.Context) ([]LegacyVisualization_SdkV2, bool)

GetVisualizations returns the value of the Visualizations field in LegacyQuery_SdkV2 as a slice of LegacyVisualization_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*LegacyQuery_SdkV2) SetLastModifiedBy added in v1.62.1

func (m *LegacyQuery_SdkV2) SetLastModifiedBy(ctx context.Context, v User_SdkV2)

SetLastModifiedBy sets the value of the LastModifiedBy field in LegacyQuery_SdkV2.

func (*LegacyQuery_SdkV2) SetOptions added in v1.62.1

func (m *LegacyQuery_SdkV2) SetOptions(ctx context.Context, v QueryOptions_SdkV2)

SetOptions sets the value of the Options field in LegacyQuery_SdkV2.

func (*LegacyQuery_SdkV2) SetTags added in v1.62.1

func (m *LegacyQuery_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in LegacyQuery_SdkV2.

func (*LegacyQuery_SdkV2) SetUser added in v1.62.1

func (m *LegacyQuery_SdkV2) SetUser(ctx context.Context, v User_SdkV2)

SetUser sets the value of the User field in LegacyQuery_SdkV2.

func (*LegacyQuery_SdkV2) SetVisualizations added in v1.62.1

func (m *LegacyQuery_SdkV2) SetVisualizations(ctx context.Context, v []LegacyVisualization_SdkV2)

SetVisualizations sets the value of the Visualizations field in LegacyQuery_SdkV2.

func (*LegacyQuery_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LegacyQuery_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LegacyQuery_SdkV2)

func (*LegacyQuery_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LegacyQuery_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LegacyQuery_SdkV2)

func (LegacyQuery_SdkV2) ToObjectValue added in v1.62.1

func (m LegacyQuery_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, LegacyQuery_SdkV2 only implements ToObjectValue() and Type().

func (LegacyQuery_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type LegacyVisualization

type LegacyVisualization struct {
	CreatedAt types.String `tfsdk:"created_at"`
	// A short description of this visualization. This is not displayed in the
	// UI.
	Description types.String `tfsdk:"description"`
	// The UUID for this visualization.
	Id types.String `tfsdk:"id"`
	// The name of the visualization that appears on dashboards and the query
	// screen.
	Name types.String `tfsdk:"name"`
	// The options object varies widely from one visualization type to the next
	// and is unsupported. Databricks does not recommend modifying visualization
	// settings in JSON.
	Options types.Object `tfsdk:"options"`

	Query types.Object `tfsdk:"query"`
	// The type of visualization: chart, table, pivot table, and so on.
	Type_ types.String `tfsdk:"type"`

	UpdatedAt types.String `tfsdk:"updated_at"`
}

The visualization description API changes frequently and is unsupported. You can duplicate a visualization by copying description objects received _from the API_ and then using them to create a new one with a POST request to the same endpoint. Databricks does not recommend constructing ad-hoc visualizations entirely in JSON.

func (LegacyVisualization) ApplySchemaCustomizations added in v1.63.0

func (m LegacyVisualization) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyVisualization) GetComplexFieldTypes added in v1.61.0

func (m LegacyVisualization) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyVisualization. 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 (*LegacyVisualization) GetQuery added in v1.61.0

func (m *LegacyVisualization) GetQuery(ctx context.Context) (LegacyQuery, bool)

GetQuery returns the value of the Query field in LegacyVisualization as a LegacyQuery value. If the field is unknown or null, the boolean return value is false.

func (*LegacyVisualization) SetQuery added in v1.61.0

func (m *LegacyVisualization) SetQuery(ctx context.Context, v LegacyQuery)

SetQuery sets the value of the Query field in LegacyVisualization.

func (*LegacyVisualization) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LegacyVisualization) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LegacyVisualization)

func (*LegacyVisualization) SyncFieldsDuringRead added in v1.86.0

func (to *LegacyVisualization) SyncFieldsDuringRead(ctx context.Context, from LegacyVisualization)

func (LegacyVisualization) 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, LegacyVisualization only implements ToObjectValue() and Type().

func (LegacyVisualization) Type

Type implements basetypes.ObjectValuable.

type LegacyVisualization_SdkV2 added in v1.62.1

type LegacyVisualization_SdkV2 struct {
	CreatedAt types.String `tfsdk:"created_at"`
	// A short description of this visualization. This is not displayed in the
	// UI.
	Description types.String `tfsdk:"description"`
	// The UUID for this visualization.
	Id types.String `tfsdk:"id"`
	// The name of the visualization that appears on dashboards and the query
	// screen.
	Name types.String `tfsdk:"name"`
	// The options object varies widely from one visualization type to the next
	// and is unsupported. Databricks does not recommend modifying visualization
	// settings in JSON.
	Options types.Object `tfsdk:"options"`

	Query types.List `tfsdk:"query"`
	// The type of visualization: chart, table, pivot table, and so on.
	Type_ types.String `tfsdk:"type"`

	UpdatedAt types.String `tfsdk:"updated_at"`
}

The visualization description API changes frequently and is unsupported. You can duplicate a visualization by copying description objects received _from the API_ and then using them to create a new one with a POST request to the same endpoint. Databricks does not recommend constructing ad-hoc visualizations entirely in JSON.

func (LegacyVisualization_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LegacyVisualization_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyVisualization_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LegacyVisualization_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyVisualization. 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 (*LegacyVisualization_SdkV2) GetQuery added in v1.62.1

GetQuery returns the value of the Query field in LegacyVisualization_SdkV2 as a LegacyQuery_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LegacyVisualization_SdkV2) SetQuery added in v1.62.1

SetQuery sets the value of the Query field in LegacyVisualization_SdkV2.

func (*LegacyVisualization_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LegacyVisualization_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LegacyVisualization_SdkV2)

func (*LegacyVisualization_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LegacyVisualization_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LegacyVisualization_SdkV2)

func (LegacyVisualization_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, LegacyVisualization_SdkV2 only implements ToObjectValue() and Type().

func (LegacyVisualization_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListAlertsRequest

type ListAlertsRequest struct {
	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListAlertsRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListAlertsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsRequest) GetComplexFieldTypes added in v1.61.0

func (m ListAlertsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsRequest. 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 (*ListAlertsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListAlertsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsRequest)

func (*ListAlertsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListAlertsRequest) SyncFieldsDuringRead(ctx context.Context, from ListAlertsRequest)

func (ListAlertsRequest) ToObjectValue added in v1.61.0

func (m ListAlertsRequest) 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, ListAlertsRequest only implements ToObjectValue() and Type().

func (ListAlertsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAlertsRequest_SdkV2 added in v1.62.1

type ListAlertsRequest_SdkV2 struct {
	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListAlertsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListAlertsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListAlertsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsRequest. 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 (*ListAlertsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListAlertsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsRequest_SdkV2)

func (*ListAlertsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListAlertsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAlertsRequest_SdkV2)

func (ListAlertsRequest_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, ListAlertsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListAlertsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListAlertsResponse

type ListAlertsResponse struct {
	NextPageToken types.String `tfsdk:"next_page_token"`

	Results types.List `tfsdk:"results"`
}

func (ListAlertsResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListAlertsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsResponse) GetComplexFieldTypes added in v1.61.0

func (m ListAlertsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponse. 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 (*ListAlertsResponse) GetResults added in v1.61.0

GetResults returns the value of the Results field in ListAlertsResponse as a slice of ListAlertsResponseAlert values. If the field is unknown or null, the boolean return value is false.

func (*ListAlertsResponse) SetResults added in v1.61.0

SetResults sets the value of the Results field in ListAlertsResponse.

func (*ListAlertsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAlertsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsResponse)

func (*ListAlertsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListAlertsResponse) SyncFieldsDuringRead(ctx context.Context, from ListAlertsResponse)

func (ListAlertsResponse) 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, ListAlertsResponse only implements ToObjectValue() and Type().

func (ListAlertsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAlertsResponseAlert

type ListAlertsResponseAlert struct {
	// Trigger conditions of the alert.
	Condition types.Object `tfsdk:"condition"`
	// The timestamp indicating when the alert was created.
	CreateTime types.String `tfsdk:"create_time"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"id"`
	// The workspace state of the alert. Used for tracking trashed status.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
	// Current state of the alert's trigger status. This field is set to UNKNOWN
	// if the alert has not yet been evaluated or ran into an error during the
	// last evaluation.
	State types.String `tfsdk:"state"`
	// Timestamp when the alert was last triggered, if the alert has been
	// triggered before.
	TriggerTime types.String `tfsdk:"trigger_time"`
	// The timestamp indicating when the alert was updated.
	UpdateTime types.String `tfsdk:"update_time"`
}

func (ListAlertsResponseAlert) ApplySchemaCustomizations added in v1.63.0

func (m ListAlertsResponseAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsResponseAlert) GetComplexFieldTypes added in v1.61.0

func (m ListAlertsResponseAlert) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponseAlert. 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 (*ListAlertsResponseAlert) GetCondition added in v1.61.0

func (m *ListAlertsResponseAlert) GetCondition(ctx context.Context) (AlertCondition, bool)

GetCondition returns the value of the Condition field in ListAlertsResponseAlert as a AlertCondition value. If the field is unknown or null, the boolean return value is false.

func (*ListAlertsResponseAlert) SetCondition added in v1.61.0

func (m *ListAlertsResponseAlert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in ListAlertsResponseAlert.

func (*ListAlertsResponseAlert) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAlertsResponseAlert) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsResponseAlert)

func (*ListAlertsResponseAlert) SyncFieldsDuringRead added in v1.86.0

func (to *ListAlertsResponseAlert) SyncFieldsDuringRead(ctx context.Context, from ListAlertsResponseAlert)

func (ListAlertsResponseAlert) 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, ListAlertsResponseAlert only implements ToObjectValue() and Type().

func (ListAlertsResponseAlert) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAlertsResponseAlert_SdkV2 added in v1.62.1

type ListAlertsResponseAlert_SdkV2 struct {
	// Trigger conditions of the alert.
	Condition types.List `tfsdk:"condition"`
	// The timestamp indicating when the alert was created.
	CreateTime types.String `tfsdk:"create_time"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"id"`
	// The workspace state of the alert. Used for tracking trashed status.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
	// Current state of the alert's trigger status. This field is set to UNKNOWN
	// if the alert has not yet been evaluated or ran into an error during the
	// last evaluation.
	State types.String `tfsdk:"state"`
	// Timestamp when the alert was last triggered, if the alert has been
	// triggered before.
	TriggerTime types.String `tfsdk:"trigger_time"`
	// The timestamp indicating when the alert was updated.
	UpdateTime types.String `tfsdk:"update_time"`
}

func (ListAlertsResponseAlert_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListAlertsResponseAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListAlertsResponseAlert_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponseAlert. 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 (*ListAlertsResponseAlert_SdkV2) GetCondition added in v1.62.1

GetCondition returns the value of the Condition field in ListAlertsResponseAlert_SdkV2 as a AlertCondition_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ListAlertsResponseAlert_SdkV2) SetCondition added in v1.62.1

SetCondition sets the value of the Condition field in ListAlertsResponseAlert_SdkV2.

func (*ListAlertsResponseAlert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAlertsResponseAlert_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsResponseAlert_SdkV2)

func (*ListAlertsResponseAlert_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListAlertsResponseAlert_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAlertsResponseAlert_SdkV2)

func (ListAlertsResponseAlert_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, ListAlertsResponseAlert_SdkV2 only implements ToObjectValue() and Type().

func (ListAlertsResponseAlert_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListAlertsResponse_SdkV2 added in v1.62.1

type ListAlertsResponse_SdkV2 struct {
	NextPageToken types.String `tfsdk:"next_page_token"`

	Results types.List `tfsdk:"results"`
}

func (ListAlertsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListAlertsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListAlertsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponse. 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 (*ListAlertsResponse_SdkV2) GetResults added in v1.62.1

GetResults returns the value of the Results field in ListAlertsResponse_SdkV2 as a slice of ListAlertsResponseAlert_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListAlertsResponse_SdkV2) SetResults added in v1.62.1

SetResults sets the value of the Results field in ListAlertsResponse_SdkV2.

func (*ListAlertsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAlertsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsResponse_SdkV2)

func (*ListAlertsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListAlertsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAlertsResponse_SdkV2)

func (ListAlertsResponse_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, ListAlertsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListAlertsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListAlertsV2Request added in v1.76.0

type ListAlertsV2Request struct {
	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListAlertsV2Request) ApplySchemaCustomizations added in v1.76.0

func (m ListAlertsV2Request) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsV2Request) GetComplexFieldTypes added in v1.76.0

func (m ListAlertsV2Request) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsV2Request. 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 (*ListAlertsV2Request) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListAlertsV2Request) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsV2Request)

func (*ListAlertsV2Request) SyncFieldsDuringRead added in v1.91.0

func (to *ListAlertsV2Request) SyncFieldsDuringRead(ctx context.Context, from ListAlertsV2Request)

func (ListAlertsV2Request) ToObjectValue added in v1.76.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, ListAlertsV2Request only implements ToObjectValue() and Type().

func (ListAlertsV2Request) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type ListAlertsV2Request_SdkV2 added in v1.76.0

type ListAlertsV2Request_SdkV2 struct {
	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListAlertsV2Request_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListAlertsV2Request_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsV2Request_SdkV2) GetComplexFieldTypes added in v1.76.0

func (m ListAlertsV2Request_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsV2Request. 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 (*ListAlertsV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListAlertsV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsV2Request_SdkV2)

func (*ListAlertsV2Request_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListAlertsV2Request_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAlertsV2Request_SdkV2)

func (ListAlertsV2Request_SdkV2) ToObjectValue added in v1.76.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, ListAlertsV2Request_SdkV2 only implements ToObjectValue() and Type().

func (ListAlertsV2Request_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type ListAlertsV2Response added in v1.76.0

type ListAlertsV2Response struct {
	Alerts types.List `tfsdk:"alerts"`

	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListAlertsV2Response) ApplySchemaCustomizations added in v1.76.0

func (m ListAlertsV2Response) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListAlertsV2Response) GetAlerts added in v1.91.0

func (m *ListAlertsV2Response) GetAlerts(ctx context.Context) ([]AlertV2, bool)

GetAlerts returns the value of the Alerts field in ListAlertsV2Response as a slice of AlertV2 values. If the field is unknown or null, the boolean return value is false.

func (ListAlertsV2Response) GetComplexFieldTypes added in v1.76.0

func (m ListAlertsV2Response) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsV2Response. 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 (*ListAlertsV2Response) SetAlerts added in v1.91.0

func (m *ListAlertsV2Response) SetAlerts(ctx context.Context, v []AlertV2)

SetAlerts sets the value of the Alerts field in ListAlertsV2Response.

func (*ListAlertsV2Response) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAlertsV2Response) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsV2Response)

func (*ListAlertsV2Response) SyncFieldsDuringRead added in v1.86.0

func (to *ListAlertsV2Response) SyncFieldsDuringRead(ctx context.Context, from ListAlertsV2Response)

func (ListAlertsV2Response) ToObjectValue added in v1.76.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, ListAlertsV2Response only implements ToObjectValue() and Type().

func (ListAlertsV2Response) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type ListAlertsV2Response_SdkV2 added in v1.76.0

type ListAlertsV2Response_SdkV2 struct {
	Alerts types.List `tfsdk:"alerts"`

	NextPageToken types.String `tfsdk:"next_page_token"`
}

func (ListAlertsV2Response_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListAlertsV2Response_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListAlertsV2Response_SdkV2) GetAlerts added in v1.91.0

GetAlerts returns the value of the Alerts field in ListAlertsV2Response_SdkV2 as a slice of AlertV2_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListAlertsV2Response_SdkV2) GetComplexFieldTypes added in v1.76.0

func (m ListAlertsV2Response_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsV2Response. 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 (*ListAlertsV2Response_SdkV2) SetAlerts added in v1.91.0

SetAlerts sets the value of the Alerts field in ListAlertsV2Response_SdkV2.

func (*ListAlertsV2Response_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAlertsV2Response_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAlertsV2Response_SdkV2)

func (*ListAlertsV2Response_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListAlertsV2Response_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListAlertsV2Response_SdkV2)

func (ListAlertsV2Response_SdkV2) ToObjectValue added in v1.76.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, ListAlertsV2Response_SdkV2 only implements ToObjectValue() and Type().

func (ListAlertsV2Response_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type ListDashboardsRequest

type ListDashboardsRequest struct {
	// Name of dashboard attribute to order by.
	Order types.String `tfsdk:"-"`
	// Page number to retrieve.
	Page types.Int64 `tfsdk:"-"`
	// Number of dashboards to return per page.
	PageSize types.Int64 `tfsdk:"-"`
	// Full text search term.
	Q types.String `tfsdk:"-"`
}

func (ListDashboardsRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListDashboardsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListDashboardsRequest) GetComplexFieldTypes added in v1.61.0

func (m ListDashboardsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsRequest. 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 (*ListDashboardsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListDashboardsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListDashboardsRequest)

func (*ListDashboardsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListDashboardsRequest) SyncFieldsDuringRead(ctx context.Context, from ListDashboardsRequest)

func (ListDashboardsRequest) 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, ListDashboardsRequest only implements ToObjectValue() and Type().

func (ListDashboardsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListDashboardsRequest_SdkV2 added in v1.62.1

type ListDashboardsRequest_SdkV2 struct {
	// Name of dashboard attribute to order by.
	Order types.String `tfsdk:"-"`
	// Page number to retrieve.
	Page types.Int64 `tfsdk:"-"`
	// Number of dashboards to return per page.
	PageSize types.Int64 `tfsdk:"-"`
	// Full text search term.
	Q types.String `tfsdk:"-"`
}

func (ListDashboardsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListDashboardsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListDashboardsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListDashboardsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsRequest. 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 (*ListDashboardsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListDashboardsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListDashboardsRequest_SdkV2)

func (*ListDashboardsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListDashboardsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListDashboardsRequest_SdkV2)

func (ListDashboardsRequest_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, ListDashboardsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListDashboardsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListQueriesLegacyRequest

type ListQueriesLegacyRequest struct {
	// Name of query attribute to order by. Default sort order is ascending.
	// Append a dash (`-`) to order descending instead.
	//
	// - `name`: The name of the query.
	//
	// - `created_at`: The timestamp the query was created.
	//
	// - `runtime`: The time it took to run this query. This is blank for
	// parameterized queries. A blank value is treated as the highest value for
	// sorting.
	//
	// - `executed_at`: The timestamp when the query was last run.
	//
	// - `created_by`: The user name of the user that created the query.
	Order types.String `tfsdk:"-"`
	// Page number to retrieve.
	Page types.Int64 `tfsdk:"-"`
	// Number of queries to return per page.
	PageSize types.Int64 `tfsdk:"-"`
	// Full text search term
	Q types.String `tfsdk:"-"`
}

func (ListQueriesLegacyRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListQueriesLegacyRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (m ListQueriesLegacyRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesLegacyRequest. 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 (*ListQueriesLegacyRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListQueriesLegacyRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueriesLegacyRequest)

func (*ListQueriesLegacyRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListQueriesLegacyRequest) SyncFieldsDuringRead(ctx context.Context, from ListQueriesLegacyRequest)

func (ListQueriesLegacyRequest) 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, ListQueriesLegacyRequest only implements ToObjectValue() and Type().

func (ListQueriesLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListQueriesLegacyRequest_SdkV2 added in v1.62.1

type ListQueriesLegacyRequest_SdkV2 struct {
	// Name of query attribute to order by. Default sort order is ascending.
	// Append a dash (`-`) to order descending instead.
	//
	// - `name`: The name of the query.
	//
	// - `created_at`: The timestamp the query was created.
	//
	// - `runtime`: The time it took to run this query. This is blank for
	// parameterized queries. A blank value is treated as the highest value for
	// sorting.
	//
	// - `executed_at`: The timestamp when the query was last run.
	//
	// - `created_by`: The user name of the user that created the query.
	Order types.String `tfsdk:"-"`
	// Page number to retrieve.
	Page types.Int64 `tfsdk:"-"`
	// Number of queries to return per page.
	PageSize types.Int64 `tfsdk:"-"`
	// Full text search term
	Q types.String `tfsdk:"-"`
}

func (ListQueriesLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (ListQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListQueriesLegacyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesLegacyRequest. 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 (*ListQueriesLegacyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListQueriesLegacyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueriesLegacyRequest_SdkV2)

func (*ListQueriesLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListQueriesLegacyRequest_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, ListQueriesLegacyRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListQueriesLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListQueriesRequest

type ListQueriesRequest struct {
	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListQueriesRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListQueriesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesRequest) GetComplexFieldTypes added in v1.61.0

func (m ListQueriesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesRequest. 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 (*ListQueriesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListQueriesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueriesRequest)

func (*ListQueriesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListQueriesRequest) SyncFieldsDuringRead(ctx context.Context, from ListQueriesRequest)

func (ListQueriesRequest) 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, ListQueriesRequest only implements ToObjectValue() and Type().

func (ListQueriesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListQueriesRequest_SdkV2 added in v1.62.1

type ListQueriesRequest_SdkV2 struct {
	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListQueriesRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListQueriesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListQueriesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesRequest. 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 (*ListQueriesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListQueriesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueriesRequest_SdkV2)

func (*ListQueriesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListQueriesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListQueriesRequest_SdkV2)

func (ListQueriesRequest_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, ListQueriesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListQueriesRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListQueriesResponse

type ListQueriesResponse struct {
	// Whether there is another page of results.
	HasNextPage types.Bool `tfsdk:"has_next_page"`
	// A token that can be used to get the next page of results.
	NextPageToken types.String `tfsdk:"next_page_token"`

	Res types.List `tfsdk:"res"`
}

func (ListQueriesResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListQueriesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListQueriesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesResponse. 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 (*ListQueriesResponse) GetRes added in v1.61.0

func (m *ListQueriesResponse) GetRes(ctx context.Context) ([]QueryInfo, bool)

GetRes returns the value of the Res field in ListQueriesResponse as a slice of QueryInfo values. If the field is unknown or null, the boolean return value is false.

func (*ListQueriesResponse) SetRes added in v1.61.0

func (m *ListQueriesResponse) SetRes(ctx context.Context, v []QueryInfo)

SetRes sets the value of the Res field in ListQueriesResponse.

func (*ListQueriesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListQueriesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueriesResponse)

func (*ListQueriesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListQueriesResponse) SyncFieldsDuringRead(ctx context.Context, from ListQueriesResponse)

func (ListQueriesResponse) 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, ListQueriesResponse only implements ToObjectValue() and Type().

func (ListQueriesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListQueriesResponse_SdkV2 added in v1.62.1

type ListQueriesResponse_SdkV2 struct {
	// Whether there is another page of results.
	HasNextPage types.Bool `tfsdk:"has_next_page"`
	// A token that can be used to get the next page of results.
	NextPageToken types.String `tfsdk:"next_page_token"`

	Res types.List `tfsdk:"res"`
}

func (ListQueriesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListQueriesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListQueriesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesResponse. 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 (*ListQueriesResponse_SdkV2) GetRes added in v1.62.1

GetRes returns the value of the Res field in ListQueriesResponse_SdkV2 as a slice of QueryInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListQueriesResponse_SdkV2) SetRes added in v1.62.1

SetRes sets the value of the Res field in ListQueriesResponse_SdkV2.

func (*ListQueriesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListQueriesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueriesResponse_SdkV2)

func (*ListQueriesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListQueriesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListQueriesResponse_SdkV2)

func (ListQueriesResponse_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, ListQueriesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListQueriesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListQueryHistoryRequest

type ListQueryHistoryRequest struct {
	// An optional filter object to limit query history results. Accepts
	// parameters such as user IDs, endpoint IDs, and statuses to narrow the
	// returned data. In a URL, the parameters of this filter are specified with
	// dot notation. For example: `filter_by.statement_ids`.
	FilterBy types.Object `tfsdk:"-"`
	// Whether to include the query metrics with each query. Only use this for a
	// small subset of queries (max_results). Defaults to false.
	IncludeMetrics types.Bool `tfsdk:"-"`
	// Limit the number of results returned in one page. Must be less than 1000
	// and the default is 100.
	MaxResults types.Int64 `tfsdk:"-"`
	// A token that can be used to get the next page of results. The token can
	// contains characters that need to be encoded before using it in a URL. For
	// example, the character '+' needs to be replaced by %2B. This field is
	// optional.
	PageToken types.String `tfsdk:"-"`
}

func (ListQueryHistoryRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListQueryHistoryRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueryHistoryRequest) GetComplexFieldTypes added in v1.61.0

func (m ListQueryHistoryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryHistoryRequest. 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 (*ListQueryHistoryRequest) GetFilterBy added in v1.61.0

func (m *ListQueryHistoryRequest) GetFilterBy(ctx context.Context) (QueryFilter, bool)

GetFilterBy returns the value of the FilterBy field in ListQueryHistoryRequest as a QueryFilter value. If the field is unknown or null, the boolean return value is false.

func (*ListQueryHistoryRequest) SetFilterBy added in v1.61.0

func (m *ListQueryHistoryRequest) SetFilterBy(ctx context.Context, v QueryFilter)

SetFilterBy sets the value of the FilterBy field in ListQueryHistoryRequest.

func (*ListQueryHistoryRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListQueryHistoryRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueryHistoryRequest)

func (*ListQueryHistoryRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListQueryHistoryRequest) SyncFieldsDuringRead(ctx context.Context, from ListQueryHistoryRequest)

func (ListQueryHistoryRequest) 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, ListQueryHistoryRequest only implements ToObjectValue() and Type().

func (ListQueryHistoryRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListQueryHistoryRequest_SdkV2 added in v1.62.1

type ListQueryHistoryRequest_SdkV2 struct {
	// An optional filter object to limit query history results. Accepts
	// parameters such as user IDs, endpoint IDs, and statuses to narrow the
	// returned data. In a URL, the parameters of this filter are specified with
	// dot notation. For example: `filter_by.statement_ids`.
	FilterBy types.List `tfsdk:"-"`
	// Whether to include the query metrics with each query. Only use this for a
	// small subset of queries (max_results). Defaults to false.
	IncludeMetrics types.Bool `tfsdk:"-"`
	// Limit the number of results returned in one page. Must be less than 1000
	// and the default is 100.
	MaxResults types.Int64 `tfsdk:"-"`
	// A token that can be used to get the next page of results. The token can
	// contains characters that need to be encoded before using it in a URL. For
	// example, the character '+' needs to be replaced by %2B. This field is
	// optional.
	PageToken types.String `tfsdk:"-"`
}

func (ListQueryHistoryRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (ListQueryHistoryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListQueryHistoryRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryHistoryRequest. 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 (*ListQueryHistoryRequest_SdkV2) GetFilterBy added in v1.62.1

GetFilterBy returns the value of the FilterBy field in ListQueryHistoryRequest_SdkV2 as a QueryFilter_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ListQueryHistoryRequest_SdkV2) SetFilterBy added in v1.62.1

SetFilterBy sets the value of the FilterBy field in ListQueryHistoryRequest_SdkV2.

func (*ListQueryHistoryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListQueryHistoryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueryHistoryRequest_SdkV2)

func (*ListQueryHistoryRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListQueryHistoryRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListQueryHistoryRequest_SdkV2)

func (ListQueryHistoryRequest_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, ListQueryHistoryRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListQueryHistoryRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListQueryObjectsResponse

type ListQueryObjectsResponse struct {
	NextPageToken types.String `tfsdk:"next_page_token"`

	Results types.List `tfsdk:"results"`
}

func (ListQueryObjectsResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListQueryObjectsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueryObjectsResponse) GetComplexFieldTypes added in v1.61.0

func (m ListQueryObjectsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponse. 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 (*ListQueryObjectsResponse) GetResults added in v1.61.0

GetResults returns the value of the Results field in ListQueryObjectsResponse as a slice of ListQueryObjectsResponseQuery values. If the field is unknown or null, the boolean return value is false.

func (*ListQueryObjectsResponse) SetResults added in v1.61.0

SetResults sets the value of the Results field in ListQueryObjectsResponse.

func (*ListQueryObjectsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListQueryObjectsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueryObjectsResponse)

func (*ListQueryObjectsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListQueryObjectsResponse) SyncFieldsDuringRead(ctx context.Context, from ListQueryObjectsResponse)

func (ListQueryObjectsResponse) 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, ListQueryObjectsResponse only implements ToObjectValue() and Type().

func (ListQueryObjectsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListQueryObjectsResponseQuery

type ListQueryObjectsResponseQuery struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// Timestamp when this query was created.
	CreateTime types.String `tfsdk:"create_time"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the query.
	Id types.String `tfsdk:"id"`
	// Username of the user who last saved changes to this query.
	LastModifierUserName types.String `tfsdk:"last_modifier_user_name"`
	// Indicates whether the query is trashed.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Username of the user that owns the query.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// Timestamp when this query was last updated.
	UpdateTime types.String `tfsdk:"update_time"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (ListQueryObjectsResponseQuery) ApplySchemaCustomizations added in v1.63.0

func (ListQueryObjectsResponseQuery) GetComplexFieldTypes added in v1.61.0

func (m ListQueryObjectsResponseQuery) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponseQuery. 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 (*ListQueryObjectsResponseQuery) GetParameters added in v1.61.0

GetParameters returns the value of the Parameters field in ListQueryObjectsResponseQuery as a slice of QueryParameter values. If the field is unknown or null, the boolean return value is false.

func (*ListQueryObjectsResponseQuery) GetTags added in v1.61.0

GetTags returns the value of the Tags field in ListQueryObjectsResponseQuery as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ListQueryObjectsResponseQuery) SetParameters added in v1.61.0

func (m *ListQueryObjectsResponseQuery) SetParameters(ctx context.Context, v []QueryParameter)

SetParameters sets the value of the Parameters field in ListQueryObjectsResponseQuery.

func (*ListQueryObjectsResponseQuery) SetTags added in v1.61.0

SetTags sets the value of the Tags field in ListQueryObjectsResponseQuery.

func (*ListQueryObjectsResponseQuery) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListQueryObjectsResponseQuery) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueryObjectsResponseQuery)

func (*ListQueryObjectsResponseQuery) SyncFieldsDuringRead added in v1.86.0

func (to *ListQueryObjectsResponseQuery) SyncFieldsDuringRead(ctx context.Context, from ListQueryObjectsResponseQuery)

func (ListQueryObjectsResponseQuery) 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, ListQueryObjectsResponseQuery only implements ToObjectValue() and Type().

func (ListQueryObjectsResponseQuery) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListQueryObjectsResponseQuery_SdkV2 added in v1.62.1

type ListQueryObjectsResponseQuery_SdkV2 struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// Timestamp when this query was created.
	CreateTime types.String `tfsdk:"create_time"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the query.
	Id types.String `tfsdk:"id"`
	// Username of the user who last saved changes to this query.
	LastModifierUserName types.String `tfsdk:"last_modifier_user_name"`
	// Indicates whether the query is trashed.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Username of the user that owns the query.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// Timestamp when this query was last updated.
	UpdateTime types.String `tfsdk:"update_time"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (ListQueryObjectsResponseQuery_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListQueryObjectsResponseQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListQueryObjectsResponseQuery_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponseQuery. 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 (*ListQueryObjectsResponseQuery_SdkV2) GetParameters added in v1.62.1

GetParameters returns the value of the Parameters field in ListQueryObjectsResponseQuery_SdkV2 as a slice of QueryParameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListQueryObjectsResponseQuery_SdkV2) GetTags added in v1.62.1

GetTags returns the value of the Tags field in ListQueryObjectsResponseQuery_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ListQueryObjectsResponseQuery_SdkV2) SetParameters added in v1.62.1

SetParameters sets the value of the Parameters field in ListQueryObjectsResponseQuery_SdkV2.

func (*ListQueryObjectsResponseQuery_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in ListQueryObjectsResponseQuery_SdkV2.

func (*ListQueryObjectsResponseQuery_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListQueryObjectsResponseQuery_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueryObjectsResponseQuery_SdkV2)

func (*ListQueryObjectsResponseQuery_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListQueryObjectsResponseQuery_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, ListQueryObjectsResponseQuery_SdkV2 only implements ToObjectValue() and Type().

func (ListQueryObjectsResponseQuery_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListQueryObjectsResponse_SdkV2 added in v1.62.1

type ListQueryObjectsResponse_SdkV2 struct {
	NextPageToken types.String `tfsdk:"next_page_token"`

	Results types.List `tfsdk:"results"`
}

func (ListQueryObjectsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListQueryObjectsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListQueryObjectsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponse. 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 (*ListQueryObjectsResponse_SdkV2) GetResults added in v1.62.1

GetResults returns the value of the Results field in ListQueryObjectsResponse_SdkV2 as a slice of ListQueryObjectsResponseQuery_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListQueryObjectsResponse_SdkV2) SetResults added in v1.62.1

SetResults sets the value of the Results field in ListQueryObjectsResponse_SdkV2.

func (*ListQueryObjectsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListQueryObjectsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListQueryObjectsResponse_SdkV2)

func (*ListQueryObjectsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListQueryObjectsResponse_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, ListQueryObjectsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListQueryObjectsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListRequest added in v1.85.0

type ListRequest struct {
}

func (ListRequest) ApplySchemaCustomizations added in v1.91.0

func (m ListRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListRequest) GetComplexFieldTypes added in v1.85.0

func (m ListRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRequest. 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 (*ListRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRequest)

func (*ListRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListRequest) SyncFieldsDuringRead(ctx context.Context, from ListRequest)

func (ListRequest) ToObjectValue added in v1.85.0

func (m ListRequest) 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, ListRequest only implements ToObjectValue() and Type().

func (ListRequest) Type added in v1.85.0

func (m ListRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ListRequest_SdkV2 added in v1.85.0

type ListRequest_SdkV2 struct {
}

func (ListRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (m ListRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRequest. 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 (*ListRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListRequest_SdkV2)

func (*ListRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListRequest_SdkV2)

func (ListRequest_SdkV2) ToObjectValue added in v1.85.0

func (m ListRequest_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, ListRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListResponse

type ListResponse struct {
	// The total number of dashboards.
	Count types.Int64 `tfsdk:"count"`
	// The current page being displayed.
	Page types.Int64 `tfsdk:"page"`
	// The number of dashboards per page.
	PageSize types.Int64 `tfsdk:"page_size"`
	// List of dashboards returned.
	Results types.List `tfsdk:"results"`
}

func (ListResponse) ApplySchemaCustomizations added in v1.76.0

func (m ListResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListResponse) GetComplexFieldTypes added in v1.61.0

func (m ListResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListResponse. 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 (*ListResponse) GetResults added in v1.61.0

func (m *ListResponse) GetResults(ctx context.Context) ([]Dashboard, bool)

GetResults returns the value of the Results field in ListResponse as a slice of Dashboard values. If the field is unknown or null, the boolean return value is false.

func (*ListResponse) SetResults added in v1.61.0

func (m *ListResponse) SetResults(ctx context.Context, v []Dashboard)

SetResults sets the value of the Results field in ListResponse.

func (*ListResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListResponse)

func (*ListResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListResponse) SyncFieldsDuringRead(ctx context.Context, from ListResponse)

func (ListResponse) ToObjectValue added in v1.61.0

func (m ListResponse) 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, ListResponse only implements ToObjectValue() and Type().

func (ListResponse) Type added in v1.61.0

func (m ListResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ListResponse_SdkV2 added in v1.62.1

type ListResponse_SdkV2 struct {
	// The total number of dashboards.
	Count types.Int64 `tfsdk:"count"`
	// The current page being displayed.
	Page types.Int64 `tfsdk:"page"`
	// The number of dashboards per page.
	PageSize types.Int64 `tfsdk:"page_size"`
	// List of dashboards returned.
	Results types.List `tfsdk:"results"`
}

func (ListResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListResponse. 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 (*ListResponse_SdkV2) GetResults added in v1.62.1

func (m *ListResponse_SdkV2) GetResults(ctx context.Context) ([]Dashboard_SdkV2, bool)

GetResults returns the value of the Results field in ListResponse_SdkV2 as a slice of Dashboard_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListResponse_SdkV2) SetResults added in v1.62.1

func (m *ListResponse_SdkV2) SetResults(ctx context.Context, v []Dashboard_SdkV2)

SetResults sets the value of the Results field in ListResponse_SdkV2.

func (*ListResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListResponse_SdkV2)

func (*ListResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListResponse_SdkV2)

func (ListResponse_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, ListResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListVisualizationsForQueryRequest

type ListVisualizationsForQueryRequest struct {
	Id types.String `tfsdk:"-"`

	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListVisualizationsForQueryRequest) ApplySchemaCustomizations added in v1.76.0

func (ListVisualizationsForQueryRequest) GetComplexFieldTypes added in v1.61.0

func (m ListVisualizationsForQueryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryRequest. 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 (*ListVisualizationsForQueryRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListVisualizationsForQueryRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListVisualizationsForQueryRequest)

func (*ListVisualizationsForQueryRequest) SyncFieldsDuringRead added in v1.91.0

func (ListVisualizationsForQueryRequest) 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, ListVisualizationsForQueryRequest only implements ToObjectValue() and Type().

func (ListVisualizationsForQueryRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListVisualizationsForQueryRequest_SdkV2 added in v1.62.1

type ListVisualizationsForQueryRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`

	PageSize types.Int64 `tfsdk:"-"`

	PageToken types.String `tfsdk:"-"`
}

func (ListVisualizationsForQueryRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (ListVisualizationsForQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryRequest. 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 (*ListVisualizationsForQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*ListVisualizationsForQueryRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListVisualizationsForQueryRequest_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, ListVisualizationsForQueryRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListVisualizationsForQueryRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListVisualizationsForQueryResponse

type ListVisualizationsForQueryResponse struct {
	NextPageToken types.String `tfsdk:"next_page_token"`

	Results types.List `tfsdk:"results"`
}

func (ListVisualizationsForQueryResponse) ApplySchemaCustomizations added in v1.63.0

func (ListVisualizationsForQueryResponse) GetComplexFieldTypes added in v1.61.0

func (m ListVisualizationsForQueryResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryResponse. 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 (*ListVisualizationsForQueryResponse) GetResults added in v1.61.0

GetResults returns the value of the Results field in ListVisualizationsForQueryResponse as a slice of Visualization values. If the field is unknown or null, the boolean return value is false.

func (*ListVisualizationsForQueryResponse) SetResults added in v1.61.0

SetResults sets the value of the Results field in ListVisualizationsForQueryResponse.

func (*ListVisualizationsForQueryResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListVisualizationsForQueryResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListVisualizationsForQueryResponse)

func (*ListVisualizationsForQueryResponse) SyncFieldsDuringRead added in v1.86.0

func (ListVisualizationsForQueryResponse) 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, ListVisualizationsForQueryResponse only implements ToObjectValue() and Type().

func (ListVisualizationsForQueryResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListVisualizationsForQueryResponse_SdkV2 added in v1.62.1

type ListVisualizationsForQueryResponse_SdkV2 struct {
	NextPageToken types.String `tfsdk:"next_page_token"`

	Results types.List `tfsdk:"results"`
}

func (ListVisualizationsForQueryResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListVisualizationsForQueryResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryResponse. 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 (*ListVisualizationsForQueryResponse_SdkV2) GetResults added in v1.62.1

GetResults returns the value of the Results field in ListVisualizationsForQueryResponse_SdkV2 as a slice of Visualization_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListVisualizationsForQueryResponse_SdkV2) SetResults added in v1.62.1

SetResults sets the value of the Results field in ListVisualizationsForQueryResponse_SdkV2.

func (*ListVisualizationsForQueryResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ListVisualizationsForQueryResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListVisualizationsForQueryResponse_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, ListVisualizationsForQueryResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListVisualizationsForQueryResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListWarehousesRequest

type ListWarehousesRequest struct {
	// The max number of warehouses to return.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token, received from a previous `ListWarehouses` call. Provide
	// this to retrieve the subsequent page; otherwise the first will be
	// retrieved.
	//
	// When paginating, all other parameters provided to `ListWarehouses` must
	// match the call that provided the page token.
	PageToken types.String `tfsdk:"-"`
	// Service Principal which will be used to fetch the list of endpoints. If
	// not specified, SQL Gateway will use the user from the session header.
	RunAsUserId types.Int64 `tfsdk:"-"`
}

func (ListWarehousesRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListWarehousesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListWarehousesRequest) GetComplexFieldTypes added in v1.61.0

func (m ListWarehousesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesRequest. 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 (*ListWarehousesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListWarehousesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListWarehousesRequest)

func (*ListWarehousesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListWarehousesRequest) SyncFieldsDuringRead(ctx context.Context, from ListWarehousesRequest)

func (ListWarehousesRequest) 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, ListWarehousesRequest only implements ToObjectValue() and Type().

func (ListWarehousesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListWarehousesRequest_SdkV2 added in v1.62.1

type ListWarehousesRequest_SdkV2 struct {
	// The max number of warehouses to return.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token, received from a previous `ListWarehouses` call. Provide
	// this to retrieve the subsequent page; otherwise the first will be
	// retrieved.
	//
	// When paginating, all other parameters provided to `ListWarehouses` must
	// match the call that provided the page token.
	PageToken types.String `tfsdk:"-"`
	// Service Principal which will be used to fetch the list of endpoints. If
	// not specified, SQL Gateway will use the user from the session header.
	RunAsUserId types.Int64 `tfsdk:"-"`
}

func (ListWarehousesRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListWarehousesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListWarehousesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListWarehousesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesRequest. 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 (*ListWarehousesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListWarehousesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListWarehousesRequest_SdkV2)

func (*ListWarehousesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListWarehousesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListWarehousesRequest_SdkV2)

func (ListWarehousesRequest_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, ListWarehousesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListWarehousesRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListWarehousesResponse

type ListWarehousesResponse struct {
	// A token, which can be sent as `page_token` to retrieve the next page. If
	// this field is omitted, there are no subsequent pages.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// A list of warehouses and their configurations.
	Warehouses types.List `tfsdk:"warehouses"`
}

func (ListWarehousesResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListWarehousesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListWarehousesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListWarehousesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesResponse. 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 (*ListWarehousesResponse) GetWarehouses added in v1.61.0

func (m *ListWarehousesResponse) GetWarehouses(ctx context.Context) ([]EndpointInfo, bool)

GetWarehouses returns the value of the Warehouses field in ListWarehousesResponse as a slice of EndpointInfo values. If the field is unknown or null, the boolean return value is false.

func (*ListWarehousesResponse) SetWarehouses added in v1.61.0

func (m *ListWarehousesResponse) SetWarehouses(ctx context.Context, v []EndpointInfo)

SetWarehouses sets the value of the Warehouses field in ListWarehousesResponse.

func (*ListWarehousesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListWarehousesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListWarehousesResponse)

func (*ListWarehousesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListWarehousesResponse) SyncFieldsDuringRead(ctx context.Context, from ListWarehousesResponse)

func (ListWarehousesResponse) 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, ListWarehousesResponse only implements ToObjectValue() and Type().

func (ListWarehousesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListWarehousesResponse_SdkV2 added in v1.62.1

type ListWarehousesResponse_SdkV2 struct {
	// A token, which can be sent as `page_token` to retrieve the next page. If
	// this field is omitted, there are no subsequent pages.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// A list of warehouses and their configurations.
	Warehouses types.List `tfsdk:"warehouses"`
}

func (ListWarehousesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListWarehousesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListWarehousesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesResponse. 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 (*ListWarehousesResponse_SdkV2) GetWarehouses added in v1.62.1

GetWarehouses returns the value of the Warehouses field in ListWarehousesResponse_SdkV2 as a slice of EndpointInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListWarehousesResponse_SdkV2) SetWarehouses added in v1.62.1

SetWarehouses sets the value of the Warehouses field in ListWarehousesResponse_SdkV2.

func (*ListWarehousesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListWarehousesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListWarehousesResponse_SdkV2)

func (*ListWarehousesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListWarehousesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListWarehousesResponse_SdkV2)

func (ListWarehousesResponse_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, ListWarehousesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListWarehousesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type MultiValuesOptions

type MultiValuesOptions struct {
	// Character that prefixes each selected parameter value.
	Prefix types.String `tfsdk:"prefix"`
	// Character that separates each selected parameter value. Defaults to a
	// comma.
	Separator types.String `tfsdk:"separator"`
	// Character that suffixes each selected parameter value.
	Suffix types.String `tfsdk:"suffix"`
}

func (MultiValuesOptions) ApplySchemaCustomizations added in v1.63.0

func (m MultiValuesOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MultiValuesOptions) GetComplexFieldTypes added in v1.61.0

func (m MultiValuesOptions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MultiValuesOptions. 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 (*MultiValuesOptions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *MultiValuesOptions) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MultiValuesOptions)

func (*MultiValuesOptions) SyncFieldsDuringRead added in v1.86.0

func (to *MultiValuesOptions) SyncFieldsDuringRead(ctx context.Context, from MultiValuesOptions)

func (MultiValuesOptions) 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, MultiValuesOptions only implements ToObjectValue() and Type().

func (MultiValuesOptions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type MultiValuesOptions_SdkV2 added in v1.62.1

type MultiValuesOptions_SdkV2 struct {
	// Character that prefixes each selected parameter value.
	Prefix types.String `tfsdk:"prefix"`
	// Character that separates each selected parameter value. Defaults to a
	// comma.
	Separator types.String `tfsdk:"separator"`
	// Character that suffixes each selected parameter value.
	Suffix types.String `tfsdk:"suffix"`
}

func (MultiValuesOptions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m MultiValuesOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MultiValuesOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m MultiValuesOptions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MultiValuesOptions. 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 (*MultiValuesOptions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *MultiValuesOptions_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MultiValuesOptions_SdkV2)

func (*MultiValuesOptions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *MultiValuesOptions_SdkV2) SyncFieldsDuringRead(ctx context.Context, from MultiValuesOptions_SdkV2)

func (MultiValuesOptions_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, MultiValuesOptions_SdkV2 only implements ToObjectValue() and Type().

func (MultiValuesOptions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type NumericValue

type NumericValue struct {
	Value types.Float64 `tfsdk:"value"`
}

func (NumericValue) ApplySchemaCustomizations added in v1.63.0

func (m NumericValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NumericValue) GetComplexFieldTypes added in v1.61.0

func (m NumericValue) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NumericValue. 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 (*NumericValue) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *NumericValue) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NumericValue)

func (*NumericValue) SyncFieldsDuringRead added in v1.86.0

func (to *NumericValue) SyncFieldsDuringRead(ctx context.Context, from NumericValue)

func (NumericValue) ToObjectValue added in v1.61.0

func (m NumericValue) 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, NumericValue only implements ToObjectValue() and Type().

func (NumericValue) Type added in v1.61.0

func (m NumericValue) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type NumericValue_SdkV2 added in v1.62.1

type NumericValue_SdkV2 struct {
	Value types.Float64 `tfsdk:"value"`
}

func (NumericValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m NumericValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NumericValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m NumericValue_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NumericValue. 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 (*NumericValue_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *NumericValue_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NumericValue_SdkV2)

func (*NumericValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *NumericValue_SdkV2) SyncFieldsDuringRead(ctx context.Context, from NumericValue_SdkV2)

func (NumericValue_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, NumericValue_SdkV2 only implements ToObjectValue() and Type().

func (NumericValue_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type OdbcParams

type OdbcParams struct {
	Hostname types.String `tfsdk:"hostname"`

	Path types.String `tfsdk:"path"`

	Port types.Int64 `tfsdk:"port"`

	Protocol types.String `tfsdk:"protocol"`
}

func (OdbcParams) ApplySchemaCustomizations added in v1.63.0

func (m OdbcParams) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (OdbcParams) GetComplexFieldTypes added in v1.61.0

func (m OdbcParams) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in OdbcParams. 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 (*OdbcParams) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *OdbcParams) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from OdbcParams)

func (*OdbcParams) SyncFieldsDuringRead added in v1.86.0

func (to *OdbcParams) SyncFieldsDuringRead(ctx context.Context, from OdbcParams)

func (OdbcParams) ToObjectValue added in v1.61.0

func (m OdbcParams) 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, OdbcParams only implements ToObjectValue() and Type().

func (OdbcParams) Type added in v1.61.0

func (m OdbcParams) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type OdbcParams_SdkV2 added in v1.62.1

type OdbcParams_SdkV2 struct {
	Hostname types.String `tfsdk:"hostname"`

	Path types.String `tfsdk:"path"`

	Port types.Int64 `tfsdk:"port"`

	Protocol types.String `tfsdk:"protocol"`
}

func (OdbcParams_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m OdbcParams_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (OdbcParams_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m OdbcParams_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in OdbcParams. 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 (*OdbcParams_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *OdbcParams_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from OdbcParams_SdkV2)

func (*OdbcParams_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *OdbcParams_SdkV2) SyncFieldsDuringRead(ctx context.Context, from OdbcParams_SdkV2)

func (OdbcParams_SdkV2) ToObjectValue added in v1.62.1

func (m OdbcParams_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, OdbcParams_SdkV2 only implements ToObjectValue() and Type().

func (OdbcParams_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Parameter

type Parameter struct {
	// List of valid parameter values, newline delimited. Only applies for
	// dropdown list parameters.
	EnumOptions types.String `tfsdk:"enum_options"`
	// If specified, allows multiple values to be selected for this parameter.
	// Only applies to dropdown list and query-based dropdown list parameters.
	MultiValuesOptions types.Object `tfsdk:"multi_values_options"`
	// The literal parameter marker that appears between double curly braces in
	// the query text.
	Name types.String `tfsdk:"name"`
	// The UUID of the query that provides the parameter values. Only applies
	// for query-based dropdown list parameters.
	QueryId types.String `tfsdk:"query_id"`
	// The text displayed in a parameter picking widget.
	Title types.String `tfsdk:"title"`
	// Parameters can have several different types.
	Type_ types.String `tfsdk:"type"`
	// The default value for this parameter.
	Value types.Object `tfsdk:"value"`
}

func (Parameter) ApplySchemaCustomizations added in v1.63.0

func (m Parameter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Parameter) GetComplexFieldTypes added in v1.61.0

func (m Parameter) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Parameter. 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 (*Parameter) GetMultiValuesOptions added in v1.61.0

func (m *Parameter) GetMultiValuesOptions(ctx context.Context) (MultiValuesOptions, bool)

GetMultiValuesOptions returns the value of the MultiValuesOptions field in Parameter as a MultiValuesOptions value. If the field is unknown or null, the boolean return value is false.

func (*Parameter) SetMultiValuesOptions added in v1.61.0

func (m *Parameter) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in Parameter.

func (*Parameter) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Parameter) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Parameter)

func (*Parameter) SyncFieldsDuringRead added in v1.86.0

func (to *Parameter) SyncFieldsDuringRead(ctx context.Context, from Parameter)

func (Parameter) ToObjectValue added in v1.61.0

func (m Parameter) 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, Parameter only implements ToObjectValue() and Type().

func (Parameter) Type

func (m Parameter) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Parameter_SdkV2 added in v1.62.1

type Parameter_SdkV2 struct {
	// List of valid parameter values, newline delimited. Only applies for
	// dropdown list parameters.
	EnumOptions types.String `tfsdk:"enum_options"`
	// If specified, allows multiple values to be selected for this parameter.
	// Only applies to dropdown list and query-based dropdown list parameters.
	MultiValuesOptions types.List `tfsdk:"multi_values_options"`
	// The literal parameter marker that appears between double curly braces in
	// the query text.
	Name types.String `tfsdk:"name"`
	// The UUID of the query that provides the parameter values. Only applies
	// for query-based dropdown list parameters.
	QueryId types.String `tfsdk:"query_id"`
	// The text displayed in a parameter picking widget.
	Title types.String `tfsdk:"title"`
	// Parameters can have several different types.
	Type_ types.String `tfsdk:"type"`
	// The default value for this parameter.
	Value types.Object `tfsdk:"value"`
}

func (Parameter_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Parameter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Parameter_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Parameter_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Parameter. 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 (*Parameter_SdkV2) GetMultiValuesOptions added in v1.62.1

func (m *Parameter_SdkV2) GetMultiValuesOptions(ctx context.Context) (MultiValuesOptions_SdkV2, bool)

GetMultiValuesOptions returns the value of the MultiValuesOptions field in Parameter_SdkV2 as a MultiValuesOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Parameter_SdkV2) SetMultiValuesOptions added in v1.62.1

func (m *Parameter_SdkV2) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions_SdkV2)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in Parameter_SdkV2.

func (*Parameter_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Parameter_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Parameter_SdkV2)

func (*Parameter_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Parameter_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Parameter_SdkV2)

func (Parameter_SdkV2) ToObjectValue added in v1.62.1

func (m Parameter_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, Parameter_SdkV2 only implements ToObjectValue() and Type().

func (Parameter_SdkV2) Type added in v1.62.1

func (m Parameter_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Query

type Query struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// Timestamp when this query was created.
	CreateTime types.String `tfsdk:"create_time"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the query.
	Id types.String `tfsdk:"id"`
	// Username of the user who last saved changes to this query.
	LastModifierUserName types.String `tfsdk:"last_modifier_user_name"`
	// Indicates whether the query is trashed.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Username of the user that owns the query.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Workspace path of the workspace folder containing the object.
	ParentPath types.String `tfsdk:"parent_path"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// Timestamp when this query was last updated.
	UpdateTime types.String `tfsdk:"update_time"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (Query) ApplySchemaCustomizations added in v1.63.0

func (m Query) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Query) GetComplexFieldTypes added in v1.61.0

func (m Query) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Query. 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 (*Query) GetParameters added in v1.61.0

func (m *Query) GetParameters(ctx context.Context) ([]QueryParameter, bool)

GetParameters returns the value of the Parameters field in Query as a slice of QueryParameter values. If the field is unknown or null, the boolean return value is false.

func (*Query) GetTags added in v1.61.0

func (m *Query) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in Query as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Query) SetParameters added in v1.61.0

func (m *Query) SetParameters(ctx context.Context, v []QueryParameter)

SetParameters sets the value of the Parameters field in Query.

func (*Query) SetTags added in v1.61.0

func (m *Query) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in Query.

func (*Query) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Query) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Query)

func (*Query) SyncFieldsDuringRead added in v1.86.0

func (to *Query) SyncFieldsDuringRead(ctx context.Context, from Query)

func (Query) ToObjectValue added in v1.61.0

func (m Query) 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, Query only implements ToObjectValue() and Type().

func (Query) Type added in v1.61.0

func (m Query) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryBackedValue

type QueryBackedValue struct {
	// If specified, allows multiple values to be selected for this parameter.
	MultiValuesOptions types.Object `tfsdk:"multi_values_options"`
	// UUID of the query that provides the parameter values.
	QueryId types.String `tfsdk:"query_id"`
	// List of selected query parameter values.
	Values types.List `tfsdk:"values"`
}

func (QueryBackedValue) ApplySchemaCustomizations added in v1.63.0

func (m QueryBackedValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryBackedValue) GetComplexFieldTypes added in v1.61.0

func (m QueryBackedValue) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryBackedValue. 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 (*QueryBackedValue) GetMultiValuesOptions added in v1.61.0

func (m *QueryBackedValue) GetMultiValuesOptions(ctx context.Context) (MultiValuesOptions, bool)

GetMultiValuesOptions returns the value of the MultiValuesOptions field in QueryBackedValue as a MultiValuesOptions value. If the field is unknown or null, the boolean return value is false.

func (*QueryBackedValue) GetValues added in v1.61.0

func (m *QueryBackedValue) GetValues(ctx context.Context) ([]types.String, bool)

GetValues returns the value of the Values field in QueryBackedValue as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryBackedValue) SetMultiValuesOptions added in v1.61.0

func (m *QueryBackedValue) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in QueryBackedValue.

func (*QueryBackedValue) SetValues added in v1.61.0

func (m *QueryBackedValue) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in QueryBackedValue.

func (*QueryBackedValue) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryBackedValue) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryBackedValue)

func (*QueryBackedValue) SyncFieldsDuringRead added in v1.86.0

func (to *QueryBackedValue) SyncFieldsDuringRead(ctx context.Context, from QueryBackedValue)

func (QueryBackedValue) ToObjectValue added in v1.61.0

func (m QueryBackedValue) 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, QueryBackedValue only implements ToObjectValue() and Type().

func (QueryBackedValue) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type QueryBackedValue_SdkV2 added in v1.62.1

type QueryBackedValue_SdkV2 struct {
	// If specified, allows multiple values to be selected for this parameter.
	MultiValuesOptions types.List `tfsdk:"multi_values_options"`
	// UUID of the query that provides the parameter values.
	QueryId types.String `tfsdk:"query_id"`
	// List of selected query parameter values.
	Values types.List `tfsdk:"values"`
}

func (QueryBackedValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryBackedValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryBackedValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryBackedValue_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryBackedValue. 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 (*QueryBackedValue_SdkV2) GetMultiValuesOptions added in v1.62.1

func (m *QueryBackedValue_SdkV2) GetMultiValuesOptions(ctx context.Context) (MultiValuesOptions_SdkV2, bool)

GetMultiValuesOptions returns the value of the MultiValuesOptions field in QueryBackedValue_SdkV2 as a MultiValuesOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryBackedValue_SdkV2) GetValues added in v1.62.1

func (m *QueryBackedValue_SdkV2) GetValues(ctx context.Context) ([]types.String, bool)

GetValues returns the value of the Values field in QueryBackedValue_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryBackedValue_SdkV2) SetMultiValuesOptions added in v1.62.1

func (m *QueryBackedValue_SdkV2) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions_SdkV2)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in QueryBackedValue_SdkV2.

func (*QueryBackedValue_SdkV2) SetValues added in v1.62.1

func (m *QueryBackedValue_SdkV2) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in QueryBackedValue_SdkV2.

func (*QueryBackedValue_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryBackedValue_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryBackedValue_SdkV2)

func (*QueryBackedValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryBackedValue_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryBackedValue_SdkV2)

func (QueryBackedValue_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, QueryBackedValue_SdkV2 only implements ToObjectValue() and Type().

func (QueryBackedValue_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryEditContent

type QueryEditContent struct {
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`
	// Exclusively used for storing a list parameter definitions. A parameter is
	// an object with `title`, `name`, `type`, and `value` properties. The
	// `value` field here is the default value. It can be overridden at runtime.
	Options types.Object `tfsdk:"options"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`

	QueryId types.String `tfsdk:"-"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
}

func (QueryEditContent) ApplySchemaCustomizations added in v1.63.0

func (m QueryEditContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryEditContent) GetComplexFieldTypes added in v1.61.0

func (m QueryEditContent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEditContent. 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 (*QueryEditContent) GetTags added in v1.61.0

func (m *QueryEditContent) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in QueryEditContent as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryEditContent) SetTags added in v1.61.0

func (m *QueryEditContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryEditContent.

func (*QueryEditContent) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *QueryEditContent) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryEditContent)

func (*QueryEditContent) SyncFieldsDuringRead added in v1.91.0

func (to *QueryEditContent) SyncFieldsDuringRead(ctx context.Context, from QueryEditContent)

func (QueryEditContent) ToObjectValue added in v1.61.0

func (m QueryEditContent) 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, QueryEditContent only implements ToObjectValue() and Type().

func (QueryEditContent) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type QueryEditContent_SdkV2 added in v1.62.1

type QueryEditContent_SdkV2 struct {
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`
	// Exclusively used for storing a list parameter definitions. A parameter is
	// an object with `title`, `name`, `type`, and `value` properties. The
	// `value` field here is the default value. It can be overridden at runtime.
	Options types.Object `tfsdk:"options"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`

	QueryId types.String `tfsdk:"-"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
}

func (QueryEditContent_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryEditContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryEditContent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryEditContent_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEditContent. 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 (*QueryEditContent_SdkV2) GetTags added in v1.62.1

func (m *QueryEditContent_SdkV2) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in QueryEditContent_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryEditContent_SdkV2) SetTags added in v1.62.1

func (m *QueryEditContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryEditContent_SdkV2.

func (*QueryEditContent_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *QueryEditContent_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryEditContent_SdkV2)

func (*QueryEditContent_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *QueryEditContent_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryEditContent_SdkV2)

func (QueryEditContent_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, QueryEditContent_SdkV2 only implements ToObjectValue() and Type().

func (QueryEditContent_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryFilter

type QueryFilter struct {
	// A range filter for query submitted time. The time range must be less than
	// or equal to 30 days.
	QueryStartTimeRange types.Object `tfsdk:"query_start_time_range"`
	// A list of statement IDs.
	StatementIds types.List `tfsdk:"statement_ids"`
	// A list of statuses (QUEUED, RUNNING, CANCELED, FAILED, FINISHED) to match
	// query results. Corresponds to the `status` field in the response.
	// Filtering for multiple statuses is not recommended. Instead, opt to
	// filter by a single status multiple times and then combine the results.
	Statuses types.List `tfsdk:"statuses"`
	// A list of user IDs who ran the queries.
	UserIds types.List `tfsdk:"user_ids"`
	// A list of warehouse IDs.
	WarehouseIds types.List `tfsdk:"warehouse_ids"`
}

func (QueryFilter) ApplySchemaCustomizations added in v1.63.0

func (m QueryFilter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryFilter) GetComplexFieldTypes added in v1.61.0

func (m QueryFilter) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryFilter. 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 (*QueryFilter) GetQueryStartTimeRange added in v1.61.0

func (m *QueryFilter) GetQueryStartTimeRange(ctx context.Context) (TimeRange, bool)

GetQueryStartTimeRange returns the value of the QueryStartTimeRange field in QueryFilter as a TimeRange value. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter) GetStatementIds added in v1.61.0

func (m *QueryFilter) GetStatementIds(ctx context.Context) ([]types.String, bool)

GetStatementIds returns the value of the StatementIds field in QueryFilter as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter) GetStatuses added in v1.61.0

func (m *QueryFilter) GetStatuses(ctx context.Context) ([]types.String, bool)

GetStatuses returns the value of the Statuses field in QueryFilter as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter) GetUserIds added in v1.61.0

func (m *QueryFilter) GetUserIds(ctx context.Context) ([]types.Int64, bool)

GetUserIds returns the value of the UserIds field in QueryFilter as a slice of types.Int64 values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter) GetWarehouseIds added in v1.61.0

func (m *QueryFilter) GetWarehouseIds(ctx context.Context) ([]types.String, bool)

GetWarehouseIds returns the value of the WarehouseIds field in QueryFilter as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter) SetQueryStartTimeRange added in v1.61.0

func (m *QueryFilter) SetQueryStartTimeRange(ctx context.Context, v TimeRange)

SetQueryStartTimeRange sets the value of the QueryStartTimeRange field in QueryFilter.

func (*QueryFilter) SetStatementIds added in v1.61.0

func (m *QueryFilter) SetStatementIds(ctx context.Context, v []types.String)

SetStatementIds sets the value of the StatementIds field in QueryFilter.

func (*QueryFilter) SetStatuses added in v1.61.0

func (m *QueryFilter) SetStatuses(ctx context.Context, v []types.String)

SetStatuses sets the value of the Statuses field in QueryFilter.

func (*QueryFilter) SetUserIds added in v1.61.0

func (m *QueryFilter) SetUserIds(ctx context.Context, v []types.Int64)

SetUserIds sets the value of the UserIds field in QueryFilter.

func (*QueryFilter) SetWarehouseIds added in v1.61.0

func (m *QueryFilter) SetWarehouseIds(ctx context.Context, v []types.String)

SetWarehouseIds sets the value of the WarehouseIds field in QueryFilter.

func (*QueryFilter) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryFilter) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryFilter)

func (*QueryFilter) SyncFieldsDuringRead added in v1.86.0

func (to *QueryFilter) SyncFieldsDuringRead(ctx context.Context, from QueryFilter)

func (QueryFilter) ToObjectValue added in v1.61.0

func (m QueryFilter) 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, QueryFilter only implements ToObjectValue() and Type().

func (QueryFilter) Type added in v1.61.0

func (m QueryFilter) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryFilter_SdkV2 added in v1.62.1

type QueryFilter_SdkV2 struct {
	// A range filter for query submitted time. The time range must be less than
	// or equal to 30 days.
	QueryStartTimeRange types.List `tfsdk:"query_start_time_range"`
	// A list of statement IDs.
	StatementIds types.List `tfsdk:"statement_ids"`
	// A list of statuses (QUEUED, RUNNING, CANCELED, FAILED, FINISHED) to match
	// query results. Corresponds to the `status` field in the response.
	// Filtering for multiple statuses is not recommended. Instead, opt to
	// filter by a single status multiple times and then combine the results.
	Statuses types.List `tfsdk:"statuses"`
	// A list of user IDs who ran the queries.
	UserIds types.List `tfsdk:"user_ids"`
	// A list of warehouse IDs.
	WarehouseIds types.List `tfsdk:"warehouse_ids"`
}

func (QueryFilter_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryFilter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryFilter_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryFilter_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryFilter. 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 (*QueryFilter_SdkV2) GetQueryStartTimeRange added in v1.62.1

func (m *QueryFilter_SdkV2) GetQueryStartTimeRange(ctx context.Context) (TimeRange_SdkV2, bool)

GetQueryStartTimeRange returns the value of the QueryStartTimeRange field in QueryFilter_SdkV2 as a TimeRange_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter_SdkV2) GetStatementIds added in v1.62.1

func (m *QueryFilter_SdkV2) GetStatementIds(ctx context.Context) ([]types.String, bool)

GetStatementIds returns the value of the StatementIds field in QueryFilter_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter_SdkV2) GetStatuses added in v1.62.1

func (m *QueryFilter_SdkV2) GetStatuses(ctx context.Context) ([]types.String, bool)

GetStatuses returns the value of the Statuses field in QueryFilter_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter_SdkV2) GetUserIds added in v1.62.1

func (m *QueryFilter_SdkV2) GetUserIds(ctx context.Context) ([]types.Int64, bool)

GetUserIds returns the value of the UserIds field in QueryFilter_SdkV2 as a slice of types.Int64 values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter_SdkV2) GetWarehouseIds added in v1.62.1

func (m *QueryFilter_SdkV2) GetWarehouseIds(ctx context.Context) ([]types.String, bool)

GetWarehouseIds returns the value of the WarehouseIds field in QueryFilter_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryFilter_SdkV2) SetQueryStartTimeRange added in v1.62.1

func (m *QueryFilter_SdkV2) SetQueryStartTimeRange(ctx context.Context, v TimeRange_SdkV2)

SetQueryStartTimeRange sets the value of the QueryStartTimeRange field in QueryFilter_SdkV2.

func (*QueryFilter_SdkV2) SetStatementIds added in v1.62.1

func (m *QueryFilter_SdkV2) SetStatementIds(ctx context.Context, v []types.String)

SetStatementIds sets the value of the StatementIds field in QueryFilter_SdkV2.

func (*QueryFilter_SdkV2) SetStatuses added in v1.62.1

func (m *QueryFilter_SdkV2) SetStatuses(ctx context.Context, v []types.String)

SetStatuses sets the value of the Statuses field in QueryFilter_SdkV2.

func (*QueryFilter_SdkV2) SetUserIds added in v1.62.1

func (m *QueryFilter_SdkV2) SetUserIds(ctx context.Context, v []types.Int64)

SetUserIds sets the value of the UserIds field in QueryFilter_SdkV2.

func (*QueryFilter_SdkV2) SetWarehouseIds added in v1.62.1

func (m *QueryFilter_SdkV2) SetWarehouseIds(ctx context.Context, v []types.String)

SetWarehouseIds sets the value of the WarehouseIds field in QueryFilter_SdkV2.

func (*QueryFilter_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryFilter_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryFilter_SdkV2)

func (*QueryFilter_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryFilter_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryFilter_SdkV2)

func (QueryFilter_SdkV2) ToObjectValue added in v1.62.1

func (m QueryFilter_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, QueryFilter_SdkV2 only implements ToObjectValue() and Type().

func (QueryFilter_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryInfo

type QueryInfo struct {
	// The ID of the cached query if this result retrieved from cache
	CacheQueryId types.String `tfsdk:"cache_query_id"`
	// SQL Warehouse channel information at the time of query execution
	ChannelUsed types.Object `tfsdk:"channel_used"`
	// Client application that ran the statement. For example: Databricks SQL
	// Editor, Tableau, and Power BI. This field is derived from information
	// provided by client applications. While values are expected to remain
	// static over time, this cannot be guaranteed.
	ClientApplication types.String `tfsdk:"client_application"`
	// Total time of the statement execution. This value does not include the
	// time taken to retrieve the results, which can result in a discrepancy
	// between this value and the start-to-finish wall-clock time.
	Duration types.Int64 `tfsdk:"duration"`
	// Alias for `warehouse_id`.
	EndpointId types.String `tfsdk:"endpoint_id"`
	// Message describing why the query could not complete.
	ErrorMessage types.String `tfsdk:"error_message"`
	// The ID of the user whose credentials were used to run the query.
	ExecutedAsUserId types.Int64 `tfsdk:"executed_as_user_id"`
	// The email address or username of the user whose credentials were used to
	// run the query.
	ExecutedAsUserName types.String `tfsdk:"executed_as_user_name"`
	// The time execution of the query ended.
	ExecutionEndTimeMs types.Int64 `tfsdk:"execution_end_time_ms"`
	// Whether more updates for the query are expected.
	IsFinal types.Bool `tfsdk:"is_final"`
	// A key that can be used to look up query details.
	LookupKey types.String `tfsdk:"lookup_key"`
	// Metrics about query execution.
	Metrics types.Object `tfsdk:"metrics"`
	// Whether plans exist for the execution, or the reason why they are missing
	PlansState types.String `tfsdk:"plans_state"`
	// The time the query ended.
	QueryEndTimeMs types.Int64 `tfsdk:"query_end_time_ms"`
	// The query ID.
	QueryId types.String `tfsdk:"query_id"`
	// A struct that contains key-value pairs representing Databricks entities
	// that were involved in the execution of this statement, such as jobs,
	// notebooks, or dashboards. This field only records Databricks entities.
	QuerySource types.Object `tfsdk:"query_source"`
	// The time the query started.
	QueryStartTimeMs types.Int64 `tfsdk:"query_start_time_ms"`
	// The text of the query.
	QueryText types.String `tfsdk:"query_text"`
	// The number of results returned by the query.
	RowsProduced types.Int64 `tfsdk:"rows_produced"`
	// URL to the Spark UI query plan.
	SparkUiUrl types.String `tfsdk:"spark_ui_url"`
	// Type of statement for this query
	StatementType types.String `tfsdk:"statement_type"`
	// Query status with one the following values:
	//
	// - `QUEUED`: Query has been received and queued. - `RUNNING`: Query has
	// started. - `CANCELED`: Query has been cancelled by the user. - `FAILED`:
	// Query has failed. - `FINISHED`: Query has completed.
	Status types.String `tfsdk:"status"`
	// The ID of the user who ran the query.
	UserId types.Int64 `tfsdk:"user_id"`
	// The email address or username of the user who ran the query.
	UserName types.String `tfsdk:"user_name"`
	// Warehouse ID.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (QueryInfo) ApplySchemaCustomizations added in v1.63.0

func (m QueryInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*QueryInfo) GetChannelUsed added in v1.61.0

func (m *QueryInfo) GetChannelUsed(ctx context.Context) (ChannelInfo, bool)

GetChannelUsed returns the value of the ChannelUsed field in QueryInfo as a ChannelInfo value. If the field is unknown or null, the boolean return value is false.

func (QueryInfo) GetComplexFieldTypes added in v1.61.0

func (m QueryInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryInfo. 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 (*QueryInfo) GetMetrics added in v1.61.0

func (m *QueryInfo) GetMetrics(ctx context.Context) (QueryMetrics, bool)

GetMetrics returns the value of the Metrics field in QueryInfo as a QueryMetrics value. If the field is unknown or null, the boolean return value is false.

func (*QueryInfo) GetQuerySource added in v1.71.0

func (m *QueryInfo) GetQuerySource(ctx context.Context) (ExternalQuerySource, bool)

GetQuerySource returns the value of the QuerySource field in QueryInfo as a ExternalQuerySource value. If the field is unknown or null, the boolean return value is false.

func (*QueryInfo) SetChannelUsed added in v1.61.0

func (m *QueryInfo) SetChannelUsed(ctx context.Context, v ChannelInfo)

SetChannelUsed sets the value of the ChannelUsed field in QueryInfo.

func (*QueryInfo) SetMetrics added in v1.61.0

func (m *QueryInfo) SetMetrics(ctx context.Context, v QueryMetrics)

SetMetrics sets the value of the Metrics field in QueryInfo.

func (*QueryInfo) SetQuerySource added in v1.71.0

func (m *QueryInfo) SetQuerySource(ctx context.Context, v ExternalQuerySource)

SetQuerySource sets the value of the QuerySource field in QueryInfo.

func (*QueryInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryInfo)

func (*QueryInfo) SyncFieldsDuringRead added in v1.86.0

func (to *QueryInfo) SyncFieldsDuringRead(ctx context.Context, from QueryInfo)

func (QueryInfo) ToObjectValue added in v1.61.0

func (m QueryInfo) 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, QueryInfo only implements ToObjectValue() and Type().

func (QueryInfo) Type added in v1.61.0

func (m QueryInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryInfo_SdkV2 added in v1.62.1

type QueryInfo_SdkV2 struct {
	// The ID of the cached query if this result retrieved from cache
	CacheQueryId types.String `tfsdk:"cache_query_id"`
	// SQL Warehouse channel information at the time of query execution
	ChannelUsed types.List `tfsdk:"channel_used"`
	// Client application that ran the statement. For example: Databricks SQL
	// Editor, Tableau, and Power BI. This field is derived from information
	// provided by client applications. While values are expected to remain
	// static over time, this cannot be guaranteed.
	ClientApplication types.String `tfsdk:"client_application"`
	// Total time of the statement execution. This value does not include the
	// time taken to retrieve the results, which can result in a discrepancy
	// between this value and the start-to-finish wall-clock time.
	Duration types.Int64 `tfsdk:"duration"`
	// Alias for `warehouse_id`.
	EndpointId types.String `tfsdk:"endpoint_id"`
	// Message describing why the query could not complete.
	ErrorMessage types.String `tfsdk:"error_message"`
	// The ID of the user whose credentials were used to run the query.
	ExecutedAsUserId types.Int64 `tfsdk:"executed_as_user_id"`
	// The email address or username of the user whose credentials were used to
	// run the query.
	ExecutedAsUserName types.String `tfsdk:"executed_as_user_name"`
	// The time execution of the query ended.
	ExecutionEndTimeMs types.Int64 `tfsdk:"execution_end_time_ms"`
	// Whether more updates for the query are expected.
	IsFinal types.Bool `tfsdk:"is_final"`
	// A key that can be used to look up query details.
	LookupKey types.String `tfsdk:"lookup_key"`
	// Metrics about query execution.
	Metrics types.List `tfsdk:"metrics"`
	// Whether plans exist for the execution, or the reason why they are missing
	PlansState types.String `tfsdk:"plans_state"`
	// The time the query ended.
	QueryEndTimeMs types.Int64 `tfsdk:"query_end_time_ms"`
	// The query ID.
	QueryId types.String `tfsdk:"query_id"`
	// A struct that contains key-value pairs representing Databricks entities
	// that were involved in the execution of this statement, such as jobs,
	// notebooks, or dashboards. This field only records Databricks entities.
	QuerySource types.List `tfsdk:"query_source"`
	// The time the query started.
	QueryStartTimeMs types.Int64 `tfsdk:"query_start_time_ms"`
	// The text of the query.
	QueryText types.String `tfsdk:"query_text"`
	// The number of results returned by the query.
	RowsProduced types.Int64 `tfsdk:"rows_produced"`
	// URL to the Spark UI query plan.
	SparkUiUrl types.String `tfsdk:"spark_ui_url"`
	// Type of statement for this query
	StatementType types.String `tfsdk:"statement_type"`
	// Query status with one the following values:
	//
	// - `QUEUED`: Query has been received and queued. - `RUNNING`: Query has
	// started. - `CANCELED`: Query has been cancelled by the user. - `FAILED`:
	// Query has failed. - `FINISHED`: Query has completed.
	Status types.String `tfsdk:"status"`
	// The ID of the user who ran the query.
	UserId types.Int64 `tfsdk:"user_id"`
	// The email address or username of the user who ran the query.
	UserName types.String `tfsdk:"user_name"`
	// Warehouse ID.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (QueryInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*QueryInfo_SdkV2) GetChannelUsed added in v1.62.1

func (m *QueryInfo_SdkV2) GetChannelUsed(ctx context.Context) (ChannelInfo_SdkV2, bool)

GetChannelUsed returns the value of the ChannelUsed field in QueryInfo_SdkV2 as a ChannelInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (QueryInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryInfo. 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 (*QueryInfo_SdkV2) GetMetrics added in v1.62.1

func (m *QueryInfo_SdkV2) GetMetrics(ctx context.Context) (QueryMetrics_SdkV2, bool)

GetMetrics returns the value of the Metrics field in QueryInfo_SdkV2 as a QueryMetrics_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryInfo_SdkV2) GetQuerySource added in v1.71.0

func (m *QueryInfo_SdkV2) GetQuerySource(ctx context.Context) (ExternalQuerySource_SdkV2, bool)

GetQuerySource returns the value of the QuerySource field in QueryInfo_SdkV2 as a ExternalQuerySource_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryInfo_SdkV2) SetChannelUsed added in v1.62.1

func (m *QueryInfo_SdkV2) SetChannelUsed(ctx context.Context, v ChannelInfo_SdkV2)

SetChannelUsed sets the value of the ChannelUsed field in QueryInfo_SdkV2.

func (*QueryInfo_SdkV2) SetMetrics added in v1.62.1

func (m *QueryInfo_SdkV2) SetMetrics(ctx context.Context, v QueryMetrics_SdkV2)

SetMetrics sets the value of the Metrics field in QueryInfo_SdkV2.

func (*QueryInfo_SdkV2) SetQuerySource added in v1.71.0

func (m *QueryInfo_SdkV2) SetQuerySource(ctx context.Context, v ExternalQuerySource_SdkV2)

SetQuerySource sets the value of the QuerySource field in QueryInfo_SdkV2.

func (*QueryInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryInfo_SdkV2)

func (*QueryInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryInfo_SdkV2)

func (QueryInfo_SdkV2) ToObjectValue added in v1.62.1

func (m QueryInfo_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, QueryInfo_SdkV2 only implements ToObjectValue() and Type().

func (QueryInfo_SdkV2) Type added in v1.62.1

func (m QueryInfo_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryList

type QueryList struct {
	// The total number of queries.
	Count types.Int64 `tfsdk:"count"`
	// The page number that is currently displayed.
	Page types.Int64 `tfsdk:"page"`
	// The number of queries per page.
	PageSize types.Int64 `tfsdk:"page_size"`
	// List of queries returned.
	Results types.List `tfsdk:"results"`
}

func (QueryList) ApplySchemaCustomizations added in v1.63.0

func (m QueryList) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryList) GetComplexFieldTypes added in v1.61.0

func (m QueryList) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryList. 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 (*QueryList) GetResults added in v1.61.0

func (m *QueryList) GetResults(ctx context.Context) ([]LegacyQuery, bool)

GetResults returns the value of the Results field in QueryList as a slice of LegacyQuery values. If the field is unknown or null, the boolean return value is false.

func (*QueryList) SetResults added in v1.61.0

func (m *QueryList) SetResults(ctx context.Context, v []LegacyQuery)

SetResults sets the value of the Results field in QueryList.

func (*QueryList) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryList) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryList)

func (*QueryList) SyncFieldsDuringRead added in v1.86.0

func (to *QueryList) SyncFieldsDuringRead(ctx context.Context, from QueryList)

func (QueryList) ToObjectValue added in v1.61.0

func (m QueryList) 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, QueryList only implements ToObjectValue() and Type().

func (QueryList) Type added in v1.61.0

func (m QueryList) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryList_SdkV2 added in v1.62.1

type QueryList_SdkV2 struct {
	// The total number of queries.
	Count types.Int64 `tfsdk:"count"`
	// The page number that is currently displayed.
	Page types.Int64 `tfsdk:"page"`
	// The number of queries per page.
	PageSize types.Int64 `tfsdk:"page_size"`
	// List of queries returned.
	Results types.List `tfsdk:"results"`
}

func (QueryList_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryList_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryList_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryList_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryList. 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 (*QueryList_SdkV2) GetResults added in v1.62.1

func (m *QueryList_SdkV2) GetResults(ctx context.Context) ([]LegacyQuery_SdkV2, bool)

GetResults returns the value of the Results field in QueryList_SdkV2 as a slice of LegacyQuery_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*QueryList_SdkV2) SetResults added in v1.62.1

func (m *QueryList_SdkV2) SetResults(ctx context.Context, v []LegacyQuery_SdkV2)

SetResults sets the value of the Results field in QueryList_SdkV2.

func (*QueryList_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryList_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryList_SdkV2)

func (*QueryList_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryList_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryList_SdkV2)

func (QueryList_SdkV2) ToObjectValue added in v1.62.1

func (m QueryList_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, QueryList_SdkV2 only implements ToObjectValue() and Type().

func (QueryList_SdkV2) Type added in v1.62.1

func (m QueryList_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryMetrics

type QueryMetrics struct {
	// Time spent loading metadata and optimizing the query, in milliseconds.
	CompilationTimeMs types.Int64 `tfsdk:"compilation_time_ms"`
	// Time spent executing the query, in milliseconds.
	ExecutionTimeMs types.Int64 `tfsdk:"execution_time_ms"`
	// Total amount of data sent over the network between executor nodes during
	// shuffle, in bytes.
	NetworkSentBytes types.Int64 `tfsdk:"network_sent_bytes"`
	// Timestamp of when the query was enqueued waiting while the warehouse was
	// at max load. This field is optional and will not appear if the query
	// skipped the overloading queue.
	OverloadingQueueStartTimestamp types.Int64 `tfsdk:"overloading_queue_start_timestamp"`
	// Total execution time for all individual Photon query engine tasks in the
	// query, in milliseconds.
	PhotonTotalTimeMs types.Int64 `tfsdk:"photon_total_time_ms"`
	// projected remaining work to be done aggregated across all stages in the
	// query, in milliseconds
	ProjectedRemainingTaskTotalTimeMs types.Int64 `tfsdk:"projected_remaining_task_total_time_ms"`
	// projected lower bound on remaining total task time based on
	// projected_remaining_task_total_time_ms / maximum concurrency
	ProjectedRemainingWallclockTimeMs types.Int64 `tfsdk:"projected_remaining_wallclock_time_ms"`
	// Timestamp of when the query was enqueued waiting for a cluster to be
	// provisioned for the warehouse. This field is optional and will not appear
	// if the query skipped the provisioning queue.
	ProvisioningQueueStartTimestamp types.Int64 `tfsdk:"provisioning_queue_start_timestamp"`
	// Total number of file bytes in all tables not read due to pruning
	PrunedBytes types.Int64 `tfsdk:"pruned_bytes"`
	// Total number of files from all tables not read due to pruning
	PrunedFilesCount types.Int64 `tfsdk:"pruned_files_count"`
	// Timestamp of when the underlying compute started compilation of the
	// query.
	QueryCompilationStartTimestamp types.Int64 `tfsdk:"query_compilation_start_timestamp"`
	// Total size of data read by the query, in bytes.
	ReadBytes types.Int64 `tfsdk:"read_bytes"`
	// Size of persistent data read from the cache, in bytes.
	ReadCacheBytes types.Int64 `tfsdk:"read_cache_bytes"`
	// Total number of file bytes in all tables read
	ReadFilesBytes types.Int64 `tfsdk:"read_files_bytes"`
	// Number of files read after pruning
	ReadFilesCount types.Int64 `tfsdk:"read_files_count"`
	// Number of partitions read after pruning.
	ReadPartitionsCount types.Int64 `tfsdk:"read_partitions_count"`
	// Size of persistent data read from cloud object storage on your cloud
	// tenant, in bytes.
	ReadRemoteBytes types.Int64 `tfsdk:"read_remote_bytes"`
	// number of remaining tasks to complete this is based on the current status
	// and could be bigger or smaller in the future based on future updates
	RemainingTaskCount types.Int64 `tfsdk:"remaining_task_count"`
	// Time spent fetching the query results after the execution finished, in
	// milliseconds.
	ResultFetchTimeMs types.Int64 `tfsdk:"result_fetch_time_ms"`
	// `true` if the query result was fetched from cache, `false` otherwise.
	ResultFromCache types.Bool `tfsdk:"result_from_cache"`
	// Total number of rows returned by the query.
	RowsProducedCount types.Int64 `tfsdk:"rows_produced_count"`
	// Total number of rows read by the query.
	RowsReadCount types.Int64 `tfsdk:"rows_read_count"`
	// number of remaining tasks to complete, calculated by autoscaler
	// StatementAnalysis.scala deprecated: use remaining_task_count instead
	RunnableTasks types.Int64 `tfsdk:"runnable_tasks"`
	// Size of data temporarily written to disk while executing the query, in
	// bytes.
	SpillToDiskBytes types.Int64 `tfsdk:"spill_to_disk_bytes"`
	// sum of task times completed in a range of wall clock time, approximated
	// to a configurable number of points aggregated over all stages and jobs in
	// the query (based on task_total_time_ms)
	TaskTimeOverTimeRange types.Object `tfsdk:"task_time_over_time_range"`
	// Sum of execution time for all of the query’s tasks, in milliseconds.
	TaskTotalTimeMs types.Int64 `tfsdk:"task_total_time_ms"`
	// Total execution time of the query from the client’s point of view, in
	// milliseconds.
	TotalTimeMs types.Int64 `tfsdk:"total_time_ms"`
	// remaining work to be done across all stages in the query, calculated by
	// autoscaler StatementAnalysis.scala, in milliseconds deprecated: using
	// projected_remaining_task_total_time_ms instead
	WorkToBeDone types.Int64 `tfsdk:"work_to_be_done"`
	// Size pf persistent data written to cloud object storage in your cloud
	// tenant, in bytes.
	WriteRemoteBytes types.Int64 `tfsdk:"write_remote_bytes"`
}

A query metric that encapsulates a set of measurements for a single query. Metrics come from the driver and are stored in the history service database.

func (QueryMetrics) ApplySchemaCustomizations added in v1.63.0

func (m QueryMetrics) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryMetrics) GetComplexFieldTypes added in v1.61.0

func (m QueryMetrics) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryMetrics. 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 (*QueryMetrics) GetTaskTimeOverTimeRange added in v1.83.0

func (m *QueryMetrics) GetTaskTimeOverTimeRange(ctx context.Context) (TaskTimeOverRange, bool)

GetTaskTimeOverTimeRange returns the value of the TaskTimeOverTimeRange field in QueryMetrics as a TaskTimeOverRange value. If the field is unknown or null, the boolean return value is false.

func (*QueryMetrics) SetTaskTimeOverTimeRange added in v1.83.0

func (m *QueryMetrics) SetTaskTimeOverTimeRange(ctx context.Context, v TaskTimeOverRange)

SetTaskTimeOverTimeRange sets the value of the TaskTimeOverTimeRange field in QueryMetrics.

func (*QueryMetrics) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryMetrics) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryMetrics)

func (*QueryMetrics) SyncFieldsDuringRead added in v1.86.0

func (to *QueryMetrics) SyncFieldsDuringRead(ctx context.Context, from QueryMetrics)

func (QueryMetrics) ToObjectValue added in v1.61.0

func (m QueryMetrics) 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, QueryMetrics only implements ToObjectValue() and Type().

func (QueryMetrics) Type added in v1.61.0

func (m QueryMetrics) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryMetrics_SdkV2 added in v1.62.1

type QueryMetrics_SdkV2 struct {
	// Time spent loading metadata and optimizing the query, in milliseconds.
	CompilationTimeMs types.Int64 `tfsdk:"compilation_time_ms"`
	// Time spent executing the query, in milliseconds.
	ExecutionTimeMs types.Int64 `tfsdk:"execution_time_ms"`
	// Total amount of data sent over the network between executor nodes during
	// shuffle, in bytes.
	NetworkSentBytes types.Int64 `tfsdk:"network_sent_bytes"`
	// Timestamp of when the query was enqueued waiting while the warehouse was
	// at max load. This field is optional and will not appear if the query
	// skipped the overloading queue.
	OverloadingQueueStartTimestamp types.Int64 `tfsdk:"overloading_queue_start_timestamp"`
	// Total execution time for all individual Photon query engine tasks in the
	// query, in milliseconds.
	PhotonTotalTimeMs types.Int64 `tfsdk:"photon_total_time_ms"`
	// projected remaining work to be done aggregated across all stages in the
	// query, in milliseconds
	ProjectedRemainingTaskTotalTimeMs types.Int64 `tfsdk:"projected_remaining_task_total_time_ms"`
	// projected lower bound on remaining total task time based on
	// projected_remaining_task_total_time_ms / maximum concurrency
	ProjectedRemainingWallclockTimeMs types.Int64 `tfsdk:"projected_remaining_wallclock_time_ms"`
	// Timestamp of when the query was enqueued waiting for a cluster to be
	// provisioned for the warehouse. This field is optional and will not appear
	// if the query skipped the provisioning queue.
	ProvisioningQueueStartTimestamp types.Int64 `tfsdk:"provisioning_queue_start_timestamp"`
	// Total number of file bytes in all tables not read due to pruning
	PrunedBytes types.Int64 `tfsdk:"pruned_bytes"`
	// Total number of files from all tables not read due to pruning
	PrunedFilesCount types.Int64 `tfsdk:"pruned_files_count"`
	// Timestamp of when the underlying compute started compilation of the
	// query.
	QueryCompilationStartTimestamp types.Int64 `tfsdk:"query_compilation_start_timestamp"`
	// Total size of data read by the query, in bytes.
	ReadBytes types.Int64 `tfsdk:"read_bytes"`
	// Size of persistent data read from the cache, in bytes.
	ReadCacheBytes types.Int64 `tfsdk:"read_cache_bytes"`
	// Total number of file bytes in all tables read
	ReadFilesBytes types.Int64 `tfsdk:"read_files_bytes"`
	// Number of files read after pruning
	ReadFilesCount types.Int64 `tfsdk:"read_files_count"`
	// Number of partitions read after pruning.
	ReadPartitionsCount types.Int64 `tfsdk:"read_partitions_count"`
	// Size of persistent data read from cloud object storage on your cloud
	// tenant, in bytes.
	ReadRemoteBytes types.Int64 `tfsdk:"read_remote_bytes"`
	// number of remaining tasks to complete this is based on the current status
	// and could be bigger or smaller in the future based on future updates
	RemainingTaskCount types.Int64 `tfsdk:"remaining_task_count"`
	// Time spent fetching the query results after the execution finished, in
	// milliseconds.
	ResultFetchTimeMs types.Int64 `tfsdk:"result_fetch_time_ms"`
	// `true` if the query result was fetched from cache, `false` otherwise.
	ResultFromCache types.Bool `tfsdk:"result_from_cache"`
	// Total number of rows returned by the query.
	RowsProducedCount types.Int64 `tfsdk:"rows_produced_count"`
	// Total number of rows read by the query.
	RowsReadCount types.Int64 `tfsdk:"rows_read_count"`
	// number of remaining tasks to complete, calculated by autoscaler
	// StatementAnalysis.scala deprecated: use remaining_task_count instead
	RunnableTasks types.Int64 `tfsdk:"runnable_tasks"`
	// Size of data temporarily written to disk while executing the query, in
	// bytes.
	SpillToDiskBytes types.Int64 `tfsdk:"spill_to_disk_bytes"`
	// sum of task times completed in a range of wall clock time, approximated
	// to a configurable number of points aggregated over all stages and jobs in
	// the query (based on task_total_time_ms)
	TaskTimeOverTimeRange types.List `tfsdk:"task_time_over_time_range"`
	// Sum of execution time for all of the query’s tasks, in milliseconds.
	TaskTotalTimeMs types.Int64 `tfsdk:"task_total_time_ms"`
	// Total execution time of the query from the client’s point of view, in
	// milliseconds.
	TotalTimeMs types.Int64 `tfsdk:"total_time_ms"`
	// remaining work to be done across all stages in the query, calculated by
	// autoscaler StatementAnalysis.scala, in milliseconds deprecated: using
	// projected_remaining_task_total_time_ms instead
	WorkToBeDone types.Int64 `tfsdk:"work_to_be_done"`
	// Size pf persistent data written to cloud object storage in your cloud
	// tenant, in bytes.
	WriteRemoteBytes types.Int64 `tfsdk:"write_remote_bytes"`
}

A query metric that encapsulates a set of measurements for a single query. Metrics come from the driver and are stored in the history service database.

func (QueryMetrics_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryMetrics_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryMetrics_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryMetrics_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryMetrics. 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 (*QueryMetrics_SdkV2) GetTaskTimeOverTimeRange added in v1.83.0

func (m *QueryMetrics_SdkV2) GetTaskTimeOverTimeRange(ctx context.Context) (TaskTimeOverRange_SdkV2, bool)

GetTaskTimeOverTimeRange returns the value of the TaskTimeOverTimeRange field in QueryMetrics_SdkV2 as a TaskTimeOverRange_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryMetrics_SdkV2) SetTaskTimeOverTimeRange added in v1.83.0

func (m *QueryMetrics_SdkV2) SetTaskTimeOverTimeRange(ctx context.Context, v TaskTimeOverRange_SdkV2)

SetTaskTimeOverTimeRange sets the value of the TaskTimeOverTimeRange field in QueryMetrics_SdkV2.

func (*QueryMetrics_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryMetrics_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryMetrics_SdkV2)

func (*QueryMetrics_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryMetrics_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryMetrics_SdkV2)

func (QueryMetrics_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, QueryMetrics_SdkV2 only implements ToObjectValue() and Type().

func (QueryMetrics_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryOptions

type QueryOptions struct {
	// The name of the catalog to execute this query in.
	Catalog types.String `tfsdk:"catalog"`
	// The timestamp when this query was moved to trash. Only present when the
	// `is_archived` property is `true`. Trashed items are deleted after thirty
	// days.
	MovedToTrashAt types.String `tfsdk:"moved_to_trash_at"`

	Parameters types.List `tfsdk:"parameters"`
	// The name of the schema to execute this query in.
	Schema types.String `tfsdk:"schema"`
}

func (QueryOptions) ApplySchemaCustomizations added in v1.63.0

func (m QueryOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryOptions) GetComplexFieldTypes added in v1.61.0

func (m QueryOptions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryOptions. 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 (*QueryOptions) GetParameters added in v1.61.0

func (m *QueryOptions) GetParameters(ctx context.Context) ([]Parameter, bool)

GetParameters returns the value of the Parameters field in QueryOptions as a slice of Parameter values. If the field is unknown or null, the boolean return value is false.

func (*QueryOptions) SetParameters added in v1.61.0

func (m *QueryOptions) SetParameters(ctx context.Context, v []Parameter)

SetParameters sets the value of the Parameters field in QueryOptions.

func (*QueryOptions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryOptions) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryOptions)

func (*QueryOptions) SyncFieldsDuringRead added in v1.86.0

func (to *QueryOptions) SyncFieldsDuringRead(ctx context.Context, from QueryOptions)

func (QueryOptions) ToObjectValue added in v1.61.0

func (m QueryOptions) 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, QueryOptions only implements ToObjectValue() and Type().

func (QueryOptions) Type added in v1.61.0

func (m QueryOptions) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryOptions_SdkV2 added in v1.62.1

type QueryOptions_SdkV2 struct {
	// The name of the catalog to execute this query in.
	Catalog types.String `tfsdk:"catalog"`
	// The timestamp when this query was moved to trash. Only present when the
	// `is_archived` property is `true`. Trashed items are deleted after thirty
	// days.
	MovedToTrashAt types.String `tfsdk:"moved_to_trash_at"`

	Parameters types.List `tfsdk:"parameters"`
	// The name of the schema to execute this query in.
	Schema types.String `tfsdk:"schema"`
}

func (QueryOptions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryOptions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryOptions. 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 (*QueryOptions_SdkV2) GetParameters added in v1.62.1

func (m *QueryOptions_SdkV2) GetParameters(ctx context.Context) ([]Parameter_SdkV2, bool)

GetParameters returns the value of the Parameters field in QueryOptions_SdkV2 as a slice of Parameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*QueryOptions_SdkV2) SetParameters added in v1.62.1

func (m *QueryOptions_SdkV2) SetParameters(ctx context.Context, v []Parameter_SdkV2)

SetParameters sets the value of the Parameters field in QueryOptions_SdkV2.

func (*QueryOptions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryOptions_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryOptions_SdkV2)

func (*QueryOptions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryOptions_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryOptions_SdkV2)

func (QueryOptions_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, QueryOptions_SdkV2 only implements ToObjectValue() and Type().

func (QueryOptions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryParameter

type QueryParameter struct {
	// Date-range query parameter value. Can only specify one of
	// `dynamic_date_range_value` or `date_range_value`.
	DateRangeValue types.Object `tfsdk:"date_range_value"`
	// Date query parameter value. Can only specify one of `dynamic_date_value`
	// or `date_value`.
	DateValue types.Object `tfsdk:"date_value"`
	// Dropdown query parameter value.
	EnumValue types.Object `tfsdk:"enum_value"`
	// Literal parameter marker that appears between double curly braces in the
	// query text.
	Name types.String `tfsdk:"name"`
	// Numeric query parameter value.
	NumericValue types.Object `tfsdk:"numeric_value"`
	// Query-based dropdown query parameter value.
	QueryBackedValue types.Object `tfsdk:"query_backed_value"`
	// Text query parameter value.
	TextValue types.Object `tfsdk:"text_value"`
	// Text displayed in the user-facing parameter widget in the UI.
	Title types.String `tfsdk:"title"`
}

func (QueryParameter) ApplySchemaCustomizations added in v1.63.0

func (m QueryParameter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryParameter) GetComplexFieldTypes added in v1.61.0

func (m QueryParameter) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryParameter. 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 (*QueryParameter) GetDateRangeValue added in v1.61.0

func (m *QueryParameter) GetDateRangeValue(ctx context.Context) (DateRangeValue, bool)

GetDateRangeValue returns the value of the DateRangeValue field in QueryParameter as a DateRangeValue value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter) GetDateValue added in v1.61.0

func (m *QueryParameter) GetDateValue(ctx context.Context) (DateValue, bool)

GetDateValue returns the value of the DateValue field in QueryParameter as a DateValue value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter) GetEnumValue added in v1.61.0

func (m *QueryParameter) GetEnumValue(ctx context.Context) (EnumValue, bool)

GetEnumValue returns the value of the EnumValue field in QueryParameter as a EnumValue value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter) GetNumericValue added in v1.61.0

func (m *QueryParameter) GetNumericValue(ctx context.Context) (NumericValue, bool)

GetNumericValue returns the value of the NumericValue field in QueryParameter as a NumericValue value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter) GetQueryBackedValue added in v1.61.0

func (m *QueryParameter) GetQueryBackedValue(ctx context.Context) (QueryBackedValue, bool)

GetQueryBackedValue returns the value of the QueryBackedValue field in QueryParameter as a QueryBackedValue value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter) GetTextValue added in v1.61.0

func (m *QueryParameter) GetTextValue(ctx context.Context) (TextValue, bool)

GetTextValue returns the value of the TextValue field in QueryParameter as a TextValue value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter) SetDateRangeValue added in v1.61.0

func (m *QueryParameter) SetDateRangeValue(ctx context.Context, v DateRangeValue)

SetDateRangeValue sets the value of the DateRangeValue field in QueryParameter.

func (*QueryParameter) SetDateValue added in v1.61.0

func (m *QueryParameter) SetDateValue(ctx context.Context, v DateValue)

SetDateValue sets the value of the DateValue field in QueryParameter.

func (*QueryParameter) SetEnumValue added in v1.61.0

func (m *QueryParameter) SetEnumValue(ctx context.Context, v EnumValue)

SetEnumValue sets the value of the EnumValue field in QueryParameter.

func (*QueryParameter) SetNumericValue added in v1.61.0

func (m *QueryParameter) SetNumericValue(ctx context.Context, v NumericValue)

SetNumericValue sets the value of the NumericValue field in QueryParameter.

func (*QueryParameter) SetQueryBackedValue added in v1.61.0

func (m *QueryParameter) SetQueryBackedValue(ctx context.Context, v QueryBackedValue)

SetQueryBackedValue sets the value of the QueryBackedValue field in QueryParameter.

func (*QueryParameter) SetTextValue added in v1.61.0

func (m *QueryParameter) SetTextValue(ctx context.Context, v TextValue)

SetTextValue sets the value of the TextValue field in QueryParameter.

func (*QueryParameter) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryParameter) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryParameter)

func (*QueryParameter) SyncFieldsDuringRead added in v1.86.0

func (to *QueryParameter) SyncFieldsDuringRead(ctx context.Context, from QueryParameter)

func (QueryParameter) ToObjectValue added in v1.61.0

func (m QueryParameter) 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, QueryParameter only implements ToObjectValue() and Type().

func (QueryParameter) Type added in v1.61.0

func (m QueryParameter) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryParameter_SdkV2 added in v1.62.1

type QueryParameter_SdkV2 struct {
	// Date-range query parameter value. Can only specify one of
	// `dynamic_date_range_value` or `date_range_value`.
	DateRangeValue types.List `tfsdk:"date_range_value"`
	// Date query parameter value. Can only specify one of `dynamic_date_value`
	// or `date_value`.
	DateValue types.List `tfsdk:"date_value"`
	// Dropdown query parameter value.
	EnumValue types.List `tfsdk:"enum_value"`
	// Literal parameter marker that appears between double curly braces in the
	// query text.
	Name types.String `tfsdk:"name"`
	// Numeric query parameter value.
	NumericValue types.List `tfsdk:"numeric_value"`
	// Query-based dropdown query parameter value.
	QueryBackedValue types.List `tfsdk:"query_backed_value"`
	// Text query parameter value.
	TextValue types.List `tfsdk:"text_value"`
	// Text displayed in the user-facing parameter widget in the UI.
	Title types.String `tfsdk:"title"`
}

func (QueryParameter_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryParameter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryParameter_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryParameter_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryParameter. 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 (*QueryParameter_SdkV2) GetDateRangeValue added in v1.62.1

func (m *QueryParameter_SdkV2) GetDateRangeValue(ctx context.Context) (DateRangeValue_SdkV2, bool)

GetDateRangeValue returns the value of the DateRangeValue field in QueryParameter_SdkV2 as a DateRangeValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter_SdkV2) GetDateValue added in v1.62.1

func (m *QueryParameter_SdkV2) GetDateValue(ctx context.Context) (DateValue_SdkV2, bool)

GetDateValue returns the value of the DateValue field in QueryParameter_SdkV2 as a DateValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter_SdkV2) GetEnumValue added in v1.62.1

func (m *QueryParameter_SdkV2) GetEnumValue(ctx context.Context) (EnumValue_SdkV2, bool)

GetEnumValue returns the value of the EnumValue field in QueryParameter_SdkV2 as a EnumValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter_SdkV2) GetNumericValue added in v1.62.1

func (m *QueryParameter_SdkV2) GetNumericValue(ctx context.Context) (NumericValue_SdkV2, bool)

GetNumericValue returns the value of the NumericValue field in QueryParameter_SdkV2 as a NumericValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter_SdkV2) GetQueryBackedValue added in v1.62.1

func (m *QueryParameter_SdkV2) GetQueryBackedValue(ctx context.Context) (QueryBackedValue_SdkV2, bool)

GetQueryBackedValue returns the value of the QueryBackedValue field in QueryParameter_SdkV2 as a QueryBackedValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter_SdkV2) GetTextValue added in v1.62.1

func (m *QueryParameter_SdkV2) GetTextValue(ctx context.Context) (TextValue_SdkV2, bool)

GetTextValue returns the value of the TextValue field in QueryParameter_SdkV2 as a TextValue_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*QueryParameter_SdkV2) SetDateRangeValue added in v1.62.1

func (m *QueryParameter_SdkV2) SetDateRangeValue(ctx context.Context, v DateRangeValue_SdkV2)

SetDateRangeValue sets the value of the DateRangeValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SetDateValue added in v1.62.1

func (m *QueryParameter_SdkV2) SetDateValue(ctx context.Context, v DateValue_SdkV2)

SetDateValue sets the value of the DateValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SetEnumValue added in v1.62.1

func (m *QueryParameter_SdkV2) SetEnumValue(ctx context.Context, v EnumValue_SdkV2)

SetEnumValue sets the value of the EnumValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SetNumericValue added in v1.62.1

func (m *QueryParameter_SdkV2) SetNumericValue(ctx context.Context, v NumericValue_SdkV2)

SetNumericValue sets the value of the NumericValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SetQueryBackedValue added in v1.62.1

func (m *QueryParameter_SdkV2) SetQueryBackedValue(ctx context.Context, v QueryBackedValue_SdkV2)

SetQueryBackedValue sets the value of the QueryBackedValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SetTextValue added in v1.62.1

func (m *QueryParameter_SdkV2) SetTextValue(ctx context.Context, v TextValue_SdkV2)

SetTextValue sets the value of the TextValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *QueryParameter_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryParameter_SdkV2)

func (*QueryParameter_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *QueryParameter_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryParameter_SdkV2)

func (QueryParameter_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, QueryParameter_SdkV2 only implements ToObjectValue() and Type().

func (QueryParameter_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type QueryPostContent

type QueryPostContent struct {
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`
	// Exclusively used for storing a list parameter definitions. A parameter is
	// an object with `title`, `name`, `type`, and `value` properties. The
	// `value` field here is the default value. It can be overridden at runtime.
	Options types.Object `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
}

func (QueryPostContent) ApplySchemaCustomizations added in v1.63.0

func (m QueryPostContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryPostContent) GetComplexFieldTypes added in v1.61.0

func (m QueryPostContent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryPostContent. 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 (*QueryPostContent) GetTags added in v1.61.0

func (m *QueryPostContent) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in QueryPostContent as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryPostContent) SetTags added in v1.61.0

func (m *QueryPostContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryPostContent.

func (*QueryPostContent) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *QueryPostContent) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryPostContent)

func (*QueryPostContent) SyncFieldsDuringRead added in v1.91.0

func (to *QueryPostContent) SyncFieldsDuringRead(ctx context.Context, from QueryPostContent)

func (QueryPostContent) ToObjectValue added in v1.61.0

func (m QueryPostContent) 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, QueryPostContent only implements ToObjectValue() and Type().

func (QueryPostContent) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type QueryPostContent_SdkV2 added in v1.62.1

type QueryPostContent_SdkV2 struct {
	// Data source ID maps to the ID of the data source used by the resource and
	// is distinct from the warehouse ID. [Learn more]
	//
	// [Learn more]: https://docs.databricks.com/api/workspace/datasources/list
	DataSourceId types.String `tfsdk:"data_source_id"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// The title of this query that appears in list views, widget headings, and
	// on the query page.
	Name types.String `tfsdk:"name"`
	// Exclusively used for storing a list parameter definitions. A parameter is
	// an object with `title`, `name`, `type`, and `value` properties. The
	// `value` field here is the default value. It can be overridden at runtime.
	Options types.Object `tfsdk:"options"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// The text of the query to be run.
	Query types.String `tfsdk:"query"`
	// Sets the **Run as** role for the object. Must be set to one of `"viewer"`
	// (signifying "run as viewer" behavior) or `"owner"` (signifying "run as
	// owner" behavior)
	RunAsRole types.String `tfsdk:"run_as_role"`

	Tags types.List `tfsdk:"tags"`
}

func (QueryPostContent_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m QueryPostContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryPostContent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m QueryPostContent_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryPostContent. 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 (*QueryPostContent_SdkV2) GetTags added in v1.62.1

func (m *QueryPostContent_SdkV2) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in QueryPostContent_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*QueryPostContent_SdkV2) SetTags added in v1.62.1

func (m *QueryPostContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryPostContent_SdkV2.

func (*QueryPostContent_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *QueryPostContent_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from QueryPostContent_SdkV2)

func (*QueryPostContent_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *QueryPostContent_SdkV2) SyncFieldsDuringRead(ctx context.Context, from QueryPostContent_SdkV2)

func (QueryPostContent_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, QueryPostContent_SdkV2 only implements ToObjectValue() and Type().

func (QueryPostContent_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Query_SdkV2 added in v1.62.1

type Query_SdkV2 struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// Timestamp when this query was created.
	CreateTime types.String `tfsdk:"create_time"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the query.
	Id types.String `tfsdk:"id"`
	// Username of the user who last saved changes to this query.
	LastModifierUserName types.String `tfsdk:"last_modifier_user_name"`
	// Indicates whether the query is trashed.
	LifecycleState types.String `tfsdk:"lifecycle_state"`
	// Username of the user that owns the query.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Workspace path of the workspace folder containing the object.
	ParentPath types.String `tfsdk:"parent_path"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// Timestamp when this query was last updated.
	UpdateTime types.String `tfsdk:"update_time"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (Query_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Query_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Query_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Query_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Query. 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 (*Query_SdkV2) GetParameters added in v1.62.1

func (m *Query_SdkV2) GetParameters(ctx context.Context) ([]QueryParameter_SdkV2, bool)

GetParameters returns the value of the Parameters field in Query_SdkV2 as a slice of QueryParameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*Query_SdkV2) GetTags added in v1.62.1

func (m *Query_SdkV2) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in Query_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Query_SdkV2) SetParameters added in v1.62.1

func (m *Query_SdkV2) SetParameters(ctx context.Context, v []QueryParameter_SdkV2)

SetParameters sets the value of the Parameters field in Query_SdkV2.

func (*Query_SdkV2) SetTags added in v1.62.1

func (m *Query_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in Query_SdkV2.

func (*Query_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Query_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Query_SdkV2)

func (*Query_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Query_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Query_SdkV2)

func (Query_SdkV2) ToObjectValue added in v1.62.1

func (m Query_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, Query_SdkV2 only implements ToObjectValue() and Type().

func (Query_SdkV2) Type added in v1.62.1

func (m Query_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RepeatedEndpointConfPairs

type RepeatedEndpointConfPairs struct {
	// Deprecated: Use configuration_pairs
	ConfigPair types.List `tfsdk:"config_pair"`

	ConfigurationPairs types.List `tfsdk:"configuration_pairs"`
}

func (RepeatedEndpointConfPairs) ApplySchemaCustomizations added in v1.63.0

func (m RepeatedEndpointConfPairs) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RepeatedEndpointConfPairs) GetComplexFieldTypes added in v1.61.0

func (m RepeatedEndpointConfPairs) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RepeatedEndpointConfPairs. 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 (*RepeatedEndpointConfPairs) GetConfigPair added in v1.61.0

func (m *RepeatedEndpointConfPairs) GetConfigPair(ctx context.Context) ([]EndpointConfPair, bool)

GetConfigPair returns the value of the ConfigPair field in RepeatedEndpointConfPairs as a slice of EndpointConfPair values. If the field is unknown or null, the boolean return value is false.

func (*RepeatedEndpointConfPairs) GetConfigurationPairs added in v1.61.0

func (m *RepeatedEndpointConfPairs) GetConfigurationPairs(ctx context.Context) ([]EndpointConfPair, bool)

GetConfigurationPairs returns the value of the ConfigurationPairs field in RepeatedEndpointConfPairs as a slice of EndpointConfPair values. If the field is unknown or null, the boolean return value is false.

func (*RepeatedEndpointConfPairs) SetConfigPair added in v1.61.0

func (m *RepeatedEndpointConfPairs) SetConfigPair(ctx context.Context, v []EndpointConfPair)

SetConfigPair sets the value of the ConfigPair field in RepeatedEndpointConfPairs.

func (*RepeatedEndpointConfPairs) SetConfigurationPairs added in v1.61.0

func (m *RepeatedEndpointConfPairs) SetConfigurationPairs(ctx context.Context, v []EndpointConfPair)

SetConfigurationPairs sets the value of the ConfigurationPairs field in RepeatedEndpointConfPairs.

func (*RepeatedEndpointConfPairs) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RepeatedEndpointConfPairs) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RepeatedEndpointConfPairs)

func (*RepeatedEndpointConfPairs) SyncFieldsDuringRead added in v1.86.0

func (to *RepeatedEndpointConfPairs) SyncFieldsDuringRead(ctx context.Context, from RepeatedEndpointConfPairs)

func (RepeatedEndpointConfPairs) 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, RepeatedEndpointConfPairs only implements ToObjectValue() and Type().

func (RepeatedEndpointConfPairs) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RepeatedEndpointConfPairs_SdkV2 added in v1.62.1

type RepeatedEndpointConfPairs_SdkV2 struct {
	// Deprecated: Use configuration_pairs
	ConfigPair types.List `tfsdk:"config_pair"`

	ConfigurationPairs types.List `tfsdk:"configuration_pairs"`
}

func (RepeatedEndpointConfPairs_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (RepeatedEndpointConfPairs_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RepeatedEndpointConfPairs_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RepeatedEndpointConfPairs. 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 (*RepeatedEndpointConfPairs_SdkV2) GetConfigPair added in v1.62.1

GetConfigPair returns the value of the ConfigPair field in RepeatedEndpointConfPairs_SdkV2 as a slice of EndpointConfPair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*RepeatedEndpointConfPairs_SdkV2) GetConfigurationPairs added in v1.62.1

func (m *RepeatedEndpointConfPairs_SdkV2) GetConfigurationPairs(ctx context.Context) ([]EndpointConfPair_SdkV2, bool)

GetConfigurationPairs returns the value of the ConfigurationPairs field in RepeatedEndpointConfPairs_SdkV2 as a slice of EndpointConfPair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*RepeatedEndpointConfPairs_SdkV2) SetConfigPair added in v1.62.1

SetConfigPair sets the value of the ConfigPair field in RepeatedEndpointConfPairs_SdkV2.

func (*RepeatedEndpointConfPairs_SdkV2) SetConfigurationPairs added in v1.62.1

func (m *RepeatedEndpointConfPairs_SdkV2) SetConfigurationPairs(ctx context.Context, v []EndpointConfPair_SdkV2)

SetConfigurationPairs sets the value of the ConfigurationPairs field in RepeatedEndpointConfPairs_SdkV2.

func (*RepeatedEndpointConfPairs_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RepeatedEndpointConfPairs_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RepeatedEndpointConfPairs_SdkV2)

func (*RepeatedEndpointConfPairs_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (RepeatedEndpointConfPairs_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, RepeatedEndpointConfPairs_SdkV2 only implements ToObjectValue() and Type().

func (RepeatedEndpointConfPairs_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RestoreDashboardRequest

type RestoreDashboardRequest struct {
	DashboardId types.String `tfsdk:"-"`
}

func (RestoreDashboardRequest) ApplySchemaCustomizations added in v1.76.0

func (m RestoreDashboardRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestoreDashboardRequest) GetComplexFieldTypes added in v1.61.0

func (m RestoreDashboardRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreDashboardRequest. 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 (*RestoreDashboardRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RestoreDashboardRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestoreDashboardRequest)

func (*RestoreDashboardRequest) SyncFieldsDuringRead added in v1.91.0

func (to *RestoreDashboardRequest) SyncFieldsDuringRead(ctx context.Context, from RestoreDashboardRequest)

func (RestoreDashboardRequest) 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, RestoreDashboardRequest only implements ToObjectValue() and Type().

func (RestoreDashboardRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RestoreDashboardRequest_SdkV2 added in v1.62.1

type RestoreDashboardRequest_SdkV2 struct {
	DashboardId types.String `tfsdk:"-"`
}

func (RestoreDashboardRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (RestoreDashboardRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RestoreDashboardRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreDashboardRequest. 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 (*RestoreDashboardRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RestoreDashboardRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestoreDashboardRequest_SdkV2)

func (*RestoreDashboardRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *RestoreDashboardRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RestoreDashboardRequest_SdkV2)

func (RestoreDashboardRequest_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, RestoreDashboardRequest_SdkV2 only implements ToObjectValue() and Type().

func (RestoreDashboardRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RestoreQueriesLegacyRequest

type RestoreQueriesLegacyRequest struct {
	QueryId types.String `tfsdk:"-"`
}

func (RestoreQueriesLegacyRequest) ApplySchemaCustomizations added in v1.76.0

func (m RestoreQueriesLegacyRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestoreQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (m RestoreQueriesLegacyRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreQueriesLegacyRequest. 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 (*RestoreQueriesLegacyRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RestoreQueriesLegacyRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestoreQueriesLegacyRequest)

func (*RestoreQueriesLegacyRequest) SyncFieldsDuringRead added in v1.91.0

func (to *RestoreQueriesLegacyRequest) SyncFieldsDuringRead(ctx context.Context, from RestoreQueriesLegacyRequest)

func (RestoreQueriesLegacyRequest) 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, RestoreQueriesLegacyRequest only implements ToObjectValue() and Type().

func (RestoreQueriesLegacyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RestoreQueriesLegacyRequest_SdkV2 added in v1.62.1

type RestoreQueriesLegacyRequest_SdkV2 struct {
	QueryId types.String `tfsdk:"-"`
}

func (RestoreQueriesLegacyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (RestoreQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RestoreQueriesLegacyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreQueriesLegacyRequest. 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 (*RestoreQueriesLegacyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RestoreQueriesLegacyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestoreQueriesLegacyRequest_SdkV2)

func (*RestoreQueriesLegacyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (RestoreQueriesLegacyRequest_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, RestoreQueriesLegacyRequest_SdkV2 only implements ToObjectValue() and Type().

func (RestoreQueriesLegacyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RestoreResponse

type RestoreResponse struct {
}

func (RestoreResponse) ApplySchemaCustomizations added in v1.76.0

func (m RestoreResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestoreResponse) GetComplexFieldTypes added in v1.61.0

func (m RestoreResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreResponse. 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 (*RestoreResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RestoreResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestoreResponse)

func (*RestoreResponse) SyncFieldsDuringRead added in v1.86.0

func (to *RestoreResponse) SyncFieldsDuringRead(ctx context.Context, from RestoreResponse)

func (RestoreResponse) ToObjectValue added in v1.61.0

func (m RestoreResponse) 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, RestoreResponse only implements ToObjectValue() and Type().

func (RestoreResponse) Type added in v1.61.0

func (m RestoreResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RestoreResponse_SdkV2 added in v1.62.1

type RestoreResponse_SdkV2 struct {
}

func (RestoreResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m RestoreResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestoreResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RestoreResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreResponse. 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 (*RestoreResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RestoreResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestoreResponse_SdkV2)

func (*RestoreResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *RestoreResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RestoreResponse_SdkV2)

func (RestoreResponse_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, RestoreResponse_SdkV2 only implements ToObjectValue() and Type().

func (RestoreResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ResultData

type ResultData struct {
	// The number of bytes in the result chunk. This field is not available when
	// using `INLINE` disposition.
	ByteCount types.Int64 `tfsdk:"byte_count"`
	// The position within the sequence of result set chunks.
	ChunkIndex types.Int64 `tfsdk:"chunk_index"`
	// The `JSON_ARRAY` format is an array of arrays of values, where each
	// non-null value is formatted as a string. Null values are encoded as JSON
	// `null`.
	DataArray types.List `tfsdk:"data_array"`

	ExternalLinks types.List `tfsdk:"external_links"`
	// When fetching, provides the `chunk_index` for the _next_ chunk. If
	// absent, indicates there are no more chunks. The next chunk can be fetched
	// with a :method:statementexecution/getstatementresultchunkn request.
	NextChunkIndex types.Int64 `tfsdk:"next_chunk_index"`
	// When fetching, provides a link to fetch the _next_ chunk. If absent,
	// indicates there are no more chunks. This link is an absolute `path` to be
	// joined with your `$DATABRICKS_HOST`, and should be treated as an opaque
	// link. This is an alternative to using `next_chunk_index`.
	NextChunkInternalLink types.String `tfsdk:"next_chunk_internal_link"`
	// The number of rows within the result chunk.
	RowCount types.Int64 `tfsdk:"row_count"`
	// The starting row offset within the result set.
	RowOffset types.Int64 `tfsdk:"row_offset"`
}

Contains the result data of a single chunk when using `INLINE` disposition. When using `EXTERNAL_LINKS` disposition, the array `external_links` is used instead to provide URLs to the result data in cloud storage. Exactly one of these alternatives is used. (While the `external_links` array prepares the API to return multiple links in a single response. Currently only a single link is returned.)

func (ResultData) ApplySchemaCustomizations added in v1.63.0

func (m ResultData) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ResultData) GetComplexFieldTypes added in v1.61.0

func (m ResultData) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. 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 (*ResultData) GetDataArray added in v1.61.0

func (m *ResultData) GetDataArray(ctx context.Context) ([]types.String, bool)

GetDataArray returns the value of the DataArray field in ResultData as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (m *ResultData) GetExternalLinks(ctx context.Context) ([]ExternalLink, bool)

GetExternalLinks returns the value of the ExternalLinks field in ResultData as a slice of ExternalLink values. If the field is unknown or null, the boolean return value is false.

func (*ResultData) SetDataArray added in v1.61.0

func (m *ResultData) SetDataArray(ctx context.Context, v []types.String)

SetDataArray sets the value of the DataArray field in ResultData.

func (m *ResultData) SetExternalLinks(ctx context.Context, v []ExternalLink)

SetExternalLinks sets the value of the ExternalLinks field in ResultData.

func (*ResultData) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResultData) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResultData)

func (*ResultData) SyncFieldsDuringRead added in v1.86.0

func (to *ResultData) SyncFieldsDuringRead(ctx context.Context, from ResultData)

func (ResultData) ToObjectValue added in v1.61.0

func (m ResultData) 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, ResultData only implements ToObjectValue() and Type().

func (ResultData) Type added in v1.61.0

func (m ResultData) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ResultData_SdkV2 added in v1.62.1

type ResultData_SdkV2 struct {
	// The number of bytes in the result chunk. This field is not available when
	// using `INLINE` disposition.
	ByteCount types.Int64 `tfsdk:"byte_count"`
	// The position within the sequence of result set chunks.
	ChunkIndex types.Int64 `tfsdk:"chunk_index"`
	// The `JSON_ARRAY` format is an array of arrays of values, where each
	// non-null value is formatted as a string. Null values are encoded as JSON
	// `null`.
	DataArray types.List `tfsdk:"data_array"`

	ExternalLinks types.List `tfsdk:"external_links"`
	// When fetching, provides the `chunk_index` for the _next_ chunk. If
	// absent, indicates there are no more chunks. The next chunk can be fetched
	// with a :method:statementexecution/getstatementresultchunkn request.
	NextChunkIndex types.Int64 `tfsdk:"next_chunk_index"`
	// When fetching, provides a link to fetch the _next_ chunk. If absent,
	// indicates there are no more chunks. This link is an absolute `path` to be
	// joined with your `$DATABRICKS_HOST`, and should be treated as an opaque
	// link. This is an alternative to using `next_chunk_index`.
	NextChunkInternalLink types.String `tfsdk:"next_chunk_internal_link"`
	// The number of rows within the result chunk.
	RowCount types.Int64 `tfsdk:"row_count"`
	// The starting row offset within the result set.
	RowOffset types.Int64 `tfsdk:"row_offset"`
}

Contains the result data of a single chunk when using `INLINE` disposition. When using `EXTERNAL_LINKS` disposition, the array `external_links` is used instead to provide URLs to the result data in cloud storage. Exactly one of these alternatives is used. (While the `external_links` array prepares the API to return multiple links in a single response. Currently only a single link is returned.)

func (ResultData_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ResultData_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ResultData_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ResultData_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. 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 (*ResultData_SdkV2) GetDataArray added in v1.62.1

func (m *ResultData_SdkV2) GetDataArray(ctx context.Context) ([]types.String, bool)

GetDataArray returns the value of the DataArray field in ResultData_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (m *ResultData_SdkV2) GetExternalLinks(ctx context.Context) ([]ExternalLink_SdkV2, bool)

GetExternalLinks returns the value of the ExternalLinks field in ResultData_SdkV2 as a slice of ExternalLink_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ResultData_SdkV2) SetDataArray added in v1.62.1

func (m *ResultData_SdkV2) SetDataArray(ctx context.Context, v []types.String)

SetDataArray sets the value of the DataArray field in ResultData_SdkV2.

func (m *ResultData_SdkV2) SetExternalLinks(ctx context.Context, v []ExternalLink_SdkV2)

SetExternalLinks sets the value of the ExternalLinks field in ResultData_SdkV2.

func (*ResultData_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResultData_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResultData_SdkV2)

func (*ResultData_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ResultData_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ResultData_SdkV2)

func (ResultData_SdkV2) ToObjectValue added in v1.62.1

func (m ResultData_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, ResultData_SdkV2 only implements ToObjectValue() and Type().

func (ResultData_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ResultManifest

type ResultManifest struct {
	// Array of result set chunk metadata.
	Chunks types.List `tfsdk:"chunks"`

	Format types.String `tfsdk:"format"`

	Schema types.Object `tfsdk:"schema"`
	// The total number of bytes in the result set. This field is not available
	// when using `INLINE` disposition.
	TotalByteCount types.Int64 `tfsdk:"total_byte_count"`
	// The total number of chunks that the result set has been divided into.
	TotalChunkCount types.Int64 `tfsdk:"total_chunk_count"`
	// The total number of rows in the result set.
	TotalRowCount types.Int64 `tfsdk:"total_row_count"`
	// Indicates whether the result is truncated due to `row_limit` or
	// `byte_limit`.
	Truncated types.Bool `tfsdk:"truncated"`
}

The result manifest provides schema and metadata for the result set.

func (ResultManifest) ApplySchemaCustomizations added in v1.63.0

func (m ResultManifest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultManifest) GetChunks added in v1.61.0

func (m *ResultManifest) GetChunks(ctx context.Context) ([]BaseChunkInfo, bool)

GetChunks returns the value of the Chunks field in ResultManifest as a slice of BaseChunkInfo values. If the field is unknown or null, the boolean return value is false.

func (ResultManifest) GetComplexFieldTypes added in v1.61.0

func (m ResultManifest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. 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 (*ResultManifest) GetSchema added in v1.61.0

func (m *ResultManifest) GetSchema(ctx context.Context) (ResultSchema, bool)

GetSchema returns the value of the Schema field in ResultManifest as a ResultSchema value. If the field is unknown or null, the boolean return value is false.

func (*ResultManifest) SetChunks added in v1.61.0

func (m *ResultManifest) SetChunks(ctx context.Context, v []BaseChunkInfo)

SetChunks sets the value of the Chunks field in ResultManifest.

func (*ResultManifest) SetSchema added in v1.61.0

func (m *ResultManifest) SetSchema(ctx context.Context, v ResultSchema)

SetSchema sets the value of the Schema field in ResultManifest.

func (*ResultManifest) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResultManifest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResultManifest)

func (*ResultManifest) SyncFieldsDuringRead added in v1.86.0

func (to *ResultManifest) SyncFieldsDuringRead(ctx context.Context, from ResultManifest)

func (ResultManifest) ToObjectValue added in v1.61.0

func (m ResultManifest) 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, ResultManifest only implements ToObjectValue() and Type().

func (ResultManifest) Type added in v1.61.0

func (m ResultManifest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ResultManifest_SdkV2 added in v1.62.1

type ResultManifest_SdkV2 struct {
	// Array of result set chunk metadata.
	Chunks types.List `tfsdk:"chunks"`

	Format types.String `tfsdk:"format"`

	Schema types.List `tfsdk:"schema"`
	// The total number of bytes in the result set. This field is not available
	// when using `INLINE` disposition.
	TotalByteCount types.Int64 `tfsdk:"total_byte_count"`
	// The total number of chunks that the result set has been divided into.
	TotalChunkCount types.Int64 `tfsdk:"total_chunk_count"`
	// The total number of rows in the result set.
	TotalRowCount types.Int64 `tfsdk:"total_row_count"`
	// Indicates whether the result is truncated due to `row_limit` or
	// `byte_limit`.
	Truncated types.Bool `tfsdk:"truncated"`
}

The result manifest provides schema and metadata for the result set.

func (ResultManifest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ResultManifest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultManifest_SdkV2) GetChunks added in v1.62.1

GetChunks returns the value of the Chunks field in ResultManifest_SdkV2 as a slice of BaseChunkInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ResultManifest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ResultManifest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. 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 (*ResultManifest_SdkV2) GetSchema added in v1.62.1

GetSchema returns the value of the Schema field in ResultManifest_SdkV2 as a ResultSchema_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ResultManifest_SdkV2) SetChunks added in v1.62.1

SetChunks sets the value of the Chunks field in ResultManifest_SdkV2.

func (*ResultManifest_SdkV2) SetSchema added in v1.62.1

SetSchema sets the value of the Schema field in ResultManifest_SdkV2.

func (*ResultManifest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResultManifest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResultManifest_SdkV2)

func (*ResultManifest_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ResultManifest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ResultManifest_SdkV2)

func (ResultManifest_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, ResultManifest_SdkV2 only implements ToObjectValue() and Type().

func (ResultManifest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ResultSchema

type ResultSchema struct {
	ColumnCount types.Int64 `tfsdk:"column_count"`

	Columns types.List `tfsdk:"columns"`
}

The schema is an ordered list of column descriptions.

func (ResultSchema) ApplySchemaCustomizations added in v1.63.0

func (m ResultSchema) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultSchema) GetColumns added in v1.61.0

func (m *ResultSchema) GetColumns(ctx context.Context) ([]ColumnInfo, bool)

GetColumns returns the value of the Columns field in ResultSchema as a slice of ColumnInfo values. If the field is unknown or null, the boolean return value is false.

func (ResultSchema) GetComplexFieldTypes added in v1.61.0

func (m ResultSchema) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultSchema. 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 (*ResultSchema) SetColumns added in v1.61.0

func (m *ResultSchema) SetColumns(ctx context.Context, v []ColumnInfo)

SetColumns sets the value of the Columns field in ResultSchema.

func (*ResultSchema) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResultSchema) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResultSchema)

func (*ResultSchema) SyncFieldsDuringRead added in v1.86.0

func (to *ResultSchema) SyncFieldsDuringRead(ctx context.Context, from ResultSchema)

func (ResultSchema) ToObjectValue added in v1.61.0

func (m ResultSchema) 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, ResultSchema only implements ToObjectValue() and Type().

func (ResultSchema) Type added in v1.61.0

func (m ResultSchema) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ResultSchema_SdkV2 added in v1.62.1

type ResultSchema_SdkV2 struct {
	ColumnCount types.Int64 `tfsdk:"column_count"`

	Columns types.List `tfsdk:"columns"`
}

The schema is an ordered list of column descriptions.

func (ResultSchema_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ResultSchema_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultSchema_SdkV2) GetColumns added in v1.62.1

func (m *ResultSchema_SdkV2) GetColumns(ctx context.Context) ([]ColumnInfo_SdkV2, bool)

GetColumns returns the value of the Columns field in ResultSchema_SdkV2 as a slice of ColumnInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ResultSchema_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ResultSchema_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultSchema. 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 (*ResultSchema_SdkV2) SetColumns added in v1.62.1

func (m *ResultSchema_SdkV2) SetColumns(ctx context.Context, v []ColumnInfo_SdkV2)

SetColumns sets the value of the Columns field in ResultSchema_SdkV2.

func (*ResultSchema_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResultSchema_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResultSchema_SdkV2)

func (*ResultSchema_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ResultSchema_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ResultSchema_SdkV2)

func (ResultSchema_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, ResultSchema_SdkV2 only implements ToObjectValue() and Type().

func (ResultSchema_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ServiceError

type ServiceError struct {
	ErrorCode types.String `tfsdk:"error_code"`
	// A brief summary of the error condition.
	Message types.String `tfsdk:"message"`
}

func (ServiceError) ApplySchemaCustomizations added in v1.63.0

func (m ServiceError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServiceError) GetComplexFieldTypes added in v1.61.0

func (m ServiceError) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ServiceError. 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 (*ServiceError) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServiceError) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServiceError)

func (*ServiceError) SyncFieldsDuringRead added in v1.86.0

func (to *ServiceError) SyncFieldsDuringRead(ctx context.Context, from ServiceError)

func (ServiceError) ToObjectValue added in v1.61.0

func (m ServiceError) 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, ServiceError only implements ToObjectValue() and Type().

func (ServiceError) Type added in v1.61.0

func (m ServiceError) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ServiceError_SdkV2 added in v1.62.1

type ServiceError_SdkV2 struct {
	ErrorCode types.String `tfsdk:"error_code"`
	// A brief summary of the error condition.
	Message types.String `tfsdk:"message"`
}

func (ServiceError_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ServiceError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServiceError_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ServiceError_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ServiceError. 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 (*ServiceError_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ServiceError_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ServiceError_SdkV2)

func (*ServiceError_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ServiceError_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ServiceError_SdkV2)

func (ServiceError_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, ServiceError_SdkV2 only implements ToObjectValue() and Type().

func (ServiceError_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SetRequest

type SetRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// Object ID. The ACL for the object with this UUID is overwritten by this
	// request's POST content.
	ObjectId types.String `tfsdk:"-"`
	// The type of object permission to set.
	ObjectType types.String `tfsdk:"-"`
}

Set object ACL

func (SetRequest) ApplySchemaCustomizations added in v1.76.0

func (m SetRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*SetRequest) GetAccessControlList added in v1.61.0

func (m *SetRequest) GetAccessControlList(ctx context.Context) ([]AccessControl, bool)

GetAccessControlList returns the value of the AccessControlList field in SetRequest as a slice of AccessControl values. If the field is unknown or null, the boolean return value is false.

func (SetRequest) GetComplexFieldTypes added in v1.61.0

func (m SetRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetRequest. 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 (*SetRequest) SetAccessControlList added in v1.61.0

func (m *SetRequest) SetAccessControlList(ctx context.Context, v []AccessControl)

SetAccessControlList sets the value of the AccessControlList field in SetRequest.

func (*SetRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *SetRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SetRequest)

func (*SetRequest) SyncFieldsDuringRead added in v1.91.0

func (to *SetRequest) SyncFieldsDuringRead(ctx context.Context, from SetRequest)

func (SetRequest) ToObjectValue added in v1.61.0

func (m SetRequest) 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, SetRequest only implements ToObjectValue() and Type().

func (SetRequest) Type added in v1.61.0

func (m SetRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SetRequest_SdkV2 added in v1.62.1

type SetRequest_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// Object ID. The ACL for the object with this UUID is overwritten by this
	// request's POST content.
	ObjectId types.String `tfsdk:"-"`
	// The type of object permission to set.
	ObjectType types.String `tfsdk:"-"`
}

Set object ACL

func (SetRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m SetRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*SetRequest_SdkV2) GetAccessControlList added in v1.62.1

func (m *SetRequest_SdkV2) GetAccessControlList(ctx context.Context) ([]AccessControl_SdkV2, bool)

GetAccessControlList returns the value of the AccessControlList field in SetRequest_SdkV2 as a slice of AccessControl_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (SetRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m SetRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetRequest. 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 (*SetRequest_SdkV2) SetAccessControlList added in v1.62.1

func (m *SetRequest_SdkV2) SetAccessControlList(ctx context.Context, v []AccessControl_SdkV2)

SetAccessControlList sets the value of the AccessControlList field in SetRequest_SdkV2.

func (*SetRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *SetRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SetRequest_SdkV2)

func (*SetRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *SetRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SetRequest_SdkV2)

func (SetRequest_SdkV2) ToObjectValue added in v1.62.1

func (m SetRequest_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, SetRequest_SdkV2 only implements ToObjectValue() and Type().

func (SetRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SetResponse

type SetResponse struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// An object's type and UUID, separated by a forward slash (/) character.
	ObjectId types.String `tfsdk:"object_id"`
	// A singular noun object type.
	ObjectType types.String `tfsdk:"object_type"`
}

func (SetResponse) ApplySchemaCustomizations added in v1.76.0

func (m SetResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*SetResponse) GetAccessControlList added in v1.61.0

func (m *SetResponse) GetAccessControlList(ctx context.Context) ([]AccessControl, bool)

GetAccessControlList returns the value of the AccessControlList field in SetResponse as a slice of AccessControl values. If the field is unknown or null, the boolean return value is false.

func (SetResponse) GetComplexFieldTypes added in v1.61.0

func (m SetResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetResponse. 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 (*SetResponse) SetAccessControlList added in v1.61.0

func (m *SetResponse) SetAccessControlList(ctx context.Context, v []AccessControl)

SetAccessControlList sets the value of the AccessControlList field in SetResponse.

func (*SetResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SetResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SetResponse)

func (*SetResponse) SyncFieldsDuringRead added in v1.86.0

func (to *SetResponse) SyncFieldsDuringRead(ctx context.Context, from SetResponse)

func (SetResponse) ToObjectValue added in v1.61.0

func (m SetResponse) 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, SetResponse only implements ToObjectValue() and Type().

func (SetResponse) Type added in v1.61.0

func (m SetResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SetResponse_SdkV2 added in v1.62.1

type SetResponse_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// An object's type and UUID, separated by a forward slash (/) character.
	ObjectId types.String `tfsdk:"object_id"`
	// A singular noun object type.
	ObjectType types.String `tfsdk:"object_type"`
}

func (SetResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m SetResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*SetResponse_SdkV2) GetAccessControlList added in v1.62.1

func (m *SetResponse_SdkV2) GetAccessControlList(ctx context.Context) ([]AccessControl_SdkV2, bool)

GetAccessControlList returns the value of the AccessControlList field in SetResponse_SdkV2 as a slice of AccessControl_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (SetResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m SetResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetResponse. 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 (*SetResponse_SdkV2) SetAccessControlList added in v1.62.1

func (m *SetResponse_SdkV2) SetAccessControlList(ctx context.Context, v []AccessControl_SdkV2)

SetAccessControlList sets the value of the AccessControlList field in SetResponse_SdkV2.

func (*SetResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SetResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SetResponse_SdkV2)

func (*SetResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *SetResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SetResponse_SdkV2)

func (SetResponse_SdkV2) ToObjectValue added in v1.62.1

func (m SetResponse_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, SetResponse_SdkV2 only implements ToObjectValue() and Type().

func (SetResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SetWorkspaceWarehouseConfigRequest

type SetWorkspaceWarehouseConfigRequest struct {
	// Optional: Channel selection details
	Channel types.Object `tfsdk:"channel"`
	// Deprecated: Use sql_configuration_parameters
	ConfigParam types.Object `tfsdk:"config_param"`
	// Spark confs for external hive metastore configuration JSON serialized
	// size must be less than <= 512K
	DataAccessConfig types.List `tfsdk:"data_access_config"`
	// Enable Serverless compute for SQL warehouses
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// List of Warehouse Types allowed in this workspace (limits allowed value
	// of the type field in CreateWarehouse and EditWarehouse). Note: Some types
	// cannot be disabled, they don't need to be specified in
	// SetWorkspaceWarehouseConfig. Note: Disabling a type may cause existing
	// warehouses to be converted to another type. Used by frontend to save
	// specific type availability in the warehouse create and edit form UI.
	EnabledWarehouseTypes types.List `tfsdk:"enabled_warehouse_types"`
	// Deprecated: Use sql_configuration_parameters
	GlobalParam types.Object `tfsdk:"global_param"`
	// GCP only: Google Service Account used to pass to cluster to access Google
	// Cloud Storage
	GoogleServiceAccount types.String `tfsdk:"google_service_account"`
	// AWS Only: The instance profile used to pass an IAM role to the SQL
	// warehouses. This configuration is also applied to the workspace's
	// serverless compute for notebooks and jobs.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Security policy for warehouses
	SecurityPolicy types.String `tfsdk:"security_policy"`
	// SQL configuration parameters
	SqlConfigurationParameters types.Object `tfsdk:"sql_configuration_parameters"`
}

Sets the workspace level warehouse configuration that is shared by all SQL warehouses in this workspace.

This is idempotent.

func (SetWorkspaceWarehouseConfigRequest) ApplySchemaCustomizations added in v1.63.0

func (*SetWorkspaceWarehouseConfigRequest) GetChannel added in v1.61.0

GetChannel returns the value of the Channel field in SetWorkspaceWarehouseConfigRequest as a Channel value. If the field is unknown or null, the boolean return value is false.

func (SetWorkspaceWarehouseConfigRequest) GetComplexFieldTypes added in v1.61.0

func (m SetWorkspaceWarehouseConfigRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigRequest. 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 (*SetWorkspaceWarehouseConfigRequest) GetConfigParam added in v1.61.0

GetConfigParam returns the value of the ConfigParam field in SetWorkspaceWarehouseConfigRequest as a RepeatedEndpointConfPairs value. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest) GetDataAccessConfig added in v1.61.0

func (m *SetWorkspaceWarehouseConfigRequest) GetDataAccessConfig(ctx context.Context) ([]EndpointConfPair, bool)

GetDataAccessConfig returns the value of the DataAccessConfig field in SetWorkspaceWarehouseConfigRequest as a slice of EndpointConfPair values. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest) GetEnabledWarehouseTypes added in v1.61.0

func (m *SetWorkspaceWarehouseConfigRequest) GetEnabledWarehouseTypes(ctx context.Context) ([]WarehouseTypePair, bool)

GetEnabledWarehouseTypes returns the value of the EnabledWarehouseTypes field in SetWorkspaceWarehouseConfigRequest as a slice of WarehouseTypePair values. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest) GetGlobalParam added in v1.61.0

GetGlobalParam returns the value of the GlobalParam field in SetWorkspaceWarehouseConfigRequest as a RepeatedEndpointConfPairs value. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest) GetSqlConfigurationParameters added in v1.61.0

func (m *SetWorkspaceWarehouseConfigRequest) GetSqlConfigurationParameters(ctx context.Context) (RepeatedEndpointConfPairs, bool)

GetSqlConfigurationParameters returns the value of the SqlConfigurationParameters field in SetWorkspaceWarehouseConfigRequest as a RepeatedEndpointConfPairs value. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest) SetChannel added in v1.61.0

SetChannel sets the value of the Channel field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SetConfigParam added in v1.61.0

SetConfigParam sets the value of the ConfigParam field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SetDataAccessConfig added in v1.61.0

func (m *SetWorkspaceWarehouseConfigRequest) SetDataAccessConfig(ctx context.Context, v []EndpointConfPair)

SetDataAccessConfig sets the value of the DataAccessConfig field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SetEnabledWarehouseTypes added in v1.61.0

func (m *SetWorkspaceWarehouseConfigRequest) SetEnabledWarehouseTypes(ctx context.Context, v []WarehouseTypePair)

SetEnabledWarehouseTypes sets the value of the EnabledWarehouseTypes field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SetGlobalParam added in v1.61.0

SetGlobalParam sets the value of the GlobalParam field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SetSqlConfigurationParameters added in v1.61.0

func (m *SetWorkspaceWarehouseConfigRequest) SetSqlConfigurationParameters(ctx context.Context, v RepeatedEndpointConfPairs)

SetSqlConfigurationParameters sets the value of the SqlConfigurationParameters field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *SetWorkspaceWarehouseConfigRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SetWorkspaceWarehouseConfigRequest)

func (*SetWorkspaceWarehouseConfigRequest) SyncFieldsDuringRead added in v1.91.0

func (SetWorkspaceWarehouseConfigRequest) 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, SetWorkspaceWarehouseConfigRequest only implements ToObjectValue() and Type().

func (SetWorkspaceWarehouseConfigRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type SetWorkspaceWarehouseConfigRequest_SdkV2 added in v1.62.1

type SetWorkspaceWarehouseConfigRequest_SdkV2 struct {
	// Optional: Channel selection details
	Channel types.List `tfsdk:"channel"`
	// Deprecated: Use sql_configuration_parameters
	ConfigParam types.List `tfsdk:"config_param"`
	// Spark confs for external hive metastore configuration JSON serialized
	// size must be less than <= 512K
	DataAccessConfig types.List `tfsdk:"data_access_config"`
	// Enable Serverless compute for SQL warehouses
	EnableServerlessCompute types.Bool `tfsdk:"enable_serverless_compute"`
	// List of Warehouse Types allowed in this workspace (limits allowed value
	// of the type field in CreateWarehouse and EditWarehouse). Note: Some types
	// cannot be disabled, they don't need to be specified in
	// SetWorkspaceWarehouseConfig. Note: Disabling a type may cause existing
	// warehouses to be converted to another type. Used by frontend to save
	// specific type availability in the warehouse create and edit form UI.
	EnabledWarehouseTypes types.List `tfsdk:"enabled_warehouse_types"`
	// Deprecated: Use sql_configuration_parameters
	GlobalParam types.List `tfsdk:"global_param"`
	// GCP only: Google Service Account used to pass to cluster to access Google
	// Cloud Storage
	GoogleServiceAccount types.String `tfsdk:"google_service_account"`
	// AWS Only: The instance profile used to pass an IAM role to the SQL
	// warehouses. This configuration is also applied to the workspace's
	// serverless compute for notebooks and jobs.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Security policy for warehouses
	SecurityPolicy types.String `tfsdk:"security_policy"`
	// SQL configuration parameters
	SqlConfigurationParameters types.List `tfsdk:"sql_configuration_parameters"`
}

Sets the workspace level warehouse configuration that is shared by all SQL warehouses in this workspace.

This is idempotent.

func (SetWorkspaceWarehouseConfigRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) GetChannel added in v1.62.1

GetChannel returns the value of the Channel field in SetWorkspaceWarehouseConfigRequest_SdkV2 as a Channel_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (SetWorkspaceWarehouseConfigRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigRequest. 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 (*SetWorkspaceWarehouseConfigRequest_SdkV2) GetConfigParam added in v1.62.1

GetConfigParam returns the value of the ConfigParam field in SetWorkspaceWarehouseConfigRequest_SdkV2 as a RepeatedEndpointConfPairs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) GetDataAccessConfig added in v1.62.1

GetDataAccessConfig returns the value of the DataAccessConfig field in SetWorkspaceWarehouseConfigRequest_SdkV2 as a slice of EndpointConfPair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) GetEnabledWarehouseTypes added in v1.62.1

GetEnabledWarehouseTypes returns the value of the EnabledWarehouseTypes field in SetWorkspaceWarehouseConfigRequest_SdkV2 as a slice of WarehouseTypePair_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) GetGlobalParam added in v1.62.1

GetGlobalParam returns the value of the GlobalParam field in SetWorkspaceWarehouseConfigRequest_SdkV2 as a RepeatedEndpointConfPairs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) GetSqlConfigurationParameters added in v1.62.1

GetSqlConfigurationParameters returns the value of the SqlConfigurationParameters field in SetWorkspaceWarehouseConfigRequest_SdkV2 as a RepeatedEndpointConfPairs_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SetChannel added in v1.62.1

SetChannel sets the value of the Channel field in SetWorkspaceWarehouseConfigRequest_SdkV2.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SetConfigParam added in v1.62.1

SetConfigParam sets the value of the ConfigParam field in SetWorkspaceWarehouseConfigRequest_SdkV2.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SetDataAccessConfig added in v1.62.1

SetDataAccessConfig sets the value of the DataAccessConfig field in SetWorkspaceWarehouseConfigRequest_SdkV2.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SetEnabledWarehouseTypes added in v1.62.1

SetEnabledWarehouseTypes sets the value of the EnabledWarehouseTypes field in SetWorkspaceWarehouseConfigRequest_SdkV2.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SetGlobalParam added in v1.62.1

SetGlobalParam sets the value of the GlobalParam field in SetWorkspaceWarehouseConfigRequest_SdkV2.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SetSqlConfigurationParameters added in v1.62.1

SetSqlConfigurationParameters sets the value of the SqlConfigurationParameters field in SetWorkspaceWarehouseConfigRequest_SdkV2.

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (SetWorkspaceWarehouseConfigRequest_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, SetWorkspaceWarehouseConfigRequest_SdkV2 only implements ToObjectValue() and Type().

func (SetWorkspaceWarehouseConfigRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SetWorkspaceWarehouseConfigResponse

type SetWorkspaceWarehouseConfigResponse struct {
}

func (SetWorkspaceWarehouseConfigResponse) ApplySchemaCustomizations added in v1.63.0

func (SetWorkspaceWarehouseConfigResponse) GetComplexFieldTypes added in v1.61.0

func (m SetWorkspaceWarehouseConfigResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigResponse. 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 (*SetWorkspaceWarehouseConfigResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SetWorkspaceWarehouseConfigResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SetWorkspaceWarehouseConfigResponse)

func (*SetWorkspaceWarehouseConfigResponse) SyncFieldsDuringRead added in v1.86.0

func (SetWorkspaceWarehouseConfigResponse) 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, SetWorkspaceWarehouseConfigResponse only implements ToObjectValue() and Type().

func (SetWorkspaceWarehouseConfigResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type SetWorkspaceWarehouseConfigResponse_SdkV2 added in v1.62.1

type SetWorkspaceWarehouseConfigResponse_SdkV2 struct {
}

func (SetWorkspaceWarehouseConfigResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (SetWorkspaceWarehouseConfigResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigResponse. 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 (*SetWorkspaceWarehouseConfigResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*SetWorkspaceWarehouseConfigResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (SetWorkspaceWarehouseConfigResponse_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, SetWorkspaceWarehouseConfigResponse_SdkV2 only implements ToObjectValue() and Type().

func (SetWorkspaceWarehouseConfigResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StartRequest

type StartRequest struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (StartRequest) ApplySchemaCustomizations added in v1.76.0

func (m StartRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartRequest) GetComplexFieldTypes added in v1.61.0

func (m StartRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartRequest. 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 (*StartRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *StartRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartRequest)

func (*StartRequest) SyncFieldsDuringRead added in v1.91.0

func (to *StartRequest) SyncFieldsDuringRead(ctx context.Context, from StartRequest)

func (StartRequest) ToObjectValue added in v1.61.0

func (m StartRequest) 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, StartRequest only implements ToObjectValue() and Type().

func (StartRequest) Type added in v1.61.0

func (m StartRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type StartRequest_SdkV2 added in v1.62.1

type StartRequest_SdkV2 struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (StartRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m StartRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StartRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartRequest. 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 (*StartRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *StartRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartRequest_SdkV2)

func (*StartRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *StartRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartRequest_SdkV2)

func (StartRequest_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, StartRequest_SdkV2 only implements ToObjectValue() and Type().

func (StartRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StartWarehouseResponse

type StartWarehouseResponse struct {
}

func (StartWarehouseResponse) ApplySchemaCustomizations added in v1.63.0

func (m StartWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (m StartWarehouseResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartWarehouseResponse. 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 (*StartWarehouseResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StartWarehouseResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartWarehouseResponse)

func (*StartWarehouseResponse) SyncFieldsDuringRead added in v1.86.0

func (to *StartWarehouseResponse) SyncFieldsDuringRead(ctx context.Context, from StartWarehouseResponse)

func (StartWarehouseResponse) 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, StartWarehouseResponse only implements ToObjectValue() and Type().

func (StartWarehouseResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type StartWarehouseResponse_SdkV2 added in v1.62.1

type StartWarehouseResponse_SdkV2 struct {
}

func (StartWarehouseResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (StartWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StartWarehouseResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartWarehouseResponse. 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 (*StartWarehouseResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StartWarehouseResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartWarehouseResponse_SdkV2)

func (*StartWarehouseResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *StartWarehouseResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartWarehouseResponse_SdkV2)

func (StartWarehouseResponse_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, StartWarehouseResponse_SdkV2 only implements ToObjectValue() and Type().

func (StartWarehouseResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StatementParameterListItem

type StatementParameterListItem struct {
	// The name of a parameter marker to be substituted in the statement.
	Name types.String `tfsdk:"name"`
	// The data type, given as a string. For example: `INT`, `STRING`,
	// `DECIMAL(10,2)`. If no type is given the type is assumed to be `STRING`.
	// Complex types, such as `ARRAY`, `MAP`, and `STRUCT` are not supported.
	// For valid types, refer to the section [Data types] of the SQL language
	// reference.
	//
	// [Data types]: https://docs.databricks.com/sql/language-manual/functions/cast.html
	Type_ types.String `tfsdk:"type"`
	// The value to substitute, represented as a string. If omitted, the value
	// is interpreted as NULL.
	Value types.String `tfsdk:"value"`
}

func (StatementParameterListItem) ApplySchemaCustomizations added in v1.63.0

func (m StatementParameterListItem) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementParameterListItem) GetComplexFieldTypes added in v1.61.0

func (m StatementParameterListItem) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementParameterListItem. 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 (*StatementParameterListItem) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StatementParameterListItem) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StatementParameterListItem)

func (*StatementParameterListItem) SyncFieldsDuringRead added in v1.86.0

func (to *StatementParameterListItem) SyncFieldsDuringRead(ctx context.Context, from StatementParameterListItem)

func (StatementParameterListItem) 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, StatementParameterListItem only implements ToObjectValue() and Type().

func (StatementParameterListItem) Type

Type implements basetypes.ObjectValuable.

type StatementParameterListItem_SdkV2 added in v1.62.1

type StatementParameterListItem_SdkV2 struct {
	// The name of a parameter marker to be substituted in the statement.
	Name types.String `tfsdk:"name"`
	// The data type, given as a string. For example: `INT`, `STRING`,
	// `DECIMAL(10,2)`. If no type is given the type is assumed to be `STRING`.
	// Complex types, such as `ARRAY`, `MAP`, and `STRUCT` are not supported.
	// For valid types, refer to the section [Data types] of the SQL language
	// reference.
	//
	// [Data types]: https://docs.databricks.com/sql/language-manual/functions/cast.html
	Type_ types.String `tfsdk:"type"`
	// The value to substitute, represented as a string. If omitted, the value
	// is interpreted as NULL.
	Value types.String `tfsdk:"value"`
}

func (StatementParameterListItem_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (StatementParameterListItem_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StatementParameterListItem_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementParameterListItem. 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 (*StatementParameterListItem_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StatementParameterListItem_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StatementParameterListItem_SdkV2)

func (*StatementParameterListItem_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (StatementParameterListItem_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, StatementParameterListItem_SdkV2 only implements ToObjectValue() and Type().

func (StatementParameterListItem_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StatementResponse

type StatementResponse struct {
	Manifest types.Object `tfsdk:"manifest"`

	Result types.Object `tfsdk:"result"`
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"statement_id"`

	Status types.Object `tfsdk:"status"`
}

func (StatementResponse) ApplySchemaCustomizations added in v1.63.0

func (m StatementResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementResponse) GetComplexFieldTypes added in v1.61.0

func (m StatementResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementResponse. 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 (*StatementResponse) GetManifest added in v1.61.0

func (m *StatementResponse) GetManifest(ctx context.Context) (ResultManifest, bool)

GetManifest returns the value of the Manifest field in StatementResponse as a ResultManifest value. If the field is unknown or null, the boolean return value is false.

func (*StatementResponse) GetResult added in v1.61.0

func (m *StatementResponse) GetResult(ctx context.Context) (ResultData, bool)

GetResult returns the value of the Result field in StatementResponse as a ResultData value. If the field is unknown or null, the boolean return value is false.

func (*StatementResponse) GetStatus added in v1.61.0

func (m *StatementResponse) GetStatus(ctx context.Context) (StatementStatus, bool)

GetStatus returns the value of the Status field in StatementResponse as a StatementStatus value. If the field is unknown or null, the boolean return value is false.

func (*StatementResponse) SetManifest added in v1.61.0

func (m *StatementResponse) SetManifest(ctx context.Context, v ResultManifest)

SetManifest sets the value of the Manifest field in StatementResponse.

func (*StatementResponse) SetResult added in v1.61.0

func (m *StatementResponse) SetResult(ctx context.Context, v ResultData)

SetResult sets the value of the Result field in StatementResponse.

func (*StatementResponse) SetStatus added in v1.61.0

func (m *StatementResponse) SetStatus(ctx context.Context, v StatementStatus)

SetStatus sets the value of the Status field in StatementResponse.

func (*StatementResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StatementResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StatementResponse)

func (*StatementResponse) SyncFieldsDuringRead added in v1.86.0

func (to *StatementResponse) SyncFieldsDuringRead(ctx context.Context, from StatementResponse)

func (StatementResponse) ToObjectValue added in v1.61.0

func (m StatementResponse) 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, StatementResponse only implements ToObjectValue() and Type().

func (StatementResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type StatementResponse_SdkV2 added in v1.62.1

type StatementResponse_SdkV2 struct {
	Manifest types.List `tfsdk:"manifest"`

	Result types.List `tfsdk:"result"`
	// The statement ID is returned upon successfully submitting a SQL
	// statement, and is a required reference for all subsequent calls.
	StatementId types.String `tfsdk:"statement_id"`

	Status types.List `tfsdk:"status"`
}

func (StatementResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m StatementResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StatementResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementResponse. 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 (*StatementResponse_SdkV2) GetManifest added in v1.62.1

GetManifest returns the value of the Manifest field in StatementResponse_SdkV2 as a ResultManifest_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*StatementResponse_SdkV2) GetResult added in v1.62.1

GetResult returns the value of the Result field in StatementResponse_SdkV2 as a ResultData_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*StatementResponse_SdkV2) GetStatus added in v1.62.1

GetStatus returns the value of the Status field in StatementResponse_SdkV2 as a StatementStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*StatementResponse_SdkV2) SetManifest added in v1.62.1

SetManifest sets the value of the Manifest field in StatementResponse_SdkV2.

func (*StatementResponse_SdkV2) SetResult added in v1.62.1

SetResult sets the value of the Result field in StatementResponse_SdkV2.

func (*StatementResponse_SdkV2) SetStatus added in v1.62.1

SetStatus sets the value of the Status field in StatementResponse_SdkV2.

func (*StatementResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StatementResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StatementResponse_SdkV2)

func (*StatementResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *StatementResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StatementResponse_SdkV2)

func (StatementResponse_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, StatementResponse_SdkV2 only implements ToObjectValue() and Type().

func (StatementResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StatementStatus

type StatementStatus struct {
	Error types.Object `tfsdk:"error"`
	// Statement execution state: - `PENDING`: waiting for warehouse -
	// `RUNNING`: running - `SUCCEEDED`: execution was successful, result data
	// available for fetch - `FAILED`: execution failed; reason for failure
	// described in accompanying error message - `CANCELED`: user canceled; can
	// come from explicit cancel call, or timeout with `on_wait_timeout=CANCEL`
	// - `CLOSED`: execution successful, and statement closed; result no longer
	// available for fetch
	State types.String `tfsdk:"state"`
}

The status response includes execution state and if relevant, error information.

func (StatementStatus) ApplySchemaCustomizations added in v1.63.0

func (m StatementStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementStatus) GetComplexFieldTypes added in v1.61.0

func (m StatementStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementStatus. 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 (*StatementStatus) GetError added in v1.61.0

func (m *StatementStatus) GetError(ctx context.Context) (ServiceError, bool)

GetError returns the value of the Error field in StatementStatus as a ServiceError value. If the field is unknown or null, the boolean return value is false.

func (*StatementStatus) SetError added in v1.61.0

func (m *StatementStatus) SetError(ctx context.Context, v ServiceError)

SetError sets the value of the Error field in StatementStatus.

func (*StatementStatus) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StatementStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StatementStatus)

func (*StatementStatus) SyncFieldsDuringRead added in v1.86.0

func (to *StatementStatus) SyncFieldsDuringRead(ctx context.Context, from StatementStatus)

func (StatementStatus) ToObjectValue added in v1.61.0

func (m StatementStatus) 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, StatementStatus only implements ToObjectValue() and Type().

func (StatementStatus) Type added in v1.61.0

func (m StatementStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type StatementStatus_SdkV2 added in v1.62.1

type StatementStatus_SdkV2 struct {
	Error types.List `tfsdk:"error"`
	// Statement execution state: - `PENDING`: waiting for warehouse -
	// `RUNNING`: running - `SUCCEEDED`: execution was successful, result data
	// available for fetch - `FAILED`: execution failed; reason for failure
	// described in accompanying error message - `CANCELED`: user canceled; can
	// come from explicit cancel call, or timeout with `on_wait_timeout=CANCEL`
	// - `CLOSED`: execution successful, and statement closed; result no longer
	// available for fetch
	State types.String `tfsdk:"state"`
}

The status response includes execution state and if relevant, error information.

func (StatementStatus_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m StatementStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StatementStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementStatus. 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 (*StatementStatus_SdkV2) GetError added in v1.62.1

GetError returns the value of the Error field in StatementStatus_SdkV2 as a ServiceError_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*StatementStatus_SdkV2) SetError added in v1.62.1

SetError sets the value of the Error field in StatementStatus_SdkV2.

func (*StatementStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StatementStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StatementStatus_SdkV2)

func (*StatementStatus_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *StatementStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StatementStatus_SdkV2)

func (StatementStatus_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, StatementStatus_SdkV2 only implements ToObjectValue() and Type().

func (StatementStatus_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StopRequest

type StopRequest struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (StopRequest) ApplySchemaCustomizations added in v1.76.0

func (m StopRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StopRequest) GetComplexFieldTypes added in v1.61.0

func (m StopRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StopRequest. 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 (*StopRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *StopRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StopRequest)

func (*StopRequest) SyncFieldsDuringRead added in v1.91.0

func (to *StopRequest) SyncFieldsDuringRead(ctx context.Context, from StopRequest)

func (StopRequest) ToObjectValue added in v1.61.0

func (m StopRequest) 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, StopRequest only implements ToObjectValue() and Type().

func (StopRequest) Type added in v1.61.0

func (m StopRequest) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type StopRequest_SdkV2 added in v1.62.1

type StopRequest_SdkV2 struct {
	// Required. Id of the SQL warehouse.
	Id types.String `tfsdk:"-"`
}

func (StopRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m StopRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StopRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StopRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StopRequest. 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 (*StopRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *StopRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StopRequest_SdkV2)

func (*StopRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *StopRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StopRequest_SdkV2)

func (StopRequest_SdkV2) ToObjectValue added in v1.62.1

func (m StopRequest_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, StopRequest_SdkV2 only implements ToObjectValue() and Type().

func (StopRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StopWarehouseResponse

type StopWarehouseResponse struct {
}

func (StopWarehouseResponse) ApplySchemaCustomizations added in v1.63.0

func (m StopWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StopWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (m StopWarehouseResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StopWarehouseResponse. 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 (*StopWarehouseResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StopWarehouseResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StopWarehouseResponse)

func (*StopWarehouseResponse) SyncFieldsDuringRead added in v1.86.0

func (to *StopWarehouseResponse) SyncFieldsDuringRead(ctx context.Context, from StopWarehouseResponse)

func (StopWarehouseResponse) 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, StopWarehouseResponse only implements ToObjectValue() and Type().

func (StopWarehouseResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type StopWarehouseResponse_SdkV2 added in v1.62.1

type StopWarehouseResponse_SdkV2 struct {
}

func (StopWarehouseResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m StopWarehouseResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StopWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StopWarehouseResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StopWarehouseResponse. 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 (*StopWarehouseResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StopWarehouseResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StopWarehouseResponse_SdkV2)

func (*StopWarehouseResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *StopWarehouseResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StopWarehouseResponse_SdkV2)

func (StopWarehouseResponse_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, StopWarehouseResponse_SdkV2 only implements ToObjectValue() and Type().

func (StopWarehouseResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Success

type Success struct {
	Message types.String `tfsdk:"message"`
}

func (Success) ApplySchemaCustomizations added in v1.63.0

func (m Success) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Success) GetComplexFieldTypes added in v1.61.0

func (m Success) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Success. 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 (*Success) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Success) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Success)

func (*Success) SyncFieldsDuringRead added in v1.86.0

func (to *Success) SyncFieldsDuringRead(ctx context.Context, from Success)

func (Success) ToObjectValue added in v1.61.0

func (m Success) 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, Success only implements ToObjectValue() and Type().

func (Success) Type added in v1.61.0

func (m Success) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Success_SdkV2 added in v1.62.1

type Success_SdkV2 struct {
	Message types.String `tfsdk:"message"`
}

func (Success_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Success_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Success_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Success_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Success. 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 (*Success_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Success_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Success_SdkV2)

func (*Success_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Success_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Success_SdkV2)

func (Success_SdkV2) ToObjectValue added in v1.62.1

func (m Success_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, Success_SdkV2 only implements ToObjectValue() and Type().

func (Success_SdkV2) Type added in v1.62.1

func (m Success_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type TaskTimeOverRange added in v1.83.0

type TaskTimeOverRange struct {
	Entries types.List `tfsdk:"entries"`
	// interval length for all entries (difference in start time and end time of
	// an entry range) the same for all entries start time of first interval is
	// query_start_time_ms
	Interval types.Int64 `tfsdk:"interval"`
}

func (TaskTimeOverRange) ApplySchemaCustomizations added in v1.83.0

func (m TaskTimeOverRange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TaskTimeOverRange) GetComplexFieldTypes added in v1.83.0

func (m TaskTimeOverRange) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskTimeOverRange. 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 (*TaskTimeOverRange) GetEntries added in v1.83.0

GetEntries returns the value of the Entries field in TaskTimeOverRange as a slice of TaskTimeOverRangeEntry values. If the field is unknown or null, the boolean return value is false.

func (*TaskTimeOverRange) SetEntries added in v1.83.0

func (m *TaskTimeOverRange) SetEntries(ctx context.Context, v []TaskTimeOverRangeEntry)

SetEntries sets the value of the Entries field in TaskTimeOverRange.

func (*TaskTimeOverRange) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TaskTimeOverRange) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TaskTimeOverRange)

func (*TaskTimeOverRange) SyncFieldsDuringRead added in v1.86.0

func (to *TaskTimeOverRange) SyncFieldsDuringRead(ctx context.Context, from TaskTimeOverRange)

func (TaskTimeOverRange) ToObjectValue added in v1.83.0

func (m TaskTimeOverRange) 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, TaskTimeOverRange only implements ToObjectValue() and Type().

func (TaskTimeOverRange) Type added in v1.83.0

Type implements basetypes.ObjectValuable.

type TaskTimeOverRangeEntry added in v1.83.0

type TaskTimeOverRangeEntry struct {
	// total task completion time in this time range, aggregated over all stages
	// and jobs in the query
	TaskCompletedTimeMs types.Int64 `tfsdk:"task_completed_time_ms"`
}

func (TaskTimeOverRangeEntry) ApplySchemaCustomizations added in v1.83.0

func (m TaskTimeOverRangeEntry) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TaskTimeOverRangeEntry) GetComplexFieldTypes added in v1.83.0

func (m TaskTimeOverRangeEntry) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskTimeOverRangeEntry. 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 (*TaskTimeOverRangeEntry) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TaskTimeOverRangeEntry) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TaskTimeOverRangeEntry)

func (*TaskTimeOverRangeEntry) SyncFieldsDuringRead added in v1.86.0

func (to *TaskTimeOverRangeEntry) SyncFieldsDuringRead(ctx context.Context, from TaskTimeOverRangeEntry)

func (TaskTimeOverRangeEntry) ToObjectValue added in v1.83.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, TaskTimeOverRangeEntry only implements ToObjectValue() and Type().

func (TaskTimeOverRangeEntry) Type added in v1.83.0

Type implements basetypes.ObjectValuable.

type TaskTimeOverRangeEntry_SdkV2 added in v1.83.0

type TaskTimeOverRangeEntry_SdkV2 struct {
	// total task completion time in this time range, aggregated over all stages
	// and jobs in the query
	TaskCompletedTimeMs types.Int64 `tfsdk:"task_completed_time_ms"`
}

func (TaskTimeOverRangeEntry_SdkV2) ApplySchemaCustomizations added in v1.83.0

func (TaskTimeOverRangeEntry_SdkV2) GetComplexFieldTypes added in v1.83.0

func (m TaskTimeOverRangeEntry_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskTimeOverRangeEntry. 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 (*TaskTimeOverRangeEntry_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TaskTimeOverRangeEntry_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TaskTimeOverRangeEntry_SdkV2)

func (*TaskTimeOverRangeEntry_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TaskTimeOverRangeEntry_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TaskTimeOverRangeEntry_SdkV2)

func (TaskTimeOverRangeEntry_SdkV2) ToObjectValue added in v1.83.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, TaskTimeOverRangeEntry_SdkV2 only implements ToObjectValue() and Type().

func (TaskTimeOverRangeEntry_SdkV2) Type added in v1.83.0

Type implements basetypes.ObjectValuable.

type TaskTimeOverRange_SdkV2 added in v1.83.0

type TaskTimeOverRange_SdkV2 struct {
	Entries types.List `tfsdk:"entries"`
	// interval length for all entries (difference in start time and end time of
	// an entry range) the same for all entries start time of first interval is
	// query_start_time_ms
	Interval types.Int64 `tfsdk:"interval"`
}

func (TaskTimeOverRange_SdkV2) ApplySchemaCustomizations added in v1.83.0

func (m TaskTimeOverRange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TaskTimeOverRange_SdkV2) GetComplexFieldTypes added in v1.83.0

func (m TaskTimeOverRange_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskTimeOverRange. 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 (*TaskTimeOverRange_SdkV2) GetEntries added in v1.83.0

GetEntries returns the value of the Entries field in TaskTimeOverRange_SdkV2 as a slice of TaskTimeOverRangeEntry_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*TaskTimeOverRange_SdkV2) SetEntries added in v1.83.0

SetEntries sets the value of the Entries field in TaskTimeOverRange_SdkV2.

func (*TaskTimeOverRange_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TaskTimeOverRange_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TaskTimeOverRange_SdkV2)

func (*TaskTimeOverRange_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TaskTimeOverRange_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TaskTimeOverRange_SdkV2)

func (TaskTimeOverRange_SdkV2) ToObjectValue added in v1.83.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, TaskTimeOverRange_SdkV2 only implements ToObjectValue() and Type().

func (TaskTimeOverRange_SdkV2) Type added in v1.83.0

Type implements basetypes.ObjectValuable.

type TerminationReason

type TerminationReason struct {
	// status code indicating why the cluster was terminated
	Code types.String `tfsdk:"code"`
	// list of parameters that provide additional information about why the
	// cluster was terminated
	Parameters types.Map `tfsdk:"parameters"`
	// type of the termination
	Type_ types.String `tfsdk:"type"`
}

func (TerminationReason) ApplySchemaCustomizations added in v1.63.0

func (m TerminationReason) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TerminationReason) GetComplexFieldTypes added in v1.61.0

func (m TerminationReason) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. 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 (*TerminationReason) GetParameters added in v1.61.0

func (m *TerminationReason) GetParameters(ctx context.Context) (map[string]types.String, bool)

GetParameters returns the value of the Parameters field in TerminationReason as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*TerminationReason) SetParameters added in v1.61.0

func (m *TerminationReason) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason.

func (*TerminationReason) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TerminationReason) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TerminationReason)

func (*TerminationReason) SyncFieldsDuringRead added in v1.86.0

func (to *TerminationReason) SyncFieldsDuringRead(ctx context.Context, from TerminationReason)

func (TerminationReason) ToObjectValue added in v1.61.0

func (m TerminationReason) 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, TerminationReason only implements ToObjectValue() and Type().

func (TerminationReason) Type

Type implements basetypes.ObjectValuable.

type TerminationReason_SdkV2 added in v1.62.1

type TerminationReason_SdkV2 struct {
	// status code indicating why the cluster was terminated
	Code types.String `tfsdk:"code"`
	// list of parameters that provide additional information about why the
	// cluster was terminated
	Parameters types.Map `tfsdk:"parameters"`
	// type of the termination
	Type_ types.String `tfsdk:"type"`
}

func (TerminationReason_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m TerminationReason_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TerminationReason_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TerminationReason_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. 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 (*TerminationReason_SdkV2) GetParameters added in v1.62.1

func (m *TerminationReason_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)

GetParameters returns the value of the Parameters field in TerminationReason_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*TerminationReason_SdkV2) SetParameters added in v1.62.1

func (m *TerminationReason_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason_SdkV2.

func (*TerminationReason_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TerminationReason_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TerminationReason_SdkV2)

func (*TerminationReason_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TerminationReason_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TerminationReason_SdkV2)

func (TerminationReason_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, TerminationReason_SdkV2 only implements ToObjectValue() and Type().

func (TerminationReason_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type TextValue

type TextValue struct {
	Value types.String `tfsdk:"value"`
}

func (TextValue) ApplySchemaCustomizations added in v1.63.0

func (m TextValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TextValue) GetComplexFieldTypes added in v1.61.0

func (m TextValue) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TextValue. 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 (*TextValue) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TextValue) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TextValue)

func (*TextValue) SyncFieldsDuringRead added in v1.86.0

func (to *TextValue) SyncFieldsDuringRead(ctx context.Context, from TextValue)

func (TextValue) ToObjectValue added in v1.61.0

func (m TextValue) 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, TextValue only implements ToObjectValue() and Type().

func (TextValue) Type added in v1.61.0

func (m TextValue) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type TextValue_SdkV2 added in v1.62.1

type TextValue_SdkV2 struct {
	Value types.String `tfsdk:"value"`
}

func (TextValue_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m TextValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TextValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TextValue_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TextValue. 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 (*TextValue_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TextValue_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TextValue_SdkV2)

func (*TextValue_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TextValue_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TextValue_SdkV2)

func (TextValue_SdkV2) ToObjectValue added in v1.62.1

func (m TextValue_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, TextValue_SdkV2 only implements ToObjectValue() and Type().

func (TextValue_SdkV2) Type added in v1.62.1

func (m TextValue_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type TimeRange

type TimeRange struct {
	// The end time in milliseconds.
	EndTimeMs types.Int64 `tfsdk:"end_time_ms"`
	// The start time in milliseconds.
	StartTimeMs types.Int64 `tfsdk:"start_time_ms"`
}

func (TimeRange) ApplySchemaCustomizations added in v1.63.0

func (m TimeRange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TimeRange) GetComplexFieldTypes added in v1.61.0

func (m TimeRange) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TimeRange. 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 (*TimeRange) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TimeRange) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TimeRange)

func (*TimeRange) SyncFieldsDuringRead added in v1.86.0

func (to *TimeRange) SyncFieldsDuringRead(ctx context.Context, from TimeRange)

func (TimeRange) ToObjectValue added in v1.61.0

func (m TimeRange) 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, TimeRange only implements ToObjectValue() and Type().

func (TimeRange) Type added in v1.61.0

func (m TimeRange) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type TimeRange_SdkV2 added in v1.62.1

type TimeRange_SdkV2 struct {
	// The end time in milliseconds.
	EndTimeMs types.Int64 `tfsdk:"end_time_ms"`
	// The start time in milliseconds.
	StartTimeMs types.Int64 `tfsdk:"start_time_ms"`
}

func (TimeRange_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m TimeRange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TimeRange_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TimeRange_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TimeRange. 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 (*TimeRange_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TimeRange_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TimeRange_SdkV2)

func (*TimeRange_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TimeRange_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TimeRange_SdkV2)

func (TimeRange_SdkV2) ToObjectValue added in v1.62.1

func (m TimeRange_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, TimeRange_SdkV2 only implements ToObjectValue() and Type().

func (TimeRange_SdkV2) Type added in v1.62.1

func (m TimeRange_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type TransferOwnershipObjectId

type TransferOwnershipObjectId struct {
	// Email address for the new owner, who must exist in the workspace.
	NewOwner types.String `tfsdk:"new_owner"`
}

func (TransferOwnershipObjectId) ApplySchemaCustomizations added in v1.63.0

func (m TransferOwnershipObjectId) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TransferOwnershipObjectId) GetComplexFieldTypes added in v1.61.0

func (m TransferOwnershipObjectId) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipObjectId. 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 (*TransferOwnershipObjectId) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TransferOwnershipObjectId) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TransferOwnershipObjectId)

func (*TransferOwnershipObjectId) SyncFieldsDuringRead added in v1.86.0

func (to *TransferOwnershipObjectId) SyncFieldsDuringRead(ctx context.Context, from TransferOwnershipObjectId)

func (TransferOwnershipObjectId) 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, TransferOwnershipObjectId only implements ToObjectValue() and Type().

func (TransferOwnershipObjectId) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type TransferOwnershipObjectId_SdkV2 added in v1.62.1

type TransferOwnershipObjectId_SdkV2 struct {
	// Email address for the new owner, who must exist in the workspace.
	NewOwner types.String `tfsdk:"new_owner"`
}

func (TransferOwnershipObjectId_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (TransferOwnershipObjectId_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TransferOwnershipObjectId_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipObjectId. 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 (*TransferOwnershipObjectId_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TransferOwnershipObjectId_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TransferOwnershipObjectId_SdkV2)

func (*TransferOwnershipObjectId_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (TransferOwnershipObjectId_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, TransferOwnershipObjectId_SdkV2 only implements ToObjectValue() and Type().

func (TransferOwnershipObjectId_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type TransferOwnershipRequest

type TransferOwnershipRequest struct {
	// Email address for the new owner, who must exist in the workspace.
	NewOwner types.String `tfsdk:"new_owner"`
	// The ID of the object on which to change ownership.
	ObjectId types.Object `tfsdk:"-"`
	// The type of object on which to change ownership.
	ObjectType types.String `tfsdk:"-"`
}

func (TransferOwnershipRequest) ApplySchemaCustomizations added in v1.76.0

func (m TransferOwnershipRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TransferOwnershipRequest) GetComplexFieldTypes added in v1.61.0

func (m TransferOwnershipRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipRequest. 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 (*TransferOwnershipRequest) GetObjectId added in v1.61.0

GetObjectId returns the value of the ObjectId field in TransferOwnershipRequest as a TransferOwnershipObjectId value. If the field is unknown or null, the boolean return value is false.

func (*TransferOwnershipRequest) SetObjectId added in v1.61.0

SetObjectId sets the value of the ObjectId field in TransferOwnershipRequest.

func (*TransferOwnershipRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TransferOwnershipRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TransferOwnershipRequest)

func (*TransferOwnershipRequest) SyncFieldsDuringRead added in v1.91.0

func (to *TransferOwnershipRequest) SyncFieldsDuringRead(ctx context.Context, from TransferOwnershipRequest)

func (TransferOwnershipRequest) 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, TransferOwnershipRequest only implements ToObjectValue() and Type().

func (TransferOwnershipRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type TransferOwnershipRequest_SdkV2 added in v1.62.1

type TransferOwnershipRequest_SdkV2 struct {
	// Email address for the new owner, who must exist in the workspace.
	NewOwner types.String `tfsdk:"new_owner"`
	// The ID of the object on which to change ownership.
	ObjectId types.List `tfsdk:"-"`
	// The type of object on which to change ownership.
	ObjectType types.String `tfsdk:"-"`
}

func (TransferOwnershipRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (TransferOwnershipRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TransferOwnershipRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipRequest. 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 (*TransferOwnershipRequest_SdkV2) GetObjectId added in v1.62.1

GetObjectId returns the value of the ObjectId field in TransferOwnershipRequest_SdkV2 as a TransferOwnershipObjectId_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*TransferOwnershipRequest_SdkV2) SetObjectId added in v1.62.1

SetObjectId sets the value of the ObjectId field in TransferOwnershipRequest_SdkV2.

func (*TransferOwnershipRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TransferOwnershipRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TransferOwnershipRequest_SdkV2)

func (*TransferOwnershipRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (TransferOwnershipRequest_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, TransferOwnershipRequest_SdkV2 only implements ToObjectValue() and Type().

func (TransferOwnershipRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type TrashAlertRequest

type TrashAlertRequest struct {
	Id types.String `tfsdk:"-"`
}

func (TrashAlertRequest) ApplySchemaCustomizations added in v1.76.0

func (m TrashAlertRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrashAlertRequest) GetComplexFieldTypes added in v1.61.0

func (m TrashAlertRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashAlertRequest. 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 (*TrashAlertRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TrashAlertRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrashAlertRequest)

func (*TrashAlertRequest) SyncFieldsDuringRead added in v1.91.0

func (to *TrashAlertRequest) SyncFieldsDuringRead(ctx context.Context, from TrashAlertRequest)

func (TrashAlertRequest) ToObjectValue added in v1.61.0

func (m TrashAlertRequest) 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, TrashAlertRequest only implements ToObjectValue() and Type().

func (TrashAlertRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type TrashAlertRequest_SdkV2 added in v1.62.1

type TrashAlertRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (TrashAlertRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m TrashAlertRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrashAlertRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TrashAlertRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashAlertRequest. 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 (*TrashAlertRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TrashAlertRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrashAlertRequest_SdkV2)

func (*TrashAlertRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *TrashAlertRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TrashAlertRequest_SdkV2)

func (TrashAlertRequest_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, TrashAlertRequest_SdkV2 only implements ToObjectValue() and Type().

func (TrashAlertRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type TrashAlertV2Request added in v1.76.0

type TrashAlertV2Request struct {
	Id types.String `tfsdk:"-"`
}

func (TrashAlertV2Request) ApplySchemaCustomizations added in v1.76.0

func (m TrashAlertV2Request) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrashAlertV2Request) GetComplexFieldTypes added in v1.76.0

func (m TrashAlertV2Request) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashAlertV2Request. 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 (*TrashAlertV2Request) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TrashAlertV2Request) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrashAlertV2Request)

func (*TrashAlertV2Request) SyncFieldsDuringRead added in v1.91.0

func (to *TrashAlertV2Request) SyncFieldsDuringRead(ctx context.Context, from TrashAlertV2Request)

func (TrashAlertV2Request) ToObjectValue added in v1.76.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, TrashAlertV2Request only implements ToObjectValue() and Type().

func (TrashAlertV2Request) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type TrashAlertV2Request_SdkV2 added in v1.76.0

type TrashAlertV2Request_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (TrashAlertV2Request_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m TrashAlertV2Request_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrashAlertV2Request_SdkV2) GetComplexFieldTypes added in v1.76.0

func (m TrashAlertV2Request_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashAlertV2Request. 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 (*TrashAlertV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TrashAlertV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrashAlertV2Request_SdkV2)

func (*TrashAlertV2Request_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *TrashAlertV2Request_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TrashAlertV2Request_SdkV2)

func (TrashAlertV2Request_SdkV2) ToObjectValue added in v1.76.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, TrashAlertV2Request_SdkV2 only implements ToObjectValue() and Type().

func (TrashAlertV2Request_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type TrashQueryRequest

type TrashQueryRequest struct {
	Id types.String `tfsdk:"-"`
}

func (TrashQueryRequest) ApplySchemaCustomizations added in v1.76.0

func (m TrashQueryRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrashQueryRequest) GetComplexFieldTypes added in v1.61.0

func (m TrashQueryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashQueryRequest. 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 (*TrashQueryRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TrashQueryRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrashQueryRequest)

func (*TrashQueryRequest) SyncFieldsDuringRead added in v1.91.0

func (to *TrashQueryRequest) SyncFieldsDuringRead(ctx context.Context, from TrashQueryRequest)

func (TrashQueryRequest) ToObjectValue added in v1.61.0

func (m TrashQueryRequest) 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, TrashQueryRequest only implements ToObjectValue() and Type().

func (TrashQueryRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type TrashQueryRequest_SdkV2 added in v1.62.1

type TrashQueryRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`
}

func (TrashQueryRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m TrashQueryRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TrashQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TrashQueryRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashQueryRequest. 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 (*TrashQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *TrashQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TrashQueryRequest_SdkV2)

func (*TrashQueryRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *TrashQueryRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TrashQueryRequest_SdkV2)

func (TrashQueryRequest_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, TrashQueryRequest_SdkV2 only implements ToObjectValue() and Type().

func (TrashQueryRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateAlertRequest

type UpdateAlertRequest struct {
	Alert types.Object `tfsdk:"alert"`
	// If true, automatically resolve alert display name conflicts. Otherwise,
	// fail the request if the alert's display name conflicts with an existing
	// alert's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`

	Id types.String `tfsdk:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"update_mask"`
}

func (UpdateAlertRequest) ApplySchemaCustomizations added in v1.63.0

func (m UpdateAlertRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateAlertRequest) GetAlert added in v1.61.0

GetAlert returns the value of the Alert field in UpdateAlertRequest as a UpdateAlertRequestAlert value. If the field is unknown or null, the boolean return value is false.

func (UpdateAlertRequest) GetComplexFieldTypes added in v1.61.0

func (m UpdateAlertRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequest. 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 (*UpdateAlertRequest) SetAlert added in v1.61.0

SetAlert sets the value of the Alert field in UpdateAlertRequest.

func (*UpdateAlertRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateAlertRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateAlertRequest)

func (*UpdateAlertRequest) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateAlertRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateAlertRequest)

func (UpdateAlertRequest) 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, UpdateAlertRequest only implements ToObjectValue() and Type().

func (UpdateAlertRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateAlertRequestAlert

type UpdateAlertRequestAlert struct {
	// Trigger conditions of the alert.
	Condition types.Object `tfsdk:"condition"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
}

func (UpdateAlertRequestAlert) ApplySchemaCustomizations added in v1.63.0

func (m UpdateAlertRequestAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateAlertRequestAlert) GetComplexFieldTypes added in v1.61.0

func (m UpdateAlertRequestAlert) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequestAlert. 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 (*UpdateAlertRequestAlert) GetCondition added in v1.61.0

func (m *UpdateAlertRequestAlert) GetCondition(ctx context.Context) (AlertCondition, bool)

GetCondition returns the value of the Condition field in UpdateAlertRequestAlert as a AlertCondition value. If the field is unknown or null, the boolean return value is false.

func (*UpdateAlertRequestAlert) SetCondition added in v1.61.0

func (m *UpdateAlertRequestAlert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in UpdateAlertRequestAlert.

func (*UpdateAlertRequestAlert) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateAlertRequestAlert) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateAlertRequestAlert)

func (*UpdateAlertRequestAlert) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateAlertRequestAlert) SyncFieldsDuringRead(ctx context.Context, from UpdateAlertRequestAlert)

func (UpdateAlertRequestAlert) 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, UpdateAlertRequestAlert only implements ToObjectValue() and Type().

func (UpdateAlertRequestAlert) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateAlertRequestAlert_SdkV2 added in v1.62.1

type UpdateAlertRequestAlert_SdkV2 struct {
	// Trigger conditions of the alert.
	Condition types.List `tfsdk:"condition"`
	// Custom body of alert notification, if it exists. See [here] for custom
	// templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomBody types.String `tfsdk:"custom_body"`
	// Custom subject of alert notification, if it exists. This can include
	// email subject entries and Slack notification headers, for example. See
	// [here] for custom templating instructions.
	//
	// [here]: https://docs.databricks.com/sql/user/alerts/index.html
	CustomSubject types.String `tfsdk:"custom_subject"`
	// The display name of the alert.
	DisplayName types.String `tfsdk:"display_name"`
	// Whether to notify alert subscribers when alert returns back to normal.
	NotifyOnOk types.Bool `tfsdk:"notify_on_ok"`
	// The owner's username. This field is set to "Unavailable" if the user has
	// been deleted.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// UUID of the query attached to the alert.
	QueryId types.String `tfsdk:"query_id"`
	// Number of seconds an alert must wait after being triggered to rearm
	// itself. After rearming, it can be triggered again. If 0 or not specified,
	// the alert will not be triggered again.
	SecondsToRetrigger types.Int64 `tfsdk:"seconds_to_retrigger"`
}

func (UpdateAlertRequestAlert_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (UpdateAlertRequestAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateAlertRequestAlert_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequestAlert. 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 (*UpdateAlertRequestAlert_SdkV2) GetCondition added in v1.62.1

GetCondition returns the value of the Condition field in UpdateAlertRequestAlert_SdkV2 as a AlertCondition_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateAlertRequestAlert_SdkV2) SetCondition added in v1.62.1

SetCondition sets the value of the Condition field in UpdateAlertRequestAlert_SdkV2.

func (*UpdateAlertRequestAlert_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateAlertRequestAlert_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateAlertRequestAlert_SdkV2)

func (*UpdateAlertRequestAlert_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateAlertRequestAlert_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateAlertRequestAlert_SdkV2)

func (UpdateAlertRequestAlert_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, UpdateAlertRequestAlert_SdkV2 only implements ToObjectValue() and Type().

func (UpdateAlertRequestAlert_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateAlertRequest_SdkV2 added in v1.62.1

type UpdateAlertRequest_SdkV2 struct {
	Alert types.List `tfsdk:"alert"`
	// If true, automatically resolve alert display name conflicts. Otherwise,
	// fail the request if the alert's display name conflicts with an existing
	// alert's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`

	Id types.String `tfsdk:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"update_mask"`
}

func (UpdateAlertRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UpdateAlertRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateAlertRequest_SdkV2) GetAlert added in v1.62.1

GetAlert returns the value of the Alert field in UpdateAlertRequest_SdkV2 as a UpdateAlertRequestAlert_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateAlertRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateAlertRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequest. 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 (*UpdateAlertRequest_SdkV2) SetAlert added in v1.62.1

SetAlert sets the value of the Alert field in UpdateAlertRequest_SdkV2.

func (*UpdateAlertRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateAlertRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateAlertRequest_SdkV2)

func (*UpdateAlertRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateAlertRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateAlertRequest_SdkV2)

func (UpdateAlertRequest_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, UpdateAlertRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateAlertRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateAlertV2Request added in v1.76.0

type UpdateAlertV2Request struct {
	Alert types.Object `tfsdk:"alert"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateAlertV2Request) ApplySchemaCustomizations added in v1.76.0

func (m UpdateAlertV2Request) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateAlertV2Request) GetAlert added in v1.76.0

func (m *UpdateAlertV2Request) GetAlert(ctx context.Context) (AlertV2, bool)

GetAlert returns the value of the Alert field in UpdateAlertV2Request as a AlertV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateAlertV2Request) GetComplexFieldTypes added in v1.76.0

func (m UpdateAlertV2Request) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertV2Request. 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 (*UpdateAlertV2Request) SetAlert added in v1.76.0

func (m *UpdateAlertV2Request) SetAlert(ctx context.Context, v AlertV2)

SetAlert sets the value of the Alert field in UpdateAlertV2Request.

func (*UpdateAlertV2Request) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateAlertV2Request) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateAlertV2Request)

func (*UpdateAlertV2Request) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateAlertV2Request) SyncFieldsDuringRead(ctx context.Context, from UpdateAlertV2Request)

func (UpdateAlertV2Request) ToObjectValue added in v1.76.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, UpdateAlertV2Request only implements ToObjectValue() and Type().

func (UpdateAlertV2Request) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type UpdateAlertV2Request_SdkV2 added in v1.76.0

type UpdateAlertV2Request_SdkV2 struct {
	Alert types.List `tfsdk:"alert"`
	// UUID identifying the alert.
	Id types.String `tfsdk:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"-"`
}

func (UpdateAlertV2Request_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m UpdateAlertV2Request_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateAlertV2Request_SdkV2) GetAlert added in v1.76.0

GetAlert returns the value of the Alert field in UpdateAlertV2Request_SdkV2 as a AlertV2_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateAlertV2Request_SdkV2) GetComplexFieldTypes added in v1.76.0

func (m UpdateAlertV2Request_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertV2Request. 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 (*UpdateAlertV2Request_SdkV2) SetAlert added in v1.76.0

SetAlert sets the value of the Alert field in UpdateAlertV2Request_SdkV2.

func (*UpdateAlertV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateAlertV2Request_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateAlertV2Request_SdkV2)

func (*UpdateAlertV2Request_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateAlertV2Request_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateAlertV2Request_SdkV2)

func (UpdateAlertV2Request_SdkV2) ToObjectValue added in v1.76.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, UpdateAlertV2Request_SdkV2 only implements ToObjectValue() and Type().

func (UpdateAlertV2Request_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type UpdateQueryRequest

type UpdateQueryRequest struct {
	// If true, automatically resolve alert display name conflicts. Otherwise,
	// fail the request if the alert's display name conflicts with an existing
	// alert's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`

	Id types.String `tfsdk:"-"`

	Query types.Object `tfsdk:"query"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"update_mask"`
}

func (UpdateQueryRequest) ApplySchemaCustomizations added in v1.63.0

func (m UpdateQueryRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateQueryRequest) GetComplexFieldTypes added in v1.61.0

func (m UpdateQueryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequest. 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 (*UpdateQueryRequest) GetQuery added in v1.61.0

GetQuery returns the value of the Query field in UpdateQueryRequest as a UpdateQueryRequestQuery value. If the field is unknown or null, the boolean return value is false.

func (*UpdateQueryRequest) SetQuery added in v1.61.0

SetQuery sets the value of the Query field in UpdateQueryRequest.

func (*UpdateQueryRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateQueryRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateQueryRequest)

func (*UpdateQueryRequest) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateQueryRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateQueryRequest)

func (UpdateQueryRequest) 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, UpdateQueryRequest only implements ToObjectValue() and Type().

func (UpdateQueryRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateQueryRequestQuery

type UpdateQueryRequestQuery struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// Username of the user that owns the query.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (UpdateQueryRequestQuery) ApplySchemaCustomizations added in v1.63.0

func (m UpdateQueryRequestQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateQueryRequestQuery) GetComplexFieldTypes added in v1.61.0

func (m UpdateQueryRequestQuery) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequestQuery. 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 (*UpdateQueryRequestQuery) GetParameters added in v1.61.0

func (m *UpdateQueryRequestQuery) GetParameters(ctx context.Context) ([]QueryParameter, bool)

GetParameters returns the value of the Parameters field in UpdateQueryRequestQuery as a slice of QueryParameter values. If the field is unknown or null, the boolean return value is false.

func (*UpdateQueryRequestQuery) GetTags added in v1.61.0

func (m *UpdateQueryRequestQuery) GetTags(ctx context.Context) ([]types.String, bool)

GetTags returns the value of the Tags field in UpdateQueryRequestQuery as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateQueryRequestQuery) SetParameters added in v1.61.0

func (m *UpdateQueryRequestQuery) SetParameters(ctx context.Context, v []QueryParameter)

SetParameters sets the value of the Parameters field in UpdateQueryRequestQuery.

func (*UpdateQueryRequestQuery) SetTags added in v1.61.0

func (m *UpdateQueryRequestQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in UpdateQueryRequestQuery.

func (*UpdateQueryRequestQuery) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateQueryRequestQuery) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateQueryRequestQuery)

func (*UpdateQueryRequestQuery) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateQueryRequestQuery) SyncFieldsDuringRead(ctx context.Context, from UpdateQueryRequestQuery)

func (UpdateQueryRequestQuery) 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, UpdateQueryRequestQuery only implements ToObjectValue() and Type().

func (UpdateQueryRequestQuery) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateQueryRequestQuery_SdkV2 added in v1.62.1

type UpdateQueryRequestQuery_SdkV2 struct {
	// Whether to apply a 1000 row limit to the query result.
	ApplyAutoLimit types.Bool `tfsdk:"apply_auto_limit"`
	// Name of the catalog where this query will be executed.
	Catalog types.String `tfsdk:"catalog"`
	// General description that conveys additional information about this query
	// such as usage notes.
	Description types.String `tfsdk:"description"`
	// Display name of the query that appears in list views, widget headings,
	// and on the query page.
	DisplayName types.String `tfsdk:"display_name"`
	// Username of the user that owns the query.
	OwnerUserName types.String `tfsdk:"owner_user_name"`
	// List of query parameter definitions.
	Parameters types.List `tfsdk:"parameters"`
	// Text of the query to be run.
	QueryText types.String `tfsdk:"query_text"`
	// Sets the "Run as" role for the object.
	RunAsMode types.String `tfsdk:"run_as_mode"`
	// Name of the schema where this query will be executed.
	Schema types.String `tfsdk:"schema"`

	Tags types.List `tfsdk:"tags"`
	// ID of the SQL warehouse attached to the query.
	WarehouseId types.String `tfsdk:"warehouse_id"`
}

func (UpdateQueryRequestQuery_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (UpdateQueryRequestQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateQueryRequestQuery_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequestQuery. 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 (*UpdateQueryRequestQuery_SdkV2) GetParameters added in v1.62.1

GetParameters returns the value of the Parameters field in UpdateQueryRequestQuery_SdkV2 as a slice of QueryParameter_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*UpdateQueryRequestQuery_SdkV2) GetTags added in v1.62.1

GetTags returns the value of the Tags field in UpdateQueryRequestQuery_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateQueryRequestQuery_SdkV2) SetParameters added in v1.62.1

SetParameters sets the value of the Parameters field in UpdateQueryRequestQuery_SdkV2.

func (*UpdateQueryRequestQuery_SdkV2) SetTags added in v1.62.1

SetTags sets the value of the Tags field in UpdateQueryRequestQuery_SdkV2.

func (*UpdateQueryRequestQuery_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateQueryRequestQuery_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateQueryRequestQuery_SdkV2)

func (*UpdateQueryRequestQuery_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateQueryRequestQuery_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateQueryRequestQuery_SdkV2)

func (UpdateQueryRequestQuery_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, UpdateQueryRequestQuery_SdkV2 only implements ToObjectValue() and Type().

func (UpdateQueryRequestQuery_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateQueryRequest_SdkV2 added in v1.62.1

type UpdateQueryRequest_SdkV2 struct {
	// If true, automatically resolve alert display name conflicts. Otherwise,
	// fail the request if the alert's display name conflicts with an existing
	// alert's display name.
	AutoResolveDisplayName types.Bool `tfsdk:"auto_resolve_display_name"`

	Id types.String `tfsdk:"-"`

	Query types.List `tfsdk:"query"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"update_mask"`
}

func (UpdateQueryRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UpdateQueryRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateQueryRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequest. 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 (*UpdateQueryRequest_SdkV2) GetQuery added in v1.62.1

GetQuery returns the value of the Query field in UpdateQueryRequest_SdkV2 as a UpdateQueryRequestQuery_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateQueryRequest_SdkV2) SetQuery added in v1.62.1

SetQuery sets the value of the Query field in UpdateQueryRequest_SdkV2.

func (*UpdateQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateQueryRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateQueryRequest_SdkV2)

func (*UpdateQueryRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateQueryRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateQueryRequest_SdkV2)

func (UpdateQueryRequest_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, UpdateQueryRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateQueryRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateResponse

type UpdateResponse struct {
}

func (UpdateResponse) ApplySchemaCustomizations added in v1.76.0

func (m UpdateResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateResponse) GetComplexFieldTypes added in v1.61.0

func (m UpdateResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. 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 (*UpdateResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateResponse)

func (*UpdateResponse) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateResponse) SyncFieldsDuringRead(ctx context.Context, from UpdateResponse)

func (UpdateResponse) ToObjectValue added in v1.61.0

func (m UpdateResponse) 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, UpdateResponse only implements ToObjectValue() and Type().

func (UpdateResponse) Type added in v1.61.0

func (m UpdateResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateResponse_SdkV2 added in v1.62.1

type UpdateResponse_SdkV2 struct {
}

func (UpdateResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m UpdateResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. 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 (*UpdateResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateResponse_SdkV2)

func (*UpdateResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateResponse_SdkV2)

func (UpdateResponse_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, UpdateResponse_SdkV2 only implements ToObjectValue() and Type().

func (UpdateResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateVisualizationRequest

type UpdateVisualizationRequest struct {
	Id types.String `tfsdk:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"update_mask"`

	Visualization types.Object `tfsdk:"visualization"`
}

func (UpdateVisualizationRequest) ApplySchemaCustomizations added in v1.63.0

func (m UpdateVisualizationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateVisualizationRequest) GetComplexFieldTypes added in v1.61.0

func (m UpdateVisualizationRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequest. 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 (*UpdateVisualizationRequest) GetVisualization added in v1.61.0

GetVisualization returns the value of the Visualization field in UpdateVisualizationRequest as a UpdateVisualizationRequestVisualization value. If the field is unknown or null, the boolean return value is false.

func (*UpdateVisualizationRequest) SetVisualization added in v1.61.0

SetVisualization sets the value of the Visualization field in UpdateVisualizationRequest.

func (*UpdateVisualizationRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateVisualizationRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateVisualizationRequest)

func (*UpdateVisualizationRequest) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateVisualizationRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateVisualizationRequest)

func (UpdateVisualizationRequest) 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, UpdateVisualizationRequest only implements ToObjectValue() and Type().

func (UpdateVisualizationRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateVisualizationRequestVisualization

type UpdateVisualizationRequestVisualization struct {
	// The display name of the visualization.
	DisplayName types.String `tfsdk:"display_name"`
	// The visualization options varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying
	// visualization options directly.
	SerializedOptions types.String `tfsdk:"serialized_options"`
	// The visualization query plan varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying the
	// visualization query plan directly.
	SerializedQueryPlan types.String `tfsdk:"serialized_query_plan"`
	// The type of visualization: counter, table, funnel, and so on.
	Type_ types.String `tfsdk:"type"`
}

func (UpdateVisualizationRequestVisualization) ApplySchemaCustomizations added in v1.63.0

func (UpdateVisualizationRequestVisualization) GetComplexFieldTypes added in v1.61.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequestVisualization. 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 (*UpdateVisualizationRequestVisualization) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*UpdateVisualizationRequestVisualization) SyncFieldsDuringRead added in v1.86.0

func (UpdateVisualizationRequestVisualization) 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, UpdateVisualizationRequestVisualization only implements ToObjectValue() and Type().

func (UpdateVisualizationRequestVisualization) Type

Type implements basetypes.ObjectValuable.

type UpdateVisualizationRequestVisualization_SdkV2 added in v1.62.1

type UpdateVisualizationRequestVisualization_SdkV2 struct {
	// The display name of the visualization.
	DisplayName types.String `tfsdk:"display_name"`
	// The visualization options varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying
	// visualization options directly.
	SerializedOptions types.String `tfsdk:"serialized_options"`
	// The visualization query plan varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying the
	// visualization query plan directly.
	SerializedQueryPlan types.String `tfsdk:"serialized_query_plan"`
	// The type of visualization: counter, table, funnel, and so on.
	Type_ types.String `tfsdk:"type"`
}

func (UpdateVisualizationRequestVisualization_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (UpdateVisualizationRequestVisualization_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequestVisualization. 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 (*UpdateVisualizationRequestVisualization_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*UpdateVisualizationRequestVisualization_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (UpdateVisualizationRequestVisualization_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, UpdateVisualizationRequestVisualization_SdkV2 only implements ToObjectValue() and Type().

func (UpdateVisualizationRequestVisualization_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateVisualizationRequest_SdkV2 added in v1.62.1

type UpdateVisualizationRequest_SdkV2 struct {
	Id types.String `tfsdk:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	//
	// A field mask of `*` indicates full replacement. It’s recommended to
	// always explicitly list the fields being updated and avoid using `*`
	// wildcards, as it can lead to unintended results if the API changes in the
	// future.
	UpdateMask types.String `tfsdk:"update_mask"`

	Visualization types.List `tfsdk:"visualization"`
}

func (UpdateVisualizationRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (UpdateVisualizationRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateVisualizationRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequest. 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 (*UpdateVisualizationRequest_SdkV2) GetVisualization added in v1.62.1

GetVisualization returns the value of the Visualization field in UpdateVisualizationRequest_SdkV2 as a UpdateVisualizationRequestVisualization_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateVisualizationRequest_SdkV2) SetVisualization added in v1.62.1

SetVisualization sets the value of the Visualization field in UpdateVisualizationRequest_SdkV2.

func (*UpdateVisualizationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateVisualizationRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateVisualizationRequest_SdkV2)

func (*UpdateVisualizationRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (UpdateVisualizationRequest_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, UpdateVisualizationRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateVisualizationRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateWidgetRequest added in v1.85.0

type UpdateWidgetRequest struct {
	// Dashboard ID returned by :method:dashboards/create.
	DashboardId types.String `tfsdk:"dashboard_id"`
	// Widget ID returned by :method:dashboardwidgets/create
	Id types.String `tfsdk:"-"`

	Options types.Object `tfsdk:"options"`
	// If this is a textbox widget, the application displays this text. This
	// field is ignored if the widget contains a visualization in the
	// `visualization` field.
	Text types.String `tfsdk:"text"`
	// Query Vizualization ID returned by :method:queryvisualizations/create.
	VisualizationId types.String `tfsdk:"visualization_id"`
	// Width of a widget
	Width types.Int64 `tfsdk:"width"`
}

func (UpdateWidgetRequest) ApplySchemaCustomizations added in v1.91.0

func (m UpdateWidgetRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateWidgetRequest) GetComplexFieldTypes added in v1.85.0

func (m UpdateWidgetRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWidgetRequest. 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 (*UpdateWidgetRequest) GetOptions added in v1.85.0

func (m *UpdateWidgetRequest) GetOptions(ctx context.Context) (WidgetOptions, bool)

GetOptions returns the value of the Options field in UpdateWidgetRequest as a WidgetOptions value. If the field is unknown or null, the boolean return value is false.

func (*UpdateWidgetRequest) SetOptions added in v1.85.0

func (m *UpdateWidgetRequest) SetOptions(ctx context.Context, v WidgetOptions)

SetOptions sets the value of the Options field in UpdateWidgetRequest.

func (*UpdateWidgetRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateWidgetRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateWidgetRequest)

func (*UpdateWidgetRequest) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateWidgetRequest) SyncFieldsDuringRead(ctx context.Context, from UpdateWidgetRequest)

func (UpdateWidgetRequest) 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, UpdateWidgetRequest only implements ToObjectValue() and Type().

func (UpdateWidgetRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type UpdateWidgetRequest_SdkV2 added in v1.85.0

type UpdateWidgetRequest_SdkV2 struct {
	// Dashboard ID returned by :method:dashboards/create.
	DashboardId types.String `tfsdk:"dashboard_id"`
	// Widget ID returned by :method:dashboardwidgets/create
	Id types.String `tfsdk:"-"`

	Options types.List `tfsdk:"options"`
	// If this is a textbox widget, the application displays this text. This
	// field is ignored if the widget contains a visualization in the
	// `visualization` field.
	Text types.String `tfsdk:"text"`
	// Query Vizualization ID returned by :method:queryvisualizations/create.
	VisualizationId types.String `tfsdk:"visualization_id"`
	// Width of a widget
	Width types.Int64 `tfsdk:"width"`
}

func (UpdateWidgetRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (m UpdateWidgetRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateWidgetRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m UpdateWidgetRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWidgetRequest. 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 (*UpdateWidgetRequest_SdkV2) GetOptions added in v1.85.0

GetOptions returns the value of the Options field in UpdateWidgetRequest_SdkV2 as a WidgetOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateWidgetRequest_SdkV2) SetOptions added in v1.85.0

SetOptions sets the value of the Options field in UpdateWidgetRequest_SdkV2.

func (*UpdateWidgetRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateWidgetRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateWidgetRequest_SdkV2)

func (*UpdateWidgetRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateWidgetRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateWidgetRequest_SdkV2)

func (UpdateWidgetRequest_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, UpdateWidgetRequest_SdkV2 only implements ToObjectValue() and Type().

func (UpdateWidgetRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type User

type User struct {
	Email types.String `tfsdk:"email"`

	Id types.Int64 `tfsdk:"id"`

	Name types.String `tfsdk:"name"`
}

func (User) ApplySchemaCustomizations added in v1.63.0

func (m User) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (User) GetComplexFieldTypes added in v1.61.0

func (m User) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in User. 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 (*User) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *User) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from User)

func (*User) SyncFieldsDuringRead added in v1.86.0

func (to *User) SyncFieldsDuringRead(ctx context.Context, from User)

func (User) ToObjectValue added in v1.61.0

func (m User) 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, User only implements ToObjectValue() and Type().

func (User) Type added in v1.61.0

func (m User) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type User_SdkV2 added in v1.62.1

type User_SdkV2 struct {
	Email types.String `tfsdk:"email"`

	Id types.Int64 `tfsdk:"id"`

	Name types.String `tfsdk:"name"`
}

func (User_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m User_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (User_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m User_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in User. 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 (*User_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *User_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from User_SdkV2)

func (*User_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *User_SdkV2) SyncFieldsDuringRead(ctx context.Context, from User_SdkV2)

func (User_SdkV2) ToObjectValue added in v1.62.1

func (m User_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, User_SdkV2 only implements ToObjectValue() and Type().

func (User_SdkV2) Type added in v1.62.1

func (m User_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Visualization

type Visualization struct {
	// The timestamp indicating when the visualization was created.
	CreateTime types.String `tfsdk:"create_time"`
	// The display name of the visualization.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the visualization.
	Id types.String `tfsdk:"id"`
	// UUID of the query that the visualization is attached to.
	QueryId types.String `tfsdk:"query_id"`
	// The visualization options varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying
	// visualization options directly.
	SerializedOptions types.String `tfsdk:"serialized_options"`
	// The visualization query plan varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying the
	// visualization query plan directly.
	SerializedQueryPlan types.String `tfsdk:"serialized_query_plan"`
	// The type of visualization: counter, table, funnel, and so on.
	Type_ types.String `tfsdk:"type"`
	// The timestamp indicating when the visualization was updated.
	UpdateTime types.String `tfsdk:"update_time"`
}

func (Visualization) ApplySchemaCustomizations added in v1.63.0

func (m Visualization) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Visualization) GetComplexFieldTypes added in v1.61.0

func (m Visualization) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Visualization. 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 (*Visualization) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Visualization) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Visualization)

func (*Visualization) SyncFieldsDuringRead added in v1.86.0

func (to *Visualization) SyncFieldsDuringRead(ctx context.Context, from Visualization)

func (Visualization) ToObjectValue added in v1.61.0

func (m Visualization) 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, Visualization only implements ToObjectValue() and Type().

func (Visualization) Type

func (m Visualization) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Visualization_SdkV2 added in v1.62.1

type Visualization_SdkV2 struct {
	// The timestamp indicating when the visualization was created.
	CreateTime types.String `tfsdk:"create_time"`
	// The display name of the visualization.
	DisplayName types.String `tfsdk:"display_name"`
	// UUID identifying the visualization.
	Id types.String `tfsdk:"id"`
	// UUID of the query that the visualization is attached to.
	QueryId types.String `tfsdk:"query_id"`
	// The visualization options varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying
	// visualization options directly.
	SerializedOptions types.String `tfsdk:"serialized_options"`
	// The visualization query plan varies widely from one visualization type to
	// the next and is unsupported. Databricks does not recommend modifying the
	// visualization query plan directly.
	SerializedQueryPlan types.String `tfsdk:"serialized_query_plan"`
	// The type of visualization: counter, table, funnel, and so on.
	Type_ types.String `tfsdk:"type"`
	// The timestamp indicating when the visualization was updated.
	UpdateTime types.String `tfsdk:"update_time"`
}

func (Visualization_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Visualization_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Visualization_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Visualization_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Visualization. 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 (*Visualization_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Visualization_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Visualization_SdkV2)

func (*Visualization_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Visualization_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Visualization_SdkV2)

func (Visualization_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, Visualization_SdkV2 only implements ToObjectValue() and Type().

func (Visualization_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehouseAccessControlRequest

type WarehouseAccessControlRequest 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 (WarehouseAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

func (WarehouseAccessControlRequest) GetComplexFieldTypes added in v1.61.0

func (m WarehouseAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlRequest. 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 (*WarehouseAccessControlRequest) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehouseAccessControlRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehouseAccessControlRequest)

func (*WarehouseAccessControlRequest) SyncFieldsDuringRead added in v1.86.0

func (to *WarehouseAccessControlRequest) SyncFieldsDuringRead(ctx context.Context, from WarehouseAccessControlRequest)

func (WarehouseAccessControlRequest) 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, WarehouseAccessControlRequest only implements ToObjectValue() and Type().

func (WarehouseAccessControlRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehouseAccessControlRequest_SdkV2 added in v1.62.1

type WarehouseAccessControlRequest_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 (WarehouseAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (WarehouseAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehouseAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlRequest. 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 (*WarehouseAccessControlRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehouseAccessControlRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehouseAccessControlRequest_SdkV2)

func (*WarehouseAccessControlRequest_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (WarehouseAccessControlRequest_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, WarehouseAccessControlRequest_SdkV2 only implements ToObjectValue() and Type().

func (WarehouseAccessControlRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehouseAccessControlResponse

type WarehouseAccessControlResponse 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 (WarehouseAccessControlResponse) ApplySchemaCustomizations added in v1.63.0

func (*WarehouseAccessControlResponse) GetAllPermissions added in v1.61.0

GetAllPermissions returns the value of the AllPermissions field in WarehouseAccessControlResponse as a slice of WarehousePermission values. If the field is unknown or null, the boolean return value is false.

func (WarehouseAccessControlResponse) GetComplexFieldTypes added in v1.61.0

func (m WarehouseAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlResponse. 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 (*WarehouseAccessControlResponse) SetAllPermissions added in v1.61.0

func (m *WarehouseAccessControlResponse) SetAllPermissions(ctx context.Context, v []WarehousePermission)

SetAllPermissions sets the value of the AllPermissions field in WarehouseAccessControlResponse.

func (*WarehouseAccessControlResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehouseAccessControlResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehouseAccessControlResponse)

func (*WarehouseAccessControlResponse) SyncFieldsDuringRead added in v1.86.0

func (WarehouseAccessControlResponse) 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, WarehouseAccessControlResponse only implements ToObjectValue() and Type().

func (WarehouseAccessControlResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehouseAccessControlResponse_SdkV2 added in v1.62.1

type WarehouseAccessControlResponse_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 (WarehouseAccessControlResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*WarehouseAccessControlResponse_SdkV2) GetAllPermissions added in v1.62.1

GetAllPermissions returns the value of the AllPermissions field in WarehouseAccessControlResponse_SdkV2 as a slice of WarehousePermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (WarehouseAccessControlResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehouseAccessControlResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlResponse. 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 (*WarehouseAccessControlResponse_SdkV2) SetAllPermissions added in v1.62.1

SetAllPermissions sets the value of the AllPermissions field in WarehouseAccessControlResponse_SdkV2.

func (*WarehouseAccessControlResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehouseAccessControlResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehouseAccessControlResponse_SdkV2)

func (*WarehouseAccessControlResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (WarehouseAccessControlResponse_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, WarehouseAccessControlResponse_SdkV2 only implements ToObjectValue() and Type().

func (WarehouseAccessControlResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehousePermission

type WarehousePermission struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermission) ApplySchemaCustomizations added in v1.63.0

func (m WarehousePermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehousePermission) GetComplexFieldTypes added in v1.61.0

func (m WarehousePermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermission. 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 (*WarehousePermission) GetInheritedFromObject added in v1.61.0

func (m *WarehousePermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in WarehousePermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*WarehousePermission) SetInheritedFromObject added in v1.61.0

func (m *WarehousePermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in WarehousePermission.

func (*WarehousePermission) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehousePermission) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermission)

func (*WarehousePermission) SyncFieldsDuringRead added in v1.86.0

func (to *WarehousePermission) SyncFieldsDuringRead(ctx context.Context, from WarehousePermission)

func (WarehousePermission) 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, WarehousePermission only implements ToObjectValue() and Type().

func (WarehousePermission) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehousePermission_SdkV2 added in v1.62.1

type WarehousePermission_SdkV2 struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WarehousePermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehousePermission_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehousePermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermission. 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 (*WarehousePermission_SdkV2) GetInheritedFromObject added in v1.62.1

func (m *WarehousePermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in WarehousePermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*WarehousePermission_SdkV2) SetInheritedFromObject added in v1.62.1

func (m *WarehousePermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in WarehousePermission_SdkV2.

func (*WarehousePermission_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehousePermission_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermission_SdkV2)

func (*WarehousePermission_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WarehousePermission_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WarehousePermission_SdkV2)

func (WarehousePermission_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, WarehousePermission_SdkV2 only implements ToObjectValue() and Type().

func (WarehousePermission_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehousePermissions

type WarehousePermissions struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (WarehousePermissions) ApplySchemaCustomizations added in v1.63.0

func (m WarehousePermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*WarehousePermissions) GetAccessControlList added in v1.61.0

func (m *WarehousePermissions) GetAccessControlList(ctx context.Context) ([]WarehouseAccessControlResponse, bool)

GetAccessControlList returns the value of the AccessControlList field in WarehousePermissions as a slice of WarehouseAccessControlResponse values. If the field is unknown or null, the boolean return value is false.

func (WarehousePermissions) GetComplexFieldTypes added in v1.61.0

func (m WarehousePermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissions. 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 (*WarehousePermissions) SetAccessControlList added in v1.61.0

func (m *WarehousePermissions) SetAccessControlList(ctx context.Context, v []WarehouseAccessControlResponse)

SetAccessControlList sets the value of the AccessControlList field in WarehousePermissions.

func (*WarehousePermissions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehousePermissions) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermissions)

func (*WarehousePermissions) SyncFieldsDuringRead added in v1.86.0

func (to *WarehousePermissions) SyncFieldsDuringRead(ctx context.Context, from WarehousePermissions)

func (WarehousePermissions) 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, WarehousePermissions only implements ToObjectValue() and Type().

func (WarehousePermissions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehousePermissionsDescription

type WarehousePermissionsDescription struct {
	Description types.String `tfsdk:"description"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (WarehousePermissionsDescription) GetComplexFieldTypes added in v1.61.0

func (m WarehousePermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsDescription. 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 (*WarehousePermissionsDescription) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehousePermissionsDescription) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermissionsDescription)

func (*WarehousePermissionsDescription) SyncFieldsDuringRead added in v1.86.0

func (WarehousePermissionsDescription) 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, WarehousePermissionsDescription only implements ToObjectValue() and Type().

func (WarehousePermissionsDescription) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehousePermissionsDescription_SdkV2 added in v1.62.1

type WarehousePermissionsDescription_SdkV2 struct {
	Description types.String `tfsdk:"description"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermissionsDescription_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (WarehousePermissionsDescription_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehousePermissionsDescription_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsDescription. 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 (*WarehousePermissionsDescription_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*WarehousePermissionsDescription_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (WarehousePermissionsDescription_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, WarehousePermissionsDescription_SdkV2 only implements ToObjectValue() and Type().

func (WarehousePermissionsDescription_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehousePermissionsRequest

type WarehousePermissionsRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The SQL warehouse for which to get or manage permissions.
	WarehouseId types.String `tfsdk:"-"`
}

func (WarehousePermissionsRequest) ApplySchemaCustomizations added in v1.63.0

func (m WarehousePermissionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*WarehousePermissionsRequest) GetAccessControlList added in v1.61.0

GetAccessControlList returns the value of the AccessControlList field in WarehousePermissionsRequest as a slice of WarehouseAccessControlRequest values. If the field is unknown or null, the boolean return value is false.

func (WarehousePermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m WarehousePermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsRequest. 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 (*WarehousePermissionsRequest) SetAccessControlList added in v1.61.0

SetAccessControlList sets the value of the AccessControlList field in WarehousePermissionsRequest.

func (*WarehousePermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *WarehousePermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermissionsRequest)

func (*WarehousePermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *WarehousePermissionsRequest) SyncFieldsDuringRead(ctx context.Context, from WarehousePermissionsRequest)

func (WarehousePermissionsRequest) 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, WarehousePermissionsRequest only implements ToObjectValue() and Type().

func (WarehousePermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehousePermissionsRequest_SdkV2 added in v1.62.1

type WarehousePermissionsRequest_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The SQL warehouse for which to get or manage permissions.
	WarehouseId types.String `tfsdk:"-"`
}

func (WarehousePermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*WarehousePermissionsRequest_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in WarehousePermissionsRequest_SdkV2 as a slice of WarehouseAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (WarehousePermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehousePermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsRequest. 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 (*WarehousePermissionsRequest_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in WarehousePermissionsRequest_SdkV2.

func (*WarehousePermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *WarehousePermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermissionsRequest_SdkV2)

func (*WarehousePermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (WarehousePermissionsRequest_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, WarehousePermissionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (WarehousePermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehousePermissions_SdkV2 added in v1.62.1

type WarehousePermissions_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (WarehousePermissions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WarehousePermissions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*WarehousePermissions_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in WarehousePermissions_SdkV2 as a slice of WarehouseAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (WarehousePermissions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehousePermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissions. 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 (*WarehousePermissions_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in WarehousePermissions_SdkV2.

func (*WarehousePermissions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehousePermissions_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehousePermissions_SdkV2)

func (*WarehousePermissions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WarehousePermissions_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WarehousePermissions_SdkV2)

func (WarehousePermissions_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, WarehousePermissions_SdkV2 only implements ToObjectValue() and Type().

func (WarehousePermissions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WarehouseTypePair

type WarehouseTypePair struct {
	// If set to false the specific warehouse type will not be be allowed as a
	// value for warehouse_type in CreateWarehouse and EditWarehouse
	Enabled types.Bool `tfsdk:"enabled"`

	WarehouseType types.String `tfsdk:"warehouse_type"`
}

* Configuration values to enable or disable the access to specific warehouse types in the workspace.

func (WarehouseTypePair) ApplySchemaCustomizations added in v1.63.0

func (m WarehouseTypePair) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehouseTypePair) GetComplexFieldTypes added in v1.61.0

func (m WarehouseTypePair) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseTypePair. 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 (*WarehouseTypePair) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehouseTypePair) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehouseTypePair)

func (*WarehouseTypePair) SyncFieldsDuringRead added in v1.86.0

func (to *WarehouseTypePair) SyncFieldsDuringRead(ctx context.Context, from WarehouseTypePair)

func (WarehouseTypePair) ToObjectValue added in v1.61.0

func (m WarehouseTypePair) 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, WarehouseTypePair only implements ToObjectValue() and Type().

func (WarehouseTypePair) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WarehouseTypePair_SdkV2 added in v1.62.1

type WarehouseTypePair_SdkV2 struct {
	// If set to false the specific warehouse type will not be be allowed as a
	// value for warehouse_type in CreateWarehouse and EditWarehouse
	Enabled types.Bool `tfsdk:"enabled"`

	WarehouseType types.String `tfsdk:"warehouse_type"`
}

* Configuration values to enable or disable the access to specific warehouse types in the workspace.

func (WarehouseTypePair_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WarehouseTypePair_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehouseTypePair_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WarehouseTypePair_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseTypePair. 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 (*WarehouseTypePair_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WarehouseTypePair_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WarehouseTypePair_SdkV2)

func (*WarehouseTypePair_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WarehouseTypePair_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WarehouseTypePair_SdkV2)

func (WarehouseTypePair_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, WarehouseTypePair_SdkV2 only implements ToObjectValue() and Type().

func (WarehouseTypePair_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Widget

type Widget struct {
	// The unique ID for this widget.
	Id types.String `tfsdk:"id"`

	Options types.Object `tfsdk:"options"`
	// The visualization description API changes frequently and is unsupported.
	// You can duplicate a visualization by copying description objects received
	// _from the API_ and then using them to create a new one with a POST
	// request to the same endpoint. Databricks does not recommend constructing
	// ad-hoc visualizations entirely in JSON.
	Visualization types.Object `tfsdk:"visualization"`
	// Unused field.
	Width types.Int64 `tfsdk:"width"`
}

func (Widget) ApplySchemaCustomizations added in v1.63.0

func (m Widget) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Widget) GetComplexFieldTypes added in v1.61.0

func (m Widget) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Widget. 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 (*Widget) GetOptions added in v1.61.0

func (m *Widget) GetOptions(ctx context.Context) (WidgetOptions, bool)

GetOptions returns the value of the Options field in Widget as a WidgetOptions value. If the field is unknown or null, the boolean return value is false.

func (*Widget) GetVisualization added in v1.61.0

func (m *Widget) GetVisualization(ctx context.Context) (LegacyVisualization, bool)

GetVisualization returns the value of the Visualization field in Widget as a LegacyVisualization value. If the field is unknown or null, the boolean return value is false.

func (*Widget) SetOptions added in v1.61.0

func (m *Widget) SetOptions(ctx context.Context, v WidgetOptions)

SetOptions sets the value of the Options field in Widget.

func (*Widget) SetVisualization added in v1.61.0

func (m *Widget) SetVisualization(ctx context.Context, v LegacyVisualization)

SetVisualization sets the value of the Visualization field in Widget.

func (*Widget) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Widget) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Widget)

func (*Widget) SyncFieldsDuringRead added in v1.86.0

func (to *Widget) SyncFieldsDuringRead(ctx context.Context, from Widget)

func (Widget) ToObjectValue added in v1.61.0

func (m Widget) 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, Widget only implements ToObjectValue() and Type().

func (Widget) Type added in v1.61.0

func (m Widget) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type WidgetOptions

type WidgetOptions struct {
	// Timestamp when this object was created
	CreatedAt types.String `tfsdk:"created_at"`
	// Custom description of the widget
	Description types.String `tfsdk:"description"`
	// Whether this widget is hidden on the dashboard.
	IsHidden types.Bool `tfsdk:"is_hidden"`
	// How parameters used by the visualization in this widget relate to other
	// widgets on the dashboard. Databricks does not recommend modifying this
	// definition in JSON.
	ParameterMappings types.Object `tfsdk:"parameter_mappings"`
	// Coordinates of this widget on a dashboard. This portion of the API
	// changes frequently and is unsupported.
	Position types.Object `tfsdk:"position"`
	// Custom title of the widget
	Title types.String `tfsdk:"title"`
	// Timestamp of the last time this object was updated.
	UpdatedAt types.String `tfsdk:"updated_at"`
}

func (WidgetOptions) ApplySchemaCustomizations added in v1.63.0

func (m WidgetOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetOptions) GetComplexFieldTypes added in v1.61.0

func (m WidgetOptions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetOptions. 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 (*WidgetOptions) GetPosition added in v1.61.0

func (m *WidgetOptions) GetPosition(ctx context.Context) (WidgetPosition, bool)

GetPosition returns the value of the Position field in WidgetOptions as a WidgetPosition value. If the field is unknown or null, the boolean return value is false.

func (*WidgetOptions) SetPosition added in v1.61.0

func (m *WidgetOptions) SetPosition(ctx context.Context, v WidgetPosition)

SetPosition sets the value of the Position field in WidgetOptions.

func (*WidgetOptions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WidgetOptions) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WidgetOptions)

func (*WidgetOptions) SyncFieldsDuringRead added in v1.86.0

func (to *WidgetOptions) SyncFieldsDuringRead(ctx context.Context, from WidgetOptions)

func (WidgetOptions) ToObjectValue added in v1.61.0

func (m WidgetOptions) 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, WidgetOptions only implements ToObjectValue() and Type().

func (WidgetOptions) Type added in v1.61.0

func (m WidgetOptions) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type WidgetOptions_SdkV2 added in v1.62.1

type WidgetOptions_SdkV2 struct {
	// Timestamp when this object was created
	CreatedAt types.String `tfsdk:"created_at"`
	// Custom description of the widget
	Description types.String `tfsdk:"description"`
	// Whether this widget is hidden on the dashboard.
	IsHidden types.Bool `tfsdk:"is_hidden"`
	// How parameters used by the visualization in this widget relate to other
	// widgets on the dashboard. Databricks does not recommend modifying this
	// definition in JSON.
	ParameterMappings types.Object `tfsdk:"parameter_mappings"`
	// Coordinates of this widget on a dashboard. This portion of the API
	// changes frequently and is unsupported.
	Position types.List `tfsdk:"position"`
	// Custom title of the widget
	Title types.String `tfsdk:"title"`
	// Timestamp of the last time this object was updated.
	UpdatedAt types.String `tfsdk:"updated_at"`
}

func (WidgetOptions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WidgetOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WidgetOptions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetOptions. 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 (*WidgetOptions_SdkV2) GetPosition added in v1.62.1

GetPosition returns the value of the Position field in WidgetOptions_SdkV2 as a WidgetPosition_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*WidgetOptions_SdkV2) SetPosition added in v1.62.1

SetPosition sets the value of the Position field in WidgetOptions_SdkV2.

func (*WidgetOptions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WidgetOptions_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WidgetOptions_SdkV2)

func (*WidgetOptions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WidgetOptions_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WidgetOptions_SdkV2)

func (WidgetOptions_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, WidgetOptions_SdkV2 only implements ToObjectValue() and Type().

func (WidgetOptions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WidgetPosition

type WidgetPosition struct {
	// reserved for internal use
	AutoHeight types.Bool `tfsdk:"auto_height"`
	// column in the dashboard grid. Values start with 0
	Col types.Int64 `tfsdk:"col"`
	// row in the dashboard grid. Values start with 0
	Row types.Int64 `tfsdk:"row"`
	// width of the widget measured in dashboard grid cells
	SizeX types.Int64 `tfsdk:"size_x"`
	// height of the widget measured in dashboard grid cells
	SizeY types.Int64 `tfsdk:"size_y"`
}

Coordinates of this widget on a dashboard. This portion of the API changes frequently and is unsupported.

func (WidgetPosition) ApplySchemaCustomizations added in v1.63.0

func (m WidgetPosition) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetPosition) GetComplexFieldTypes added in v1.61.0

func (m WidgetPosition) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetPosition. 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 (*WidgetPosition) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WidgetPosition) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WidgetPosition)

func (*WidgetPosition) SyncFieldsDuringRead added in v1.86.0

func (to *WidgetPosition) SyncFieldsDuringRead(ctx context.Context, from WidgetPosition)

func (WidgetPosition) ToObjectValue added in v1.61.0

func (m WidgetPosition) 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, WidgetPosition only implements ToObjectValue() and Type().

func (WidgetPosition) Type added in v1.61.0

func (m WidgetPosition) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type WidgetPosition_SdkV2 added in v1.62.1

type WidgetPosition_SdkV2 struct {
	// reserved for internal use
	AutoHeight types.Bool `tfsdk:"auto_height"`
	// column in the dashboard grid. Values start with 0
	Col types.Int64 `tfsdk:"col"`
	// row in the dashboard grid. Values start with 0
	Row types.Int64 `tfsdk:"row"`
	// width of the widget measured in dashboard grid cells
	SizeX types.Int64 `tfsdk:"size_x"`
	// height of the widget measured in dashboard grid cells
	SizeY types.Int64 `tfsdk:"size_y"`
}

Coordinates of this widget on a dashboard. This portion of the API changes frequently and is unsupported.

func (WidgetPosition_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WidgetPosition_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetPosition_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WidgetPosition_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetPosition. 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 (*WidgetPosition_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WidgetPosition_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WidgetPosition_SdkV2)

func (*WidgetPosition_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WidgetPosition_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WidgetPosition_SdkV2)

func (WidgetPosition_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, WidgetPosition_SdkV2 only implements ToObjectValue() and Type().

func (WidgetPosition_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Widget_SdkV2 added in v1.62.1

type Widget_SdkV2 struct {
	// The unique ID for this widget.
	Id types.String `tfsdk:"id"`

	Options types.List `tfsdk:"options"`
	// The visualization description API changes frequently and is unsupported.
	// You can duplicate a visualization by copying description objects received
	// _from the API_ and then using them to create a new one with a POST
	// request to the same endpoint. Databricks does not recommend constructing
	// ad-hoc visualizations entirely in JSON.
	Visualization types.List `tfsdk:"visualization"`
	// Unused field.
	Width types.Int64 `tfsdk:"width"`
}

func (Widget_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Widget_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Widget_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Widget_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Widget. 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 (*Widget_SdkV2) GetOptions added in v1.62.1

func (m *Widget_SdkV2) GetOptions(ctx context.Context) (WidgetOptions_SdkV2, bool)

GetOptions returns the value of the Options field in Widget_SdkV2 as a WidgetOptions_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Widget_SdkV2) GetVisualization added in v1.62.1

func (m *Widget_SdkV2) GetVisualization(ctx context.Context) (LegacyVisualization_SdkV2, bool)

GetVisualization returns the value of the Visualization field in Widget_SdkV2 as a LegacyVisualization_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Widget_SdkV2) SetOptions added in v1.62.1

func (m *Widget_SdkV2) SetOptions(ctx context.Context, v WidgetOptions_SdkV2)

SetOptions sets the value of the Options field in Widget_SdkV2.

func (*Widget_SdkV2) SetVisualization added in v1.62.1

func (m *Widget_SdkV2) SetVisualization(ctx context.Context, v LegacyVisualization_SdkV2)

SetVisualization sets the value of the Visualization field in Widget_SdkV2.

func (*Widget_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Widget_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Widget_SdkV2)

func (*Widget_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Widget_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Widget_SdkV2)

func (Widget_SdkV2) ToObjectValue added in v1.62.1

func (m Widget_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, Widget_SdkV2 only implements ToObjectValue() and Type().

func (Widget_SdkV2) Type added in v1.62.1

func (m Widget_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL