compute_tf

package
v1.122.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddInstanceProfile

type AddInstanceProfile struct {
	// The AWS IAM role ARN of the role associated with the instance profile.
	// This field is required if your role name and instance profile name do not
	// match and you want to use the instance profile with [Databricks SQL
	// Serverless].
	//
	// Otherwise, this field is optional.
	//
	// [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html
	IamRoleArn types.String `tfsdk:"iam_role_arn"`
	// The AWS ARN of the instance profile to register with Databricks. This
	// field is required.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Boolean flag indicating whether the instance profile should only be used
	// in credential passthrough scenarios. If true, it means the instance
	// profile contains an meta IAM role which could assume a wide range of
	// roles. Therefore it should always be used with authorization. This field
	// is optional, the default value is `false`.
	IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"`
	// By default, Databricks validates that it has sufficient permissions to
	// launch instances with the instance profile. This validation uses AWS
	// dry-run mode for the RunInstances API. If validation fails with an error
	// message that does not indicate an IAM related permission issue, (e.g.
	// “Your requested instance type is not supported in your requested
	// availability zone”), you can pass this flag to skip the validation and
	// forcibly add the instance profile.
	SkipValidation types.Bool `tfsdk:"skip_validation"`
}

func (AddInstanceProfile) ApplySchemaCustomizations added in v1.63.0

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

func (AddInstanceProfile) GetComplexFieldTypes added in v1.61.0

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

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

func (*AddInstanceProfile) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*AddInstanceProfile) SyncFieldsDuringRead added in v1.91.0

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

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

func (AddInstanceProfile) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type AddInstanceProfile_SdkV2 added in v1.62.1

type AddInstanceProfile_SdkV2 struct {
	// The AWS IAM role ARN of the role associated with the instance profile.
	// This field is required if your role name and instance profile name do not
	// match and you want to use the instance profile with [Databricks SQL
	// Serverless].
	//
	// Otherwise, this field is optional.
	//
	// [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html
	IamRoleArn types.String `tfsdk:"iam_role_arn"`
	// The AWS ARN of the instance profile to register with Databricks. This
	// field is required.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Boolean flag indicating whether the instance profile should only be used
	// in credential passthrough scenarios. If true, it means the instance
	// profile contains an meta IAM role which could assume a wide range of
	// roles. Therefore it should always be used with authorization. This field
	// is optional, the default value is `false`.
	IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"`
	// By default, Databricks validates that it has sufficient permissions to
	// launch instances with the instance profile. This validation uses AWS
	// dry-run mode for the RunInstances API. If validation fails with an error
	// message that does not indicate an IAM related permission issue, (e.g.
	// “Your requested instance type is not supported in your requested
	// availability zone”), you can pass this flag to skip the validation and
	// forcibly add the instance profile.
	SkipValidation types.Bool `tfsdk:"skip_validation"`
}

func (AddInstanceProfile_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AddInstanceProfile_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*AddInstanceProfile_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*AddInstanceProfile_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (AddInstanceProfile_SdkV2) ToObjectValue added in v1.62.1

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

func (AddInstanceProfile_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AddResponse

type AddResponse struct {
}

func (AddResponse) ApplySchemaCustomizations added in v1.76.0

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

func (AddResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*AddResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AddResponse) SyncFieldsDuringRead added in v1.86.0

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

func (AddResponse) ToObjectValue added in v1.61.0

func (m AddResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (AddResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AddResponse_SdkV2 added in v1.62.1

type AddResponse_SdkV2 struct {
}

func (AddResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (AddResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*AddResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AddResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AddResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (AddResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Adlsgen2Info

type Adlsgen2Info struct {
	// abfss destination, e.g.
	// `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`.
	Destination types.String `tfsdk:"destination"`
}

A storage location in Adls Gen2

func (Adlsgen2Info) ApplySchemaCustomizations added in v1.63.0

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

func (Adlsgen2Info) GetComplexFieldTypes added in v1.61.0

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

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

func (*Adlsgen2Info) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Adlsgen2Info) SyncFieldsDuringRead added in v1.86.0

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

func (Adlsgen2Info) ToObjectValue added in v1.61.0

func (m Adlsgen2Info) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (Adlsgen2Info) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type Adlsgen2Info_SdkV2 added in v1.62.1

type Adlsgen2Info_SdkV2 struct {
	// abfss destination, e.g.
	// `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`.
	Destination types.String `tfsdk:"destination"`
}

A storage location in Adls Gen2

func (Adlsgen2Info_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Adlsgen2Info_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*Adlsgen2Info_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Adlsgen2Info_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (Adlsgen2Info_SdkV2) ToObjectValue added in v1.62.1

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

func (Adlsgen2Info_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AutoScale

type AutoScale struct {
	// The maximum number of workers to which the cluster can scale up when
	// overloaded. Note that `max_workers` must be strictly greater than
	// `min_workers`.
	MaxWorkers types.Int64 `tfsdk:"max_workers"`
	// The minimum number of workers to which the cluster can scale down when
	// underutilized. It is also the initial number of workers the cluster will
	// have after creation.
	MinWorkers types.Int64 `tfsdk:"min_workers"`
}

func (AutoScale) ApplySchemaCustomizations added in v1.63.0

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

func (AutoScale) GetComplexFieldTypes added in v1.61.0

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

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

func (*AutoScale) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AutoScale) SyncFieldsDuringRead added in v1.86.0

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

func (AutoScale) ToObjectValue added in v1.61.0

func (m AutoScale) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (AutoScale) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AutoScale_SdkV2 added in v1.62.1

type AutoScale_SdkV2 struct {
	// The maximum number of workers to which the cluster can scale up when
	// overloaded. Note that `max_workers` must be strictly greater than
	// `min_workers`.
	MaxWorkers types.Int64 `tfsdk:"max_workers"`
	// The minimum number of workers to which the cluster can scale down when
	// underutilized. It is also the initial number of workers the cluster will
	// have after creation.
	MinWorkers types.Int64 `tfsdk:"min_workers"`
}

func (AutoScale_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AutoScale_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*AutoScale_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AutoScale_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AutoScale_SdkV2) ToObjectValue added in v1.62.1

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

func (AutoScale_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type AwsAttributes

type AwsAttributes struct {
	Availability types.String `tfsdk:"availability"`
	// The number of volumes launched for each instance. Users can choose up to
	// 10 volumes. This feature is only enabled for supported node types. Legacy
	// node types cannot specify custom EBS volumes. For node types with no
	// instance store, at least one EBS volume needs to be specified; otherwise,
	// cluster creation will fail.
	//
	// These EBS volumes will be mounted at `/ebs0`, `/ebs1`, and etc. Instance
	// store volumes will be mounted at `/local_disk0`, `/local_disk1`, and etc.
	//
	// If EBS volumes are attached, Databricks will configure Spark to use only
	// the EBS volumes for scratch storage because heterogenously sized scratch
	// devices can lead to inefficient disk utilization. If no EBS volumes are
	// attached, Databricks will configure Spark to use instance store volumes.
	//
	// Please note that if EBS volumes are specified, then the Spark
	// configuration `spark.local.dir` will be overridden.
	EbsVolumeCount types.Int64 `tfsdk:"ebs_volume_count"`
	// If using gp3 volumes, what IOPS to use for the disk. If this is not set,
	// the maximum performance of a gp2 volume with the same volume size will be
	// used.
	EbsVolumeIops types.Int64 `tfsdk:"ebs_volume_iops"`
	// The size of each EBS volume (in GiB) launched for each instance. For
	// general purpose SSD, this value must be within the range 100 - 4096. For
	// throughput optimized HDD, this value must be within the range 500 - 4096.
	EbsVolumeSize types.Int64 `tfsdk:"ebs_volume_size"`
	// If using gp3 volumes, what throughput to use for the disk. If this is not
	// set, the maximum performance of a gp2 volume with the same volume size
	// will be used.
	EbsVolumeThroughput types.Int64 `tfsdk:"ebs_volume_throughput"`
	// The type of EBS volumes that will be launched with this cluster.
	EbsVolumeType types.String `tfsdk:"ebs_volume_type"`
	// The first `first_on_demand` nodes of the cluster will be placed on
	// on-demand instances. If this value is greater than 0, the cluster driver
	// node in particular will be placed on an on-demand instance. If this value
	// is greater than or equal to the current cluster size, all nodes will be
	// placed on on-demand instances. If this value is less than the current
	// cluster size, `first_on_demand` nodes will be placed on on-demand
	// instances and the remainder will be placed on `availability` instances.
	// Note that this value does not affect cluster size and cannot currently be
	// mutated over the lifetime of a cluster.
	FirstOnDemand types.Int64 `tfsdk:"first_on_demand"`
	// Nodes for this cluster will only be placed on AWS instances with this
	// instance profile. If ommitted, nodes will be placed on instances without
	// an IAM instance profile. The instance profile must have previously been
	// added to the Databricks environment by an account administrator.
	//
	// This feature may only be available to certain customer plans.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The bid price for AWS spot instances, as a percentage of the
	// corresponding instance type's on-demand price. For example, if this field
	// is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then
	// the bid price is half of the price of on-demand `r3.xlarge` instances.
	// Similarly, if this field is set to 200, the bid price is twice the price
	// of on-demand `r3.xlarge` instances. If not specified, the default value
	// is 100. When spot instances are requested for this cluster, only spot
	// instances whose bid price percentage matches this field will be
	// considered. Note that, for safety, we enforce this field to be no more
	// than 10000.
	SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"`
	// Identifier for the availability zone/datacenter in which the cluster
	// resides. This string will be of a form like "us-west-2a". The provided
	// availability zone must be in the same region as the Databricks
	// deployment. For example, "us-west-2a" is not a valid zone id if the
	// Databricks deployment resides in the "us-east-1" region. This is an
	// optional field at cluster creation, and if not specified, the zone "auto"
	// will be used. If the zone specified is "auto", will try to place cluster
	// in a zone with high availability, and will retry placement in a different
	// AZ if there is not enough capacity.
	//
	// The list of available zones as well as the default value can be found by
	// using the `List Zones` method.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during cluster creation which are related to Amazon Web Services.

func (AwsAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (AwsAttributes) GetComplexFieldTypes added in v1.61.0

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

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

func (*AwsAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AwsAttributes) SyncFieldsDuringRead added in v1.86.0

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

func (AwsAttributes) ToObjectValue added in v1.61.0

func (m AwsAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (AwsAttributes) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AwsAttributes_SdkV2 added in v1.62.1

type AwsAttributes_SdkV2 struct {
	Availability types.String `tfsdk:"availability"`
	// The number of volumes launched for each instance. Users can choose up to
	// 10 volumes. This feature is only enabled for supported node types. Legacy
	// node types cannot specify custom EBS volumes. For node types with no
	// instance store, at least one EBS volume needs to be specified; otherwise,
	// cluster creation will fail.
	//
	// These EBS volumes will be mounted at `/ebs0`, `/ebs1`, and etc. Instance
	// store volumes will be mounted at `/local_disk0`, `/local_disk1`, and etc.
	//
	// If EBS volumes are attached, Databricks will configure Spark to use only
	// the EBS volumes for scratch storage because heterogenously sized scratch
	// devices can lead to inefficient disk utilization. If no EBS volumes are
	// attached, Databricks will configure Spark to use instance store volumes.
	//
	// Please note that if EBS volumes are specified, then the Spark
	// configuration `spark.local.dir` will be overridden.
	EbsVolumeCount types.Int64 `tfsdk:"ebs_volume_count"`
	// If using gp3 volumes, what IOPS to use for the disk. If this is not set,
	// the maximum performance of a gp2 volume with the same volume size will be
	// used.
	EbsVolumeIops types.Int64 `tfsdk:"ebs_volume_iops"`
	// The size of each EBS volume (in GiB) launched for each instance. For
	// general purpose SSD, this value must be within the range 100 - 4096. For
	// throughput optimized HDD, this value must be within the range 500 - 4096.
	EbsVolumeSize types.Int64 `tfsdk:"ebs_volume_size"`
	// If using gp3 volumes, what throughput to use for the disk. If this is not
	// set, the maximum performance of a gp2 volume with the same volume size
	// will be used.
	EbsVolumeThroughput types.Int64 `tfsdk:"ebs_volume_throughput"`
	// The type of EBS volumes that will be launched with this cluster.
	EbsVolumeType types.String `tfsdk:"ebs_volume_type"`
	// The first `first_on_demand` nodes of the cluster will be placed on
	// on-demand instances. If this value is greater than 0, the cluster driver
	// node in particular will be placed on an on-demand instance. If this value
	// is greater than or equal to the current cluster size, all nodes will be
	// placed on on-demand instances. If this value is less than the current
	// cluster size, `first_on_demand` nodes will be placed on on-demand
	// instances and the remainder will be placed on `availability` instances.
	// Note that this value does not affect cluster size and cannot currently be
	// mutated over the lifetime of a cluster.
	FirstOnDemand types.Int64 `tfsdk:"first_on_demand"`
	// Nodes for this cluster will only be placed on AWS instances with this
	// instance profile. If ommitted, nodes will be placed on instances without
	// an IAM instance profile. The instance profile must have previously been
	// added to the Databricks environment by an account administrator.
	//
	// This feature may only be available to certain customer plans.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// The bid price for AWS spot instances, as a percentage of the
	// corresponding instance type's on-demand price. For example, if this field
	// is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then
	// the bid price is half of the price of on-demand `r3.xlarge` instances.
	// Similarly, if this field is set to 200, the bid price is twice the price
	// of on-demand `r3.xlarge` instances. If not specified, the default value
	// is 100. When spot instances are requested for this cluster, only spot
	// instances whose bid price percentage matches this field will be
	// considered. Note that, for safety, we enforce this field to be no more
	// than 10000.
	SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"`
	// Identifier for the availability zone/datacenter in which the cluster
	// resides. This string will be of a form like "us-west-2a". The provided
	// availability zone must be in the same region as the Databricks
	// deployment. For example, "us-west-2a" is not a valid zone id if the
	// Databricks deployment resides in the "us-east-1" region. This is an
	// optional field at cluster creation, and if not specified, the zone "auto"
	// will be used. If the zone specified is "auto", will try to place cluster
	// in a zone with high availability, and will retry placement in a different
	// AZ if there is not enough capacity.
	//
	// The list of available zones as well as the default value can be found by
	// using the `List Zones` method.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during cluster creation which are related to Amazon Web Services.

func (AwsAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AwsAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*AwsAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AwsAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AwsAttributes_SdkV2) ToObjectValue added in v1.62.1

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

func (AwsAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type AzureAttributes

type AzureAttributes struct {
	// Availability type used for all subsequent nodes past the
	// `first_on_demand` ones. Note: If `first_on_demand` is zero, this
	// availability type will be used for the entire cluster.
	Availability types.String `tfsdk:"availability"`
	// The Azure capacity reservation group resource ID to use for launching
	// VMs. When specified, VMs will be launched using the provided capacity
	// reservation.
	//
	// Capacity reservations can only be specified when the workspace uses
	// injected vnet (i.e. customer defined vnet not managed by databricks).
	// Ensure the databricks-login-prod Enterprise Application is granted the
	// following four permissions: 1.
	// Microsoft.Compute/capacityReservationGroups/read 2.
	// Microsoft.Compute/capacityReservationGroups/deploy/action 3.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/read 4.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/deploy/action
	//
	// Format:
	// `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}`
	CapacityReservationGroup types.String `tfsdk:"capacity_reservation_group"`
	// The first `first_on_demand` nodes of the cluster will be placed on
	// on-demand instances. This value should be greater than 0, to make sure
	// the cluster driver node is placed on an on-demand instance. If this value
	// is greater than or equal to the current cluster size, all nodes will be
	// placed on on-demand instances. If this value is less than the current
	// cluster size, `first_on_demand` nodes will be placed on on-demand
	// instances and the remainder will be placed on `availability` instances.
	// Note that this value does not affect cluster size and cannot currently be
	// mutated over the lifetime of a cluster.
	FirstOnDemand types.Int64 `tfsdk:"first_on_demand"`
	// Defines values necessary to configure and run Azure Log Analytics agent
	LogAnalyticsInfo types.Object `tfsdk:"log_analytics_info"`
	// The max bid price to be used for Azure spot instances. The Max price for
	// the bid cannot be higher than the on-demand price of the instance. If not
	// specified, the default value is -1, which specifies that the instance
	// cannot be evicted on the basis of price, and only on the basis of
	// availability. Further, the value should > 0 or -1.
	SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"`
}

Attributes set during cluster creation which are related to Microsoft Azure.

func (AzureAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (AzureAttributes) GetComplexFieldTypes added in v1.61.0

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

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

func (*AzureAttributes) GetLogAnalyticsInfo added in v1.61.0

func (m *AzureAttributes) GetLogAnalyticsInfo(ctx context.Context) (LogAnalyticsInfo, bool)

GetLogAnalyticsInfo returns the value of the LogAnalyticsInfo field in AzureAttributes as a LogAnalyticsInfo value. If the field is unknown or null, the boolean return value is false.

func (*AzureAttributes) SetLogAnalyticsInfo added in v1.61.0

func (m *AzureAttributes) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo)

SetLogAnalyticsInfo sets the value of the LogAnalyticsInfo field in AzureAttributes.

func (*AzureAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AzureAttributes) SyncFieldsDuringRead added in v1.86.0

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

func (AzureAttributes) ToObjectValue added in v1.61.0

func (m AzureAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (AzureAttributes) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AzureAttributes_SdkV2 added in v1.62.1

type AzureAttributes_SdkV2 struct {
	// Availability type used for all subsequent nodes past the
	// `first_on_demand` ones. Note: If `first_on_demand` is zero, this
	// availability type will be used for the entire cluster.
	Availability types.String `tfsdk:"availability"`
	// The Azure capacity reservation group resource ID to use for launching
	// VMs. When specified, VMs will be launched using the provided capacity
	// reservation.
	//
	// Capacity reservations can only be specified when the workspace uses
	// injected vnet (i.e. customer defined vnet not managed by databricks).
	// Ensure the databricks-login-prod Enterprise Application is granted the
	// following four permissions: 1.
	// Microsoft.Compute/capacityReservationGroups/read 2.
	// Microsoft.Compute/capacityReservationGroups/deploy/action 3.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/read 4.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/deploy/action
	//
	// Format:
	// `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}`
	CapacityReservationGroup types.String `tfsdk:"capacity_reservation_group"`
	// The first `first_on_demand` nodes of the cluster will be placed on
	// on-demand instances. This value should be greater than 0, to make sure
	// the cluster driver node is placed on an on-demand instance. If this value
	// is greater than or equal to the current cluster size, all nodes will be
	// placed on on-demand instances. If this value is less than the current
	// cluster size, `first_on_demand` nodes will be placed on on-demand
	// instances and the remainder will be placed on `availability` instances.
	// Note that this value does not affect cluster size and cannot currently be
	// mutated over the lifetime of a cluster.
	FirstOnDemand types.Int64 `tfsdk:"first_on_demand"`
	// Defines values necessary to configure and run Azure Log Analytics agent
	LogAnalyticsInfo types.List `tfsdk:"log_analytics_info"`
	// The max bid price to be used for Azure spot instances. The Max price for
	// the bid cannot be higher than the on-demand price of the instance. If not
	// specified, the default value is -1, which specifies that the instance
	// cannot be evicted on the basis of price, and only on the basis of
	// availability. Further, the value should > 0 or -1.
	SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"`
}

Attributes set during cluster creation which are related to Microsoft Azure.

func (AzureAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AzureAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*AzureAttributes_SdkV2) GetLogAnalyticsInfo added in v1.62.1

func (m *AzureAttributes_SdkV2) GetLogAnalyticsInfo(ctx context.Context) (LogAnalyticsInfo_SdkV2, bool)

GetLogAnalyticsInfo returns the value of the LogAnalyticsInfo field in AzureAttributes_SdkV2 as a LogAnalyticsInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*AzureAttributes_SdkV2) SetLogAnalyticsInfo added in v1.62.1

func (m *AzureAttributes_SdkV2) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo_SdkV2)

SetLogAnalyticsInfo sets the value of the LogAnalyticsInfo field in AzureAttributes_SdkV2.

func (*AzureAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*AzureAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (AzureAttributes_SdkV2) ToObjectValue added in v1.62.1

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

func (AzureAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CancelCommand

type CancelCommand struct {
	ClusterId types.String `tfsdk:"cluster_id"`

	CommandId types.String `tfsdk:"command_id"`

	ContextId types.String `tfsdk:"context_id"`
}

func (CancelCommand) ApplySchemaCustomizations added in v1.63.0

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

func (CancelCommand) GetComplexFieldTypes added in v1.61.0

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

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

func (*CancelCommand) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CancelCommand) SyncFieldsDuringRead added in v1.91.0

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

func (CancelCommand) ToObjectValue added in v1.61.0

func (m CancelCommand) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CancelCommand) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CancelCommand_SdkV2 added in v1.62.1

type CancelCommand_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`

	CommandId types.String `tfsdk:"command_id"`

	ContextId types.String `tfsdk:"context_id"`
}

func (CancelCommand_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CancelCommand_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CancelCommand_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CancelCommand_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CancelCommand_SdkV2) ToObjectValue added in v1.62.1

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

func (CancelCommand_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CancelPendingClusterEnforcementRequest added in v1.120.0

type CancelPendingClusterEnforcementRequest struct {
	// If true and no pending enforcement exists, the request will succeed but
	// no action will be taken.
	AllowMissing types.Bool `tfsdk:"allow_missing"`
	// The ID of the cluster to cancel the pending enforcement for.
	ClusterId types.String `tfsdk:"cluster_id"`
}

Request to cancel the pending enforcement for a cluster.

func (CancelPendingClusterEnforcementRequest) ApplySchemaCustomizations added in v1.120.0

func (CancelPendingClusterEnforcementRequest) GetComplexFieldTypes added in v1.120.0

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

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

func (*CancelPendingClusterEnforcementRequest) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (*CancelPendingClusterEnforcementRequest) SyncFieldsDuringRead added in v1.120.0

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

func (CancelPendingClusterEnforcementRequest) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type CancelPendingClusterEnforcementRequest_SdkV2 added in v1.120.0

type CancelPendingClusterEnforcementRequest_SdkV2 struct {
	// If true and no pending enforcement exists, the request will succeed but
	// no action will be taken.
	AllowMissing types.Bool `tfsdk:"allow_missing"`
	// The ID of the cluster to cancel the pending enforcement for.
	ClusterId types.String `tfsdk:"cluster_id"`
}

Request to cancel the pending enforcement for a cluster.

func (CancelPendingClusterEnforcementRequest_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (CancelPendingClusterEnforcementRequest_SdkV2) GetComplexFieldTypes added in v1.120.0

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

func (*CancelPendingClusterEnforcementRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (*CancelPendingClusterEnforcementRequest_SdkV2) SyncFieldsDuringRead added in v1.120.0

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

func (CancelPendingClusterEnforcementRequest_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type CancelPendingClusterEnforcementResponse added in v1.120.0

type CancelPendingClusterEnforcementResponse struct {
}

Response for canceling the pending enforcement for a cluster. If the cancel request succeeds, an empty response object is returned. Otherwise, an error response is returned.

func (CancelPendingClusterEnforcementResponse) ApplySchemaCustomizations added in v1.120.0

func (CancelPendingClusterEnforcementResponse) GetComplexFieldTypes added in v1.120.0

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

func (*CancelPendingClusterEnforcementResponse) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (*CancelPendingClusterEnforcementResponse) SyncFieldsDuringRead added in v1.120.0

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

func (CancelPendingClusterEnforcementResponse) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type CancelPendingClusterEnforcementResponse_SdkV2 added in v1.120.0

type CancelPendingClusterEnforcementResponse_SdkV2 struct {
}

Response for canceling the pending enforcement for a cluster. If the cancel request succeeds, an empty response object is returned. Otherwise, an error response is returned.

func (CancelPendingClusterEnforcementResponse_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (CancelPendingClusterEnforcementResponse_SdkV2) GetComplexFieldTypes added in v1.120.0

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

func (*CancelPendingClusterEnforcementResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (*CancelPendingClusterEnforcementResponse_SdkV2) SyncFieldsDuringRead added in v1.120.0

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

func (CancelPendingClusterEnforcementResponse_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type CancelResponse

type CancelResponse struct {
}

func (CancelResponse) ApplySchemaCustomizations added in v1.74.0

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

func (CancelResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*CancelResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CancelResponse) SyncFieldsDuringRead added in v1.86.0

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

func (CancelResponse) ToObjectValue added in v1.61.0

func (m CancelResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CancelResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CancelResponse_SdkV2 added in v1.62.1

type CancelResponse_SdkV2 struct {
}

func (CancelResponse_SdkV2) ApplySchemaCustomizations added in v1.74.0

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

func (CancelResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CancelResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CancelResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CancelResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (CancelResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ChangeClusterOwner

type ChangeClusterOwner struct {
	ClusterId types.String `tfsdk:"cluster_id"`
	// New owner of the cluster_id after this RPC.
	OwnerUsername types.String `tfsdk:"owner_username"`
}

func (ChangeClusterOwner) ApplySchemaCustomizations added in v1.63.0

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

func (ChangeClusterOwner) GetComplexFieldTypes added in v1.61.0

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

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

func (*ChangeClusterOwner) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ChangeClusterOwner) SyncFieldsDuringRead added in v1.91.0

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

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

func (ChangeClusterOwner) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ChangeClusterOwnerResponse

type ChangeClusterOwnerResponse struct {
}

func (ChangeClusterOwnerResponse) ApplySchemaCustomizations added in v1.63.0

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

func (ChangeClusterOwnerResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ChangeClusterOwnerResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ChangeClusterOwnerResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (ChangeClusterOwnerResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ChangeClusterOwnerResponse_SdkV2 added in v1.62.1

type ChangeClusterOwnerResponse_SdkV2 struct {
}

func (ChangeClusterOwnerResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ChangeClusterOwnerResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ChangeClusterOwnerResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ChangeClusterOwnerResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ChangeClusterOwnerResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (ChangeClusterOwnerResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ChangeClusterOwner_SdkV2 added in v1.62.1

type ChangeClusterOwner_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`
	// New owner of the cluster_id after this RPC.
	OwnerUsername types.String `tfsdk:"owner_username"`
}

func (ChangeClusterOwner_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ChangeClusterOwner_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ChangeClusterOwner_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ChangeClusterOwner_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (ChangeClusterOwner_SdkV2) ToObjectValue added in v1.62.1

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

func (ChangeClusterOwner_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClientsTypes

type ClientsTypes struct {
	// With jobs set, the cluster can be used for jobs
	Jobs types.Bool `tfsdk:"jobs"`
	// With notebooks set, this cluster can be used for notebooks
	Notebooks types.Bool `tfsdk:"notebooks"`
}

func (ClientsTypes) ApplySchemaCustomizations added in v1.63.0

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

func (ClientsTypes) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClientsTypes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClientsTypes) SyncFieldsDuringRead added in v1.86.0

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

func (ClientsTypes) ToObjectValue added in v1.61.0

func (m ClientsTypes) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClientsTypes) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClientsTypes_SdkV2 added in v1.62.1

type ClientsTypes_SdkV2 struct {
	// With jobs set, the cluster can be used for jobs
	Jobs types.Bool `tfsdk:"jobs"`
	// With notebooks set, this cluster can be used for notebooks
	Notebooks types.Bool `tfsdk:"notebooks"`
}

func (ClientsTypes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClientsTypes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClientsTypes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClientsTypes_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClientsTypes_SdkV2) ToObjectValue added in v1.62.1

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

func (ClientsTypes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CloneCluster

type CloneCluster struct {
	// The cluster that is being cloned.
	SourceClusterId types.String `tfsdk:"source_cluster_id"`
}

func (CloneCluster) ApplySchemaCustomizations added in v1.63.0

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

func (CloneCluster) GetComplexFieldTypes added in v1.61.0

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

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

func (*CloneCluster) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CloneCluster) SyncFieldsDuringRead added in v1.86.0

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

func (CloneCluster) ToObjectValue added in v1.61.0

func (m CloneCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CloneCluster) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CloneCluster_SdkV2 added in v1.62.1

type CloneCluster_SdkV2 struct {
	// The cluster that is being cloned.
	SourceClusterId types.String `tfsdk:"source_cluster_id"`
}

func (CloneCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CloneCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CloneCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CloneCluster_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CloneCluster_SdkV2) ToObjectValue added in v1.62.1

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

func (CloneCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CloudProviderNodeInfo

type CloudProviderNodeInfo struct {
	// Status as reported by the cloud provider
	Status types.List `tfsdk:"status"`
}

func (CloudProviderNodeInfo) ApplySchemaCustomizations added in v1.63.0

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

func (CloudProviderNodeInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*CloudProviderNodeInfo) GetStatus added in v1.61.0

func (m *CloudProviderNodeInfo) GetStatus(ctx context.Context) ([]types.String, bool)

GetStatus returns the value of the Status field in CloudProviderNodeInfo as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CloudProviderNodeInfo) SetStatus added in v1.61.0

func (m *CloudProviderNodeInfo) SetStatus(ctx context.Context, v []types.String)

SetStatus sets the value of the Status field in CloudProviderNodeInfo.

func (*CloudProviderNodeInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CloudProviderNodeInfo) SyncFieldsDuringRead added in v1.86.0

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

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

func (CloudProviderNodeInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CloudProviderNodeInfo_SdkV2 added in v1.62.1

type CloudProviderNodeInfo_SdkV2 struct {
	// Status as reported by the cloud provider
	Status types.List `tfsdk:"status"`
}

func (CloudProviderNodeInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CloudProviderNodeInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CloudProviderNodeInfo_SdkV2) GetStatus added in v1.62.1

GetStatus returns the value of the Status field in CloudProviderNodeInfo_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CloudProviderNodeInfo_SdkV2) SetStatus added in v1.62.1

func (m *CloudProviderNodeInfo_SdkV2) SetStatus(ctx context.Context, v []types.String)

SetStatus sets the value of the Status field in CloudProviderNodeInfo_SdkV2.

func (*CloudProviderNodeInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CloudProviderNodeInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CloudProviderNodeInfo_SdkV2) ToObjectValue added in v1.62.1

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

func (CloudProviderNodeInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterAccessControlRequest

type ClusterAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterAccessControlRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterAccessControlRequest) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterAccessControlRequest) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterAccessControlRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterAccessControlRequest_SdkV2 added in v1.62.1

type ClusterAccessControlRequest_SdkV2 struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterAccessControlRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterAccessControlRequest_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterAccessControlRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterAccessControlRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterAccessControlResponse

type ClusterAccessControlResponse 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 (ClusterAccessControlResponse) ApplySchemaCustomizations added in v1.63.0

func (*ClusterAccessControlResponse) GetAllPermissions added in v1.61.0

func (m *ClusterAccessControlResponse) GetAllPermissions(ctx context.Context) ([]ClusterPermission, bool)

GetAllPermissions returns the value of the AllPermissions field in ClusterAccessControlResponse as a slice of ClusterPermission values. If the field is unknown or null, the boolean return value is false.

func (ClusterAccessControlResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterAccessControlResponse) SetAllPermissions added in v1.61.0

func (m *ClusterAccessControlResponse) SetAllPermissions(ctx context.Context, v []ClusterPermission)

SetAllPermissions sets the value of the AllPermissions field in ClusterAccessControlResponse.

func (*ClusterAccessControlResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterAccessControlResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterAccessControlResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterAccessControlResponse_SdkV2 added in v1.62.1

type ClusterAccessControlResponse_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 (ClusterAccessControlResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ClusterAccessControlResponse_SdkV2) GetAllPermissions added in v1.62.1

GetAllPermissions returns the value of the AllPermissions field in ClusterAccessControlResponse_SdkV2 as a slice of ClusterPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ClusterAccessControlResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterAccessControlResponse_SdkV2) SetAllPermissions added in v1.62.1

SetAllPermissions sets the value of the AllPermissions field in ClusterAccessControlResponse_SdkV2.

func (*ClusterAccessControlResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterAccessControlResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterAccessControlResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterAccessControlResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterAttributes

type ClusterAttributes struct {
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

Common set of attributes set during cluster creation. These attributes cannot be changed over the lifetime of a cluster.

func (ClusterAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterAttributes) GetAwsAttributes added in v1.61.0

func (m *ClusterAttributes) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in ClusterAttributes as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetAzureAttributes added in v1.61.0

func (m *ClusterAttributes) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in ClusterAttributes as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetClusterLogConf added in v1.61.0

func (m *ClusterAttributes) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in ClusterAttributes as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (ClusterAttributes) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterAttributes) GetCustomTags added in v1.61.0

func (m *ClusterAttributes) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in ClusterAttributes as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetDockerImage added in v1.61.0

func (m *ClusterAttributes) GetDockerImage(ctx context.Context) (DockerImage, bool)

GetDockerImage returns the value of the DockerImage field in ClusterAttributes as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in ClusterAttributes as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetGcpAttributes added in v1.61.0

func (m *ClusterAttributes) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in ClusterAttributes as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetInitScripts added in v1.61.0

func (m *ClusterAttributes) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)

GetInitScripts returns the value of the InitScripts field in ClusterAttributes as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetSparkConf added in v1.61.0

func (m *ClusterAttributes) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in ClusterAttributes as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetSparkEnvVars added in v1.61.0

func (m *ClusterAttributes) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterAttributes as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetSshPublicKeys added in v1.61.0

func (m *ClusterAttributes) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterAttributes as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in ClusterAttributes as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) GetWorkloadType added in v1.61.0

func (m *ClusterAttributes) GetWorkloadType(ctx context.Context) (WorkloadType, bool)

GetWorkloadType returns the value of the WorkloadType field in ClusterAttributes as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes) SetAwsAttributes added in v1.61.0

func (m *ClusterAttributes) SetAwsAttributes(ctx context.Context, v AwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in ClusterAttributes.

func (*ClusterAttributes) SetAzureAttributes added in v1.61.0

func (m *ClusterAttributes) SetAzureAttributes(ctx context.Context, v AzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in ClusterAttributes.

func (*ClusterAttributes) SetClusterLogConf added in v1.61.0

func (m *ClusterAttributes) SetClusterLogConf(ctx context.Context, v ClusterLogConf)

SetClusterLogConf sets the value of the ClusterLogConf field in ClusterAttributes.

func (*ClusterAttributes) SetCustomTags added in v1.61.0

func (m *ClusterAttributes) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in ClusterAttributes.

func (*ClusterAttributes) SetDockerImage added in v1.61.0

func (m *ClusterAttributes) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in ClusterAttributes.

func (*ClusterAttributes) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in ClusterAttributes.

func (*ClusterAttributes) SetGcpAttributes added in v1.61.0

func (m *ClusterAttributes) SetGcpAttributes(ctx context.Context, v GcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in ClusterAttributes.

func (*ClusterAttributes) SetInitScripts added in v1.61.0

func (m *ClusterAttributes) SetInitScripts(ctx context.Context, v []InitScriptInfo)

SetInitScripts sets the value of the InitScripts field in ClusterAttributes.

func (*ClusterAttributes) SetSparkConf added in v1.61.0

func (m *ClusterAttributes) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in ClusterAttributes.

func (*ClusterAttributes) SetSparkEnvVars added in v1.61.0

func (m *ClusterAttributes) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterAttributes.

func (*ClusterAttributes) SetSshPublicKeys added in v1.61.0

func (m *ClusterAttributes) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterAttributes.

func (*ClusterAttributes) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in ClusterAttributes.

func (*ClusterAttributes) SetWorkloadType added in v1.61.0

func (m *ClusterAttributes) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in ClusterAttributes.

func (*ClusterAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterAttributes) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterAttributes) ToObjectValue added in v1.61.0

func (m ClusterAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterAttributes) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterAttributes_SdkV2 added in v1.62.1

type ClusterAttributes_SdkV2 struct {
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

Common set of attributes set during cluster creation. These attributes cannot be changed over the lifetime of a cluster.

func (ClusterAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterAttributes_SdkV2) GetAwsAttributes added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)

GetAwsAttributes returns the value of the AwsAttributes field in ClusterAttributes_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetAzureAttributes added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)

GetAzureAttributes returns the value of the AzureAttributes field in ClusterAttributes_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetClusterLogConf added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in ClusterAttributes_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ClusterAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterAttributes_SdkV2) GetCustomTags added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in ClusterAttributes_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetDockerImage added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)

GetDockerImage returns the value of the DockerImage field in ClusterAttributes_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes_SdkV2) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in ClusterAttributes_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetGcpAttributes added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)

GetGcpAttributes returns the value of the GcpAttributes field in ClusterAttributes_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetInitScripts added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)

GetInitScripts returns the value of the InitScripts field in ClusterAttributes_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetSparkConf added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in ClusterAttributes_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetSparkEnvVars added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterAttributes_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetSshPublicKeys added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterAttributes_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes_SdkV2) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in ClusterAttributes_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) GetWorkloadType added in v1.62.1

func (m *ClusterAttributes_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)

GetWorkloadType returns the value of the WorkloadType field in ClusterAttributes_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterAttributes_SdkV2) SetAwsAttributes added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)

SetAwsAttributes sets the value of the AwsAttributes field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetAzureAttributes added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)

SetAzureAttributes sets the value of the AzureAttributes field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetClusterLogConf added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)

SetClusterLogConf sets the value of the ClusterLogConf field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetCustomTags added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetDockerImage added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes_SdkV2) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetGcpAttributes added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)

SetGcpAttributes sets the value of the GcpAttributes field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetInitScripts added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)

SetInitScripts sets the value of the InitScripts field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetSparkConf added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetSparkEnvVars added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetSshPublicKeys added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterAttributes_SdkV2) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetWorkloadType added in v1.62.1

func (m *ClusterAttributes_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterAttributes_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterCompliance

type ClusterCompliance struct {
	// Canonical unique identifier for a cluster.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Whether this cluster is in compliance with the latest version of its
	// policy.
	IsCompliant types.Bool `tfsdk:"is_compliant"`
	// Information about the pending enforcement for the cluster. Only present
	// if a pending enforcement is scheduled for the cluster.
	PendingEnforcement types.Object `tfsdk:"pending_enforcement"`
	// An object containing key-value mappings representing the first 200 policy
	// validation errors. The keys indicate the path where the policy validation
	// error is occurring. The values indicate an error message describing the
	// policy validation error.
	Violations types.Map `tfsdk:"violations"`
}

func (ClusterCompliance) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterCompliance) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterCompliance) GetPendingEnforcement added in v1.120.0

func (m *ClusterCompliance) GetPendingEnforcement(ctx context.Context) (PendingEnforcement, bool)

GetPendingEnforcement returns the value of the PendingEnforcement field in ClusterCompliance as a PendingEnforcement value. If the field is unknown or null, the boolean return value is false.

func (*ClusterCompliance) GetViolations added in v1.61.0

func (m *ClusterCompliance) GetViolations(ctx context.Context) (map[string]types.String, bool)

GetViolations returns the value of the Violations field in ClusterCompliance as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterCompliance) SetPendingEnforcement added in v1.120.0

func (m *ClusterCompliance) SetPendingEnforcement(ctx context.Context, v PendingEnforcement)

SetPendingEnforcement sets the value of the PendingEnforcement field in ClusterCompliance.

func (*ClusterCompliance) SetViolations added in v1.61.0

func (m *ClusterCompliance) SetViolations(ctx context.Context, v map[string]types.String)

SetViolations sets the value of the Violations field in ClusterCompliance.

func (*ClusterCompliance) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterCompliance) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterCompliance) ToObjectValue added in v1.61.0

func (m ClusterCompliance) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterCompliance) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterCompliance_SdkV2 added in v1.62.1

type ClusterCompliance_SdkV2 struct {
	// Canonical unique identifier for a cluster.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Whether this cluster is in compliance with the latest version of its
	// policy.
	IsCompliant types.Bool `tfsdk:"is_compliant"`
	// Information about the pending enforcement for the cluster. Only present
	// if a pending enforcement is scheduled for the cluster.
	PendingEnforcement types.List `tfsdk:"pending_enforcement"`
	// An object containing key-value mappings representing the first 200 policy
	// validation errors. The keys indicate the path where the policy validation
	// error is occurring. The values indicate an error message describing the
	// policy validation error.
	Violations types.Map `tfsdk:"violations"`
}

func (ClusterCompliance_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterCompliance_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterCompliance_SdkV2) GetPendingEnforcement added in v1.120.0

func (m *ClusterCompliance_SdkV2) GetPendingEnforcement(ctx context.Context) (PendingEnforcement_SdkV2, bool)

GetPendingEnforcement returns the value of the PendingEnforcement field in ClusterCompliance_SdkV2 as a PendingEnforcement_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterCompliance_SdkV2) GetViolations added in v1.62.1

func (m *ClusterCompliance_SdkV2) GetViolations(ctx context.Context) (map[string]types.String, bool)

GetViolations returns the value of the Violations field in ClusterCompliance_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterCompliance_SdkV2) SetPendingEnforcement added in v1.120.0

func (m *ClusterCompliance_SdkV2) SetPendingEnforcement(ctx context.Context, v PendingEnforcement_SdkV2)

SetPendingEnforcement sets the value of the PendingEnforcement field in ClusterCompliance_SdkV2.

func (*ClusterCompliance_SdkV2) SetViolations added in v1.62.1

func (m *ClusterCompliance_SdkV2) SetViolations(ctx context.Context, v map[string]types.String)

SetViolations sets the value of the Violations field in ClusterCompliance_SdkV2.

func (*ClusterCompliance_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterCompliance_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterCompliance_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterCompliance_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterDetails

type ClusterDetails struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// Number of CPU cores available for this cluster. Note that this can be
	// fractional, e.g. 7.5 cores, since certain node types are configured to
	// share cores between Spark nodes on the same instance.
	ClusterCores types.Float64 `tfsdk:"cluster_cores"`
	// Canonical identifier for the cluster. This id is retained during cluster
	// restarts and resizes, while each new cluster has a globally unique id.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster log delivery status.
	ClusterLogStatus types.Object `tfsdk:"cluster_log_status"`
	// Total amount of cluster memory, in megabytes
	ClusterMemoryMb types.Int64 `tfsdk:"cluster_memory_mb"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Determines whether the cluster was created by a user through the UI,
	// created by the Databricks Jobs Scheduler, or through an API request.
	ClusterSource types.String `tfsdk:"cluster_source"`
	// Creator user name. The field won't be included in the response if the
	// user has already been deleted.
	CreatorUserName types.String `tfsdk:"creator_user_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Tags that are added by Databricks regardless of any `custom_tags`,
	// including:
	//
	// - Vendor: Databricks
	//
	// - Creator: <username_of_creator>
	//
	// - ClusterName: <name_of_cluster>
	//
	// - ClusterId: <id_of_cluster>
	//
	// - Name: <Databricks internal use>
	DefaultTags types.Map `tfsdk:"default_tags"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// Node on which the Spark driver resides. The driver node contains the
	// Spark master and the Databricks application that manages the per-notebook
	// Spark REPLs.
	Driver types.Object `tfsdk:"driver"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Nodes on which the Spark executors reside.
	Executors types.List `tfsdk:"executors"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`
	// Port on which Spark JDBC server is listening, in the driver nod. No
	// service will be listeningon on this port in executor nodes.
	JdbcPort types.Int64 `tfsdk:"jdbc_port"`

	Kind types.String `tfsdk:"kind"`
	// the timestamp that the cluster was started/restarted
	LastRestartedTime types.Int64 `tfsdk:"last_restarted_time"`
	// Time when the cluster driver last lost its state (due to a restart or
	// driver failure).
	LastStateLossTime types.Int64 `tfsdk:"last_state_loss_time"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// A canonical SparkContext identifier. This value *does* change when the
	// Spark driver restarts. The pair `(cluster_id, spark_context_id)` is a
	// globally unique identifier over all Spark contexts.
	SparkContextId types.Int64 `tfsdk:"spark_context_id"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// The spec contains a snapshot of the latest user specified settings that
	// were used to create/edit the cluster. Note: not included in the response
	// of the ListClusters API.
	Spec types.Object `tfsdk:"spec"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// Time (in epoch milliseconds) when the cluster creation request was
	// received (when the cluster entered a `PENDING` state).
	StartTime types.Int64 `tfsdk:"start_time"`
	// Current state of the cluster.
	State types.String `tfsdk:"state"`
	// A message associated with the most recent state transition (e.g., the
	// reason why the cluster entered a `TERMINATED` state).
	StateMessage types.String `tfsdk:"state_message"`
	// Time (in epoch milliseconds) when the cluster was terminated, if
	// applicable.
	TerminatedTime types.Int64 `tfsdk:"terminated_time"`
	// Information about why the cluster was terminated. This field only appears
	// when the cluster is in a `TERMINATING` or `TERMINATED` state.
	TerminationReason types.Object `tfsdk:"termination_reason"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

Describes all of the metadata about a single Spark cluster in Databricks.

func (ClusterDetails) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterDetails) GetAutoscale added in v1.61.0

func (m *ClusterDetails) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in ClusterDetails as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetAwsAttributes added in v1.61.0

func (m *ClusterDetails) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in ClusterDetails as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetAzureAttributes added in v1.61.0

func (m *ClusterDetails) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in ClusterDetails as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetClusterLogConf added in v1.61.0

func (m *ClusterDetails) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in ClusterDetails as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetClusterLogStatus added in v1.61.0

func (m *ClusterDetails) GetClusterLogStatus(ctx context.Context) (LogSyncStatus, bool)

GetClusterLogStatus returns the value of the ClusterLogStatus field in ClusterDetails as a LogSyncStatus value. If the field is unknown or null, the boolean return value is false.

func (ClusterDetails) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterDetails) GetCustomTags added in v1.61.0

func (m *ClusterDetails) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetDefaultTags added in v1.61.0

func (m *ClusterDetails) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)

GetDefaultTags returns the value of the DefaultTags field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetDockerImage added in v1.61.0

func (m *ClusterDetails) GetDockerImage(ctx context.Context) (DockerImage, bool)

GetDockerImage returns the value of the DockerImage field in ClusterDetails as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetDriver added in v1.61.0

func (m *ClusterDetails) GetDriver(ctx context.Context) (SparkNode, bool)

GetDriver returns the value of the Driver field in ClusterDetails as a SparkNode value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in ClusterDetails as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetExecutors added in v1.61.0

func (m *ClusterDetails) GetExecutors(ctx context.Context) ([]SparkNode, bool)

GetExecutors returns the value of the Executors field in ClusterDetails as a slice of SparkNode values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetGcpAttributes added in v1.61.0

func (m *ClusterDetails) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in ClusterDetails as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetInitScripts added in v1.61.0

func (m *ClusterDetails) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)

GetInitScripts returns the value of the InitScripts field in ClusterDetails as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetSparkConf added in v1.61.0

func (m *ClusterDetails) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetSparkEnvVars added in v1.61.0

func (m *ClusterDetails) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterDetails as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetSpec added in v1.61.0

func (m *ClusterDetails) GetSpec(ctx context.Context) (ClusterSpec, bool)

GetSpec returns the value of the Spec field in ClusterDetails as a ClusterSpec value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetSshPublicKeys added in v1.61.0

func (m *ClusterDetails) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterDetails as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetTerminationReason added in v1.61.0

func (m *ClusterDetails) GetTerminationReason(ctx context.Context) (TerminationReason, bool)

GetTerminationReason returns the value of the TerminationReason field in ClusterDetails as a TerminationReason value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in ClusterDetails as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) GetWorkloadType added in v1.61.0

func (m *ClusterDetails) GetWorkloadType(ctx context.Context) (WorkloadType, bool)

GetWorkloadType returns the value of the WorkloadType field in ClusterDetails as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails) SetAutoscale added in v1.61.0

func (m *ClusterDetails) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in ClusterDetails.

func (*ClusterDetails) SetAwsAttributes added in v1.61.0

func (m *ClusterDetails) SetAwsAttributes(ctx context.Context, v AwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in ClusterDetails.

func (*ClusterDetails) SetAzureAttributes added in v1.61.0

func (m *ClusterDetails) SetAzureAttributes(ctx context.Context, v AzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in ClusterDetails.

func (*ClusterDetails) SetClusterLogConf added in v1.61.0

func (m *ClusterDetails) SetClusterLogConf(ctx context.Context, v ClusterLogConf)

SetClusterLogConf sets the value of the ClusterLogConf field in ClusterDetails.

func (*ClusterDetails) SetClusterLogStatus added in v1.61.0

func (m *ClusterDetails) SetClusterLogStatus(ctx context.Context, v LogSyncStatus)

SetClusterLogStatus sets the value of the ClusterLogStatus field in ClusterDetails.

func (*ClusterDetails) SetCustomTags added in v1.61.0

func (m *ClusterDetails) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in ClusterDetails.

func (*ClusterDetails) SetDefaultTags added in v1.61.0

func (m *ClusterDetails) SetDefaultTags(ctx context.Context, v map[string]types.String)

SetDefaultTags sets the value of the DefaultTags field in ClusterDetails.

func (*ClusterDetails) SetDockerImage added in v1.61.0

func (m *ClusterDetails) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in ClusterDetails.

func (*ClusterDetails) SetDriver added in v1.61.0

func (m *ClusterDetails) SetDriver(ctx context.Context, v SparkNode)

SetDriver sets the value of the Driver field in ClusterDetails.

func (*ClusterDetails) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in ClusterDetails.

func (*ClusterDetails) SetExecutors added in v1.61.0

func (m *ClusterDetails) SetExecutors(ctx context.Context, v []SparkNode)

SetExecutors sets the value of the Executors field in ClusterDetails.

func (*ClusterDetails) SetGcpAttributes added in v1.61.0

func (m *ClusterDetails) SetGcpAttributes(ctx context.Context, v GcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in ClusterDetails.

func (*ClusterDetails) SetInitScripts added in v1.61.0

func (m *ClusterDetails) SetInitScripts(ctx context.Context, v []InitScriptInfo)

SetInitScripts sets the value of the InitScripts field in ClusterDetails.

func (*ClusterDetails) SetSparkConf added in v1.61.0

func (m *ClusterDetails) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in ClusterDetails.

func (*ClusterDetails) SetSparkEnvVars added in v1.61.0

func (m *ClusterDetails) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterDetails.

func (*ClusterDetails) SetSpec added in v1.61.0

func (m *ClusterDetails) SetSpec(ctx context.Context, v ClusterSpec)

SetSpec sets the value of the Spec field in ClusterDetails.

func (*ClusterDetails) SetSshPublicKeys added in v1.61.0

func (m *ClusterDetails) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterDetails.

func (*ClusterDetails) SetTerminationReason added in v1.61.0

func (m *ClusterDetails) SetTerminationReason(ctx context.Context, v TerminationReason)

SetTerminationReason sets the value of the TerminationReason field in ClusterDetails.

func (*ClusterDetails) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in ClusterDetails.

func (*ClusterDetails) SetWorkloadType added in v1.61.0

func (m *ClusterDetails) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in ClusterDetails.

func (*ClusterDetails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterDetails) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterDetails) ToObjectValue added in v1.61.0

func (m ClusterDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterDetails) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClusterDetails_SdkV2 added in v1.62.1

type ClusterDetails_SdkV2 struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// Number of CPU cores available for this cluster. Note that this can be
	// fractional, e.g. 7.5 cores, since certain node types are configured to
	// share cores between Spark nodes on the same instance.
	ClusterCores types.Float64 `tfsdk:"cluster_cores"`
	// Canonical identifier for the cluster. This id is retained during cluster
	// restarts and resizes, while each new cluster has a globally unique id.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster log delivery status.
	ClusterLogStatus types.List `tfsdk:"cluster_log_status"`
	// Total amount of cluster memory, in megabytes
	ClusterMemoryMb types.Int64 `tfsdk:"cluster_memory_mb"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Determines whether the cluster was created by a user through the UI,
	// created by the Databricks Jobs Scheduler, or through an API request.
	ClusterSource types.String `tfsdk:"cluster_source"`
	// Creator user name. The field won't be included in the response if the
	// user has already been deleted.
	CreatorUserName types.String `tfsdk:"creator_user_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Tags that are added by Databricks regardless of any `custom_tags`,
	// including:
	//
	// - Vendor: Databricks
	//
	// - Creator: <username_of_creator>
	//
	// - ClusterName: <name_of_cluster>
	//
	// - ClusterId: <id_of_cluster>
	//
	// - Name: <Databricks internal use>
	DefaultTags types.Map `tfsdk:"default_tags"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// Node on which the Spark driver resides. The driver node contains the
	// Spark master and the Databricks application that manages the per-notebook
	// Spark REPLs.
	Driver types.List `tfsdk:"driver"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Nodes on which the Spark executors reside.
	Executors types.List `tfsdk:"executors"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`
	// Port on which Spark JDBC server is listening, in the driver nod. No
	// service will be listeningon on this port in executor nodes.
	JdbcPort types.Int64 `tfsdk:"jdbc_port"`

	Kind types.String `tfsdk:"kind"`
	// the timestamp that the cluster was started/restarted
	LastRestartedTime types.Int64 `tfsdk:"last_restarted_time"`
	// Time when the cluster driver last lost its state (due to a restart or
	// driver failure).
	LastStateLossTime types.Int64 `tfsdk:"last_state_loss_time"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// A canonical SparkContext identifier. This value *does* change when the
	// Spark driver restarts. The pair `(cluster_id, spark_context_id)` is a
	// globally unique identifier over all Spark contexts.
	SparkContextId types.Int64 `tfsdk:"spark_context_id"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// The spec contains a snapshot of the latest user specified settings that
	// were used to create/edit the cluster. Note: not included in the response
	// of the ListClusters API.
	Spec types.List `tfsdk:"spec"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// Time (in epoch milliseconds) when the cluster creation request was
	// received (when the cluster entered a `PENDING` state).
	StartTime types.Int64 `tfsdk:"start_time"`
	// Current state of the cluster.
	State types.String `tfsdk:"state"`
	// A message associated with the most recent state transition (e.g., the
	// reason why the cluster entered a `TERMINATED` state).
	StateMessage types.String `tfsdk:"state_message"`
	// Time (in epoch milliseconds) when the cluster was terminated, if
	// applicable.
	TerminatedTime types.Int64 `tfsdk:"terminated_time"`
	// Information about why the cluster was terminated. This field only appears
	// when the cluster is in a `TERMINATING` or `TERMINATED` state.
	TerminationReason types.List `tfsdk:"termination_reason"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

Describes all of the metadata about a single Spark cluster in Databricks.

func (ClusterDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterDetails_SdkV2) GetAutoscale added in v1.62.1

func (m *ClusterDetails_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)

GetAutoscale returns the value of the Autoscale field in ClusterDetails_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetAwsAttributes added in v1.62.1

func (m *ClusterDetails_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)

GetAwsAttributes returns the value of the AwsAttributes field in ClusterDetails_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetAzureAttributes added in v1.62.1

func (m *ClusterDetails_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)

GetAzureAttributes returns the value of the AzureAttributes field in ClusterDetails_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetClusterLogConf added in v1.62.1

func (m *ClusterDetails_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in ClusterDetails_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetClusterLogStatus added in v1.62.1

func (m *ClusterDetails_SdkV2) GetClusterLogStatus(ctx context.Context) (LogSyncStatus_SdkV2, bool)

GetClusterLogStatus returns the value of the ClusterLogStatus field in ClusterDetails_SdkV2 as a LogSyncStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ClusterDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterDetails_SdkV2) GetCustomTags added in v1.62.1

func (m *ClusterDetails_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetDefaultTags added in v1.62.1

func (m *ClusterDetails_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)

GetDefaultTags returns the value of the DefaultTags field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetDockerImage added in v1.62.1

func (m *ClusterDetails_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)

GetDockerImage returns the value of the DockerImage field in ClusterDetails_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetDriver added in v1.62.1

GetDriver returns the value of the Driver field in ClusterDetails_SdkV2 as a SparkNode_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails_SdkV2) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in ClusterDetails_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetExecutors added in v1.62.1

func (m *ClusterDetails_SdkV2) GetExecutors(ctx context.Context) ([]SparkNode_SdkV2, bool)

GetExecutors returns the value of the Executors field in ClusterDetails_SdkV2 as a slice of SparkNode_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetGcpAttributes added in v1.62.1

func (m *ClusterDetails_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)

GetGcpAttributes returns the value of the GcpAttributes field in ClusterDetails_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetInitScripts added in v1.62.1

func (m *ClusterDetails_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)

GetInitScripts returns the value of the InitScripts field in ClusterDetails_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetSparkConf added in v1.62.1

func (m *ClusterDetails_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetSparkEnvVars added in v1.62.1

func (m *ClusterDetails_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterDetails_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetSpec added in v1.62.1

GetSpec returns the value of the Spec field in ClusterDetails_SdkV2 as a ClusterSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetSshPublicKeys added in v1.62.1

func (m *ClusterDetails_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterDetails_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetTerminationReason added in v1.62.1

func (m *ClusterDetails_SdkV2) GetTerminationReason(ctx context.Context) (TerminationReason_SdkV2, bool)

GetTerminationReason returns the value of the TerminationReason field in ClusterDetails_SdkV2 as a TerminationReason_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails_SdkV2) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in ClusterDetails_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) GetWorkloadType added in v1.62.1

func (m *ClusterDetails_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)

GetWorkloadType returns the value of the WorkloadType field in ClusterDetails_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterDetails_SdkV2) SetAutoscale added in v1.62.1

func (m *ClusterDetails_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetAwsAttributes added in v1.62.1

func (m *ClusterDetails_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)

SetAwsAttributes sets the value of the AwsAttributes field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetAzureAttributes added in v1.62.1

func (m *ClusterDetails_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)

SetAzureAttributes sets the value of the AzureAttributes field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetClusterLogConf added in v1.62.1

func (m *ClusterDetails_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)

SetClusterLogConf sets the value of the ClusterLogConf field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetClusterLogStatus added in v1.62.1

func (m *ClusterDetails_SdkV2) SetClusterLogStatus(ctx context.Context, v LogSyncStatus_SdkV2)

SetClusterLogStatus sets the value of the ClusterLogStatus field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetCustomTags added in v1.62.1

func (m *ClusterDetails_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetDefaultTags added in v1.62.1

func (m *ClusterDetails_SdkV2) SetDefaultTags(ctx context.Context, v map[string]types.String)

SetDefaultTags sets the value of the DefaultTags field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetDockerImage added in v1.62.1

func (m *ClusterDetails_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetDriver added in v1.62.1

func (m *ClusterDetails_SdkV2) SetDriver(ctx context.Context, v SparkNode_SdkV2)

SetDriver sets the value of the Driver field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails_SdkV2) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetExecutors added in v1.62.1

func (m *ClusterDetails_SdkV2) SetExecutors(ctx context.Context, v []SparkNode_SdkV2)

SetExecutors sets the value of the Executors field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetGcpAttributes added in v1.62.1

func (m *ClusterDetails_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)

SetGcpAttributes sets the value of the GcpAttributes field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetInitScripts added in v1.62.1

func (m *ClusterDetails_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)

SetInitScripts sets the value of the InitScripts field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetSparkConf added in v1.62.1

func (m *ClusterDetails_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetSparkEnvVars added in v1.62.1

func (m *ClusterDetails_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetSpec added in v1.62.1

SetSpec sets the value of the Spec field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetSshPublicKeys added in v1.62.1

func (m *ClusterDetails_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetTerminationReason added in v1.62.1

func (m *ClusterDetails_SdkV2) SetTerminationReason(ctx context.Context, v TerminationReason_SdkV2)

SetTerminationReason sets the value of the TerminationReason field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterDetails_SdkV2) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetWorkloadType added in v1.62.1

func (m *ClusterDetails_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterDetails_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterDetails_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterEvent

type ClusterEvent struct {
	ClusterId types.String `tfsdk:"cluster_id"`

	DataPlaneEventDetails types.Object `tfsdk:"data_plane_event_details"`

	Details types.Object `tfsdk:"details"`
	// The timestamp when the event occurred, stored as the number of
	// milliseconds since the Unix epoch. If not provided, this will be assigned
	// by the Timeline service.
	Timestamp types.Int64 `tfsdk:"timestamp"`

	Type_ types.String `tfsdk:"type"`
}

func (ClusterEvent) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterEvent) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterEvent) GetDataPlaneEventDetails added in v1.61.0

func (m *ClusterEvent) GetDataPlaneEventDetails(ctx context.Context) (DataPlaneEventDetails, bool)

GetDataPlaneEventDetails returns the value of the DataPlaneEventDetails field in ClusterEvent as a DataPlaneEventDetails value. If the field is unknown or null, the boolean return value is false.

func (*ClusterEvent) GetDetails added in v1.61.0

func (m *ClusterEvent) GetDetails(ctx context.Context) (EventDetails, bool)

GetDetails returns the value of the Details field in ClusterEvent as a EventDetails value. If the field is unknown or null, the boolean return value is false.

func (*ClusterEvent) SetDataPlaneEventDetails added in v1.61.0

func (m *ClusterEvent) SetDataPlaneEventDetails(ctx context.Context, v DataPlaneEventDetails)

SetDataPlaneEventDetails sets the value of the DataPlaneEventDetails field in ClusterEvent.

func (*ClusterEvent) SetDetails added in v1.61.0

func (m *ClusterEvent) SetDetails(ctx context.Context, v EventDetails)

SetDetails sets the value of the Details field in ClusterEvent.

func (*ClusterEvent) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterEvent) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterEvent) ToObjectValue added in v1.61.0

func (m ClusterEvent) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterEvent) Type

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

Type implements basetypes.ObjectValuable.

type ClusterEvent_SdkV2 added in v1.62.1

type ClusterEvent_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`

	DataPlaneEventDetails types.List `tfsdk:"data_plane_event_details"`

	Details types.List `tfsdk:"details"`
	// The timestamp when the event occurred, stored as the number of
	// milliseconds since the Unix epoch. If not provided, this will be assigned
	// by the Timeline service.
	Timestamp types.Int64 `tfsdk:"timestamp"`

	Type_ types.String `tfsdk:"type"`
}

func (ClusterEvent_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterEvent_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterEvent_SdkV2) GetDataPlaneEventDetails added in v1.62.1

func (m *ClusterEvent_SdkV2) GetDataPlaneEventDetails(ctx context.Context) (DataPlaneEventDetails_SdkV2, bool)

GetDataPlaneEventDetails returns the value of the DataPlaneEventDetails field in ClusterEvent_SdkV2 as a DataPlaneEventDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterEvent_SdkV2) GetDetails added in v1.62.1

GetDetails returns the value of the Details field in ClusterEvent_SdkV2 as a EventDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterEvent_SdkV2) SetDataPlaneEventDetails added in v1.62.1

func (m *ClusterEvent_SdkV2) SetDataPlaneEventDetails(ctx context.Context, v DataPlaneEventDetails_SdkV2)

SetDataPlaneEventDetails sets the value of the DataPlaneEventDetails field in ClusterEvent_SdkV2.

func (*ClusterEvent_SdkV2) SetDetails added in v1.62.1

func (m *ClusterEvent_SdkV2) SetDetails(ctx context.Context, v EventDetails_SdkV2)

SetDetails sets the value of the Details field in ClusterEvent_SdkV2.

func (*ClusterEvent_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterEvent_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterEvent_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterEvent_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterLibraryStatuses

type ClusterLibraryStatuses struct {
	// Unique identifier for the cluster.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Status of all libraries on the cluster.
	LibraryStatuses types.List `tfsdk:"library_statuses"`
}

func (ClusterLibraryStatuses) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterLibraryStatuses) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterLibraryStatuses) GetLibraryStatuses added in v1.61.0

func (m *ClusterLibraryStatuses) GetLibraryStatuses(ctx context.Context) ([]LibraryFullStatus, bool)

GetLibraryStatuses returns the value of the LibraryStatuses field in ClusterLibraryStatuses as a slice of LibraryFullStatus values. If the field is unknown or null, the boolean return value is false.

func (*ClusterLibraryStatuses) SetLibraryStatuses added in v1.61.0

func (m *ClusterLibraryStatuses) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus)

SetLibraryStatuses sets the value of the LibraryStatuses field in ClusterLibraryStatuses.

func (*ClusterLibraryStatuses) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterLibraryStatuses) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterLibraryStatuses) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterLibraryStatuses_SdkV2 added in v1.62.1

type ClusterLibraryStatuses_SdkV2 struct {
	// Unique identifier for the cluster.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Status of all libraries on the cluster.
	LibraryStatuses types.List `tfsdk:"library_statuses"`
}

func (ClusterLibraryStatuses_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterLibraryStatuses_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterLibraryStatuses_SdkV2) GetLibraryStatuses added in v1.62.1

GetLibraryStatuses returns the value of the LibraryStatuses field in ClusterLibraryStatuses_SdkV2 as a slice of LibraryFullStatus_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ClusterLibraryStatuses_SdkV2) SetLibraryStatuses added in v1.62.1

func (m *ClusterLibraryStatuses_SdkV2) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus_SdkV2)

SetLibraryStatuses sets the value of the LibraryStatuses field in ClusterLibraryStatuses_SdkV2.

func (*ClusterLibraryStatuses_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterLibraryStatuses_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterLibraryStatuses_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterLibraryStatuses_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterLogConf

type ClusterLogConf struct {
	// destination needs to be provided. e.g. `{ "dbfs" : { "destination" :
	// "dbfs:/home/cluster_log" } }`
	Dbfs types.Object `tfsdk:"dbfs"`
	// destination and either the region or endpoint need to be provided. e.g.
	// `{ "s3": { "destination" : "s3://cluster_log_bucket/prefix", "region" :
	// "us-west-2" } }` Cluster iam role is used to access s3, please make sure
	// the cluster iam role in `instance_profile_arn` has permission to write
	// data to the s3 destination.
	S3 types.Object `tfsdk:"s3"`
	// destination needs to be provided, e.g. `{ "volumes": { "destination":
	// "/Volumes/catalog/schema/volume/cluster_log" } }`
	Volumes types.Object `tfsdk:"volumes"`
}

Cluster log delivery config

func (ClusterLogConf) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterLogConf) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterLogConf) GetDbfs added in v1.61.0

func (m *ClusterLogConf) GetDbfs(ctx context.Context) (DbfsStorageInfo, bool)

GetDbfs returns the value of the Dbfs field in ClusterLogConf as a DbfsStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*ClusterLogConf) GetS3 added in v1.61.0

func (m *ClusterLogConf) GetS3(ctx context.Context) (S3StorageInfo, bool)

GetS3 returns the value of the S3 field in ClusterLogConf as a S3StorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*ClusterLogConf) GetVolumes added in v1.66.0

func (m *ClusterLogConf) GetVolumes(ctx context.Context) (VolumesStorageInfo, bool)

GetVolumes returns the value of the Volumes field in ClusterLogConf as a VolumesStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*ClusterLogConf) SetDbfs added in v1.61.0

func (m *ClusterLogConf) SetDbfs(ctx context.Context, v DbfsStorageInfo)

SetDbfs sets the value of the Dbfs field in ClusterLogConf.

func (*ClusterLogConf) SetS3 added in v1.61.0

func (m *ClusterLogConf) SetS3(ctx context.Context, v S3StorageInfo)

SetS3 sets the value of the S3 field in ClusterLogConf.

func (*ClusterLogConf) SetVolumes added in v1.66.0

func (m *ClusterLogConf) SetVolumes(ctx context.Context, v VolumesStorageInfo)

SetVolumes sets the value of the Volumes field in ClusterLogConf.

func (*ClusterLogConf) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterLogConf) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterLogConf) ToObjectValue added in v1.61.0

func (m ClusterLogConf) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterLogConf) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClusterLogConf_SdkV2 added in v1.62.1

type ClusterLogConf_SdkV2 struct {
	// destination needs to be provided. e.g. `{ "dbfs" : { "destination" :
	// "dbfs:/home/cluster_log" } }`
	Dbfs types.List `tfsdk:"dbfs"`
	// destination and either the region or endpoint need to be provided. e.g.
	// `{ "s3": { "destination" : "s3://cluster_log_bucket/prefix", "region" :
	// "us-west-2" } }` Cluster iam role is used to access s3, please make sure
	// the cluster iam role in `instance_profile_arn` has permission to write
	// data to the s3 destination.
	S3 types.List `tfsdk:"s3"`
	// destination needs to be provided, e.g. `{ "volumes": { "destination":
	// "/Volumes/catalog/schema/volume/cluster_log" } }`
	Volumes types.List `tfsdk:"volumes"`
}

Cluster log delivery config

func (ClusterLogConf_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterLogConf_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterLogConf_SdkV2) GetDbfs added in v1.62.1

GetDbfs returns the value of the Dbfs field in ClusterLogConf_SdkV2 as a DbfsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterLogConf_SdkV2) GetS3 added in v1.62.1

GetS3 returns the value of the S3 field in ClusterLogConf_SdkV2 as a S3StorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterLogConf_SdkV2) GetVolumes added in v1.66.0

GetVolumes returns the value of the Volumes field in ClusterLogConf_SdkV2 as a VolumesStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterLogConf_SdkV2) SetDbfs added in v1.62.1

SetDbfs sets the value of the Dbfs field in ClusterLogConf_SdkV2.

func (*ClusterLogConf_SdkV2) SetS3 added in v1.62.1

SetS3 sets the value of the S3 field in ClusterLogConf_SdkV2.

func (*ClusterLogConf_SdkV2) SetVolumes added in v1.66.0

SetVolumes sets the value of the Volumes field in ClusterLogConf_SdkV2.

func (*ClusterLogConf_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterLogConf_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterLogConf_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterLogConf_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPermission

type ClusterPermission struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPermission) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterPermission) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPermission) GetInheritedFromObject added in v1.61.0

func (m *ClusterPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterPermission) SetInheritedFromObject added in v1.61.0

func (m *ClusterPermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPermission.

func (*ClusterPermission) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPermission) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPermission) ToObjectValue added in v1.61.0

func (m ClusterPermission) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterPermission) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPermission_SdkV2 added in v1.62.1

type ClusterPermission_SdkV2 struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterPermission_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPermission_SdkV2) GetInheritedFromObject added in v1.62.1

func (m *ClusterPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterPermission_SdkV2) SetInheritedFromObject added in v1.62.1

func (m *ClusterPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPermission_SdkV2.

func (*ClusterPermission_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPermission_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPermission_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPermission_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPermissions

type ClusterPermissions struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (ClusterPermissions) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterPermissions) GetAccessControlList added in v1.61.0

func (m *ClusterPermissions) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlResponse, bool)

GetAccessControlList returns the value of the AccessControlList field in ClusterPermissions as a slice of ClusterAccessControlResponse values. If the field is unknown or null, the boolean return value is false.

func (ClusterPermissions) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPermissions) SetAccessControlList added in v1.61.0

func (m *ClusterPermissions) SetAccessControlList(ctx context.Context, v []ClusterAccessControlResponse)

SetAccessControlList sets the value of the AccessControlList field in ClusterPermissions.

func (*ClusterPermissions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPermissions) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterPermissions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPermissionsDescription

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

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (ClusterPermissionsDescription) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPermissionsDescription) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPermissionsDescription) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterPermissionsDescription) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPermissionsDescription_SdkV2 added in v1.62.1

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

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPermissionsDescription_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterPermissionsDescription_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPermissionsDescription_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPermissionsDescription_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterPermissionsDescription_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPermissionsDescription_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPermissionsRequest

type ClusterPermissionsRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The cluster for which to get or manage permissions.
	ClusterId types.String `tfsdk:"-"`
}

func (ClusterPermissionsRequest) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterPermissionsRequest) GetAccessControlList added in v1.61.0

func (m *ClusterPermissionsRequest) GetAccessControlList(ctx context.Context) ([]ClusterAccessControlRequest, bool)

GetAccessControlList returns the value of the AccessControlList field in ClusterPermissionsRequest as a slice of ClusterAccessControlRequest values. If the field is unknown or null, the boolean return value is false.

func (ClusterPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPermissionsRequest) SetAccessControlList added in v1.61.0

func (m *ClusterPermissionsRequest) SetAccessControlList(ctx context.Context, v []ClusterAccessControlRequest)

SetAccessControlList sets the value of the AccessControlList field in ClusterPermissionsRequest.

func (*ClusterPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ClusterPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (ClusterPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPermissionsRequest_SdkV2 added in v1.62.1

type ClusterPermissionsRequest_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The cluster for which to get or manage permissions.
	ClusterId types.String `tfsdk:"-"`
}

func (ClusterPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ClusterPermissionsRequest_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in ClusterPermissionsRequest_SdkV2 as a slice of ClusterAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ClusterPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPermissionsRequest_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in ClusterPermissionsRequest_SdkV2.

func (*ClusterPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ClusterPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ClusterPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPermissions_SdkV2 added in v1.62.1

type ClusterPermissions_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (ClusterPermissions_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterPermissions_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in ClusterPermissions_SdkV2 as a slice of ClusterAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ClusterPermissions_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPermissions_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in ClusterPermissions_SdkV2.

func (*ClusterPermissions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPermissions_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPermissions_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPermissions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPolicyAccessControlRequest

type ClusterPolicyAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterPolicyAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyAccessControlRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPolicyAccessControlRequest) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyAccessControlRequest) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPolicyAccessControlRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPolicyAccessControlRequest_SdkV2 added in v1.62.1

type ClusterPolicyAccessControlRequest_SdkV2 struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterPolicyAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (*ClusterPolicyAccessControlRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ClusterPolicyAccessControlRequest_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterPolicyAccessControlRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPolicyAccessControlRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPolicyAccessControlResponse

type ClusterPolicyAccessControlResponse 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 (ClusterPolicyAccessControlResponse) ApplySchemaCustomizations added in v1.63.0

func (*ClusterPolicyAccessControlResponse) GetAllPermissions added in v1.61.0

GetAllPermissions returns the value of the AllPermissions field in ClusterPolicyAccessControlResponse as a slice of ClusterPolicyPermission values. If the field is unknown or null, the boolean return value is false.

func (ClusterPolicyAccessControlResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPolicyAccessControlResponse) SetAllPermissions added in v1.61.0

SetAllPermissions sets the value of the AllPermissions field in ClusterPolicyAccessControlResponse.

func (*ClusterPolicyAccessControlResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyAccessControlResponse) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPolicyAccessControlResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPolicyAccessControlResponse_SdkV2 added in v1.62.1

type ClusterPolicyAccessControlResponse_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 (ClusterPolicyAccessControlResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ClusterPolicyAccessControlResponse_SdkV2) GetAllPermissions added in v1.62.1

GetAllPermissions returns the value of the AllPermissions field in ClusterPolicyAccessControlResponse_SdkV2 as a slice of ClusterPolicyPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ClusterPolicyAccessControlResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (*ClusterPolicyAccessControlResponse_SdkV2) SetAllPermissions added in v1.62.1

SetAllPermissions sets the value of the AllPermissions field in ClusterPolicyAccessControlResponse_SdkV2.

func (*ClusterPolicyAccessControlResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ClusterPolicyAccessControlResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterPolicyAccessControlResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPolicyAccessControlResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermission

type ClusterPolicyPermission struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPolicyPermission) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterPolicyPermission) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPolicyPermission) GetInheritedFromObject added in v1.61.0

func (m *ClusterPolicyPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPolicyPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterPolicyPermission) SetInheritedFromObject added in v1.61.0

func (m *ClusterPolicyPermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPolicyPermission.

func (*ClusterPolicyPermission) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyPermission) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterPolicyPermission) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermission_SdkV2 added in v1.62.1

type ClusterPolicyPermission_SdkV2 struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPolicyPermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyPermission_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPolicyPermission_SdkV2) GetInheritedFromObject added in v1.62.1

func (m *ClusterPolicyPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in ClusterPolicyPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterPolicyPermission_SdkV2) SetInheritedFromObject added in v1.62.1

func (m *ClusterPolicyPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPolicyPermission_SdkV2.

func (*ClusterPolicyPermission_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyPermission_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPolicyPermission_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPolicyPermission_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermissions

type ClusterPolicyPermissions struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (ClusterPolicyPermissions) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterPolicyPermissions) GetAccessControlList added in v1.61.0

GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissions as a slice of ClusterPolicyAccessControlResponse values. If the field is unknown or null, the boolean return value is false.

func (ClusterPolicyPermissions) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPolicyPermissions) SetAccessControlList added in v1.61.0

SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissions.

func (*ClusterPolicyPermissions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyPermissions) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterPolicyPermissions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermissionsDescription

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

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPolicyPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyPermissionsDescription) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPolicyPermissionsDescription) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyPermissionsDescription) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterPolicyPermissionsDescription) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermissionsDescription_SdkV2 added in v1.62.1

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

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (ClusterPolicyPermissionsDescription_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyPermissionsDescription_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (*ClusterPolicyPermissionsDescription_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ClusterPolicyPermissionsDescription_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterPolicyPermissionsDescription_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPolicyPermissionsDescription_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermissionsRequest

type ClusterPolicyPermissionsRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The cluster policy for which to get or manage permissions.
	ClusterPolicyId types.String `tfsdk:"-"`
}

func (ClusterPolicyPermissionsRequest) ApplySchemaCustomizations added in v1.63.0

func (*ClusterPolicyPermissionsRequest) GetAccessControlList added in v1.61.0

GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissionsRequest as a slice of ClusterPolicyAccessControlRequest values. If the field is unknown or null, the boolean return value is false.

func (ClusterPolicyPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterPolicyPermissionsRequest) SetAccessControlList added in v1.61.0

SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissionsRequest.

func (*ClusterPolicyPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ClusterPolicyPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

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

func (ClusterPolicyPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermissionsRequest_SdkV2 added in v1.62.1

type ClusterPolicyPermissionsRequest_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The cluster policy for which to get or manage permissions.
	ClusterPolicyId types.String `tfsdk:"-"`
}

func (ClusterPolicyPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ClusterPolicyPermissionsRequest_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissionsRequest_SdkV2 as a slice of ClusterPolicyAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPolicyPermissionsRequest_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissionsRequest_SdkV2.

func (*ClusterPolicyPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*ClusterPolicyPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ClusterPolicyPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPolicyPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterPolicyPermissions_SdkV2 added in v1.62.1

type ClusterPolicyPermissions_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (ClusterPolicyPermissions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ClusterPolicyPermissions_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in ClusterPolicyPermissions_SdkV2 as a slice of ClusterPolicyAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ClusterPolicyPermissions_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterPolicyPermissions_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in ClusterPolicyPermissions_SdkV2.

func (*ClusterPolicyPermissions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterPolicyPermissions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ClusterPolicyPermissions_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterPolicyPermissions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterSettingsChange

type ClusterSettingsChange struct {
	// The field where this change would be made.
	Field types.String `tfsdk:"field"`
	// The new value of this field after enforcing policy compliance (either a
	// number, a boolean, or a string) converted to a string. This is intended
	// to be read by a human. The typed new value of this field can be retrieved
	// by reading the settings field in the API response.
	NewValue types.String `tfsdk:"new_value"`
	// The previous value of this field before enforcing policy compliance
	// (either a number, a boolean, or a string) converted to a string. This is
	// intended to be read by a human. The type of the field can be retrieved by
	// reading the settings field in the API response.
	PreviousValue types.String `tfsdk:"previous_value"`
}

Represents a change to the cluster settings required for the cluster to become compliant with its policy.

func (ClusterSettingsChange) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterSettingsChange) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterSettingsChange) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterSettingsChange) SyncFieldsDuringRead added in v1.86.0

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

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

func (ClusterSettingsChange) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ClusterSettingsChange_SdkV2 added in v1.62.1

type ClusterSettingsChange_SdkV2 struct {
	// The field where this change would be made.
	Field types.String `tfsdk:"field"`
	// The new value of this field after enforcing policy compliance (either a
	// number, a boolean, or a string) converted to a string. This is intended
	// to be read by a human. The typed new value of this field can be retrieved
	// by reading the settings field in the API response.
	NewValue types.String `tfsdk:"new_value"`
	// The previous value of this field before enforcing policy compliance
	// (either a number, a boolean, or a string) converted to a string. This is
	// intended to be read by a human. The type of the field can be retrieved by
	// reading the settings field in the API response.
	PreviousValue types.String `tfsdk:"previous_value"`
}

Represents a change to the cluster settings required for the cluster to become compliant with its policy.

func (ClusterSettingsChange_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterSettingsChange_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterSettingsChange_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterSettingsChange_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterSettingsChange_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterSettingsChange_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterSize

type ClusterSize struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
}

func (ClusterSize) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterSize) GetAutoscale added in v1.61.0

func (m *ClusterSize) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in ClusterSize as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (ClusterSize) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterSize) SetAutoscale added in v1.61.0

func (m *ClusterSize) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in ClusterSize.

func (*ClusterSize) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterSize) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterSize) ToObjectValue added in v1.61.0

func (m ClusterSize) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterSize) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClusterSize_SdkV2 added in v1.62.1

type ClusterSize_SdkV2 struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
}

func (ClusterSize_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterSize_SdkV2) GetAutoscale added in v1.62.1

func (m *ClusterSize_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)

GetAutoscale returns the value of the Autoscale field in ClusterSize_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ClusterSize_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterSize_SdkV2) SetAutoscale added in v1.62.1

func (m *ClusterSize_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in ClusterSize_SdkV2.

func (*ClusterSize_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterSize_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterSize_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterSize_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterSpec

type ClusterSpec struct {
	// When set to true, fixed and default values from the policy will be used
	// for fields that are omitted. When set to false, only fixed values from
	// the policy will be applied.
	ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"`
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

Contains a snapshot of the latest user specified settings that were used to create/edit the cluster.

func (ClusterSpec) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterSpec) GetAutoscale added in v1.61.0

func (m *ClusterSpec) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in ClusterSpec as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetAwsAttributes added in v1.61.0

func (m *ClusterSpec) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in ClusterSpec as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetAzureAttributes added in v1.61.0

func (m *ClusterSpec) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in ClusterSpec as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetClusterLogConf added in v1.61.0

func (m *ClusterSpec) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in ClusterSpec as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (ClusterSpec) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterSpec) GetCustomTags added in v1.61.0

func (m *ClusterSpec) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in ClusterSpec as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetDockerImage added in v1.61.0

func (m *ClusterSpec) GetDockerImage(ctx context.Context) (DockerImage, bool)

GetDockerImage returns the value of the DockerImage field in ClusterSpec as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in ClusterSpec as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetGcpAttributes added in v1.61.0

func (m *ClusterSpec) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in ClusterSpec as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetInitScripts added in v1.61.0

func (m *ClusterSpec) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)

GetInitScripts returns the value of the InitScripts field in ClusterSpec as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetSparkConf added in v1.61.0

func (m *ClusterSpec) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in ClusterSpec as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetSparkEnvVars added in v1.61.0

func (m *ClusterSpec) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterSpec as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetSshPublicKeys added in v1.61.0

func (m *ClusterSpec) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterSpec as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in ClusterSpec as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) GetWorkloadType added in v1.61.0

func (m *ClusterSpec) GetWorkloadType(ctx context.Context) (WorkloadType, bool)

GetWorkloadType returns the value of the WorkloadType field in ClusterSpec as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec) SetAutoscale added in v1.61.0

func (m *ClusterSpec) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in ClusterSpec.

func (*ClusterSpec) SetAwsAttributes added in v1.61.0

func (m *ClusterSpec) SetAwsAttributes(ctx context.Context, v AwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in ClusterSpec.

func (*ClusterSpec) SetAzureAttributes added in v1.61.0

func (m *ClusterSpec) SetAzureAttributes(ctx context.Context, v AzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in ClusterSpec.

func (*ClusterSpec) SetClusterLogConf added in v1.61.0

func (m *ClusterSpec) SetClusterLogConf(ctx context.Context, v ClusterLogConf)

SetClusterLogConf sets the value of the ClusterLogConf field in ClusterSpec.

func (*ClusterSpec) SetCustomTags added in v1.61.0

func (m *ClusterSpec) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in ClusterSpec.

func (*ClusterSpec) SetDockerImage added in v1.61.0

func (m *ClusterSpec) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in ClusterSpec.

func (*ClusterSpec) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in ClusterSpec.

func (*ClusterSpec) SetGcpAttributes added in v1.61.0

func (m *ClusterSpec) SetGcpAttributes(ctx context.Context, v GcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in ClusterSpec.

func (*ClusterSpec) SetInitScripts added in v1.61.0

func (m *ClusterSpec) SetInitScripts(ctx context.Context, v []InitScriptInfo)

SetInitScripts sets the value of the InitScripts field in ClusterSpec.

func (*ClusterSpec) SetSparkConf added in v1.61.0

func (m *ClusterSpec) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in ClusterSpec.

func (*ClusterSpec) SetSparkEnvVars added in v1.61.0

func (m *ClusterSpec) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterSpec.

func (*ClusterSpec) SetSshPublicKeys added in v1.61.0

func (m *ClusterSpec) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterSpec.

func (*ClusterSpec) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in ClusterSpec.

func (*ClusterSpec) SetWorkloadType added in v1.61.0

func (m *ClusterSpec) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in ClusterSpec.

func (*ClusterSpec) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterSpec) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterSpec) ToObjectValue added in v1.61.0

func (m ClusterSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterSpec) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClusterSpec_SdkV2 added in v1.62.1

type ClusterSpec_SdkV2 struct {
	// When set to true, fixed and default values from the policy will be used
	// for fields that are omitted. When set to false, only fixed values from
	// the policy will be applied.
	ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"`
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

Contains a snapshot of the latest user specified settings that were used to create/edit the cluster.

func (ClusterSpec_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterSpec_SdkV2) GetAutoscale added in v1.62.1

func (m *ClusterSpec_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)

GetAutoscale returns the value of the Autoscale field in ClusterSpec_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetAwsAttributes added in v1.62.1

func (m *ClusterSpec_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)

GetAwsAttributes returns the value of the AwsAttributes field in ClusterSpec_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetAzureAttributes added in v1.62.1

func (m *ClusterSpec_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)

GetAzureAttributes returns the value of the AzureAttributes field in ClusterSpec_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetClusterLogConf added in v1.62.1

func (m *ClusterSpec_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in ClusterSpec_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ClusterSpec_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterSpec_SdkV2) GetCustomTags added in v1.62.1

func (m *ClusterSpec_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in ClusterSpec_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetDockerImage added in v1.62.1

func (m *ClusterSpec_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)

GetDockerImage returns the value of the DockerImage field in ClusterSpec_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec_SdkV2) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in ClusterSpec_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetGcpAttributes added in v1.62.1

func (m *ClusterSpec_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)

GetGcpAttributes returns the value of the GcpAttributes field in ClusterSpec_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetInitScripts added in v1.62.1

func (m *ClusterSpec_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)

GetInitScripts returns the value of the InitScripts field in ClusterSpec_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetSparkConf added in v1.62.1

func (m *ClusterSpec_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in ClusterSpec_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetSparkEnvVars added in v1.62.1

func (m *ClusterSpec_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in ClusterSpec_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetSshPublicKeys added in v1.62.1

func (m *ClusterSpec_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in ClusterSpec_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec_SdkV2) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in ClusterSpec_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) GetWorkloadType added in v1.62.1

func (m *ClusterSpec_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)

GetWorkloadType returns the value of the WorkloadType field in ClusterSpec_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ClusterSpec_SdkV2) SetAutoscale added in v1.62.1

func (m *ClusterSpec_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetAwsAttributes added in v1.62.1

func (m *ClusterSpec_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)

SetAwsAttributes sets the value of the AwsAttributes field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetAzureAttributes added in v1.62.1

func (m *ClusterSpec_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)

SetAzureAttributes sets the value of the AzureAttributes field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetClusterLogConf added in v1.62.1

func (m *ClusterSpec_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)

SetClusterLogConf sets the value of the ClusterLogConf field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetCustomTags added in v1.62.1

func (m *ClusterSpec_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetDockerImage added in v1.62.1

func (m *ClusterSpec_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec_SdkV2) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetGcpAttributes added in v1.62.1

func (m *ClusterSpec_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)

SetGcpAttributes sets the value of the GcpAttributes field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetInitScripts added in v1.62.1

func (m *ClusterSpec_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)

SetInitScripts sets the value of the InitScripts field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetSparkConf added in v1.62.1

func (m *ClusterSpec_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetSparkEnvVars added in v1.62.1

func (m *ClusterSpec_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetSshPublicKeys added in v1.62.1

func (m *ClusterSpec_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *ClusterSpec_SdkV2) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetWorkloadType added in v1.62.1

func (m *ClusterSpec_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ClusterSpec_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ClusterSpec_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterSpec_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ClusterStatus

type ClusterStatus struct {
	// Unique identifier of the cluster whose status should be retrieved.
	ClusterId types.String `tfsdk:"-"`
}

func (ClusterStatus) ApplySchemaCustomizations added in v1.76.0

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

func (ClusterStatus) GetComplexFieldTypes added in v1.61.0

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

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

func (*ClusterStatus) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ClusterStatus) SyncFieldsDuringRead added in v1.91.0

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

func (ClusterStatus) ToObjectValue added in v1.61.0

func (m ClusterStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (ClusterStatus) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClusterStatus_SdkV2 added in v1.62.1

type ClusterStatus_SdkV2 struct {
	// Unique identifier of the cluster whose status should be retrieved.
	ClusterId types.String `tfsdk:"-"`
}

func (ClusterStatus_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (ClusterStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ClusterStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ClusterStatus_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (ClusterStatus_SdkV2) ToObjectValue added in v1.62.1

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

func (ClusterStatus_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Command

type Command struct {
	// Running cluster id
	ClusterId types.String `tfsdk:"cluster_id"`
	// Executable code
	Command types.String `tfsdk:"command"`
	// Running context id
	ContextId types.String `tfsdk:"context_id"`

	Language types.String `tfsdk:"language"`
}

func (Command) ApplySchemaCustomizations added in v1.63.0

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

func (Command) GetComplexFieldTypes added in v1.61.0

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

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

func (*Command) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*Command) SyncFieldsDuringRead added in v1.91.0

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

func (Command) ToObjectValue added in v1.61.0

func (m Command) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (Command) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CommandStatusRequest

type CommandStatusRequest struct {
	ClusterId types.String `tfsdk:"-"`

	CommandId types.String `tfsdk:"-"`

	ContextId types.String `tfsdk:"-"`
}

func (CommandStatusRequest) ApplySchemaCustomizations added in v1.76.0

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

func (CommandStatusRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CommandStatusRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CommandStatusRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (CommandStatusRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CommandStatusRequest_SdkV2 added in v1.62.1

type CommandStatusRequest_SdkV2 struct {
	ClusterId types.String `tfsdk:"-"`

	CommandId types.String `tfsdk:"-"`

	ContextId types.String `tfsdk:"-"`
}

func (CommandStatusRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (CommandStatusRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CommandStatusRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CommandStatusRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CommandStatusRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (CommandStatusRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CommandStatusResponse

type CommandStatusResponse struct {
	Id types.String `tfsdk:"id"`

	Results types.Object `tfsdk:"results"`

	Status types.String `tfsdk:"status"`
}

func (CommandStatusResponse) ApplySchemaCustomizations added in v1.63.0

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

func (CommandStatusResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*CommandStatusResponse) GetResults added in v1.61.0

func (m *CommandStatusResponse) GetResults(ctx context.Context) (Results, bool)

GetResults returns the value of the Results field in CommandStatusResponse as a Results value. If the field is unknown or null, the boolean return value is false.

func (*CommandStatusResponse) SetResults added in v1.61.0

func (m *CommandStatusResponse) SetResults(ctx context.Context, v Results)

SetResults sets the value of the Results field in CommandStatusResponse.

func (*CommandStatusResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CommandStatusResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (CommandStatusResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CommandStatusResponse_SdkV2 added in v1.62.1

type CommandStatusResponse_SdkV2 struct {
	Id types.String `tfsdk:"id"`

	Results types.List `tfsdk:"results"`

	Status types.String `tfsdk:"status"`
}

func (CommandStatusResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CommandStatusResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CommandStatusResponse_SdkV2) GetResults added in v1.62.1

GetResults returns the value of the Results field in CommandStatusResponse_SdkV2 as a Results_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CommandStatusResponse_SdkV2) SetResults added in v1.62.1

SetResults sets the value of the Results field in CommandStatusResponse_SdkV2.

func (*CommandStatusResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CommandStatusResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CommandStatusResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (CommandStatusResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Command_SdkV2 added in v1.62.1

type Command_SdkV2 struct {
	// Running cluster id
	ClusterId types.String `tfsdk:"cluster_id"`
	// Executable code
	Command types.String `tfsdk:"command"`
	// Running context id
	ContextId types.String `tfsdk:"context_id"`

	Language types.String `tfsdk:"language"`
}

func (Command_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Command_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*Command_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*Command_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (Command_SdkV2) ToObjectValue added in v1.62.1

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

func (Command_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type ContextStatusRequest

type ContextStatusRequest struct {
	ClusterId types.String `tfsdk:"-"`

	ContextId types.String `tfsdk:"-"`
}

func (ContextStatusRequest) ApplySchemaCustomizations added in v1.76.0

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

func (ContextStatusRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*ContextStatusRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ContextStatusRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (ContextStatusRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ContextStatusRequest_SdkV2 added in v1.62.1

type ContextStatusRequest_SdkV2 struct {
	ClusterId types.String `tfsdk:"-"`

	ContextId types.String `tfsdk:"-"`
}

func (ContextStatusRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

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

func (ContextStatusRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ContextStatusRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*ContextStatusRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (ContextStatusRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (ContextStatusRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ContextStatusResponse

type ContextStatusResponse struct {
	Id types.String `tfsdk:"id"`

	Status types.String `tfsdk:"status"`
}

func (ContextStatusResponse) ApplySchemaCustomizations added in v1.63.0

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

func (ContextStatusResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ContextStatusResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ContextStatusResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (ContextStatusResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ContextStatusResponse_SdkV2 added in v1.62.1

type ContextStatusResponse_SdkV2 struct {
	Id types.String `tfsdk:"id"`

	Status types.String `tfsdk:"status"`
}

func (ContextStatusResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ContextStatusResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ContextStatusResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*ContextStatusResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (ContextStatusResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (ContextStatusResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateCluster

type CreateCluster struct {
	// When set to true, fixed and default values from the policy will be used
	// for fields that are omitted. When set to false, only fixed values from
	// the policy will be applied.
	ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"`
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// When specified, this clones libraries from a source cluster during the
	// creation of a new cluster.
	CloneFrom types.Object `tfsdk:"clone_from"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

func (CreateCluster) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateCluster) GetAutoscale added in v1.61.0

func (m *CreateCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in CreateCluster as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetAwsAttributes added in v1.61.0

func (m *CreateCluster) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in CreateCluster as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetAzureAttributes added in v1.61.0

func (m *CreateCluster) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in CreateCluster as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetCloneFrom added in v1.61.0

func (m *CreateCluster) GetCloneFrom(ctx context.Context) (CloneCluster, bool)

GetCloneFrom returns the value of the CloneFrom field in CreateCluster as a CloneCluster value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetClusterLogConf added in v1.61.0

func (m *CreateCluster) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in CreateCluster as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (CreateCluster) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateCluster) GetCustomTags added in v1.61.0

func (m *CreateCluster) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in CreateCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetDockerImage added in v1.61.0

func (m *CreateCluster) GetDockerImage(ctx context.Context) (DockerImage, bool)

GetDockerImage returns the value of the DockerImage field in CreateCluster as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in CreateCluster as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetGcpAttributes added in v1.61.0

func (m *CreateCluster) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in CreateCluster as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetInitScripts added in v1.61.0

func (m *CreateCluster) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)

GetInitScripts returns the value of the InitScripts field in CreateCluster as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetSparkConf added in v1.61.0

func (m *CreateCluster) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in CreateCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetSparkEnvVars added in v1.61.0

func (m *CreateCluster) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in CreateCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetSshPublicKeys added in v1.61.0

func (m *CreateCluster) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in CreateCluster as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in CreateCluster as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) GetWorkloadType added in v1.61.0

func (m *CreateCluster) GetWorkloadType(ctx context.Context) (WorkloadType, bool)

GetWorkloadType returns the value of the WorkloadType field in CreateCluster as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster) SetAutoscale added in v1.61.0

func (m *CreateCluster) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in CreateCluster.

func (*CreateCluster) SetAwsAttributes added in v1.61.0

func (m *CreateCluster) SetAwsAttributes(ctx context.Context, v AwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in CreateCluster.

func (*CreateCluster) SetAzureAttributes added in v1.61.0

func (m *CreateCluster) SetAzureAttributes(ctx context.Context, v AzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in CreateCluster.

func (*CreateCluster) SetCloneFrom added in v1.61.0

func (m *CreateCluster) SetCloneFrom(ctx context.Context, v CloneCluster)

SetCloneFrom sets the value of the CloneFrom field in CreateCluster.

func (*CreateCluster) SetClusterLogConf added in v1.61.0

func (m *CreateCluster) SetClusterLogConf(ctx context.Context, v ClusterLogConf)

SetClusterLogConf sets the value of the ClusterLogConf field in CreateCluster.

func (*CreateCluster) SetCustomTags added in v1.61.0

func (m *CreateCluster) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in CreateCluster.

func (*CreateCluster) SetDockerImage added in v1.61.0

func (m *CreateCluster) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in CreateCluster.

func (*CreateCluster) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in CreateCluster.

func (*CreateCluster) SetGcpAttributes added in v1.61.0

func (m *CreateCluster) SetGcpAttributes(ctx context.Context, v GcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in CreateCluster.

func (*CreateCluster) SetInitScripts added in v1.61.0

func (m *CreateCluster) SetInitScripts(ctx context.Context, v []InitScriptInfo)

SetInitScripts sets the value of the InitScripts field in CreateCluster.

func (*CreateCluster) SetSparkConf added in v1.61.0

func (m *CreateCluster) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in CreateCluster.

func (*CreateCluster) SetSparkEnvVars added in v1.61.0

func (m *CreateCluster) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in CreateCluster.

func (*CreateCluster) SetSshPublicKeys added in v1.61.0

func (m *CreateCluster) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in CreateCluster.

func (*CreateCluster) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in CreateCluster.

func (*CreateCluster) SetWorkloadType added in v1.61.0

func (m *CreateCluster) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in CreateCluster.

func (*CreateCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateCluster) SyncFieldsDuringRead added in v1.91.0

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

func (CreateCluster) ToObjectValue added in v1.61.0

func (m CreateCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CreateCluster) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreateClusterResponse

type CreateClusterResponse struct {
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (CreateClusterResponse) ApplySchemaCustomizations added in v1.63.0

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

func (CreateClusterResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateClusterResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateClusterResponse_SdkV2 added in v1.62.1

type CreateClusterResponse_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (CreateClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreateClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CreateClusterResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateCluster_SdkV2 added in v1.62.1

type CreateCluster_SdkV2 struct {
	// When set to true, fixed and default values from the policy will be used
	// for fields that are omitted. When set to false, only fixed values from
	// the policy will be applied.
	ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"`
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// When specified, this clones libraries from a source cluster during the
	// creation of a new cluster.
	CloneFrom types.List `tfsdk:"clone_from"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

func (CreateCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateCluster_SdkV2) GetAutoscale added in v1.62.1

func (m *CreateCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)

GetAutoscale returns the value of the Autoscale field in CreateCluster_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetAwsAttributes added in v1.62.1

func (m *CreateCluster_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)

GetAwsAttributes returns the value of the AwsAttributes field in CreateCluster_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetAzureAttributes added in v1.62.1

func (m *CreateCluster_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)

GetAzureAttributes returns the value of the AzureAttributes field in CreateCluster_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetCloneFrom added in v1.62.1

func (m *CreateCluster_SdkV2) GetCloneFrom(ctx context.Context) (CloneCluster_SdkV2, bool)

GetCloneFrom returns the value of the CloneFrom field in CreateCluster_SdkV2 as a CloneCluster_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetClusterLogConf added in v1.62.1

func (m *CreateCluster_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in CreateCluster_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreateCluster_SdkV2) GetCustomTags added in v1.62.1

func (m *CreateCluster_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in CreateCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetDockerImage added in v1.62.1

func (m *CreateCluster_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)

GetDockerImage returns the value of the DockerImage field in CreateCluster_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster_SdkV2) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in CreateCluster_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetGcpAttributes added in v1.62.1

func (m *CreateCluster_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)

GetGcpAttributes returns the value of the GcpAttributes field in CreateCluster_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetInitScripts added in v1.62.1

func (m *CreateCluster_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)

GetInitScripts returns the value of the InitScripts field in CreateCluster_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetSparkConf added in v1.62.1

func (m *CreateCluster_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in CreateCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetSparkEnvVars added in v1.62.1

func (m *CreateCluster_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in CreateCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetSshPublicKeys added in v1.62.1

func (m *CreateCluster_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in CreateCluster_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster_SdkV2) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in CreateCluster_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) GetWorkloadType added in v1.62.1

func (m *CreateCluster_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)

GetWorkloadType returns the value of the WorkloadType field in CreateCluster_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateCluster_SdkV2) SetAutoscale added in v1.62.1

func (m *CreateCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetAwsAttributes added in v1.62.1

func (m *CreateCluster_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)

SetAwsAttributes sets the value of the AwsAttributes field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetAzureAttributes added in v1.62.1

func (m *CreateCluster_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)

SetAzureAttributes sets the value of the AzureAttributes field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetCloneFrom added in v1.62.1

func (m *CreateCluster_SdkV2) SetCloneFrom(ctx context.Context, v CloneCluster_SdkV2)

SetCloneFrom sets the value of the CloneFrom field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetClusterLogConf added in v1.62.1

func (m *CreateCluster_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)

SetClusterLogConf sets the value of the ClusterLogConf field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetCustomTags added in v1.62.1

func (m *CreateCluster_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetDockerImage added in v1.62.1

func (m *CreateCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster_SdkV2) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetGcpAttributes added in v1.62.1

func (m *CreateCluster_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)

SetGcpAttributes sets the value of the GcpAttributes field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetInitScripts added in v1.62.1

func (m *CreateCluster_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)

SetInitScripts sets the value of the InitScripts field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetSparkConf added in v1.62.1

func (m *CreateCluster_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetSparkEnvVars added in v1.62.1

func (m *CreateCluster_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetSshPublicKeys added in v1.62.1

func (m *CreateCluster_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *CreateCluster_SdkV2) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetWorkloadType added in v1.62.1

func (m *CreateCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateCluster_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateContext

type CreateContext struct {
	// Running cluster id
	ClusterId types.String `tfsdk:"cluster_id"`

	Language types.String `tfsdk:"language"`
}

func (CreateContext) ApplySchemaCustomizations added in v1.63.0

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

func (CreateContext) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateContext) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateContext) SyncFieldsDuringRead added in v1.91.0

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

func (CreateContext) ToObjectValue added in v1.61.0

func (m CreateContext) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CreateContext) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreateContext_SdkV2 added in v1.62.1

type CreateContext_SdkV2 struct {
	// Running cluster id
	ClusterId types.String `tfsdk:"cluster_id"`

	Language types.String `tfsdk:"language"`
}

func (CreateContext_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateContext_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreateContext_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateContext_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateContext_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateContext_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateInstancePool

type CreateInstancePool struct {
	// Attributes related to instance pools running on Amazon Web Services. If
	// not specified at pool creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to instance pools running on Azure. If not specified
	// at pool creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Defines the specification of the disks that will be attached to all spark
	// containers.
	DiskSpec types.Object `tfsdk:"disk_spec"`
	// Autoscaling Local Storage: when enabled, this instances in this pool will
	// dynamically acquire additional disk space when its Spark workers are
	// running low on disk space. In AWS, this feature requires specific AWS
	// permissions to function correctly - refer to the User Guide for more
	// details.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Attributes related to instance pools running on Google Cloud Platform. If
	// not specified at pool creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// Flexible node type configuration for the pool.
	NodeTypeFlexibility types.Object `tfsdk:"node_type_flexibility"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Custom Docker Image BYOC
	PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"`
	// A list containing at most one preloaded Spark image version for the pool.
	// Pool-backed clusters started with the preloaded Spark version will start
	// faster. A list of available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (CreateInstancePool) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateInstancePool) GetAwsAttributes added in v1.61.0

func (m *CreateInstancePool) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in CreateInstancePool as a InstancePoolAwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) GetAzureAttributes added in v1.61.0

func (m *CreateInstancePool) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in CreateInstancePool as a InstancePoolAzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (CreateInstancePool) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateInstancePool) GetCustomTags added in v1.61.0

func (m *CreateInstancePool) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in CreateInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) GetDiskSpec added in v1.61.0

func (m *CreateInstancePool) GetDiskSpec(ctx context.Context) (DiskSpec, bool)

GetDiskSpec returns the value of the DiskSpec field in CreateInstancePool as a DiskSpec value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) GetGcpAttributes added in v1.61.0

func (m *CreateInstancePool) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in CreateInstancePool as a InstancePoolGcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) GetNodeTypeFlexibility added in v1.104.0

func (m *CreateInstancePool) GetNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetNodeTypeFlexibility returns the value of the NodeTypeFlexibility field in CreateInstancePool as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) GetPreloadedDockerImages added in v1.61.0

func (m *CreateInstancePool) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)

GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in CreateInstancePool as a slice of DockerImage values. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) GetPreloadedSparkVersions added in v1.61.0

func (m *CreateInstancePool) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)

GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in CreateInstancePool as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool) SetAwsAttributes added in v1.61.0

func (m *CreateInstancePool) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in CreateInstancePool.

func (*CreateInstancePool) SetAzureAttributes added in v1.61.0

func (m *CreateInstancePool) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in CreateInstancePool.

func (*CreateInstancePool) SetCustomTags added in v1.61.0

func (m *CreateInstancePool) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in CreateInstancePool.

func (*CreateInstancePool) SetDiskSpec added in v1.61.0

func (m *CreateInstancePool) SetDiskSpec(ctx context.Context, v DiskSpec)

SetDiskSpec sets the value of the DiskSpec field in CreateInstancePool.

func (*CreateInstancePool) SetGcpAttributes added in v1.61.0

func (m *CreateInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in CreateInstancePool.

func (*CreateInstancePool) SetNodeTypeFlexibility added in v1.104.0

func (m *CreateInstancePool) SetNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetNodeTypeFlexibility sets the value of the NodeTypeFlexibility field in CreateInstancePool.

func (*CreateInstancePool) SetPreloadedDockerImages added in v1.61.0

func (m *CreateInstancePool) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)

SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in CreateInstancePool.

func (*CreateInstancePool) SetPreloadedSparkVersions added in v1.61.0

func (m *CreateInstancePool) SetPreloadedSparkVersions(ctx context.Context, v []types.String)

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in CreateInstancePool.

func (*CreateInstancePool) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateInstancePool) SyncFieldsDuringRead added in v1.91.0

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

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

func (CreateInstancePool) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateInstancePoolResponse

type CreateInstancePoolResponse struct {
	// The ID of the created instance pool.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
}

func (CreateInstancePoolResponse) ApplySchemaCustomizations added in v1.63.0

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

func (CreateInstancePoolResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateInstancePoolResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateInstancePoolResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreateInstancePoolResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateInstancePoolResponse_SdkV2 added in v1.62.1

type CreateInstancePoolResponse_SdkV2 struct {
	// The ID of the created instance pool.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
}

func (CreateInstancePoolResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (CreateInstancePoolResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreateInstancePoolResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateInstancePoolResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (CreateInstancePoolResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateInstancePoolResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateInstancePool_SdkV2 added in v1.62.1

type CreateInstancePool_SdkV2 struct {
	// Attributes related to instance pools running on Amazon Web Services. If
	// not specified at pool creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to instance pools running on Azure. If not specified
	// at pool creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Defines the specification of the disks that will be attached to all spark
	// containers.
	DiskSpec types.List `tfsdk:"disk_spec"`
	// Autoscaling Local Storage: when enabled, this instances in this pool will
	// dynamically acquire additional disk space when its Spark workers are
	// running low on disk space. In AWS, this feature requires specific AWS
	// permissions to function correctly - refer to the User Guide for more
	// details.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Attributes related to instance pools running on Google Cloud Platform. If
	// not specified at pool creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// Flexible node type configuration for the pool.
	NodeTypeFlexibility types.List `tfsdk:"node_type_flexibility"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Custom Docker Image BYOC
	PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"`
	// A list containing at most one preloaded Spark image version for the pool.
	// Pool-backed clusters started with the preloaded Spark version will start
	// faster. A list of available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (CreateInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateInstancePool_SdkV2) GetAwsAttributes added in v1.62.1

GetAwsAttributes returns the value of the AwsAttributes field in CreateInstancePool_SdkV2 as a InstancePoolAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) GetAzureAttributes added in v1.62.1

GetAzureAttributes returns the value of the AzureAttributes field in CreateInstancePool_SdkV2 as a InstancePoolAzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (CreateInstancePool_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreateInstancePool_SdkV2) GetCustomTags added in v1.62.1

func (m *CreateInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in CreateInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) GetDiskSpec added in v1.62.1

GetDiskSpec returns the value of the DiskSpec field in CreateInstancePool_SdkV2 as a DiskSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) GetGcpAttributes added in v1.62.1

GetGcpAttributes returns the value of the GcpAttributes field in CreateInstancePool_SdkV2 as a InstancePoolGcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) GetNodeTypeFlexibility added in v1.104.0

func (m *CreateInstancePool_SdkV2) GetNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetNodeTypeFlexibility returns the value of the NodeTypeFlexibility field in CreateInstancePool_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) GetPreloadedDockerImages added in v1.62.1

func (m *CreateInstancePool_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)

GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in CreateInstancePool_SdkV2 as a slice of DockerImage_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) GetPreloadedSparkVersions added in v1.62.1

func (m *CreateInstancePool_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)

GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in CreateInstancePool_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateInstancePool_SdkV2) SetAwsAttributes added in v1.62.1

SetAwsAttributes sets the value of the AwsAttributes field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetAzureAttributes added in v1.62.1

SetAzureAttributes sets the value of the AzureAttributes field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetCustomTags added in v1.62.1

func (m *CreateInstancePool_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetDiskSpec added in v1.62.1

func (m *CreateInstancePool_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)

SetDiskSpec sets the value of the DiskSpec field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetGcpAttributes added in v1.62.1

SetGcpAttributes sets the value of the GcpAttributes field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetNodeTypeFlexibility added in v1.104.0

func (m *CreateInstancePool_SdkV2) SetNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetNodeTypeFlexibility sets the value of the NodeTypeFlexibility field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetPreloadedDockerImages added in v1.62.1

func (m *CreateInstancePool_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)

SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SetPreloadedSparkVersions added in v1.62.1

func (m *CreateInstancePool_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreateInstancePool_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreateInstancePool_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateInstancePool_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreatePolicy

type CreatePolicy struct {
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Additional human-readable description of the cluster policy.
	Description types.String `tfsdk:"description"`
	// A list of libraries to be installed on the next cluster restart that uses
	// this policy. The maximum number of libraries is 500.
	Libraries types.List `tfsdk:"libraries"`
	// Max number of clusters per user that can be active using this policy. If
	// not present, there is no max limit.
	MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"`
	// Cluster Policy name requested by the user. This has to be unique. Length
	// must be between 1 and 100 characters.
	Name types.String `tfsdk:"name"`
	// Policy definition JSON document expressed in [Databricks Policy
	// Definition Language]. The JSON document must be passed as a string and
	// cannot be embedded in the requests.
	//
	// You can use this to customize the policy definition inherited from the
	// policy family. Policy rules specified here are merged into the inherited
	// policy definition.
	//
	// [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"`
	// ID of the policy family. The cluster policy's policy definition inherits
	// the policy family's policy definition.
	//
	// Cannot be used with `definition`. Use
	// `policy_family_definition_overrides` instead to customize the policy
	// definition.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
}

func (CreatePolicy) ApplySchemaCustomizations added in v1.63.0

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

func (CreatePolicy) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreatePolicy) GetLibraries added in v1.61.0

func (m *CreatePolicy) GetLibraries(ctx context.Context) ([]Library, bool)

GetLibraries returns the value of the Libraries field in CreatePolicy as a slice of Library values. If the field is unknown or null, the boolean return value is false.

func (*CreatePolicy) SetLibraries added in v1.61.0

func (m *CreatePolicy) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in CreatePolicy.

func (*CreatePolicy) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreatePolicy) SyncFieldsDuringRead added in v1.91.0

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

func (CreatePolicy) ToObjectValue added in v1.61.0

func (m CreatePolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CreatePolicy) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreatePolicyResponse

type CreatePolicyResponse struct {
	// Canonical unique identifier for the cluster policy.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (CreatePolicyResponse) ApplySchemaCustomizations added in v1.63.0

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

func (CreatePolicyResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreatePolicyResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreatePolicyResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (CreatePolicyResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreatePolicyResponse_SdkV2 added in v1.62.1

type CreatePolicyResponse_SdkV2 struct {
	// Canonical unique identifier for the cluster policy.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (CreatePolicyResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreatePolicyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreatePolicyResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreatePolicyResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CreatePolicyResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (CreatePolicyResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreatePolicy_SdkV2 added in v1.62.1

type CreatePolicy_SdkV2 struct {
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Additional human-readable description of the cluster policy.
	Description types.String `tfsdk:"description"`
	// A list of libraries to be installed on the next cluster restart that uses
	// this policy. The maximum number of libraries is 500.
	Libraries types.List `tfsdk:"libraries"`
	// Max number of clusters per user that can be active using this policy. If
	// not present, there is no max limit.
	MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"`
	// Cluster Policy name requested by the user. This has to be unique. Length
	// must be between 1 and 100 characters.
	Name types.String `tfsdk:"name"`
	// Policy definition JSON document expressed in [Databricks Policy
	// Definition Language]. The JSON document must be passed as a string and
	// cannot be embedded in the requests.
	//
	// You can use this to customize the policy definition inherited from the
	// policy family. Policy rules specified here are merged into the inherited
	// policy definition.
	//
	// [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"`
	// ID of the policy family. The cluster policy's policy definition inherits
	// the policy family's policy definition.
	//
	// Cannot be used with `definition`. Use
	// `policy_family_definition_overrides` instead to customize the policy
	// definition.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
}

func (CreatePolicy_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreatePolicy_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreatePolicy_SdkV2) GetLibraries added in v1.62.1

func (m *CreatePolicy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)

GetLibraries returns the value of the Libraries field in CreatePolicy_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*CreatePolicy_SdkV2) SetLibraries added in v1.62.1

func (m *CreatePolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in CreatePolicy_SdkV2.

func (*CreatePolicy_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*CreatePolicy_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (CreatePolicy_SdkV2) ToObjectValue added in v1.62.1

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

func (CreatePolicy_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type CreateResponse

type CreateResponse struct {
	// The global init script ID.
	ScriptId types.String `tfsdk:"script_id"`
}

func (CreateResponse) ApplySchemaCustomizations added in v1.71.0

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

func (CreateResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateResponse) SyncFieldsDuringRead added in v1.86.0

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

func (CreateResponse) ToObjectValue added in v1.61.0

func (m CreateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CreateResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CreateResponse_SdkV2 added in v1.62.1

type CreateResponse_SdkV2 struct {
	// The global init script ID.
	ScriptId types.String `tfsdk:"script_id"`
}

func (CreateResponse_SdkV2) ApplySchemaCustomizations added in v1.71.0

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

func (CreateResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*CreateResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CreateResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (CreateResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (CreateResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Created

type Created struct {
	Id types.String `tfsdk:"id"`
}

func (Created) ApplySchemaCustomizations added in v1.63.0

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

func (Created) GetComplexFieldTypes added in v1.61.0

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

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

func (*Created) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Created) SyncFieldsDuringRead added in v1.86.0

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

func (Created) ToObjectValue added in v1.61.0

func (m Created) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (Created) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type Created_SdkV2 added in v1.62.1

type Created_SdkV2 struct {
	Id types.String `tfsdk:"id"`
}

func (Created_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Created_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*Created_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*Created_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (Created_SdkV2) ToObjectValue added in v1.62.1

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

func (Created_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type CustomPolicyTag added in v1.65.0

type CustomPolicyTag struct {
	// The key of the tag. - Must be unique among all custom tags of the same
	// policy - Cannot be “budget-policy-name”, “budget-policy-id” or
	// "budget-policy-resolution-result" - these tags are preserved.
	Key types.String `tfsdk:"key"`
	// The value of the tag.
	Value types.String `tfsdk:"value"`
}

func (CustomPolicyTag) ApplySchemaCustomizations added in v1.65.0

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

func (CustomPolicyTag) GetComplexFieldTypes added in v1.65.0

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

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

func (*CustomPolicyTag) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CustomPolicyTag) SyncFieldsDuringRead added in v1.86.0

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

func (CustomPolicyTag) ToObjectValue added in v1.65.0

func (m CustomPolicyTag) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (CustomPolicyTag) Type added in v1.65.0

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

Type implements basetypes.ObjectValuable.

type CustomPolicyTag_SdkV2 added in v1.65.0

type CustomPolicyTag_SdkV2 struct {
	// The key of the tag. - Must be unique among all custom tags of the same
	// policy - Cannot be “budget-policy-name”, “budget-policy-id” or
	// "budget-policy-resolution-result" - these tags are preserved.
	Key types.String `tfsdk:"key"`
	// The value of the tag.
	Value types.String `tfsdk:"value"`
}

func (CustomPolicyTag_SdkV2) ApplySchemaCustomizations added in v1.65.0

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

func (CustomPolicyTag_SdkV2) GetComplexFieldTypes added in v1.65.0

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

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

func (*CustomPolicyTag_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*CustomPolicyTag_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

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

func (CustomPolicyTag_SdkV2) Type added in v1.65.0

Type implements basetypes.ObjectValuable.

type DataPlaneEventDetails

type DataPlaneEventDetails struct {
	EventType types.String `tfsdk:"event_type"`

	ExecutorFailures types.Int64 `tfsdk:"executor_failures"`

	HostId types.String `tfsdk:"host_id"`

	Timestamp types.Int64 `tfsdk:"timestamp"`
}

func (DataPlaneEventDetails) ApplySchemaCustomizations added in v1.63.0

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

func (DataPlaneEventDetails) GetComplexFieldTypes added in v1.61.0

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

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

func (*DataPlaneEventDetails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DataPlaneEventDetails) SyncFieldsDuringRead added in v1.86.0

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

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

func (DataPlaneEventDetails) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DataPlaneEventDetails_SdkV2 added in v1.62.1

type DataPlaneEventDetails_SdkV2 struct {
	EventType types.String `tfsdk:"event_type"`

	ExecutorFailures types.Int64 `tfsdk:"executor_failures"`

	HostId types.String `tfsdk:"host_id"`

	Timestamp types.Int64 `tfsdk:"timestamp"`
}

func (DataPlaneEventDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DataPlaneEventDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DataPlaneEventDetails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DataPlaneEventDetails_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DataPlaneEventDetails_SdkV2) ToObjectValue added in v1.62.1

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

func (DataPlaneEventDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DbfsStorageInfo

type DbfsStorageInfo struct {
	// dbfs destination, e.g. `dbfs:/my/path`
	Destination types.String `tfsdk:"destination"`
}

A storage location in DBFS

func (DbfsStorageInfo) ApplySchemaCustomizations added in v1.63.0

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

func (DbfsStorageInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*DbfsStorageInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DbfsStorageInfo) SyncFieldsDuringRead added in v1.86.0

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

func (DbfsStorageInfo) ToObjectValue added in v1.61.0

func (m DbfsStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DbfsStorageInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DbfsStorageInfo_SdkV2 added in v1.62.1

type DbfsStorageInfo_SdkV2 struct {
	// dbfs destination, e.g. `dbfs:/my/path`
	Destination types.String `tfsdk:"destination"`
}

A storage location in DBFS

func (DbfsStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DbfsStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DbfsStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DbfsStorageInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DbfsStorageInfo_SdkV2) ToObjectValue added in v1.62.1

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

func (DbfsStorageInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteCluster

type DeleteCluster struct {
	// The cluster to be terminated.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (DeleteCluster) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteCluster) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeleteCluster) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteCluster) ToObjectValue added in v1.61.0

func (m DeleteCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DeleteCluster) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DeleteClusterResponse

type DeleteClusterResponse struct {
}

func (DeleteClusterResponse) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteClusterResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteClusterResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (DeleteClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteClusterResponse_SdkV2 added in v1.62.1

type DeleteClusterResponse_SdkV2 struct {
}

func (DeleteClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeleteClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DeleteClusterResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteCluster_SdkV2 added in v1.62.1

type DeleteCluster_SdkV2 struct {
	// The cluster to be terminated.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (DeleteCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeleteCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeleteCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteCluster_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteGlobalInitScriptRequest

type DeleteGlobalInitScriptRequest struct {
	// The ID of the global init script.
	ScriptId types.String `tfsdk:"-"`
}

func (DeleteGlobalInitScriptRequest) ApplySchemaCustomizations added in v1.76.0

func (DeleteGlobalInitScriptRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteGlobalInitScriptRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeleteGlobalInitScriptRequest) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteGlobalInitScriptRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteGlobalInitScriptRequest_SdkV2 added in v1.62.1

type DeleteGlobalInitScriptRequest_SdkV2 struct {
	// The ID of the global init script.
	ScriptId types.String `tfsdk:"-"`
}

func (DeleteGlobalInitScriptRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (DeleteGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeleteGlobalInitScriptRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeleteGlobalInitScriptRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (DeleteGlobalInitScriptRequest_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteGlobalInitScriptRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteInstancePool

type DeleteInstancePool struct {
	// The instance pool to be terminated.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
}

func (DeleteInstancePool) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteInstancePool) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteInstancePool) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeleteInstancePool) SyncFieldsDuringRead added in v1.91.0

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

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

func (DeleteInstancePool) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteInstancePoolResponse

type DeleteInstancePoolResponse struct {
}

func (DeleteInstancePoolResponse) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteInstancePoolResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteInstancePoolResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteInstancePoolResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (DeleteInstancePoolResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteInstancePoolResponse_SdkV2 added in v1.62.1

type DeleteInstancePoolResponse_SdkV2 struct {
}

func (DeleteInstancePoolResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (DeleteInstancePoolResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeleteInstancePoolResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteInstancePoolResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (DeleteInstancePoolResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteInstancePoolResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteInstancePool_SdkV2 added in v1.62.1

type DeleteInstancePool_SdkV2 struct {
	// The instance pool to be terminated.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
}

func (DeleteInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DeleteInstancePool_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeleteInstancePool_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeleteInstancePool_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeleteInstancePool_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteInstancePool_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeletePolicy

type DeletePolicy struct {
	// The ID of the policy to delete.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (DeletePolicy) ApplySchemaCustomizations added in v1.63.0

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

func (DeletePolicy) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeletePolicy) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeletePolicy) SyncFieldsDuringRead added in v1.91.0

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

func (DeletePolicy) ToObjectValue added in v1.61.0

func (m DeletePolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DeletePolicy) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DeletePolicyResponse

type DeletePolicyResponse struct {
}

func (DeletePolicyResponse) ApplySchemaCustomizations added in v1.63.0

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

func (DeletePolicyResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeletePolicyResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeletePolicyResponse) SyncFieldsDuringRead added in v1.86.0

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

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

func (DeletePolicyResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeletePolicyResponse_SdkV2 added in v1.62.1

type DeletePolicyResponse_SdkV2 struct {
}

func (DeletePolicyResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DeletePolicyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeletePolicyResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeletePolicyResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DeletePolicyResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (DeletePolicyResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeletePolicy_SdkV2 added in v1.62.1

type DeletePolicy_SdkV2 struct {
	// The ID of the policy to delete.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (DeletePolicy_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DeletePolicy_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeletePolicy_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DeletePolicy_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DeletePolicy_SdkV2) ToObjectValue added in v1.62.1

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

func (DeletePolicy_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DeleteResponse

type DeleteResponse struct {
}

func (DeleteResponse) ApplySchemaCustomizations added in v1.71.0

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

func (DeleteResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteResponse) SyncFieldsDuringRead added in v1.86.0

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

func (DeleteResponse) ToObjectValue added in v1.61.0

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

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

func (DeleteResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DeleteResponse_SdkV2 added in v1.62.1

type DeleteResponse_SdkV2 struct {
}

func (DeleteResponse_SdkV2) ApplySchemaCustomizations added in v1.71.0

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

func (DeleteResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DeleteResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DeleteResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DeleteResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DestroyContext

type DestroyContext struct {
	ClusterId types.String `tfsdk:"cluster_id"`

	ContextId types.String `tfsdk:"context_id"`
}

func (DestroyContext) ApplySchemaCustomizations added in v1.63.0

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

func (DestroyContext) GetComplexFieldTypes added in v1.61.0

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

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

func (*DestroyContext) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DestroyContext) SyncFieldsDuringRead added in v1.91.0

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

func (DestroyContext) ToObjectValue added in v1.61.0

func (m DestroyContext) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DestroyContext) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DestroyContext_SdkV2 added in v1.62.1

type DestroyContext_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`

	ContextId types.String `tfsdk:"context_id"`
}

func (DestroyContext_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DestroyContext_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DestroyContext_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

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

func (*DestroyContext_SdkV2) SyncFieldsDuringRead added in v1.91.0

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

func (DestroyContext_SdkV2) ToObjectValue added in v1.62.1

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

func (DestroyContext_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DestroyResponse

type DestroyResponse struct {
}

func (DestroyResponse) ApplySchemaCustomizations added in v1.74.0

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

func (DestroyResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*DestroyResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DestroyResponse) SyncFieldsDuringRead added in v1.86.0

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

func (DestroyResponse) ToObjectValue added in v1.61.0

func (m DestroyResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DestroyResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DestroyResponse_SdkV2 added in v1.62.1

type DestroyResponse_SdkV2 struct {
}

func (DestroyResponse_SdkV2) ApplySchemaCustomizations added in v1.74.0

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

func (DestroyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DestroyResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DestroyResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DestroyResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (DestroyResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DiskSpec

type DiskSpec struct {
	// The number of disks launched for each instance: - This feature is only
	// enabled for supported node types. - Users can choose up to the limit of
	// the disks supported by the node type. - For node types with no OS disk,
	// at least one disk must be specified; otherwise, cluster creation will
	// fail.
	//
	// If disks are attached, Databricks will configure Spark to use only the
	// disks for scratch storage, because heterogenously sized scratch devices
	// can lead to inefficient disk utilization. If no disks are attached,
	// Databricks will configure Spark to use instance store disks.
	//
	// Note: If disks are specified, then the Spark configuration
	// `spark.local.dir` will be overridden.
	//
	// Disks will be mounted at: - For AWS: `/ebs0`, `/ebs1`, and etc. - For
	// Azure: `/remote_volume0`, `/remote_volume1`, and etc.
	DiskCount types.Int64 `tfsdk:"disk_count"`

	DiskIops types.Int64 `tfsdk:"disk_iops"`
	// The size of each disk (in GiB) launched for each instance. Values must
	// fall into the supported range for a particular instance type.
	//
	// For AWS: - General Purpose SSD: 100 - 4096 GiB - Throughput Optimized
	// HDD: 500 - 4096 GiB
	//
	// For Azure: - Premium LRS (SSD): 1 - 1023 GiB - Standard LRS (HDD): 1-
	// 1023 GiB
	DiskSize types.Int64 `tfsdk:"disk_size"`

	DiskThroughput types.Int64 `tfsdk:"disk_throughput"`
	// The type of disks that will be launched with this cluster.
	DiskType types.Object `tfsdk:"disk_type"`
}

Describes the disks that are launched for each instance in the spark cluster. For example, if the cluster has 3 instances, each instance is configured to launch 2 disks, 100 GiB each, then Databricks will launch a total of 6 disks, 100 GiB each, for this cluster.

func (DiskSpec) ApplySchemaCustomizations added in v1.63.0

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

func (DiskSpec) GetComplexFieldTypes added in v1.61.0

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

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

func (*DiskSpec) GetDiskType added in v1.61.0

func (m *DiskSpec) GetDiskType(ctx context.Context) (DiskType, bool)

GetDiskType returns the value of the DiskType field in DiskSpec as a DiskType value. If the field is unknown or null, the boolean return value is false.

func (*DiskSpec) SetDiskType added in v1.61.0

func (m *DiskSpec) SetDiskType(ctx context.Context, v DiskType)

SetDiskType sets the value of the DiskType field in DiskSpec.

func (*DiskSpec) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DiskSpec) SyncFieldsDuringRead added in v1.86.0

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

func (DiskSpec) ToObjectValue added in v1.61.0

func (m DiskSpec) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DiskSpec) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DiskSpec_SdkV2 added in v1.62.1

type DiskSpec_SdkV2 struct {
	// The number of disks launched for each instance: - This feature is only
	// enabled for supported node types. - Users can choose up to the limit of
	// the disks supported by the node type. - For node types with no OS disk,
	// at least one disk must be specified; otherwise, cluster creation will
	// fail.
	//
	// If disks are attached, Databricks will configure Spark to use only the
	// disks for scratch storage, because heterogenously sized scratch devices
	// can lead to inefficient disk utilization. If no disks are attached,
	// Databricks will configure Spark to use instance store disks.
	//
	// Note: If disks are specified, then the Spark configuration
	// `spark.local.dir` will be overridden.
	//
	// Disks will be mounted at: - For AWS: `/ebs0`, `/ebs1`, and etc. - For
	// Azure: `/remote_volume0`, `/remote_volume1`, and etc.
	DiskCount types.Int64 `tfsdk:"disk_count"`

	DiskIops types.Int64 `tfsdk:"disk_iops"`
	// The size of each disk (in GiB) launched for each instance. Values must
	// fall into the supported range for a particular instance type.
	//
	// For AWS: - General Purpose SSD: 100 - 4096 GiB - Throughput Optimized
	// HDD: 500 - 4096 GiB
	//
	// For Azure: - Premium LRS (SSD): 1 - 1023 GiB - Standard LRS (HDD): 1-
	// 1023 GiB
	DiskSize types.Int64 `tfsdk:"disk_size"`

	DiskThroughput types.Int64 `tfsdk:"disk_throughput"`
	// The type of disks that will be launched with this cluster.
	DiskType types.List `tfsdk:"disk_type"`
}

Describes the disks that are launched for each instance in the spark cluster. For example, if the cluster has 3 instances, each instance is configured to launch 2 disks, 100 GiB each, then Databricks will launch a total of 6 disks, 100 GiB each, for this cluster.

func (DiskSpec_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DiskSpec_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DiskSpec_SdkV2) GetDiskType added in v1.62.1

func (m *DiskSpec_SdkV2) GetDiskType(ctx context.Context) (DiskType_SdkV2, bool)

GetDiskType returns the value of the DiskType field in DiskSpec_SdkV2 as a DiskType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*DiskSpec_SdkV2) SetDiskType added in v1.62.1

func (m *DiskSpec_SdkV2) SetDiskType(ctx context.Context, v DiskType_SdkV2)

SetDiskType sets the value of the DiskType field in DiskSpec_SdkV2.

func (*DiskSpec_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DiskSpec_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DiskSpec_SdkV2) ToObjectValue added in v1.62.1

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

func (DiskSpec_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type DiskType

type DiskType struct {
	AzureDiskVolumeType types.String `tfsdk:"azure_disk_volume_type"`

	EbsVolumeType types.String `tfsdk:"ebs_volume_type"`
}

Describes the disk type.

func (DiskType) ApplySchemaCustomizations added in v1.63.0

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

func (DiskType) GetComplexFieldTypes added in v1.61.0

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

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

func (*DiskType) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DiskType) SyncFieldsDuringRead added in v1.86.0

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

func (DiskType) ToObjectValue added in v1.61.0

func (m DiskType) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DiskType) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DiskType_SdkV2 added in v1.62.1

type DiskType_SdkV2 struct {
	AzureDiskVolumeType types.String `tfsdk:"azure_disk_volume_type"`

	EbsVolumeType types.String `tfsdk:"ebs_volume_type"`
}

Describes the disk type.

func (DiskType_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DiskType_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DiskType_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DiskType_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DiskType_SdkV2) ToObjectValue added in v1.62.1

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

func (DiskType_SdkV2) Type added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type DockerBasicAuth

type DockerBasicAuth struct {
	// Password of the user
	Password types.String `tfsdk:"password"`
	// Name of the user
	Username types.String `tfsdk:"username"`
}

func (DockerBasicAuth) ApplySchemaCustomizations added in v1.63.0

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

func (DockerBasicAuth) GetComplexFieldTypes added in v1.61.0

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

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

func (*DockerBasicAuth) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DockerBasicAuth) SyncFieldsDuringRead added in v1.86.0

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

func (DockerBasicAuth) ToObjectValue added in v1.61.0

func (m DockerBasicAuth) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DockerBasicAuth) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DockerBasicAuth_SdkV2 added in v1.62.1

type DockerBasicAuth_SdkV2 struct {
	// Password of the user
	Password types.String `tfsdk:"password"`
	// Name of the user
	Username types.String `tfsdk:"username"`
}

func (DockerBasicAuth_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DockerBasicAuth_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DockerBasicAuth_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DockerBasicAuth_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DockerBasicAuth_SdkV2) ToObjectValue added in v1.62.1

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

func (DockerBasicAuth_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DockerImage

type DockerImage struct {
	// Basic auth with username and password
	BasicAuth types.Object `tfsdk:"basic_auth"`
	// URL of the docker image.
	Url types.String `tfsdk:"url"`
}

func (DockerImage) ApplySchemaCustomizations added in v1.63.0

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

func (*DockerImage) GetBasicAuth added in v1.61.0

func (m *DockerImage) GetBasicAuth(ctx context.Context) (DockerBasicAuth, bool)

GetBasicAuth returns the value of the BasicAuth field in DockerImage as a DockerBasicAuth value. If the field is unknown or null, the boolean return value is false.

func (DockerImage) GetComplexFieldTypes added in v1.61.0

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

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

func (*DockerImage) SetBasicAuth added in v1.61.0

func (m *DockerImage) SetBasicAuth(ctx context.Context, v DockerBasicAuth)

SetBasicAuth sets the value of the BasicAuth field in DockerImage.

func (*DockerImage) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DockerImage) SyncFieldsDuringRead added in v1.86.0

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

func (DockerImage) ToObjectValue added in v1.61.0

func (m DockerImage) ToObjectValue(ctx context.Context) basetypes.ObjectValue

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

func (DockerImage) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DockerImage_SdkV2 added in v1.62.1

type DockerImage_SdkV2 struct {
	// Basic auth with username and password
	BasicAuth types.List `tfsdk:"basic_auth"`
	// URL of the docker image.
	Url types.String `tfsdk:"url"`
}

func (DockerImage_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*DockerImage_SdkV2) GetBasicAuth added in v1.62.1

GetBasicAuth returns the value of the BasicAuth field in DockerImage_SdkV2 as a DockerBasicAuth_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (DockerImage_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*DockerImage_SdkV2) SetBasicAuth added in v1.62.1

func (m *DockerImage_SdkV2) SetBasicAuth(ctx context.Context, v DockerBasicAuth_SdkV2)

SetBasicAuth sets the value of the BasicAuth field in DockerImage_SdkV2.

func (*DockerImage_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

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

func (*DockerImage_SdkV2) SyncFieldsDuringRead added in v1.86.0

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

func (DockerImage_SdkV2) ToObjectValue added in v1.62.1

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

func (DockerImage_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditCluster

type EditCluster struct {
	// When set to true, fixed and default values from the policy will be used
	// for fields that are omitted. When set to false, only fixed values from
	// the policy will be applied.
	ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"`
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// ID of the cluster
	ClusterId types.String `tfsdk:"cluster_id"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

func (EditCluster) ApplySchemaCustomizations added in v1.63.0

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

func (*EditCluster) GetAutoscale added in v1.61.0

func (m *EditCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in EditCluster as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetAwsAttributes added in v1.61.0

func (m *EditCluster) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in EditCluster as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetAzureAttributes added in v1.61.0

func (m *EditCluster) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in EditCluster as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetClusterLogConf added in v1.61.0

func (m *EditCluster) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in EditCluster as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (EditCluster) GetComplexFieldTypes added in v1.61.0

func (m EditCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditCluster) GetCustomTags added in v1.61.0

func (m *EditCluster) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in EditCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetDockerImage added in v1.61.0

func (m *EditCluster) GetDockerImage(ctx context.Context) (DockerImage, bool)

GetDockerImage returns the value of the DockerImage field in EditCluster as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *EditCluster) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in EditCluster as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetGcpAttributes added in v1.61.0

func (m *EditCluster) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in EditCluster as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetInitScripts added in v1.61.0

func (m *EditCluster) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)

GetInitScripts returns the value of the InitScripts field in EditCluster as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetSparkConf added in v1.61.0

func (m *EditCluster) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in EditCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetSparkEnvVars added in v1.61.0

func (m *EditCluster) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in EditCluster as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetSshPublicKeys added in v1.61.0

func (m *EditCluster) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in EditCluster as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *EditCluster) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in EditCluster as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) GetWorkloadType added in v1.61.0

func (m *EditCluster) GetWorkloadType(ctx context.Context) (WorkloadType, bool)

GetWorkloadType returns the value of the WorkloadType field in EditCluster as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster) SetAutoscale added in v1.61.0

func (m *EditCluster) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in EditCluster.

func (*EditCluster) SetAwsAttributes added in v1.61.0

func (m *EditCluster) SetAwsAttributes(ctx context.Context, v AwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in EditCluster.

func (*EditCluster) SetAzureAttributes added in v1.61.0

func (m *EditCluster) SetAzureAttributes(ctx context.Context, v AzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in EditCluster.

func (*EditCluster) SetClusterLogConf added in v1.61.0

func (m *EditCluster) SetClusterLogConf(ctx context.Context, v ClusterLogConf)

SetClusterLogConf sets the value of the ClusterLogConf field in EditCluster.

func (*EditCluster) SetCustomTags added in v1.61.0

func (m *EditCluster) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in EditCluster.

func (*EditCluster) SetDockerImage added in v1.61.0

func (m *EditCluster) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in EditCluster.

func (*EditCluster) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *EditCluster) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in EditCluster.

func (*EditCluster) SetGcpAttributes added in v1.61.0

func (m *EditCluster) SetGcpAttributes(ctx context.Context, v GcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in EditCluster.

func (*EditCluster) SetInitScripts added in v1.61.0

func (m *EditCluster) SetInitScripts(ctx context.Context, v []InitScriptInfo)

SetInitScripts sets the value of the InitScripts field in EditCluster.

func (*EditCluster) SetSparkConf added in v1.61.0

func (m *EditCluster) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in EditCluster.

func (*EditCluster) SetSparkEnvVars added in v1.61.0

func (m *EditCluster) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in EditCluster.

func (*EditCluster) SetSshPublicKeys added in v1.61.0

func (m *EditCluster) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in EditCluster.

func (*EditCluster) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *EditCluster) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in EditCluster.

func (*EditCluster) SetWorkloadType added in v1.61.0

func (m *EditCluster) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in EditCluster.

func (*EditCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EditCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditCluster)

func (*EditCluster) SyncFieldsDuringRead added in v1.91.0

func (to *EditCluster) SyncFieldsDuringRead(ctx context.Context, from EditCluster)

func (EditCluster) ToObjectValue added in v1.61.0

func (m EditCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditCluster only implements ToObjectValue() and Type().

func (EditCluster) Type added in v1.61.0

func (m EditCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EditClusterResponse

type EditClusterResponse struct {
}

func (EditClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m EditClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m EditClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditClusterResponse)

func (*EditClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *EditClusterResponse) SyncFieldsDuringRead(ctx context.Context, from EditClusterResponse)

func (EditClusterResponse) 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, EditClusterResponse only implements ToObjectValue() and Type().

func (EditClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EditClusterResponse_SdkV2 added in v1.62.1

type EditClusterResponse_SdkV2 struct {
}

func (EditClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EditClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditClusterResponse_SdkV2)

func (*EditClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EditClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EditClusterResponse_SdkV2)

func (EditClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (EditClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditCluster_SdkV2 added in v1.62.1

type EditCluster_SdkV2 struct {
	// When set to true, fixed and default values from the policy will be used
	// for fields that are omitted. When set to false, only fixed values from
	// the policy will be applied.
	ApplyPolicyDefaultValues types.Bool `tfsdk:"apply_policy_default_values"`
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// ID of the cluster
	ClusterId types.String `tfsdk:"cluster_id"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

func (EditCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EditCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EditCluster_SdkV2) GetAutoscale added in v1.62.1

func (m *EditCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)

GetAutoscale returns the value of the Autoscale field in EditCluster_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetAwsAttributes added in v1.62.1

func (m *EditCluster_SdkV2) GetAwsAttributes(ctx context.Context) (AwsAttributes_SdkV2, bool)

GetAwsAttributes returns the value of the AwsAttributes field in EditCluster_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetAzureAttributes added in v1.62.1

func (m *EditCluster_SdkV2) GetAzureAttributes(ctx context.Context) (AzureAttributes_SdkV2, bool)

GetAzureAttributes returns the value of the AzureAttributes field in EditCluster_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetClusterLogConf added in v1.62.1

func (m *EditCluster_SdkV2) GetClusterLogConf(ctx context.Context) (ClusterLogConf_SdkV2, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in EditCluster_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EditCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditCluster_SdkV2) GetCustomTags added in v1.62.1

func (m *EditCluster_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in EditCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetDockerImage added in v1.62.1

func (m *EditCluster_SdkV2) GetDockerImage(ctx context.Context) (DockerImage_SdkV2, bool)

GetDockerImage returns the value of the DockerImage field in EditCluster_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *EditCluster_SdkV2) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in EditCluster_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetGcpAttributes added in v1.62.1

func (m *EditCluster_SdkV2) GetGcpAttributes(ctx context.Context) (GcpAttributes_SdkV2, bool)

GetGcpAttributes returns the value of the GcpAttributes field in EditCluster_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetInitScripts added in v1.62.1

func (m *EditCluster_SdkV2) GetInitScripts(ctx context.Context) ([]InitScriptInfo_SdkV2, bool)

GetInitScripts returns the value of the InitScripts field in EditCluster_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetSparkConf added in v1.62.1

func (m *EditCluster_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in EditCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetSparkEnvVars added in v1.62.1

func (m *EditCluster_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in EditCluster_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetSshPublicKeys added in v1.62.1

func (m *EditCluster_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in EditCluster_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *EditCluster_SdkV2) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in EditCluster_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) GetWorkloadType added in v1.62.1

func (m *EditCluster_SdkV2) GetWorkloadType(ctx context.Context) (WorkloadType_SdkV2, bool)

GetWorkloadType returns the value of the WorkloadType field in EditCluster_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EditCluster_SdkV2) SetAutoscale added in v1.62.1

func (m *EditCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetAwsAttributes added in v1.62.1

func (m *EditCluster_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)

SetAwsAttributes sets the value of the AwsAttributes field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetAzureAttributes added in v1.62.1

func (m *EditCluster_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)

SetAzureAttributes sets the value of the AzureAttributes field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetClusterLogConf added in v1.62.1

func (m *EditCluster_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)

SetClusterLogConf sets the value of the ClusterLogConf field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetCustomTags added in v1.62.1

func (m *EditCluster_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetDockerImage added in v1.62.1

func (m *EditCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *EditCluster_SdkV2) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetGcpAttributes added in v1.62.1

func (m *EditCluster_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)

SetGcpAttributes sets the value of the GcpAttributes field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetInitScripts added in v1.62.1

func (m *EditCluster_SdkV2) SetInitScripts(ctx context.Context, v []InitScriptInfo_SdkV2)

SetInitScripts sets the value of the InitScripts field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetSparkConf added in v1.62.1

func (m *EditCluster_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetSparkEnvVars added in v1.62.1

func (m *EditCluster_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetSshPublicKeys added in v1.62.1

func (m *EditCluster_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *EditCluster_SdkV2) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetWorkloadType added in v1.62.1

func (m *EditCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EditCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditCluster_SdkV2)

func (*EditCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *EditCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EditCluster_SdkV2)

func (EditCluster_SdkV2) ToObjectValue added in v1.62.1

func (m EditCluster_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, EditCluster_SdkV2 only implements ToObjectValue() and Type().

func (EditCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditInstancePool

type EditInstancePool struct {
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Instance pool ID
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (EditInstancePool) ApplySchemaCustomizations added in v1.63.0

func (m EditInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditInstancePool) GetComplexFieldTypes added in v1.61.0

func (m EditInstancePool) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditInstancePool) GetCustomTags added in v1.61.0

func (m *EditInstancePool) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in EditInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditInstancePool) SetCustomTags added in v1.61.0

func (m *EditInstancePool) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in EditInstancePool.

func (*EditInstancePool) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EditInstancePool) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditInstancePool)

func (*EditInstancePool) SyncFieldsDuringRead added in v1.91.0

func (to *EditInstancePool) SyncFieldsDuringRead(ctx context.Context, from EditInstancePool)

func (EditInstancePool) ToObjectValue added in v1.61.0

func (m EditInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePool only implements ToObjectValue() and Type().

func (EditInstancePool) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EditInstancePoolResponse

type EditInstancePoolResponse struct {
}

func (EditInstancePoolResponse) ApplySchemaCustomizations added in v1.63.0

func (m EditInstancePoolResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditInstancePoolResponse) GetComplexFieldTypes added in v1.61.0

func (m EditInstancePoolResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditInstancePoolResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditInstancePoolResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditInstancePoolResponse)

func (*EditInstancePoolResponse) SyncFieldsDuringRead added in v1.86.0

func (to *EditInstancePoolResponse) SyncFieldsDuringRead(ctx context.Context, from EditInstancePoolResponse)

func (EditInstancePoolResponse) 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, EditInstancePoolResponse only implements ToObjectValue() and Type().

func (EditInstancePoolResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EditInstancePoolResponse_SdkV2 added in v1.62.1

type EditInstancePoolResponse_SdkV2 struct {
}

func (EditInstancePoolResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (EditInstancePoolResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditInstancePoolResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePoolResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditInstancePoolResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditInstancePoolResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditInstancePoolResponse_SdkV2)

func (*EditInstancePoolResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (EditInstancePoolResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePoolResponse_SdkV2 only implements ToObjectValue() and Type().

func (EditInstancePoolResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditInstancePool_SdkV2 added in v1.62.1

type EditInstancePool_SdkV2 struct {
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Instance pool ID
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (EditInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EditInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditInstancePool_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditInstancePool_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditInstancePool_SdkV2) GetCustomTags added in v1.62.1

func (m *EditInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in EditInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EditInstancePool_SdkV2) SetCustomTags added in v1.62.1

func (m *EditInstancePool_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in EditInstancePool_SdkV2.

func (*EditInstancePool_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EditInstancePool_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditInstancePool_SdkV2)

func (*EditInstancePool_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *EditInstancePool_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EditInstancePool_SdkV2)

func (EditInstancePool_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditInstancePool_SdkV2 only implements ToObjectValue() and Type().

func (EditInstancePool_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditPolicy

type EditPolicy struct {
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Additional human-readable description of the cluster policy.
	Description types.String `tfsdk:"description"`
	// A list of libraries to be installed on the next cluster restart that uses
	// this policy. The maximum number of libraries is 500.
	Libraries types.List `tfsdk:"libraries"`
	// Max number of clusters per user that can be active using this policy. If
	// not present, there is no max limit.
	MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"`
	// Cluster Policy name requested by the user. This has to be unique. Length
	// must be between 1 and 100 characters.
	Name types.String `tfsdk:"name"`
	// Policy definition JSON document expressed in [Databricks Policy
	// Definition Language]. The JSON document must be passed as a string and
	// cannot be embedded in the requests.
	//
	// You can use this to customize the policy definition inherited from the
	// policy family. Policy rules specified here are merged into the inherited
	// policy definition.
	//
	// [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"`
	// ID of the policy family. The cluster policy's policy definition inherits
	// the policy family's policy definition.
	//
	// Cannot be used with `definition`. Use
	// `policy_family_definition_overrides` instead to customize the policy
	// definition.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
	// The ID of the policy to update.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (EditPolicy) ApplySchemaCustomizations added in v1.63.0

func (m EditPolicy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditPolicy) GetComplexFieldTypes added in v1.61.0

func (m EditPolicy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditPolicy) GetLibraries added in v1.61.0

func (m *EditPolicy) GetLibraries(ctx context.Context) ([]Library, bool)

GetLibraries returns the value of the Libraries field in EditPolicy as a slice of Library values. If the field is unknown or null, the boolean return value is false.

func (*EditPolicy) SetLibraries added in v1.61.0

func (m *EditPolicy) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in EditPolicy.

func (*EditPolicy) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EditPolicy) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditPolicy)

func (*EditPolicy) SyncFieldsDuringRead added in v1.91.0

func (to *EditPolicy) SyncFieldsDuringRead(ctx context.Context, from EditPolicy)

func (EditPolicy) ToObjectValue added in v1.61.0

func (m EditPolicy) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditPolicy only implements ToObjectValue() and Type().

func (EditPolicy) Type added in v1.61.0

func (m EditPolicy) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EditPolicyResponse

type EditPolicyResponse struct {
}

func (EditPolicyResponse) ApplySchemaCustomizations added in v1.63.0

func (m EditPolicyResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditPolicyResponse) GetComplexFieldTypes added in v1.61.0

func (m EditPolicyResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditPolicyResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditPolicyResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditPolicyResponse)

func (*EditPolicyResponse) SyncFieldsDuringRead added in v1.86.0

func (to *EditPolicyResponse) SyncFieldsDuringRead(ctx context.Context, from EditPolicyResponse)

func (EditPolicyResponse) 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, EditPolicyResponse only implements ToObjectValue() and Type().

func (EditPolicyResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EditPolicyResponse_SdkV2 added in v1.62.1

type EditPolicyResponse_SdkV2 struct {
}

func (EditPolicyResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EditPolicyResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditPolicyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditPolicyResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicyResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditPolicyResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditPolicyResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditPolicyResponse_SdkV2)

func (*EditPolicyResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EditPolicyResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EditPolicyResponse_SdkV2)

func (EditPolicyResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditPolicyResponse_SdkV2 only implements ToObjectValue() and Type().

func (EditPolicyResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditPolicy_SdkV2 added in v1.62.1

type EditPolicy_SdkV2 struct {
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Additional human-readable description of the cluster policy.
	Description types.String `tfsdk:"description"`
	// A list of libraries to be installed on the next cluster restart that uses
	// this policy. The maximum number of libraries is 500.
	Libraries types.List `tfsdk:"libraries"`
	// Max number of clusters per user that can be active using this policy. If
	// not present, there is no max limit.
	MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"`
	// Cluster Policy name requested by the user. This has to be unique. Length
	// must be between 1 and 100 characters.
	Name types.String `tfsdk:"name"`
	// Policy definition JSON document expressed in [Databricks Policy
	// Definition Language]. The JSON document must be passed as a string and
	// cannot be embedded in the requests.
	//
	// You can use this to customize the policy definition inherited from the
	// policy family. Policy rules specified here are merged into the inherited
	// policy definition.
	//
	// [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"`
	// ID of the policy family. The cluster policy's policy definition inherits
	// the policy family's policy definition.
	//
	// Cannot be used with `definition`. Use
	// `policy_family_definition_overrides` instead to customize the policy
	// definition.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
	// The ID of the policy to update.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (EditPolicy_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EditPolicy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditPolicy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditPolicy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditPolicy_SdkV2) GetLibraries added in v1.62.1

func (m *EditPolicy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)

GetLibraries returns the value of the Libraries field in EditPolicy_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EditPolicy_SdkV2) SetLibraries added in v1.62.1

func (m *EditPolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in EditPolicy_SdkV2.

func (*EditPolicy_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EditPolicy_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditPolicy_SdkV2)

func (*EditPolicy_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *EditPolicy_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EditPolicy_SdkV2)

func (EditPolicy_SdkV2) ToObjectValue added in v1.62.1

func (m EditPolicy_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, EditPolicy_SdkV2 only implements ToObjectValue() and Type().

func (EditPolicy_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EditResponse

type EditResponse struct {
}

func (EditResponse) ApplySchemaCustomizations added in v1.76.0

func (m EditResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditResponse) GetComplexFieldTypes added in v1.61.0

func (m EditResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditResponse)

func (*EditResponse) SyncFieldsDuringRead added in v1.86.0

func (to *EditResponse) SyncFieldsDuringRead(ctx context.Context, from EditResponse)

func (EditResponse) ToObjectValue added in v1.61.0

func (m EditResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditResponse only implements ToObjectValue() and Type().

func (EditResponse) Type added in v1.61.0

func (m EditResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EditResponse_SdkV2 added in v1.62.1

type EditResponse_SdkV2 struct {
}

func (EditResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m EditResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (EditResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EditResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EditResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EditResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EditResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EditResponse_SdkV2)

func (*EditResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EditResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EditResponse_SdkV2)

func (EditResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EditResponse_SdkV2 only implements ToObjectValue() and Type().

func (EditResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EnforceClusterComplianceRequest

type EnforceClusterComplianceRequest struct {
	// The ID of the cluster you want to enforce policy compliance on.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Determines how changes should be made to clusters that are not in
	// `TERMINATED` state.
	//
	// - `ENFORCE_IMMEDIATELY`: If the cluster is in a `RUNNING` state, it will
	// be restarted so that the new attributes can take effect. For other states
	// aside from `TERMINATED` state, the request will be rejected. -
	// `WAIT_FOR_TERMINATION`: The cluster is not immediately edited. Instead, a
	// pending enforcement is scheduled to update the cluster when it terminates
	// or restarts. When this occurs, `enforce_result` will contain `DEFERRED`.
	// Only workspace admins can use this mode.
	//
	// Regardless of the enforce mode, clusters in `TERMINATED` state are
	// immediately edited.
	EnforceMode types.String `tfsdk:"enforce_mode"`
	// If set, previews the changes that would be made to a cluster to enforce
	// compliance but does not update the cluster.
	ValidateOnly types.Bool `tfsdk:"validate_only"`
}

func (EnforceClusterComplianceRequest) ApplySchemaCustomizations added in v1.63.0

func (EnforceClusterComplianceRequest) GetComplexFieldTypes added in v1.61.0

func (m EnforceClusterComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EnforceClusterComplianceRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *EnforceClusterComplianceRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EnforceClusterComplianceRequest)

func (*EnforceClusterComplianceRequest) SyncFieldsDuringRead added in v1.91.0

func (EnforceClusterComplianceRequest) 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, EnforceClusterComplianceRequest only implements ToObjectValue() and Type().

func (EnforceClusterComplianceRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EnforceClusterComplianceRequest_SdkV2 added in v1.62.1

type EnforceClusterComplianceRequest_SdkV2 struct {
	// The ID of the cluster you want to enforce policy compliance on.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Determines how changes should be made to clusters that are not in
	// `TERMINATED` state.
	//
	// - `ENFORCE_IMMEDIATELY`: If the cluster is in a `RUNNING` state, it will
	// be restarted so that the new attributes can take effect. For other states
	// aside from `TERMINATED` state, the request will be rejected. -
	// `WAIT_FOR_TERMINATION`: The cluster is not immediately edited. Instead, a
	// pending enforcement is scheduled to update the cluster when it terminates
	// or restarts. When this occurs, `enforce_result` will contain `DEFERRED`.
	// Only workspace admins can use this mode.
	//
	// Regardless of the enforce mode, clusters in `TERMINATED` state are
	// immediately edited.
	EnforceMode types.String `tfsdk:"enforce_mode"`
	// If set, previews the changes that would be made to a cluster to enforce
	// compliance but does not update the cluster.
	ValidateOnly types.Bool `tfsdk:"validate_only"`
}

func (EnforceClusterComplianceRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (EnforceClusterComplianceRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EnforceClusterComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EnforceClusterComplianceRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*EnforceClusterComplianceRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (EnforceClusterComplianceRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforceClusterComplianceRequest_SdkV2 only implements ToObjectValue() and Type().

func (EnforceClusterComplianceRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EnforceClusterComplianceResponse

type EnforceClusterComplianceResponse struct {
	// A list of changes that have been made to the cluster settings for the
	// cluster to become compliant with its policy.
	Changes types.List `tfsdk:"changes"`
	// Describes whether changes have been applied to the cluster.
	EnforceResult types.String `tfsdk:"enforce_result"`
	// Whether any changes have been made to the cluster settings for the
	// cluster to become compliant with its policy.
	HasChanges types.Bool `tfsdk:"has_changes"`
}

func (EnforceClusterComplianceResponse) ApplySchemaCustomizations added in v1.63.0

func (*EnforceClusterComplianceResponse) GetChanges added in v1.61.0

GetChanges returns the value of the Changes field in EnforceClusterComplianceResponse as a slice of ClusterSettingsChange values. If the field is unknown or null, the boolean return value is false.

func (EnforceClusterComplianceResponse) GetComplexFieldTypes added in v1.61.0

func (m EnforceClusterComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EnforceClusterComplianceResponse) SetChanges added in v1.61.0

SetChanges sets the value of the Changes field in EnforceClusterComplianceResponse.

func (*EnforceClusterComplianceResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EnforceClusterComplianceResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EnforceClusterComplianceResponse)

func (*EnforceClusterComplianceResponse) SyncFieldsDuringRead added in v1.86.0

func (EnforceClusterComplianceResponse) 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, EnforceClusterComplianceResponse only implements ToObjectValue() and Type().

func (EnforceClusterComplianceResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type EnforceClusterComplianceResponse_SdkV2 added in v1.62.1

type EnforceClusterComplianceResponse_SdkV2 struct {
	// A list of changes that have been made to the cluster settings for the
	// cluster to become compliant with its policy.
	Changes types.List `tfsdk:"changes"`
	// Describes whether changes have been applied to the cluster.
	EnforceResult types.String `tfsdk:"enforce_result"`
	// Whether any changes have been made to the cluster settings for the
	// cluster to become compliant with its policy.
	HasChanges types.Bool `tfsdk:"has_changes"`
}

func (EnforceClusterComplianceResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*EnforceClusterComplianceResponse_SdkV2) GetChanges added in v1.62.1

GetChanges returns the value of the Changes field in EnforceClusterComplianceResponse_SdkV2 as a slice of ClusterSettingsChange_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (EnforceClusterComplianceResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EnforceClusterComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EnforceClusterComplianceResponse_SdkV2) SetChanges added in v1.62.1

SetChanges sets the value of the Changes field in EnforceClusterComplianceResponse_SdkV2.

func (*EnforceClusterComplianceResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*EnforceClusterComplianceResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (EnforceClusterComplianceResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EnforceClusterComplianceResponse_SdkV2 only implements ToObjectValue() and Type().

func (EnforceClusterComplianceResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EnforcePolicyComplianceForClusterResponseClusterSettings added in v1.120.0

type EnforcePolicyComplianceForClusterResponseClusterSettings struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

func (EnforcePolicyComplianceForClusterResponseClusterSettings) ApplySchemaCustomizations added in v1.120.0

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetAutoscale added in v1.120.0

GetAutoscale returns the value of the Autoscale field in EnforcePolicyComplianceForClusterResponseClusterSettings as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetAwsAttributes added in v1.120.0

GetAwsAttributes returns the value of the AwsAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetAzureAttributes added in v1.120.0

GetAzureAttributes returns the value of the AzureAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetClusterLogConf added in v1.120.0

GetClusterLogConf returns the value of the ClusterLogConf field in EnforcePolicyComplianceForClusterResponseClusterSettings as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (EnforcePolicyComplianceForClusterResponseClusterSettings) GetComplexFieldTypes added in v1.120.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceForClusterResponseClusterSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetCustomTags added in v1.120.0

GetCustomTags returns the value of the CustomTags field in EnforcePolicyComplianceForClusterResponseClusterSettings as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetDockerImage added in v1.120.0

GetDockerImage returns the value of the DockerImage field in EnforcePolicyComplianceForClusterResponseClusterSettings as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetDriverNodeTypeFlexibility added in v1.120.0

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetGcpAttributes added in v1.120.0

GetGcpAttributes returns the value of the GcpAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetInitScripts added in v1.120.0

GetInitScripts returns the value of the InitScripts field in EnforcePolicyComplianceForClusterResponseClusterSettings as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetSparkConf added in v1.120.0

GetSparkConf returns the value of the SparkConf field in EnforcePolicyComplianceForClusterResponseClusterSettings as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetSparkEnvVars added in v1.120.0

GetSparkEnvVars returns the value of the SparkEnvVars field in EnforcePolicyComplianceForClusterResponseClusterSettings as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetSshPublicKeys added in v1.120.0

GetSshPublicKeys returns the value of the SshPublicKeys field in EnforcePolicyComplianceForClusterResponseClusterSettings as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetWorkerNodeTypeFlexibility added in v1.120.0

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) GetWorkloadType added in v1.120.0

GetWorkloadType returns the value of the WorkloadType field in EnforcePolicyComplianceForClusterResponseClusterSettings as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetAutoscale added in v1.120.0

SetAutoscale sets the value of the Autoscale field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetAwsAttributes added in v1.120.0

SetAwsAttributes sets the value of the AwsAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetAzureAttributes added in v1.120.0

SetAzureAttributes sets the value of the AzureAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetClusterLogConf added in v1.120.0

SetClusterLogConf sets the value of the ClusterLogConf field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetCustomTags added in v1.120.0

SetCustomTags sets the value of the CustomTags field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetDockerImage added in v1.120.0

SetDockerImage sets the value of the DockerImage field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetDriverNodeTypeFlexibility added in v1.120.0

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetGcpAttributes added in v1.120.0

SetGcpAttributes sets the value of the GcpAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetInitScripts added in v1.120.0

SetInitScripts sets the value of the InitScripts field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetSparkConf added in v1.120.0

SetSparkConf sets the value of the SparkConf field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetSparkEnvVars added in v1.120.0

SetSparkEnvVars sets the value of the SparkEnvVars field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetSshPublicKeys added in v1.120.0

SetSshPublicKeys sets the value of the SshPublicKeys field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetWorkerNodeTypeFlexibility added in v1.120.0

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SetWorkloadType added in v1.120.0

SetWorkloadType sets the value of the WorkloadType field in EnforcePolicyComplianceForClusterResponseClusterSettings.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (*EnforcePolicyComplianceForClusterResponseClusterSettings) SyncFieldsDuringRead added in v1.120.0

func (EnforcePolicyComplianceForClusterResponseClusterSettings) ToObjectValue added in v1.120.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, EnforcePolicyComplianceForClusterResponseClusterSettings only implements ToObjectValue() and Type().

func (EnforcePolicyComplianceForClusterResponseClusterSettings) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 added in v1.120.0

type EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

func (EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetAutoscale added in v1.120.0

GetAutoscale returns the value of the Autoscale field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetAwsAttributes added in v1.120.0

GetAwsAttributes returns the value of the AwsAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetAzureAttributes added in v1.120.0

GetAzureAttributes returns the value of the AzureAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetClusterLogConf added in v1.120.0

GetClusterLogConf returns the value of the ClusterLogConf field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetComplexFieldTypes added in v1.120.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceForClusterResponseClusterSettings. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetCustomTags added in v1.120.0

GetCustomTags returns the value of the CustomTags field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetDockerImage added in v1.120.0

GetDockerImage returns the value of the DockerImage field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetDriverNodeTypeFlexibility added in v1.120.0

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetGcpAttributes added in v1.120.0

GetGcpAttributes returns the value of the GcpAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetInitScripts added in v1.120.0

GetInitScripts returns the value of the InitScripts field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetSparkConf added in v1.120.0

GetSparkConf returns the value of the SparkConf field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetSparkEnvVars added in v1.120.0

GetSparkEnvVars returns the value of the SparkEnvVars field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetSshPublicKeys added in v1.120.0

GetSshPublicKeys returns the value of the SshPublicKeys field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetWorkerNodeTypeFlexibility added in v1.120.0

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) GetWorkloadType added in v1.120.0

GetWorkloadType returns the value of the WorkloadType field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetAutoscale added in v1.120.0

SetAutoscale sets the value of the Autoscale field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetAwsAttributes added in v1.120.0

SetAwsAttributes sets the value of the AwsAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetAzureAttributes added in v1.120.0

SetAzureAttributes sets the value of the AzureAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetClusterLogConf added in v1.120.0

SetClusterLogConf sets the value of the ClusterLogConf field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetCustomTags added in v1.120.0

SetCustomTags sets the value of the CustomTags field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetDockerImage added in v1.120.0

SetDockerImage sets the value of the DockerImage field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetDriverNodeTypeFlexibility added in v1.120.0

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetGcpAttributes added in v1.120.0

SetGcpAttributes sets the value of the GcpAttributes field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetInitScripts added in v1.120.0

SetInitScripts sets the value of the InitScripts field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetSparkConf added in v1.120.0

SetSparkConf sets the value of the SparkConf field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetSparkEnvVars added in v1.120.0

SetSparkEnvVars sets the value of the SparkEnvVars field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetSshPublicKeys added in v1.120.0

SetSshPublicKeys sets the value of the SshPublicKeys field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetWorkerNodeTypeFlexibility added in v1.120.0

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SetWorkloadType added in v1.120.0

SetWorkloadType sets the value of the WorkloadType field in EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2.

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (*EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) ToObjectValue added in v1.120.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, EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 only implements ToObjectValue() and Type().

func (EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type Environment

type Environment struct {
	// The base environment this environment is built on top of. A base
	// environment defines the environment version and a list of dependencies
	// for serverless compute. The value can be a file path to a custom
	// `env.yaml` file (e.g., `/Workspace/path/to/env.yaml`). Support for a
	// Databricks-provided base environment ID (e.g.,
	// `workspace-base-environments/databricks_ai_v4`) and workspace base
	// environment ID (e.g.,
	// `workspace-base-environments/dbe_b849b66e-b31a-4cb5-b161-1f2b10877fb7`)
	// is in Beta. Either `environment_version` or `base_environment` can be
	// provided. For more information about Databricks-provided base
	// environments, see the [list workspace base
	// environments](:method:Environments/ListWorkspaceBaseEnvironments) API.
	// For more information, see
	BaseEnvironment types.String `tfsdk:"base_environment"`
	// Use `environment_version` instead.
	Client types.String `tfsdk:"client"`
	// List of pip dependencies, as supported by the version of pip in this
	// environment. Each dependency is a valid pip requirements file line per
	// https://pip.pypa.io/en/stable/reference/requirements-file-format/.
	// Allowed dependencies include a requirement specifier, an archive URL, a
	// local project path (such as WSFS or UC Volumes in Databricks), or a VCS
	// project URL.
	Dependencies types.List `tfsdk:"dependencies"`
	// Either `environment_version` or `base_environment` needs to be provided.
	// Environment version used by the environment. Each version comes with a
	// specific Python version and a set of Python packages. The version is a
	// string, consisting of an integer.
	EnvironmentVersion types.String `tfsdk:"environment_version"`
	// List of java dependencies. Each dependency is a string representing a
	// java library path. For example: `/Volumes/path/to/test.jar`.
	JavaDependencies types.List `tfsdk:"java_dependencies"`
}

The environment entity used to preserve serverless environment side panel, jobs' environment for non-notebook task, and SDP's environment for classic and serverless pipelines. In this minimal environment spec, only pip and java dependencies are supported.

func (Environment) ApplySchemaCustomizations added in v1.63.0

func (m Environment) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Environment) GetComplexFieldTypes added in v1.61.0

func (m Environment) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Environment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Environment) GetDependencies added in v1.61.0

func (m *Environment) GetDependencies(ctx context.Context) ([]types.String, bool)

GetDependencies returns the value of the Dependencies field in Environment as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Environment) GetJavaDependencies added in v1.91.0

func (m *Environment) GetJavaDependencies(ctx context.Context) ([]types.String, bool)

GetJavaDependencies returns the value of the JavaDependencies field in Environment as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Environment) SetDependencies added in v1.61.0

func (m *Environment) SetDependencies(ctx context.Context, v []types.String)

SetDependencies sets the value of the Dependencies field in Environment.

func (*Environment) SetJavaDependencies added in v1.91.0

func (m *Environment) SetJavaDependencies(ctx context.Context, v []types.String)

SetJavaDependencies sets the value of the JavaDependencies field in Environment.

func (*Environment) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Environment) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Environment)

func (*Environment) SyncFieldsDuringRead added in v1.86.0

func (to *Environment) SyncFieldsDuringRead(ctx context.Context, from Environment)

func (Environment) ToObjectValue added in v1.61.0

func (m Environment) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Environment only implements ToObjectValue() and Type().

func (Environment) Type added in v1.61.0

func (m Environment) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Environment_SdkV2 added in v1.62.1

type Environment_SdkV2 struct {
	// The base environment this environment is built on top of. A base
	// environment defines the environment version and a list of dependencies
	// for serverless compute. The value can be a file path to a custom
	// `env.yaml` file (e.g., `/Workspace/path/to/env.yaml`). Support for a
	// Databricks-provided base environment ID (e.g.,
	// `workspace-base-environments/databricks_ai_v4`) and workspace base
	// environment ID (e.g.,
	// `workspace-base-environments/dbe_b849b66e-b31a-4cb5-b161-1f2b10877fb7`)
	// is in Beta. Either `environment_version` or `base_environment` can be
	// provided. For more information about Databricks-provided base
	// environments, see the [list workspace base
	// environments](:method:Environments/ListWorkspaceBaseEnvironments) API.
	// For more information, see
	BaseEnvironment types.String `tfsdk:"base_environment"`
	// Use `environment_version` instead.
	Client types.String `tfsdk:"client"`
	// List of pip dependencies, as supported by the version of pip in this
	// environment. Each dependency is a valid pip requirements file line per
	// https://pip.pypa.io/en/stable/reference/requirements-file-format/.
	// Allowed dependencies include a requirement specifier, an archive URL, a
	// local project path (such as WSFS or UC Volumes in Databricks), or a VCS
	// project URL.
	Dependencies types.List `tfsdk:"dependencies"`
	// Either `environment_version` or `base_environment` needs to be provided.
	// Environment version used by the environment. Each version comes with a
	// specific Python version and a set of Python packages. The version is a
	// string, consisting of an integer.
	EnvironmentVersion types.String `tfsdk:"environment_version"`
	// List of java dependencies. Each dependency is a string representing a
	// java library path. For example: `/Volumes/path/to/test.jar`.
	JavaDependencies types.List `tfsdk:"java_dependencies"`
}

The environment entity used to preserve serverless environment side panel, jobs' environment for non-notebook task, and SDP's environment for classic and serverless pipelines. In this minimal environment spec, only pip and java dependencies are supported.

func (Environment_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Environment_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Environment_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Environment_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Environment. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Environment_SdkV2) GetDependencies added in v1.62.1

func (m *Environment_SdkV2) GetDependencies(ctx context.Context) ([]types.String, bool)

GetDependencies returns the value of the Dependencies field in Environment_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Environment_SdkV2) GetJavaDependencies added in v1.91.0

func (m *Environment_SdkV2) GetJavaDependencies(ctx context.Context) ([]types.String, bool)

GetJavaDependencies returns the value of the JavaDependencies field in Environment_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Environment_SdkV2) SetDependencies added in v1.62.1

func (m *Environment_SdkV2) SetDependencies(ctx context.Context, v []types.String)

SetDependencies sets the value of the Dependencies field in Environment_SdkV2.

func (*Environment_SdkV2) SetJavaDependencies added in v1.91.0

func (m *Environment_SdkV2) SetJavaDependencies(ctx context.Context, v []types.String)

SetJavaDependencies sets the value of the JavaDependencies field in Environment_SdkV2.

func (*Environment_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Environment_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Environment_SdkV2)

func (*Environment_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Environment_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Environment_SdkV2)

func (Environment_SdkV2) ToObjectValue added in v1.62.1

func (m Environment_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, Environment_SdkV2 only implements ToObjectValue() and Type().

func (Environment_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type EventDetails

type EventDetails struct {
	// * For created clusters, the attributes of the cluster. * For edited
	// clusters, the new attributes of the cluster.
	Attributes types.Object `tfsdk:"attributes"`
	// The cause of a change in target size.
	Cause types.String `tfsdk:"cause"`
	// The actual cluster size that was set in the cluster creation or edit.
	ClusterSize types.Object `tfsdk:"cluster_size"`
	// The current number of vCPUs in the cluster.
	CurrentNumVcpus types.Int64 `tfsdk:"current_num_vcpus"`
	// The current number of nodes in the cluster.
	CurrentNumWorkers types.Int64 `tfsdk:"current_num_workers"`

	DidNotExpandReason types.String `tfsdk:"did_not_expand_reason"`
	// Current disk size in bytes
	DiskSize types.Int64 `tfsdk:"disk_size"`
	// More details about the change in driver's state
	DriverStateMessage types.String `tfsdk:"driver_state_message"`
	// Whether or not a blocklisted node should be terminated. For
	// ClusterEventType NODE_BLACKLISTED.
	EnableTerminationForNodeBlocklisted types.Bool `tfsdk:"enable_termination_for_node_blocklisted"`

	FreeSpace types.Int64 `tfsdk:"free_space"`
	// List of global and cluster init scripts associated with this cluster
	// event.
	InitScripts types.Object `tfsdk:"init_scripts"`
	// Instance Id where the event originated from
	InstanceId types.String `tfsdk:"instance_id"`
	// Unique identifier of the specific job run associated with this cluster
	// event * For clusters created for jobs, this will be the same as the
	// cluster name
	JobRunName types.String `tfsdk:"job_run_name"`
	// The cluster attributes before a cluster was edited.
	PreviousAttributes types.Object `tfsdk:"previous_attributes"`
	// The size of the cluster before an edit or resize.
	PreviousClusterSize types.Object `tfsdk:"previous_cluster_size"`
	// Previous disk size in bytes
	PreviousDiskSize types.Int64 `tfsdk:"previous_disk_size"`
	// A termination reason: * On a TERMINATED event, this is the reason of the
	// termination. * On a RESIZE_COMPLETE event, this indicates the reason that
	// we failed to acquire some nodes.
	Reason types.Object `tfsdk:"reason"`
	// The targeted number of vCPUs in the cluster.
	TargetNumVcpus types.Int64 `tfsdk:"target_num_vcpus"`
	// The targeted number of nodes in the cluster.
	TargetNumWorkers types.Int64 `tfsdk:"target_num_workers"`
	// The user that caused the event to occur. (Empty if it was done by the
	// control plane.)
	User types.String `tfsdk:"user"`
}

func (EventDetails) ApplySchemaCustomizations added in v1.63.0

func (m EventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EventDetails) GetAttributes added in v1.61.0

func (m *EventDetails) GetAttributes(ctx context.Context) (ClusterAttributes, bool)

GetAttributes returns the value of the Attributes field in EventDetails as a ClusterAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails) GetClusterSize added in v1.61.0

func (m *EventDetails) GetClusterSize(ctx context.Context) (ClusterSize, bool)

GetClusterSize returns the value of the ClusterSize field in EventDetails as a ClusterSize value. If the field is unknown or null, the boolean return value is false.

func (EventDetails) GetComplexFieldTypes added in v1.61.0

func (m EventDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EventDetails) GetInitScripts added in v1.61.0

func (m *EventDetails) GetInitScripts(ctx context.Context) (InitScriptEventDetails, bool)

GetInitScripts returns the value of the InitScripts field in EventDetails as a InitScriptEventDetails value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails) GetPreviousAttributes added in v1.61.0

func (m *EventDetails) GetPreviousAttributes(ctx context.Context) (ClusterAttributes, bool)

GetPreviousAttributes returns the value of the PreviousAttributes field in EventDetails as a ClusterAttributes value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails) GetPreviousClusterSize added in v1.61.0

func (m *EventDetails) GetPreviousClusterSize(ctx context.Context) (ClusterSize, bool)

GetPreviousClusterSize returns the value of the PreviousClusterSize field in EventDetails as a ClusterSize value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails) GetReason added in v1.61.0

func (m *EventDetails) GetReason(ctx context.Context) (TerminationReason, bool)

GetReason returns the value of the Reason field in EventDetails as a TerminationReason value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails) SetAttributes added in v1.61.0

func (m *EventDetails) SetAttributes(ctx context.Context, v ClusterAttributes)

SetAttributes sets the value of the Attributes field in EventDetails.

func (*EventDetails) SetClusterSize added in v1.61.0

func (m *EventDetails) SetClusterSize(ctx context.Context, v ClusterSize)

SetClusterSize sets the value of the ClusterSize field in EventDetails.

func (*EventDetails) SetInitScripts added in v1.61.0

func (m *EventDetails) SetInitScripts(ctx context.Context, v InitScriptEventDetails)

SetInitScripts sets the value of the InitScripts field in EventDetails.

func (*EventDetails) SetPreviousAttributes added in v1.61.0

func (m *EventDetails) SetPreviousAttributes(ctx context.Context, v ClusterAttributes)

SetPreviousAttributes sets the value of the PreviousAttributes field in EventDetails.

func (*EventDetails) SetPreviousClusterSize added in v1.61.0

func (m *EventDetails) SetPreviousClusterSize(ctx context.Context, v ClusterSize)

SetPreviousClusterSize sets the value of the PreviousClusterSize field in EventDetails.

func (*EventDetails) SetReason added in v1.61.0

func (m *EventDetails) SetReason(ctx context.Context, v TerminationReason)

SetReason sets the value of the Reason field in EventDetails.

func (*EventDetails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EventDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EventDetails)

func (*EventDetails) SyncFieldsDuringRead added in v1.86.0

func (to *EventDetails) SyncFieldsDuringRead(ctx context.Context, from EventDetails)

func (EventDetails) ToObjectValue added in v1.61.0

func (m EventDetails) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EventDetails only implements ToObjectValue() and Type().

func (EventDetails) Type added in v1.61.0

func (m EventDetails) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type EventDetails_SdkV2 added in v1.62.1

type EventDetails_SdkV2 struct {
	// * For created clusters, the attributes of the cluster. * For edited
	// clusters, the new attributes of the cluster.
	Attributes types.List `tfsdk:"attributes"`
	// The cause of a change in target size.
	Cause types.String `tfsdk:"cause"`
	// The actual cluster size that was set in the cluster creation or edit.
	ClusterSize types.List `tfsdk:"cluster_size"`
	// The current number of vCPUs in the cluster.
	CurrentNumVcpus types.Int64 `tfsdk:"current_num_vcpus"`
	// The current number of nodes in the cluster.
	CurrentNumWorkers types.Int64 `tfsdk:"current_num_workers"`

	DidNotExpandReason types.String `tfsdk:"did_not_expand_reason"`
	// Current disk size in bytes
	DiskSize types.Int64 `tfsdk:"disk_size"`
	// More details about the change in driver's state
	DriverStateMessage types.String `tfsdk:"driver_state_message"`
	// Whether or not a blocklisted node should be terminated. For
	// ClusterEventType NODE_BLACKLISTED.
	EnableTerminationForNodeBlocklisted types.Bool `tfsdk:"enable_termination_for_node_blocklisted"`

	FreeSpace types.Int64 `tfsdk:"free_space"`
	// List of global and cluster init scripts associated with this cluster
	// event.
	InitScripts types.List `tfsdk:"init_scripts"`
	// Instance Id where the event originated from
	InstanceId types.String `tfsdk:"instance_id"`
	// Unique identifier of the specific job run associated with this cluster
	// event * For clusters created for jobs, this will be the same as the
	// cluster name
	JobRunName types.String `tfsdk:"job_run_name"`
	// The cluster attributes before a cluster was edited.
	PreviousAttributes types.List `tfsdk:"previous_attributes"`
	// The size of the cluster before an edit or resize.
	PreviousClusterSize types.List `tfsdk:"previous_cluster_size"`
	// Previous disk size in bytes
	PreviousDiskSize types.Int64 `tfsdk:"previous_disk_size"`
	// A termination reason: * On a TERMINATED event, this is the reason of the
	// termination. * On a RESIZE_COMPLETE event, this indicates the reason that
	// we failed to acquire some nodes.
	Reason types.List `tfsdk:"reason"`
	// The targeted number of vCPUs in the cluster.
	TargetNumVcpus types.Int64 `tfsdk:"target_num_vcpus"`
	// The targeted number of nodes in the cluster.
	TargetNumWorkers types.Int64 `tfsdk:"target_num_workers"`
	// The user that caused the event to occur. (Empty if it was done by the
	// control plane.)
	User types.String `tfsdk:"user"`
}

func (EventDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m EventDetails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EventDetails_SdkV2) GetAttributes added in v1.62.1

GetAttributes returns the value of the Attributes field in EventDetails_SdkV2 as a ClusterAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails_SdkV2) GetClusterSize added in v1.62.1

func (m *EventDetails_SdkV2) GetClusterSize(ctx context.Context) (ClusterSize_SdkV2, bool)

GetClusterSize returns the value of the ClusterSize field in EventDetails_SdkV2 as a ClusterSize_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (EventDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m EventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in EventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*EventDetails_SdkV2) GetInitScripts added in v1.62.1

GetInitScripts returns the value of the InitScripts field in EventDetails_SdkV2 as a InitScriptEventDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails_SdkV2) GetPreviousAttributes added in v1.62.1

func (m *EventDetails_SdkV2) GetPreviousAttributes(ctx context.Context) (ClusterAttributes_SdkV2, bool)

GetPreviousAttributes returns the value of the PreviousAttributes field in EventDetails_SdkV2 as a ClusterAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails_SdkV2) GetPreviousClusterSize added in v1.62.1

func (m *EventDetails_SdkV2) GetPreviousClusterSize(ctx context.Context) (ClusterSize_SdkV2, bool)

GetPreviousClusterSize returns the value of the PreviousClusterSize field in EventDetails_SdkV2 as a ClusterSize_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails_SdkV2) GetReason added in v1.62.1

GetReason returns the value of the Reason field in EventDetails_SdkV2 as a TerminationReason_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*EventDetails_SdkV2) SetAttributes added in v1.62.1

func (m *EventDetails_SdkV2) SetAttributes(ctx context.Context, v ClusterAttributes_SdkV2)

SetAttributes sets the value of the Attributes field in EventDetails_SdkV2.

func (*EventDetails_SdkV2) SetClusterSize added in v1.62.1

func (m *EventDetails_SdkV2) SetClusterSize(ctx context.Context, v ClusterSize_SdkV2)

SetClusterSize sets the value of the ClusterSize field in EventDetails_SdkV2.

func (*EventDetails_SdkV2) SetInitScripts added in v1.62.1

SetInitScripts sets the value of the InitScripts field in EventDetails_SdkV2.

func (*EventDetails_SdkV2) SetPreviousAttributes added in v1.62.1

func (m *EventDetails_SdkV2) SetPreviousAttributes(ctx context.Context, v ClusterAttributes_SdkV2)

SetPreviousAttributes sets the value of the PreviousAttributes field in EventDetails_SdkV2.

func (*EventDetails_SdkV2) SetPreviousClusterSize added in v1.62.1

func (m *EventDetails_SdkV2) SetPreviousClusterSize(ctx context.Context, v ClusterSize_SdkV2)

SetPreviousClusterSize sets the value of the PreviousClusterSize field in EventDetails_SdkV2.

func (*EventDetails_SdkV2) SetReason added in v1.62.1

SetReason sets the value of the Reason field in EventDetails_SdkV2.

func (*EventDetails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *EventDetails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from EventDetails_SdkV2)

func (*EventDetails_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *EventDetails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from EventDetails_SdkV2)

func (EventDetails_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, EventDetails_SdkV2 only implements ToObjectValue() and Type().

func (EventDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GcpAttributes

type GcpAttributes struct {
	// This field determines whether the spark executors will be scheduled to
	// run on preemptible VMs, on-demand VMs, or preemptible VMs with a fallback
	// to on-demand VMs if the former is unavailable.
	Availability types.String `tfsdk:"availability"`
	// Boot disk size in GB
	BootDiskSize types.Int64 `tfsdk:"boot_disk_size"`
	// The confidential computing technology for this cluster's instances.
	// Currently only SEV_SNP is supported, and only on N2D instance types. When
	// not set, no confidential computing is applied.
	ConfidentialComputeType types.String `tfsdk:"confidential_compute_type"`
	// The first `first_on_demand` nodes of the cluster will be placed on
	// on-demand instances. This value should be greater than 0, to make sure
	// the cluster driver node is placed on an on-demand instance. If this value
	// is greater than or equal to the current cluster size, all nodes will be
	// placed on on-demand instances. If this value is less than the current
	// cluster size, `first_on_demand` nodes will be placed on on-demand
	// instances and the remainder will be placed on `availability` instances.
	// Note that this value does not affect cluster size and cannot currently be
	// mutated over the lifetime of a cluster.
	FirstOnDemand types.Int64 `tfsdk:"first_on_demand"`
	// If provided, the cluster will impersonate the google service account when
	// accessing gcloud services (like GCS). The google service account must
	// have previously been added to the Databricks environment by an account
	// administrator.
	GoogleServiceAccount types.String `tfsdk:"google_service_account"`
	// If provided, each node (workers and driver) in the cluster will have this
	// number of local SSDs attached. Each local SSD is 375GB in size. Refer to
	// [GCP documentation] for the supported number of local SSDs for each
	// instance type.
	//
	// [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
	LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"`
	// This field determines whether the spark executors will be scheduled to
	// run on preemptible VMs (when set to true) versus standard compute engine
	// VMs (when set to false; default). Note: Soon to be deprecated, use the
	// 'availability' field instead.
	UsePreemptibleExecutors types.Bool `tfsdk:"use_preemptible_executors"`
	// Identifier for the availability zone in which the cluster resides. This
	// can be one of the following: - "HA" => High availability, spread nodes
	// across availability zones for a Databricks deployment region [default]. -
	// "AUTO" => Databricks picks an availability zone to schedule the cluster
	// on. - A GCP availability zone => Pick One of the available zones for
	// (machine type + region) from
	// https://cloud.google.com/compute/docs/regions-zones.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during cluster creation which are related to GCP.

func (GcpAttributes) ApplySchemaCustomizations added in v1.63.0

func (m GcpAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GcpAttributes) GetComplexFieldTypes added in v1.61.0

func (m GcpAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GcpAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GcpAttributes) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GcpAttributes)

func (*GcpAttributes) SyncFieldsDuringRead added in v1.86.0

func (to *GcpAttributes) SyncFieldsDuringRead(ctx context.Context, from GcpAttributes)

func (GcpAttributes) ToObjectValue added in v1.61.0

func (m GcpAttributes) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcpAttributes only implements ToObjectValue() and Type().

func (GcpAttributes) Type added in v1.61.0

func (m GcpAttributes) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GcpAttributes_SdkV2 added in v1.62.1

type GcpAttributes_SdkV2 struct {
	// This field determines whether the spark executors will be scheduled to
	// run on preemptible VMs, on-demand VMs, or preemptible VMs with a fallback
	// to on-demand VMs if the former is unavailable.
	Availability types.String `tfsdk:"availability"`
	// Boot disk size in GB
	BootDiskSize types.Int64 `tfsdk:"boot_disk_size"`
	// The confidential computing technology for this cluster's instances.
	// Currently only SEV_SNP is supported, and only on N2D instance types. When
	// not set, no confidential computing is applied.
	ConfidentialComputeType types.String `tfsdk:"confidential_compute_type"`
	// The first `first_on_demand` nodes of the cluster will be placed on
	// on-demand instances. This value should be greater than 0, to make sure
	// the cluster driver node is placed on an on-demand instance. If this value
	// is greater than or equal to the current cluster size, all nodes will be
	// placed on on-demand instances. If this value is less than the current
	// cluster size, `first_on_demand` nodes will be placed on on-demand
	// instances and the remainder will be placed on `availability` instances.
	// Note that this value does not affect cluster size and cannot currently be
	// mutated over the lifetime of a cluster.
	FirstOnDemand types.Int64 `tfsdk:"first_on_demand"`
	// If provided, the cluster will impersonate the google service account when
	// accessing gcloud services (like GCS). The google service account must
	// have previously been added to the Databricks environment by an account
	// administrator.
	GoogleServiceAccount types.String `tfsdk:"google_service_account"`
	// If provided, each node (workers and driver) in the cluster will have this
	// number of local SSDs attached. Each local SSD is 375GB in size. Refer to
	// [GCP documentation] for the supported number of local SSDs for each
	// instance type.
	//
	// [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
	LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"`
	// This field determines whether the spark executors will be scheduled to
	// run on preemptible VMs (when set to true) versus standard compute engine
	// VMs (when set to false; default). Note: Soon to be deprecated, use the
	// 'availability' field instead.
	UsePreemptibleExecutors types.Bool `tfsdk:"use_preemptible_executors"`
	// Identifier for the availability zone in which the cluster resides. This
	// can be one of the following: - "HA" => High availability, spread nodes
	// across availability zones for a Databricks deployment region [default]. -
	// "AUTO" => Databricks picks an availability zone to schedule the cluster
	// on. - A GCP availability zone => Pick One of the available zones for
	// (machine type + region) from
	// https://cloud.google.com/compute/docs/regions-zones.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during cluster creation which are related to GCP.

func (GcpAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m GcpAttributes_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GcpAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GcpAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GcpAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GcpAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GcpAttributes_SdkV2)

func (*GcpAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GcpAttributes_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GcpAttributes_SdkV2)

func (GcpAttributes_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcpAttributes_SdkV2 only implements ToObjectValue() and Type().

func (GcpAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GcsStorageInfo

type GcsStorageInfo struct {
	// GCS destination/URI, e.g. `gs://my-bucket/some-prefix`
	Destination types.String `tfsdk:"destination"`
}

A storage location in Google Cloud Platform's GCS

func (GcsStorageInfo) ApplySchemaCustomizations added in v1.63.0

func (m GcsStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GcsStorageInfo) GetComplexFieldTypes added in v1.61.0

func (m GcsStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GcsStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GcsStorageInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GcsStorageInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GcsStorageInfo)

func (*GcsStorageInfo) SyncFieldsDuringRead added in v1.86.0

func (to *GcsStorageInfo) SyncFieldsDuringRead(ctx context.Context, from GcsStorageInfo)

func (GcsStorageInfo) ToObjectValue added in v1.61.0

func (m GcsStorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcsStorageInfo only implements ToObjectValue() and Type().

func (GcsStorageInfo) Type added in v1.61.0

func (m GcsStorageInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GcsStorageInfo_SdkV2 added in v1.62.1

type GcsStorageInfo_SdkV2 struct {
	// GCS destination/URI, e.g. `gs://my-bucket/some-prefix`
	Destination types.String `tfsdk:"destination"`
}

A storage location in Google Cloud Platform's GCS

func (GcsStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m GcsStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GcsStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GcsStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GcsStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GcsStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GcsStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GcsStorageInfo_SdkV2)

func (*GcsStorageInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GcsStorageInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GcsStorageInfo_SdkV2)

func (GcsStorageInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GcsStorageInfo_SdkV2 only implements ToObjectValue() and Type().

func (GcsStorageInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterComplianceRequest

type GetClusterComplianceRequest struct {
	// The ID of the cluster to get the compliance status
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterComplianceRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetClusterComplianceRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetClusterComplianceRequest) GetComplexFieldTypes added in v1.61.0

func (m GetClusterComplianceRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterComplianceRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterComplianceRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterComplianceRequest)

func (*GetClusterComplianceRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetClusterComplianceRequest) SyncFieldsDuringRead(ctx context.Context, from GetClusterComplianceRequest)

func (GetClusterComplianceRequest) 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, GetClusterComplianceRequest only implements ToObjectValue() and Type().

func (GetClusterComplianceRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterComplianceRequest_SdkV2 added in v1.62.1

type GetClusterComplianceRequest_SdkV2 struct {
	// The ID of the cluster to get the compliance status
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterComplianceRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetClusterComplianceRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetClusterComplianceRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterComplianceRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterComplianceRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterComplianceRequest_SdkV2)

func (*GetClusterComplianceRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetClusterComplianceRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterComplianceRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterComplianceRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterComplianceResponse

type GetClusterComplianceResponse struct {
	// Whether the cluster is compliant with its policy or not. Clusters could
	// be out of compliance if the policy was updated after the cluster was last
	// edited.
	IsCompliant types.Bool `tfsdk:"is_compliant"`
	// Information about the pending enforcement for the cluster. Only present
	// if a pending enforcement is scheduled for the cluster.
	PendingEnforcement types.Object `tfsdk:"pending_enforcement"`
	// An object containing key-value mappings representing the first 200 policy
	// validation errors. The keys indicate the path where the policy validation
	// error is occurring. The values indicate an error message describing the
	// policy validation error.
	Violations types.Map `tfsdk:"violations"`
}

func (GetClusterComplianceResponse) ApplySchemaCustomizations added in v1.63.0

func (GetClusterComplianceResponse) GetComplexFieldTypes added in v1.61.0

func (m GetClusterComplianceResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterComplianceResponse) GetPendingEnforcement added in v1.120.0

func (m *GetClusterComplianceResponse) GetPendingEnforcement(ctx context.Context) (PendingEnforcement, bool)

GetPendingEnforcement returns the value of the PendingEnforcement field in GetClusterComplianceResponse as a PendingEnforcement value. If the field is unknown or null, the boolean return value is false.

func (*GetClusterComplianceResponse) GetViolations added in v1.61.0

func (m *GetClusterComplianceResponse) GetViolations(ctx context.Context) (map[string]types.String, bool)

GetViolations returns the value of the Violations field in GetClusterComplianceResponse as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetClusterComplianceResponse) SetPendingEnforcement added in v1.120.0

func (m *GetClusterComplianceResponse) SetPendingEnforcement(ctx context.Context, v PendingEnforcement)

SetPendingEnforcement sets the value of the PendingEnforcement field in GetClusterComplianceResponse.

func (*GetClusterComplianceResponse) SetViolations added in v1.61.0

func (m *GetClusterComplianceResponse) SetViolations(ctx context.Context, v map[string]types.String)

SetViolations sets the value of the Violations field in GetClusterComplianceResponse.

func (*GetClusterComplianceResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetClusterComplianceResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterComplianceResponse)

func (*GetClusterComplianceResponse) SyncFieldsDuringRead added in v1.86.0

func (to *GetClusterComplianceResponse) SyncFieldsDuringRead(ctx context.Context, from GetClusterComplianceResponse)

func (GetClusterComplianceResponse) 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, GetClusterComplianceResponse only implements ToObjectValue() and Type().

func (GetClusterComplianceResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterComplianceResponse_SdkV2 added in v1.62.1

type GetClusterComplianceResponse_SdkV2 struct {
	// Whether the cluster is compliant with its policy or not. Clusters could
	// be out of compliance if the policy was updated after the cluster was last
	// edited.
	IsCompliant types.Bool `tfsdk:"is_compliant"`
	// Information about the pending enforcement for the cluster. Only present
	// if a pending enforcement is scheduled for the cluster.
	PendingEnforcement types.List `tfsdk:"pending_enforcement"`
	// An object containing key-value mappings representing the first 200 policy
	// validation errors. The keys indicate the path where the policy validation
	// error is occurring. The values indicate an error message describing the
	// policy validation error.
	Violations types.Map `tfsdk:"violations"`
}

func (GetClusterComplianceResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetClusterComplianceResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetClusterComplianceResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterComplianceResponse_SdkV2) GetPendingEnforcement added in v1.120.0

GetPendingEnforcement returns the value of the PendingEnforcement field in GetClusterComplianceResponse_SdkV2 as a PendingEnforcement_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetClusterComplianceResponse_SdkV2) GetViolations added in v1.62.1

GetViolations returns the value of the Violations field in GetClusterComplianceResponse_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetClusterComplianceResponse_SdkV2) SetPendingEnforcement added in v1.120.0

SetPendingEnforcement sets the value of the PendingEnforcement field in GetClusterComplianceResponse_SdkV2.

func (*GetClusterComplianceResponse_SdkV2) SetViolations added in v1.62.1

SetViolations sets the value of the Violations field in GetClusterComplianceResponse_SdkV2.

func (*GetClusterComplianceResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetClusterComplianceResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterComplianceResponse_SdkV2)

func (*GetClusterComplianceResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetClusterComplianceResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterComplianceResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterComplianceResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPermissionLevelsRequest

type GetClusterPermissionLevelsRequest struct {
	// The cluster for which to get or manage permissions.
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterPermissionLevelsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetClusterPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPermissionLevelsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterPermissionLevelsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPermissionLevelsRequest)

func (*GetClusterPermissionLevelsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPermissionLevelsRequest) 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, GetClusterPermissionLevelsRequest only implements ToObjectValue() and Type().

func (GetClusterPermissionLevelsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPermissionLevelsRequest_SdkV2 added in v1.62.1

type GetClusterPermissionLevelsRequest_SdkV2 struct {
	// The cluster for which to get or manage permissions.
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterPermissionLevelsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPermissionLevelsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPermissionLevelsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetClusterPermissionLevelsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPermissionLevelsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPermissionLevelsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPermissionLevelsResponse

type GetClusterPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetClusterPermissionLevelsResponse) ApplySchemaCustomizations added in v1.63.0

func (GetClusterPermissionLevelsResponse) GetComplexFieldTypes added in v1.61.0

func (m GetClusterPermissionLevelsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPermissionLevelsResponse) GetPermissionLevels added in v1.61.0

GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPermissionLevelsResponse as a slice of ClusterPermissionsDescription values. If the field is unknown or null, the boolean return value is false.

func (*GetClusterPermissionLevelsResponse) SetPermissionLevels added in v1.61.0

SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPermissionLevelsResponse.

func (*GetClusterPermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetClusterPermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPermissionLevelsResponse)

func (*GetClusterPermissionLevelsResponse) SyncFieldsDuringRead added in v1.86.0

func (GetClusterPermissionLevelsResponse) 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, GetClusterPermissionLevelsResponse only implements ToObjectValue() and Type().

func (GetClusterPermissionLevelsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPermissionLevelsResponse_SdkV2 added in v1.62.1

type GetClusterPermissionLevelsResponse_SdkV2 struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetClusterPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetClusterPermissionLevelsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPermissionLevelsResponse_SdkV2) GetPermissionLevels added in v1.62.1

GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPermissionLevelsResponse_SdkV2 as a slice of ClusterPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetClusterPermissionLevelsResponse_SdkV2) SetPermissionLevels added in v1.62.1

SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPermissionLevelsResponse_SdkV2.

func (*GetClusterPermissionLevelsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetClusterPermissionLevelsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetClusterPermissionLevelsResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPermissionLevelsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPermissionsRequest

type GetClusterPermissionsRequest struct {
	// The cluster for which to get or manage permissions.
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterPermissionsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetClusterPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterPermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPermissionsRequest)

func (*GetClusterPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetClusterPermissionsRequest) SyncFieldsDuringRead(ctx context.Context, from GetClusterPermissionsRequest)

func (GetClusterPermissionsRequest) 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, GetClusterPermissionsRequest only implements ToObjectValue() and Type().

func (GetClusterPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPermissionsRequest_SdkV2 added in v1.62.1

type GetClusterPermissionsRequest_SdkV2 struct {
	// The cluster for which to get or manage permissions.
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetClusterPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPermissionsRequest_SdkV2)

func (*GetClusterPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPolicyPermissionLevelsRequest

type GetClusterPolicyPermissionLevelsRequest struct {
	// The cluster policy for which to get or manage permissions.
	ClusterPolicyId types.String `tfsdk:"-"`
}

func (GetClusterPolicyPermissionLevelsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPolicyPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyPermissionLevelsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetClusterPolicyPermissionLevelsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPolicyPermissionLevelsRequest) 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, GetClusterPolicyPermissionLevelsRequest only implements ToObjectValue() and Type().

func (GetClusterPolicyPermissionLevelsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPolicyPermissionLevelsRequest_SdkV2 added in v1.62.1

type GetClusterPolicyPermissionLevelsRequest_SdkV2 struct {
	// The cluster policy for which to get or manage permissions.
	ClusterPolicyId types.String `tfsdk:"-"`
}

func (GetClusterPolicyPermissionLevelsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPolicyPermissionLevelsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyPermissionLevelsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetClusterPolicyPermissionLevelsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPolicyPermissionLevelsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPolicyPermissionLevelsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPolicyPermissionLevelsResponse

type GetClusterPolicyPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetClusterPolicyPermissionLevelsResponse) ApplySchemaCustomizations added in v1.63.0

func (GetClusterPolicyPermissionLevelsResponse) GetComplexFieldTypes added in v1.61.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyPermissionLevelsResponse) GetPermissionLevels added in v1.61.0

GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse as a slice of ClusterPolicyPermissionsDescription values. If the field is unknown or null, the boolean return value is false.

func (*GetClusterPolicyPermissionLevelsResponse) SetPermissionLevels added in v1.61.0

SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse.

func (*GetClusterPolicyPermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetClusterPolicyPermissionLevelsResponse) SyncFieldsDuringRead added in v1.86.0

func (GetClusterPolicyPermissionLevelsResponse) 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, GetClusterPolicyPermissionLevelsResponse only implements ToObjectValue() and Type().

func (GetClusterPolicyPermissionLevelsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPolicyPermissionLevelsResponse_SdkV2 added in v1.62.1

type GetClusterPolicyPermissionLevelsResponse_SdkV2 struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetClusterPolicyPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetClusterPolicyPermissionLevelsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) GetPermissionLevels added in v1.62.1

GetPermissionLevels returns the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse_SdkV2 as a slice of ClusterPolicyPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SetPermissionLevels added in v1.62.1

SetPermissionLevels sets the value of the PermissionLevels field in GetClusterPolicyPermissionLevelsResponse_SdkV2.

func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetClusterPolicyPermissionLevelsResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPolicyPermissionLevelsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPolicyPermissionsRequest

type GetClusterPolicyPermissionsRequest struct {
	// The cluster policy for which to get or manage permissions.
	ClusterPolicyId types.String `tfsdk:"-"`
}

func (GetClusterPolicyPermissionsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPolicyPermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetClusterPolicyPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterPolicyPermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPolicyPermissionsRequest)

func (*GetClusterPolicyPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPolicyPermissionsRequest) 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, GetClusterPolicyPermissionsRequest only implements ToObjectValue() and Type().

func (GetClusterPolicyPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPolicyPermissionsRequest_SdkV2 added in v1.62.1

type GetClusterPolicyPermissionsRequest_SdkV2 struct {
	// The cluster policy for which to get or manage permissions.
	ClusterPolicyId types.String `tfsdk:"-"`
}

func (GetClusterPolicyPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPolicyPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetClusterPolicyPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetClusterPolicyPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPolicyPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterPolicyRequest

type GetClusterPolicyRequest struct {
	// Canonical unique identifier for the Cluster Policy.
	PolicyId types.String `tfsdk:"-"`
}

func (GetClusterPolicyRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetClusterPolicyRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetClusterPolicyRequest) GetComplexFieldTypes added in v1.61.0

func (m GetClusterPolicyRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterPolicyRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPolicyRequest)

func (*GetClusterPolicyRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetClusterPolicyRequest) SyncFieldsDuringRead(ctx context.Context, from GetClusterPolicyRequest)

func (GetClusterPolicyRequest) 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, GetClusterPolicyRequest only implements ToObjectValue() and Type().

func (GetClusterPolicyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterPolicyRequest_SdkV2 added in v1.62.1

type GetClusterPolicyRequest_SdkV2 struct {
	// Canonical unique identifier for the Cluster Policy.
	PolicyId types.String `tfsdk:"-"`
}

func (GetClusterPolicyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetClusterPolicyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetClusterPolicyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterPolicyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterPolicyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterPolicyRequest_SdkV2)

func (*GetClusterPolicyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetClusterPolicyRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetClusterPolicyRequest_SdkV2)

func (GetClusterPolicyRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterPolicyRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterPolicyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetClusterRequest

type GetClusterRequest struct {
	// The cluster about which to retrieve information.
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetClusterRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetClusterRequest) GetComplexFieldTypes added in v1.61.0

func (m GetClusterRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterRequest)

func (*GetClusterRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetClusterRequest) SyncFieldsDuringRead(ctx context.Context, from GetClusterRequest)

func (GetClusterRequest) ToObjectValue added in v1.61.0

func (m GetClusterRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterRequest only implements ToObjectValue() and Type().

func (GetClusterRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetClusterRequest_SdkV2 added in v1.62.1

type GetClusterRequest_SdkV2 struct {
	// The cluster about which to retrieve information.
	ClusterId types.String `tfsdk:"-"`
}

func (GetClusterRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m GetClusterRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetClusterRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetClusterRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetClusterRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetClusterRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetClusterRequest_SdkV2)

func (*GetClusterRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetClusterRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetClusterRequest_SdkV2)

func (GetClusterRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetClusterRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetClusterRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetEvents

type GetEvents struct {
	// The ID of the cluster to retrieve events about.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The end time in epoch milliseconds. If empty, returns events up to the
	// current time.
	EndTime types.Int64 `tfsdk:"end_time"`
	// An optional set of event types to filter on. If empty, all event types
	// are returned.
	EventTypes types.List `tfsdk:"event_types"`
	// Deprecated: use page_token in combination with page_size instead.
	//
	// The maximum number of events to include in a page of events. Defaults to
	// 50, and maximum allowed value is 500.
	Limit types.Int64 `tfsdk:"limit"`
	// Deprecated: use page_token in combination with page_size instead.
	//
	// The offset in the result set. Defaults to 0 (no offset). When an offset
	// is specified and the results are requested in descending order, the
	// end_time field is required.
	Offset types.Int64 `tfsdk:"offset"`
	// The order to list events in; either "ASC" or "DESC". Defaults to "DESC".
	Order types.String `tfsdk:"order"`
	// The maximum number of events to include in a page of events. The server
	// may further constrain the maximum number of results returned in a single
	// page. If the page_size is empty or 0, the server will decide the number
	// of results to be returned. The field has to be in the range [0,500]. If
	// the value is outside the range, the server enforces 0 or 500.
	PageSize types.Int64 `tfsdk:"page_size"`
	// Use next_page_token or prev_page_token returned from the previous request
	// to list the next or previous page of events respectively. If page_token
	// is empty, the first page is returned.
	PageToken types.String `tfsdk:"page_token"`
	// The start time in epoch milliseconds. If empty, returns events starting
	// from the beginning of time.
	StartTime types.Int64 `tfsdk:"start_time"`
}

func (GetEvents) ApplySchemaCustomizations added in v1.63.0

func (m GetEvents) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEvents) GetComplexFieldTypes added in v1.61.0

func (m GetEvents) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEvents. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetEvents) GetEventTypes added in v1.61.0

func (m *GetEvents) GetEventTypes(ctx context.Context) ([]types.String, bool)

GetEventTypes returns the value of the EventTypes field in GetEvents as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetEvents) SetEventTypes added in v1.61.0

func (m *GetEvents) SetEventTypes(ctx context.Context, v []types.String)

SetEventTypes sets the value of the EventTypes field in GetEvents.

func (*GetEvents) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetEvents) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEvents)

func (*GetEvents) SyncFieldsDuringRead added in v1.86.0

func (to *GetEvents) SyncFieldsDuringRead(ctx context.Context, from GetEvents)

func (GetEvents) ToObjectValue added in v1.61.0

func (m GetEvents) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEvents only implements ToObjectValue() and Type().

func (GetEvents) Type added in v1.61.0

func (m GetEvents) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GetEventsResponse

type GetEventsResponse struct {
	Events types.List `tfsdk:"events"`
	// Deprecated: use next_page_token or prev_page_token instead.
	//
	// The parameters required to retrieve the next page of events. Omitted if
	// there are no more events to read.
	NextPage types.Object `tfsdk:"next_page"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is "", it means no further results for the request.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// This field represents the pagination token to retrieve the previous page
	// of results. If the value is "", it means no further results for the
	// request.
	PrevPageToken types.String `tfsdk:"prev_page_token"`
	// Deprecated: Returns 0 when request uses page_token. Will start returning
	// zero when request uses offset/limit soon.
	//
	// The total number of events filtered by the start_time, end_time, and
	// event_types.
	TotalCount types.Int64 `tfsdk:"total_count"`
}

func (GetEventsResponse) ApplySchemaCustomizations added in v1.63.0

func (m GetEventsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEventsResponse) GetComplexFieldTypes added in v1.61.0

func (m GetEventsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEventsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetEventsResponse) GetEvents added in v1.61.0

func (m *GetEventsResponse) GetEvents(ctx context.Context) ([]ClusterEvent, bool)

GetEvents returns the value of the Events field in GetEventsResponse as a slice of ClusterEvent values. If the field is unknown or null, the boolean return value is false.

func (*GetEventsResponse) GetNextPage added in v1.61.0

func (m *GetEventsResponse) GetNextPage(ctx context.Context) (GetEvents, bool)

GetNextPage returns the value of the NextPage field in GetEventsResponse as a GetEvents value. If the field is unknown or null, the boolean return value is false.

func (*GetEventsResponse) SetEvents added in v1.61.0

func (m *GetEventsResponse) SetEvents(ctx context.Context, v []ClusterEvent)

SetEvents sets the value of the Events field in GetEventsResponse.

func (*GetEventsResponse) SetNextPage added in v1.61.0

func (m *GetEventsResponse) SetNextPage(ctx context.Context, v GetEvents)

SetNextPage sets the value of the NextPage field in GetEventsResponse.

func (*GetEventsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetEventsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEventsResponse)

func (*GetEventsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *GetEventsResponse) SyncFieldsDuringRead(ctx context.Context, from GetEventsResponse)

func (GetEventsResponse) ToObjectValue added in v1.61.0

func (m GetEventsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEventsResponse only implements ToObjectValue() and Type().

func (GetEventsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetEventsResponse_SdkV2 added in v1.62.1

type GetEventsResponse_SdkV2 struct {
	Events types.List `tfsdk:"events"`
	// Deprecated: use next_page_token or prev_page_token instead.
	//
	// The parameters required to retrieve the next page of events. Omitted if
	// there are no more events to read.
	NextPage types.List `tfsdk:"next_page"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is "", it means no further results for the request.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// This field represents the pagination token to retrieve the previous page
	// of results. If the value is "", it means no further results for the
	// request.
	PrevPageToken types.String `tfsdk:"prev_page_token"`
	// Deprecated: Returns 0 when request uses page_token. Will start returning
	// zero when request uses offset/limit soon.
	//
	// The total number of events filtered by the start_time, end_time, and
	// event_types.
	TotalCount types.Int64 `tfsdk:"total_count"`
}

func (GetEventsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m GetEventsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEventsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetEventsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEventsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetEventsResponse_SdkV2) GetEvents added in v1.62.1

GetEvents returns the value of the Events field in GetEventsResponse_SdkV2 as a slice of ClusterEvent_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetEventsResponse_SdkV2) GetNextPage added in v1.62.1

GetNextPage returns the value of the NextPage field in GetEventsResponse_SdkV2 as a GetEvents_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetEventsResponse_SdkV2) SetEvents added in v1.62.1

SetEvents sets the value of the Events field in GetEventsResponse_SdkV2.

func (*GetEventsResponse_SdkV2) SetNextPage added in v1.62.1

func (m *GetEventsResponse_SdkV2) SetNextPage(ctx context.Context, v GetEvents_SdkV2)

SetNextPage sets the value of the NextPage field in GetEventsResponse_SdkV2.

func (*GetEventsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetEventsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEventsResponse_SdkV2)

func (*GetEventsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GetEventsResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetEventsResponse_SdkV2)

func (GetEventsResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetEventsResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetEventsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetEvents_SdkV2 added in v1.62.1

type GetEvents_SdkV2 struct {
	// The ID of the cluster to retrieve events about.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The end time in epoch milliseconds. If empty, returns events up to the
	// current time.
	EndTime types.Int64 `tfsdk:"end_time"`
	// An optional set of event types to filter on. If empty, all event types
	// are returned.
	EventTypes types.List `tfsdk:"event_types"`
	// Deprecated: use page_token in combination with page_size instead.
	//
	// The maximum number of events to include in a page of events. Defaults to
	// 50, and maximum allowed value is 500.
	Limit types.Int64 `tfsdk:"limit"`
	// Deprecated: use page_token in combination with page_size instead.
	//
	// The offset in the result set. Defaults to 0 (no offset). When an offset
	// is specified and the results are requested in descending order, the
	// end_time field is required.
	Offset types.Int64 `tfsdk:"offset"`
	// The order to list events in; either "ASC" or "DESC". Defaults to "DESC".
	Order types.String `tfsdk:"order"`
	// The maximum number of events to include in a page of events. The server
	// may further constrain the maximum number of results returned in a single
	// page. If the page_size is empty or 0, the server will decide the number
	// of results to be returned. The field has to be in the range [0,500]. If
	// the value is outside the range, the server enforces 0 or 500.
	PageSize types.Int64 `tfsdk:"page_size"`
	// Use next_page_token or prev_page_token returned from the previous request
	// to list the next or previous page of events respectively. If page_token
	// is empty, the first page is returned.
	PageToken types.String `tfsdk:"page_token"`
	// The start time in epoch milliseconds. If empty, returns events starting
	// from the beginning of time.
	StartTime types.Int64 `tfsdk:"start_time"`
}

func (GetEvents_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m GetEvents_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEvents_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetEvents_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEvents. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetEvents_SdkV2) GetEventTypes added in v1.62.1

func (m *GetEvents_SdkV2) GetEventTypes(ctx context.Context) ([]types.String, bool)

GetEventTypes returns the value of the EventTypes field in GetEvents_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetEvents_SdkV2) SetEventTypes added in v1.62.1

func (m *GetEvents_SdkV2) SetEventTypes(ctx context.Context, v []types.String)

SetEventTypes sets the value of the EventTypes field in GetEvents_SdkV2.

func (*GetEvents_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetEvents_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetEvents_SdkV2)

func (*GetEvents_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GetEvents_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetEvents_SdkV2)

func (GetEvents_SdkV2) ToObjectValue added in v1.62.1

func (m GetEvents_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, GetEvents_SdkV2 only implements ToObjectValue() and Type().

func (GetEvents_SdkV2) Type added in v1.62.1

func (m GetEvents_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GetGlobalInitScriptRequest

type GetGlobalInitScriptRequest struct {
	// The ID of the global init script.
	ScriptId types.String `tfsdk:"-"`
}

func (GetGlobalInitScriptRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetGlobalInitScriptRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetGlobalInitScriptRequest) GetComplexFieldTypes added in v1.61.0

func (m GetGlobalInitScriptRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGlobalInitScriptRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetGlobalInitScriptRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetGlobalInitScriptRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetGlobalInitScriptRequest)

func (*GetGlobalInitScriptRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetGlobalInitScriptRequest) SyncFieldsDuringRead(ctx context.Context, from GetGlobalInitScriptRequest)

func (GetGlobalInitScriptRequest) 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, GetGlobalInitScriptRequest only implements ToObjectValue() and Type().

func (GetGlobalInitScriptRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetGlobalInitScriptRequest_SdkV2 added in v1.62.1

type GetGlobalInitScriptRequest_SdkV2 struct {
	// The ID of the global init script.
	ScriptId types.String `tfsdk:"-"`
}

func (GetGlobalInitScriptRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGlobalInitScriptRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetGlobalInitScriptRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetGlobalInitScriptRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetGlobalInitScriptRequest_SdkV2)

func (*GetGlobalInitScriptRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetGlobalInitScriptRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetGlobalInitScriptRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetGlobalInitScriptRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetInstancePool

type GetInstancePool struct {
	// Attributes related to instance pools running on Amazon Web Services. If
	// not specified at pool creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to instance pools running on Azure. If not specified
	// at pool creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Tags that are added by Databricks regardless of any “custom_tags“,
	// including:
	//
	// - Vendor: Databricks
	//
	// - InstancePoolCreator: <user_id_of_creator>
	//
	// - InstancePoolName: <name_of_pool>
	//
	// - InstancePoolId: <id_of_pool>
	DefaultTags types.Map `tfsdk:"default_tags"`
	// Defines the specification of the disks that will be attached to all spark
	// containers.
	DiskSpec types.Object `tfsdk:"disk_spec"`
	// Autoscaling Local Storage: when enabled, this instances in this pool will
	// dynamically acquire additional disk space when its Spark workers are
	// running low on disk space. In AWS, this feature requires specific AWS
	// permissions to function correctly - refer to the User Guide for more
	// details.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Attributes related to instance pools running on Google Cloud Platform. If
	// not specified at pool creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Canonical unique identifier for the pool.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// Flexible node type configuration for the pool.
	NodeTypeFlexibility types.Object `tfsdk:"node_type_flexibility"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Custom Docker Image BYOC
	PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"`
	// A list containing at most one preloaded Spark image version for the pool.
	// Pool-backed clusters started with the preloaded Spark version will start
	// faster. A list of available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Current state of the instance pool.
	State types.String `tfsdk:"state"`
	// Usage statistics about the instance pool.
	Stats types.Object `tfsdk:"stats"`
	// Status of failed pending instances in the pool.
	Status types.Object `tfsdk:"status"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (GetInstancePool) ApplySchemaCustomizations added in v1.63.0

func (m GetInstancePool) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetInstancePool) GetAwsAttributes added in v1.61.0

func (m *GetInstancePool) GetAwsAttributes(ctx context.Context) (InstancePoolAwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in GetInstancePool as a InstancePoolAwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetAzureAttributes added in v1.61.0

func (m *GetInstancePool) GetAzureAttributes(ctx context.Context) (InstancePoolAzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in GetInstancePool as a InstancePoolAzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (GetInstancePool) GetComplexFieldTypes added in v1.61.0

func (m GetInstancePool) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePool) GetCustomTags added in v1.61.0

func (m *GetInstancePool) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in GetInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetDefaultTags added in v1.61.0

func (m *GetInstancePool) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)

GetDefaultTags returns the value of the DefaultTags field in GetInstancePool as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetDiskSpec added in v1.61.0

func (m *GetInstancePool) GetDiskSpec(ctx context.Context) (DiskSpec, bool)

GetDiskSpec returns the value of the DiskSpec field in GetInstancePool as a DiskSpec value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetGcpAttributes added in v1.61.0

func (m *GetInstancePool) GetGcpAttributes(ctx context.Context) (InstancePoolGcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in GetInstancePool as a InstancePoolGcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetNodeTypeFlexibility added in v1.76.0

func (m *GetInstancePool) GetNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetNodeTypeFlexibility returns the value of the NodeTypeFlexibility field in GetInstancePool as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetPreloadedDockerImages added in v1.61.0

func (m *GetInstancePool) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)

GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in GetInstancePool as a slice of DockerImage values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetPreloadedSparkVersions added in v1.61.0

func (m *GetInstancePool) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)

GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in GetInstancePool as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetStats added in v1.61.0

GetStats returns the value of the Stats field in GetInstancePool as a InstancePoolStats value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) GetStatus added in v1.61.0

func (m *GetInstancePool) GetStatus(ctx context.Context) (InstancePoolStatus, bool)

GetStatus returns the value of the Status field in GetInstancePool as a InstancePoolStatus value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool) SetAwsAttributes added in v1.61.0

func (m *GetInstancePool) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in GetInstancePool.

func (*GetInstancePool) SetAzureAttributes added in v1.61.0

func (m *GetInstancePool) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in GetInstancePool.

func (*GetInstancePool) SetCustomTags added in v1.61.0

func (m *GetInstancePool) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in GetInstancePool.

func (*GetInstancePool) SetDefaultTags added in v1.61.0

func (m *GetInstancePool) SetDefaultTags(ctx context.Context, v map[string]types.String)

SetDefaultTags sets the value of the DefaultTags field in GetInstancePool.

func (*GetInstancePool) SetDiskSpec added in v1.61.0

func (m *GetInstancePool) SetDiskSpec(ctx context.Context, v DiskSpec)

SetDiskSpec sets the value of the DiskSpec field in GetInstancePool.

func (*GetInstancePool) SetGcpAttributes added in v1.61.0

func (m *GetInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in GetInstancePool.

func (*GetInstancePool) SetNodeTypeFlexibility added in v1.76.0

func (m *GetInstancePool) SetNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetNodeTypeFlexibility sets the value of the NodeTypeFlexibility field in GetInstancePool.

func (*GetInstancePool) SetPreloadedDockerImages added in v1.61.0

func (m *GetInstancePool) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)

SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in GetInstancePool.

func (*GetInstancePool) SetPreloadedSparkVersions added in v1.61.0

func (m *GetInstancePool) SetPreloadedSparkVersions(ctx context.Context, v []types.String)

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in GetInstancePool.

func (*GetInstancePool) SetStats added in v1.61.0

func (m *GetInstancePool) SetStats(ctx context.Context, v InstancePoolStats)

SetStats sets the value of the Stats field in GetInstancePool.

func (*GetInstancePool) SetStatus added in v1.61.0

func (m *GetInstancePool) SetStatus(ctx context.Context, v InstancePoolStatus)

SetStatus sets the value of the Status field in GetInstancePool.

func (*GetInstancePool) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetInstancePool) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetInstancePool)

func (*GetInstancePool) SyncFieldsDuringRead added in v1.86.0

func (to *GetInstancePool) SyncFieldsDuringRead(ctx context.Context, from GetInstancePool)

func (GetInstancePool) ToObjectValue added in v1.61.0

func (m GetInstancePool) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePool only implements ToObjectValue() and Type().

func (GetInstancePool) Type added in v1.61.0

func (m GetInstancePool) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type GetInstancePoolPermissionLevelsRequest

type GetInstancePoolPermissionLevelsRequest struct {
	// The instance pool for which to get or manage permissions.
	InstancePoolId types.String `tfsdk:"-"`
}

func (GetInstancePoolPermissionLevelsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetInstancePoolPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetInstancePoolPermissionLevelsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolPermissionLevelsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetInstancePoolPermissionLevelsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetInstancePoolPermissionLevelsRequest) 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, GetInstancePoolPermissionLevelsRequest only implements ToObjectValue() and Type().

func (GetInstancePoolPermissionLevelsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetInstancePoolPermissionLevelsRequest_SdkV2 added in v1.62.1

type GetInstancePoolPermissionLevelsRequest_SdkV2 struct {
	// The instance pool for which to get or manage permissions.
	InstancePoolId types.String `tfsdk:"-"`
}

func (GetInstancePoolPermissionLevelsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetInstancePoolPermissionLevelsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolPermissionLevelsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetInstancePoolPermissionLevelsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetInstancePoolPermissionLevelsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionLevelsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetInstancePoolPermissionLevelsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetInstancePoolPermissionLevelsResponse

type GetInstancePoolPermissionLevelsResponse struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetInstancePoolPermissionLevelsResponse) ApplySchemaCustomizations added in v1.63.0

func (GetInstancePoolPermissionLevelsResponse) GetComplexFieldTypes added in v1.61.0

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolPermissionLevelsResponse) GetPermissionLevels added in v1.61.0

GetPermissionLevels returns the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse as a slice of InstancePoolPermissionsDescription values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePoolPermissionLevelsResponse) SetPermissionLevels added in v1.61.0

SetPermissionLevels sets the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse.

func (*GetInstancePoolPermissionLevelsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetInstancePoolPermissionLevelsResponse) SyncFieldsDuringRead added in v1.86.0

func (GetInstancePoolPermissionLevelsResponse) 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, GetInstancePoolPermissionLevelsResponse only implements ToObjectValue() and Type().

func (GetInstancePoolPermissionLevelsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetInstancePoolPermissionLevelsResponse_SdkV2 added in v1.62.1

type GetInstancePoolPermissionLevelsResponse_SdkV2 struct {
	// Specific permission levels
	PermissionLevels types.List `tfsdk:"permission_levels"`
}

func (GetInstancePoolPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetInstancePoolPermissionLevelsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolPermissionLevelsResponse_SdkV2) GetPermissionLevels added in v1.62.1

GetPermissionLevels returns the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse_SdkV2 as a slice of InstancePoolPermissionsDescription_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SetPermissionLevels added in v1.62.1

SetPermissionLevels sets the value of the PermissionLevels field in GetInstancePoolPermissionLevelsResponse_SdkV2.

func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetInstancePoolPermissionLevelsResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionLevelsResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetInstancePoolPermissionLevelsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetInstancePoolPermissionsRequest

type GetInstancePoolPermissionsRequest struct {
	// The instance pool for which to get or manage permissions.
	InstancePoolId types.String `tfsdk:"-"`
}

func (GetInstancePoolPermissionsRequest) ApplySchemaCustomizations added in v1.76.0

func (GetInstancePoolPermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m GetInstancePoolPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetInstancePoolPermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetInstancePoolPermissionsRequest)

func (*GetInstancePoolPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (GetInstancePoolPermissionsRequest) 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, GetInstancePoolPermissionsRequest only implements ToObjectValue() and Type().

func (GetInstancePoolPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetInstancePoolPermissionsRequest_SdkV2 added in v1.62.1

type GetInstancePoolPermissionsRequest_SdkV2 struct {
	// The instance pool for which to get or manage permissions.
	InstancePoolId types.String `tfsdk:"-"`
}

func (GetInstancePoolPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetInstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (*GetInstancePoolPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GetInstancePoolPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetInstancePoolPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetInstancePoolRequest

type GetInstancePoolRequest struct {
	// The canonical unique identifier for the instance pool.
	InstancePoolId types.String `tfsdk:"-"`
}

func (GetInstancePoolRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetInstancePoolRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetInstancePoolRequest) GetComplexFieldTypes added in v1.61.0

func (m GetInstancePoolRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetInstancePoolRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetInstancePoolRequest)

func (*GetInstancePoolRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetInstancePoolRequest) SyncFieldsDuringRead(ctx context.Context, from GetInstancePoolRequest)

func (GetInstancePoolRequest) 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, GetInstancePoolRequest only implements ToObjectValue() and Type().

func (GetInstancePoolRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetInstancePoolRequest_SdkV2 added in v1.62.1

type GetInstancePoolRequest_SdkV2 struct {
	// The canonical unique identifier for the instance pool.
	InstancePoolId types.String `tfsdk:"-"`
}

func (GetInstancePoolRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetInstancePoolRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetInstancePoolRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePoolRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetInstancePoolRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetInstancePoolRequest_SdkV2)

func (*GetInstancePoolRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetInstancePoolRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetInstancePoolRequest_SdkV2)

func (GetInstancePoolRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePoolRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetInstancePoolRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetInstancePool_SdkV2 added in v1.62.1

type GetInstancePool_SdkV2 struct {
	// Attributes related to instance pools running on Amazon Web Services. If
	// not specified at pool creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to instance pools running on Azure. If not specified
	// at pool creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Tags that are added by Databricks regardless of any “custom_tags“,
	// including:
	//
	// - Vendor: Databricks
	//
	// - InstancePoolCreator: <user_id_of_creator>
	//
	// - InstancePoolName: <name_of_pool>
	//
	// - InstancePoolId: <id_of_pool>
	DefaultTags types.Map `tfsdk:"default_tags"`
	// Defines the specification of the disks that will be attached to all spark
	// containers.
	DiskSpec types.List `tfsdk:"disk_spec"`
	// Autoscaling Local Storage: when enabled, this instances in this pool will
	// dynamically acquire additional disk space when its Spark workers are
	// running low on disk space. In AWS, this feature requires specific AWS
	// permissions to function correctly - refer to the User Guide for more
	// details.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Attributes related to instance pools running on Google Cloud Platform. If
	// not specified at pool creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Canonical unique identifier for the pool.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// Flexible node type configuration for the pool.
	NodeTypeFlexibility types.List `tfsdk:"node_type_flexibility"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Custom Docker Image BYOC
	PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"`
	// A list containing at most one preloaded Spark image version for the pool.
	// Pool-backed clusters started with the preloaded Spark version will start
	// faster. A list of available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Current state of the instance pool.
	State types.String `tfsdk:"state"`
	// Usage statistics about the instance pool.
	Stats types.List `tfsdk:"stats"`
	// Status of failed pending instances in the pool.
	Status types.List `tfsdk:"status"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (GetInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m GetInstancePool_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*GetInstancePool_SdkV2) GetAwsAttributes added in v1.62.1

GetAwsAttributes returns the value of the AwsAttributes field in GetInstancePool_SdkV2 as a InstancePoolAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetAzureAttributes added in v1.62.1

GetAzureAttributes returns the value of the AzureAttributes field in GetInstancePool_SdkV2 as a InstancePoolAzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (GetInstancePool_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetInstancePool_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePool. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetInstancePool_SdkV2) GetCustomTags added in v1.62.1

func (m *GetInstancePool_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in GetInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetDefaultTags added in v1.62.1

func (m *GetInstancePool_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)

GetDefaultTags returns the value of the DefaultTags field in GetInstancePool_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetDiskSpec added in v1.62.1

func (m *GetInstancePool_SdkV2) GetDiskSpec(ctx context.Context) (DiskSpec_SdkV2, bool)

GetDiskSpec returns the value of the DiskSpec field in GetInstancePool_SdkV2 as a DiskSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetGcpAttributes added in v1.62.1

GetGcpAttributes returns the value of the GcpAttributes field in GetInstancePool_SdkV2 as a InstancePoolGcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetNodeTypeFlexibility added in v1.76.0

func (m *GetInstancePool_SdkV2) GetNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetNodeTypeFlexibility returns the value of the NodeTypeFlexibility field in GetInstancePool_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetPreloadedDockerImages added in v1.62.1

func (m *GetInstancePool_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)

GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in GetInstancePool_SdkV2 as a slice of DockerImage_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetPreloadedSparkVersions added in v1.62.1

func (m *GetInstancePool_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)

GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in GetInstancePool_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetStats added in v1.62.1

GetStats returns the value of the Stats field in GetInstancePool_SdkV2 as a InstancePoolStats_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) GetStatus added in v1.62.1

GetStatus returns the value of the Status field in GetInstancePool_SdkV2 as a InstancePoolStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*GetInstancePool_SdkV2) SetAwsAttributes added in v1.62.1

SetAwsAttributes sets the value of the AwsAttributes field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetAzureAttributes added in v1.62.1

SetAzureAttributes sets the value of the AzureAttributes field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetCustomTags added in v1.62.1

func (m *GetInstancePool_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetDefaultTags added in v1.62.1

func (m *GetInstancePool_SdkV2) SetDefaultTags(ctx context.Context, v map[string]types.String)

SetDefaultTags sets the value of the DefaultTags field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetDiskSpec added in v1.62.1

func (m *GetInstancePool_SdkV2) SetDiskSpec(ctx context.Context, v DiskSpec_SdkV2)

SetDiskSpec sets the value of the DiskSpec field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetGcpAttributes added in v1.62.1

SetGcpAttributes sets the value of the GcpAttributes field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetNodeTypeFlexibility added in v1.76.0

func (m *GetInstancePool_SdkV2) SetNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetNodeTypeFlexibility sets the value of the NodeTypeFlexibility field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetPreloadedDockerImages added in v1.62.1

func (m *GetInstancePool_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)

SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetPreloadedSparkVersions added in v1.62.1

func (m *GetInstancePool_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetStats added in v1.62.1

SetStats sets the value of the Stats field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SetStatus added in v1.62.1

SetStatus sets the value of the Status field in GetInstancePool_SdkV2.

func (*GetInstancePool_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetInstancePool_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetInstancePool_SdkV2)

func (*GetInstancePool_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GetInstancePool_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetInstancePool_SdkV2)

func (GetInstancePool_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetInstancePool_SdkV2 only implements ToObjectValue() and Type().

func (GetInstancePool_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetPolicyFamilyRequest

type GetPolicyFamilyRequest struct {
	// The family ID about which to retrieve information.
	PolicyFamilyId types.String `tfsdk:"-"`
	// The version number for the family to fetch. Defaults to the latest
	// version.
	Version types.Int64 `tfsdk:"-"`
}

func (GetPolicyFamilyRequest) ApplySchemaCustomizations added in v1.76.0

func (m GetPolicyFamilyRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetPolicyFamilyRequest) GetComplexFieldTypes added in v1.61.0

func (m GetPolicyFamilyRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyFamilyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetPolicyFamilyRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetPolicyFamilyRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetPolicyFamilyRequest)

func (*GetPolicyFamilyRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GetPolicyFamilyRequest) SyncFieldsDuringRead(ctx context.Context, from GetPolicyFamilyRequest)

func (GetPolicyFamilyRequest) 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, GetPolicyFamilyRequest only implements ToObjectValue() and Type().

func (GetPolicyFamilyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetPolicyFamilyRequest_SdkV2 added in v1.62.1

type GetPolicyFamilyRequest_SdkV2 struct {
	// The family ID about which to retrieve information.
	PolicyFamilyId types.String `tfsdk:"-"`
	// The version number for the family to fetch. Defaults to the latest
	// version.
	Version types.Int64 `tfsdk:"-"`
}

func (GetPolicyFamilyRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (GetPolicyFamilyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetPolicyFamilyRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyFamilyRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetPolicyFamilyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GetPolicyFamilyRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetPolicyFamilyRequest_SdkV2)

func (*GetPolicyFamilyRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *GetPolicyFamilyRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GetPolicyFamilyRequest_SdkV2)

func (GetPolicyFamilyRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetPolicyFamilyRequest_SdkV2 only implements ToObjectValue() and Type().

func (GetPolicyFamilyRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GetSparkVersionsResponse

type GetSparkVersionsResponse struct {
	// All the available Spark versions.
	Versions types.List `tfsdk:"versions"`
}

func (GetSparkVersionsResponse) ApplySchemaCustomizations added in v1.63.0

func (m GetSparkVersionsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetSparkVersionsResponse) GetComplexFieldTypes added in v1.61.0

func (m GetSparkVersionsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSparkVersionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetSparkVersionsResponse) GetVersions added in v1.61.0

func (m *GetSparkVersionsResponse) GetVersions(ctx context.Context) ([]SparkVersion, bool)

GetVersions returns the value of the Versions field in GetSparkVersionsResponse as a slice of SparkVersion values. If the field is unknown or null, the boolean return value is false.

func (*GetSparkVersionsResponse) SetVersions added in v1.61.0

func (m *GetSparkVersionsResponse) SetVersions(ctx context.Context, v []SparkVersion)

SetVersions sets the value of the Versions field in GetSparkVersionsResponse.

func (*GetSparkVersionsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetSparkVersionsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSparkVersionsResponse)

func (*GetSparkVersionsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *GetSparkVersionsResponse) SyncFieldsDuringRead(ctx context.Context, from GetSparkVersionsResponse)

func (GetSparkVersionsResponse) 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, GetSparkVersionsResponse only implements ToObjectValue() and Type().

func (GetSparkVersionsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetSparkVersionsResponse_SdkV2 added in v1.62.1

type GetSparkVersionsResponse_SdkV2 struct {
	// All the available Spark versions.
	Versions types.List `tfsdk:"versions"`
}

func (GetSparkVersionsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GetSparkVersionsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GetSparkVersionsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSparkVersionsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GetSparkVersionsResponse_SdkV2) GetVersions added in v1.62.1

GetVersions returns the value of the Versions field in GetSparkVersionsResponse_SdkV2 as a slice of SparkVersion_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*GetSparkVersionsResponse_SdkV2) SetVersions added in v1.62.1

SetVersions sets the value of the Versions field in GetSparkVersionsResponse_SdkV2.

func (*GetSparkVersionsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GetSparkVersionsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GetSparkVersionsResponse_SdkV2)

func (*GetSparkVersionsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GetSparkVersionsResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetSparkVersionsResponse_SdkV2 only implements ToObjectValue() and Type().

func (GetSparkVersionsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GlobalInitScriptCreateRequest

type GlobalInitScriptCreateRequest struct {
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a global init script, where 0 represents the first script
	// to run, 1 is the second script to run, in ascending order.
	//
	// If you omit the numeric position for a new global init script, it
	// defaults to last position. It will run after all current scripts. Setting
	// any value greater than the position of the last script is equivalent to
	// the last position. Example: Take three existing scripts with positions 0,
	// 1, and 2. Any position of (3) or greater puts the script in the last
	// position. If an explicit position value conflicts with an existing script
	// value, your request succeeds, but the original script at that position
	// and all later scripts have their positions incremented by 1.
	Position types.Int64 `tfsdk:"position"`
	// The Base64-encoded content of the script.
	Script types.String `tfsdk:"script"`
}

func (GlobalInitScriptCreateRequest) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptCreateRequest) GetComplexFieldTypes added in v1.61.0

func (m GlobalInitScriptCreateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptCreateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptCreateRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GlobalInitScriptCreateRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptCreateRequest)

func (*GlobalInitScriptCreateRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GlobalInitScriptCreateRequest) SyncFieldsDuringRead(ctx context.Context, from GlobalInitScriptCreateRequest)

func (GlobalInitScriptCreateRequest) 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, GlobalInitScriptCreateRequest only implements ToObjectValue() and Type().

func (GlobalInitScriptCreateRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GlobalInitScriptCreateRequest_SdkV2 added in v1.62.1

type GlobalInitScriptCreateRequest_SdkV2 struct {
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a global init script, where 0 represents the first script
	// to run, 1 is the second script to run, in ascending order.
	//
	// If you omit the numeric position for a new global init script, it
	// defaults to last position. It will run after all current scripts. Setting
	// any value greater than the position of the last script is equivalent to
	// the last position. Example: Take three existing scripts with positions 0,
	// 1, and 2. Any position of (3) or greater puts the script in the last
	// position. If an explicit position value conflicts with an existing script
	// value, your request succeeds, but the original script at that position
	// and all later scripts have their positions incremented by 1.
	Position types.Int64 `tfsdk:"position"`
	// The Base64-encoded content of the script.
	Script types.String `tfsdk:"script"`
}

func (GlobalInitScriptCreateRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptCreateRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GlobalInitScriptCreateRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptCreateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptCreateRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GlobalInitScriptCreateRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptCreateRequest_SdkV2)

func (*GlobalInitScriptCreateRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GlobalInitScriptCreateRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptCreateRequest_SdkV2 only implements ToObjectValue() and Type().

func (GlobalInitScriptCreateRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GlobalInitScriptDetails

type GlobalInitScriptDetails struct {
	// Time when the script was created, represented as a Unix timestamp in
	// milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at"`
	// The username of the user who created the script.
	CreatedBy types.String `tfsdk:"created_by"`
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a script, where 0 represents the first script to run, 1
	// is the second script to run, in ascending order.
	Position types.Int64 `tfsdk:"position"`
	// The global init script ID.
	ScriptId types.String `tfsdk:"script_id"`
	// Time when the script was updated, represented as a Unix timestamp in
	// milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at"`
	// The username of the user who last updated the script
	UpdatedBy types.String `tfsdk:"updated_by"`
}

func (GlobalInitScriptDetails) ApplySchemaCustomizations added in v1.63.0

func (m GlobalInitScriptDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GlobalInitScriptDetails) GetComplexFieldTypes added in v1.61.0

func (m GlobalInitScriptDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptDetails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GlobalInitScriptDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptDetails)

func (*GlobalInitScriptDetails) SyncFieldsDuringRead added in v1.86.0

func (to *GlobalInitScriptDetails) SyncFieldsDuringRead(ctx context.Context, from GlobalInitScriptDetails)

func (GlobalInitScriptDetails) 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, GlobalInitScriptDetails only implements ToObjectValue() and Type().

func (GlobalInitScriptDetails) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GlobalInitScriptDetailsWithContent

type GlobalInitScriptDetailsWithContent struct {
	// Time when the script was created, represented as a Unix timestamp in
	// milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at"`
	// The username of the user who created the script.
	CreatedBy types.String `tfsdk:"created_by"`
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a script, where 0 represents the first script to run, 1
	// is the second script to run, in ascending order.
	Position types.Int64 `tfsdk:"position"`
	// The Base64-encoded content of the script.
	Script types.String `tfsdk:"script"`
	// The global init script ID.
	ScriptId types.String `tfsdk:"script_id"`
	// Time when the script was updated, represented as a Unix timestamp in
	// milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at"`
	// The username of the user who last updated the script
	UpdatedBy types.String `tfsdk:"updated_by"`
}

func (GlobalInitScriptDetailsWithContent) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptDetailsWithContent) GetComplexFieldTypes added in v1.61.0

func (m GlobalInitScriptDetailsWithContent) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetailsWithContent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptDetailsWithContent) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GlobalInitScriptDetailsWithContent) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptDetailsWithContent)

func (*GlobalInitScriptDetailsWithContent) SyncFieldsDuringRead added in v1.86.0

func (GlobalInitScriptDetailsWithContent) 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, GlobalInitScriptDetailsWithContent only implements ToObjectValue() and Type().

func (GlobalInitScriptDetailsWithContent) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GlobalInitScriptDetailsWithContent_SdkV2 added in v1.62.1

type GlobalInitScriptDetailsWithContent_SdkV2 struct {
	// Time when the script was created, represented as a Unix timestamp in
	// milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at"`
	// The username of the user who created the script.
	CreatedBy types.String `tfsdk:"created_by"`
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a script, where 0 represents the first script to run, 1
	// is the second script to run, in ascending order.
	Position types.Int64 `tfsdk:"position"`
	// The Base64-encoded content of the script.
	Script types.String `tfsdk:"script"`
	// The global init script ID.
	ScriptId types.String `tfsdk:"script_id"`
	// Time when the script was updated, represented as a Unix timestamp in
	// milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at"`
	// The username of the user who last updated the script
	UpdatedBy types.String `tfsdk:"updated_by"`
}

func (GlobalInitScriptDetailsWithContent_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptDetailsWithContent_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetailsWithContent. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptDetailsWithContent_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*GlobalInitScriptDetailsWithContent_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (GlobalInitScriptDetailsWithContent_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptDetailsWithContent_SdkV2 only implements ToObjectValue() and Type().

func (GlobalInitScriptDetailsWithContent_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GlobalInitScriptDetails_SdkV2 added in v1.62.1

type GlobalInitScriptDetails_SdkV2 struct {
	// Time when the script was created, represented as a Unix timestamp in
	// milliseconds.
	CreatedAt types.Int64 `tfsdk:"created_at"`
	// The username of the user who created the script.
	CreatedBy types.String `tfsdk:"created_by"`
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a script, where 0 represents the first script to run, 1
	// is the second script to run, in ascending order.
	Position types.Int64 `tfsdk:"position"`
	// The global init script ID.
	ScriptId types.String `tfsdk:"script_id"`
	// Time when the script was updated, represented as a Unix timestamp in
	// milliseconds.
	UpdatedAt types.Int64 `tfsdk:"updated_at"`
	// The username of the user who last updated the script
	UpdatedBy types.String `tfsdk:"updated_by"`
}

func (GlobalInitScriptDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GlobalInitScriptDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptDetails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *GlobalInitScriptDetails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptDetails_SdkV2)

func (*GlobalInitScriptDetails_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *GlobalInitScriptDetails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from GlobalInitScriptDetails_SdkV2)

func (GlobalInitScriptDetails_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptDetails_SdkV2 only implements ToObjectValue() and Type().

func (GlobalInitScriptDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type GlobalInitScriptUpdateRequest

type GlobalInitScriptUpdateRequest struct {
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a script, where 0 represents the first script to run, 1
	// is the second script to run, in ascending order. To move the script to
	// run first, set its position to 0.
	//
	// To move the script to the end, set its position to any value greater or
	// equal to the position of the last script. Example, three existing scripts
	// with positions 0, 1, and 2. Any position value of 2 or greater puts the
	// script in the last position (2).
	//
	// If an explicit position value conflicts with an existing script, your
	// request succeeds, but the original script at that position and all later
	// scripts have their positions incremented by 1.
	Position types.Int64 `tfsdk:"position"`
	// The Base64-encoded content of the script.
	Script types.String `tfsdk:"script"`
	// The ID of the global init script.
	ScriptId types.String `tfsdk:"-"`
}

func (GlobalInitScriptUpdateRequest) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptUpdateRequest) GetComplexFieldTypes added in v1.61.0

func (m GlobalInitScriptUpdateRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptUpdateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptUpdateRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GlobalInitScriptUpdateRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptUpdateRequest)

func (*GlobalInitScriptUpdateRequest) SyncFieldsDuringRead added in v1.91.0

func (to *GlobalInitScriptUpdateRequest) SyncFieldsDuringRead(ctx context.Context, from GlobalInitScriptUpdateRequest)

func (GlobalInitScriptUpdateRequest) 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, GlobalInitScriptUpdateRequest only implements ToObjectValue() and Type().

func (GlobalInitScriptUpdateRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GlobalInitScriptUpdateRequest_SdkV2 added in v1.62.1

type GlobalInitScriptUpdateRequest_SdkV2 struct {
	// Specifies whether the script is enabled. The script runs only if enabled.
	Enabled types.Bool `tfsdk:"enabled"`
	// The name of the script
	Name types.String `tfsdk:"name"`
	// The position of a script, where 0 represents the first script to run, 1
	// is the second script to run, in ascending order. To move the script to
	// run first, set its position to 0.
	//
	// To move the script to the end, set its position to any value greater or
	// equal to the position of the last script. Example, three existing scripts
	// with positions 0, 1, and 2. Any position value of 2 or greater puts the
	// script in the last position (2).
	//
	// If an explicit position value conflicts with an existing script, your
	// request succeeds, but the original script at that position and all later
	// scripts have their positions incremented by 1.
	Position types.Int64 `tfsdk:"position"`
	// The Base64-encoded content of the script.
	Script types.String `tfsdk:"script"`
	// The ID of the global init script.
	ScriptId types.String `tfsdk:"-"`
}

func (GlobalInitScriptUpdateRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (GlobalInitScriptUpdateRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m GlobalInitScriptUpdateRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptUpdateRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*GlobalInitScriptUpdateRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *GlobalInitScriptUpdateRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from GlobalInitScriptUpdateRequest_SdkV2)

func (*GlobalInitScriptUpdateRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (GlobalInitScriptUpdateRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GlobalInitScriptUpdateRequest_SdkV2 only implements ToObjectValue() and Type().

func (GlobalInitScriptUpdateRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InitScriptEventDetails

type InitScriptEventDetails struct {
	// The cluster scoped init scripts associated with this cluster event.
	Cluster types.List `tfsdk:"cluster"`
	// The global init scripts associated with this cluster event.
	Global types.List `tfsdk:"global"`
	// The private ip of the node we are reporting init script execution details
	// for (we will select the execution details from only one node rather than
	// reporting the execution details from every node to keep these event
	// details small)
	//
	// This should only be defined for the INIT_SCRIPTS_FINISHED event
	ReportedForNode types.String `tfsdk:"reported_for_node"`
}

func (InitScriptEventDetails) ApplySchemaCustomizations added in v1.63.0

func (m InitScriptEventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*InitScriptEventDetails) GetCluster added in v1.61.0

GetCluster returns the value of the Cluster field in InitScriptEventDetails as a slice of InitScriptInfoAndExecutionDetails values. If the field is unknown or null, the boolean return value is false.

func (InitScriptEventDetails) GetComplexFieldTypes added in v1.61.0

func (m InitScriptEventDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptEventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InitScriptEventDetails) GetGlobal added in v1.61.0

GetGlobal returns the value of the Global field in InitScriptEventDetails as a slice of InitScriptInfoAndExecutionDetails values. If the field is unknown or null, the boolean return value is false.

func (*InitScriptEventDetails) SetCluster added in v1.61.0

SetCluster sets the value of the Cluster field in InitScriptEventDetails.

func (*InitScriptEventDetails) SetGlobal added in v1.61.0

SetGlobal sets the value of the Global field in InitScriptEventDetails.

func (*InitScriptEventDetails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InitScriptEventDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitScriptEventDetails)

func (*InitScriptEventDetails) SyncFieldsDuringRead added in v1.86.0

func (to *InitScriptEventDetails) SyncFieldsDuringRead(ctx context.Context, from InitScriptEventDetails)

func (InitScriptEventDetails) 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, InitScriptEventDetails only implements ToObjectValue() and Type().

func (InitScriptEventDetails) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InitScriptEventDetails_SdkV2 added in v1.62.1

type InitScriptEventDetails_SdkV2 struct {
	// The cluster scoped init scripts associated with this cluster event.
	Cluster types.List `tfsdk:"cluster"`
	// The global init scripts associated with this cluster event.
	Global types.List `tfsdk:"global"`
	// The private ip of the node we are reporting init script execution details
	// for (we will select the execution details from only one node rather than
	// reporting the execution details from every node to keep these event
	// details small)
	//
	// This should only be defined for the INIT_SCRIPTS_FINISHED event
	ReportedForNode types.String `tfsdk:"reported_for_node"`
}

func (InitScriptEventDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*InitScriptEventDetails_SdkV2) GetCluster added in v1.62.1

GetCluster returns the value of the Cluster field in InitScriptEventDetails_SdkV2 as a slice of InitScriptInfoAndExecutionDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (InitScriptEventDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InitScriptEventDetails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptEventDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InitScriptEventDetails_SdkV2) GetGlobal added in v1.62.1

GetGlobal returns the value of the Global field in InitScriptEventDetails_SdkV2 as a slice of InitScriptInfoAndExecutionDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*InitScriptEventDetails_SdkV2) SetCluster added in v1.62.1

SetCluster sets the value of the Cluster field in InitScriptEventDetails_SdkV2.

func (*InitScriptEventDetails_SdkV2) SetGlobal added in v1.62.1

SetGlobal sets the value of the Global field in InitScriptEventDetails_SdkV2.

func (*InitScriptEventDetails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InitScriptEventDetails_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitScriptEventDetails_SdkV2)

func (*InitScriptEventDetails_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InitScriptEventDetails_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InitScriptEventDetails_SdkV2)

func (InitScriptEventDetails_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptEventDetails_SdkV2 only implements ToObjectValue() and Type().

func (InitScriptEventDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InitScriptInfo

type InitScriptInfo struct {
	// destination needs to be provided, e.g.
	// `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`
	Abfss types.Object `tfsdk:"abfss"`
	// destination needs to be provided. e.g. `{ "dbfs": { "destination" :
	// "dbfs:/home/cluster_log" } }`
	Dbfs types.Object `tfsdk:"dbfs"`
	// destination needs to be provided, e.g. `{ "file": { "destination":
	// "file:/my/local/file.sh" } }`
	File types.Object `tfsdk:"file"`
	// destination needs to be provided, e.g. `{ "gcs": { "destination":
	// "gs://my-bucket/file.sh" } }`
	Gcs types.Object `tfsdk:"gcs"`
	// destination and either the region or endpoint need to be provided. e.g.
	// `{ \"s3\": { \"destination\": \"s3://cluster_log_bucket/prefix\",
	// \"region\": \"us-west-2\" } }` Cluster iam role is used to access s3,
	// please make sure the cluster iam role in `instance_profile_arn` has
	// permission to write data to the s3 destination.
	S3 types.Object `tfsdk:"s3"`
	// destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\"
	// : \"/Volumes/my-init.sh\" } }`
	Volumes types.Object `tfsdk:"volumes"`
	// destination needs to be provided, e.g. `{ "workspace": { "destination":
	// "/cluster-init-scripts/setup-datadog.sh" } }`
	Workspace types.Object `tfsdk:"workspace"`
}

Config for an individual init script

func (InitScriptInfo) ApplySchemaCustomizations added in v1.63.0

func (m InitScriptInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*InitScriptInfo) GetAbfss added in v1.61.0

func (m *InitScriptInfo) GetAbfss(ctx context.Context) (Adlsgen2Info, bool)

GetAbfss returns the value of the Abfss field in InitScriptInfo as a Adlsgen2Info value. If the field is unknown or null, the boolean return value is false.

func (InitScriptInfo) GetComplexFieldTypes added in v1.61.0

func (m InitScriptInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InitScriptInfo) GetDbfs added in v1.61.0

func (m *InitScriptInfo) GetDbfs(ctx context.Context) (DbfsStorageInfo, bool)

GetDbfs returns the value of the Dbfs field in InitScriptInfo as a DbfsStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo) GetFile added in v1.61.0

func (m *InitScriptInfo) GetFile(ctx context.Context) (LocalFileInfo, bool)

GetFile returns the value of the File field in InitScriptInfo as a LocalFileInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo) GetGcs added in v1.61.0

func (m *InitScriptInfo) GetGcs(ctx context.Context) (GcsStorageInfo, bool)

GetGcs returns the value of the Gcs field in InitScriptInfo as a GcsStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo) GetS3 added in v1.61.0

func (m *InitScriptInfo) GetS3(ctx context.Context) (S3StorageInfo, bool)

GetS3 returns the value of the S3 field in InitScriptInfo as a S3StorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo) GetVolumes added in v1.61.0

func (m *InitScriptInfo) GetVolumes(ctx context.Context) (VolumesStorageInfo, bool)

GetVolumes returns the value of the Volumes field in InitScriptInfo as a VolumesStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo) GetWorkspace added in v1.61.0

func (m *InitScriptInfo) GetWorkspace(ctx context.Context) (WorkspaceStorageInfo, bool)

GetWorkspace returns the value of the Workspace field in InitScriptInfo as a WorkspaceStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo) SetAbfss added in v1.61.0

func (m *InitScriptInfo) SetAbfss(ctx context.Context, v Adlsgen2Info)

SetAbfss sets the value of the Abfss field in InitScriptInfo.

func (*InitScriptInfo) SetDbfs added in v1.61.0

func (m *InitScriptInfo) SetDbfs(ctx context.Context, v DbfsStorageInfo)

SetDbfs sets the value of the Dbfs field in InitScriptInfo.

func (*InitScriptInfo) SetFile added in v1.61.0

func (m *InitScriptInfo) SetFile(ctx context.Context, v LocalFileInfo)

SetFile sets the value of the File field in InitScriptInfo.

func (*InitScriptInfo) SetGcs added in v1.61.0

func (m *InitScriptInfo) SetGcs(ctx context.Context, v GcsStorageInfo)

SetGcs sets the value of the Gcs field in InitScriptInfo.

func (*InitScriptInfo) SetS3 added in v1.61.0

func (m *InitScriptInfo) SetS3(ctx context.Context, v S3StorageInfo)

SetS3 sets the value of the S3 field in InitScriptInfo.

func (*InitScriptInfo) SetVolumes added in v1.61.0

func (m *InitScriptInfo) SetVolumes(ctx context.Context, v VolumesStorageInfo)

SetVolumes sets the value of the Volumes field in InitScriptInfo.

func (*InitScriptInfo) SetWorkspace added in v1.61.0

func (m *InitScriptInfo) SetWorkspace(ctx context.Context, v WorkspaceStorageInfo)

SetWorkspace sets the value of the Workspace field in InitScriptInfo.

func (*InitScriptInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InitScriptInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitScriptInfo)

func (*InitScriptInfo) SyncFieldsDuringRead added in v1.86.0

func (to *InitScriptInfo) SyncFieldsDuringRead(ctx context.Context, from InitScriptInfo)

func (InitScriptInfo) ToObjectValue added in v1.61.0

func (m InitScriptInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfo only implements ToObjectValue() and Type().

func (InitScriptInfo) Type added in v1.61.0

func (m InitScriptInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type InitScriptInfoAndExecutionDetails

type InitScriptInfoAndExecutionDetails struct {
	// destination needs to be provided, e.g.
	// `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`
	Abfss types.Object `tfsdk:"abfss"`
	// destination needs to be provided. e.g. `{ "dbfs": { "destination" :
	// "dbfs:/home/cluster_log" } }`
	Dbfs types.Object `tfsdk:"dbfs"`
	// Additional details regarding errors (such as a file not found message if
	// the status is FAILED_FETCH). This field should only be used to provide
	// *additional* information to the status field, not duplicate it.
	ErrorMessage types.String `tfsdk:"error_message"`
	// The number duration of the script execution in seconds
	ExecutionDurationSeconds types.Int64 `tfsdk:"execution_duration_seconds"`
	// destination needs to be provided, e.g. `{ "file": { "destination":
	// "file:/my/local/file.sh" } }`
	File types.Object `tfsdk:"file"`
	// destination needs to be provided, e.g. `{ "gcs": { "destination":
	// "gs://my-bucket/file.sh" } }`
	Gcs types.Object `tfsdk:"gcs"`
	// destination and either the region or endpoint need to be provided. e.g.
	// `{ \"s3\": { \"destination\": \"s3://cluster_log_bucket/prefix\",
	// \"region\": \"us-west-2\" } }` Cluster iam role is used to access s3,
	// please make sure the cluster iam role in `instance_profile_arn` has
	// permission to write data to the s3 destination.
	S3 types.Object `tfsdk:"s3"`
	// The current status of the script
	Status types.String `tfsdk:"status"`
	// The stderr output from the init script execution. Only populated when
	// init scripts debug is enabled and script execution fails.
	Stderr types.String `tfsdk:"stderr"`
	// destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\"
	// : \"/Volumes/my-init.sh\" } }`
	Volumes types.Object `tfsdk:"volumes"`
	// destination needs to be provided, e.g. `{ "workspace": { "destination":
	// "/cluster-init-scripts/setup-datadog.sh" } }`
	Workspace types.Object `tfsdk:"workspace"`
}

func (InitScriptInfoAndExecutionDetails) ApplySchemaCustomizations added in v1.63.0

func (*InitScriptInfoAndExecutionDetails) GetAbfss added in v1.71.0

GetAbfss returns the value of the Abfss field in InitScriptInfoAndExecutionDetails as a Adlsgen2Info value. If the field is unknown or null, the boolean return value is false.

func (InitScriptInfoAndExecutionDetails) GetComplexFieldTypes added in v1.61.0

func (m InitScriptInfoAndExecutionDetails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfoAndExecutionDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InitScriptInfoAndExecutionDetails) GetDbfs added in v1.71.0

GetDbfs returns the value of the Dbfs field in InitScriptInfoAndExecutionDetails as a DbfsStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) GetFile added in v1.71.0

GetFile returns the value of the File field in InitScriptInfoAndExecutionDetails as a LocalFileInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) GetGcs added in v1.71.0

GetGcs returns the value of the Gcs field in InitScriptInfoAndExecutionDetails as a GcsStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) GetS3 added in v1.71.0

GetS3 returns the value of the S3 field in InitScriptInfoAndExecutionDetails as a S3StorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) GetVolumes added in v1.71.0

GetVolumes returns the value of the Volumes field in InitScriptInfoAndExecutionDetails as a VolumesStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) GetWorkspace added in v1.71.0

GetWorkspace returns the value of the Workspace field in InitScriptInfoAndExecutionDetails as a WorkspaceStorageInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) SetAbfss added in v1.71.0

SetAbfss sets the value of the Abfss field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetDbfs added in v1.71.0

SetDbfs sets the value of the Dbfs field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetFile added in v1.71.0

SetFile sets the value of the File field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetGcs added in v1.71.0

SetGcs sets the value of the Gcs field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetS3 added in v1.71.0

SetS3 sets the value of the S3 field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetVolumes added in v1.71.0

SetVolumes sets the value of the Volumes field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetWorkspace added in v1.71.0

SetWorkspace sets the value of the Workspace field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InitScriptInfoAndExecutionDetails) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitScriptInfoAndExecutionDetails)

func (*InitScriptInfoAndExecutionDetails) SyncFieldsDuringRead added in v1.86.0

func (InitScriptInfoAndExecutionDetails) 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, InitScriptInfoAndExecutionDetails only implements ToObjectValue() and Type().

func (InitScriptInfoAndExecutionDetails) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InitScriptInfoAndExecutionDetails_SdkV2 added in v1.62.1

type InitScriptInfoAndExecutionDetails_SdkV2 struct {
	// destination needs to be provided, e.g.
	// `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`
	Abfss types.List `tfsdk:"abfss"`
	// destination needs to be provided. e.g. `{ "dbfs": { "destination" :
	// "dbfs:/home/cluster_log" } }`
	Dbfs types.List `tfsdk:"dbfs"`
	// Additional details regarding errors (such as a file not found message if
	// the status is FAILED_FETCH). This field should only be used to provide
	// *additional* information to the status field, not duplicate it.
	ErrorMessage types.String `tfsdk:"error_message"`
	// The number duration of the script execution in seconds
	ExecutionDurationSeconds types.Int64 `tfsdk:"execution_duration_seconds"`
	// destination needs to be provided, e.g. `{ "file": { "destination":
	// "file:/my/local/file.sh" } }`
	File types.List `tfsdk:"file"`
	// destination needs to be provided, e.g. `{ "gcs": { "destination":
	// "gs://my-bucket/file.sh" } }`
	Gcs types.List `tfsdk:"gcs"`
	// destination and either the region or endpoint need to be provided. e.g.
	// `{ \"s3\": { \"destination\": \"s3://cluster_log_bucket/prefix\",
	// \"region\": \"us-west-2\" } }` Cluster iam role is used to access s3,
	// please make sure the cluster iam role in `instance_profile_arn` has
	// permission to write data to the s3 destination.
	S3 types.List `tfsdk:"s3"`
	// The current status of the script
	Status types.String `tfsdk:"status"`
	// The stderr output from the init script execution. Only populated when
	// init scripts debug is enabled and script execution fails.
	Stderr types.String `tfsdk:"stderr"`
	// destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\"
	// : \"/Volumes/my-init.sh\" } }`
	Volumes types.List `tfsdk:"volumes"`
	// destination needs to be provided, e.g. `{ "workspace": { "destination":
	// "/cluster-init-scripts/setup-datadog.sh" } }`
	Workspace types.List `tfsdk:"workspace"`
}

func (InitScriptInfoAndExecutionDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetAbfss added in v1.71.0

GetAbfss returns the value of the Abfss field in InitScriptInfoAndExecutionDetails_SdkV2 as a Adlsgen2Info_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (InitScriptInfoAndExecutionDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfoAndExecutionDetails. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetDbfs added in v1.71.0

GetDbfs returns the value of the Dbfs field in InitScriptInfoAndExecutionDetails_SdkV2 as a DbfsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetFile added in v1.71.0

GetFile returns the value of the File field in InitScriptInfoAndExecutionDetails_SdkV2 as a LocalFileInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetGcs added in v1.71.0

GetGcs returns the value of the Gcs field in InitScriptInfoAndExecutionDetails_SdkV2 as a GcsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetS3 added in v1.71.0

GetS3 returns the value of the S3 field in InitScriptInfoAndExecutionDetails_SdkV2 as a S3StorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetVolumes added in v1.71.0

GetVolumes returns the value of the Volumes field in InitScriptInfoAndExecutionDetails_SdkV2 as a VolumesStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetWorkspace added in v1.71.0

GetWorkspace returns the value of the Workspace field in InitScriptInfoAndExecutionDetails_SdkV2 as a WorkspaceStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetAbfss added in v1.71.0

SetAbfss sets the value of the Abfss field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetDbfs added in v1.71.0

SetDbfs sets the value of the Dbfs field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetFile added in v1.71.0

SetFile sets the value of the File field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetGcs added in v1.71.0

SetGcs sets the value of the Gcs field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetS3 added in v1.71.0

SetS3 sets the value of the S3 field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetVolumes added in v1.71.0

SetVolumes sets the value of the Volumes field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetWorkspace added in v1.71.0

SetWorkspace sets the value of the Workspace field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*InitScriptInfoAndExecutionDetails_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InitScriptInfoAndExecutionDetails_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfoAndExecutionDetails_SdkV2 only implements ToObjectValue() and Type().

func (InitScriptInfoAndExecutionDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InitScriptInfo_SdkV2 added in v1.62.1

type InitScriptInfo_SdkV2 struct {
	// destination needs to be provided, e.g.
	// `abfss://<container-name>@<storage-account-name>.dfs.core.windows.net/<directory-name>`
	Abfss types.List `tfsdk:"abfss"`
	// destination needs to be provided. e.g. `{ "dbfs": { "destination" :
	// "dbfs:/home/cluster_log" } }`
	Dbfs types.List `tfsdk:"dbfs"`
	// destination needs to be provided, e.g. `{ "file": { "destination":
	// "file:/my/local/file.sh" } }`
	File types.List `tfsdk:"file"`
	// destination needs to be provided, e.g. `{ "gcs": { "destination":
	// "gs://my-bucket/file.sh" } }`
	Gcs types.List `tfsdk:"gcs"`
	// destination and either the region or endpoint need to be provided. e.g.
	// `{ \"s3\": { \"destination\": \"s3://cluster_log_bucket/prefix\",
	// \"region\": \"us-west-2\" } }` Cluster iam role is used to access s3,
	// please make sure the cluster iam role in `instance_profile_arn` has
	// permission to write data to the s3 destination.
	S3 types.List `tfsdk:"s3"`
	// destination needs to be provided. e.g. `{ \"volumes\" : { \"destination\"
	// : \"/Volumes/my-init.sh\" } }`
	Volumes types.List `tfsdk:"volumes"`
	// destination needs to be provided, e.g. `{ "workspace": { "destination":
	// "/cluster-init-scripts/setup-datadog.sh" } }`
	Workspace types.List `tfsdk:"workspace"`
}

Config for an individual init script

func (InitScriptInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m InitScriptInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*InitScriptInfo_SdkV2) GetAbfss added in v1.62.1

GetAbfss returns the value of the Abfss field in InitScriptInfo_SdkV2 as a Adlsgen2Info_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (InitScriptInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InitScriptInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InitScriptInfo_SdkV2) GetDbfs added in v1.62.1

GetDbfs returns the value of the Dbfs field in InitScriptInfo_SdkV2 as a DbfsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo_SdkV2) GetFile added in v1.62.1

GetFile returns the value of the File field in InitScriptInfo_SdkV2 as a LocalFileInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo_SdkV2) GetGcs added in v1.62.1

GetGcs returns the value of the Gcs field in InitScriptInfo_SdkV2 as a GcsStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo_SdkV2) GetS3 added in v1.62.1

GetS3 returns the value of the S3 field in InitScriptInfo_SdkV2 as a S3StorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo_SdkV2) GetVolumes added in v1.62.1

GetVolumes returns the value of the Volumes field in InitScriptInfo_SdkV2 as a VolumesStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo_SdkV2) GetWorkspace added in v1.62.1

GetWorkspace returns the value of the Workspace field in InitScriptInfo_SdkV2 as a WorkspaceStorageInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfo_SdkV2) SetAbfss added in v1.62.1

SetAbfss sets the value of the Abfss field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SetDbfs added in v1.62.1

SetDbfs sets the value of the Dbfs field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SetFile added in v1.62.1

SetFile sets the value of the File field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SetGcs added in v1.62.1

SetGcs sets the value of the Gcs field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SetS3 added in v1.62.1

SetS3 sets the value of the S3 field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SetVolumes added in v1.62.1

SetVolumes sets the value of the Volumes field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SetWorkspace added in v1.62.1

SetWorkspace sets the value of the Workspace field in InitScriptInfo_SdkV2.

func (*InitScriptInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InitScriptInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InitScriptInfo_SdkV2)

func (*InitScriptInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InitScriptInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InitScriptInfo_SdkV2)

func (InitScriptInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InitScriptInfo_SdkV2 only implements ToObjectValue() and Type().

func (InitScriptInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstallLibraries

type InstallLibraries struct {
	// Unique identifier for the cluster on which to install these libraries.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The libraries to install.
	Libraries types.List `tfsdk:"libraries"`
}

func (InstallLibraries) ApplySchemaCustomizations added in v1.63.0

func (m InstallLibraries) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstallLibraries) GetComplexFieldTypes added in v1.61.0

func (m InstallLibraries) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstallLibraries) GetLibraries added in v1.61.0

func (m *InstallLibraries) GetLibraries(ctx context.Context) ([]Library, bool)

GetLibraries returns the value of the Libraries field in InstallLibraries as a slice of Library values. If the field is unknown or null, the boolean return value is false.

func (*InstallLibraries) SetLibraries added in v1.61.0

func (m *InstallLibraries) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in InstallLibraries.

func (*InstallLibraries) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *InstallLibraries) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstallLibraries)

func (*InstallLibraries) SyncFieldsDuringRead added in v1.91.0

func (to *InstallLibraries) SyncFieldsDuringRead(ctx context.Context, from InstallLibraries)

func (InstallLibraries) ToObjectValue added in v1.61.0

func (m InstallLibraries) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibraries only implements ToObjectValue() and Type().

func (InstallLibraries) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstallLibrariesResponse

type InstallLibrariesResponse struct {
}

func (InstallLibrariesResponse) ApplySchemaCustomizations added in v1.63.0

func (m InstallLibrariesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstallLibrariesResponse) GetComplexFieldTypes added in v1.61.0

func (m InstallLibrariesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstallLibrariesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstallLibrariesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstallLibrariesResponse)

func (*InstallLibrariesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *InstallLibrariesResponse) SyncFieldsDuringRead(ctx context.Context, from InstallLibrariesResponse)

func (InstallLibrariesResponse) 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, InstallLibrariesResponse only implements ToObjectValue() and Type().

func (InstallLibrariesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstallLibrariesResponse_SdkV2 added in v1.62.1

type InstallLibrariesResponse_SdkV2 struct {
}

func (InstallLibrariesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstallLibrariesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstallLibrariesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstallLibrariesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstallLibrariesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstallLibrariesResponse_SdkV2)

func (*InstallLibrariesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstallLibrariesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibrariesResponse_SdkV2 only implements ToObjectValue() and Type().

func (InstallLibrariesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstallLibraries_SdkV2 added in v1.62.1

type InstallLibraries_SdkV2 struct {
	// Unique identifier for the cluster on which to install these libraries.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The libraries to install.
	Libraries types.List `tfsdk:"libraries"`
}

func (InstallLibraries_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m InstallLibraries_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstallLibraries_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstallLibraries_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstallLibraries_SdkV2) GetLibraries added in v1.62.1

func (m *InstallLibraries_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)

GetLibraries returns the value of the Libraries field in InstallLibraries_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*InstallLibraries_SdkV2) SetLibraries added in v1.62.1

func (m *InstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in InstallLibraries_SdkV2.

func (*InstallLibraries_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *InstallLibraries_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstallLibraries_SdkV2)

func (*InstallLibraries_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *InstallLibraries_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstallLibraries_SdkV2)

func (InstallLibraries_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstallLibraries_SdkV2 only implements ToObjectValue() and Type().

func (InstallLibraries_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolAccessControlRequest

type InstancePoolAccessControlRequest struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (InstancePoolAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAccessControlRequest) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolAccessControlRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAccessControlRequest) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAccessControlRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAccessControlRequest)

func (*InstancePoolAccessControlRequest) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolAccessControlRequest) 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, InstancePoolAccessControlRequest only implements ToObjectValue() and Type().

func (InstancePoolAccessControlRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolAccessControlRequest_SdkV2 added in v1.62.1

type InstancePoolAccessControlRequest_SdkV2 struct {
	// name of the group
	GroupName types.String `tfsdk:"group_name"`

	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (InstancePoolAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolAccessControlRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAccessControlRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*InstancePoolAccessControlRequest_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolAccessControlRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAccessControlRequest_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolAccessControlRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolAccessControlResponse

type InstancePoolAccessControlResponse 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 (InstancePoolAccessControlResponse) ApplySchemaCustomizations added in v1.63.0

func (*InstancePoolAccessControlResponse) GetAllPermissions added in v1.61.0

GetAllPermissions returns the value of the AllPermissions field in InstancePoolAccessControlResponse as a slice of InstancePoolPermission values. If the field is unknown or null, the boolean return value is false.

func (InstancePoolAccessControlResponse) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolAccessControlResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAccessControlResponse) SetAllPermissions added in v1.61.0

SetAllPermissions sets the value of the AllPermissions field in InstancePoolAccessControlResponse.

func (*InstancePoolAccessControlResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAccessControlResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAccessControlResponse)

func (*InstancePoolAccessControlResponse) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolAccessControlResponse) 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, InstancePoolAccessControlResponse only implements ToObjectValue() and Type().

func (InstancePoolAccessControlResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolAccessControlResponse_SdkV2 added in v1.62.1

type InstancePoolAccessControlResponse_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 (InstancePoolAccessControlResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*InstancePoolAccessControlResponse_SdkV2) GetAllPermissions added in v1.62.1

GetAllPermissions returns the value of the AllPermissions field in InstancePoolAccessControlResponse_SdkV2 as a slice of InstancePoolPermission_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (InstancePoolAccessControlResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAccessControlResponse_SdkV2) SetAllPermissions added in v1.62.1

SetAllPermissions sets the value of the AllPermissions field in InstancePoolAccessControlResponse_SdkV2.

func (*InstancePoolAccessControlResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*InstancePoolAccessControlResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolAccessControlResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAccessControlResponse_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolAccessControlResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolAndStats

type InstancePoolAndStats struct {
	// Attributes related to instance pools running on Amazon Web Services. If
	// not specified at pool creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to instance pools running on Azure. If not specified
	// at pool creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Tags that are added by Databricks regardless of any “custom_tags“,
	// including:
	//
	// - Vendor: Databricks
	//
	// - InstancePoolCreator: <user_id_of_creator>
	//
	// - InstancePoolName: <name_of_pool>
	//
	// - InstancePoolId: <id_of_pool>
	DefaultTags types.Map `tfsdk:"default_tags"`
	// Defines the specification of the disks that will be attached to all spark
	// containers.
	DiskSpec types.Object `tfsdk:"disk_spec"`
	// Autoscaling Local Storage: when enabled, this instances in this pool will
	// dynamically acquire additional disk space when its Spark workers are
	// running low on disk space. In AWS, this feature requires specific AWS
	// permissions to function correctly - refer to the User Guide for more
	// details.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Attributes related to instance pools running on Google Cloud Platform. If
	// not specified at pool creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Canonical unique identifier for the pool.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// Flexible node type configuration for the pool.
	NodeTypeFlexibility types.Object `tfsdk:"node_type_flexibility"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Custom Docker Image BYOC
	PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"`
	// A list containing at most one preloaded Spark image version for the pool.
	// Pool-backed clusters started with the preloaded Spark version will start
	// faster. A list of available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Current state of the instance pool.
	State types.String `tfsdk:"state"`
	// Usage statistics about the instance pool.
	Stats types.Object `tfsdk:"stats"`
	// Status of failed pending instances in the pool.
	Status types.Object `tfsdk:"status"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (InstancePoolAndStats) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolAndStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*InstancePoolAndStats) GetAwsAttributes added in v1.61.0

GetAwsAttributes returns the value of the AwsAttributes field in InstancePoolAndStats as a InstancePoolAwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetAzureAttributes added in v1.61.0

GetAzureAttributes returns the value of the AzureAttributes field in InstancePoolAndStats as a InstancePoolAzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (InstancePoolAndStats) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolAndStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAndStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAndStats) GetCustomTags added in v1.61.0

func (m *InstancePoolAndStats) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in InstancePoolAndStats as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetDefaultTags added in v1.61.0

func (m *InstancePoolAndStats) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)

GetDefaultTags returns the value of the DefaultTags field in InstancePoolAndStats as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetDiskSpec added in v1.61.0

func (m *InstancePoolAndStats) GetDiskSpec(ctx context.Context) (DiskSpec, bool)

GetDiskSpec returns the value of the DiskSpec field in InstancePoolAndStats as a DiskSpec value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetGcpAttributes added in v1.61.0

GetGcpAttributes returns the value of the GcpAttributes field in InstancePoolAndStats as a InstancePoolGcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetNodeTypeFlexibility added in v1.76.0

func (m *InstancePoolAndStats) GetNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetNodeTypeFlexibility returns the value of the NodeTypeFlexibility field in InstancePoolAndStats as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetPreloadedDockerImages added in v1.61.0

func (m *InstancePoolAndStats) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage, bool)

GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in InstancePoolAndStats as a slice of DockerImage values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetPreloadedSparkVersions added in v1.61.0

func (m *InstancePoolAndStats) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)

GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in InstancePoolAndStats as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetStats added in v1.61.0

GetStats returns the value of the Stats field in InstancePoolAndStats as a InstancePoolStats value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) GetStatus added in v1.61.0

GetStatus returns the value of the Status field in InstancePoolAndStats as a InstancePoolStatus value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats) SetAwsAttributes added in v1.61.0

func (m *InstancePoolAndStats) SetAwsAttributes(ctx context.Context, v InstancePoolAwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetAzureAttributes added in v1.61.0

func (m *InstancePoolAndStats) SetAzureAttributes(ctx context.Context, v InstancePoolAzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetCustomTags added in v1.61.0

func (m *InstancePoolAndStats) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetDefaultTags added in v1.61.0

func (m *InstancePoolAndStats) SetDefaultTags(ctx context.Context, v map[string]types.String)

SetDefaultTags sets the value of the DefaultTags field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetDiskSpec added in v1.61.0

func (m *InstancePoolAndStats) SetDiskSpec(ctx context.Context, v DiskSpec)

SetDiskSpec sets the value of the DiskSpec field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetGcpAttributes added in v1.61.0

func (m *InstancePoolAndStats) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetNodeTypeFlexibility added in v1.76.0

func (m *InstancePoolAndStats) SetNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetNodeTypeFlexibility sets the value of the NodeTypeFlexibility field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetPreloadedDockerImages added in v1.61.0

func (m *InstancePoolAndStats) SetPreloadedDockerImages(ctx context.Context, v []DockerImage)

SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetPreloadedSparkVersions added in v1.61.0

func (m *InstancePoolAndStats) SetPreloadedSparkVersions(ctx context.Context, v []types.String)

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetStats added in v1.61.0

SetStats sets the value of the Stats field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetStatus added in v1.61.0

SetStatus sets the value of the Status field in InstancePoolAndStats.

func (*InstancePoolAndStats) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAndStats) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAndStats)

func (*InstancePoolAndStats) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolAndStats) SyncFieldsDuringRead(ctx context.Context, from InstancePoolAndStats)

func (InstancePoolAndStats) 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, InstancePoolAndStats only implements ToObjectValue() and Type().

func (InstancePoolAndStats) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolAndStats_SdkV2 added in v1.62.1

type InstancePoolAndStats_SdkV2 struct {
	// Attributes related to instance pools running on Amazon Web Services. If
	// not specified at pool creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to instance pools running on Azure. If not specified
	// at pool creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// Additional tags for pool resources. Databricks will tag all pool
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	CustomTags types.Map `tfsdk:"custom_tags"`
	// Tags that are added by Databricks regardless of any “custom_tags“,
	// including:
	//
	// - Vendor: Databricks
	//
	// - InstancePoolCreator: <user_id_of_creator>
	//
	// - InstancePoolName: <name_of_pool>
	//
	// - InstancePoolId: <id_of_pool>
	DefaultTags types.Map `tfsdk:"default_tags"`
	// Defines the specification of the disks that will be attached to all spark
	// containers.
	DiskSpec types.List `tfsdk:"disk_spec"`
	// Autoscaling Local Storage: when enabled, this instances in this pool will
	// dynamically acquire additional disk space when its Spark workers are
	// running low on disk space. In AWS, this feature requires specific AWS
	// permissions to function correctly - refer to the User Guide for more
	// details.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Attributes related to instance pools running on Google Cloud Platform. If
	// not specified at pool creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// Automatically terminates the extra instances in the pool cache after they
	// are inactive for this time in minutes if min_idle_instances requirement
	// is already met. If not set, the extra pool instances will be
	// automatically terminated after a default timeout. If specified, the
	// threshold must be between 0 and 10000 minutes. Users can also set this
	// value to 0 to instantly remove idle instances from the cache if min cache
	// size could still hold.
	IdleInstanceAutoterminationMinutes types.Int64 `tfsdk:"idle_instance_autotermination_minutes"`
	// Canonical unique identifier for the pool.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// Pool name requested by the user. Pool name must be unique. Length must be
	// between 1 and 100 characters.
	InstancePoolName types.String `tfsdk:"instance_pool_name"`
	// Maximum number of outstanding instances to keep in the pool, including
	// both instances used by clusters and idle instances. Clusters that require
	// further instance provisioning will fail during upsize requests.
	MaxCapacity types.Int64 `tfsdk:"max_capacity"`
	// Minimum number of idle instances to keep in the instance pool
	MinIdleInstances types.Int64 `tfsdk:"min_idle_instances"`
	// Flexible node type configuration for the pool.
	NodeTypeFlexibility types.List `tfsdk:"node_type_flexibility"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Custom Docker Image BYOC
	PreloadedDockerImages types.List `tfsdk:"preloaded_docker_images"`
	// A list containing at most one preloaded Spark image version for the pool.
	// Pool-backed clusters started with the preloaded Spark version will start
	// faster. A list of available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED types.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Current state of the instance pool.
	State types.String `tfsdk:"state"`
	// Usage statistics about the instance pool.
	Stats types.List `tfsdk:"stats"`
	// Status of failed pending instances in the pool.
	Status types.List `tfsdk:"status"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED types.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
}

func (InstancePoolAndStats_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolAndStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*InstancePoolAndStats_SdkV2) GetAwsAttributes added in v1.62.1

GetAwsAttributes returns the value of the AwsAttributes field in InstancePoolAndStats_SdkV2 as a InstancePoolAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetAzureAttributes added in v1.62.1

GetAzureAttributes returns the value of the AzureAttributes field in InstancePoolAndStats_SdkV2 as a InstancePoolAzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (InstancePoolAndStats_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolAndStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAndStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAndStats_SdkV2) GetCustomTags added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in InstancePoolAndStats_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetDefaultTags added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) GetDefaultTags(ctx context.Context) (map[string]types.String, bool)

GetDefaultTags returns the value of the DefaultTags field in InstancePoolAndStats_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetDiskSpec added in v1.62.1

GetDiskSpec returns the value of the DiskSpec field in InstancePoolAndStats_SdkV2 as a DiskSpec_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetGcpAttributes added in v1.62.1

GetGcpAttributes returns the value of the GcpAttributes field in InstancePoolAndStats_SdkV2 as a InstancePoolGcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetNodeTypeFlexibility added in v1.76.0

func (m *InstancePoolAndStats_SdkV2) GetNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetNodeTypeFlexibility returns the value of the NodeTypeFlexibility field in InstancePoolAndStats_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetPreloadedDockerImages added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) GetPreloadedDockerImages(ctx context.Context) ([]DockerImage_SdkV2, bool)

GetPreloadedDockerImages returns the value of the PreloadedDockerImages field in InstancePoolAndStats_SdkV2 as a slice of DockerImage_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetPreloadedSparkVersions added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) GetPreloadedSparkVersions(ctx context.Context) ([]types.String, bool)

GetPreloadedSparkVersions returns the value of the PreloadedSparkVersions field in InstancePoolAndStats_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetStats added in v1.62.1

GetStats returns the value of the Stats field in InstancePoolAndStats_SdkV2 as a InstancePoolStats_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) GetStatus added in v1.62.1

GetStatus returns the value of the Status field in InstancePoolAndStats_SdkV2 as a InstancePoolStatus_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolAndStats_SdkV2) SetAwsAttributes added in v1.62.1

SetAwsAttributes sets the value of the AwsAttributes field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetAzureAttributes added in v1.62.1

SetAzureAttributes sets the value of the AzureAttributes field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetCustomTags added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetDefaultTags added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) SetDefaultTags(ctx context.Context, v map[string]types.String)

SetDefaultTags sets the value of the DefaultTags field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetDiskSpec added in v1.62.1

SetDiskSpec sets the value of the DiskSpec field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetGcpAttributes added in v1.62.1

SetGcpAttributes sets the value of the GcpAttributes field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetNodeTypeFlexibility added in v1.76.0

func (m *InstancePoolAndStats_SdkV2) SetNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetNodeTypeFlexibility sets the value of the NodeTypeFlexibility field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetPreloadedDockerImages added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) SetPreloadedDockerImages(ctx context.Context, v []DockerImage_SdkV2)

SetPreloadedDockerImages sets the value of the PreloadedDockerImages field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetPreloadedSparkVersions added in v1.62.1

func (m *InstancePoolAndStats_SdkV2) SetPreloadedSparkVersions(ctx context.Context, v []types.String)

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetStats added in v1.62.1

SetStats sets the value of the Stats field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SetStatus added in v1.62.1

SetStatus sets the value of the Status field in InstancePoolAndStats_SdkV2.

func (*InstancePoolAndStats_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAndStats_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAndStats_SdkV2)

func (*InstancePoolAndStats_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolAndStats_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstancePoolAndStats_SdkV2)

func (InstancePoolAndStats_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAndStats_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolAndStats_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolAwsAttributes

type InstancePoolAwsAttributes struct {
	// Availability type used for the spot nodes.
	Availability types.String `tfsdk:"availability"`
	// All AWS instances belonging to the instance pool will have this instance
	// profile. If omitted, instances will initially be launched with the
	// workspace's default instance profile. If defined, clusters that use the
	// pool will inherit the instance profile, and must not specify their own
	// instance profile on cluster creation or update. If the pool does not
	// specify an instance profile, clusters using the pool may specify any
	// instance profile. The instance profile must have previously been added to
	// the Databricks environment by an account administrator.
	//
	// This feature may only be available to certain customer plans.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Calculates the bid price for AWS spot instances, as a percentage of the
	// corresponding instance type's on-demand price. For example, if this field
	// is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then
	// the bid price is half of the price of on-demand `r3.xlarge` instances.
	// Similarly, if this field is set to 200, the bid price is twice the price
	// of on-demand `r3.xlarge` instances. If not specified, the default value
	// is 100. When spot instances are requested for this cluster, only spot
	// instances whose bid price percentage matches this field will be
	// considered. Note that, for safety, we enforce this field to be no more
	// than 10000.
	SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"`
	// Identifier for the availability zone/datacenter in which the cluster
	// resides. This string will be of a form like "us-west-2a". The provided
	// availability zone must be in the same region as the Databricks
	// deployment. For example, "us-west-2a" is not a valid zone id if the
	// Databricks deployment resides in the "us-east-1" region. This is an
	// optional field at cluster creation, and if not specified, a default zone
	// will be used. The list of available zones as well as the default value
	// can be found by using the `List Zones` method.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during instance pool creation which are related to Amazon Web Services.

func (InstancePoolAwsAttributes) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolAwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolAwsAttributes) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolAwsAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAwsAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAwsAttributes) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAwsAttributes)

func (*InstancePoolAwsAttributes) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolAwsAttributes) SyncFieldsDuringRead(ctx context.Context, from InstancePoolAwsAttributes)

func (InstancePoolAwsAttributes) 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, InstancePoolAwsAttributes only implements ToObjectValue() and Type().

func (InstancePoolAwsAttributes) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolAwsAttributes_SdkV2 added in v1.62.1

type InstancePoolAwsAttributes_SdkV2 struct {
	// Availability type used for the spot nodes.
	Availability types.String `tfsdk:"availability"`
	// All AWS instances belonging to the instance pool will have this instance
	// profile. If omitted, instances will initially be launched with the
	// workspace's default instance profile. If defined, clusters that use the
	// pool will inherit the instance profile, and must not specify their own
	// instance profile on cluster creation or update. If the pool does not
	// specify an instance profile, clusters using the pool may specify any
	// instance profile. The instance profile must have previously been added to
	// the Databricks environment by an account administrator.
	//
	// This feature may only be available to certain customer plans.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Calculates the bid price for AWS spot instances, as a percentage of the
	// corresponding instance type's on-demand price. For example, if this field
	// is set to 50, and the cluster needs a new `r3.xlarge` spot instance, then
	// the bid price is half of the price of on-demand `r3.xlarge` instances.
	// Similarly, if this field is set to 200, the bid price is twice the price
	// of on-demand `r3.xlarge` instances. If not specified, the default value
	// is 100. When spot instances are requested for this cluster, only spot
	// instances whose bid price percentage matches this field will be
	// considered. Note that, for safety, we enforce this field to be no more
	// than 10000.
	SpotBidPricePercent types.Int64 `tfsdk:"spot_bid_price_percent"`
	// Identifier for the availability zone/datacenter in which the cluster
	// resides. This string will be of a form like "us-west-2a". The provided
	// availability zone must be in the same region as the Databricks
	// deployment. For example, "us-west-2a" is not a valid zone id if the
	// Databricks deployment resides in the "us-east-1" region. This is an
	// optional field at cluster creation, and if not specified, a default zone
	// will be used. The list of available zones as well as the default value
	// can be found by using the `List Zones` method.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during instance pool creation which are related to Amazon Web Services.

func (InstancePoolAwsAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAwsAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolAwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAwsAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAwsAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAwsAttributes_SdkV2)

func (*InstancePoolAwsAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolAwsAttributes_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAwsAttributes_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolAwsAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolAzureAttributes

type InstancePoolAzureAttributes struct {
	// Availability type used for the spot nodes.
	Availability types.String `tfsdk:"availability"`
	// The Azure capacity reservation group resource ID to use for launching VMs
	// in this pool. When specified, VMs will be launched using the provided
	// capacity reservation.
	//
	// NOTE: Omitting this field will clear any existing configured capacity
	// reservation group on the pool.
	//
	// Capacity reservations can only be specified when the workspace uses
	// injected vnet (i.e. customer defined vnet not managed by databricks).
	// Ensure the databricks-login-prod Enterprise Application is granted the
	// following four permissions: 1.
	// Microsoft.Compute/capacityReservationGroups/read 2.
	// Microsoft.Compute/capacityReservationGroups/deploy/action 3.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/read 4.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/deploy/action
	//
	// Format:
	// `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}`
	CapacityReservationGroup types.String `tfsdk:"capacity_reservation_group"`
	// With variable pricing, you have option to set a max price, in US dollars
	// (USD) For example, the value 2 would be a max price of $2.00 USD per
	// hour. If you set the max price to be -1, the VM won't be evicted based on
	// price. The price for the VM will be the current price for spot or the
	// price for a standard VM, which ever is less, as long as there is capacity
	// and quota available.
	SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"`
}

Attributes set during instance pool creation which are related to Azure.

func (InstancePoolAzureAttributes) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolAzureAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolAzureAttributes) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolAzureAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAzureAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAzureAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAzureAttributes) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAzureAttributes)

func (*InstancePoolAzureAttributes) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolAzureAttributes) SyncFieldsDuringRead(ctx context.Context, from InstancePoolAzureAttributes)

func (InstancePoolAzureAttributes) 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, InstancePoolAzureAttributes only implements ToObjectValue() and Type().

func (InstancePoolAzureAttributes) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolAzureAttributes_SdkV2 added in v1.62.1

type InstancePoolAzureAttributes_SdkV2 struct {
	// Availability type used for the spot nodes.
	Availability types.String `tfsdk:"availability"`
	// The Azure capacity reservation group resource ID to use for launching VMs
	// in this pool. When specified, VMs will be launched using the provided
	// capacity reservation.
	//
	// NOTE: Omitting this field will clear any existing configured capacity
	// reservation group on the pool.
	//
	// Capacity reservations can only be specified when the workspace uses
	// injected vnet (i.e. customer defined vnet not managed by databricks).
	// Ensure the databricks-login-prod Enterprise Application is granted the
	// following four permissions: 1.
	// Microsoft.Compute/capacityReservationGroups/read 2.
	// Microsoft.Compute/capacityReservationGroups/deploy/action 3.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/read 4.
	// Microsoft.Compute/capacityReservationGroups/capacityReservations/deploy/action
	//
	// Format:
	// `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}`
	CapacityReservationGroup types.String `tfsdk:"capacity_reservation_group"`
	// With variable pricing, you have option to set a max price, in US dollars
	// (USD) For example, the value 2 would be a max price of $2.00 USD per
	// hour. If you set the max price to be -1, the VM won't be evicted based on
	// price. The price for the VM will be the current price for spot or the
	// price for a standard VM, which ever is less, as long as there is capacity
	// and quota available.
	SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"`
}

Attributes set during instance pool creation which are related to Azure.

func (InstancePoolAzureAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAzureAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolAzureAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAzureAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolAzureAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolAzureAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolAzureAttributes_SdkV2)

func (*InstancePoolAzureAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolAzureAttributes_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolAzureAttributes_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolAzureAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolGcpAttributes

type InstancePoolGcpAttributes struct {
	GcpAvailability types.String `tfsdk:"gcp_availability"`
	// If provided, each node in the instance pool will have this number of
	// local SSDs attached. Each local SSD is 375GB in size. Refer to [GCP
	// documentation] for the supported number of local SSDs for each instance
	// type.
	//
	// [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
	LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"`
	// Identifier for the availability zone/datacenter in which the cluster
	// resides. This string will be of a form like "us-west1-a". The provided
	// availability zone must be in the same region as the Databricks workspace.
	// For example, "us-west1-a" is not a valid zone id if the Databricks
	// workspace resides in the "us-east1" region. This is an optional field at
	// instance pool creation, and if not specified, a default zone will be
	// used.
	//
	// This field can be one of the following: - "HA" => High availability,
	// spread nodes across availability zones for a Databricks deployment region
	// - A GCP availability zone => Pick One of the available zones for (machine
	// type + region) from https://cloud.google.com/compute/docs/regions-zones
	// (e.g. "us-west1-a").
	//
	// If empty, Databricks picks an availability zone to schedule the cluster
	// on.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during instance pool creation which are related to GCP.

func (InstancePoolGcpAttributes) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolGcpAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolGcpAttributes) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolGcpAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolGcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolGcpAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolGcpAttributes) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolGcpAttributes)

func (*InstancePoolGcpAttributes) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolGcpAttributes) SyncFieldsDuringRead(ctx context.Context, from InstancePoolGcpAttributes)

func (InstancePoolGcpAttributes) 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, InstancePoolGcpAttributes only implements ToObjectValue() and Type().

func (InstancePoolGcpAttributes) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolGcpAttributes_SdkV2 added in v1.62.1

type InstancePoolGcpAttributes_SdkV2 struct {
	GcpAvailability types.String `tfsdk:"gcp_availability"`
	// If provided, each node in the instance pool will have this number of
	// local SSDs attached. Each local SSD is 375GB in size. Refer to [GCP
	// documentation] for the supported number of local SSDs for each instance
	// type.
	//
	// [GCP documentation]: https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
	LocalSsdCount types.Int64 `tfsdk:"local_ssd_count"`
	// Identifier for the availability zone/datacenter in which the cluster
	// resides. This string will be of a form like "us-west1-a". The provided
	// availability zone must be in the same region as the Databricks workspace.
	// For example, "us-west1-a" is not a valid zone id if the Databricks
	// workspace resides in the "us-east1" region. This is an optional field at
	// instance pool creation, and if not specified, a default zone will be
	// used.
	//
	// This field can be one of the following: - "HA" => High availability,
	// spread nodes across availability zones for a Databricks deployment region
	// - A GCP availability zone => Pick One of the available zones for (machine
	// type + region) from https://cloud.google.com/compute/docs/regions-zones
	// (e.g. "us-west1-a").
	//
	// If empty, Databricks picks an availability zone to schedule the cluster
	// on.
	ZoneId types.String `tfsdk:"zone_id"`
}

Attributes set during instance pool creation which are related to GCP.

func (InstancePoolGcpAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolGcpAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolGcpAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolGcpAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolGcpAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolGcpAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolGcpAttributes_SdkV2)

func (*InstancePoolGcpAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolGcpAttributes_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolGcpAttributes_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolGcpAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolPermission

type InstancePoolPermission struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (InstancePoolPermission) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolPermission) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolPermission) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolPermission) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermission) GetInheritedFromObject added in v1.61.0

func (m *InstancePoolPermission) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in InstancePoolPermission as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolPermission) SetInheritedFromObject added in v1.61.0

func (m *InstancePoolPermission) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in InstancePoolPermission.

func (*InstancePoolPermission) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolPermission) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermission)

func (*InstancePoolPermission) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolPermission) SyncFieldsDuringRead(ctx context.Context, from InstancePoolPermission)

func (InstancePoolPermission) 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, InstancePoolPermission only implements ToObjectValue() and Type().

func (InstancePoolPermission) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolPermission_SdkV2 added in v1.62.1

type InstancePoolPermission_SdkV2 struct {
	Inherited types.Bool `tfsdk:"inherited"`

	InheritedFromObject types.List `tfsdk:"inherited_from_object"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (InstancePoolPermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolPermission_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolPermission_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermission. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermission_SdkV2) GetInheritedFromObject added in v1.62.1

func (m *InstancePoolPermission_SdkV2) GetInheritedFromObject(ctx context.Context) ([]types.String, bool)

GetInheritedFromObject returns the value of the InheritedFromObject field in InstancePoolPermission_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolPermission_SdkV2) SetInheritedFromObject added in v1.62.1

func (m *InstancePoolPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in InstancePoolPermission_SdkV2.

func (*InstancePoolPermission_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolPermission_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermission_SdkV2)

func (*InstancePoolPermission_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolPermission_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstancePoolPermission_SdkV2)

func (InstancePoolPermission_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermission_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolPermission_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolPermissions

type InstancePoolPermissions struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (InstancePoolPermissions) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolPermissions) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*InstancePoolPermissions) GetAccessControlList added in v1.61.0

GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissions as a slice of InstancePoolAccessControlResponse values. If the field is unknown or null, the boolean return value is false.

func (InstancePoolPermissions) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolPermissions) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermissions) SetAccessControlList added in v1.61.0

SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissions.

func (*InstancePoolPermissions) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolPermissions) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermissions)

func (*InstancePoolPermissions) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolPermissions) SyncFieldsDuringRead(ctx context.Context, from InstancePoolPermissions)

func (InstancePoolPermissions) 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, InstancePoolPermissions only implements ToObjectValue() and Type().

func (InstancePoolPermissions) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolPermissionsDescription

type InstancePoolPermissionsDescription struct {
	Description types.String `tfsdk:"description"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (InstancePoolPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolPermissionsDescription) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolPermissionsDescription) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermissionsDescription) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolPermissionsDescription) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermissionsDescription)

func (*InstancePoolPermissionsDescription) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolPermissionsDescription) 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, InstancePoolPermissionsDescription only implements ToObjectValue() and Type().

func (InstancePoolPermissionsDescription) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolPermissionsDescription_SdkV2 added in v1.62.1

type InstancePoolPermissionsDescription_SdkV2 struct {
	Description types.String `tfsdk:"description"`

	PermissionLevel types.String `tfsdk:"permission_level"`
}

func (InstancePoolPermissionsDescription_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolPermissionsDescription_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsDescription. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermissionsDescription_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*InstancePoolPermissionsDescription_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (InstancePoolPermissionsDescription_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissionsDescription_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolPermissionsDescription_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolPermissionsRequest

type InstancePoolPermissionsRequest struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The instance pool for which to get or manage permissions.
	InstancePoolId types.String `tfsdk:"-"`
}

func (InstancePoolPermissionsRequest) ApplySchemaCustomizations added in v1.63.0

func (*InstancePoolPermissionsRequest) GetAccessControlList added in v1.61.0

GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissionsRequest as a slice of InstancePoolAccessControlRequest values. If the field is unknown or null, the boolean return value is false.

func (InstancePoolPermissionsRequest) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolPermissionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermissionsRequest) SetAccessControlList added in v1.61.0

SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissionsRequest.

func (*InstancePoolPermissionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *InstancePoolPermissionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermissionsRequest)

func (*InstancePoolPermissionsRequest) SyncFieldsDuringRead added in v1.91.0

func (InstancePoolPermissionsRequest) 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, InstancePoolPermissionsRequest only implements ToObjectValue() and Type().

func (InstancePoolPermissionsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolPermissionsRequest_SdkV2 added in v1.62.1

type InstancePoolPermissionsRequest_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`
	// The instance pool for which to get or manage permissions.
	InstancePoolId types.String `tfsdk:"-"`
}

func (InstancePoolPermissionsRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*InstancePoolPermissionsRequest_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissionsRequest_SdkV2 as a slice of InstancePoolAccessControlRequest_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (InstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolPermissionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermissionsRequest_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissionsRequest_SdkV2.

func (*InstancePoolPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *InstancePoolPermissionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermissionsRequest_SdkV2)

func (*InstancePoolPermissionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (InstancePoolPermissionsRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolPermissionsRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolPermissions_SdkV2 added in v1.62.1

type InstancePoolPermissions_SdkV2 struct {
	AccessControlList types.List `tfsdk:"access_control_list"`

	ObjectId types.String `tfsdk:"object_id"`

	ObjectType types.String `tfsdk:"object_type"`
}

func (InstancePoolPermissions_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*InstancePoolPermissions_SdkV2) GetAccessControlList added in v1.62.1

GetAccessControlList returns the value of the AccessControlList field in InstancePoolPermissions_SdkV2 as a slice of InstancePoolAccessControlResponse_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (InstancePoolPermissions_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolPermissions_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissions. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolPermissions_SdkV2) SetAccessControlList added in v1.62.1

SetAccessControlList sets the value of the AccessControlList field in InstancePoolPermissions_SdkV2.

func (*InstancePoolPermissions_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolPermissions_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolPermissions_SdkV2)

func (*InstancePoolPermissions_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolPermissions_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstancePoolPermissions_SdkV2)

func (InstancePoolPermissions_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolPermissions_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolPermissions_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolStats

type InstancePoolStats struct {
	// Number of active instances in the pool that are NOT part of a cluster.
	IdleCount types.Int64 `tfsdk:"idle_count"`
	// Number of pending instances in the pool that are NOT part of a cluster.
	PendingIdleCount types.Int64 `tfsdk:"pending_idle_count"`
	// Number of pending instances in the pool that are part of a cluster.
	PendingUsedCount types.Int64 `tfsdk:"pending_used_count"`
	// Number of active instances in the pool that are part of a cluster.
	UsedCount types.Int64 `tfsdk:"used_count"`
}

func (InstancePoolStats) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolStats) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolStats) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolStats) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolStats) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolStats) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolStats)

func (*InstancePoolStats) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolStats) SyncFieldsDuringRead(ctx context.Context, from InstancePoolStats)

func (InstancePoolStats) ToObjectValue added in v1.61.0

func (m InstancePoolStats) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStats only implements ToObjectValue() and Type().

func (InstancePoolStats) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolStats_SdkV2 added in v1.62.1

type InstancePoolStats_SdkV2 struct {
	// Number of active instances in the pool that are NOT part of a cluster.
	IdleCount types.Int64 `tfsdk:"idle_count"`
	// Number of pending instances in the pool that are NOT part of a cluster.
	PendingIdleCount types.Int64 `tfsdk:"pending_idle_count"`
	// Number of pending instances in the pool that are part of a cluster.
	PendingUsedCount types.Int64 `tfsdk:"pending_used_count"`
	// Number of active instances in the pool that are part of a cluster.
	UsedCount types.Int64 `tfsdk:"used_count"`
}

func (InstancePoolStats_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolStats_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolStats_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolStats_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStats. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolStats_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolStats_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolStats_SdkV2)

func (*InstancePoolStats_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolStats_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstancePoolStats_SdkV2)

func (InstancePoolStats_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStats_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolStats_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstancePoolStatus

type InstancePoolStatus struct {
	// List of error messages for the failed pending instances. The
	// pending_instance_errors follows FIFO with maximum length of the min_idle
	// of the pool. The pending_instance_errors is emptied once the number of
	// exiting available instances reaches the min_idle of the pool.
	PendingInstanceErrors types.List `tfsdk:"pending_instance_errors"`
}

func (InstancePoolStatus) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolStatus) GetComplexFieldTypes added in v1.61.0

func (m InstancePoolStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolStatus) GetPendingInstanceErrors added in v1.61.0

func (m *InstancePoolStatus) GetPendingInstanceErrors(ctx context.Context) ([]PendingInstanceError, bool)

GetPendingInstanceErrors returns the value of the PendingInstanceErrors field in InstancePoolStatus as a slice of PendingInstanceError values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolStatus) SetPendingInstanceErrors added in v1.61.0

func (m *InstancePoolStatus) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError)

SetPendingInstanceErrors sets the value of the PendingInstanceErrors field in InstancePoolStatus.

func (*InstancePoolStatus) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolStatus)

func (*InstancePoolStatus) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolStatus) SyncFieldsDuringRead(ctx context.Context, from InstancePoolStatus)

func (InstancePoolStatus) 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, InstancePoolStatus only implements ToObjectValue() and Type().

func (InstancePoolStatus) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InstancePoolStatus_SdkV2 added in v1.62.1

type InstancePoolStatus_SdkV2 struct {
	// List of error messages for the failed pending instances. The
	// pending_instance_errors follows FIFO with maximum length of the min_idle
	// of the pool. The pending_instance_errors is emptied once the number of
	// exiting available instances reaches the min_idle of the pool.
	PendingInstanceErrors types.List `tfsdk:"pending_instance_errors"`
}

func (InstancePoolStatus_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m InstancePoolStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstancePoolStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstancePoolStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstancePoolStatus_SdkV2) GetPendingInstanceErrors added in v1.62.1

func (m *InstancePoolStatus_SdkV2) GetPendingInstanceErrors(ctx context.Context) ([]PendingInstanceError_SdkV2, bool)

GetPendingInstanceErrors returns the value of the PendingInstanceErrors field in InstancePoolStatus_SdkV2 as a slice of PendingInstanceError_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*InstancePoolStatus_SdkV2) SetPendingInstanceErrors added in v1.62.1

func (m *InstancePoolStatus_SdkV2) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError_SdkV2)

SetPendingInstanceErrors sets the value of the PendingInstanceErrors field in InstancePoolStatus_SdkV2.

func (*InstancePoolStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstancePoolStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstancePoolStatus_SdkV2)

func (*InstancePoolStatus_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InstancePoolStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstancePoolStatus_SdkV2)

func (InstancePoolStatus_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstancePoolStatus_SdkV2 only implements ToObjectValue() and Type().

func (InstancePoolStatus_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InstanceProfile

type InstanceProfile struct {
	// The AWS IAM role ARN of the role associated with the instance profile.
	// This field is required if your role name and instance profile name do not
	// match and you want to use the instance profile with [Databricks SQL
	// Serverless].
	//
	// Otherwise, this field is optional.
	//
	// [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html
	IamRoleArn types.String `tfsdk:"iam_role_arn"`
	// The AWS ARN of the instance profile to register with Databricks. This
	// field is required.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Boolean flag indicating whether the instance profile should only be used
	// in credential passthrough scenarios. If true, it means the instance
	// profile contains an meta IAM role which could assume a wide range of
	// roles. Therefore it should always be used with authorization. This field
	// is optional, the default value is `false`.
	IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"`
}

func (InstanceProfile) ApplySchemaCustomizations added in v1.63.0

func (m InstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstanceProfile) GetComplexFieldTypes added in v1.61.0

func (m InstanceProfile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstanceProfile) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstanceProfile) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstanceProfile)

func (*InstanceProfile) SyncFieldsDuringRead added in v1.86.0

func (to *InstanceProfile) SyncFieldsDuringRead(ctx context.Context, from InstanceProfile)

func (InstanceProfile) ToObjectValue added in v1.61.0

func (m InstanceProfile) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstanceProfile only implements ToObjectValue() and Type().

func (InstanceProfile) Type added in v1.61.0

func (m InstanceProfile) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type InstanceProfile_SdkV2 added in v1.62.1

type InstanceProfile_SdkV2 struct {
	// The AWS IAM role ARN of the role associated with the instance profile.
	// This field is required if your role name and instance profile name do not
	// match and you want to use the instance profile with [Databricks SQL
	// Serverless].
	//
	// Otherwise, this field is optional.
	//
	// [Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html
	IamRoleArn types.String `tfsdk:"iam_role_arn"`
	// The AWS ARN of the instance profile to register with Databricks. This
	// field is required.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
	// Boolean flag indicating whether the instance profile should only be used
	// in credential passthrough scenarios. If true, it means the instance
	// profile contains an meta IAM role which could assume a wide range of
	// roles. Therefore it should always be used with authorization. This field
	// is optional, the default value is `false`.
	IsMetaInstanceProfile types.Bool `tfsdk:"is_meta_instance_profile"`
}

func (InstanceProfile_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m InstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (InstanceProfile_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m InstanceProfile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in InstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*InstanceProfile_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *InstanceProfile_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from InstanceProfile_SdkV2)

func (*InstanceProfile_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *InstanceProfile_SdkV2) SyncFieldsDuringRead(ctx context.Context, from InstanceProfile_SdkV2)

func (InstanceProfile_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, InstanceProfile_SdkV2 only implements ToObjectValue() and Type().

func (InstanceProfile_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Library

type Library struct {
	// Specification of a CRAN library to be installed as part of the library
	Cran types.Object `tfsdk:"cran"`
	// Deprecated. URI of the egg library to install. Installing Python egg
	// files is deprecated and is not supported in Databricks Runtime 14.0 and
	// above.
	Egg types.String `tfsdk:"egg"`
	// URI of the JAR library to install. Supported URIs include Workspace
	// paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "jar":
	// "/Workspace/path/to/library.jar" }`, `{ "jar" :
	// "/Volumes/path/to/library.jar" }` or `{ "jar":
	// "s3://my-bucket/library.jar" }`. If S3 is used, please make sure the
	// cluster has read access on the library. You may need to launch the
	// cluster with an IAM role to access the S3 URI.
	Jar types.String `tfsdk:"jar"`
	// Specification of a maven library to be installed. For example: `{
	// "coordinates": "org.jsoup:jsoup:1.7.2" }`
	Maven types.Object `tfsdk:"maven"`
	// Specification of a PyPi library to be installed. For example: `{
	// "package": "simplejson" }`
	Pypi types.Object `tfsdk:"pypi"`
	// URI of the requirements.txt file to install. Only Workspace paths and
	// Unity Catalog Volumes paths are supported. For example: `{
	// "requirements": "/Workspace/path/to/requirements.txt" }` or `{
	// "requirements" : "/Volumes/path/to/requirements.txt" }`
	Requirements types.String `tfsdk:"requirements"`
	// URI of the wheel library to install. Supported URIs include Workspace
	// paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "whl":
	// "/Workspace/path/to/library.whl" }`, `{ "whl" :
	// "/Volumes/path/to/library.whl" }` or `{ "whl":
	// "s3://my-bucket/library.whl" }`. If S3 is used, please make sure the
	// cluster has read access on the library. You may need to launch the
	// cluster with an IAM role to access the S3 URI.
	Whl types.String `tfsdk:"whl"`
}

func (Library) ApplySchemaCustomizations added in v1.63.0

func (m Library) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Library) GetComplexFieldTypes added in v1.61.0

func (m Library) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Library. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Library) GetCran added in v1.61.0

func (m *Library) GetCran(ctx context.Context) (RCranLibrary, bool)

GetCran returns the value of the Cran field in Library as a RCranLibrary value. If the field is unknown or null, the boolean return value is false.

func (*Library) GetMaven added in v1.61.0

func (m *Library) GetMaven(ctx context.Context) (MavenLibrary, bool)

GetMaven returns the value of the Maven field in Library as a MavenLibrary value. If the field is unknown or null, the boolean return value is false.

func (*Library) GetPypi added in v1.61.0

func (m *Library) GetPypi(ctx context.Context) (PythonPyPiLibrary, bool)

GetPypi returns the value of the Pypi field in Library as a PythonPyPiLibrary value. If the field is unknown or null, the boolean return value is false.

func (*Library) SetCran added in v1.61.0

func (m *Library) SetCran(ctx context.Context, v RCranLibrary)

SetCran sets the value of the Cran field in Library.

func (*Library) SetMaven added in v1.61.0

func (m *Library) SetMaven(ctx context.Context, v MavenLibrary)

SetMaven sets the value of the Maven field in Library.

func (*Library) SetPypi added in v1.61.0

func (m *Library) SetPypi(ctx context.Context, v PythonPyPiLibrary)

SetPypi sets the value of the Pypi field in Library.

func (*Library) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Library) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Library)

func (*Library) SyncFieldsDuringRead added in v1.86.0

func (to *Library) SyncFieldsDuringRead(ctx context.Context, from Library)

func (Library) ToObjectValue added in v1.61.0

func (m Library) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Library only implements ToObjectValue() and Type().

func (Library) Type added in v1.61.0

func (m Library) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type LibraryFullStatus

type LibraryFullStatus struct {
	// Whether the library was set to be installed on all clusters via the
	// libraries UI.
	IsLibraryForAllClusters types.Bool `tfsdk:"is_library_for_all_clusters"`
	// Unique identifier for the library.
	Library types.Object `tfsdk:"library"`
	// All the info and warning messages that have occurred so far for this
	// library.
	Messages types.List `tfsdk:"messages"`
	// Status of installing the library on the cluster.
	Status types.String `tfsdk:"status"`
}

The status of the library on a specific cluster.

func (LibraryFullStatus) ApplySchemaCustomizations added in v1.63.0

func (m LibraryFullStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LibraryFullStatus) GetComplexFieldTypes added in v1.61.0

func (m LibraryFullStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LibraryFullStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LibraryFullStatus) GetLibrary added in v1.61.0

func (m *LibraryFullStatus) GetLibrary(ctx context.Context) (Library, bool)

GetLibrary returns the value of the Library field in LibraryFullStatus as a Library value. If the field is unknown or null, the boolean return value is false.

func (*LibraryFullStatus) GetMessages added in v1.61.0

func (m *LibraryFullStatus) GetMessages(ctx context.Context) ([]types.String, bool)

GetMessages returns the value of the Messages field in LibraryFullStatus as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*LibraryFullStatus) SetLibrary added in v1.61.0

func (m *LibraryFullStatus) SetLibrary(ctx context.Context, v Library)

SetLibrary sets the value of the Library field in LibraryFullStatus.

func (*LibraryFullStatus) SetMessages added in v1.61.0

func (m *LibraryFullStatus) SetMessages(ctx context.Context, v []types.String)

SetMessages sets the value of the Messages field in LibraryFullStatus.

func (*LibraryFullStatus) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LibraryFullStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LibraryFullStatus)

func (*LibraryFullStatus) SyncFieldsDuringRead added in v1.86.0

func (to *LibraryFullStatus) SyncFieldsDuringRead(ctx context.Context, from LibraryFullStatus)

func (LibraryFullStatus) ToObjectValue added in v1.61.0

func (m LibraryFullStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LibraryFullStatus only implements ToObjectValue() and Type().

func (LibraryFullStatus) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type LibraryFullStatus_SdkV2 added in v1.62.1

type LibraryFullStatus_SdkV2 struct {
	// Whether the library was set to be installed on all clusters via the
	// libraries UI.
	IsLibraryForAllClusters types.Bool `tfsdk:"is_library_for_all_clusters"`
	// Unique identifier for the library.
	Library types.List `tfsdk:"library"`
	// All the info and warning messages that have occurred so far for this
	// library.
	Messages types.List `tfsdk:"messages"`
	// Status of installing the library on the cluster.
	Status types.String `tfsdk:"status"`
}

The status of the library on a specific cluster.

func (LibraryFullStatus_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LibraryFullStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LibraryFullStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LibraryFullStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LibraryFullStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LibraryFullStatus_SdkV2) GetLibrary added in v1.62.1

GetLibrary returns the value of the Library field in LibraryFullStatus_SdkV2 as a Library_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*LibraryFullStatus_SdkV2) GetMessages added in v1.62.1

func (m *LibraryFullStatus_SdkV2) GetMessages(ctx context.Context) ([]types.String, bool)

GetMessages returns the value of the Messages field in LibraryFullStatus_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*LibraryFullStatus_SdkV2) SetLibrary added in v1.62.1

func (m *LibraryFullStatus_SdkV2) SetLibrary(ctx context.Context, v Library_SdkV2)

SetLibrary sets the value of the Library field in LibraryFullStatus_SdkV2.

func (*LibraryFullStatus_SdkV2) SetMessages added in v1.62.1

func (m *LibraryFullStatus_SdkV2) SetMessages(ctx context.Context, v []types.String)

SetMessages sets the value of the Messages field in LibraryFullStatus_SdkV2.

func (*LibraryFullStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LibraryFullStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LibraryFullStatus_SdkV2)

func (*LibraryFullStatus_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LibraryFullStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LibraryFullStatus_SdkV2)

func (LibraryFullStatus_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LibraryFullStatus_SdkV2 only implements ToObjectValue() and Type().

func (LibraryFullStatus_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Library_SdkV2 added in v1.62.1

type Library_SdkV2 struct {
	// Specification of a CRAN library to be installed as part of the library
	Cran types.List `tfsdk:"cran"`
	// Deprecated. URI of the egg library to install. Installing Python egg
	// files is deprecated and is not supported in Databricks Runtime 14.0 and
	// above.
	Egg types.String `tfsdk:"egg"`
	// URI of the JAR library to install. Supported URIs include Workspace
	// paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "jar":
	// "/Workspace/path/to/library.jar" }`, `{ "jar" :
	// "/Volumes/path/to/library.jar" }` or `{ "jar":
	// "s3://my-bucket/library.jar" }`. If S3 is used, please make sure the
	// cluster has read access on the library. You may need to launch the
	// cluster with an IAM role to access the S3 URI.
	Jar types.String `tfsdk:"jar"`
	// Specification of a maven library to be installed. For example: `{
	// "coordinates": "org.jsoup:jsoup:1.7.2" }`
	Maven types.List `tfsdk:"maven"`
	// Specification of a PyPi library to be installed. For example: `{
	// "package": "simplejson" }`
	Pypi types.List `tfsdk:"pypi"`
	// URI of the requirements.txt file to install. Only Workspace paths and
	// Unity Catalog Volumes paths are supported. For example: `{
	// "requirements": "/Workspace/path/to/requirements.txt" }` or `{
	// "requirements" : "/Volumes/path/to/requirements.txt" }`
	Requirements types.String `tfsdk:"requirements"`
	// URI of the wheel library to install. Supported URIs include Workspace
	// paths, Unity Catalog Volumes paths, and S3 URIs. For example: `{ "whl":
	// "/Workspace/path/to/library.whl" }`, `{ "whl" :
	// "/Volumes/path/to/library.whl" }` or `{ "whl":
	// "s3://my-bucket/library.whl" }`. If S3 is used, please make sure the
	// cluster has read access on the library. You may need to launch the
	// cluster with an IAM role to access the S3 URI.
	Whl types.String `tfsdk:"whl"`
}

func (Library_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Library_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Library_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Library_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Library. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Library_SdkV2) GetCran added in v1.62.1

GetCran returns the value of the Cran field in Library_SdkV2 as a RCranLibrary_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Library_SdkV2) GetMaven added in v1.62.1

func (m *Library_SdkV2) GetMaven(ctx context.Context) (MavenLibrary_SdkV2, bool)

GetMaven returns the value of the Maven field in Library_SdkV2 as a MavenLibrary_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Library_SdkV2) GetPypi added in v1.62.1

GetPypi returns the value of the Pypi field in Library_SdkV2 as a PythonPyPiLibrary_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*Library_SdkV2) SetCran added in v1.62.1

func (m *Library_SdkV2) SetCran(ctx context.Context, v RCranLibrary_SdkV2)

SetCran sets the value of the Cran field in Library_SdkV2.

func (*Library_SdkV2) SetMaven added in v1.62.1

func (m *Library_SdkV2) SetMaven(ctx context.Context, v MavenLibrary_SdkV2)

SetMaven sets the value of the Maven field in Library_SdkV2.

func (*Library_SdkV2) SetPypi added in v1.62.1

SetPypi sets the value of the Pypi field in Library_SdkV2.

func (*Library_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Library_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Library_SdkV2)

func (*Library_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Library_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Library_SdkV2)

func (Library_SdkV2) ToObjectValue added in v1.62.1

func (m Library_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, Library_SdkV2 only implements ToObjectValue() and Type().

func (Library_SdkV2) Type added in v1.62.1

func (m Library_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ListAllClusterLibraryStatuses added in v1.85.0

type ListAllClusterLibraryStatuses struct {
}

func (ListAllClusterLibraryStatuses) ApplySchemaCustomizations added in v1.91.0

func (ListAllClusterLibraryStatuses) GetComplexFieldTypes added in v1.85.0

func (m ListAllClusterLibraryStatuses) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatuses. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListAllClusterLibraryStatuses) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListAllClusterLibraryStatuses) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAllClusterLibraryStatuses)

func (*ListAllClusterLibraryStatuses) SyncFieldsDuringRead added in v1.91.0

func (to *ListAllClusterLibraryStatuses) SyncFieldsDuringRead(ctx context.Context, from ListAllClusterLibraryStatuses)

func (ListAllClusterLibraryStatuses) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAllClusterLibraryStatuses only implements ToObjectValue() and Type().

func (ListAllClusterLibraryStatuses) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListAllClusterLibraryStatusesResponse

type ListAllClusterLibraryStatusesResponse struct {
	// A list of cluster statuses.
	Statuses types.List `tfsdk:"statuses"`
}

func (ListAllClusterLibraryStatusesResponse) ApplySchemaCustomizations added in v1.63.0

func (ListAllClusterLibraryStatusesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListAllClusterLibraryStatusesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatusesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListAllClusterLibraryStatusesResponse) GetStatuses added in v1.61.0

GetStatuses returns the value of the Statuses field in ListAllClusterLibraryStatusesResponse as a slice of ClusterLibraryStatuses values. If the field is unknown or null, the boolean return value is false.

func (*ListAllClusterLibraryStatusesResponse) SetStatuses added in v1.61.0

SetStatuses sets the value of the Statuses field in ListAllClusterLibraryStatusesResponse.

func (*ListAllClusterLibraryStatusesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ListAllClusterLibraryStatusesResponse) SyncFieldsDuringRead added in v1.86.0

func (ListAllClusterLibraryStatusesResponse) 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, ListAllClusterLibraryStatusesResponse only implements ToObjectValue() and Type().

func (ListAllClusterLibraryStatusesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAllClusterLibraryStatusesResponse_SdkV2 added in v1.62.1

type ListAllClusterLibraryStatusesResponse_SdkV2 struct {
	// A list of cluster statuses.
	Statuses types.List `tfsdk:"statuses"`
}

func (ListAllClusterLibraryStatusesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListAllClusterLibraryStatusesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatusesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListAllClusterLibraryStatusesResponse_SdkV2) GetStatuses added in v1.62.1

GetStatuses returns the value of the Statuses field in ListAllClusterLibraryStatusesResponse_SdkV2 as a slice of ClusterLibraryStatuses_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListAllClusterLibraryStatusesResponse_SdkV2) SetStatuses added in v1.62.1

SetStatuses sets the value of the Statuses field in ListAllClusterLibraryStatusesResponse_SdkV2.

func (*ListAllClusterLibraryStatusesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (*ListAllClusterLibraryStatusesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListAllClusterLibraryStatusesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAllClusterLibraryStatusesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListAllClusterLibraryStatusesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListAllClusterLibraryStatuses_SdkV2 added in v1.85.0

type ListAllClusterLibraryStatuses_SdkV2 struct {
}

func (ListAllClusterLibraryStatuses_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (ListAllClusterLibraryStatuses_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListAllClusterLibraryStatuses_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatuses. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListAllClusterLibraryStatuses_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListAllClusterLibraryStatuses_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAllClusterLibraryStatuses_SdkV2)

func (*ListAllClusterLibraryStatuses_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListAllClusterLibraryStatuses_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAllClusterLibraryStatuses_SdkV2 only implements ToObjectValue() and Type().

func (ListAllClusterLibraryStatuses_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListAvailableZonesResponse

type ListAvailableZonesResponse struct {
	// The availability zone if no “zone_id“ is provided in the cluster
	// creation request.
	DefaultZone types.String `tfsdk:"default_zone"`
	// The list of available zones (e.g., ['us-west-2c', 'us-east-2']).
	Zones types.List `tfsdk:"zones"`
}

func (ListAvailableZonesResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListAvailableZonesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListAvailableZonesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListAvailableZonesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAvailableZonesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListAvailableZonesResponse) GetZones added in v1.61.0

GetZones returns the value of the Zones field in ListAvailableZonesResponse as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ListAvailableZonesResponse) SetZones added in v1.61.0

func (m *ListAvailableZonesResponse) SetZones(ctx context.Context, v []types.String)

SetZones sets the value of the Zones field in ListAvailableZonesResponse.

func (*ListAvailableZonesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAvailableZonesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAvailableZonesResponse)

func (*ListAvailableZonesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListAvailableZonesResponse) SyncFieldsDuringRead(ctx context.Context, from ListAvailableZonesResponse)

func (ListAvailableZonesResponse) 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, ListAvailableZonesResponse only implements ToObjectValue() and Type().

func (ListAvailableZonesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListAvailableZonesResponse_SdkV2 added in v1.62.1

type ListAvailableZonesResponse_SdkV2 struct {
	// The availability zone if no “zone_id“ is provided in the cluster
	// creation request.
	DefaultZone types.String `tfsdk:"default_zone"`
	// The list of available zones (e.g., ['us-west-2c', 'us-east-2']).
	Zones types.List `tfsdk:"zones"`
}

func (ListAvailableZonesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListAvailableZonesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListAvailableZonesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAvailableZonesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListAvailableZonesResponse_SdkV2) GetZones added in v1.62.1

GetZones returns the value of the Zones field in ListAvailableZonesResponse_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ListAvailableZonesResponse_SdkV2) SetZones added in v1.62.1

SetZones sets the value of the Zones field in ListAvailableZonesResponse_SdkV2.

func (*ListAvailableZonesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListAvailableZonesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListAvailableZonesResponse_SdkV2)

func (*ListAvailableZonesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListAvailableZonesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListAvailableZonesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListAvailableZonesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClusterCompliancesRequest

type ListClusterCompliancesRequest struct {
	// Use this field to specify the maximum number of results to be returned by
	// the server. The server may further constrain the maximum number of
	// results returned in a single page.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token that can be used to navigate to the next page or previous
	// page as returned by `next_page_token` or `prev_page_token`.
	PageToken types.String `tfsdk:"-"`
	// Canonical unique identifier for the cluster policy.
	PolicyId types.String `tfsdk:"-"`
}

func (ListClusterCompliancesRequest) ApplySchemaCustomizations added in v1.76.0

func (ListClusterCompliancesRequest) GetComplexFieldTypes added in v1.61.0

func (m ListClusterCompliancesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClusterCompliancesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListClusterCompliancesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClusterCompliancesRequest)

func (*ListClusterCompliancesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListClusterCompliancesRequest) SyncFieldsDuringRead(ctx context.Context, from ListClusterCompliancesRequest)

func (ListClusterCompliancesRequest) 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, ListClusterCompliancesRequest only implements ToObjectValue() and Type().

func (ListClusterCompliancesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClusterCompliancesRequest_SdkV2 added in v1.62.1

type ListClusterCompliancesRequest_SdkV2 struct {
	// Use this field to specify the maximum number of results to be returned by
	// the server. The server may further constrain the maximum number of
	// results returned in a single page.
	PageSize types.Int64 `tfsdk:"-"`
	// A page token that can be used to navigate to the next page or previous
	// page as returned by `next_page_token` or `prev_page_token`.
	PageToken types.String `tfsdk:"-"`
	// Canonical unique identifier for the cluster policy.
	PolicyId types.String `tfsdk:"-"`
}

func (ListClusterCompliancesRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (ListClusterCompliancesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClusterCompliancesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClusterCompliancesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListClusterCompliancesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClusterCompliancesRequest_SdkV2)

func (*ListClusterCompliancesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListClusterCompliancesRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterCompliancesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListClusterCompliancesRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClusterCompliancesResponse

type ListClusterCompliancesResponse struct {
	// A list of clusters and their policy compliance statuses.
	Clusters types.List `tfsdk:"clusters"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is "", it means no further results for the request.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// This field represents the pagination token to retrieve the previous page
	// of results. If the value is "", it means no further results for the
	// request.
	PrevPageToken types.String `tfsdk:"prev_page_token"`
}

func (ListClusterCompliancesResponse) ApplySchemaCustomizations added in v1.63.0

func (*ListClusterCompliancesResponse) GetClusters added in v1.61.0

GetClusters returns the value of the Clusters field in ListClusterCompliancesResponse as a slice of ClusterCompliance values. If the field is unknown or null, the boolean return value is false.

func (ListClusterCompliancesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListClusterCompliancesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClusterCompliancesResponse) SetClusters added in v1.61.0

SetClusters sets the value of the Clusters field in ListClusterCompliancesResponse.

func (*ListClusterCompliancesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClusterCompliancesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClusterCompliancesResponse)

func (*ListClusterCompliancesResponse) SyncFieldsDuringRead added in v1.86.0

func (ListClusterCompliancesResponse) 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, ListClusterCompliancesResponse only implements ToObjectValue() and Type().

func (ListClusterCompliancesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClusterCompliancesResponse_SdkV2 added in v1.62.1

type ListClusterCompliancesResponse_SdkV2 struct {
	// A list of clusters and their policy compliance statuses.
	Clusters types.List `tfsdk:"clusters"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is "", it means no further results for the request.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// This field represents the pagination token to retrieve the previous page
	// of results. If the value is "", it means no further results for the
	// request.
	PrevPageToken types.String `tfsdk:"prev_page_token"`
}

func (ListClusterCompliancesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (*ListClusterCompliancesResponse_SdkV2) GetClusters added in v1.62.1

GetClusters returns the value of the Clusters field in ListClusterCompliancesResponse_SdkV2 as a slice of ClusterCompliance_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListClusterCompliancesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClusterCompliancesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClusterCompliancesResponse_SdkV2) SetClusters added in v1.62.1

SetClusters sets the value of the Clusters field in ListClusterCompliancesResponse_SdkV2.

func (*ListClusterCompliancesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClusterCompliancesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClusterCompliancesResponse_SdkV2)

func (*ListClusterCompliancesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListClusterCompliancesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterCompliancesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListClusterCompliancesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClusterPoliciesRequest

type ListClusterPoliciesRequest struct {
	// The cluster policy attribute to sort by. * `POLICY_CREATION_TIME` - Sort
	// result list by policy creation time. * `POLICY_NAME` - Sort result list
	// by policy name.
	SortColumn types.String `tfsdk:"-"`
	// The order in which the policies get listed. * `DESC` - Sort result list
	// in descending order. * `ASC` - Sort result list in ascending order.
	SortOrder types.String `tfsdk:"-"`
}

func (ListClusterPoliciesRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListClusterPoliciesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListClusterPoliciesRequest) GetComplexFieldTypes added in v1.61.0

func (m ListClusterPoliciesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterPoliciesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClusterPoliciesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListClusterPoliciesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClusterPoliciesRequest)

func (*ListClusterPoliciesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListClusterPoliciesRequest) SyncFieldsDuringRead(ctx context.Context, from ListClusterPoliciesRequest)

func (ListClusterPoliciesRequest) 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, ListClusterPoliciesRequest only implements ToObjectValue() and Type().

func (ListClusterPoliciesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClusterPoliciesRequest_SdkV2 added in v1.62.1

type ListClusterPoliciesRequest_SdkV2 struct {
	// The cluster policy attribute to sort by. * `POLICY_CREATION_TIME` - Sort
	// result list by policy creation time. * `POLICY_NAME` - Sort result list
	// by policy name.
	SortColumn types.String `tfsdk:"-"`
	// The order in which the policies get listed. * `DESC` - Sort result list
	// in descending order. * `ASC` - Sort result list in ascending order.
	SortOrder types.String `tfsdk:"-"`
}

func (ListClusterPoliciesRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (ListClusterPoliciesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClusterPoliciesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterPoliciesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClusterPoliciesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListClusterPoliciesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClusterPoliciesRequest_SdkV2)

func (*ListClusterPoliciesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListClusterPoliciesRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClusterPoliciesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListClusterPoliciesRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClustersFilterBy

type ListClustersFilterBy struct {
	// The source of cluster creation.
	ClusterSources types.List `tfsdk:"cluster_sources"`
	// The current state of the clusters.
	ClusterStates types.List `tfsdk:"cluster_states"`
	// Whether the clusters are pinned or not.
	IsPinned types.Bool `tfsdk:"is_pinned"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (ListClustersFilterBy) ApplySchemaCustomizations added in v1.63.0

func (m ListClustersFilterBy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListClustersFilterBy) GetClusterSources added in v1.61.0

func (m *ListClustersFilterBy) GetClusterSources(ctx context.Context) ([]types.String, bool)

GetClusterSources returns the value of the ClusterSources field in ListClustersFilterBy as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ListClustersFilterBy) GetClusterStates added in v1.61.0

func (m *ListClustersFilterBy) GetClusterStates(ctx context.Context) ([]types.String, bool)

GetClusterStates returns the value of the ClusterStates field in ListClustersFilterBy as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (ListClustersFilterBy) GetComplexFieldTypes added in v1.61.0

func (m ListClustersFilterBy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersFilterBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersFilterBy) SetClusterSources added in v1.61.0

func (m *ListClustersFilterBy) SetClusterSources(ctx context.Context, v []types.String)

SetClusterSources sets the value of the ClusterSources field in ListClustersFilterBy.

func (*ListClustersFilterBy) SetClusterStates added in v1.61.0

func (m *ListClustersFilterBy) SetClusterStates(ctx context.Context, v []types.String)

SetClusterStates sets the value of the ClusterStates field in ListClustersFilterBy.

func (*ListClustersFilterBy) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClustersFilterBy) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersFilterBy)

func (*ListClustersFilterBy) SyncFieldsDuringRead added in v1.86.0

func (to *ListClustersFilterBy) SyncFieldsDuringRead(ctx context.Context, from ListClustersFilterBy)

func (ListClustersFilterBy) 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, ListClustersFilterBy only implements ToObjectValue() and Type().

func (ListClustersFilterBy) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClustersFilterBy_SdkV2 added in v1.62.1

type ListClustersFilterBy_SdkV2 struct {
	// The source of cluster creation.
	ClusterSources types.List `tfsdk:"cluster_sources"`
	// The current state of the clusters.
	ClusterStates types.List `tfsdk:"cluster_states"`
	// Whether the clusters are pinned or not.
	IsPinned types.Bool `tfsdk:"is_pinned"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
}

func (ListClustersFilterBy_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListClustersFilterBy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListClustersFilterBy_SdkV2) GetClusterSources added in v1.62.1

func (m *ListClustersFilterBy_SdkV2) GetClusterSources(ctx context.Context) ([]types.String, bool)

GetClusterSources returns the value of the ClusterSources field in ListClustersFilterBy_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*ListClustersFilterBy_SdkV2) GetClusterStates added in v1.62.1

func (m *ListClustersFilterBy_SdkV2) GetClusterStates(ctx context.Context) ([]types.String, bool)

GetClusterStates returns the value of the ClusterStates field in ListClustersFilterBy_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (ListClustersFilterBy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClustersFilterBy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersFilterBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersFilterBy_SdkV2) SetClusterSources added in v1.62.1

func (m *ListClustersFilterBy_SdkV2) SetClusterSources(ctx context.Context, v []types.String)

SetClusterSources sets the value of the ClusterSources field in ListClustersFilterBy_SdkV2.

func (*ListClustersFilterBy_SdkV2) SetClusterStates added in v1.62.1

func (m *ListClustersFilterBy_SdkV2) SetClusterStates(ctx context.Context, v []types.String)

SetClusterStates sets the value of the ClusterStates field in ListClustersFilterBy_SdkV2.

func (*ListClustersFilterBy_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClustersFilterBy_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersFilterBy_SdkV2)

func (*ListClustersFilterBy_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListClustersFilterBy_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListClustersFilterBy_SdkV2)

func (ListClustersFilterBy_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersFilterBy_SdkV2 only implements ToObjectValue() and Type().

func (ListClustersFilterBy_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClustersRequest

type ListClustersRequest struct {
	// Filters to apply to the list of clusters.
	FilterBy types.Object `tfsdk:"-"`
	// Use this field to specify the maximum number of results to be returned by
	// the server. The server may further constrain the maximum number of
	// results returned in a single page.
	PageSize types.Int64 `tfsdk:"-"`
	// Use next_page_token or prev_page_token returned from the previous request
	// to list the next or previous page of clusters respectively.
	PageToken types.String `tfsdk:"-"`
	// Sort the list of clusters by a specific criteria.
	SortBy types.Object `tfsdk:"-"`
}

func (ListClustersRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListClustersRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListClustersRequest) GetComplexFieldTypes added in v1.61.0

func (m ListClustersRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersRequest) GetFilterBy added in v1.61.0

GetFilterBy returns the value of the FilterBy field in ListClustersRequest as a ListClustersFilterBy value. If the field is unknown or null, the boolean return value is false.

func (*ListClustersRequest) GetSortBy added in v1.61.0

GetSortBy returns the value of the SortBy field in ListClustersRequest as a ListClustersSortBy value. If the field is unknown or null, the boolean return value is false.

func (*ListClustersRequest) SetFilterBy added in v1.61.0

SetFilterBy sets the value of the FilterBy field in ListClustersRequest.

func (*ListClustersRequest) SetSortBy added in v1.61.0

SetSortBy sets the value of the SortBy field in ListClustersRequest.

func (*ListClustersRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListClustersRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersRequest)

func (*ListClustersRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListClustersRequest) SyncFieldsDuringRead(ctx context.Context, from ListClustersRequest)

func (ListClustersRequest) 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, ListClustersRequest only implements ToObjectValue() and Type().

func (ListClustersRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClustersRequest_SdkV2 added in v1.62.1

type ListClustersRequest_SdkV2 struct {
	// Filters to apply to the list of clusters.
	FilterBy types.List `tfsdk:"-"`
	// Use this field to specify the maximum number of results to be returned by
	// the server. The server may further constrain the maximum number of
	// results returned in a single page.
	PageSize types.Int64 `tfsdk:"-"`
	// Use next_page_token or prev_page_token returned from the previous request
	// to list the next or previous page of clusters respectively.
	PageToken types.String `tfsdk:"-"`
	// Sort the list of clusters by a specific criteria.
	SortBy types.List `tfsdk:"-"`
}

func (ListClustersRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m ListClustersRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListClustersRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClustersRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersRequest_SdkV2) GetFilterBy added in v1.62.1

GetFilterBy returns the value of the FilterBy field in ListClustersRequest_SdkV2 as a ListClustersFilterBy_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ListClustersRequest_SdkV2) GetSortBy added in v1.62.1

GetSortBy returns the value of the SortBy field in ListClustersRequest_SdkV2 as a ListClustersSortBy_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*ListClustersRequest_SdkV2) SetFilterBy added in v1.62.1

SetFilterBy sets the value of the FilterBy field in ListClustersRequest_SdkV2.

func (*ListClustersRequest_SdkV2) SetSortBy added in v1.62.1

SetSortBy sets the value of the SortBy field in ListClustersRequest_SdkV2.

func (*ListClustersRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListClustersRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersRequest_SdkV2)

func (*ListClustersRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListClustersRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListClustersRequest_SdkV2)

func (ListClustersRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListClustersRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClustersResponse

type ListClustersResponse struct {
	Clusters types.List `tfsdk:"clusters"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is "", it means no further results for the request.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// This field represents the pagination token to retrieve the previous page
	// of results. If the value is "", it means no further results for the
	// request.
	PrevPageToken types.String `tfsdk:"prev_page_token"`
}

func (ListClustersResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListClustersResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListClustersResponse) GetClusters added in v1.61.0

func (m *ListClustersResponse) GetClusters(ctx context.Context) ([]ClusterDetails, bool)

GetClusters returns the value of the Clusters field in ListClustersResponse as a slice of ClusterDetails values. If the field is unknown or null, the boolean return value is false.

func (ListClustersResponse) GetComplexFieldTypes added in v1.61.0

func (m ListClustersResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersResponse) SetClusters added in v1.61.0

func (m *ListClustersResponse) SetClusters(ctx context.Context, v []ClusterDetails)

SetClusters sets the value of the Clusters field in ListClustersResponse.

func (*ListClustersResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClustersResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersResponse)

func (*ListClustersResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListClustersResponse) SyncFieldsDuringRead(ctx context.Context, from ListClustersResponse)

func (ListClustersResponse) 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, ListClustersResponse only implements ToObjectValue() and Type().

func (ListClustersResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClustersResponse_SdkV2 added in v1.62.1

type ListClustersResponse_SdkV2 struct {
	Clusters types.List `tfsdk:"clusters"`
	// This field represents the pagination token to retrieve the next page of
	// results. If the value is "", it means no further results for the request.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// This field represents the pagination token to retrieve the previous page
	// of results. If the value is "", it means no further results for the
	// request.
	PrevPageToken types.String `tfsdk:"prev_page_token"`
}

func (ListClustersResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListClustersResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListClustersResponse_SdkV2) GetClusters added in v1.62.1

GetClusters returns the value of the Clusters field in ListClustersResponse_SdkV2 as a slice of ClusterDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (ListClustersResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClustersResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersResponse_SdkV2) SetClusters added in v1.62.1

SetClusters sets the value of the Clusters field in ListClustersResponse_SdkV2.

func (*ListClustersResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClustersResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersResponse_SdkV2)

func (*ListClustersResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListClustersResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListClustersResponse_SdkV2)

func (ListClustersResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListClustersResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListClustersSortBy

type ListClustersSortBy struct {
	// The direction to sort by.
	Direction types.String `tfsdk:"direction"`
	// The sorting criteria. By default, clusters are sorted by 3 columns from
	// highest to lowest precedence: cluster state, pinned or unpinned, then
	// cluster name.
	Field types.String `tfsdk:"field"`
}

func (ListClustersSortBy) ApplySchemaCustomizations added in v1.63.0

func (m ListClustersSortBy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListClustersSortBy) GetComplexFieldTypes added in v1.61.0

func (m ListClustersSortBy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersSortBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersSortBy) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClustersSortBy) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersSortBy)

func (*ListClustersSortBy) SyncFieldsDuringRead added in v1.86.0

func (to *ListClustersSortBy) SyncFieldsDuringRead(ctx context.Context, from ListClustersSortBy)

func (ListClustersSortBy) 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, ListClustersSortBy only implements ToObjectValue() and Type().

func (ListClustersSortBy) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListClustersSortBy_SdkV2 added in v1.62.1

type ListClustersSortBy_SdkV2 struct {
	// The direction to sort by.
	Direction types.String `tfsdk:"direction"`
	// The sorting criteria. By default, clusters are sorted by 3 columns from
	// highest to lowest precedence: cluster state, pinned or unpinned, then
	// cluster name.
	Field types.String `tfsdk:"field"`
}

func (ListClustersSortBy_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListClustersSortBy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListClustersSortBy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListClustersSortBy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersSortBy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListClustersSortBy_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListClustersSortBy_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListClustersSortBy_SdkV2)

func (*ListClustersSortBy_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListClustersSortBy_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListClustersSortBy_SdkV2)

func (ListClustersSortBy_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListClustersSortBy_SdkV2 only implements ToObjectValue() and Type().

func (ListClustersSortBy_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListGlobalInitScriptsRequest added in v1.85.0

type ListGlobalInitScriptsRequest struct {
}

func (ListGlobalInitScriptsRequest) ApplySchemaCustomizations added in v1.91.0

func (ListGlobalInitScriptsRequest) GetComplexFieldTypes added in v1.85.0

func (m ListGlobalInitScriptsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListGlobalInitScriptsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListGlobalInitScriptsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListGlobalInitScriptsRequest)

func (*ListGlobalInitScriptsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListGlobalInitScriptsRequest) SyncFieldsDuringRead(ctx context.Context, from ListGlobalInitScriptsRequest)

func (ListGlobalInitScriptsRequest) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGlobalInitScriptsRequest only implements ToObjectValue() and Type().

func (ListGlobalInitScriptsRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListGlobalInitScriptsRequest_SdkV2 added in v1.85.0

type ListGlobalInitScriptsRequest_SdkV2 struct {
}

func (ListGlobalInitScriptsRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (ListGlobalInitScriptsRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListGlobalInitScriptsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListGlobalInitScriptsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListGlobalInitScriptsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListGlobalInitScriptsRequest_SdkV2)

func (*ListGlobalInitScriptsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListGlobalInitScriptsRequest_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGlobalInitScriptsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListGlobalInitScriptsRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListGlobalInitScriptsResponse

type ListGlobalInitScriptsResponse struct {
	Scripts types.List `tfsdk:"scripts"`
}

func (ListGlobalInitScriptsResponse) ApplySchemaCustomizations added in v1.63.0

func (ListGlobalInitScriptsResponse) GetComplexFieldTypes added in v1.61.0

func (m ListGlobalInitScriptsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListGlobalInitScriptsResponse) GetScripts added in v1.61.0

GetScripts returns the value of the Scripts field in ListGlobalInitScriptsResponse as a slice of GlobalInitScriptDetails values. If the field is unknown or null, the boolean return value is false.

func (*ListGlobalInitScriptsResponse) SetScripts added in v1.61.0

SetScripts sets the value of the Scripts field in ListGlobalInitScriptsResponse.

func (*ListGlobalInitScriptsResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListGlobalInitScriptsResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListGlobalInitScriptsResponse)

func (*ListGlobalInitScriptsResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListGlobalInitScriptsResponse) SyncFieldsDuringRead(ctx context.Context, from ListGlobalInitScriptsResponse)

func (ListGlobalInitScriptsResponse) 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, ListGlobalInitScriptsResponse only implements ToObjectValue() and Type().

func (ListGlobalInitScriptsResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListGlobalInitScriptsResponse_SdkV2 added in v1.62.1

type ListGlobalInitScriptsResponse_SdkV2 struct {
	Scripts types.List `tfsdk:"scripts"`
}

func (ListGlobalInitScriptsResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListGlobalInitScriptsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListGlobalInitScriptsResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListGlobalInitScriptsResponse_SdkV2) GetScripts added in v1.62.1

GetScripts returns the value of the Scripts field in ListGlobalInitScriptsResponse_SdkV2 as a slice of GlobalInitScriptDetails_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListGlobalInitScriptsResponse_SdkV2) SetScripts added in v1.62.1

SetScripts sets the value of the Scripts field in ListGlobalInitScriptsResponse_SdkV2.

func (*ListGlobalInitScriptsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListGlobalInitScriptsResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListGlobalInitScriptsResponse_SdkV2)

func (*ListGlobalInitScriptsResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListGlobalInitScriptsResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListGlobalInitScriptsResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListGlobalInitScriptsResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListInstancePools

type ListInstancePools struct {
	InstancePools types.List `tfsdk:"instance_pools"`
}

func (ListInstancePools) ApplySchemaCustomizations added in v1.63.0

func (m ListInstancePools) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListInstancePools) GetComplexFieldTypes added in v1.61.0

func (m ListInstancePools) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePools. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstancePools) GetInstancePools added in v1.61.0

func (m *ListInstancePools) GetInstancePools(ctx context.Context) ([]InstancePoolAndStats, bool)

GetInstancePools returns the value of the InstancePools field in ListInstancePools as a slice of InstancePoolAndStats values. If the field is unknown or null, the boolean return value is false.

func (*ListInstancePools) SetInstancePools added in v1.61.0

func (m *ListInstancePools) SetInstancePools(ctx context.Context, v []InstancePoolAndStats)

SetInstancePools sets the value of the InstancePools field in ListInstancePools.

func (*ListInstancePools) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListInstancePools) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstancePools)

func (*ListInstancePools) SyncFieldsDuringRead added in v1.86.0

func (to *ListInstancePools) SyncFieldsDuringRead(ctx context.Context, from ListInstancePools)

func (ListInstancePools) ToObjectValue added in v1.61.0

func (m ListInstancePools) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstancePools only implements ToObjectValue() and Type().

func (ListInstancePools) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListInstancePoolsRequest added in v1.85.0

type ListInstancePoolsRequest struct {
}

func (ListInstancePoolsRequest) ApplySchemaCustomizations added in v1.91.0

func (m ListInstancePoolsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListInstancePoolsRequest) GetComplexFieldTypes added in v1.85.0

func (m ListInstancePoolsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePoolsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstancePoolsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListInstancePoolsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstancePoolsRequest)

func (*ListInstancePoolsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListInstancePoolsRequest) SyncFieldsDuringRead(ctx context.Context, from ListInstancePoolsRequest)

func (ListInstancePoolsRequest) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstancePoolsRequest only implements ToObjectValue() and Type().

func (ListInstancePoolsRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListInstancePoolsRequest_SdkV2 added in v1.85.0

type ListInstancePoolsRequest_SdkV2 struct {
}

func (ListInstancePoolsRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (ListInstancePoolsRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListInstancePoolsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePoolsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstancePoolsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListInstancePoolsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstancePoolsRequest_SdkV2)

func (*ListInstancePoolsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListInstancePoolsRequest_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstancePoolsRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListInstancePoolsRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListInstancePools_SdkV2 added in v1.62.1

type ListInstancePools_SdkV2 struct {
	InstancePools types.List `tfsdk:"instance_pools"`
}

func (ListInstancePools_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListInstancePools_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListInstancePools_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListInstancePools_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePools. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstancePools_SdkV2) GetInstancePools added in v1.62.1

GetInstancePools returns the value of the InstancePools field in ListInstancePools_SdkV2 as a slice of InstancePoolAndStats_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListInstancePools_SdkV2) SetInstancePools added in v1.62.1

func (m *ListInstancePools_SdkV2) SetInstancePools(ctx context.Context, v []InstancePoolAndStats_SdkV2)

SetInstancePools sets the value of the InstancePools field in ListInstancePools_SdkV2.

func (*ListInstancePools_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListInstancePools_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstancePools_SdkV2)

func (*ListInstancePools_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListInstancePools_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListInstancePools_SdkV2)

func (ListInstancePools_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstancePools_SdkV2 only implements ToObjectValue() and Type().

func (ListInstancePools_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListInstanceProfilesRequest added in v1.85.0

type ListInstanceProfilesRequest struct {
}

func (ListInstanceProfilesRequest) ApplySchemaCustomizations added in v1.91.0

func (m ListInstanceProfilesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListInstanceProfilesRequest) GetComplexFieldTypes added in v1.85.0

func (m ListInstanceProfilesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstanceProfilesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListInstanceProfilesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstanceProfilesRequest)

func (*ListInstanceProfilesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListInstanceProfilesRequest) SyncFieldsDuringRead(ctx context.Context, from ListInstanceProfilesRequest)

func (ListInstanceProfilesRequest) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstanceProfilesRequest only implements ToObjectValue() and Type().

func (ListInstanceProfilesRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListInstanceProfilesRequest_SdkV2 added in v1.85.0

type ListInstanceProfilesRequest_SdkV2 struct {
}

func (ListInstanceProfilesRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (ListInstanceProfilesRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListInstanceProfilesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstanceProfilesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListInstanceProfilesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstanceProfilesRequest_SdkV2)

func (*ListInstanceProfilesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListInstanceProfilesRequest_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstanceProfilesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListInstanceProfilesRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListInstanceProfilesResponse

type ListInstanceProfilesResponse struct {
	// A list of instance profiles that the user can access.
	InstanceProfiles types.List `tfsdk:"instance_profiles"`
}

func (ListInstanceProfilesResponse) ApplySchemaCustomizations added in v1.63.0

func (ListInstanceProfilesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListInstanceProfilesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstanceProfilesResponse) GetInstanceProfiles added in v1.61.0

func (m *ListInstanceProfilesResponse) GetInstanceProfiles(ctx context.Context) ([]InstanceProfile, bool)

GetInstanceProfiles returns the value of the InstanceProfiles field in ListInstanceProfilesResponse as a slice of InstanceProfile values. If the field is unknown or null, the boolean return value is false.

func (*ListInstanceProfilesResponse) SetInstanceProfiles added in v1.61.0

func (m *ListInstanceProfilesResponse) SetInstanceProfiles(ctx context.Context, v []InstanceProfile)

SetInstanceProfiles sets the value of the InstanceProfiles field in ListInstanceProfilesResponse.

func (*ListInstanceProfilesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListInstanceProfilesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstanceProfilesResponse)

func (*ListInstanceProfilesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListInstanceProfilesResponse) SyncFieldsDuringRead(ctx context.Context, from ListInstanceProfilesResponse)

func (ListInstanceProfilesResponse) 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, ListInstanceProfilesResponse only implements ToObjectValue() and Type().

func (ListInstanceProfilesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListInstanceProfilesResponse_SdkV2 added in v1.62.1

type ListInstanceProfilesResponse_SdkV2 struct {
	// A list of instance profiles that the user can access.
	InstanceProfiles types.List `tfsdk:"instance_profiles"`
}

func (ListInstanceProfilesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListInstanceProfilesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListInstanceProfilesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListInstanceProfilesResponse_SdkV2) GetInstanceProfiles added in v1.62.1

GetInstanceProfiles returns the value of the InstanceProfiles field in ListInstanceProfilesResponse_SdkV2 as a slice of InstanceProfile_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListInstanceProfilesResponse_SdkV2) SetInstanceProfiles added in v1.62.1

SetInstanceProfiles sets the value of the InstanceProfiles field in ListInstanceProfilesResponse_SdkV2.

func (*ListInstanceProfilesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListInstanceProfilesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListInstanceProfilesResponse_SdkV2)

func (*ListInstanceProfilesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListInstanceProfilesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListInstanceProfilesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListInstanceProfilesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListNodeTypesRequest added in v1.85.0

type ListNodeTypesRequest struct {
}

func (ListNodeTypesRequest) ApplySchemaCustomizations added in v1.91.0

func (m ListNodeTypesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListNodeTypesRequest) GetComplexFieldTypes added in v1.85.0

func (m ListNodeTypesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListNodeTypesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListNodeTypesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListNodeTypesRequest)

func (*ListNodeTypesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListNodeTypesRequest) SyncFieldsDuringRead(ctx context.Context, from ListNodeTypesRequest)

func (ListNodeTypesRequest) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListNodeTypesRequest only implements ToObjectValue() and Type().

func (ListNodeTypesRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListNodeTypesRequest_SdkV2 added in v1.85.0

type ListNodeTypesRequest_SdkV2 struct {
}

func (ListNodeTypesRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (m ListNodeTypesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListNodeTypesRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListNodeTypesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListNodeTypesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListNodeTypesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListNodeTypesRequest_SdkV2)

func (*ListNodeTypesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListNodeTypesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListNodeTypesRequest_SdkV2)

func (ListNodeTypesRequest_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListNodeTypesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListNodeTypesRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListNodeTypesResponse

type ListNodeTypesResponse struct {
	// The list of available Spark node types.
	NodeTypes types.List `tfsdk:"node_types"`
}

func (ListNodeTypesResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListNodeTypesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListNodeTypesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListNodeTypesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListNodeTypesResponse) GetNodeTypes added in v1.61.0

func (m *ListNodeTypesResponse) GetNodeTypes(ctx context.Context) ([]NodeType, bool)

GetNodeTypes returns the value of the NodeTypes field in ListNodeTypesResponse as a slice of NodeType values. If the field is unknown or null, the boolean return value is false.

func (*ListNodeTypesResponse) SetNodeTypes added in v1.61.0

func (m *ListNodeTypesResponse) SetNodeTypes(ctx context.Context, v []NodeType)

SetNodeTypes sets the value of the NodeTypes field in ListNodeTypesResponse.

func (*ListNodeTypesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListNodeTypesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListNodeTypesResponse)

func (*ListNodeTypesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListNodeTypesResponse) SyncFieldsDuringRead(ctx context.Context, from ListNodeTypesResponse)

func (ListNodeTypesResponse) 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, ListNodeTypesResponse only implements ToObjectValue() and Type().

func (ListNodeTypesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListNodeTypesResponse_SdkV2 added in v1.62.1

type ListNodeTypesResponse_SdkV2 struct {
	// The list of available Spark node types.
	NodeTypes types.List `tfsdk:"node_types"`
}

func (ListNodeTypesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListNodeTypesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListNodeTypesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListNodeTypesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListNodeTypesResponse_SdkV2) GetNodeTypes added in v1.62.1

GetNodeTypes returns the value of the NodeTypes field in ListNodeTypesResponse_SdkV2 as a slice of NodeType_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListNodeTypesResponse_SdkV2) SetNodeTypes added in v1.62.1

func (m *ListNodeTypesResponse_SdkV2) SetNodeTypes(ctx context.Context, v []NodeType_SdkV2)

SetNodeTypes sets the value of the NodeTypes field in ListNodeTypesResponse_SdkV2.

func (*ListNodeTypesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListNodeTypesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListNodeTypesResponse_SdkV2)

func (*ListNodeTypesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListNodeTypesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListNodeTypesResponse_SdkV2)

func (ListNodeTypesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListNodeTypesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListNodeTypesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListPoliciesResponse

type ListPoliciesResponse struct {
	// List of policies.
	Policies types.List `tfsdk:"policies"`
}

func (ListPoliciesResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListPoliciesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListPoliciesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListPoliciesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPoliciesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListPoliciesResponse) GetPolicies added in v1.61.0

func (m *ListPoliciesResponse) GetPolicies(ctx context.Context) ([]Policy, bool)

GetPolicies returns the value of the Policies field in ListPoliciesResponse as a slice of Policy values. If the field is unknown or null, the boolean return value is false.

func (*ListPoliciesResponse) SetPolicies added in v1.61.0

func (m *ListPoliciesResponse) SetPolicies(ctx context.Context, v []Policy)

SetPolicies sets the value of the Policies field in ListPoliciesResponse.

func (*ListPoliciesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListPoliciesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListPoliciesResponse)

func (*ListPoliciesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListPoliciesResponse) SyncFieldsDuringRead(ctx context.Context, from ListPoliciesResponse)

func (ListPoliciesResponse) 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, ListPoliciesResponse only implements ToObjectValue() and Type().

func (ListPoliciesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListPoliciesResponse_SdkV2 added in v1.62.1

type ListPoliciesResponse_SdkV2 struct {
	// List of policies.
	Policies types.List `tfsdk:"policies"`
}

func (ListPoliciesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ListPoliciesResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListPoliciesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListPoliciesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPoliciesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListPoliciesResponse_SdkV2) GetPolicies added in v1.62.1

func (m *ListPoliciesResponse_SdkV2) GetPolicies(ctx context.Context) ([]Policy_SdkV2, bool)

GetPolicies returns the value of the Policies field in ListPoliciesResponse_SdkV2 as a slice of Policy_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListPoliciesResponse_SdkV2) SetPolicies added in v1.62.1

func (m *ListPoliciesResponse_SdkV2) SetPolicies(ctx context.Context, v []Policy_SdkV2)

SetPolicies sets the value of the Policies field in ListPoliciesResponse_SdkV2.

func (*ListPoliciesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListPoliciesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListPoliciesResponse_SdkV2)

func (*ListPoliciesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ListPoliciesResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListPoliciesResponse_SdkV2)

func (ListPoliciesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPoliciesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListPoliciesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListPolicyFamiliesRequest

type ListPolicyFamiliesRequest struct {
	// Maximum number of policy families to return.
	MaxResults types.Int64 `tfsdk:"-"`
	// A token that can be used to get the next page of results.
	PageToken types.String `tfsdk:"-"`
}

func (ListPolicyFamiliesRequest) ApplySchemaCustomizations added in v1.76.0

func (m ListPolicyFamiliesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListPolicyFamiliesRequest) GetComplexFieldTypes added in v1.61.0

func (m ListPolicyFamiliesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListPolicyFamiliesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListPolicyFamiliesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListPolicyFamiliesRequest)

func (*ListPolicyFamiliesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListPolicyFamiliesRequest) SyncFieldsDuringRead(ctx context.Context, from ListPolicyFamiliesRequest)

func (ListPolicyFamiliesRequest) 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, ListPolicyFamiliesRequest only implements ToObjectValue() and Type().

func (ListPolicyFamiliesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListPolicyFamiliesRequest_SdkV2 added in v1.62.1

type ListPolicyFamiliesRequest_SdkV2 struct {
	// Maximum number of policy families to return.
	MaxResults types.Int64 `tfsdk:"-"`
	// A token that can be used to get the next page of results.
	PageToken types.String `tfsdk:"-"`
}

func (ListPolicyFamiliesRequest_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (ListPolicyFamiliesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListPolicyFamiliesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListPolicyFamiliesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListPolicyFamiliesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListPolicyFamiliesRequest_SdkV2)

func (*ListPolicyFamiliesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (ListPolicyFamiliesRequest_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPolicyFamiliesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListPolicyFamiliesRequest_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListPolicyFamiliesResponse

type ListPolicyFamiliesResponse struct {
	// A token that can be used to get the next page of results. If not present,
	// there are no more results to show.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of policy families.
	PolicyFamilies types.List `tfsdk:"policy_families"`
}

func (ListPolicyFamiliesResponse) ApplySchemaCustomizations added in v1.63.0

func (m ListPolicyFamiliesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListPolicyFamiliesResponse) GetComplexFieldTypes added in v1.61.0

func (m ListPolicyFamiliesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListPolicyFamiliesResponse) GetPolicyFamilies added in v1.61.0

func (m *ListPolicyFamiliesResponse) GetPolicyFamilies(ctx context.Context) ([]PolicyFamily, bool)

GetPolicyFamilies returns the value of the PolicyFamilies field in ListPolicyFamiliesResponse as a slice of PolicyFamily values. If the field is unknown or null, the boolean return value is false.

func (*ListPolicyFamiliesResponse) SetPolicyFamilies added in v1.61.0

func (m *ListPolicyFamiliesResponse) SetPolicyFamilies(ctx context.Context, v []PolicyFamily)

SetPolicyFamilies sets the value of the PolicyFamilies field in ListPolicyFamiliesResponse.

func (*ListPolicyFamiliesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListPolicyFamiliesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListPolicyFamiliesResponse)

func (*ListPolicyFamiliesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ListPolicyFamiliesResponse) SyncFieldsDuringRead(ctx context.Context, from ListPolicyFamiliesResponse)

func (ListPolicyFamiliesResponse) 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, ListPolicyFamiliesResponse only implements ToObjectValue() and Type().

func (ListPolicyFamiliesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ListPolicyFamiliesResponse_SdkV2 added in v1.62.1

type ListPolicyFamiliesResponse_SdkV2 struct {
	// A token that can be used to get the next page of results. If not present,
	// there are no more results to show.
	NextPageToken types.String `tfsdk:"next_page_token"`
	// List of policy families.
	PolicyFamilies types.List `tfsdk:"policy_families"`
}

func (ListPolicyFamiliesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ListPolicyFamiliesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ListPolicyFamiliesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListPolicyFamiliesResponse_SdkV2) GetPolicyFamilies added in v1.62.1

GetPolicyFamilies returns the value of the PolicyFamilies field in ListPolicyFamiliesResponse_SdkV2 as a slice of PolicyFamily_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*ListPolicyFamiliesResponse_SdkV2) SetPolicyFamilies added in v1.62.1

func (m *ListPolicyFamiliesResponse_SdkV2) SetPolicyFamilies(ctx context.Context, v []PolicyFamily_SdkV2)

SetPolicyFamilies sets the value of the PolicyFamilies field in ListPolicyFamiliesResponse_SdkV2.

func (*ListPolicyFamiliesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ListPolicyFamiliesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListPolicyFamiliesResponse_SdkV2)

func (*ListPolicyFamiliesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (ListPolicyFamiliesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListPolicyFamiliesResponse_SdkV2 only implements ToObjectValue() and Type().

func (ListPolicyFamiliesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ListZonesRequest added in v1.85.0

type ListZonesRequest struct {
}

func (ListZonesRequest) ApplySchemaCustomizations added in v1.91.0

func (m ListZonesRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListZonesRequest) GetComplexFieldTypes added in v1.85.0

func (m ListZonesRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListZonesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListZonesRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListZonesRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListZonesRequest)

func (*ListZonesRequest) SyncFieldsDuringRead added in v1.91.0

func (to *ListZonesRequest) SyncFieldsDuringRead(ctx context.Context, from ListZonesRequest)

func (ListZonesRequest) ToObjectValue added in v1.85.0

func (m ListZonesRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListZonesRequest only implements ToObjectValue() and Type().

func (ListZonesRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type ListZonesRequest_SdkV2 added in v1.85.0

type ListZonesRequest_SdkV2 struct {
}

func (ListZonesRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (m ListZonesRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ListZonesRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m ListZonesRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ListZonesRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ListZonesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ListZonesRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ListZonesRequest_SdkV2)

func (*ListZonesRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ListZonesRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ListZonesRequest_SdkV2)

func (ListZonesRequest_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListZonesRequest_SdkV2 only implements ToObjectValue() and Type().

func (ListZonesRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type LocalFileInfo

type LocalFileInfo struct {
	// local file destination, e.g. `file:/my/local/file.sh`
	Destination types.String `tfsdk:"destination"`
}

func (LocalFileInfo) ApplySchemaCustomizations added in v1.63.0

func (m LocalFileInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LocalFileInfo) GetComplexFieldTypes added in v1.61.0

func (m LocalFileInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LocalFileInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LocalFileInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LocalFileInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LocalFileInfo)

func (*LocalFileInfo) SyncFieldsDuringRead added in v1.86.0

func (to *LocalFileInfo) SyncFieldsDuringRead(ctx context.Context, from LocalFileInfo)

func (LocalFileInfo) ToObjectValue added in v1.61.0

func (m LocalFileInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LocalFileInfo only implements ToObjectValue() and Type().

func (LocalFileInfo) Type added in v1.61.0

func (m LocalFileInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type LocalFileInfo_SdkV2 added in v1.62.1

type LocalFileInfo_SdkV2 struct {
	// local file destination, e.g. `file:/my/local/file.sh`
	Destination types.String `tfsdk:"destination"`
}

func (LocalFileInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LocalFileInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LocalFileInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LocalFileInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LocalFileInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LocalFileInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LocalFileInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LocalFileInfo_SdkV2)

func (*LocalFileInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LocalFileInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LocalFileInfo_SdkV2)

func (LocalFileInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LocalFileInfo_SdkV2 only implements ToObjectValue() and Type().

func (LocalFileInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type LogAnalyticsInfo

type LogAnalyticsInfo struct {
	LogAnalyticsPrimaryKey types.String `tfsdk:"log_analytics_primary_key"`

	LogAnalyticsWorkspaceId types.String `tfsdk:"log_analytics_workspace_id"`
}

func (LogAnalyticsInfo) ApplySchemaCustomizations added in v1.63.0

func (m LogAnalyticsInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LogAnalyticsInfo) GetComplexFieldTypes added in v1.61.0

func (m LogAnalyticsInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LogAnalyticsInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LogAnalyticsInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LogAnalyticsInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LogAnalyticsInfo)

func (*LogAnalyticsInfo) SyncFieldsDuringRead added in v1.86.0

func (to *LogAnalyticsInfo) SyncFieldsDuringRead(ctx context.Context, from LogAnalyticsInfo)

func (LogAnalyticsInfo) ToObjectValue added in v1.61.0

func (m LogAnalyticsInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogAnalyticsInfo only implements ToObjectValue() and Type().

func (LogAnalyticsInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type LogAnalyticsInfo_SdkV2 added in v1.62.1

type LogAnalyticsInfo_SdkV2 struct {
	LogAnalyticsPrimaryKey types.String `tfsdk:"log_analytics_primary_key"`

	LogAnalyticsWorkspaceId types.String `tfsdk:"log_analytics_workspace_id"`
}

func (LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LogAnalyticsInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LogAnalyticsInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LogAnalyticsInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LogAnalyticsInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LogAnalyticsInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LogAnalyticsInfo_SdkV2)

func (*LogAnalyticsInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LogAnalyticsInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LogAnalyticsInfo_SdkV2)

func (LogAnalyticsInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogAnalyticsInfo_SdkV2 only implements ToObjectValue() and Type().

func (LogAnalyticsInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type LogSyncStatus

type LogSyncStatus struct {
	// The timestamp of last attempt. If the last attempt fails,
	// `last_exception` will contain the exception in the last attempt.
	LastAttempted types.Int64 `tfsdk:"last_attempted"`
	// The exception thrown in the last attempt, it would be null (omitted in
	// the response) if there is no exception in last attempted.
	LastException types.String `tfsdk:"last_exception"`
}

The log delivery status

func (LogSyncStatus) ApplySchemaCustomizations added in v1.63.0

func (m LogSyncStatus) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LogSyncStatus) GetComplexFieldTypes added in v1.61.0

func (m LogSyncStatus) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LogSyncStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LogSyncStatus) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LogSyncStatus) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LogSyncStatus)

func (*LogSyncStatus) SyncFieldsDuringRead added in v1.86.0

func (to *LogSyncStatus) SyncFieldsDuringRead(ctx context.Context, from LogSyncStatus)

func (LogSyncStatus) ToObjectValue added in v1.61.0

func (m LogSyncStatus) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogSyncStatus only implements ToObjectValue() and Type().

func (LogSyncStatus) Type added in v1.61.0

func (m LogSyncStatus) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type LogSyncStatus_SdkV2 added in v1.62.1

type LogSyncStatus_SdkV2 struct {
	// The timestamp of last attempt. If the last attempt fails,
	// `last_exception` will contain the exception in the last attempt.
	LastAttempted types.Int64 `tfsdk:"last_attempted"`
	// The exception thrown in the last attempt, it would be null (omitted in
	// the response) if there is no exception in last attempted.
	LastException types.String `tfsdk:"last_exception"`
}

The log delivery status

func (LogSyncStatus_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m LogSyncStatus_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (LogSyncStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m LogSyncStatus_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in LogSyncStatus. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*LogSyncStatus_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *LogSyncStatus_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from LogSyncStatus_SdkV2)

func (*LogSyncStatus_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *LogSyncStatus_SdkV2) SyncFieldsDuringRead(ctx context.Context, from LogSyncStatus_SdkV2)

func (LogSyncStatus_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, LogSyncStatus_SdkV2 only implements ToObjectValue() and Type().

func (LogSyncStatus_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type MavenLibrary

type MavenLibrary struct {
	// Gradle-style maven coordinates. For example: "org.jsoup:jsoup:1.7.2".
	Coordinates types.String `tfsdk:"coordinates"`
	// List of dependences to exclude. For example: `["slf4j:slf4j",
	// "*:hadoop-client"]`.
	//
	// Maven dependency exclusions:
	// https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.
	Exclusions types.List `tfsdk:"exclusions"`
	// Maven repo to install the Maven package from. If omitted, both Maven
	// Central Repository and Spark Packages are searched.
	Repo types.String `tfsdk:"repo"`
}

func (MavenLibrary) ApplySchemaCustomizations added in v1.63.0

func (m MavenLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MavenLibrary) GetComplexFieldTypes added in v1.61.0

func (m MavenLibrary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MavenLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*MavenLibrary) GetExclusions added in v1.61.0

func (m *MavenLibrary) GetExclusions(ctx context.Context) ([]types.String, bool)

GetExclusions returns the value of the Exclusions field in MavenLibrary as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*MavenLibrary) SetExclusions added in v1.61.0

func (m *MavenLibrary) SetExclusions(ctx context.Context, v []types.String)

SetExclusions sets the value of the Exclusions field in MavenLibrary.

func (*MavenLibrary) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *MavenLibrary) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MavenLibrary)

func (*MavenLibrary) SyncFieldsDuringRead added in v1.86.0

func (to *MavenLibrary) SyncFieldsDuringRead(ctx context.Context, from MavenLibrary)

func (MavenLibrary) ToObjectValue added in v1.61.0

func (m MavenLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MavenLibrary only implements ToObjectValue() and Type().

func (MavenLibrary) Type added in v1.61.0

func (m MavenLibrary) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type MavenLibrary_SdkV2 added in v1.62.1

type MavenLibrary_SdkV2 struct {
	// Gradle-style maven coordinates. For example: "org.jsoup:jsoup:1.7.2".
	Coordinates types.String `tfsdk:"coordinates"`
	// List of dependences to exclude. For example: `["slf4j:slf4j",
	// "*:hadoop-client"]`.
	//
	// Maven dependency exclusions:
	// https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.
	Exclusions types.List `tfsdk:"exclusions"`
	// Maven repo to install the Maven package from. If omitted, both Maven
	// Central Repository and Spark Packages are searched.
	Repo types.String `tfsdk:"repo"`
}

func (MavenLibrary_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m MavenLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (MavenLibrary_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m MavenLibrary_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in MavenLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*MavenLibrary_SdkV2) GetExclusions added in v1.62.1

func (m *MavenLibrary_SdkV2) GetExclusions(ctx context.Context) ([]types.String, bool)

GetExclusions returns the value of the Exclusions field in MavenLibrary_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*MavenLibrary_SdkV2) SetExclusions added in v1.62.1

func (m *MavenLibrary_SdkV2) SetExclusions(ctx context.Context, v []types.String)

SetExclusions sets the value of the Exclusions field in MavenLibrary_SdkV2.

func (*MavenLibrary_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *MavenLibrary_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from MavenLibrary_SdkV2)

func (*MavenLibrary_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *MavenLibrary_SdkV2) SyncFieldsDuringRead(ctx context.Context, from MavenLibrary_SdkV2)

func (MavenLibrary_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MavenLibrary_SdkV2 only implements ToObjectValue() and Type().

func (MavenLibrary_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type NodeInstanceType

type NodeInstanceType struct {
	// Unique identifier across instance types
	InstanceTypeId types.String `tfsdk:"instance_type_id"`
	// Size of the individual local disks attached to this instance (i.e. per
	// local disk).
	LocalDiskSizeGb types.Int64 `tfsdk:"local_disk_size_gb"`
	// Number of local disks that are present on this instance.
	LocalDisks types.Int64 `tfsdk:"local_disks"`
	// Size of the individual local nvme disks attached to this instance (i.e.
	// per local disk).
	LocalNvmeDiskSizeGb types.Int64 `tfsdk:"local_nvme_disk_size_gb"`
	// Number of local nvme disks that are present on this instance.
	LocalNvmeDisks types.Int64 `tfsdk:"local_nvme_disks"`
}

This structure embodies the machine type that hosts spark containers Note: this should be an internal data structure for now It is defined in proto in case we want to send it over the wire in the future (which is likely)

func (NodeInstanceType) ApplySchemaCustomizations added in v1.63.0

func (m NodeInstanceType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NodeInstanceType) GetComplexFieldTypes added in v1.61.0

func (m NodeInstanceType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeInstanceType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*NodeInstanceType) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *NodeInstanceType) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NodeInstanceType)

func (*NodeInstanceType) SyncFieldsDuringRead added in v1.86.0

func (to *NodeInstanceType) SyncFieldsDuringRead(ctx context.Context, from NodeInstanceType)

func (NodeInstanceType) ToObjectValue added in v1.61.0

func (m NodeInstanceType) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeInstanceType only implements ToObjectValue() and Type().

func (NodeInstanceType) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type NodeInstanceType_SdkV2 added in v1.62.1

type NodeInstanceType_SdkV2 struct {
	// Unique identifier across instance types
	InstanceTypeId types.String `tfsdk:"instance_type_id"`
	// Size of the individual local disks attached to this instance (i.e. per
	// local disk).
	LocalDiskSizeGb types.Int64 `tfsdk:"local_disk_size_gb"`
	// Number of local disks that are present on this instance.
	LocalDisks types.Int64 `tfsdk:"local_disks"`
	// Size of the individual local nvme disks attached to this instance (i.e.
	// per local disk).
	LocalNvmeDiskSizeGb types.Int64 `tfsdk:"local_nvme_disk_size_gb"`
	// Number of local nvme disks that are present on this instance.
	LocalNvmeDisks types.Int64 `tfsdk:"local_nvme_disks"`
}

This structure embodies the machine type that hosts spark containers Note: this should be an internal data structure for now It is defined in proto in case we want to send it over the wire in the future (which is likely)

func (NodeInstanceType_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m NodeInstanceType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NodeInstanceType_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m NodeInstanceType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeInstanceType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*NodeInstanceType_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *NodeInstanceType_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NodeInstanceType_SdkV2)

func (*NodeInstanceType_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *NodeInstanceType_SdkV2) SyncFieldsDuringRead(ctx context.Context, from NodeInstanceType_SdkV2)

func (NodeInstanceType_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeInstanceType_SdkV2 only implements ToObjectValue() and Type().

func (NodeInstanceType_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type NodeType

type NodeType struct {
	// A descriptive category for this node type. Examples include "Memory
	// Optimized" and "Compute Optimized".
	Category types.String `tfsdk:"category"`
	// A string description associated with this node type, e.g., "r3.xlarge".
	Description types.String `tfsdk:"description"`
	// An optional hint at the display order of node types in the UI. Within a
	// node type category, lowest numbers come first.
	DisplayOrder types.Int64 `tfsdk:"display_order"`
	// An identifier for the type of hardware that this node runs on, e.g.,
	// "r3.2xlarge" in AWS.
	InstanceTypeId types.String `tfsdk:"instance_type_id"`
	// Whether the node type is deprecated. Non-deprecated node types offer
	// greater performance.
	IsDeprecated types.Bool `tfsdk:"is_deprecated"`
	// AWS specific, whether this instance supports encryption in transit, used
	// for hipaa and pci workloads.
	IsEncryptedInTransit types.Bool `tfsdk:"is_encrypted_in_transit"`
	// Whether this is an Arm-based instance.
	IsGraviton types.Bool `tfsdk:"is_graviton"`
	// Whether this node is hidden from presentation in the UI.
	IsHidden types.Bool `tfsdk:"is_hidden"`
	// Whether this node comes with IO cache enabled by default.
	IsIoCacheEnabled types.Bool `tfsdk:"is_io_cache_enabled"`
	// Memory (in MB) available for this node type.
	MemoryMb types.Int64 `tfsdk:"memory_mb"`
	// A collection of node type info reported by the cloud provider
	NodeInfo types.Object `tfsdk:"node_info"`
	// The NodeInstanceType object corresponding to instance_type_id
	NodeInstanceType types.Object `tfsdk:"node_instance_type"`
	// Unique identifier for this node type.
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of CPU cores available for this node type. Note that this can be
	// fractional, e.g., 2.5 cores, if the number of cores on a machine instance
	// is not divisible by the number of Spark nodes on that machine.
	NumCores types.Float64 `tfsdk:"num_cores"`
	// Number of GPUs available for this node type.
	NumGpus types.Int64 `tfsdk:"num_gpus"`

	PhotonDriverCapable types.Bool `tfsdk:"photon_driver_capable"`

	PhotonWorkerCapable types.Bool `tfsdk:"photon_worker_capable"`
	// Whether this node type support cluster tags.
	SupportClusterTags types.Bool `tfsdk:"support_cluster_tags"`
	// Whether this node type support EBS volumes. EBS volumes is disabled for
	// node types that we could place multiple corresponding containers on the
	// same hosting instance.
	SupportEbsVolumes types.Bool `tfsdk:"support_ebs_volumes"`
	// Whether this node type supports port forwarding.
	SupportPortForwarding types.Bool `tfsdk:"support_port_forwarding"`
}

A description of a Spark node type including both the dimensions of the node and the instance type on which it will be hosted.

func (NodeType) ApplySchemaCustomizations added in v1.63.0

func (m NodeType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NodeType) GetComplexFieldTypes added in v1.61.0

func (m NodeType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*NodeType) GetNodeInfo added in v1.61.0

func (m *NodeType) GetNodeInfo(ctx context.Context) (CloudProviderNodeInfo, bool)

GetNodeInfo returns the value of the NodeInfo field in NodeType as a CloudProviderNodeInfo value. If the field is unknown or null, the boolean return value is false.

func (*NodeType) GetNodeInstanceType added in v1.61.0

func (m *NodeType) GetNodeInstanceType(ctx context.Context) (NodeInstanceType, bool)

GetNodeInstanceType returns the value of the NodeInstanceType field in NodeType as a NodeInstanceType value. If the field is unknown or null, the boolean return value is false.

func (*NodeType) SetNodeInfo added in v1.61.0

func (m *NodeType) SetNodeInfo(ctx context.Context, v CloudProviderNodeInfo)

SetNodeInfo sets the value of the NodeInfo field in NodeType.

func (*NodeType) SetNodeInstanceType added in v1.61.0

func (m *NodeType) SetNodeInstanceType(ctx context.Context, v NodeInstanceType)

SetNodeInstanceType sets the value of the NodeInstanceType field in NodeType.

func (*NodeType) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *NodeType) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NodeType)

func (*NodeType) SyncFieldsDuringRead added in v1.86.0

func (to *NodeType) SyncFieldsDuringRead(ctx context.Context, from NodeType)

func (NodeType) ToObjectValue added in v1.61.0

func (m NodeType) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeType only implements ToObjectValue() and Type().

func (NodeType) Type added in v1.61.0

func (m NodeType) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type NodeTypeFlexibility added in v1.76.0

type NodeTypeFlexibility struct {
	// A list of node type IDs to use as fallbacks when the primary node type is
	// unavailable.
	AlternateNodeTypeIds types.List `tfsdk:"alternate_node_type_ids"`
}

Configuration for flexible node types, allowing fallback to alternate node types during cluster launch and upscale.

func (NodeTypeFlexibility) ApplySchemaCustomizations added in v1.76.0

func (m NodeTypeFlexibility) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*NodeTypeFlexibility) GetAlternateNodeTypeIds added in v1.104.0

func (m *NodeTypeFlexibility) GetAlternateNodeTypeIds(ctx context.Context) ([]types.String, bool)

GetAlternateNodeTypeIds returns the value of the AlternateNodeTypeIds field in NodeTypeFlexibility as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (NodeTypeFlexibility) GetComplexFieldTypes added in v1.76.0

func (m NodeTypeFlexibility) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeTypeFlexibility. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*NodeTypeFlexibility) SetAlternateNodeTypeIds added in v1.104.0

func (m *NodeTypeFlexibility) SetAlternateNodeTypeIds(ctx context.Context, v []types.String)

SetAlternateNodeTypeIds sets the value of the AlternateNodeTypeIds field in NodeTypeFlexibility.

func (*NodeTypeFlexibility) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *NodeTypeFlexibility) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NodeTypeFlexibility)

func (*NodeTypeFlexibility) SyncFieldsDuringRead added in v1.104.0

func (to *NodeTypeFlexibility) SyncFieldsDuringRead(ctx context.Context, from NodeTypeFlexibility)

func (NodeTypeFlexibility) ToObjectValue added in v1.76.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeTypeFlexibility only implements ToObjectValue() and Type().

func (NodeTypeFlexibility) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type NodeTypeFlexibility_SdkV2 added in v1.76.0

type NodeTypeFlexibility_SdkV2 struct {
	// A list of node type IDs to use as fallbacks when the primary node type is
	// unavailable.
	AlternateNodeTypeIds types.List `tfsdk:"alternate_node_type_ids"`
}

Configuration for flexible node types, allowing fallback to alternate node types during cluster launch and upscale.

func (NodeTypeFlexibility_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m NodeTypeFlexibility_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*NodeTypeFlexibility_SdkV2) GetAlternateNodeTypeIds added in v1.104.0

func (m *NodeTypeFlexibility_SdkV2) GetAlternateNodeTypeIds(ctx context.Context) ([]types.String, bool)

GetAlternateNodeTypeIds returns the value of the AlternateNodeTypeIds field in NodeTypeFlexibility_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (NodeTypeFlexibility_SdkV2) GetComplexFieldTypes added in v1.76.0

func (m NodeTypeFlexibility_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeTypeFlexibility. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*NodeTypeFlexibility_SdkV2) SetAlternateNodeTypeIds added in v1.104.0

func (m *NodeTypeFlexibility_SdkV2) SetAlternateNodeTypeIds(ctx context.Context, v []types.String)

SetAlternateNodeTypeIds sets the value of the AlternateNodeTypeIds field in NodeTypeFlexibility_SdkV2.

func (*NodeTypeFlexibility_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.104.0

func (to *NodeTypeFlexibility_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NodeTypeFlexibility_SdkV2)

func (*NodeTypeFlexibility_SdkV2) SyncFieldsDuringRead added in v1.104.0

func (to *NodeTypeFlexibility_SdkV2) SyncFieldsDuringRead(ctx context.Context, from NodeTypeFlexibility_SdkV2)

func (NodeTypeFlexibility_SdkV2) ToObjectValue added in v1.76.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, NodeTypeFlexibility_SdkV2 only implements ToObjectValue() and Type().

func (NodeTypeFlexibility_SdkV2) Type added in v1.76.0

Type implements basetypes.ObjectValuable.

type NodeType_SdkV2 added in v1.62.1

type NodeType_SdkV2 struct {
	// A descriptive category for this node type. Examples include "Memory
	// Optimized" and "Compute Optimized".
	Category types.String `tfsdk:"category"`
	// A string description associated with this node type, e.g., "r3.xlarge".
	Description types.String `tfsdk:"description"`
	// An optional hint at the display order of node types in the UI. Within a
	// node type category, lowest numbers come first.
	DisplayOrder types.Int64 `tfsdk:"display_order"`
	// An identifier for the type of hardware that this node runs on, e.g.,
	// "r3.2xlarge" in AWS.
	InstanceTypeId types.String `tfsdk:"instance_type_id"`
	// Whether the node type is deprecated. Non-deprecated node types offer
	// greater performance.
	IsDeprecated types.Bool `tfsdk:"is_deprecated"`
	// AWS specific, whether this instance supports encryption in transit, used
	// for hipaa and pci workloads.
	IsEncryptedInTransit types.Bool `tfsdk:"is_encrypted_in_transit"`
	// Whether this is an Arm-based instance.
	IsGraviton types.Bool `tfsdk:"is_graviton"`
	// Whether this node is hidden from presentation in the UI.
	IsHidden types.Bool `tfsdk:"is_hidden"`
	// Whether this node comes with IO cache enabled by default.
	IsIoCacheEnabled types.Bool `tfsdk:"is_io_cache_enabled"`
	// Memory (in MB) available for this node type.
	MemoryMb types.Int64 `tfsdk:"memory_mb"`
	// A collection of node type info reported by the cloud provider
	NodeInfo types.List `tfsdk:"node_info"`
	// The NodeInstanceType object corresponding to instance_type_id
	NodeInstanceType types.List `tfsdk:"node_instance_type"`
	// Unique identifier for this node type.
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of CPU cores available for this node type. Note that this can be
	// fractional, e.g., 2.5 cores, if the number of cores on a machine instance
	// is not divisible by the number of Spark nodes on that machine.
	NumCores types.Float64 `tfsdk:"num_cores"`
	// Number of GPUs available for this node type.
	NumGpus types.Int64 `tfsdk:"num_gpus"`

	PhotonDriverCapable types.Bool `tfsdk:"photon_driver_capable"`

	PhotonWorkerCapable types.Bool `tfsdk:"photon_worker_capable"`
	// Whether this node type support cluster tags.
	SupportClusterTags types.Bool `tfsdk:"support_cluster_tags"`
	// Whether this node type support EBS volumes. EBS volumes is disabled for
	// node types that we could place multiple corresponding containers on the
	// same hosting instance.
	SupportEbsVolumes types.Bool `tfsdk:"support_ebs_volumes"`
	// Whether this node type supports port forwarding.
	SupportPortForwarding types.Bool `tfsdk:"support_port_forwarding"`
}

A description of a Spark node type including both the dimensions of the node and the instance type on which it will be hosted.

func (NodeType_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m NodeType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (NodeType_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m NodeType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*NodeType_SdkV2) GetNodeInfo added in v1.62.1

GetNodeInfo returns the value of the NodeInfo field in NodeType_SdkV2 as a CloudProviderNodeInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*NodeType_SdkV2) GetNodeInstanceType added in v1.62.1

func (m *NodeType_SdkV2) GetNodeInstanceType(ctx context.Context) (NodeInstanceType_SdkV2, bool)

GetNodeInstanceType returns the value of the NodeInstanceType field in NodeType_SdkV2 as a NodeInstanceType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*NodeType_SdkV2) SetNodeInfo added in v1.62.1

SetNodeInfo sets the value of the NodeInfo field in NodeType_SdkV2.

func (*NodeType_SdkV2) SetNodeInstanceType added in v1.62.1

func (m *NodeType_SdkV2) SetNodeInstanceType(ctx context.Context, v NodeInstanceType_SdkV2)

SetNodeInstanceType sets the value of the NodeInstanceType field in NodeType_SdkV2.

func (*NodeType_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *NodeType_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from NodeType_SdkV2)

func (*NodeType_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *NodeType_SdkV2) SyncFieldsDuringRead(ctx context.Context, from NodeType_SdkV2)

func (NodeType_SdkV2) ToObjectValue added in v1.62.1

func (m NodeType_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, NodeType_SdkV2 only implements ToObjectValue() and Type().

func (NodeType_SdkV2) Type added in v1.62.1

func (m NodeType_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PendingEnforcement added in v1.120.0

type PendingEnforcement struct {
	// Whether the pending enforcement will be applied. A pending enforcement
	// begins in `ACTIVE` state. If the enforcement fails to apply too many
	// times, the state transitions to `INACTIVE`. Afterwards, the enforcement
	// must be re-scheduled to become `ACTIVE` again.
	EnforcementStatus types.String `tfsdk:"enforcement_status"`
	// The time the pending enforcement was initiated.
	InitiateTime timetypes.RFC3339 `tfsdk:"initiate_time"`
	// The user who initiated the pending enforcement.
	InitiatorUser types.String `tfsdk:"initiator_user"`
	// A list of changes that will be made to the cluster configuration when the
	// pending enforcement is applied.
	TargetChanges types.List `tfsdk:"target_changes"`
	// The new configuration to apply upon cluster termination or restart.
	TargetSpec types.Object `tfsdk:"target_spec"`
}

Represents a pending enforcement on a cluster, which contains the changes to make to the cluster configuration when the cluster is next terminated or restarted.

func (PendingEnforcement) ApplySchemaCustomizations added in v1.120.0

func (m PendingEnforcement) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PendingEnforcement) GetComplexFieldTypes added in v1.120.0

func (m PendingEnforcement) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingEnforcement. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PendingEnforcement) GetTargetChanges added in v1.120.0

func (m *PendingEnforcement) GetTargetChanges(ctx context.Context) ([]ClusterSettingsChange, bool)

GetTargetChanges returns the value of the TargetChanges field in PendingEnforcement as a slice of ClusterSettingsChange values. If the field is unknown or null, the boolean return value is false.

func (*PendingEnforcement) GetTargetSpec added in v1.120.0

GetTargetSpec returns the value of the TargetSpec field in PendingEnforcement as a EnforcePolicyComplianceForClusterResponseClusterSettings value. If the field is unknown or null, the boolean return value is false.

func (*PendingEnforcement) SetTargetChanges added in v1.120.0

func (m *PendingEnforcement) SetTargetChanges(ctx context.Context, v []ClusterSettingsChange)

SetTargetChanges sets the value of the TargetChanges field in PendingEnforcement.

func (*PendingEnforcement) SetTargetSpec added in v1.120.0

SetTargetSpec sets the value of the TargetSpec field in PendingEnforcement.

func (*PendingEnforcement) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *PendingEnforcement) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PendingEnforcement)

func (*PendingEnforcement) SyncFieldsDuringRead added in v1.120.0

func (to *PendingEnforcement) SyncFieldsDuringRead(ctx context.Context, from PendingEnforcement)

func (PendingEnforcement) ToObjectValue added in v1.120.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, PendingEnforcement only implements ToObjectValue() and Type().

func (PendingEnforcement) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type PendingEnforcement_SdkV2 added in v1.120.0

type PendingEnforcement_SdkV2 struct {
	// Whether the pending enforcement will be applied. A pending enforcement
	// begins in `ACTIVE` state. If the enforcement fails to apply too many
	// times, the state transitions to `INACTIVE`. Afterwards, the enforcement
	// must be re-scheduled to become `ACTIVE` again.
	EnforcementStatus types.String `tfsdk:"enforcement_status"`
	// The time the pending enforcement was initiated.
	InitiateTime timetypes.RFC3339 `tfsdk:"initiate_time"`
	// The user who initiated the pending enforcement.
	InitiatorUser types.String `tfsdk:"initiator_user"`
	// A list of changes that will be made to the cluster configuration when the
	// pending enforcement is applied.
	TargetChanges types.List `tfsdk:"target_changes"`
	// The new configuration to apply upon cluster termination or restart.
	TargetSpec types.List `tfsdk:"target_spec"`
}

Represents a pending enforcement on a cluster, which contains the changes to make to the cluster configuration when the cluster is next terminated or restarted.

func (PendingEnforcement_SdkV2) ApplySchemaCustomizations added in v1.120.0

func (m PendingEnforcement_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PendingEnforcement_SdkV2) GetComplexFieldTypes added in v1.120.0

func (m PendingEnforcement_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingEnforcement. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PendingEnforcement_SdkV2) GetTargetChanges added in v1.120.0

GetTargetChanges returns the value of the TargetChanges field in PendingEnforcement_SdkV2 as a slice of ClusterSettingsChange_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*PendingEnforcement_SdkV2) GetTargetSpec added in v1.120.0

GetTargetSpec returns the value of the TargetSpec field in PendingEnforcement_SdkV2 as a EnforcePolicyComplianceForClusterResponseClusterSettings_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*PendingEnforcement_SdkV2) SetTargetChanges added in v1.120.0

SetTargetChanges sets the value of the TargetChanges field in PendingEnforcement_SdkV2.

func (*PendingEnforcement_SdkV2) SetTargetSpec added in v1.120.0

SetTargetSpec sets the value of the TargetSpec field in PendingEnforcement_SdkV2.

func (*PendingEnforcement_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.120.0

func (to *PendingEnforcement_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PendingEnforcement_SdkV2)

func (*PendingEnforcement_SdkV2) SyncFieldsDuringRead added in v1.120.0

func (to *PendingEnforcement_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PendingEnforcement_SdkV2)

func (PendingEnforcement_SdkV2) ToObjectValue added in v1.120.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, PendingEnforcement_SdkV2 only implements ToObjectValue() and Type().

func (PendingEnforcement_SdkV2) Type added in v1.120.0

Type implements basetypes.ObjectValuable.

type PendingInstanceError

type PendingInstanceError struct {
	InstanceId types.String `tfsdk:"instance_id"`

	Message types.String `tfsdk:"message"`
}

Error message of a failed pending instances

func (PendingInstanceError) ApplySchemaCustomizations added in v1.63.0

func (m PendingInstanceError) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PendingInstanceError) GetComplexFieldTypes added in v1.61.0

func (m PendingInstanceError) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingInstanceError. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PendingInstanceError) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PendingInstanceError) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PendingInstanceError)

func (*PendingInstanceError) SyncFieldsDuringRead added in v1.86.0

func (to *PendingInstanceError) SyncFieldsDuringRead(ctx context.Context, from PendingInstanceError)

func (PendingInstanceError) 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, PendingInstanceError only implements ToObjectValue() and Type().

func (PendingInstanceError) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PendingInstanceError_SdkV2 added in v1.62.1

type PendingInstanceError_SdkV2 struct {
	InstanceId types.String `tfsdk:"instance_id"`

	Message types.String `tfsdk:"message"`
}

Error message of a failed pending instances

func (PendingInstanceError_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PendingInstanceError_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PendingInstanceError_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PendingInstanceError_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingInstanceError. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PendingInstanceError_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PendingInstanceError_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PendingInstanceError_SdkV2)

func (*PendingInstanceError_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PendingInstanceError_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PendingInstanceError_SdkV2)

func (PendingInstanceError_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PendingInstanceError_SdkV2 only implements ToObjectValue() and Type().

func (PendingInstanceError_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PermanentDeleteCluster

type PermanentDeleteCluster struct {
	// The cluster to be deleted.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (PermanentDeleteCluster) ApplySchemaCustomizations added in v1.63.0

func (m PermanentDeleteCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PermanentDeleteCluster) GetComplexFieldTypes added in v1.61.0

func (m PermanentDeleteCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PermanentDeleteCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PermanentDeleteCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PermanentDeleteCluster)

func (*PermanentDeleteCluster) SyncFieldsDuringRead added in v1.91.0

func (to *PermanentDeleteCluster) SyncFieldsDuringRead(ctx context.Context, from PermanentDeleteCluster)

func (PermanentDeleteCluster) 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, PermanentDeleteCluster only implements ToObjectValue() and Type().

func (PermanentDeleteCluster) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PermanentDeleteClusterResponse

type PermanentDeleteClusterResponse struct {
}

func (PermanentDeleteClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (PermanentDeleteClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m PermanentDeleteClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PermanentDeleteClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PermanentDeleteClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PermanentDeleteClusterResponse)

func (*PermanentDeleteClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (PermanentDeleteClusterResponse) 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, PermanentDeleteClusterResponse only implements ToObjectValue() and Type().

func (PermanentDeleteClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PermanentDeleteClusterResponse_SdkV2 added in v1.62.1

type PermanentDeleteClusterResponse_SdkV2 struct {
}

func (PermanentDeleteClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (PermanentDeleteClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PermanentDeleteClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PermanentDeleteClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PermanentDeleteClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PermanentDeleteClusterResponse_SdkV2)

func (*PermanentDeleteClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (PermanentDeleteClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermanentDeleteClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (PermanentDeleteClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PermanentDeleteCluster_SdkV2 added in v1.62.1

type PermanentDeleteCluster_SdkV2 struct {
	// The cluster to be deleted.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (PermanentDeleteCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (PermanentDeleteCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PermanentDeleteCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PermanentDeleteCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PermanentDeleteCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PermanentDeleteCluster_SdkV2)

func (*PermanentDeleteCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *PermanentDeleteCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PermanentDeleteCluster_SdkV2)

func (PermanentDeleteCluster_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PermanentDeleteCluster_SdkV2 only implements ToObjectValue() and Type().

func (PermanentDeleteCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PinCluster

type PinCluster struct {
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (PinCluster) ApplySchemaCustomizations added in v1.63.0

func (m PinCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PinCluster) GetComplexFieldTypes added in v1.61.0

func (m PinCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PinCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PinCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PinCluster)

func (*PinCluster) SyncFieldsDuringRead added in v1.91.0

func (to *PinCluster) SyncFieldsDuringRead(ctx context.Context, from PinCluster)

func (PinCluster) ToObjectValue added in v1.61.0

func (m PinCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PinCluster only implements ToObjectValue() and Type().

func (PinCluster) Type added in v1.61.0

func (m PinCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PinClusterResponse

type PinClusterResponse struct {
}

func (PinClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m PinClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PinClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m PinClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PinClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PinClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PinClusterResponse)

func (*PinClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *PinClusterResponse) SyncFieldsDuringRead(ctx context.Context, from PinClusterResponse)

func (PinClusterResponse) 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, PinClusterResponse only implements ToObjectValue() and Type().

func (PinClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PinClusterResponse_SdkV2 added in v1.62.1

type PinClusterResponse_SdkV2 struct {
}

func (PinClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PinClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PinClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PinClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PinClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PinClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PinClusterResponse_SdkV2)

func (*PinClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PinClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PinClusterResponse_SdkV2)

func (PinClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PinClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (PinClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type PinCluster_SdkV2 added in v1.62.1

type PinCluster_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (PinCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PinCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PinCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PinCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PinCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *PinCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PinCluster_SdkV2)

func (*PinCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *PinCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PinCluster_SdkV2)

func (PinCluster_SdkV2) ToObjectValue added in v1.62.1

func (m PinCluster_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, PinCluster_SdkV2 only implements ToObjectValue() and Type().

func (PinCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Policy

type Policy struct {
	// Creation time. The timestamp (in millisecond) when this Cluster Policy
	// was created.
	CreatedAtTimestamp types.Int64 `tfsdk:"created_at_timestamp"`
	// Creator user name. The field won't be included in the response if the
	// user has already been deleted.
	CreatorUserName types.String `tfsdk:"creator_user_name"`
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Additional human-readable description of the cluster policy.
	Description types.String `tfsdk:"description"`
	// If true, policy is a default policy created and managed by Databricks.
	// Default policies cannot be deleted, and their policy families cannot be
	// changed.
	IsDefault types.Bool `tfsdk:"is_default"`
	// A list of libraries to be installed on the next cluster restart that uses
	// this policy. The maximum number of libraries is 500.
	Libraries types.List `tfsdk:"libraries"`
	// Max number of clusters per user that can be active using this policy. If
	// not present, there is no max limit.
	MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"`
	// Cluster Policy name requested by the user. This has to be unique. Length
	// must be between 1 and 100 characters.
	Name types.String `tfsdk:"name"`
	// Policy definition JSON document expressed in [Databricks Policy
	// Definition Language]. The JSON document must be passed as a string and
	// cannot be embedded in the requests.
	//
	// You can use this to customize the policy definition inherited from the
	// policy family. Policy rules specified here are merged into the inherited
	// policy definition.
	//
	// [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"`
	// ID of the policy family. The cluster policy's policy definition inherits
	// the policy family's policy definition.
	//
	// Cannot be used with `definition`. Use
	// `policy_family_definition_overrides` instead to customize the policy
	// definition.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
	// Canonical unique identifier for the Cluster Policy.
	PolicyId types.String `tfsdk:"policy_id"`
}

Describes a Cluster Policy entity.

func (Policy) ApplySchemaCustomizations added in v1.63.0

func (m Policy) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Policy) GetComplexFieldTypes added in v1.61.0

func (m Policy) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Policy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Policy) GetLibraries added in v1.61.0

func (m *Policy) GetLibraries(ctx context.Context) ([]Library, bool)

GetLibraries returns the value of the Libraries field in Policy as a slice of Library values. If the field is unknown or null, the boolean return value is false.

func (*Policy) SetLibraries added in v1.61.0

func (m *Policy) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in Policy.

func (*Policy) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Policy) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Policy)

func (*Policy) SyncFieldsDuringRead added in v1.86.0

func (to *Policy) SyncFieldsDuringRead(ctx context.Context, from Policy)

func (Policy) ToObjectValue added in v1.61.0

func (m Policy) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Policy only implements ToObjectValue() and Type().

func (Policy) Type added in v1.61.0

func (m Policy) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PolicyFamily

type PolicyFamily struct {
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Human-readable description of the purpose of the policy family.
	Description types.String `tfsdk:"description"`
	// Name of the policy family.
	Name types.String `tfsdk:"name"`
	// Unique identifier for the policy family.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
}

func (PolicyFamily) ApplySchemaCustomizations added in v1.63.0

func (m PolicyFamily) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PolicyFamily) GetComplexFieldTypes added in v1.61.0

func (m PolicyFamily) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PolicyFamily. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PolicyFamily) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PolicyFamily) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PolicyFamily)

func (*PolicyFamily) SyncFieldsDuringRead added in v1.86.0

func (to *PolicyFamily) SyncFieldsDuringRead(ctx context.Context, from PolicyFamily)

func (PolicyFamily) ToObjectValue added in v1.61.0

func (m PolicyFamily) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PolicyFamily only implements ToObjectValue() and Type().

func (PolicyFamily) Type added in v1.61.0

func (m PolicyFamily) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PolicyFamily_SdkV2 added in v1.62.1

type PolicyFamily_SdkV2 struct {
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Human-readable description of the purpose of the policy family.
	Description types.String `tfsdk:"description"`
	// Name of the policy family.
	Name types.String `tfsdk:"name"`
	// Unique identifier for the policy family.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
}

func (PolicyFamily_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PolicyFamily_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PolicyFamily_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PolicyFamily_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PolicyFamily. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PolicyFamily_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PolicyFamily_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PolicyFamily_SdkV2)

func (*PolicyFamily_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PolicyFamily_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PolicyFamily_SdkV2)

func (PolicyFamily_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PolicyFamily_SdkV2 only implements ToObjectValue() and Type().

func (PolicyFamily_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Policy_SdkV2 added in v1.62.1

type Policy_SdkV2 struct {
	// Creation time. The timestamp (in millisecond) when this Cluster Policy
	// was created.
	CreatedAtTimestamp types.Int64 `tfsdk:"created_at_timestamp"`
	// Creator user name. The field won't be included in the response if the
	// user has already been deleted.
	CreatorUserName types.String `tfsdk:"creator_user_name"`
	// Policy definition document expressed in [Databricks Cluster Policy
	// Definition Language].
	//
	// [Databricks Cluster Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	Definition types.String `tfsdk:"definition"`
	// Additional human-readable description of the cluster policy.
	Description types.String `tfsdk:"description"`
	// If true, policy is a default policy created and managed by Databricks.
	// Default policies cannot be deleted, and their policy families cannot be
	// changed.
	IsDefault types.Bool `tfsdk:"is_default"`
	// A list of libraries to be installed on the next cluster restart that uses
	// this policy. The maximum number of libraries is 500.
	Libraries types.List `tfsdk:"libraries"`
	// Max number of clusters per user that can be active using this policy. If
	// not present, there is no max limit.
	MaxClustersPerUser types.Int64 `tfsdk:"max_clusters_per_user"`
	// Cluster Policy name requested by the user. This has to be unique. Length
	// must be between 1 and 100 characters.
	Name types.String `tfsdk:"name"`
	// Policy definition JSON document expressed in [Databricks Policy
	// Definition Language]. The JSON document must be passed as a string and
	// cannot be embedded in the requests.
	//
	// You can use this to customize the policy definition inherited from the
	// policy family. Policy rules specified here are merged into the inherited
	// policy definition.
	//
	// [Databricks Policy Definition Language]: https://docs.databricks.com/administration-guide/clusters/policy-definition.html
	PolicyFamilyDefinitionOverrides types.String `tfsdk:"policy_family_definition_overrides"`
	// ID of the policy family. The cluster policy's policy definition inherits
	// the policy family's policy definition.
	//
	// Cannot be used with `definition`. Use
	// `policy_family_definition_overrides` instead to customize the policy
	// definition.
	PolicyFamilyId types.String `tfsdk:"policy_family_id"`
	// Canonical unique identifier for the Cluster Policy.
	PolicyId types.String `tfsdk:"policy_id"`
}

Describes a Cluster Policy entity.

func (Policy_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Policy_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Policy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Policy_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Policy. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Policy_SdkV2) GetLibraries added in v1.62.1

func (m *Policy_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)

GetLibraries returns the value of the Libraries field in Policy_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*Policy_SdkV2) SetLibraries added in v1.62.1

func (m *Policy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in Policy_SdkV2.

func (*Policy_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Policy_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Policy_SdkV2)

func (*Policy_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Policy_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Policy_SdkV2)

func (Policy_SdkV2) ToObjectValue added in v1.62.1

func (m Policy_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, Policy_SdkV2 only implements ToObjectValue() and Type().

func (Policy_SdkV2) Type added in v1.62.1

func (m Policy_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type PythonPyPiLibrary

type PythonPyPiLibrary struct {
	// The name of the pypi package to install. An optional exact version
	// specification is also supported. Examples: "simplejson" and
	// "simplejson==3.8.0".
	Package types.String `tfsdk:"package"`
	// The repository where the package can be found. If not specified, the
	// default pip index is used.
	Repo types.String `tfsdk:"repo"`
}

func (PythonPyPiLibrary) ApplySchemaCustomizations added in v1.63.0

func (m PythonPyPiLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PythonPyPiLibrary) GetComplexFieldTypes added in v1.61.0

func (m PythonPyPiLibrary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonPyPiLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PythonPyPiLibrary) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PythonPyPiLibrary) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PythonPyPiLibrary)

func (*PythonPyPiLibrary) SyncFieldsDuringRead added in v1.86.0

func (to *PythonPyPiLibrary) SyncFieldsDuringRead(ctx context.Context, from PythonPyPiLibrary)

func (PythonPyPiLibrary) ToObjectValue added in v1.61.0

func (m PythonPyPiLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PythonPyPiLibrary only implements ToObjectValue() and Type().

func (PythonPyPiLibrary) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type PythonPyPiLibrary_SdkV2 added in v1.62.1

type PythonPyPiLibrary_SdkV2 struct {
	// The name of the pypi package to install. An optional exact version
	// specification is also supported. Examples: "simplejson" and
	// "simplejson==3.8.0".
	Package types.String `tfsdk:"package"`
	// The repository where the package can be found. If not specified, the
	// default pip index is used.
	Repo types.String `tfsdk:"repo"`
}

func (PythonPyPiLibrary_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m PythonPyPiLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (PythonPyPiLibrary_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m PythonPyPiLibrary_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonPyPiLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*PythonPyPiLibrary_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *PythonPyPiLibrary_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from PythonPyPiLibrary_SdkV2)

func (*PythonPyPiLibrary_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *PythonPyPiLibrary_SdkV2) SyncFieldsDuringRead(ctx context.Context, from PythonPyPiLibrary_SdkV2)

func (PythonPyPiLibrary_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PythonPyPiLibrary_SdkV2 only implements ToObjectValue() and Type().

func (PythonPyPiLibrary_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RCranLibrary

type RCranLibrary struct {
	// The name of the CRAN package to install.
	Package types.String `tfsdk:"package"`
	// The repository where the package can be found. If not specified, the
	// default CRAN repo is used.
	Repo types.String `tfsdk:"repo"`
}

func (RCranLibrary) ApplySchemaCustomizations added in v1.63.0

func (m RCranLibrary) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RCranLibrary) GetComplexFieldTypes added in v1.61.0

func (m RCranLibrary) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RCranLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RCranLibrary) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RCranLibrary) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RCranLibrary)

func (*RCranLibrary) SyncFieldsDuringRead added in v1.86.0

func (to *RCranLibrary) SyncFieldsDuringRead(ctx context.Context, from RCranLibrary)

func (RCranLibrary) ToObjectValue added in v1.61.0

func (m RCranLibrary) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RCranLibrary only implements ToObjectValue() and Type().

func (RCranLibrary) Type added in v1.61.0

func (m RCranLibrary) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RCranLibrary_SdkV2 added in v1.62.1

type RCranLibrary_SdkV2 struct {
	// The name of the CRAN package to install.
	Package types.String `tfsdk:"package"`
	// The repository where the package can be found. If not specified, the
	// default CRAN repo is used.
	Repo types.String `tfsdk:"repo"`
}

func (RCranLibrary_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m RCranLibrary_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RCranLibrary_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RCranLibrary_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RCranLibrary. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RCranLibrary_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RCranLibrary_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RCranLibrary_SdkV2)

func (*RCranLibrary_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *RCranLibrary_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RCranLibrary_SdkV2)

func (RCranLibrary_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RCranLibrary_SdkV2 only implements ToObjectValue() and Type().

func (RCranLibrary_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RemoveInstanceProfile

type RemoveInstanceProfile struct {
	// The ARN of the instance profile to remove. This field is required.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
}

func (RemoveInstanceProfile) ApplySchemaCustomizations added in v1.63.0

func (m RemoveInstanceProfile) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RemoveInstanceProfile) GetComplexFieldTypes added in v1.61.0

func (m RemoveInstanceProfile) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveInstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RemoveInstanceProfile) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RemoveInstanceProfile) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RemoveInstanceProfile)

func (*RemoveInstanceProfile) SyncFieldsDuringRead added in v1.91.0

func (to *RemoveInstanceProfile) SyncFieldsDuringRead(ctx context.Context, from RemoveInstanceProfile)

func (RemoveInstanceProfile) 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, RemoveInstanceProfile only implements ToObjectValue() and Type().

func (RemoveInstanceProfile) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RemoveInstanceProfile_SdkV2 added in v1.62.1

type RemoveInstanceProfile_SdkV2 struct {
	// The ARN of the instance profile to remove. This field is required.
	InstanceProfileArn types.String `tfsdk:"instance_profile_arn"`
}

func (RemoveInstanceProfile_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m RemoveInstanceProfile_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RemoveInstanceProfile_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RemoveInstanceProfile_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveInstanceProfile. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RemoveInstanceProfile_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RemoveInstanceProfile_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RemoveInstanceProfile_SdkV2)

func (*RemoveInstanceProfile_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *RemoveInstanceProfile_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RemoveInstanceProfile_SdkV2)

func (RemoveInstanceProfile_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveInstanceProfile_SdkV2 only implements ToObjectValue() and Type().

func (RemoveInstanceProfile_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RemoveResponse

type RemoveResponse struct {
}

func (RemoveResponse) ApplySchemaCustomizations added in v1.76.0

func (m RemoveResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RemoveResponse) GetComplexFieldTypes added in v1.61.0

func (m RemoveResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RemoveResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RemoveResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RemoveResponse)

func (*RemoveResponse) SyncFieldsDuringRead added in v1.86.0

func (to *RemoveResponse) SyncFieldsDuringRead(ctx context.Context, from RemoveResponse)

func (RemoveResponse) ToObjectValue added in v1.61.0

func (m RemoveResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveResponse only implements ToObjectValue() and Type().

func (RemoveResponse) Type added in v1.61.0

func (m RemoveResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RemoveResponse_SdkV2 added in v1.62.1

type RemoveResponse_SdkV2 struct {
}

func (RemoveResponse_SdkV2) ApplySchemaCustomizations added in v1.76.0

func (m RemoveResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RemoveResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RemoveResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RemoveResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RemoveResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RemoveResponse_SdkV2)

func (*RemoveResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *RemoveResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RemoveResponse_SdkV2)

func (RemoveResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RemoveResponse_SdkV2 only implements ToObjectValue() and Type().

func (RemoveResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ResizeCluster

type ResizeCluster struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// The cluster to be resized.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
}

func (ResizeCluster) ApplySchemaCustomizations added in v1.63.0

func (m ResizeCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResizeCluster) GetAutoscale added in v1.61.0

func (m *ResizeCluster) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in ResizeCluster as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (ResizeCluster) GetComplexFieldTypes added in v1.61.0

func (m ResizeCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ResizeCluster) SetAutoscale added in v1.61.0

func (m *ResizeCluster) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in ResizeCluster.

func (*ResizeCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ResizeCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResizeCluster)

func (*ResizeCluster) SyncFieldsDuringRead added in v1.91.0

func (to *ResizeCluster) SyncFieldsDuringRead(ctx context.Context, from ResizeCluster)

func (ResizeCluster) ToObjectValue added in v1.61.0

func (m ResizeCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeCluster only implements ToObjectValue() and Type().

func (ResizeCluster) Type added in v1.61.0

func (m ResizeCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type ResizeClusterResponse

type ResizeClusterResponse struct {
}

func (ResizeClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m ResizeClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ResizeClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m ResizeClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ResizeClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResizeClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResizeClusterResponse)

func (*ResizeClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *ResizeClusterResponse) SyncFieldsDuringRead(ctx context.Context, from ResizeClusterResponse)

func (ResizeClusterResponse) 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, ResizeClusterResponse only implements ToObjectValue() and Type().

func (ResizeClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ResizeClusterResponse_SdkV2 added in v1.62.1

type ResizeClusterResponse_SdkV2 struct {
}

func (ResizeClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ResizeClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ResizeClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ResizeClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ResizeClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *ResizeClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResizeClusterResponse_SdkV2)

func (*ResizeClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *ResizeClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ResizeClusterResponse_SdkV2)

func (ResizeClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (ResizeClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type ResizeCluster_SdkV2 added in v1.62.1

type ResizeCluster_SdkV2 struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// The cluster to be resized.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
}

func (ResizeCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m ResizeCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ResizeCluster_SdkV2) GetAutoscale added in v1.62.1

func (m *ResizeCluster_SdkV2) GetAutoscale(ctx context.Context) (AutoScale_SdkV2, bool)

GetAutoscale returns the value of the Autoscale field in ResizeCluster_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (ResizeCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m ResizeCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*ResizeCluster_SdkV2) SetAutoscale added in v1.62.1

func (m *ResizeCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in ResizeCluster_SdkV2.

func (*ResizeCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *ResizeCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from ResizeCluster_SdkV2)

func (*ResizeCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *ResizeCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from ResizeCluster_SdkV2)

func (ResizeCluster_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ResizeCluster_SdkV2 only implements ToObjectValue() and Type().

func (ResizeCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RestartCluster

type RestartCluster struct {
	// The cluster to be started.
	ClusterId types.String `tfsdk:"cluster_id"`

	RestartUser types.String `tfsdk:"restart_user"`
}

func (RestartCluster) ApplySchemaCustomizations added in v1.63.0

func (m RestartCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestartCluster) GetComplexFieldTypes added in v1.61.0

func (m RestartCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RestartCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RestartCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestartCluster)

func (*RestartCluster) SyncFieldsDuringRead added in v1.91.0

func (to *RestartCluster) SyncFieldsDuringRead(ctx context.Context, from RestartCluster)

func (RestartCluster) ToObjectValue added in v1.61.0

func (m RestartCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartCluster only implements ToObjectValue() and Type().

func (RestartCluster) Type added in v1.61.0

func (m RestartCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type RestartClusterResponse

type RestartClusterResponse struct {
}

func (RestartClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m RestartClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestartClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m RestartClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RestartClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RestartClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestartClusterResponse)

func (*RestartClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *RestartClusterResponse) SyncFieldsDuringRead(ctx context.Context, from RestartClusterResponse)

func (RestartClusterResponse) 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, RestartClusterResponse only implements ToObjectValue() and Type().

func (RestartClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type RestartClusterResponse_SdkV2 added in v1.62.1

type RestartClusterResponse_SdkV2 struct {
}

func (RestartClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (RestartClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RestartClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RestartClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *RestartClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestartClusterResponse_SdkV2)

func (*RestartClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *RestartClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RestartClusterResponse_SdkV2)

func (RestartClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (RestartClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type RestartCluster_SdkV2 added in v1.62.1

type RestartCluster_SdkV2 struct {
	// The cluster to be started.
	ClusterId types.String `tfsdk:"cluster_id"`

	RestartUser types.String `tfsdk:"restart_user"`
}

func (RestartCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m RestartCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (RestartCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m RestartCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*RestartCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *RestartCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from RestartCluster_SdkV2)

func (*RestartCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *RestartCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from RestartCluster_SdkV2)

func (RestartCluster_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, RestartCluster_SdkV2 only implements ToObjectValue() and Type().

func (RestartCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type Results

type Results struct {
	// The cause of the error
	Cause types.String `tfsdk:"cause"`

	Data types.Object `tfsdk:"data"`
	// The image data in one of the following formats:
	//
	// 1. A Data URL with base64-encoded image data:
	// `data:image/{type};base64,{base64-data}`. Example:
	// `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...`
	//
	// 2. A FileStore file path for large images: `/plots/{filename}.png`.
	// Example: `/plots/b6a7ad70-fb2c-4353-8aed-3f1e015174a4.png`
	FileName types.String `tfsdk:"file_name"`
	// List of image data for multiple images. Each element follows the same
	// format as file_name.
	FileNames types.List `tfsdk:"file_names"`
	// true if a JSON schema is returned instead of a string representation of
	// the Hive type.
	IsJsonSchema types.Bool `tfsdk:"is_json_schema"`
	// internal field used by SDK
	Pos types.Int64 `tfsdk:"pos"`

	ResultType types.String `tfsdk:"result_type"`
	// The table schema
	Schema types.List `tfsdk:"schema"`
	// The summary of the error
	Summary types.String `tfsdk:"summary"`
	// true if partial results are returned.
	Truncated types.Bool `tfsdk:"truncated"`
}

func (Results) ApplySchemaCustomizations added in v1.63.0

func (m Results) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Results) GetComplexFieldTypes added in v1.61.0

func (m Results) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Results. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Results) GetFileNames added in v1.61.0

func (m *Results) GetFileNames(ctx context.Context) ([]types.String, bool)

GetFileNames returns the value of the FileNames field in Results as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Results) GetSchema added in v1.61.0

func (m *Results) GetSchema(ctx context.Context) ([]types.Object, bool)

GetSchema returns the value of the Schema field in Results as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*Results) SetFileNames added in v1.61.0

func (m *Results) SetFileNames(ctx context.Context, v []types.String)

SetFileNames sets the value of the FileNames field in Results.

func (*Results) SetSchema added in v1.61.0

func (m *Results) SetSchema(ctx context.Context, v []types.Object)

SetSchema sets the value of the Schema field in Results.

func (*Results) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Results) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Results)

func (*Results) SyncFieldsDuringRead added in v1.86.0

func (to *Results) SyncFieldsDuringRead(ctx context.Context, from Results)

func (Results) ToObjectValue added in v1.61.0

func (m Results) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Results only implements ToObjectValue() and Type().

func (Results) Type added in v1.61.0

func (m Results) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type Results_SdkV2 added in v1.62.1

type Results_SdkV2 struct {
	// The cause of the error
	Cause types.String `tfsdk:"cause"`

	Data types.Object `tfsdk:"data"`
	// The image data in one of the following formats:
	//
	// 1. A Data URL with base64-encoded image data:
	// `data:image/{type};base64,{base64-data}`. Example:
	// `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...`
	//
	// 2. A FileStore file path for large images: `/plots/{filename}.png`.
	// Example: `/plots/b6a7ad70-fb2c-4353-8aed-3f1e015174a4.png`
	FileName types.String `tfsdk:"file_name"`
	// List of image data for multiple images. Each element follows the same
	// format as file_name.
	FileNames types.List `tfsdk:"file_names"`
	// true if a JSON schema is returned instead of a string representation of
	// the Hive type.
	IsJsonSchema types.Bool `tfsdk:"is_json_schema"`
	// internal field used by SDK
	Pos types.Int64 `tfsdk:"pos"`

	ResultType types.String `tfsdk:"result_type"`
	// The table schema
	Schema types.List `tfsdk:"schema"`
	// The summary of the error
	Summary types.String `tfsdk:"summary"`
	// true if partial results are returned.
	Truncated types.Bool `tfsdk:"truncated"`
}

func (Results_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m Results_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Results_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m Results_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in Results. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*Results_SdkV2) GetFileNames added in v1.62.1

func (m *Results_SdkV2) GetFileNames(ctx context.Context) ([]types.String, bool)

GetFileNames returns the value of the FileNames field in Results_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Results_SdkV2) GetSchema added in v1.62.1

func (m *Results_SdkV2) GetSchema(ctx context.Context) ([]types.Object, bool)

GetSchema returns the value of the Schema field in Results_SdkV2 as a slice of types.Object values. If the field is unknown or null, the boolean return value is false.

func (*Results_SdkV2) SetFileNames added in v1.62.1

func (m *Results_SdkV2) SetFileNames(ctx context.Context, v []types.String)

SetFileNames sets the value of the FileNames field in Results_SdkV2.

func (*Results_SdkV2) SetSchema added in v1.62.1

func (m *Results_SdkV2) SetSchema(ctx context.Context, v []types.Object)

SetSchema sets the value of the Schema field in Results_SdkV2.

func (*Results_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *Results_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from Results_SdkV2)

func (*Results_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *Results_SdkV2) SyncFieldsDuringRead(ctx context.Context, from Results_SdkV2)

func (Results_SdkV2) ToObjectValue added in v1.62.1

func (m Results_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, Results_SdkV2 only implements ToObjectValue() and Type().

func (Results_SdkV2) Type added in v1.62.1

func (m Results_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type S3StorageInfo

type S3StorageInfo struct {
	// (Optional) Set canned access control list for the logs, e.g.
	// `bucket-owner-full-control`. If `canned_cal` is set, please make sure the
	// cluster iam role has `s3:PutObjectAcl` permission on the destination
	// bucket and prefix. The full list of possible canned acl can be found at
	// http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl.
	// Please also note that by default only the object owner gets full
	// controls. If you are using cross account role for writing data, you may
	// want to set `bucket-owner-full-control` to make bucket owner able to read
	// the logs.
	CannedAcl types.String `tfsdk:"canned_acl"`
	// S3 destination, e.g. `s3://my-bucket/some-prefix` Note that logs will be
	// delivered using cluster iam role, please make sure you set cluster iam
	// role and the role has write access to the destination. Please also note
	// that you cannot use AWS keys to deliver logs.
	Destination types.String `tfsdk:"destination"`
	// (Optional) Flag to enable server side encryption, `false` by default.
	EnableEncryption types.Bool `tfsdk:"enable_encryption"`
	// (Optional) The encryption type, it could be `sse-s3` or `sse-kms`. It
	// will be used only when encryption is enabled and the default type is
	// `sse-s3`.
	EncryptionType types.String `tfsdk:"encryption_type"`
	// S3 endpoint, e.g. `https://s3-us-west-2.amazonaws.com`. Either region or
	// endpoint needs to be set. If both are set, endpoint will be used.
	Endpoint types.String `tfsdk:"endpoint"`
	// (Optional) Kms key which will be used if encryption is enabled and
	// encryption type is set to `sse-kms`.
	KmsKey types.String `tfsdk:"kms_key"`
	// S3 region, e.g. `us-west-2`. Either region or endpoint needs to be set.
	// If both are set, endpoint will be used.
	Region types.String `tfsdk:"region"`
}

A storage location in Amazon S3

func (S3StorageInfo) ApplySchemaCustomizations added in v1.63.0

func (m S3StorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (S3StorageInfo) GetComplexFieldTypes added in v1.61.0

func (m S3StorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in S3StorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*S3StorageInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *S3StorageInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from S3StorageInfo)

func (*S3StorageInfo) SyncFieldsDuringRead added in v1.86.0

func (to *S3StorageInfo) SyncFieldsDuringRead(ctx context.Context, from S3StorageInfo)

func (S3StorageInfo) ToObjectValue added in v1.61.0

func (m S3StorageInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, S3StorageInfo only implements ToObjectValue() and Type().

func (S3StorageInfo) Type added in v1.61.0

func (m S3StorageInfo) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type S3StorageInfo_SdkV2 added in v1.62.1

type S3StorageInfo_SdkV2 struct {
	// (Optional) Set canned access control list for the logs, e.g.
	// `bucket-owner-full-control`. If `canned_cal` is set, please make sure the
	// cluster iam role has `s3:PutObjectAcl` permission on the destination
	// bucket and prefix. The full list of possible canned acl can be found at
	// http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl.
	// Please also note that by default only the object owner gets full
	// controls. If you are using cross account role for writing data, you may
	// want to set `bucket-owner-full-control` to make bucket owner able to read
	// the logs.
	CannedAcl types.String `tfsdk:"canned_acl"`
	// S3 destination, e.g. `s3://my-bucket/some-prefix` Note that logs will be
	// delivered using cluster iam role, please make sure you set cluster iam
	// role and the role has write access to the destination. Please also note
	// that you cannot use AWS keys to deliver logs.
	Destination types.String `tfsdk:"destination"`
	// (Optional) Flag to enable server side encryption, `false` by default.
	EnableEncryption types.Bool `tfsdk:"enable_encryption"`
	// (Optional) The encryption type, it could be `sse-s3` or `sse-kms`. It
	// will be used only when encryption is enabled and the default type is
	// `sse-s3`.
	EncryptionType types.String `tfsdk:"encryption_type"`
	// S3 endpoint, e.g. `https://s3-us-west-2.amazonaws.com`. Either region or
	// endpoint needs to be set. If both are set, endpoint will be used.
	Endpoint types.String `tfsdk:"endpoint"`
	// (Optional) Kms key which will be used if encryption is enabled and
	// encryption type is set to `sse-kms`.
	KmsKey types.String `tfsdk:"kms_key"`
	// S3 region, e.g. `us-west-2`. Either region or endpoint needs to be set.
	// If both are set, endpoint will be used.
	Region types.String `tfsdk:"region"`
}

A storage location in Amazon S3

func (S3StorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m S3StorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (S3StorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m S3StorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in S3StorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*S3StorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *S3StorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from S3StorageInfo_SdkV2)

func (*S3StorageInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *S3StorageInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from S3StorageInfo_SdkV2)

func (S3StorageInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, S3StorageInfo_SdkV2 only implements ToObjectValue() and Type().

func (S3StorageInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SparkNode

type SparkNode struct {
	// The private IP address of the host instance.
	HostPrivateIp types.String `tfsdk:"host_private_ip"`
	// Globally unique identifier for the host instance from the cloud provider.
	InstanceId types.String `tfsdk:"instance_id"`
	// Attributes specific to AWS for a Spark node.
	NodeAwsAttributes types.Object `tfsdk:"node_aws_attributes"`
	// Globally unique identifier for this node.
	NodeId types.String `tfsdk:"node_id"`
	// Private IP address (typically a 10.x.x.x address) of the Spark node. Note
	// that this is different from the private IP address of the host instance.
	PrivateIp types.String `tfsdk:"private_ip"`
	// Public DNS address of this node. This address can be used to access the
	// Spark JDBC server on the driver node. To communicate with the JDBC
	// server, traffic must be manually authorized by adding security group
	// rules to the "worker-unmanaged" security group via the AWS console.
	PublicDns types.String `tfsdk:"public_dns"`
	// The timestamp (in millisecond) when the Spark node is launched.
	StartTimestamp types.Int64 `tfsdk:"start_timestamp"`
}

Describes a specific Spark driver or executor.

func (SparkNode) ApplySchemaCustomizations added in v1.63.0

func (m SparkNode) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkNode) GetComplexFieldTypes added in v1.61.0

func (m SparkNode) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNode. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkNode) GetNodeAwsAttributes added in v1.61.0

func (m *SparkNode) GetNodeAwsAttributes(ctx context.Context) (SparkNodeAwsAttributes, bool)

GetNodeAwsAttributes returns the value of the NodeAwsAttributes field in SparkNode as a SparkNodeAwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*SparkNode) SetNodeAwsAttributes added in v1.61.0

func (m *SparkNode) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes)

SetNodeAwsAttributes sets the value of the NodeAwsAttributes field in SparkNode.

func (*SparkNode) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SparkNode) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkNode)

func (*SparkNode) SyncFieldsDuringRead added in v1.86.0

func (to *SparkNode) SyncFieldsDuringRead(ctx context.Context, from SparkNode)

func (SparkNode) ToObjectValue added in v1.61.0

func (m SparkNode) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkNode only implements ToObjectValue() and Type().

func (SparkNode) Type added in v1.61.0

func (m SparkNode) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SparkNodeAwsAttributes

type SparkNodeAwsAttributes struct {
	// Whether this node is on an Amazon spot instance.
	IsSpot types.Bool `tfsdk:"is_spot"`
}

Attributes specific to AWS for a Spark node.

func (SparkNodeAwsAttributes) ApplySchemaCustomizations added in v1.63.0

func (m SparkNodeAwsAttributes) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkNodeAwsAttributes) GetComplexFieldTypes added in v1.61.0

func (m SparkNodeAwsAttributes) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNodeAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkNodeAwsAttributes) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SparkNodeAwsAttributes) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkNodeAwsAttributes)

func (*SparkNodeAwsAttributes) SyncFieldsDuringRead added in v1.86.0

func (to *SparkNodeAwsAttributes) SyncFieldsDuringRead(ctx context.Context, from SparkNodeAwsAttributes)

func (SparkNodeAwsAttributes) 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, SparkNodeAwsAttributes only implements ToObjectValue() and Type().

func (SparkNodeAwsAttributes) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type SparkNodeAwsAttributes_SdkV2 added in v1.62.1

type SparkNodeAwsAttributes_SdkV2 struct {
	// Whether this node is on an Amazon spot instance.
	IsSpot types.Bool `tfsdk:"is_spot"`
}

Attributes specific to AWS for a Spark node.

func (SparkNodeAwsAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (SparkNodeAwsAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m SparkNodeAwsAttributes_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNodeAwsAttributes. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkNodeAwsAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SparkNodeAwsAttributes_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkNodeAwsAttributes_SdkV2)

func (*SparkNodeAwsAttributes_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *SparkNodeAwsAttributes_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SparkNodeAwsAttributes_SdkV2)

func (SparkNodeAwsAttributes_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkNodeAwsAttributes_SdkV2 only implements ToObjectValue() and Type().

func (SparkNodeAwsAttributes_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SparkNode_SdkV2 added in v1.62.1

type SparkNode_SdkV2 struct {
	// The private IP address of the host instance.
	HostPrivateIp types.String `tfsdk:"host_private_ip"`
	// Globally unique identifier for the host instance from the cloud provider.
	InstanceId types.String `tfsdk:"instance_id"`
	// Attributes specific to AWS for a Spark node.
	NodeAwsAttributes types.List `tfsdk:"node_aws_attributes"`
	// Globally unique identifier for this node.
	NodeId types.String `tfsdk:"node_id"`
	// Private IP address (typically a 10.x.x.x address) of the Spark node. Note
	// that this is different from the private IP address of the host instance.
	PrivateIp types.String `tfsdk:"private_ip"`
	// Public DNS address of this node. This address can be used to access the
	// Spark JDBC server on the driver node. To communicate with the JDBC
	// server, traffic must be manually authorized by adding security group
	// rules to the "worker-unmanaged" security group via the AWS console.
	PublicDns types.String `tfsdk:"public_dns"`
	// The timestamp (in millisecond) when the Spark node is launched.
	StartTimestamp types.Int64 `tfsdk:"start_timestamp"`
}

Describes a specific Spark driver or executor.

func (SparkNode_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m SparkNode_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkNode_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m SparkNode_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNode. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkNode_SdkV2) GetNodeAwsAttributes added in v1.62.1

func (m *SparkNode_SdkV2) GetNodeAwsAttributes(ctx context.Context) (SparkNodeAwsAttributes_SdkV2, bool)

GetNodeAwsAttributes returns the value of the NodeAwsAttributes field in SparkNode_SdkV2 as a SparkNodeAwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*SparkNode_SdkV2) SetNodeAwsAttributes added in v1.62.1

func (m *SparkNode_SdkV2) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes_SdkV2)

SetNodeAwsAttributes sets the value of the NodeAwsAttributes field in SparkNode_SdkV2.

func (*SparkNode_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SparkNode_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkNode_SdkV2)

func (*SparkNode_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *SparkNode_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SparkNode_SdkV2)

func (SparkNode_SdkV2) ToObjectValue added in v1.62.1

func (m SparkNode_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, SparkNode_SdkV2 only implements ToObjectValue() and Type().

func (SparkNode_SdkV2) Type added in v1.62.1

func (m SparkNode_SdkV2) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SparkVersion

type SparkVersion struct {
	// Spark version key, for example "2.1.x-scala2.11". This is the value which
	// should be provided as the "spark_version" when creating a new cluster.
	// Note that the exact Spark version may change over time for a "wildcard"
	// version (i.e., "2.1.x-scala2.11" is a "wildcard" version) with minor bug
	// fixes.
	Key types.String `tfsdk:"key"`
	// A descriptive name for this Spark version, for example "Spark 2.1".
	Name types.String `tfsdk:"name"`
}

func (SparkVersion) ApplySchemaCustomizations added in v1.63.0

func (m SparkVersion) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkVersion) GetComplexFieldTypes added in v1.61.0

func (m SparkVersion) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersion. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkVersion) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SparkVersion) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkVersion)

func (*SparkVersion) SyncFieldsDuringRead added in v1.86.0

func (to *SparkVersion) SyncFieldsDuringRead(ctx context.Context, from SparkVersion)

func (SparkVersion) ToObjectValue added in v1.61.0

func (m SparkVersion) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkVersion only implements ToObjectValue() and Type().

func (SparkVersion) Type added in v1.61.0

func (m SparkVersion) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type SparkVersion_SdkV2 added in v1.62.1

type SparkVersion_SdkV2 struct {
	// Spark version key, for example "2.1.x-scala2.11". This is the value which
	// should be provided as the "spark_version" when creating a new cluster.
	// Note that the exact Spark version may change over time for a "wildcard"
	// version (i.e., "2.1.x-scala2.11" is a "wildcard" version) with minor bug
	// fixes.
	Key types.String `tfsdk:"key"`
	// A descriptive name for this Spark version, for example "Spark 2.1".
	Name types.String `tfsdk:"name"`
}

func (SparkVersion_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m SparkVersion_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkVersion_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m SparkVersion_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersion. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkVersion_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *SparkVersion_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkVersion_SdkV2)

func (*SparkVersion_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *SparkVersion_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SparkVersion_SdkV2)

func (SparkVersion_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkVersion_SdkV2 only implements ToObjectValue() and Type().

func (SparkVersion_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type SparkVersionsRequest added in v1.85.0

type SparkVersionsRequest struct {
}

func (SparkVersionsRequest) ApplySchemaCustomizations added in v1.91.0

func (m SparkVersionsRequest) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkVersionsRequest) GetComplexFieldTypes added in v1.85.0

func (m SparkVersionsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkVersionsRequest) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *SparkVersionsRequest) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkVersionsRequest)

func (*SparkVersionsRequest) SyncFieldsDuringRead added in v1.91.0

func (to *SparkVersionsRequest) SyncFieldsDuringRead(ctx context.Context, from SparkVersionsRequest)

func (SparkVersionsRequest) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkVersionsRequest only implements ToObjectValue() and Type().

func (SparkVersionsRequest) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type SparkVersionsRequest_SdkV2 added in v1.85.0

type SparkVersionsRequest_SdkV2 struct {
}

func (SparkVersionsRequest_SdkV2) ApplySchemaCustomizations added in v1.91.0

func (m SparkVersionsRequest_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (SparkVersionsRequest_SdkV2) GetComplexFieldTypes added in v1.85.0

func (m SparkVersionsRequest_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersionsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*SparkVersionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *SparkVersionsRequest_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from SparkVersionsRequest_SdkV2)

func (*SparkVersionsRequest_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *SparkVersionsRequest_SdkV2) SyncFieldsDuringRead(ctx context.Context, from SparkVersionsRequest_SdkV2)

func (SparkVersionsRequest_SdkV2) ToObjectValue added in v1.85.0

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, SparkVersionsRequest_SdkV2 only implements ToObjectValue() and Type().

func (SparkVersionsRequest_SdkV2) Type added in v1.85.0

Type implements basetypes.ObjectValuable.

type StartCluster

type StartCluster struct {
	// The cluster to be started.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (StartCluster) ApplySchemaCustomizations added in v1.63.0

func (m StartCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartCluster) GetComplexFieldTypes added in v1.61.0

func (m StartCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*StartCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *StartCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartCluster)

func (*StartCluster) SyncFieldsDuringRead added in v1.91.0

func (to *StartCluster) SyncFieldsDuringRead(ctx context.Context, from StartCluster)

func (StartCluster) ToObjectValue added in v1.61.0

func (m StartCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartCluster only implements ToObjectValue() and Type().

func (StartCluster) Type added in v1.61.0

func (m StartCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type StartClusterResponse

type StartClusterResponse struct {
}

func (StartClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m StartClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m StartClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*StartClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StartClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartClusterResponse)

func (*StartClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *StartClusterResponse) SyncFieldsDuringRead(ctx context.Context, from StartClusterResponse)

func (StartClusterResponse) 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, StartClusterResponse only implements ToObjectValue() and Type().

func (StartClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type StartClusterResponse_SdkV2 added in v1.62.1

type StartClusterResponse_SdkV2 struct {
}

func (StartClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m StartClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StartClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*StartClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *StartClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartClusterResponse_SdkV2)

func (*StartClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *StartClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartClusterResponse_SdkV2)

func (StartClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (StartClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type StartCluster_SdkV2 added in v1.62.1

type StartCluster_SdkV2 struct {
	// The cluster to be started.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (StartCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m StartCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (StartCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m StartCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*StartCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *StartCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from StartCluster_SdkV2)

func (*StartCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *StartCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from StartCluster_SdkV2)

func (StartCluster_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, StartCluster_SdkV2 only implements ToObjectValue() and Type().

func (StartCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type TerminationReason

type TerminationReason struct {
	// status code indicating why the cluster was terminated
	Code types.String `tfsdk:"code"`
	// list of parameters that provide additional information about why the
	// cluster was terminated
	Parameters types.Map `tfsdk:"parameters"`
	// type of the termination
	Type_ types.String `tfsdk:"type"`
}

func (TerminationReason) ApplySchemaCustomizations added in v1.63.0

func (m TerminationReason) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TerminationReason) GetComplexFieldTypes added in v1.61.0

func (m TerminationReason) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*TerminationReason) GetParameters added in v1.61.0

func (m *TerminationReason) GetParameters(ctx context.Context) (map[string]types.String, bool)

GetParameters returns the value of the Parameters field in TerminationReason as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*TerminationReason) SetParameters added in v1.61.0

func (m *TerminationReason) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason.

func (*TerminationReason) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TerminationReason) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TerminationReason)

func (*TerminationReason) SyncFieldsDuringRead added in v1.86.0

func (to *TerminationReason) SyncFieldsDuringRead(ctx context.Context, from TerminationReason)

func (TerminationReason) ToObjectValue added in v1.61.0

func (m TerminationReason) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TerminationReason only implements ToObjectValue() and Type().

func (TerminationReason) Type

Type implements basetypes.ObjectValuable.

type TerminationReason_SdkV2 added in v1.62.1

type TerminationReason_SdkV2 struct {
	// status code indicating why the cluster was terminated
	Code types.String `tfsdk:"code"`
	// list of parameters that provide additional information about why the
	// cluster was terminated
	Parameters types.Map `tfsdk:"parameters"`
	// type of the termination
	Type_ types.String `tfsdk:"type"`
}

func (TerminationReason_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m TerminationReason_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (TerminationReason_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m TerminationReason_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*TerminationReason_SdkV2) GetParameters added in v1.62.1

func (m *TerminationReason_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)

GetParameters returns the value of the Parameters field in TerminationReason_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*TerminationReason_SdkV2) SetParameters added in v1.62.1

func (m *TerminationReason_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason_SdkV2.

func (*TerminationReason_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *TerminationReason_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from TerminationReason_SdkV2)

func (*TerminationReason_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *TerminationReason_SdkV2) SyncFieldsDuringRead(ctx context.Context, from TerminationReason_SdkV2)

func (TerminationReason_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, TerminationReason_SdkV2 only implements ToObjectValue() and Type().

func (TerminationReason_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UninstallLibraries

type UninstallLibraries struct {
	// Unique identifier for the cluster on which to uninstall these libraries.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The libraries to uninstall.
	Libraries types.List `tfsdk:"libraries"`
}

func (UninstallLibraries) ApplySchemaCustomizations added in v1.63.0

func (m UninstallLibraries) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UninstallLibraries) GetComplexFieldTypes added in v1.61.0

func (m UninstallLibraries) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UninstallLibraries) GetLibraries added in v1.61.0

func (m *UninstallLibraries) GetLibraries(ctx context.Context) ([]Library, bool)

GetLibraries returns the value of the Libraries field in UninstallLibraries as a slice of Library values. If the field is unknown or null, the boolean return value is false.

func (*UninstallLibraries) SetLibraries added in v1.61.0

func (m *UninstallLibraries) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in UninstallLibraries.

func (*UninstallLibraries) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UninstallLibraries) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UninstallLibraries)

func (*UninstallLibraries) SyncFieldsDuringRead added in v1.91.0

func (to *UninstallLibraries) SyncFieldsDuringRead(ctx context.Context, from UninstallLibraries)

func (UninstallLibraries) 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, UninstallLibraries only implements ToObjectValue() and Type().

func (UninstallLibraries) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UninstallLibrariesResponse

type UninstallLibrariesResponse struct {
}

func (UninstallLibrariesResponse) ApplySchemaCustomizations added in v1.63.0

func (m UninstallLibrariesResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UninstallLibrariesResponse) GetComplexFieldTypes added in v1.61.0

func (m UninstallLibrariesResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UninstallLibrariesResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UninstallLibrariesResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UninstallLibrariesResponse)

func (*UninstallLibrariesResponse) SyncFieldsDuringRead added in v1.86.0

func (to *UninstallLibrariesResponse) SyncFieldsDuringRead(ctx context.Context, from UninstallLibrariesResponse)

func (UninstallLibrariesResponse) 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, UninstallLibrariesResponse only implements ToObjectValue() and Type().

func (UninstallLibrariesResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UninstallLibrariesResponse_SdkV2 added in v1.62.1

type UninstallLibrariesResponse_SdkV2 struct {
}

func (UninstallLibrariesResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (UninstallLibrariesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UninstallLibrariesResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibrariesResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UninstallLibrariesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UninstallLibrariesResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UninstallLibrariesResponse_SdkV2)

func (*UninstallLibrariesResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (UninstallLibrariesResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UninstallLibrariesResponse_SdkV2 only implements ToObjectValue() and Type().

func (UninstallLibrariesResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UninstallLibraries_SdkV2 added in v1.62.1

type UninstallLibraries_SdkV2 struct {
	// Unique identifier for the cluster on which to uninstall these libraries.
	ClusterId types.String `tfsdk:"cluster_id"`
	// The libraries to uninstall.
	Libraries types.List `tfsdk:"libraries"`
}

func (UninstallLibraries_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UninstallLibraries_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UninstallLibraries_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UninstallLibraries_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibraries. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UninstallLibraries_SdkV2) GetLibraries added in v1.62.1

func (m *UninstallLibraries_SdkV2) GetLibraries(ctx context.Context) ([]Library_SdkV2, bool)

GetLibraries returns the value of the Libraries field in UninstallLibraries_SdkV2 as a slice of Library_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*UninstallLibraries_SdkV2) SetLibraries added in v1.62.1

func (m *UninstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in UninstallLibraries_SdkV2.

func (*UninstallLibraries_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UninstallLibraries_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UninstallLibraries_SdkV2)

func (*UninstallLibraries_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UninstallLibraries_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UninstallLibraries_SdkV2)

func (UninstallLibraries_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UninstallLibraries_SdkV2 only implements ToObjectValue() and Type().

func (UninstallLibraries_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UnpinCluster

type UnpinCluster struct {
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (UnpinCluster) ApplySchemaCustomizations added in v1.63.0

func (m UnpinCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UnpinCluster) GetComplexFieldTypes added in v1.61.0

func (m UnpinCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UnpinCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UnpinCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UnpinCluster)

func (*UnpinCluster) SyncFieldsDuringRead added in v1.91.0

func (to *UnpinCluster) SyncFieldsDuringRead(ctx context.Context, from UnpinCluster)

func (UnpinCluster) ToObjectValue added in v1.61.0

func (m UnpinCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinCluster only implements ToObjectValue() and Type().

func (UnpinCluster) Type added in v1.61.0

func (m UnpinCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UnpinClusterResponse

type UnpinClusterResponse struct {
}

func (UnpinClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m UnpinClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UnpinClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m UnpinClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UnpinClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UnpinClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UnpinClusterResponse)

func (*UnpinClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *UnpinClusterResponse) SyncFieldsDuringRead(ctx context.Context, from UnpinClusterResponse)

func (UnpinClusterResponse) 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, UnpinClusterResponse only implements ToObjectValue() and Type().

func (UnpinClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UnpinClusterResponse_SdkV2 added in v1.62.1

type UnpinClusterResponse_SdkV2 struct {
}

func (UnpinClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UnpinClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UnpinClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UnpinClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UnpinClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UnpinClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UnpinClusterResponse_SdkV2)

func (*UnpinClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UnpinClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UnpinClusterResponse_SdkV2)

func (UnpinClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (UnpinClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UnpinCluster_SdkV2 added in v1.62.1

type UnpinCluster_SdkV2 struct {
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (UnpinCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UnpinCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UnpinCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UnpinCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UnpinCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UnpinCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UnpinCluster_SdkV2)

func (*UnpinCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UnpinCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UnpinCluster_SdkV2)

func (UnpinCluster_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UnpinCluster_SdkV2 only implements ToObjectValue() and Type().

func (UnpinCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateCluster

type UpdateCluster struct {
	// The cluster to be updated.
	Cluster types.Object `tfsdk:"cluster"`
	// ID of the cluster.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Used to specify which cluster attributes and size fields to update. See
	// https://google.aip.dev/161 for more details.
	//
	// 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 (UpdateCluster) ApplySchemaCustomizations added in v1.63.0

func (m UpdateCluster) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateCluster) GetCluster added in v1.61.0

func (m *UpdateCluster) GetCluster(ctx context.Context) (UpdateClusterResource, bool)

GetCluster returns the value of the Cluster field in UpdateCluster as a UpdateClusterResource value. If the field is unknown or null, the boolean return value is false.

func (UpdateCluster) GetComplexFieldTypes added in v1.61.0

func (m UpdateCluster) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateCluster) SetCluster added in v1.61.0

func (m *UpdateCluster) SetCluster(ctx context.Context, v UpdateClusterResource)

SetCluster sets the value of the Cluster field in UpdateCluster.

func (*UpdateCluster) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateCluster) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateCluster)

func (*UpdateCluster) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateCluster) SyncFieldsDuringRead(ctx context.Context, from UpdateCluster)

func (UpdateCluster) ToObjectValue added in v1.61.0

func (m UpdateCluster) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateCluster only implements ToObjectValue() and Type().

func (UpdateCluster) Type added in v1.61.0

func (m UpdateCluster) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateClusterResource

type UpdateClusterResource struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.Object `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.Object `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.Object `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.Object `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.Object `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.Object `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.Object `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.Object `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.Object `tfsdk:"workload_type"`
}

func (UpdateClusterResource) ApplySchemaCustomizations added in v1.63.0

func (m UpdateClusterResource) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateClusterResource) GetAutoscale added in v1.61.0

func (m *UpdateClusterResource) GetAutoscale(ctx context.Context) (AutoScale, bool)

GetAutoscale returns the value of the Autoscale field in UpdateClusterResource as a AutoScale value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetAwsAttributes added in v1.61.0

func (m *UpdateClusterResource) GetAwsAttributes(ctx context.Context) (AwsAttributes, bool)

GetAwsAttributes returns the value of the AwsAttributes field in UpdateClusterResource as a AwsAttributes value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetAzureAttributes added in v1.61.0

func (m *UpdateClusterResource) GetAzureAttributes(ctx context.Context) (AzureAttributes, bool)

GetAzureAttributes returns the value of the AzureAttributes field in UpdateClusterResource as a AzureAttributes value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetClusterLogConf added in v1.61.0

func (m *UpdateClusterResource) GetClusterLogConf(ctx context.Context) (ClusterLogConf, bool)

GetClusterLogConf returns the value of the ClusterLogConf field in UpdateClusterResource as a ClusterLogConf value. If the field is unknown or null, the boolean return value is false.

func (UpdateClusterResource) GetComplexFieldTypes added in v1.61.0

func (m UpdateClusterResource) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateClusterResource) GetCustomTags added in v1.61.0

func (m *UpdateClusterResource) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in UpdateClusterResource as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetDockerImage added in v1.61.0

func (m *UpdateClusterResource) GetDockerImage(ctx context.Context) (DockerImage, bool)

GetDockerImage returns the value of the DockerImage field in UpdateClusterResource as a DockerImage value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in UpdateClusterResource as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetGcpAttributes added in v1.61.0

func (m *UpdateClusterResource) GetGcpAttributes(ctx context.Context) (GcpAttributes, bool)

GetGcpAttributes returns the value of the GcpAttributes field in UpdateClusterResource as a GcpAttributes value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetInitScripts added in v1.61.0

func (m *UpdateClusterResource) GetInitScripts(ctx context.Context) ([]InitScriptInfo, bool)

GetInitScripts returns the value of the InitScripts field in UpdateClusterResource as a slice of InitScriptInfo values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetSparkConf added in v1.61.0

func (m *UpdateClusterResource) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in UpdateClusterResource as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetSparkEnvVars added in v1.61.0

func (m *UpdateClusterResource) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in UpdateClusterResource as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetSshPublicKeys added in v1.61.0

func (m *UpdateClusterResource) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in UpdateClusterResource as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in UpdateClusterResource as a NodeTypeFlexibility value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) GetWorkloadType added in v1.61.0

func (m *UpdateClusterResource) GetWorkloadType(ctx context.Context) (WorkloadType, bool)

GetWorkloadType returns the value of the WorkloadType field in UpdateClusterResource as a WorkloadType value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource) SetAutoscale added in v1.61.0

func (m *UpdateClusterResource) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in UpdateClusterResource.

func (*UpdateClusterResource) SetAwsAttributes added in v1.61.0

func (m *UpdateClusterResource) SetAwsAttributes(ctx context.Context, v AwsAttributes)

SetAwsAttributes sets the value of the AwsAttributes field in UpdateClusterResource.

func (*UpdateClusterResource) SetAzureAttributes added in v1.61.0

func (m *UpdateClusterResource) SetAzureAttributes(ctx context.Context, v AzureAttributes)

SetAzureAttributes sets the value of the AzureAttributes field in UpdateClusterResource.

func (*UpdateClusterResource) SetClusterLogConf added in v1.61.0

func (m *UpdateClusterResource) SetClusterLogConf(ctx context.Context, v ClusterLogConf)

SetClusterLogConf sets the value of the ClusterLogConf field in UpdateClusterResource.

func (*UpdateClusterResource) SetCustomTags added in v1.61.0

func (m *UpdateClusterResource) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in UpdateClusterResource.

func (*UpdateClusterResource) SetDockerImage added in v1.61.0

func (m *UpdateClusterResource) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in UpdateClusterResource.

func (*UpdateClusterResource) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in UpdateClusterResource.

func (*UpdateClusterResource) SetGcpAttributes added in v1.61.0

func (m *UpdateClusterResource) SetGcpAttributes(ctx context.Context, v GcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in UpdateClusterResource.

func (*UpdateClusterResource) SetInitScripts added in v1.61.0

func (m *UpdateClusterResource) SetInitScripts(ctx context.Context, v []InitScriptInfo)

SetInitScripts sets the value of the InitScripts field in UpdateClusterResource.

func (*UpdateClusterResource) SetSparkConf added in v1.61.0

func (m *UpdateClusterResource) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in UpdateClusterResource.

func (*UpdateClusterResource) SetSparkEnvVars added in v1.61.0

func (m *UpdateClusterResource) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in UpdateClusterResource.

func (*UpdateClusterResource) SetSshPublicKeys added in v1.61.0

func (m *UpdateClusterResource) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in UpdateClusterResource.

func (*UpdateClusterResource) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in UpdateClusterResource.

func (*UpdateClusterResource) SetWorkloadType added in v1.61.0

func (m *UpdateClusterResource) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in UpdateClusterResource.

func (*UpdateClusterResource) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateClusterResource) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateClusterResource)

func (*UpdateClusterResource) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateClusterResource) SyncFieldsDuringRead(ctx context.Context, from UpdateClusterResource)

func (UpdateClusterResource) 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, UpdateClusterResource only implements ToObjectValue() and Type().

func (UpdateClusterResource) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateClusterResource_SdkV2 added in v1.62.1

type UpdateClusterResource_SdkV2 struct {
	// Parameters needed in order to automatically scale clusters up and down
	// based on load. Note: autoscaling works best with DB runtime versions 3.0
	// or later.
	Autoscale types.List `tfsdk:"autoscale"`
	// Automatically terminates the cluster after it is inactive for this time
	// in minutes. If not set, this cluster will not be automatically
	// terminated. If specified, the threshold must be between 10 and 10000
	// minutes. Users can also set this value to 0 to explicitly disable
	// automatic termination.
	AutoterminationMinutes types.Int64 `tfsdk:"autotermination_minutes"`
	// Attributes related to clusters running on Amazon Web Services. If not
	// specified at cluster creation, a set of default values will be used.
	AwsAttributes types.List `tfsdk:"aws_attributes"`
	// Attributes related to clusters running on Microsoft Azure. If not
	// specified at cluster creation, a set of default values will be used.
	AzureAttributes types.List `tfsdk:"azure_attributes"`
	// The configuration for delivering spark logs to a long-term storage
	// destination. Three kinds of destinations (DBFS, S3 and Unity Catalog
	// volumes) are supported. Only one destination can be specified for one
	// cluster. If the conf is given, the logs will be delivered to the
	// destination every `5 mins`. The destination of driver logs is
	// `$destination/$clusterId/driver`, while the destination of executor logs
	// is `$destination/$clusterId/executor`.
	ClusterLogConf types.List `tfsdk:"cluster_log_conf"`
	// Cluster name requested by the user. This doesn't have to be unique. If
	// not specified at creation, the cluster name will be an empty string. For
	// job clusters, the cluster name is automatically set based on the job and
	// job run IDs.
	ClusterName types.String `tfsdk:"cluster_name"`
	// Additional tags for cluster resources. Databricks will tag all cluster
	// resources (e.g., AWS instances and EBS volumes) with these tags in
	// addition to `default_tags`. Notes:
	//
	// - Currently, Databricks allows at most 45 custom tags
	//
	// - Clusters can only reuse cloud resources if the resources' tags are a
	// subset of the cluster tags
	CustomTags types.Map `tfsdk:"custom_tags"`

	DataSecurityMode types.String `tfsdk:"data_security_mode"`
	// Custom docker image BYOC
	DockerImage types.List `tfsdk:"docker_image"`
	// The optional ID of the instance pool for the driver of the cluster
	// belongs. The pool cluster uses the instance pool with id
	// (instance_pool_id) if the driver pool is not assigned.
	DriverInstancePoolId types.String `tfsdk:"driver_instance_pool_id"`
	// Flexible node type configuration for the driver node.
	DriverNodeTypeFlexibility types.List `tfsdk:"driver_node_type_flexibility"`
	// The node type of the Spark driver. Note that this field is optional; if
	// unset, the driver node type will be set as the same value as
	// `node_type_id` defined above.
	//
	// This field, along with node_type_id, should not be set if
	// virtual_cluster_size is set. If both driver_node_type_id, node_type_id,
	// and virtual_cluster_size are specified, driver_node_type_id and
	// node_type_id take precedence.
	DriverNodeTypeId types.String `tfsdk:"driver_node_type_id"`
	// Autoscaling Local Storage: when enabled, this cluster will dynamically
	// acquire additional disk space when its Spark workers are running low on
	// disk space.
	EnableElasticDisk types.Bool `tfsdk:"enable_elastic_disk"`
	// Whether to enable LUKS on cluster VMs' local disks
	EnableLocalDiskEncryption types.Bool `tfsdk:"enable_local_disk_encryption"`
	// Attributes related to clusters running on Google Cloud Platform. If not
	// specified at cluster creation, a set of default values will be used.
	GcpAttributes types.List `tfsdk:"gcp_attributes"`
	// The configuration for storing init scripts. Any number of destinations
	// can be specified. The scripts are executed sequentially in the order
	// provided. If `cluster_log_conf` is specified, init script logs are sent
	// to `<destination>/<cluster-ID>/init_scripts`.
	InitScripts types.List `tfsdk:"init_scripts"`
	// The optional ID of the instance pool to which the cluster belongs.
	InstancePoolId types.String `tfsdk:"instance_pool_id"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// When set to true, Databricks will automatically set single node related
	// `custom_tags`, `spark_conf`, and `num_workers`
	IsSingleNode types.Bool `tfsdk:"is_single_node"`

	Kind types.String `tfsdk:"kind"`
	// This field encodes, through a single value, the resources available to
	// each of the Spark nodes in this cluster. For example, the Spark nodes can
	// be provisioned and optimized for memory or compute intensive workloads. A
	// list of available node types can be retrieved by using the
	// [clusters/listNodeTypes] API call.
	//
	// [clusters/listNodeTypes]: https://docs.databricks.com/api/workspace/clusters/listnodetypes
	NodeTypeId types.String `tfsdk:"node_type_id"`
	// Number of worker nodes that this cluster should have. A cluster has one
	// Spark Driver and `num_workers` Executors for a total of `num_workers` + 1
	// Spark nodes.
	//
	// Note: When reading the properties of a cluster, this field reflects the
	// desired number of workers rather than the actual current number of
	// workers. For instance, if a cluster is resized from 5 to 10 workers, this
	// field will immediately be updated to reflect the target size of 10
	// workers, whereas the workers listed in `spark_info` will gradually
	// increase from 5 to 10 as the new nodes are provisioned.
	NumWorkers types.Int64 `tfsdk:"num_workers"`
	// The ID of the cluster policy used to create the cluster if applicable.
	PolicyId types.String `tfsdk:"policy_id"`
	// If set, what the configurable throughput (in Mb/s) for the remote disk
	// is. Currently only supported for GCP HYPERDISK_BALANCED disks.
	RemoteDiskThroughput types.Int64 `tfsdk:"remote_disk_throughput"`
	// Determines the cluster's runtime engine, either standard or Photon.
	//
	// This field is not compatible with legacy `spark_version` values that
	// contain `-photon-`. Remove `-photon-` from the `spark_version` and set
	// `runtime_engine` to `PHOTON`.
	//
	// If left unspecified, the runtime engine defaults to standard unless the
	// spark_version contains -photon-, in which case Photon will be used.
	RuntimeEngine types.String `tfsdk:"runtime_engine"`
	// Single user name if data_security_mode is `SINGLE_USER`
	SingleUserName types.String `tfsdk:"single_user_name"`
	// An object containing a set of optional, user-specified Spark
	// configuration key-value pairs. Users can also pass in a string of extra
	// JVM options to the driver and the executors via
	// `spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions`
	// respectively.
	SparkConf types.Map `tfsdk:"spark_conf"`
	// An object containing a set of optional, user-specified environment
	// variable key-value pairs. Please note that key-value pair of the form
	// (X,Y) will be exported as is (i.e., `export X='Y'`) while launching the
	// driver and workers.
	//
	// In order to specify an additional set of `SPARK_DAEMON_JAVA_OPTS`, we
	// recommend appending them to `$SPARK_DAEMON_JAVA_OPTS` as shown in the
	// example below. This ensures that all default databricks managed
	// environmental variables are included as well.
	//
	// Example Spark environment variables: `{"SPARK_WORKER_MEMORY": "28000m",
	// "SPARK_LOCAL_DIRS": "/local_disk0"}` or `{"SPARK_DAEMON_JAVA_OPTS":
	// "$SPARK_DAEMON_JAVA_OPTS -Dspark.shuffle.service.enabled=true"}`
	SparkEnvVars types.Map `tfsdk:"spark_env_vars"`
	// The Spark version of the cluster, e.g. `3.3.x-scala2.11`. A list of
	// available Spark versions can be retrieved by using the
	// [clusters/sparkVersions] API call.
	//
	// [clusters/sparkVersions]: https://docs.databricks.com/api/workspace/clusters/sparkversions
	SparkVersion types.String `tfsdk:"spark_version"`
	// SSH public key contents that will be added to each Spark node in this
	// cluster. The corresponding private keys can be used to login with the
	// user name `ubuntu` on port `2200`. Up to 10 keys can be specified.
	SshPublicKeys types.List `tfsdk:"ssh_public_keys"`
	// If set, what the total initial volume size (in GB) of the remote disks
	// should be. Currently only supported for GCP HYPERDISK_BALANCED disks.
	TotalInitialRemoteDiskSize types.Int64 `tfsdk:"total_initial_remote_disk_size"`
	// This field can only be used when `kind = CLASSIC_PREVIEW`.
	//
	// `effective_spark_version` is determined by `spark_version` (DBR release),
	// this field `use_ml_runtime`, and whether `node_type_id` is gpu node or
	// not.
	UseMlRuntime types.Bool `tfsdk:"use_ml_runtime"`
	// Flexible node type configuration for worker nodes.
	WorkerNodeTypeFlexibility types.List `tfsdk:"worker_node_type_flexibility"`

	WorkloadType types.List `tfsdk:"workload_type"`
}

func (UpdateClusterResource_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UpdateClusterResource_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateClusterResource_SdkV2) GetAutoscale added in v1.62.1

GetAutoscale returns the value of the Autoscale field in UpdateClusterResource_SdkV2 as a AutoScale_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetAwsAttributes added in v1.62.1

GetAwsAttributes returns the value of the AwsAttributes field in UpdateClusterResource_SdkV2 as a AwsAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetAzureAttributes added in v1.62.1

GetAzureAttributes returns the value of the AzureAttributes field in UpdateClusterResource_SdkV2 as a AzureAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetClusterLogConf added in v1.62.1

GetClusterLogConf returns the value of the ClusterLogConf field in UpdateClusterResource_SdkV2 as a ClusterLogConf_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateClusterResource_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateClusterResource_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResource. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateClusterResource_SdkV2) GetCustomTags added in v1.62.1

func (m *UpdateClusterResource_SdkV2) GetCustomTags(ctx context.Context) (map[string]types.String, bool)

GetCustomTags returns the value of the CustomTags field in UpdateClusterResource_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetDockerImage added in v1.62.1

GetDockerImage returns the value of the DockerImage field in UpdateClusterResource_SdkV2 as a DockerImage_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetDriverNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource_SdkV2) GetDriverNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetDriverNodeTypeFlexibility returns the value of the DriverNodeTypeFlexibility field in UpdateClusterResource_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetGcpAttributes added in v1.62.1

GetGcpAttributes returns the value of the GcpAttributes field in UpdateClusterResource_SdkV2 as a GcpAttributes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetInitScripts added in v1.62.1

GetInitScripts returns the value of the InitScripts field in UpdateClusterResource_SdkV2 as a slice of InitScriptInfo_SdkV2 values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetSparkConf added in v1.62.1

func (m *UpdateClusterResource_SdkV2) GetSparkConf(ctx context.Context) (map[string]types.String, bool)

GetSparkConf returns the value of the SparkConf field in UpdateClusterResource_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetSparkEnvVars added in v1.62.1

func (m *UpdateClusterResource_SdkV2) GetSparkEnvVars(ctx context.Context) (map[string]types.String, bool)

GetSparkEnvVars returns the value of the SparkEnvVars field in UpdateClusterResource_SdkV2 as a map of string to types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetSshPublicKeys added in v1.62.1

func (m *UpdateClusterResource_SdkV2) GetSshPublicKeys(ctx context.Context) ([]types.String, bool)

GetSshPublicKeys returns the value of the SshPublicKeys field in UpdateClusterResource_SdkV2 as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetWorkerNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource_SdkV2) GetWorkerNodeTypeFlexibility(ctx context.Context) (NodeTypeFlexibility_SdkV2, bool)

GetWorkerNodeTypeFlexibility returns the value of the WorkerNodeTypeFlexibility field in UpdateClusterResource_SdkV2 as a NodeTypeFlexibility_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) GetWorkloadType added in v1.62.1

GetWorkloadType returns the value of the WorkloadType field in UpdateClusterResource_SdkV2 as a WorkloadType_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*UpdateClusterResource_SdkV2) SetAutoscale added in v1.62.1

SetAutoscale sets the value of the Autoscale field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetAwsAttributes added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetAwsAttributes(ctx context.Context, v AwsAttributes_SdkV2)

SetAwsAttributes sets the value of the AwsAttributes field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetAzureAttributes added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetAzureAttributes(ctx context.Context, v AzureAttributes_SdkV2)

SetAzureAttributes sets the value of the AzureAttributes field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetClusterLogConf added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetClusterLogConf(ctx context.Context, v ClusterLogConf_SdkV2)

SetClusterLogConf sets the value of the ClusterLogConf field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetCustomTags added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetCustomTags(ctx context.Context, v map[string]types.String)

SetCustomTags sets the value of the CustomTags field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetDockerImage added in v1.62.1

SetDockerImage sets the value of the DockerImage field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetDriverNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource_SdkV2) SetDriverNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetDriverNodeTypeFlexibility sets the value of the DriverNodeTypeFlexibility field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetGcpAttributes added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetGcpAttributes(ctx context.Context, v GcpAttributes_SdkV2)

SetGcpAttributes sets the value of the GcpAttributes field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetInitScripts added in v1.62.1

SetInitScripts sets the value of the InitScripts field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetSparkConf added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetSparkConf(ctx context.Context, v map[string]types.String)

SetSparkConf sets the value of the SparkConf field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetSparkEnvVars added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetSparkEnvVars(ctx context.Context, v map[string]types.String)

SetSparkEnvVars sets the value of the SparkEnvVars field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetSshPublicKeys added in v1.62.1

func (m *UpdateClusterResource_SdkV2) SetSshPublicKeys(ctx context.Context, v []types.String)

SetSshPublicKeys sets the value of the SshPublicKeys field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetWorkerNodeTypeFlexibility added in v1.104.0

func (m *UpdateClusterResource_SdkV2) SetWorkerNodeTypeFlexibility(ctx context.Context, v NodeTypeFlexibility_SdkV2)

SetWorkerNodeTypeFlexibility sets the value of the WorkerNodeTypeFlexibility field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SetWorkloadType added in v1.62.1

SetWorkloadType sets the value of the WorkloadType field in UpdateClusterResource_SdkV2.

func (*UpdateClusterResource_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateClusterResource_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateClusterResource_SdkV2)

func (*UpdateClusterResource_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateClusterResource_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateClusterResource_SdkV2)

func (UpdateClusterResource_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateClusterResource_SdkV2 only implements ToObjectValue() and Type().

func (UpdateClusterResource_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateClusterResponse

type UpdateClusterResponse struct {
}

func (UpdateClusterResponse) ApplySchemaCustomizations added in v1.63.0

func (m UpdateClusterResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateClusterResponse) GetComplexFieldTypes added in v1.61.0

func (m UpdateClusterResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateClusterResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateClusterResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateClusterResponse)

func (*UpdateClusterResponse) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateClusterResponse) SyncFieldsDuringRead(ctx context.Context, from UpdateClusterResponse)

func (UpdateClusterResponse) 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, UpdateClusterResponse only implements ToObjectValue() and Type().

func (UpdateClusterResponse) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpdateClusterResponse_SdkV2 added in v1.62.1

type UpdateClusterResponse_SdkV2 struct {
}

func (UpdateClusterResponse_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UpdateClusterResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateClusterResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateClusterResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateClusterResponse_SdkV2)

func (*UpdateClusterResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateClusterResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateClusterResponse_SdkV2)

func (UpdateClusterResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateClusterResponse_SdkV2 only implements ToObjectValue() and Type().

func (UpdateClusterResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateCluster_SdkV2 added in v1.62.1

type UpdateCluster_SdkV2 struct {
	// The cluster to be updated.
	Cluster types.List `tfsdk:"cluster"`
	// ID of the cluster.
	ClusterId types.String `tfsdk:"cluster_id"`
	// Used to specify which cluster attributes and size fields to update. See
	// https://google.aip.dev/161 for more details.
	//
	// 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 (UpdateCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m UpdateCluster_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*UpdateCluster_SdkV2) GetCluster added in v1.62.1

GetCluster returns the value of the Cluster field in UpdateCluster_SdkV2 as a UpdateClusterResource_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (UpdateCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateCluster_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCluster. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateCluster_SdkV2) SetCluster added in v1.62.1

SetCluster sets the value of the Cluster field in UpdateCluster_SdkV2.

func (*UpdateCluster_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.91.0

func (to *UpdateCluster_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateCluster_SdkV2)

func (*UpdateCluster_SdkV2) SyncFieldsDuringRead added in v1.91.0

func (to *UpdateCluster_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateCluster_SdkV2)

func (UpdateCluster_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateCluster_SdkV2 only implements ToObjectValue() and Type().

func (UpdateCluster_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type UpdateResponse

type UpdateResponse struct {
}

func (UpdateResponse) ApplySchemaCustomizations added in v1.71.0

func (m UpdateResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateResponse) GetComplexFieldTypes added in v1.61.0

func (m UpdateResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateResponse) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateResponse) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateResponse)

func (*UpdateResponse) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateResponse) SyncFieldsDuringRead(ctx context.Context, from UpdateResponse)

func (UpdateResponse) ToObjectValue added in v1.61.0

func (m UpdateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse only implements ToObjectValue() and Type().

func (UpdateResponse) Type added in v1.61.0

func (m UpdateResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateResponse_SdkV2 added in v1.62.1

type UpdateResponse_SdkV2 struct {
}

func (UpdateResponse_SdkV2) ApplySchemaCustomizations added in v1.71.0

func (m UpdateResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (UpdateResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m UpdateResponse_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*UpdateResponse_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *UpdateResponse_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from UpdateResponse_SdkV2)

func (*UpdateResponse_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *UpdateResponse_SdkV2) SyncFieldsDuringRead(ctx context.Context, from UpdateResponse_SdkV2)

func (UpdateResponse_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UpdateResponse_SdkV2 only implements ToObjectValue() and Type().

func (UpdateResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type VolumesStorageInfo

type VolumesStorageInfo struct {
	// UC Volumes destination, e.g.
	// `/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh` or
	// `dbfs:/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh`
	Destination types.String `tfsdk:"destination"`
}

A storage location back by UC Volumes.

func (VolumesStorageInfo) ApplySchemaCustomizations added in v1.63.0

func (m VolumesStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (VolumesStorageInfo) GetComplexFieldTypes added in v1.61.0

func (m VolumesStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumesStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*VolumesStorageInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *VolumesStorageInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from VolumesStorageInfo)

func (*VolumesStorageInfo) SyncFieldsDuringRead added in v1.86.0

func (to *VolumesStorageInfo) SyncFieldsDuringRead(ctx context.Context, from VolumesStorageInfo)

func (VolumesStorageInfo) 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, VolumesStorageInfo only implements ToObjectValue() and Type().

func (VolumesStorageInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type VolumesStorageInfo_SdkV2 added in v1.62.1

type VolumesStorageInfo_SdkV2 struct {
	// UC Volumes destination, e.g.
	// `/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh` or
	// `dbfs:/Volumes/catalog/schema/vol1/init-scripts/setup-datadog.sh`
	Destination types.String `tfsdk:"destination"`
}

A storage location back by UC Volumes.

func (VolumesStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m VolumesStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (VolumesStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m VolumesStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumesStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*VolumesStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *VolumesStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from VolumesStorageInfo_SdkV2)

func (*VolumesStorageInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *VolumesStorageInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from VolumesStorageInfo_SdkV2)

func (VolumesStorageInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, VolumesStorageInfo_SdkV2 only implements ToObjectValue() and Type().

func (VolumesStorageInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WorkloadType

type WorkloadType struct {
	// defined what type of clients can use the cluster. E.g. Notebooks, Jobs
	Clients types.Object `tfsdk:"clients"`
}

Cluster Attributes showing for clusters workload types.

func (WorkloadType) ApplySchemaCustomizations added in v1.63.0

func (m WorkloadType) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*WorkloadType) GetClients added in v1.61.0

func (m *WorkloadType) GetClients(ctx context.Context) (ClientsTypes, bool)

GetClients returns the value of the Clients field in WorkloadType as a ClientsTypes value. If the field is unknown or null, the boolean return value is false.

func (WorkloadType) GetComplexFieldTypes added in v1.61.0

func (m WorkloadType) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkloadType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*WorkloadType) SetClients added in v1.61.0

func (m *WorkloadType) SetClients(ctx context.Context, v ClientsTypes)

SetClients sets the value of the Clients field in WorkloadType.

func (*WorkloadType) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WorkloadType) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WorkloadType)

func (*WorkloadType) SyncFieldsDuringRead added in v1.86.0

func (to *WorkloadType) SyncFieldsDuringRead(ctx context.Context, from WorkloadType)

func (WorkloadType) ToObjectValue added in v1.61.0

func (m WorkloadType) ToObjectValue(ctx context.Context) basetypes.ObjectValue

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkloadType only implements ToObjectValue() and Type().

func (WorkloadType) Type added in v1.61.0

func (m WorkloadType) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type WorkloadType_SdkV2 added in v1.62.1

type WorkloadType_SdkV2 struct {
	// defined what type of clients can use the cluster. E.g. Notebooks, Jobs
	Clients types.List `tfsdk:"clients"`
}

Cluster Attributes showing for clusters workload types.

func (WorkloadType_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WorkloadType_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*WorkloadType_SdkV2) GetClients added in v1.62.1

GetClients returns the value of the Clients field in WorkloadType_SdkV2 as a ClientsTypes_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (WorkloadType_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WorkloadType_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkloadType. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*WorkloadType_SdkV2) SetClients added in v1.62.1

func (m *WorkloadType_SdkV2) SetClients(ctx context.Context, v ClientsTypes_SdkV2)

SetClients sets the value of the Clients field in WorkloadType_SdkV2.

func (*WorkloadType_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WorkloadType_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WorkloadType_SdkV2)

func (*WorkloadType_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WorkloadType_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WorkloadType_SdkV2)

func (WorkloadType_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkloadType_SdkV2 only implements ToObjectValue() and Type().

func (WorkloadType_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type WorkspaceStorageInfo

type WorkspaceStorageInfo struct {
	// wsfs destination, e.g. `workspace:/cluster-init-scripts/setup-datadog.sh`
	Destination types.String `tfsdk:"destination"`
}

A storage location in Workspace Filesystem (WSFS)

func (WorkspaceStorageInfo) ApplySchemaCustomizations added in v1.63.0

func (m WorkspaceStorageInfo) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WorkspaceStorageInfo) GetComplexFieldTypes added in v1.61.0

func (m WorkspaceStorageInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*WorkspaceStorageInfo) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WorkspaceStorageInfo) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WorkspaceStorageInfo)

func (*WorkspaceStorageInfo) SyncFieldsDuringRead added in v1.86.0

func (to *WorkspaceStorageInfo) SyncFieldsDuringRead(ctx context.Context, from WorkspaceStorageInfo)

func (WorkspaceStorageInfo) 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, WorkspaceStorageInfo only implements ToObjectValue() and Type().

func (WorkspaceStorageInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type WorkspaceStorageInfo_SdkV2 added in v1.62.1

type WorkspaceStorageInfo_SdkV2 struct {
	// wsfs destination, e.g. `workspace:/cluster-init-scripts/setup-datadog.sh`
	Destination types.String `tfsdk:"destination"`
}

A storage location in Workspace Filesystem (WSFS)

func (WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (m WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (WorkspaceStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

func (m WorkspaceStorageInfo_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type

GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceStorageInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.

func (*WorkspaceStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate added in v1.86.0

func (to *WorkspaceStorageInfo_SdkV2) SyncFieldsDuringCreateOrUpdate(ctx context.Context, from WorkspaceStorageInfo_SdkV2)

func (*WorkspaceStorageInfo_SdkV2) SyncFieldsDuringRead added in v1.86.0

func (to *WorkspaceStorageInfo_SdkV2) SyncFieldsDuringRead(ctx context.Context, from WorkspaceStorageInfo_SdkV2)

func (WorkspaceStorageInfo_SdkV2) ToObjectValue added in v1.62.1

TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, WorkspaceStorageInfo_SdkV2 only implements ToObjectValue() and Type().

func (WorkspaceStorageInfo_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL