sql_tf

package
v1.65.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 8 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 (c AccessControl) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AccessControl) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AccessControl) SyncEffectiveFieldsDuringCreateOrUpdate(plan AccessControl)

func (*AccessControl) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AccessControl) SyncEffectiveFieldsDuringRead(existingState AccessControl)

func (AccessControl) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c AccessControl_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AccessControl_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AccessControl_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AccessControl_SdkV2)

func (*AccessControl_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AccessControl_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c Alert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Alert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *Alert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in Alert.

func (*Alert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Alert) SyncEffectiveFieldsDuringCreateOrUpdate(plan Alert)

func (*Alert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Alert) SyncEffectiveFieldsDuringRead(existingState Alert)

func (Alert) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c AlertCondition) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertCondition) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *AlertCondition) SetThreshold(ctx context.Context, v AlertConditionThreshold)

SetThreshold sets the value of the Threshold field in AlertCondition.

func (*AlertCondition) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertCondition) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertCondition)

func (*AlertCondition) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertCondition) SyncEffectiveFieldsDuringRead(existingState AlertCondition)

func (AlertCondition) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertConditionOperand) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertConditionOperand)

func (*AlertConditionOperand) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertConditionOperand) SyncEffectiveFieldsDuringRead(existingState 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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertConditionOperand_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertConditionOperand_SdkV2)

func (*AlertConditionOperand_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertConditionOperand_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertConditionThreshold) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertConditionThreshold) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertConditionThreshold) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertConditionThreshold)

func (*AlertConditionThreshold) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertConditionThreshold) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertConditionThreshold_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertConditionThreshold_SdkV2)

func (*AlertConditionThreshold_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertConditionThreshold_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertCondition_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertCondition_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertCondition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertCondition_SdkV2)

func (*AlertCondition_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertCondition_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertOperandColumn) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertOperandColumn) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertOperandColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertOperandColumn)

func (*AlertOperandColumn) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertOperandColumn) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertOperandColumn_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertOperandColumn_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertOperandColumn_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertOperandColumn_SdkV2)

func (*AlertOperandColumn_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertOperandColumn_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertOperandValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertOperandValue) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertOperandValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertOperandValue)

func (*AlertOperandValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertOperandValue) SyncEffectiveFieldsDuringRead(existingState AlertOperandValue)

func (AlertOperandValue) ToObjectValue added in v1.61.0

func (o 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 (c AlertOperandValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertOperandValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertOperandValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertOperandValue_SdkV2)

func (*AlertOperandValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertOperandValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertOptions) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertOptions)

func (*AlertOptions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertOptions) SyncEffectiveFieldsDuringRead(existingState AlertOptions)

func (AlertOptions) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c AlertOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertOptions_SdkV2)

func (*AlertOptions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c AlertQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertQuery) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *AlertQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in AlertQuery.

func (*AlertQuery) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AlertQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertQuery)

func (*AlertQuery) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AlertQuery) SyncEffectiveFieldsDuringRead(existingState AlertQuery)

func (AlertQuery) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c AlertQuery_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (AlertQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *AlertQuery_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in AlertQuery_SdkV2.

func (*AlertQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AlertQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertQuery_SdkV2)

func (*AlertQuery_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AlertQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertQuery_SdkV2)

func (AlertQuery_SdkV2) ToObjectValue added in v1.62.1

func (o 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 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 (c Alert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Alert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *Alert_SdkV2) SetCondition(ctx context.Context, v AlertCondition_SdkV2)

SetCondition sets the value of the Condition field in Alert_SdkV2.

func (*Alert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Alert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Alert_SdkV2)

func (*Alert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Alert_SdkV2) SyncEffectiveFieldsDuringRead(existingState Alert_SdkV2)

func (Alert_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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"`
}

Describes metadata for a particular chunk, within a result set; this structure is used both within a manifest, and when fetching individual chunk data or links.

func (BaseChunkInfo) ApplySchemaCustomizations added in v1.63.0

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

func (BaseChunkInfo) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *BaseChunkInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseChunkInfo)

func (*BaseChunkInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *BaseChunkInfo) SyncEffectiveFieldsDuringRead(existingState BaseChunkInfo)

func (BaseChunkInfo) ToObjectValue added in v1.61.0

func (o 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 (o 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"`
}

Describes metadata for a particular chunk, within a result set; this structure is used both within a manifest, and when fetching individual chunk data or links.

func (BaseChunkInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (BaseChunkInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *BaseChunkInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseChunkInfo_SdkV2)

func (*BaseChunkInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *BaseChunkInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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:"-"`
}

Cancel statement execution

func (CancelExecutionRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Cancel statement execution

func (CancelExecutionRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 CancelExecutionResponse

type CancelExecutionResponse struct {
}

func (CancelExecutionResponse) GetComplexFieldTypes added in v1.61.0

func (a CancelExecutionResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelExecutionResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

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

func (CancelExecutionResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CancelExecutionResponse_SdkV2 added in v1.62.1

type CancelExecutionResponse_SdkV2 struct {
}

func (CancelExecutionResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a CancelExecutionResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelExecutionResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

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

func (CancelExecutionResponse_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 (c Channel) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Channel) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Channel) SyncEffectiveFieldsDuringCreateOrUpdate(plan Channel)

func (*Channel) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Channel) SyncEffectiveFieldsDuringRead(existingState Channel)

func (Channel) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c ChannelInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ChannelInfo) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ChannelInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChannelInfo)

func (*ChannelInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ChannelInfo) SyncEffectiveFieldsDuringRead(existingState ChannelInfo)

func (ChannelInfo) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c ChannelInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ChannelInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ChannelInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChannelInfo_SdkV2)

func (*ChannelInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ChannelInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChannelInfo_SdkV2)

func (ChannelInfo_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (c Channel_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Channel_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Channel_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Channel_SdkV2)

func (*Channel_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Channel_SdkV2) SyncEffectiveFieldsDuringRead(existingState Channel_SdkV2)

func (Channel_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c ClientConfig) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ClientConfig) GetComplexFieldTypes added in v1.65.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.65.0

func (newState *ClientConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientConfig)

func (*ClientConfig) SyncEffectiveFieldsDuringRead added in v1.65.0

func (newState *ClientConfig) SyncEffectiveFieldsDuringRead(existingState ClientConfig)

func (ClientConfig) ToObjectValue added in v1.65.0

func (o 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 (o 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 (c ClientConfig_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ClientConfig_SdkV2) GetComplexFieldTypes added in v1.65.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.65.0

func (newState *ClientConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientConfig_SdkV2)

func (*ClientConfig_SdkV2) SyncEffectiveFieldsDuringRead added in v1.65.0

func (newState *ClientConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c ColumnInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ColumnInfo) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnInfo)

func (*ColumnInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ColumnInfo) SyncEffectiveFieldsDuringRead(existingState ColumnInfo)

func (ColumnInfo) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c ColumnInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ColumnInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnInfo_SdkV2)

func (*ColumnInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ColumnInfo_SdkV2)

func (ColumnInfo_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (c CreateAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateAlert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *CreateAlert) SetOptions(ctx context.Context, v AlertOptions)

SetOptions sets the value of the Options field in CreateAlert.

func (*CreateAlert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAlert)

func (*CreateAlert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateAlert) SyncEffectiveFieldsDuringRead(existingState CreateAlert)

func (CreateAlert) ToObjectValue added in v1.61.0

func (o 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 (o CreateAlert) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type CreateAlertRequest

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

func (CreateAlertRequest) ApplySchemaCustomizations added in v1.63.0

func (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateAlertRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAlertRequest)

func (*CreateAlertRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateAlertRequest) SyncEffectiveFieldsDuringRead(existingState 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 (c CreateAlertRequestAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateAlertRequestAlert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *CreateAlertRequestAlert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in CreateAlertRequestAlert.

func (*CreateAlertRequestAlert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateAlertRequestAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAlertRequestAlert)

func (*CreateAlertRequestAlert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateAlertRequestAlert) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAlertRequestAlert_SdkV2)

func (*CreateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
}

func (CreateAlertRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateAlertRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAlertRequest_SdkV2)

func (*CreateAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 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 (c CreateAlert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *CreateAlert_SdkV2) SetOptions(ctx context.Context, v AlertOptions_SdkV2)

SetOptions sets the value of the Options field in CreateAlert_SdkV2.

func (*CreateAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAlert_SdkV2)

func (*CreateAlert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAlert_SdkV2)

func (CreateAlert_SdkV2) ToObjectValue added in v1.62.1

func (o 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 {
	Query types.Object `tfsdk:"query"`
}

func (CreateQueryRequest) ApplySchemaCustomizations added in v1.63.0

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

func (CreateQueryRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateQueryRequest)

func (*CreateQueryRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateQueryRequest) SyncEffectiveFieldsDuringRead(existingState 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 (c CreateQueryRequestQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateQueryRequestQuery) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *CreateQueryRequestQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in CreateQueryRequestQuery.

func (*CreateQueryRequestQuery) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateQueryRequestQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateQueryRequestQuery)

func (*CreateQueryRequestQuery) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateQueryRequestQuery) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateQueryRequestQuery_SdkV2)

func (*CreateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	Query types.List `tfsdk:"query"`
}

func (CreateQueryRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateQueryRequest_SdkV2)

func (*CreateQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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) GetComplexFieldTypes added in v1.61.0

func (a 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) 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) 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) 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 (c CreateVisualizationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateVisualizationRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateVisualizationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVisualizationRequest)

func (*CreateVisualizationRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateVisualizationRequest) SyncEffectiveFieldsDuringRead(existingState 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateVisualizationRequestVisualization) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVisualizationRequestVisualization)

func (*CreateVisualizationRequestVisualization) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateVisualizationRequestVisualization) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequestVisualization)

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

func (newState *CreateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVisualizationRequestVisualization_SdkV2)

func (*CreateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequestVisualization_SdkV2)

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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVisualizationRequest_SdkV2)

func (*CreateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequest_SdkV2)

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 mins for serverless warehouses - Must be
	// == 0 or >= 10 mins for non-serverless warehouses - 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 <= 30.
	//
	// 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 warehouse 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"`
}

func (CreateWarehouseRequest) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateWarehouseRequest) GetChannel added in v1.61.0

func (o *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 (a 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 (o *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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWarehouseRequest)

func (*CreateWarehouseRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateWarehouseRequest) SyncEffectiveFieldsDuringRead(existingState 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 mins for serverless warehouses - Must be
	// == 0 or >= 10 mins for non-serverless warehouses - 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 <= 30.
	//
	// 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 warehouse 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"`
}

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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWarehouseRequest_SdkV2)

func (*CreateWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c CreateWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (CreateWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWarehouseResponse)

func (*CreateWarehouseResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWarehouseResponse_SdkV2)

func (*CreateWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// 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 (CreateWidget) ApplySchemaCustomizations added in v1.63.0

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

func (CreateWidget) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *CreateWidget) SetOptions(ctx context.Context, v WidgetOptions)

SetOptions sets the value of the Options field in CreateWidget.

func (*CreateWidget) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateWidget) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWidget)

func (*CreateWidget) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateWidget) SyncEffectiveFieldsDuringRead(existingState CreateWidget)

func (CreateWidget) ToObjectValue added in v1.61.0

func (o 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 (o 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"`
	// 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 (CreateWidget_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateWidget_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *CreateWidget_SdkV2) SetOptions(ctx context.Context, v WidgetOptions_SdkV2)

SetOptions sets the value of the Options field in CreateWidget_SdkV2.

func (*CreateWidget_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateWidget_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWidget_SdkV2)

func (*CreateWidget_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateWidget_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 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 (c Dashboard) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Dashboard) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *Dashboard) SetWidgets(ctx context.Context, v []Widget)

SetWidgets sets the value of the Widgets field in Dashboard.

func (*Dashboard) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Dashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dashboard)

func (*Dashboard) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Dashboard) SyncEffectiveFieldsDuringRead(existingState Dashboard)

func (Dashboard) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c DashboardEditContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DashboardEditContent) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *DashboardEditContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in DashboardEditContent.

func (*DashboardEditContent) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DashboardEditContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan DashboardEditContent)

func (*DashboardEditContent) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DashboardEditContent) SyncEffectiveFieldsDuringRead(existingState 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 (c DashboardEditContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DashboardEditContent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *DashboardEditContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in DashboardEditContent_SdkV2.

func (*DashboardEditContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DashboardEditContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DashboardEditContent_SdkV2)

func (*DashboardEditContent_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DashboardEditContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c DashboardOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DashboardOptions) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DashboardOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan DashboardOptions)

func (*DashboardOptions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DashboardOptions) SyncEffectiveFieldsDuringRead(existingState DashboardOptions)

func (DashboardOptions) ToObjectValue added in v1.61.0

func (o 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 (c DashboardOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DashboardOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DashboardOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DashboardOptions_SdkV2)

func (*DashboardOptions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DashboardOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 DashboardPostContent

type DashboardPostContent struct {
	// Indicates whether the dashboard filters are enabled
	DashboardFiltersEnabled types.Bool `tfsdk:"dashboard_filters_enabled"`
	// Indicates whether this dashboard object should appear in the current
	// user's favorites list.
	IsFavorite types.Bool `tfsdk:"is_favorite"`
	// The title of this dashboard that appears in list views and at the top of
	// the dashboard page.
	Name types.String `tfsdk:"name"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// 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 (DashboardPostContent) ApplySchemaCustomizations added in v1.63.0

func (c DashboardPostContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DashboardPostContent) GetComplexFieldTypes added in v1.61.0

func (a DashboardPostContent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardPostContent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DashboardPostContent) GetTags added in v1.61.0

func (o *DashboardPostContent) GetTags(ctx context.Context) ([]types.String, bool)

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

func (*DashboardPostContent) SetTags added in v1.61.0

func (o *DashboardPostContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in DashboardPostContent.

func (*DashboardPostContent) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DashboardPostContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan DashboardPostContent)

func (*DashboardPostContent) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DashboardPostContent) SyncEffectiveFieldsDuringRead(existingState DashboardPostContent)

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

func (DashboardPostContent) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DashboardPostContent_SdkV2 added in v1.62.1

type DashboardPostContent_SdkV2 struct {
	// Indicates whether the dashboard filters are enabled
	DashboardFiltersEnabled types.Bool `tfsdk:"dashboard_filters_enabled"`
	// Indicates whether this dashboard object should appear in the current
	// user's favorites list.
	IsFavorite types.Bool `tfsdk:"is_favorite"`
	// The title of this dashboard that appears in list views and at the top of
	// the dashboard page.
	Name types.String `tfsdk:"name"`
	// The identifier of the workspace folder containing the object.
	Parent types.String `tfsdk:"parent"`
	// 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 (DashboardPostContent_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c DashboardPostContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DashboardPostContent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a DashboardPostContent_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardPostContent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*DashboardPostContent_SdkV2) GetTags added in v1.62.1

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

func (*DashboardPostContent_SdkV2) SetTags added in v1.62.1

func (o *DashboardPostContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in DashboardPostContent_SdkV2.

func (*DashboardPostContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DashboardPostContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DashboardPostContent_SdkV2)

func (*DashboardPostContent_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DashboardPostContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState DashboardPostContent_SdkV2)

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

func (DashboardPostContent_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 (c Dashboard_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Dashboard_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *Dashboard_SdkV2) SetWidgets(ctx context.Context, v []Widget_SdkV2)

SetWidgets sets the value of the Widgets field in Dashboard_SdkV2.

func (*Dashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Dashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dashboard_SdkV2)

func (*Dashboard_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Dashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState Dashboard_SdkV2)

func (Dashboard_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c DataSource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataSource) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DataSource) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataSource)

func (*DataSource) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DataSource) SyncEffectiveFieldsDuringRead(existingState DataSource)

func (DataSource) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c DataSource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DataSource_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DataSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataSource_SdkV2)

func (*DataSource_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DataSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataSource_SdkV2)

func (DataSource_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (c DateRange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DateRange) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DateRange) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateRange)

func (*DateRange) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DateRange) SyncEffectiveFieldsDuringRead(existingState DateRange)

func (DateRange) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c DateRangeValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DateRangeValue) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *DateRangeValue) SetDateRangeValue(ctx context.Context, v DateRange)

SetDateRangeValue sets the value of the DateRangeValue field in DateRangeValue.

func (*DateRangeValue) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DateRangeValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateRangeValue)

func (*DateRangeValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DateRangeValue) SyncEffectiveFieldsDuringRead(existingState DateRangeValue)

func (DateRangeValue) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c DateRangeValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DateRangeValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *DateRangeValue_SdkV2) SetDateRangeValue(ctx context.Context, v DateRange_SdkV2)

SetDateRangeValue sets the value of the DateRangeValue field in DateRangeValue_SdkV2.

func (*DateRangeValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DateRangeValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateRangeValue_SdkV2)

func (*DateRangeValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DateRangeValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c DateRange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DateRange_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DateRange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateRange_SdkV2)

func (*DateRange_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DateRange_SdkV2) SyncEffectiveFieldsDuringRead(existingState DateRange_SdkV2)

func (DateRange_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c DateValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DateValue) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DateValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateValue)

func (*DateValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DateValue) SyncEffectiveFieldsDuringRead(existingState DateValue)

func (DateValue) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c DateValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DateValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DateValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateValue_SdkV2)

func (*DateValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DateValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState DateValue_SdkV2)

func (DateValue_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o DateValue_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DeleteAlertsLegacyRequest

type DeleteAlertsLegacyRequest struct {
	AlertId types.String `tfsdk:"-"`
}

Delete an alert

func (DeleteAlertsLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Delete an alert

func (DeleteAlertsLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Remove a dashboard

func (DeleteDashboardRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Remove a dashboard

func (DeleteDashboardRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Remove widget

func (DeleteDashboardWidgetRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Remove widget

func (DeleteDashboardWidgetRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Delete a query

func (DeleteQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Delete a query

func (DeleteQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:queryvizualisations/create
	Id types.String `tfsdk:"-"`
}

Remove visualization

func (DeleteQueryVisualizationsLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:queryvizualisations/create
	Id types.String `tfsdk:"-"`
}

Remove visualization

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) 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) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().

func (DeleteResponse) Type added in v1.61.0

func (o 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) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Remove a visualization

func (DeleteVisualizationRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Remove a visualization

func (DeleteVisualizationRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Delete a warehouse

func (DeleteWarehouseRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Delete a warehouse

func (DeleteWarehouseRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 (c DeleteWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (DeleteWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWarehouseResponse)

func (*DeleteWarehouseResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DeleteWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWarehouseResponse_SdkV2)

func (*DeleteWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DeleteWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c EditAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditAlert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *EditAlert) SetOptions(ctx context.Context, v AlertOptions)

SetOptions sets the value of the Options field in EditAlert.

func (*EditAlert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EditAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditAlert)

func (*EditAlert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EditAlert) SyncEffectiveFieldsDuringRead(existingState EditAlert)

func (EditAlert) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c EditAlert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *EditAlert_SdkV2) SetOptions(ctx context.Context, v AlertOptions_SdkV2)

SetOptions sets the value of the Options field in EditAlert_SdkV2.

func (*EditAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EditAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditAlert_SdkV2)

func (*EditAlert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditAlert_SdkV2)

func (EditAlert_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 <= 30.
	//
	// 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 warehouse 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"`
}

func (EditWarehouseRequest) ApplySchemaCustomizations added in v1.63.0

func (c EditWarehouseRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EditWarehouseRequest) GetChannel added in v1.61.0

func (o *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 (a 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 (o *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 (o *EditWarehouseRequest) SetTags(ctx context.Context, v EndpointTags)

SetTags sets the value of the Tags field in EditWarehouseRequest.

func (*EditWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EditWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditWarehouseRequest)

func (*EditWarehouseRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EditWarehouseRequest) SyncEffectiveFieldsDuringRead(existingState 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 <= 30.
	//
	// 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 warehouse 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"`
}

func (EditWarehouseRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EditWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditWarehouseRequest_SdkV2)

func (*EditWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c EditWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EditWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditWarehouseResponse)

func (*EditWarehouseResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EditWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState 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 (c EditWarehouseResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EditWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditWarehouseResponse_SdkV2)

func (*EditWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c Empty) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Empty) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Empty) SyncEffectiveFieldsDuringCreateOrUpdate(plan Empty)

func (*Empty) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Empty) SyncEffectiveFieldsDuringRead(existingState Empty)

func (Empty) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c Empty_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Empty_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Empty_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Empty_SdkV2)

func (*Empty_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Empty_SdkV2) SyncEffectiveFieldsDuringRead(existingState Empty_SdkV2)

func (Empty_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c EndpointConfPair) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointConfPair) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EndpointConfPair) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointConfPair)

func (*EndpointConfPair) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EndpointConfPair) SyncEffectiveFieldsDuringRead(existingState EndpointConfPair)

func (EndpointConfPair) ToObjectValue added in v1.61.0

func (o 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 (c EndpointConfPair_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointConfPair_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EndpointConfPair_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointConfPair_SdkV2)

func (*EndpointConfPair_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EndpointConfPair_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 warehouse.
	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 (c EndpointHealth) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointHealth) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *EndpointHealth) SetFailureReason(ctx context.Context, v TerminationReason)

SetFailureReason sets the value of the FailureReason field in EndpointHealth.

func (*EndpointHealth) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EndpointHealth) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointHealth)

func (*EndpointHealth) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EndpointHealth) SyncEffectiveFieldsDuringRead(existingState EndpointHealth)

func (EndpointHealth) ToObjectValue added in v1.61.0

func (o 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 (o 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 warehouse.
	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 (c EndpointHealth_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointHealth_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *EndpointHealth_SdkV2) SetFailureReason(ctx context.Context, v TerminationReason_SdkV2)

SetFailureReason sets the value of the FailureReason field in EndpointHealth_SdkV2.

func (*EndpointHealth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EndpointHealth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointHealth_SdkV2)

func (*EndpointHealth_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EndpointHealth_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 <= 30.
	//
	// 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"`
	// 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 warehouse should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// State of the warehouse
	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 (c EndpointInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EndpointInfo) GetChannel added in v1.61.0

func (o *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 (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *EndpointInfo) SetTags(ctx context.Context, v EndpointTags)

SetTags sets the value of the Tags field in EndpointInfo.

func (*EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointInfo)

func (*EndpointInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EndpointInfo) SyncEffectiveFieldsDuringRead(existingState EndpointInfo)

func (EndpointInfo) ToObjectValue added in v1.61.0

func (o 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 (o 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 <= 30.
	//
	// 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"`
	// 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 warehouse should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// State of the warehouse
	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 (c EndpointInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EndpointInfo_SdkV2) GetChannel added in v1.62.1

func (o *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 (a 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 (o *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 (o *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 (o *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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EndpointInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointInfo_SdkV2)

func (*EndpointInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EndpointInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c EndpointTagPair) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTagPair) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EndpointTagPair) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointTagPair)

func (*EndpointTagPair) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EndpointTagPair) SyncEffectiveFieldsDuringRead(existingState EndpointTagPair)

func (EndpointTagPair) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c EndpointTagPair_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTagPair_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EndpointTagPair_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointTagPair_SdkV2)

func (*EndpointTagPair_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EndpointTagPair_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c EndpointTags) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTags) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *EndpointTags) SetCustomTags(ctx context.Context, v []EndpointTagPair)

SetCustomTags sets the value of the CustomTags field in EndpointTags.

func (*EndpointTags) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EndpointTags) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointTags)

func (*EndpointTags) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EndpointTags) SyncEffectiveFieldsDuringRead(existingState EndpointTags)

func (EndpointTags) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c EndpointTags_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EndpointTags_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *EndpointTags_SdkV2) SetCustomTags(ctx context.Context, v []EndpointTagPair_SdkV2)

SetCustomTags sets the value of the CustomTags field in EndpointTags_SdkV2.

func (*EndpointTags_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EndpointTags_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EndpointTags_SdkV2)

func (*EndpointTags_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EndpointTags_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c EnumValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EnumValue) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *EnumValue) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in EnumValue.

func (*EnumValue) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EnumValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnumValue)

func (*EnumValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EnumValue) SyncEffectiveFieldsDuringRead(existingState EnumValue)

func (EnumValue) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c EnumValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EnumValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *EnumValue_SdkV2) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in EnumValue_SdkV2.

func (*EnumValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EnumValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnumValue_SdkV2)

func (*EnumValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EnumValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnumValue_SdkV2)

func (EnumValue_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 explcitly 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"`

	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`.
	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 (c ExecuteStatementRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExecuteStatementRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ExecuteStatementRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExecuteStatementRequest)

func (*ExecuteStatementRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ExecuteStatementRequest) SyncEffectiveFieldsDuringRead(existingState 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 explcitly 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"`

	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`.
	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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ExecuteStatementRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExecuteStatementRequest_SdkV2)

func (*ExecuteStatementRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ExecuteStatementRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`

	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 (c ExternalLink) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ExternalLink) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ExternalLink) SetHttpHeaders(ctx context.Context, v map[string]types.String)

SetHttpHeaders sets the value of the HttpHeaders field in ExternalLink.

func (*ExternalLink) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ExternalLink) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalLink)

func (*ExternalLink) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ExternalLink) SyncEffectiveFieldsDuringRead(existingState ExternalLink)

func (ExternalLink) ToObjectValue added in v1.61.0

func (o 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 (o 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"`

	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 (c ExternalLink_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder
func (a 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 (o *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 (o *ExternalLink_SdkV2) SetHttpHeaders(ctx context.Context, v map[string]types.String)

SetHttpHeaders sets the value of the HttpHeaders field in ExternalLink_SdkV2.

func (newState *ExternalLink_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalLink_SdkV2)
func (newState *ExternalLink_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 GetAlertRequest

type GetAlertRequest struct {
	Id types.String `tfsdk:"-"`
}

Get an alert

func (GetAlertRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

Get an alert

func (GetAlertRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 GetAlertsLegacyRequest

type GetAlertsLegacyRequest struct {
	AlertId types.String `tfsdk:"-"`
}

Get an alert

func (GetAlertsLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get an alert

func (GetAlertsLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 GetDashboardRequest

type GetDashboardRequest struct {
	DashboardId types.String `tfsdk:"-"`
}

Retrieve a definition

func (GetDashboardRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Retrieve a definition

func (GetDashboardRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get object ACL

func (GetDbsqlPermissionRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get object ACL

func (GetDbsqlPermissionRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get a query definition.

func (GetQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get a query definition.

func (GetQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get a query

func (GetQueryRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

Get a query

func (GetQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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) GetAccessControlList added in v1.61.0

func (o *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 (a 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 (o *GetResponse) SetAccessControlList(ctx context.Context, v []AccessControl)

SetAccessControlList sets the value of the AccessControlList field in GetResponse.

func (GetResponse) ToObjectValue added in v1.61.0

func (o 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 (o 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) GetAccessControlList added in v1.62.1

func (o *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 (a 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 (o *GetResponse_SdkV2) SetAccessControlList(ctx context.Context, v []AccessControl_SdkV2)

SetAccessControlList sets the value of the AccessControlList field in GetResponse_SdkV2.

func (GetResponse_SdkV2) ToObjectValue added in v1.62.1

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

Get status, manifest, and result first chunk

func (GetStatementRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get status, manifest, and result first chunk

func (GetStatementRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get result chunk by index

func (GetStatementResultChunkNRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get result chunk by index

func (GetStatementResultChunkNRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get SQL warehouse permission levels

func (GetWarehousePermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get SQL warehouse permission levels

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) 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWarehousePermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehousePermissionLevelsResponse)

func (*GetWarehousePermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWarehousePermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionLevelsResponse)

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

func (newState *GetWarehousePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehousePermissionLevelsResponse_SdkV2)

func (*GetWarehousePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetWarehousePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionLevelsResponse_SdkV2)

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

Get SQL warehouse permissions

func (GetWarehousePermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get SQL warehouse permissions

func (GetWarehousePermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get warehouse info

func (GetWarehouseRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get warehouse info

func (GetWarehouseRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 <= 30.
	//
	// 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"`
	// 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 warehouse should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// State of the warehouse
	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 (c GetWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetWarehouseResponse) GetChannel added in v1.61.0

func (o *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 (a 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 (o *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 (o *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 (o *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 (o *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 (o *GetWarehouseResponse) SetTags(ctx context.Context, v EndpointTags)

SetTags sets the value of the Tags field in GetWarehouseResponse.

func (*GetWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehouseResponse)

func (*GetWarehouseResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState 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 <= 30.
	//
	// 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"`
	// 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 warehouse should use spot instances.
	SpotInstancePolicy types.String `tfsdk:"spot_instance_policy"`
	// State of the warehouse
	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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *GetWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehouseResponse_SdkV2)

func (*GetWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 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"`
	// 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: Instance profile used to pass IAM role to the cluster
	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 (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *GetWorkspaceWarehouseConfigResponse) SetSqlConfigurationParameters(ctx context.Context, v RepeatedEndpointConfPairs)

SetSqlConfigurationParameters sets the value of the SqlConfigurationParameters field in GetWorkspaceWarehouseConfigResponse.

func (*GetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceWarehouseConfigResponse)

func (*GetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceWarehouseConfigResponse)

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"`
	// 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: Instance profile used to pass IAM role to the cluster
	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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *GetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceWarehouseConfigResponse_SdkV2)

func (*GetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceWarehouseConfigResponse_SdkV2)

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 (c LegacyAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyAlert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *LegacyAlert) SetUser(ctx context.Context, v User)

SetUser sets the value of the User field in LegacyAlert.

func (*LegacyAlert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *LegacyAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan LegacyAlert)

func (*LegacyAlert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LegacyAlert) SyncEffectiveFieldsDuringRead(existingState LegacyAlert)

func (LegacyAlert) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c LegacyAlert_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyAlert_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *LegacyAlert_SdkV2) SetUser(ctx context.Context, v User_SdkV2)

SetUser sets the value of the User field in LegacyAlert_SdkV2.

func (*LegacyAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *LegacyAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LegacyAlert_SdkV2)

func (*LegacyAlert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *LegacyAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState LegacyAlert_SdkV2)

func (LegacyAlert_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (c LegacyQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyQuery) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *LegacyQuery) SetVisualizations(ctx context.Context, v []LegacyVisualization)

SetVisualizations sets the value of the Visualizations field in LegacyQuery.

func (*LegacyQuery) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *LegacyQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan LegacyQuery)

func (*LegacyQuery) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LegacyQuery) SyncEffectiveFieldsDuringRead(existingState LegacyQuery)

func (LegacyQuery) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c LegacyQuery_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyQuery_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *LegacyQuery_SdkV2) SetVisualizations(ctx context.Context, v []LegacyVisualization_SdkV2)

SetVisualizations sets the value of the Visualizations field in LegacyQuery_SdkV2.

func (*LegacyQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *LegacyQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LegacyQuery_SdkV2)

func (*LegacyQuery_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *LegacyQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState LegacyQuery_SdkV2)

func (LegacyQuery_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (c LegacyVisualization) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyVisualization) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *LegacyVisualization) SetQuery(ctx context.Context, v LegacyQuery)

SetQuery sets the value of the Query field in LegacyVisualization.

func (*LegacyVisualization) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *LegacyVisualization) SyncEffectiveFieldsDuringCreateOrUpdate(plan LegacyVisualization)

func (*LegacyVisualization) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LegacyVisualization) SyncEffectiveFieldsDuringRead(existingState 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 (c LegacyVisualization_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LegacyVisualization_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *LegacyVisualization_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LegacyVisualization_SdkV2)

func (*LegacyVisualization_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *LegacyVisualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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:"-"`
}

List alerts

func (ListAlertsRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

List alerts

func (ListAlertsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 (c ListAlertsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAlertsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAlertsResponse)

func (*ListAlertsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAlertsResponse) SyncEffectiveFieldsDuringRead(existingState 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 (c ListAlertsResponseAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsResponseAlert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListAlertsResponseAlert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in ListAlertsResponseAlert.

func (*ListAlertsResponseAlert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAlertsResponseAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAlertsResponseAlert)

func (*ListAlertsResponseAlert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAlertsResponseAlert) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListAlertsResponseAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAlertsResponseAlert_SdkV2)

func (*ListAlertsResponseAlert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListAlertsResponseAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c ListAlertsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAlertsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListAlertsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAlertsResponse_SdkV2)

func (*ListAlertsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListAlertsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 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:"-"`
}

Get dashboard objects

func (ListDashboardsRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get dashboard objects

func (ListDashboardsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Get a list of queries

func (ListQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Get a list of queries

func (ListQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

List queries

func (ListQueriesRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

List queries

func (ListQueriesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 (c ListQueriesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListQueriesResponse) SetRes(ctx context.Context, v []QueryInfo)

SetRes sets the value of the Res field in ListQueriesResponse.

func (*ListQueriesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListQueriesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueriesResponse)

func (*ListQueriesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListQueriesResponse) SyncEffectiveFieldsDuringRead(existingState 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 (c ListQueriesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueriesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListQueriesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueriesResponse_SdkV2)

func (*ListQueriesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListQueriesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// A filter to limit query history results. This field is optional.
	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:"-"`
}

List Queries

func (ListQueryHistoryRequest) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListQueryHistoryRequest) SetFilterBy(ctx context.Context, v QueryFilter)

SetFilterBy sets the value of the FilterBy field in 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 {
	// A filter to limit query history results. This field is optional.
	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:"-"`
}

List Queries

func (ListQueryHistoryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 (c ListQueryObjectsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListQueryObjectsResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListQueryObjectsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueryObjectsResponse)

func (*ListQueryObjectsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListQueryObjectsResponse) SyncEffectiveFieldsDuringRead(existingState 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 (a 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 (o *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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListQueryObjectsResponseQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueryObjectsResponseQuery)

func (*ListQueryObjectsResponseQuery) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListQueryObjectsResponseQuery) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListQueryObjectsResponseQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueryObjectsResponseQuery_SdkV2)

func (*ListQueryObjectsResponseQuery_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListQueryObjectsResponseQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueryObjectsResponseQuery_SdkV2)

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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListQueryObjectsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueryObjectsResponse_SdkV2)

func (*ListQueryObjectsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListQueryObjectsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueryObjectsResponse_SdkV2)

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 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) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListResponse) SetResults(ctx context.Context, v []Dashboard)

SetResults sets the value of the Results field in ListResponse.

func (ListResponse) ToObjectValue added in v1.61.0

func (o 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 (o 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) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *ListResponse_SdkV2) SetResults(ctx context.Context, v []Dashboard_SdkV2)

SetResults sets the value of the Results field in 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:"-"`
}

List visualizations on a query

func (ListVisualizationsForQueryRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

List visualizations on a query

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) 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListVisualizationsForQueryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVisualizationsForQueryResponse)

func (*ListVisualizationsForQueryResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListVisualizationsForQueryResponse) SyncEffectiveFieldsDuringRead(existingState ListVisualizationsForQueryResponse)

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

func (newState *ListVisualizationsForQueryResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVisualizationsForQueryResponse_SdkV2)

func (*ListVisualizationsForQueryResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListVisualizationsForQueryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListVisualizationsForQueryResponse_SdkV2)

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 {
	// Service Principal which will be used to fetch the list of warehouses. If
	// not specified, the user from the session header is used.
	RunAsUserId types.Int64 `tfsdk:"-"`
}

List warehouses

func (ListWarehousesRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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 {
	// Service Principal which will be used to fetch the list of warehouses. If
	// not specified, the user from the session header is used.
	RunAsUserId types.Int64 `tfsdk:"-"`
}

List warehouses

func (ListWarehousesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 list of warehouses and their configurations.
	Warehouses types.List `tfsdk:"warehouses"`
}

func (ListWarehousesResponse) ApplySchemaCustomizations added in v1.63.0

func (c ListWarehousesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListWarehousesResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListWarehousesResponse) SetWarehouses(ctx context.Context, v []EndpointInfo)

SetWarehouses sets the value of the Warehouses field in ListWarehousesResponse.

func (*ListWarehousesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListWarehousesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWarehousesResponse)

func (*ListWarehousesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListWarehousesResponse) SyncEffectiveFieldsDuringRead(existingState 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 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListWarehousesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWarehousesResponse_SdkV2)

func (*ListWarehousesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListWarehousesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c MultiValuesOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MultiValuesOptions) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *MultiValuesOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan MultiValuesOptions)

func (*MultiValuesOptions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *MultiValuesOptions) SyncEffectiveFieldsDuringRead(existingState 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 (c MultiValuesOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MultiValuesOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *MultiValuesOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan MultiValuesOptions_SdkV2)

func (*MultiValuesOptions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *MultiValuesOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c NumericValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NumericValue) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *NumericValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan NumericValue)

func (*NumericValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *NumericValue) SyncEffectiveFieldsDuringRead(existingState NumericValue)

func (NumericValue) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c NumericValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NumericValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *NumericValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NumericValue_SdkV2)

func (*NumericValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *NumericValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c OdbcParams) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (OdbcParams) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *OdbcParams) SyncEffectiveFieldsDuringCreateOrUpdate(plan OdbcParams)

func (*OdbcParams) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *OdbcParams) SyncEffectiveFieldsDuringRead(existingState OdbcParams)

func (OdbcParams) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c OdbcParams_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (OdbcParams_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *OdbcParams_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan OdbcParams_SdkV2)

func (*OdbcParams_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *OdbcParams_SdkV2) SyncEffectiveFieldsDuringRead(existingState OdbcParams_SdkV2)

func (OdbcParams_SdkV2) ToObjectValue added in v1.62.1

func (o 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:"enumOptions"`
	// 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:"multiValuesOptions"`
	// 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:"queryId"`
	// 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 (c Parameter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Parameter) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *Parameter) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in Parameter.

func (*Parameter) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Parameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan Parameter)

func (*Parameter) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Parameter) SyncEffectiveFieldsDuringRead(existingState Parameter)

func (Parameter) ToObjectValue added in v1.61.0

func (o 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 (o 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:"enumOptions"`
	// 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:"multiValuesOptions"`
	// 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:"queryId"`
	// 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 (c Parameter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Parameter_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *Parameter_SdkV2) SetMultiValuesOptions(ctx context.Context, v MultiValuesOptions_SdkV2)

SetMultiValuesOptions sets the value of the MultiValuesOptions field in Parameter_SdkV2.

func (*Parameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Parameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Parameter_SdkV2)

func (*Parameter_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Parameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState Parameter_SdkV2)

func (Parameter_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c Query) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Query) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *Query) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in Query.

func (*Query) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Query) SyncEffectiveFieldsDuringCreateOrUpdate(plan Query)

func (*Query) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Query) SyncEffectiveFieldsDuringRead(existingState Query)

func (Query) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c QueryBackedValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryBackedValue) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *QueryBackedValue) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in QueryBackedValue.

func (*QueryBackedValue) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryBackedValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryBackedValue)

func (*QueryBackedValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryBackedValue) SyncEffectiveFieldsDuringRead(existingState QueryBackedValue)

func (QueryBackedValue) ToObjectValue added in v1.61.0

func (o 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 (c QueryBackedValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryBackedValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *QueryBackedValue_SdkV2) SetValues(ctx context.Context, v []types.String)

SetValues sets the value of the Values field in QueryBackedValue_SdkV2.

func (*QueryBackedValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryBackedValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryBackedValue_SdkV2)

func (*QueryBackedValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryBackedValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c QueryEditContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryEditContent) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *QueryEditContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryEditContent.

func (*QueryEditContent) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryEditContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryEditContent)

func (*QueryEditContent) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryEditContent) SyncEffectiveFieldsDuringRead(existingState QueryEditContent)

func (QueryEditContent) ToObjectValue added in v1.61.0

func (o 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 (c QueryEditContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryEditContent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *QueryEditContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryEditContent_SdkV2.

func (*QueryEditContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryEditContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryEditContent_SdkV2)

func (*QueryEditContent_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryEditContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 <= 30
	// days.
	QueryStartTimeRange types.Object `tfsdk:"query_start_time_range"`
	// A list of statement IDs.
	StatementIds types.List `tfsdk:"statement_ids"`

	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 (c QueryFilter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryFilter) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *QueryFilter) SetWarehouseIds(ctx context.Context, v []types.String)

SetWarehouseIds sets the value of the WarehouseIds field in QueryFilter.

func (*QueryFilter) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryFilter) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryFilter)

func (*QueryFilter) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryFilter) SyncEffectiveFieldsDuringRead(existingState QueryFilter)

func (QueryFilter) ToObjectValue added in v1.61.0

func (o 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 (o 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 <= 30
	// days.
	QueryStartTimeRange types.List `tfsdk:"query_start_time_range"`
	// A list of statement IDs.
	StatementIds types.List `tfsdk:"statement_ids"`

	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 (c QueryFilter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryFilter_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *QueryFilter_SdkV2) SetWarehouseIds(ctx context.Context, v []types.String)

SetWarehouseIds sets the value of the WarehouseIds field in QueryFilter_SdkV2.

func (*QueryFilter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryFilter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryFilter_SdkV2)

func (*QueryFilter_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryFilter_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryFilter_SdkV2)

func (QueryFilter_SdkV2) ToObjectValue added in v1.62.1

func (o 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 {
	// SQL Warehouse channel information at the time of query execution
	ChannelUsed types.Object `tfsdk:"channel_used"`
	// Total execution time of the statement ( excluding result fetch 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"`
	// 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 (c QueryInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*QueryInfo) GetChannelUsed added in v1.61.0

func (o *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 (a 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 (o *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) SetChannelUsed added in v1.61.0

func (o *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 (o *QueryInfo) SetMetrics(ctx context.Context, v QueryMetrics)

SetMetrics sets the value of the Metrics field in QueryInfo.

func (*QueryInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryInfo)

func (*QueryInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryInfo) SyncEffectiveFieldsDuringRead(existingState QueryInfo)

func (QueryInfo) ToObjectValue added in v1.61.0

func (o 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 (o QueryInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type QueryInfo_SdkV2 added in v1.62.1

type QueryInfo_SdkV2 struct {
	// SQL Warehouse channel information at the time of query execution
	ChannelUsed types.List `tfsdk:"channel_used"`
	// Total execution time of the statement ( excluding result fetch 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"`
	// 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 (c QueryInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*QueryInfo_SdkV2) GetChannelUsed added in v1.62.1

func (o *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 (a 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 (o *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) SetChannelUsed added in v1.62.1

func (o *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 (o *QueryInfo_SdkV2) SetMetrics(ctx context.Context, v QueryMetrics_SdkV2)

SetMetrics sets the value of the Metrics field in QueryInfo_SdkV2.

func (*QueryInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryInfo_SdkV2)

func (*QueryInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryInfo_SdkV2)

func (QueryInfo_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c QueryList) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryList) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *QueryList) SetResults(ctx context.Context, v []LegacyQuery)

SetResults sets the value of the Results field in QueryList.

func (*QueryList) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryList) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryList)

func (*QueryList) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryList) SyncEffectiveFieldsDuringRead(existingState QueryList)

func (QueryList) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c QueryList_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryList_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *QueryList_SdkV2) SetResults(ctx context.Context, v []LegacyQuery_SdkV2)

SetResults sets the value of the Results field in QueryList_SdkV2.

func (*QueryList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryList_SdkV2)

func (*QueryList_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryList_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryList_SdkV2)

func (QueryList_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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"`
	// 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 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"`
	// 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"`
	// 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"`
	// Size of data temporarily written to disk while executing the query, in
	// bytes.
	SpillToDiskBytes types.Int64 `tfsdk:"spill_to_disk_bytes"`
	// 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"`
	// 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 (c QueryMetrics) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryMetrics) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryMetrics) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryMetrics)

func (*QueryMetrics) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryMetrics) SyncEffectiveFieldsDuringRead(existingState QueryMetrics)

func (QueryMetrics) ToObjectValue added in v1.61.0

func (o 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 (o 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"`
	// 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 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"`
	// 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"`
	// 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"`
	// Size of data temporarily written to disk while executing the query, in
	// bytes.
	SpillToDiskBytes types.Int64 `tfsdk:"spill_to_disk_bytes"`
	// 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"`
	// 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 (c QueryMetrics_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryMetrics_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryMetrics_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryMetrics_SdkV2)

func (*QueryMetrics_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryMetrics_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c QueryOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryOptions) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *QueryOptions) SetParameters(ctx context.Context, v []Parameter)

SetParameters sets the value of the Parameters field in QueryOptions.

func (*QueryOptions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryOptions)

func (*QueryOptions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryOptions) SyncEffectiveFieldsDuringRead(existingState QueryOptions)

func (QueryOptions) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c QueryOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *QueryOptions_SdkV2) SetParameters(ctx context.Context, v []Parameter_SdkV2)

SetParameters sets the value of the Parameters field in QueryOptions_SdkV2.

func (*QueryOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryOptions_SdkV2)

func (*QueryOptions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c QueryParameter) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryParameter) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *QueryParameter) SetTextValue(ctx context.Context, v TextValue)

SetTextValue sets the value of the TextValue field in QueryParameter.

func (*QueryParameter) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryParameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryParameter)

func (*QueryParameter) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryParameter) SyncEffectiveFieldsDuringRead(existingState QueryParameter)

func (QueryParameter) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c QueryParameter_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryParameter_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *QueryParameter_SdkV2) SetTextValue(ctx context.Context, v TextValue_SdkV2)

SetTextValue sets the value of the TextValue field in QueryParameter_SdkV2.

func (*QueryParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryParameter_SdkV2)

func (*QueryParameter_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryParameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c QueryPostContent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryPostContent) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *QueryPostContent) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryPostContent.

func (*QueryPostContent) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *QueryPostContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryPostContent)

func (*QueryPostContent) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *QueryPostContent) SyncEffectiveFieldsDuringRead(existingState QueryPostContent)

func (QueryPostContent) ToObjectValue added in v1.61.0

func (o 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 (c QueryPostContent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (QueryPostContent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *QueryPostContent_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in QueryPostContent_SdkV2.

func (*QueryPostContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *QueryPostContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryPostContent_SdkV2)

func (*QueryPostContent_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *QueryPostContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c Query_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Query_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *Query_SdkV2) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in Query_SdkV2.

func (*Query_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Query_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Query_SdkV2)

func (*Query_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Query_SdkV2) SyncEffectiveFieldsDuringRead(existingState Query_SdkV2)

func (Query_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c RepeatedEndpointConfPairs) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RepeatedEndpointConfPairs) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *RepeatedEndpointConfPairs) SetConfigurationPairs(ctx context.Context, v []EndpointConfPair)

SetConfigurationPairs sets the value of the ConfigurationPairs field in RepeatedEndpointConfPairs.

func (*RepeatedEndpointConfPairs) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RepeatedEndpointConfPairs) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepeatedEndpointConfPairs)

func (*RepeatedEndpointConfPairs) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RepeatedEndpointConfPairs) SyncEffectiveFieldsDuringRead(existingState 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 (a 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 (o *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 (o *RepeatedEndpointConfPairs_SdkV2) SetConfigurationPairs(ctx context.Context, v []EndpointConfPair_SdkV2)

SetConfigurationPairs sets the value of the ConfigurationPairs field in RepeatedEndpointConfPairs_SdkV2.

func (*RepeatedEndpointConfPairs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *RepeatedEndpointConfPairs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepeatedEndpointConfPairs_SdkV2)

func (*RepeatedEndpointConfPairs_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *RepeatedEndpointConfPairs_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepeatedEndpointConfPairs_SdkV2)

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

Restore a dashboard

func (RestoreDashboardRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Restore a dashboard

func (RestoreDashboardRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Restore a query

func (RestoreQueriesLegacyRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Restore a query

func (RestoreQueriesLegacyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

func (o 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 (o 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) GetComplexFieldTypes added in v1.62.1

func (a 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) 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"`
}

func (ResultData) ApplySchemaCustomizations added in v1.63.0

func (c ResultData) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ResultData) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *ResultData) SetDataArray(ctx context.Context, v []types.String)

SetDataArray sets the value of the DataArray field in ResultData.

func (o *ResultData) SetExternalLinks(ctx context.Context, v []ExternalLink)

SetExternalLinks sets the value of the ExternalLinks field in ResultData.

func (*ResultData) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ResultData) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultData)

func (*ResultData) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ResultData) SyncEffectiveFieldsDuringRead(existingState ResultData)

func (ResultData) ToObjectValue added in v1.61.0

func (o 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 (o 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"`
}

func (ResultData_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c ResultData_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ResultData_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *ResultData_SdkV2) SetDataArray(ctx context.Context, v []types.String)

SetDataArray sets the value of the DataArray field in ResultData_SdkV2.

func (o *ResultData_SdkV2) SetExternalLinks(ctx context.Context, v []ExternalLink_SdkV2)

SetExternalLinks sets the value of the ExternalLinks field in ResultData_SdkV2.

func (*ResultData_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ResultData_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultData_SdkV2)

func (*ResultData_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ResultData_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResultData_SdkV2)

func (ResultData_SdkV2) ToObjectValue added in v1.62.1

func (o 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"`
	// The schema is an ordered list of column descriptions.
	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 (c ResultManifest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultManifest) GetChunks added in v1.61.0

func (o *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 (a 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 (o *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 (o *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 (o *ResultManifest) SetSchema(ctx context.Context, v ResultSchema)

SetSchema sets the value of the Schema field in ResultManifest.

func (*ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultManifest)

func (*ResultManifest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ResultManifest) SyncEffectiveFieldsDuringRead(existingState ResultManifest)

func (ResultManifest) ToObjectValue added in v1.61.0

func (o 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 (o 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"`
	// The schema is an ordered list of column descriptions.
	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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ResultManifest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultManifest_SdkV2)

func (*ResultManifest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ResultManifest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c ResultSchema) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultSchema) GetColumns added in v1.61.0

func (o *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 (a 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 (o *ResultSchema) SetColumns(ctx context.Context, v []ColumnInfo)

SetColumns sets the value of the Columns field in ResultSchema.

func (*ResultSchema) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ResultSchema) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultSchema)

func (*ResultSchema) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ResultSchema) SyncEffectiveFieldsDuringRead(existingState ResultSchema)

func (ResultSchema) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c ResultSchema_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResultSchema_SdkV2) GetColumns added in v1.62.1

func (o *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 (a 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 (o *ResultSchema_SdkV2) SetColumns(ctx context.Context, v []ColumnInfo_SdkV2)

SetColumns sets the value of the Columns field in ResultSchema_SdkV2.

func (*ResultSchema_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ResultSchema_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultSchema_SdkV2)

func (*ResultSchema_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ResultSchema_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c ServiceError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServiceError) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ServiceError) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServiceError)

func (*ServiceError) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ServiceError) SyncEffectiveFieldsDuringRead(existingState ServiceError)

func (ServiceError) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c ServiceError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ServiceError_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ServiceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ServiceError_SdkV2)

func (*ServiceError_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ServiceError_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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) GetAccessControlList added in v1.61.0

func (o *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 (a 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 (o *SetRequest) SetAccessControlList(ctx context.Context, v []AccessControl)

SetAccessControlList sets the value of the AccessControlList field in SetRequest.

func (SetRequest) ToObjectValue added in v1.61.0

func (o 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 (o 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) GetAccessControlList added in v1.62.1

func (o *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 (a 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 (o *SetRequest_SdkV2) SetAccessControlList(ctx context.Context, v []AccessControl_SdkV2)

SetAccessControlList sets the value of the AccessControlList field in SetRequest_SdkV2.

func (SetRequest_SdkV2) ToObjectValue added in v1.62.1

func (o 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) GetAccessControlList added in v1.61.0

func (o *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 (a 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 (o *SetResponse) SetAccessControlList(ctx context.Context, v []AccessControl)

SetAccessControlList sets the value of the AccessControlList field in SetResponse.

func (SetResponse) ToObjectValue added in v1.61.0

func (o 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 (o 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) GetAccessControlList added in v1.62.1

func (o *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 (a 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 (o *SetResponse_SdkV2) SetAccessControlList(ctx context.Context, v []AccessControl_SdkV2)

SetAccessControlList sets the value of the AccessControlList field in SetResponse_SdkV2.

func (SetResponse_SdkV2) ToObjectValue added in v1.62.1

func (o 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"`
	// 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: Instance profile used to pass IAM role to the cluster
	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 (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 (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *SetWorkspaceWarehouseConfigRequest) SetSqlConfigurationParameters(ctx context.Context, v RepeatedEndpointConfPairs)

SetSqlConfigurationParameters sets the value of the SqlConfigurationParameters field in SetWorkspaceWarehouseConfigRequest.

func (*SetWorkspaceWarehouseConfigRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SetWorkspaceWarehouseConfigRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetWorkspaceWarehouseConfigRequest)

func (*SetWorkspaceWarehouseConfigRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SetWorkspaceWarehouseConfigRequest) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigRequest)

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"`
	// 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: Instance profile used to pass IAM role to the cluster
	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 (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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *SetWorkspaceWarehouseConfigRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetWorkspaceWarehouseConfigRequest_SdkV2)

func (*SetWorkspaceWarehouseConfigRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *SetWorkspaceWarehouseConfigRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigRequest_SdkV2)

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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetWorkspaceWarehouseConfigResponse)

func (*SetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigResponse)

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

func (newState *SetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetWorkspaceWarehouseConfigResponse_SdkV2)

func (*SetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *SetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigResponse_SdkV2)

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

Start a warehouse

func (StartRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

Start a warehouse

func (StartRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 (c StartWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StartWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartWarehouseResponse)

func (*StartWarehouseResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StartWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *StartWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartWarehouseResponse_SdkV2)

func (*StartWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *StartWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c StatementParameterListItem) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementParameterListItem) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StatementParameterListItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan StatementParameterListItem)

func (*StatementParameterListItem) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StatementParameterListItem) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *StatementParameterListItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StatementParameterListItem_SdkV2)

func (*StatementParameterListItem_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *StatementParameterListItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState StatementParameterListItem_SdkV2)

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 {
	// The result manifest provides schema and metadata for the result set.
	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"`
	// The status response includes execution state and if relevant, error
	// information.
	Status types.Object `tfsdk:"status"`
}

func (StatementResponse) ApplySchemaCustomizations added in v1.63.0

func (c StatementResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *StatementResponse) SetStatus(ctx context.Context, v StatementStatus)

SetStatus sets the value of the Status field in StatementResponse.

func (*StatementResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StatementResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan StatementResponse)

func (*StatementResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StatementResponse) SyncEffectiveFieldsDuringRead(existingState StatementResponse)

func (StatementResponse) ToObjectValue added in v1.61.0

func (o 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 {
	// The result manifest provides schema and metadata for the result set.
	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"`
	// The status response includes execution state and if relevant, error
	// information.
	Status types.List `tfsdk:"status"`
}

func (StatementResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c StatementResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *StatementResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StatementResponse_SdkV2)

func (*StatementResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *StatementResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 accomanying 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 (c StatementStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementStatus) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *StatementStatus) SetError(ctx context.Context, v ServiceError)

SetError sets the value of the Error field in StatementStatus.

func (*StatementStatus) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StatementStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan StatementStatus)

func (*StatementStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StatementStatus) SyncEffectiveFieldsDuringRead(existingState StatementStatus)

func (StatementStatus) ToObjectValue added in v1.61.0

func (o 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 (o 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 accomanying 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 (c StatementStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StatementStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *StatementStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StatementStatus_SdkV2)

func (*StatementStatus_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *StatementStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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:"-"`
}

Stop a warehouse

func (StopRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

Stop a warehouse

func (StopRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) ToObjectValue added in v1.62.1

func (o 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 (c StopWarehouseResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StopWarehouseResponse) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StopWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopWarehouseResponse)

func (*StopWarehouseResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StopWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState 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 (c StopWarehouseResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StopWarehouseResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *StopWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopWarehouseResponse_SdkV2)

func (*StopWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *StopWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c Success) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Success) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Success) SyncEffectiveFieldsDuringCreateOrUpdate(plan Success)

func (*Success) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Success) SyncEffectiveFieldsDuringRead(existingState Success)

func (Success) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c Success_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Success_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Success_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Success_SdkV2)

func (*Success_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Success_SdkV2) SyncEffectiveFieldsDuringRead(existingState Success_SdkV2)

func (Success_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o Success_SdkV2) Type(ctx context.Context) attr.Type

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 (c TerminationReason) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TerminationReason) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *TerminationReason) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason.

func (*TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason)

func (*TerminationReason) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *TerminationReason) SyncEffectiveFieldsDuringRead(existingState TerminationReason)

func (TerminationReason) ToObjectValue added in v1.61.0

func (o 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 (c TerminationReason_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TerminationReason_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason_SdkV2)

func (*TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c TextValue) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TextValue) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *TextValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan TextValue)

func (*TextValue) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *TextValue) SyncEffectiveFieldsDuringRead(existingState TextValue)

func (TextValue) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c TextValue_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TextValue_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *TextValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TextValue_SdkV2)

func (*TextValue_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *TextValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState TextValue_SdkV2)

func (TextValue_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c TimeRange) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TimeRange) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *TimeRange) SyncEffectiveFieldsDuringCreateOrUpdate(plan TimeRange)

func (*TimeRange) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *TimeRange) SyncEffectiveFieldsDuringRead(existingState TimeRange)

func (TimeRange) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c TimeRange_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TimeRange_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *TimeRange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TimeRange_SdkV2)

func (*TimeRange_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *TimeRange_SdkV2) SyncEffectiveFieldsDuringRead(existingState TimeRange_SdkV2)

func (TimeRange_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c TransferOwnershipObjectId) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TransferOwnershipObjectId) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *TransferOwnershipObjectId) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransferOwnershipObjectId)

func (*TransferOwnershipObjectId) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *TransferOwnershipObjectId) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *TransferOwnershipObjectId_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransferOwnershipObjectId_SdkV2)

func (*TransferOwnershipObjectId_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *TransferOwnershipObjectId_SdkV2) SyncEffectiveFieldsDuringRead(existingState TransferOwnershipObjectId_SdkV2)

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

Transfer object ownership

func (TransferOwnershipRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) 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:"-"`
}

Transfer object ownership

func (TransferOwnershipRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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:"-"`
}

Delete an alert

func (TrashAlertRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

Delete an alert

func (TrashAlertRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 TrashQueryRequest

type TrashQueryRequest struct {
	Id types.String `tfsdk:"-"`
}

Delete a query

func (TrashQueryRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

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

Delete a query

func (TrashQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) 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"`

	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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateAlertRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAlertRequest)

func (*UpdateAlertRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateAlertRequest) SyncEffectiveFieldsDuringRead(existingState 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 (c UpdateAlertRequestAlert) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateAlertRequestAlert) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *UpdateAlertRequestAlert) SetCondition(ctx context.Context, v AlertCondition)

SetCondition sets the value of the Condition field in UpdateAlertRequestAlert.

func (*UpdateAlertRequestAlert) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateAlertRequestAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAlertRequestAlert)

func (*UpdateAlertRequestAlert) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateAlertRequestAlert) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UpdateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAlertRequestAlert_SdkV2)

func (*UpdateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`

	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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UpdateAlertRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAlertRequest_SdkV2)

func (*UpdateAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 UpdateQueryRequest

type UpdateQueryRequest struct {
	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 (c UpdateQueryRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateQueryRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateQueryRequest)

func (*UpdateQueryRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateQueryRequest) SyncEffectiveFieldsDuringRead(existingState 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 (c UpdateQueryRequestQuery) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateQueryRequestQuery) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *UpdateQueryRequestQuery) SetTags(ctx context.Context, v []types.String)

SetTags sets the value of the Tags field in UpdateQueryRequestQuery.

func (*UpdateQueryRequestQuery) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateQueryRequestQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateQueryRequestQuery)

func (*UpdateQueryRequestQuery) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateQueryRequestQuery) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UpdateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateQueryRequestQuery_SdkV2)

func (*UpdateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	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 (c UpdateQueryRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateQueryRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UpdateQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateQueryRequest_SdkV2)

func (*UpdateQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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) GetComplexFieldTypes added in v1.61.0

func (a 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) ToObjectValue added in v1.61.0

func (o 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 (o 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) GetComplexFieldTypes added in v1.62.1

func (a 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) 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 (c UpdateVisualizationRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateVisualizationRequest) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateVisualizationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateVisualizationRequest)

func (*UpdateVisualizationRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateVisualizationRequest) SyncEffectiveFieldsDuringRead(existingState 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateVisualizationRequestVisualization) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateVisualizationRequestVisualization)

func (*UpdateVisualizationRequestVisualization) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateVisualizationRequestVisualization) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequestVisualization)

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

func (newState *UpdateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateVisualizationRequestVisualization_SdkV2)

func (*UpdateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequestVisualization_SdkV2)

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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UpdateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateVisualizationRequest_SdkV2)

func (*UpdateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequest_SdkV2)

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 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 (c User) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (User) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *User) SyncEffectiveFieldsDuringCreateOrUpdate(plan User)

func (*User) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *User) SyncEffectiveFieldsDuringRead(existingState User)

func (User) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c User_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (User_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *User_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan User_SdkV2)

func (*User_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *User_SdkV2) SyncEffectiveFieldsDuringRead(existingState User_SdkV2)

func (User_SdkV2) ToObjectValue added in v1.62.1

func (o 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 (o 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 (c Visualization) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Visualization) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Visualization) SyncEffectiveFieldsDuringCreateOrUpdate(plan Visualization)

func (*Visualization) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Visualization) SyncEffectiveFieldsDuringRead(existingState Visualization)

func (Visualization) ToObjectValue added in v1.61.0

func (o 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 (o 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 (c Visualization_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Visualization_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Visualization_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Visualization_SdkV2)

func (*Visualization_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Visualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehouseAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehouseAccessControlRequest)

func (*WarehouseAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehouseAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehouseAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehouseAccessControlRequest_SdkV2)

func (*WarehouseAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehouseAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlRequest_SdkV2)

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 (a 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 (o *WarehouseAccessControlResponse) SetAllPermissions(ctx context.Context, v []WarehousePermission)

SetAllPermissions sets the value of the AllPermissions field in WarehouseAccessControlResponse.

func (*WarehouseAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehouseAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehouseAccessControlResponse)

func (*WarehouseAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehouseAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlResponse)

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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehouseAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehouseAccessControlResponse_SdkV2)

func (*WarehouseAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehouseAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlResponse_SdkV2)

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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermission) ApplySchemaCustomizations added in v1.63.0

func (c WarehousePermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehousePermission) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *WarehousePermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in WarehousePermission.

func (*WarehousePermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehousePermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermission)

func (*WarehousePermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehousePermission) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c WarehousePermission_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehousePermission_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *WarehousePermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in WarehousePermission_SdkV2.

func (*WarehousePermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehousePermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermission_SdkV2)

func (*WarehousePermission_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehousePermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c WarehousePermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*WarehousePermissions) GetAccessControlList added in v1.61.0

func (o *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 (a 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 (o *WarehousePermissions) SetAccessControlList(ctx context.Context, v []WarehouseAccessControlResponse)

SetAccessControlList sets the value of the AccessControlList field in WarehousePermissions.

func (*WarehousePermissions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehousePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermissions)

func (*WarehousePermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehousePermissions) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (WarehousePermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (WarehousePermissionsDescription) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehousePermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermissionsDescription)

func (*WarehousePermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehousePermissionsDescription) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsDescription)

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"`
	// Permission level
	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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehousePermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermissionsDescription_SdkV2)

func (*WarehousePermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehousePermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsDescription_SdkV2)

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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehousePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermissionsRequest)

func (*WarehousePermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehousePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermissionsRequest_SdkV2)

func (*WarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsRequest_SdkV2)

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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehousePermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehousePermissions_SdkV2)

func (*WarehousePermissions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehousePermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Warehouse type: `PRO` or `CLASSIC`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

func (WarehouseTypePair) ApplySchemaCustomizations added in v1.63.0

func (c WarehouseTypePair) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehouseTypePair) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WarehouseTypePair) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehouseTypePair)

func (*WarehouseTypePair) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WarehouseTypePair) SyncEffectiveFieldsDuringRead(existingState WarehouseTypePair)

func (WarehouseTypePair) ToObjectValue added in v1.61.0

func (o 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"`
	// Warehouse type: `PRO` or `CLASSIC`.
	WarehouseType types.String `tfsdk:"warehouse_type"`
}

func (WarehouseTypePair_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c WarehouseTypePair_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WarehouseTypePair_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WarehouseTypePair_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WarehouseTypePair_SdkV2)

func (*WarehouseTypePair_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WarehouseTypePair_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c Widget) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Widget) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *Widget) SetVisualization(ctx context.Context, v LegacyVisualization)

SetVisualization sets the value of the Visualization field in Widget.

func (*Widget) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Widget) SyncEffectiveFieldsDuringCreateOrUpdate(plan Widget)

func (*Widget) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Widget) SyncEffectiveFieldsDuringRead(existingState Widget)

func (Widget) ToObjectValue added in v1.61.0

func (o 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 (o 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:"isHidden"`
	// 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:"parameterMappings"`
	// 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 (c WidgetOptions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetOptions) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *WidgetOptions) SetPosition(ctx context.Context, v WidgetPosition)

SetPosition sets the value of the Position field in WidgetOptions.

func (*WidgetOptions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WidgetOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan WidgetOptions)

func (*WidgetOptions) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WidgetOptions) SyncEffectiveFieldsDuringRead(existingState WidgetOptions)

func (WidgetOptions) ToObjectValue added in v1.61.0

func (o 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 (o 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:"isHidden"`
	// 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:"parameterMappings"`
	// 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 (c WidgetOptions_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetOptions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WidgetOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WidgetOptions_SdkV2)

func (*WidgetOptions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WidgetOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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:"autoHeight"`
	// 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:"sizeX"`
	// height of the widget measured in dashboard grid cells
	SizeY types.Int64 `tfsdk:"sizeY"`
}

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 (c WidgetPosition) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetPosition) GetComplexFieldTypes added in v1.61.0

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WidgetPosition) SyncEffectiveFieldsDuringCreateOrUpdate(plan WidgetPosition)

func (*WidgetPosition) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WidgetPosition) SyncEffectiveFieldsDuringRead(existingState WidgetPosition)

func (WidgetPosition) ToObjectValue added in v1.61.0

func (o 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 (o 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:"autoHeight"`
	// 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:"sizeX"`
	// height of the widget measured in dashboard grid cells
	SizeY types.Int64 `tfsdk:"sizeY"`
}

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 (c WidgetPosition_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WidgetPosition_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WidgetPosition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WidgetPosition_SdkV2)

func (*WidgetPosition_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WidgetPosition_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (c Widget_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Widget_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *Widget_SdkV2) SetVisualization(ctx context.Context, v LegacyVisualization_SdkV2)

SetVisualization sets the value of the Visualization field in Widget_SdkV2.

func (*Widget_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Widget_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Widget_SdkV2)

func (*Widget_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Widget_SdkV2) SyncEffectiveFieldsDuringRead(existingState Widget_SdkV2)

func (Widget_SdkV2) ToObjectValue added in v1.62.1

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