compute_tf

package
v1.64.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (AddInstanceProfile) GetComplexFieldTypes added in v1.61.0

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

func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddInstanceProfile)

func (*AddInstanceProfile) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (AddInstanceProfile_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddInstanceProfile_SdkV2)

func (*AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

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

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

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

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

func (Adlsgen2Info) ApplySchemaCustomizations added in v1.63.0

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

func (Adlsgen2Info) GetComplexFieldTypes added in v1.61.0

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

func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsgen2Info)

func (*Adlsgen2Info) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info)

func (Adlsgen2Info) ToObjectValue added in v1.61.0

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

func (Adlsgen2Info_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Adlsgen2Info_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsgen2Info_SdkV2)

func (*Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (AutoScale) GetComplexFieldTypes added in v1.61.0

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

func (newState *AutoScale) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoScale)

func (*AutoScale) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AutoScale) SyncEffectiveFieldsDuringRead(existingState AutoScale)

func (AutoScale) ToObjectValue added in v1.61.0

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

func (AutoScale_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoScale_SdkV2)

func (*AutoScale_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoScale_SdkV2)

func (AutoScale_SdkV2) ToObjectValue added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type AwsAttributes

type AwsAttributes 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 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.
	//
	// If this field is ommitted, we will pull in the default from the conf if
	// it exists.
	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.
	//
	// The default value and documentation here should be kept consistent with
	// CommonConf.defaultSpotBidPricePercent and
	// CommonConf.maxSpotBidPricePercent.
	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. 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"`
}

func (AwsAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (AwsAttributes) GetComplexFieldTypes added in v1.61.0

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

func (newState *AwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsAttributes)

func (*AwsAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AwsAttributes) SyncEffectiveFieldsDuringRead(existingState AwsAttributes)

func (AwsAttributes) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AwsAttributes_SdkV2 added in v1.62.1

type AwsAttributes_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 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.
	//
	// If this field is ommitted, we will pull in the default from the conf if
	// it exists.
	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.
	//
	// The default value and documentation here should be kept consistent with
	// CommonConf.defaultSpotBidPricePercent and
	// CommonConf.maxSpotBidPricePercent.
	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. 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"`
}

func (AwsAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AwsAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsAttributes_SdkV2)

func (*AwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 (which only
	// happens on pool clusters), this availability type will be used for the
	// entire cluster.
	Availability types.String `tfsdk:"availability"`
	// 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"`
}

func (AzureAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (AzureAttributes) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *AzureAttributes) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo)

SetLogAnalyticsInfo sets the value of the LogAnalyticsInfo field in AzureAttributes.

func (*AzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureAttributes)

func (*AzureAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AzureAttributes) SyncEffectiveFieldsDuringRead(existingState AzureAttributes)

func (AzureAttributes) ToObjectValue added in v1.61.0

func (o 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 (o 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 (which only
	// happens on pool clusters), this availability type will be used for the
	// entire cluster.
	Availability types.String `tfsdk:"availability"`
	// 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"`
}

func (AzureAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (AzureAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *AzureAttributes_SdkV2) SetLogAnalyticsInfo(ctx context.Context, v LogAnalyticsInfo_SdkV2)

SetLogAnalyticsInfo sets the value of the LogAnalyticsInfo field in AzureAttributes_SdkV2.

func (*AzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureAttributes_SdkV2)

func (*AzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

	CommandId types.String `tfsdk:"commandId"`

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

func (CancelCommand) ApplySchemaCustomizations added in v1.63.0

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

func (CancelCommand) GetComplexFieldTypes added in v1.61.0

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

func (newState *CancelCommand) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelCommand)

func (*CancelCommand) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CancelCommand) SyncEffectiveFieldsDuringRead(existingState CancelCommand)

func (CancelCommand) ToObjectValue added in v1.61.0

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

	CommandId types.String `tfsdk:"commandId"`

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

func (CancelCommand_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CancelCommand_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelCommand_SdkV2)

func (*CancelCommand_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 CancelResponse

type CancelResponse struct {
}

func (CancelResponse) GetComplexFieldTypes added in v1.61.0

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

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

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

TFSDK 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 {
	// <needs content added>
	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 (c ChangeClusterOwner) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ChangeClusterOwner) GetComplexFieldTypes added in v1.61.0

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

func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwner)

func (*ChangeClusterOwner) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ChangeClusterOwnerResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwnerResponse)

func (*ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwnerResponse_SdkV2)

func (*ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse_SdkV2)

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 {
	// <needs content added>
	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 (c ChangeClusterOwner_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ChangeClusterOwner_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChangeClusterOwner_SdkV2)

func (*ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (ClientsTypes) GetComplexFieldTypes added in v1.61.0

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

func (newState *ClientsTypes) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientsTypes)

func (*ClientsTypes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClientsTypes) SyncEffectiveFieldsDuringRead(existingState ClientsTypes)

func (ClientsTypes) ToObjectValue added in v1.61.0

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

func (ClientsTypes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClientsTypes_SdkV2)

func (*ClientsTypes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (CloneCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *CloneCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloneCluster)

func (*CloneCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CloneCluster) SyncEffectiveFieldsDuringRead(existingState CloneCluster)

func (CloneCluster) ToObjectValue added in v1.61.0

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

func (CloneCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloneCluster_SdkV2)

func (*CloneCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 types.List `tfsdk:"status"`
}

func (CloudProviderNodeInfo) ApplySchemaCustomizations added in v1.63.0

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

func (CloudProviderNodeInfo) GetComplexFieldTypes added in v1.61.0

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

SetStatus sets the value of the Status field in CloudProviderNodeInfo.

func (*CloudProviderNodeInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudProviderNodeInfo)

func (*CloudProviderNodeInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringRead(existingState 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 types.List `tfsdk:"status"`
}

func (CloudProviderNodeInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CloudProviderNodeInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

SetStatus sets the value of the Status field in CloudProviderNodeInfo_SdkV2.

func (*CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudProviderNodeInfo_SdkV2)

func (*CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterAccessControlRequest) GetComplexFieldTypes added in v1.61.0

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

func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlRequest)

func (*ClusterAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (ClusterAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlRequest_SdkV2)

func (*ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest_SdkV2)

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

SetAllPermissions sets the value of the AllPermissions field in ClusterAccessControlResponse.

func (*ClusterAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlResponse)

func (*ClusterAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAccessControlResponse_SdkV2)

func (*ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse_SdkV2)

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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (ClusterAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterAttributes) GetAwsAttributes added in v1.61.0

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *ClusterAttributes) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in ClusterAttributes.

func (*ClusterAttributes) SetGcpAttributes added in v1.61.0

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

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterAttributes.

func (*ClusterAttributes) SetWorkloadType added in v1.61.0

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

SetWorkloadType sets the value of the WorkloadType field in ClusterAttributes.

func (*ClusterAttributes) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAttributes)

func (*ClusterAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterAttributes) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes)

func (ClusterAttributes) ToObjectValue added in v1.61.0

func (o 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (ClusterAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterAttributes_SdkV2) GetAwsAttributes added in v1.62.1

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *ClusterAttributes_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetGcpAttributes added in v1.62.1

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

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SetWorkloadType added in v1.62.1

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

SetWorkloadType sets the value of the WorkloadType field in ClusterAttributes_SdkV2.

func (*ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterAttributes_SdkV2)

func (*ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// 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 (c ClusterCompliance) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ClusterCompliance) GetComplexFieldTypes added in v1.61.0

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

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

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

SetViolations sets the value of the Violations field in ClusterCompliance.

func (*ClusterCompliance) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterCompliance)

func (*ClusterCompliance) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterCompliance) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance)

func (ClusterCompliance) ToObjectValue added in v1.61.0

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

func (ClusterCompliance_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

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

func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterCompliance_SdkV2)

func (*ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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. Two kinds of destinations (dbfs and s3) 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.
	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. This
	// is the same as cluster_creator, but read only.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	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"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	SparkVersion types.String `tfsdk:"spark_version"`
	// `spec` contains a snapshot of the field values that were used to create
	// or edit this cluster. The contents of `spec` can be used in the body of a
	// create cluster request. This field might not be populated for older
	// clusters. 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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (ClusterDetails) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterDetails) GetAutoscale added in v1.61.0

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *ClusterDetails) SetDriver(ctx context.Context, v SparkNode)

SetDriver sets the value of the Driver field in ClusterDetails.

func (*ClusterDetails) SetExecutors added in v1.61.0

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

SetTerminationReason sets the value of the TerminationReason field in ClusterDetails.

func (*ClusterDetails) SetWorkloadType added in v1.61.0

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

SetWorkloadType sets the value of the WorkloadType field in ClusterDetails.

func (*ClusterDetails) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterDetails)

func (*ClusterDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterDetails) SyncEffectiveFieldsDuringRead(existingState ClusterDetails)

func (ClusterDetails) ToObjectValue added in v1.61.0

func (o 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 (o 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. Two kinds of destinations (dbfs and s3) 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.
	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. This
	// is the same as cluster_creator, but read only.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	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"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	SparkVersion types.String `tfsdk:"spark_version"`
	// `spec` contains a snapshot of the field values that were used to create
	// or edit this cluster. The contents of `spec` can be used in the body of a
	// create cluster request. This field might not be populated for older
	// clusters. 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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (ClusterDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterDetails_SdkV2) GetAutoscale added in v1.62.1

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *ClusterDetails_SdkV2) SetDriver(ctx context.Context, v SparkNode_SdkV2)

SetDriver sets the value of the Driver field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetExecutors added in v1.62.1

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

SetTerminationReason sets the value of the TerminationReason field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SetWorkloadType added in v1.62.1

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

SetWorkloadType sets the value of the WorkloadType field in ClusterDetails_SdkV2.

func (*ClusterDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterDetails_SdkV2)

func (*ClusterDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	ClusterId types.String `tfsdk:"cluster_id"`
	// <needs content added>
	DataPlaneEventDetails types.Object `tfsdk:"data_plane_event_details"`
	// <needs content added>
	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 (c ClusterEvent) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ClusterEvent) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *ClusterEvent) SetDetails(ctx context.Context, v EventDetails)

SetDetails sets the value of the Details field in ClusterEvent.

func (*ClusterEvent) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterEvent) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterEvent)

func (*ClusterEvent) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterEvent) SyncEffectiveFieldsDuringRead(existingState ClusterEvent)

func (ClusterEvent) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type ClusterEvent_SdkV2 added in v1.62.1

type ClusterEvent_SdkV2 struct {
	// <needs content added>
	ClusterId types.String `tfsdk:"cluster_id"`
	// <needs content added>
	DataPlaneEventDetails types.List `tfsdk:"data_plane_event_details"`
	// <needs content added>
	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 (c ClusterEvent_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (ClusterEvent_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *ClusterEvent_SdkV2) SetDetails(ctx context.Context, v EventDetails_SdkV2)

SetDetails sets the value of the Details field in ClusterEvent_SdkV2.

func (*ClusterEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterEvent_SdkV2)

func (*ClusterEvent_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (ClusterLibraryStatuses) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ClusterLibraryStatuses) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus)

SetLibraryStatuses sets the value of the LibraryStatuses field in ClusterLibraryStatuses.

func (*ClusterLibraryStatuses) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLibraryStatuses)

func (*ClusterLibraryStatuses) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringRead(existingState 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 (a 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 (o *ClusterLibraryStatuses_SdkV2) SetLibraryStatuses(ctx context.Context, v []LibraryFullStatus_SdkV2)

SetLibraryStatuses sets the value of the LibraryStatuses field in ClusterLibraryStatuses_SdkV2.

func (*ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLibraryStatuses_SdkV2)

func (*ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (ClusterLogConf) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterLogConf) GetComplexFieldTypes added in v1.61.0

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

func (o *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 (o *ClusterLogConf) SetS3(ctx context.Context, v S3StorageInfo)

SetS3 sets the value of the S3 field in ClusterLogConf.

func (*ClusterLogConf) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterLogConf) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLogConf)

func (*ClusterLogConf) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterLogConf) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf)

func (ClusterLogConf) ToObjectValue added in v1.61.0

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

func (ClusterLogConf_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterLogConf_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterLogConf_SdkV2)

func (*ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (ClusterPermission) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterPermission) GetComplexFieldTypes added in v1.61.0

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

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPermission.

func (*ClusterPermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermission)

func (*ClusterPermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPermission)

func (ClusterPermission) ToObjectValue added in v1.61.0

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

func (ClusterPermission_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterPermission_SdkV2) GetComplexFieldTypes added in v1.62.1

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

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPermission_SdkV2.

func (*ClusterPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermission_SdkV2)

func (*ClusterPermission_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (*ClusterPermissions) GetAccessControlList added in v1.61.0

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

SetAccessControlList sets the value of the AccessControlList field in ClusterPermissions.

func (*ClusterPermissions) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissions)

func (*ClusterPermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ClusterPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (ClusterPermissionsDescription) GetComplexFieldTypes added in v1.61.0

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

func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsDescription)

func (*ClusterPermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsDescription_SdkV2)

func (*ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription_SdkV2)

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

func (*ClusterPermissionsRequest) GetAccessControlList added in v1.61.0

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

SetAccessControlList sets the value of the AccessControlList field in ClusterPermissionsRequest.

func (*ClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsRequest)

func (*ClusterPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissionsRequest_SdkV2)

func (*ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest_SdkV2)

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

func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPermissions_SdkV2)

func (*ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (ClusterPolicyAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyAccessControlRequest) GetComplexFieldTypes added in v1.61.0

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

func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlRequest)

func (*ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest)

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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

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

func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlRequest_SdkV2)

func (*ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest_SdkV2)

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

func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlResponse)

func (*ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse)

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

func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyAccessControlResponse_SdkV2)

func (*ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse_SdkV2)

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

func (ClusterPolicyPermission) ApplySchemaCustomizations added in v1.63.0

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

func (ClusterPolicyPermission) GetComplexFieldTypes added in v1.61.0

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

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPolicyPermission.

func (*ClusterPolicyPermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermission)

func (*ClusterPolicyPermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	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 (a 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 (o *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 (o *ClusterPolicyPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in ClusterPolicyPermission_SdkV2.

func (*ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermission_SdkV2)

func (*ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissions)

func (*ClusterPolicyPermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ClusterPolicyPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (ClusterPolicyPermissionsDescription) GetComplexFieldTypes added in v1.61.0

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

func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsDescription)

func (*ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription)

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

func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsDescription_SdkV2)

func (*ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription_SdkV2)

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

func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsRequest)

func (*ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest)

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

func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissionsRequest_SdkV2)

func (*ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest_SdkV2)

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

func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterPolicyPermissions_SdkV2)

func (*ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions_SdkV2)

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

func (ClusterSettingsChange) GetComplexFieldTypes added in v1.61.0

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

func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSettingsChange)

func (*ClusterSettingsChange) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ClusterSettingsChange_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSettingsChange_SdkV2)

func (*ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (*ClusterSize) GetAutoscale added in v1.61.0

func (o *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 (a 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 (o *ClusterSize) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in ClusterSize.

func (*ClusterSize) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterSize) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSize)

func (*ClusterSize) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterSize) SyncEffectiveFieldsDuringRead(existingState ClusterSize)

func (ClusterSize) ToObjectValue added in v1.61.0

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

func (*ClusterSize_SdkV2) GetAutoscale added in v1.62.1

func (o *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 (a 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 (o *ClusterSize_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in ClusterSize_SdkV2.

func (*ClusterSize_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSize_SdkV2)

func (*ClusterSize_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSize_SdkV2)

func (ClusterSize_SdkV2) ToObjectValue added in v1.62.1

func (o 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (ClusterSpec) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterSpec) GetAutoscale added in v1.61.0

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *ClusterSpec) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in ClusterSpec.

func (*ClusterSpec) SetGcpAttributes added in v1.61.0

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

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterSpec.

func (*ClusterSpec) SetWorkloadType added in v1.61.0

func (o *ClusterSpec) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in ClusterSpec.

func (*ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec)

func (*ClusterSpec) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec)

func (ClusterSpec) ToObjectValue added in v1.61.0

func (o 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 (o 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (ClusterSpec_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*ClusterSpec_SdkV2) GetAutoscale added in v1.62.1

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *ClusterSpec_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetGcpAttributes added in v1.62.1

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

SetSshPublicKeys sets the value of the SshPublicKeys field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SetWorkloadType added in v1.62.1

func (o *ClusterSpec_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in ClusterSpec_SdkV2.

func (*ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterSpec_SdkV2)

func (*ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2)

func (ClusterSpec_SdkV2) ToObjectValue added in v1.62.1

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

Get status

func (ClusterStatus) GetComplexFieldTypes added in v1.61.0

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

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

Get status

func (ClusterStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

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

TFSDK 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:"clusterId"`
	// Executable code
	Command types.String `tfsdk:"command"`
	// Running context id
	ContextId types.String `tfsdk:"contextId"`

	Language types.String `tfsdk:"language"`
}

func (Command) ApplySchemaCustomizations added in v1.63.0

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

func (Command) GetComplexFieldTypes added in v1.61.0

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

func (newState *Command) SyncEffectiveFieldsDuringCreateOrUpdate(plan Command)

func (*Command) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Command) SyncEffectiveFieldsDuringRead(existingState Command)

func (Command) ToObjectValue added in v1.61.0

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

Get command info

func (CommandStatusRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get command info

func (CommandStatusRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (CommandStatusResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *CommandStatusResponse) SetResults(ctx context.Context, v Results)

SetResults sets the value of the Results field in CommandStatusResponse.

func (*CommandStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusResponse)

func (*CommandStatusResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (CommandStatusResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusResponse_SdkV2)

func (*CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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:"clusterId"`
	// Executable code
	Command types.String `tfsdk:"command"`
	// Running context id
	ContextId types.String `tfsdk:"contextId"`

	Language types.String `tfsdk:"language"`
}

func (Command_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Command_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *Command_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Command_SdkV2)

func (*Command_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Command_SdkV2) SyncEffectiveFieldsDuringRead(existingState Command_SdkV2)

func (Command_SdkV2) ToObjectValue added in v1.62.1

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

Get status

func (ContextStatusRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get status

func (ContextStatusRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (ContextStatusResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusResponse)

func (*ContextStatusResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ContextStatusResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusResponse_SdkV2)

func (*ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (CreateCluster) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateCluster) GetAutoscale added in v1.61.0

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *CreateCluster) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in CreateCluster.

func (*CreateCluster) SetGcpAttributes added in v1.61.0

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

SetSshPublicKeys sets the value of the SshPublicKeys field in CreateCluster.

func (*CreateCluster) SetWorkloadType added in v1.61.0

func (o *CreateCluster) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in CreateCluster.

func (*CreateCluster) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCluster)

func (*CreateCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCluster) SyncEffectiveFieldsDuringRead(existingState CreateCluster)

func (CreateCluster) ToObjectValue added in v1.61.0

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

func (CreateClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateClusterResponse)

func (*CreateClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (CreateClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateClusterResponse_SdkV2)

func (*CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (CreateCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateCluster_SdkV2) GetAutoscale added in v1.62.1

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *CreateCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetGcpAttributes added in v1.62.1

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

SetSshPublicKeys sets the value of the SshPublicKeys field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SetWorkloadType added in v1.62.1

func (o *CreateCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in CreateCluster_SdkV2.

func (*CreateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCluster_SdkV2)

func (*CreateCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

	Language types.String `tfsdk:"language"`
}

func (CreateContext) ApplySchemaCustomizations added in v1.63.0

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

func (CreateContext) GetComplexFieldTypes added in v1.61.0

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

func (newState *CreateContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateContext)

func (*CreateContext) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateContext) SyncEffectiveFieldsDuringRead(existingState CreateContext)

func (CreateContext) ToObjectValue added in v1.61.0

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

	Language types.String `tfsdk:"language"`
}

func (CreateContext_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (CreateContext_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateContext_SdkV2)

func (*CreateContext_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// 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
	// :method:clusters/listNodeTypes API call.
	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
	// :method:clusters/sparkVersions API call.
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
}

func (CreateInstancePool) ApplySchemaCustomizations added in v1.63.0

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

func (*CreateInstancePool) GetAwsAttributes added in v1.61.0

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *CreateInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in CreateInstancePool.

func (*CreateInstancePool) SetPreloadedDockerImages added in v1.61.0

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

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in CreateInstancePool.

func (*CreateInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePool)

func (*CreateInstancePool) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (CreateInstancePoolResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePoolResponse)

func (*CreateInstancePoolResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePoolResponse_SdkV2)

func (*CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse_SdkV2)

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"`
	// 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
	// :method:clusters/listNodeTypes API call.
	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
	// :method:clusters/sparkVersions API call.
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
}

func (CreateInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

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

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

SetPreloadedSparkVersions sets the value of the PreloadedSparkVersions field in CreateInstancePool_SdkV2.

func (*CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateInstancePool_SdkV2)

func (*CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (CreatePolicy) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *CreatePolicy) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in CreatePolicy.

func (*CreatePolicy) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreatePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicy)

func (*CreatePolicy) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreatePolicy) SyncEffectiveFieldsDuringRead(existingState CreatePolicy)

func (CreatePolicy) ToObjectValue added in v1.61.0

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

func (CreatePolicyResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicyResponse)

func (*CreatePolicyResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (CreatePolicyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicyResponse_SdkV2)

func (*CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (CreatePolicy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *CreatePolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in CreatePolicy_SdkV2.

func (*CreatePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreatePolicy_SdkV2)

func (*CreatePolicy_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

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

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

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

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

func (Created) GetComplexFieldTypes added in v1.61.0

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

func (newState *Created) SyncEffectiveFieldsDuringCreateOrUpdate(plan Created)

func (*Created) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Created) SyncEffectiveFieldsDuringRead(existingState Created)

func (Created) ToObjectValue added in v1.61.0

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

func (Created_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *Created_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Created_SdkV2)

func (*Created_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Created_SdkV2) SyncEffectiveFieldsDuringRead(existingState Created_SdkV2)

func (Created_SdkV2) ToObjectValue added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type DataPlaneEventDetails

type DataPlaneEventDetails struct {
	// <needs content added>
	EventType types.String `tfsdk:"event_type"`
	// <needs content added>
	ExecutorFailures types.Int64 `tfsdk:"executor_failures"`
	// <needs content added>
	HostId types.String `tfsdk:"host_id"`
	// <needs content added>
	Timestamp types.Int64 `tfsdk:"timestamp"`
}

func (DataPlaneEventDetails) ApplySchemaCustomizations added in v1.63.0

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

func (DataPlaneEventDetails) GetComplexFieldTypes added in v1.61.0

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

func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPlaneEventDetails)

func (*DataPlaneEventDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	EventType types.String `tfsdk:"event_type"`
	// <needs content added>
	ExecutorFailures types.Int64 `tfsdk:"executor_failures"`
	// <needs content added>
	HostId types.String `tfsdk:"host_id"`
	// <needs content added>
	Timestamp types.Int64 `tfsdk:"timestamp"`
}

func (DataPlaneEventDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DataPlaneEventDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPlaneEventDetails_SdkV2)

func (*DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (DbfsStorageInfo) ApplySchemaCustomizations added in v1.63.0

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

func (DbfsStorageInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbfsStorageInfo)

func (*DbfsStorageInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo)

func (DbfsStorageInfo) ToObjectValue added in v1.61.0

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

func (DbfsStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DbfsStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbfsStorageInfo_SdkV2)

func (*DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (DeleteCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *DeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCluster)

func (*DeleteCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteCluster) SyncEffectiveFieldsDuringRead(existingState DeleteCluster)

func (DeleteCluster) ToObjectValue added in v1.61.0

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

func (DeleteClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteClusterResponse)

func (*DeleteClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (DeleteClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteClusterResponse_SdkV2)

func (*DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (DeleteCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCluster_SdkV2)

func (*DeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

Delete init script

func (DeleteGlobalInitScriptRequest) GetComplexFieldTypes added in v1.61.0

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

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

Delete init script

func (DeleteGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (DeleteInstancePool) GetComplexFieldTypes added in v1.61.0

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

func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePool)

func (*DeleteInstancePool) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (DeleteInstancePoolResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePoolResponse)

func (*DeleteInstancePoolResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePoolResponse_SdkV2)

func (*DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse_SdkV2)

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

func (DeleteInstancePool_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstancePool_SdkV2)

func (*DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (DeletePolicy) GetComplexFieldTypes added in v1.61.0

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

func (newState *DeletePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicy)

func (*DeletePolicy) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeletePolicy) SyncEffectiveFieldsDuringRead(existingState DeletePolicy)

func (DeletePolicy) ToObjectValue added in v1.61.0

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

func (DeletePolicyResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicyResponse)

func (*DeletePolicyResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (DeletePolicyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicyResponse_SdkV2)

func (*DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (DeletePolicy_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePolicy_SdkV2)

func (*DeletePolicy_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

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

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

func (DeleteResponse) ToObjectValue added in v1.61.0

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

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

func (DeleteResponse) Type added in v1.61.0

func (o DeleteResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type DeleteResponse_SdkV2 added in v1.62.1

type DeleteResponse_SdkV2 struct {
}

func (DeleteResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (DeleteResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (DeleteResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type DestroyContext

type DestroyContext struct {
	ClusterId types.String `tfsdk:"clusterId"`

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

func (DestroyContext) ApplySchemaCustomizations added in v1.63.0

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

func (DestroyContext) GetComplexFieldTypes added in v1.61.0

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

func (newState *DestroyContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyContext)

func (*DestroyContext) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DestroyContext) SyncEffectiveFieldsDuringRead(existingState DestroyContext)

func (DestroyContext) ToObjectValue added in v1.61.0

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

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

func (DestroyContext_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DestroyContext_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyContext_SdkV2)

func (*DestroyContext_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

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

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

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

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

func (DiskSpec) ApplySchemaCustomizations added in v1.63.0

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

func (DiskSpec) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *DiskSpec) SetDiskType(ctx context.Context, v DiskType)

SetDiskType sets the value of the DiskType field in DiskSpec.

func (*DiskSpec) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DiskSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskSpec)

func (*DiskSpec) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DiskSpec) SyncEffectiveFieldsDuringRead(existingState DiskSpec)

func (DiskSpec) ToObjectValue added in v1.61.0

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

func (DiskSpec_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DiskSpec_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *DiskSpec_SdkV2) SetDiskType(ctx context.Context, v DiskType_SdkV2)

SetDiskType sets the value of the DiskType field in DiskSpec_SdkV2.

func (*DiskSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskSpec_SdkV2)

func (*DiskSpec_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskSpec_SdkV2)

func (DiskSpec_SdkV2) ToObjectValue added in v1.62.1

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

func (DiskType) ApplySchemaCustomizations added in v1.63.0

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

func (DiskType) GetComplexFieldTypes added in v1.61.0

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

func (newState *DiskType) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskType)

func (*DiskType) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DiskType) SyncEffectiveFieldsDuringRead(existingState DiskType)

func (DiskType) ToObjectValue added in v1.61.0

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

func (DiskType_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (DiskType_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskType_SdkV2)

func (*DiskType_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskType_SdkV2)

func (DiskType_SdkV2) ToObjectValue added in v1.62.1

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

func (DockerBasicAuth) GetComplexFieldTypes added in v1.61.0

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

func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerBasicAuth)

func (*DockerBasicAuth) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth)

func (DockerBasicAuth) ToObjectValue added in v1.61.0

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

func (DockerBasicAuth_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerBasicAuth_SdkV2)

func (*DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (*DockerImage) GetBasicAuth added in v1.61.0

func (o *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 (a 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 (o *DockerImage) SetBasicAuth(ctx context.Context, v DockerBasicAuth)

SetBasicAuth sets the value of the BasicAuth field in DockerImage.

func (*DockerImage) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DockerImage) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerImage)

func (*DockerImage) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DockerImage) SyncEffectiveFieldsDuringRead(existingState DockerImage)

func (DockerImage) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type DockerImage_SdkV2 added in v1.62.1

type DockerImage_SdkV2 struct {
	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 (c 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 (a 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 (o *DockerImage_SdkV2) SetBasicAuth(ctx context.Context, v DockerBasicAuth_SdkV2)

SetBasicAuth sets the value of the BasicAuth field in DockerImage_SdkV2.

func (*DockerImage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DockerImage_SdkV2)

func (*DockerImage_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerImage_SdkV2)

func (DockerImage_SdkV2) ToObjectValue added in v1.62.1

func (o 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (EditCluster) ApplySchemaCustomizations added in v1.63.0

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

func (*EditCluster) GetAutoscale added in v1.61.0

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *EditCluster) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in EditCluster.

func (*EditCluster) SetGcpAttributes added in v1.61.0

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

SetSshPublicKeys sets the value of the SshPublicKeys field in EditCluster.

func (*EditCluster) SetWorkloadType added in v1.61.0

func (o *EditCluster) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in EditCluster.

func (*EditCluster) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EditCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCluster)

func (*EditCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EditCluster) SyncEffectiveFieldsDuringRead(existingState EditCluster)

func (EditCluster) ToObjectValue added in v1.61.0

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

func (EditClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *EditClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditClusterResponse)

func (*EditClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (EditClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditClusterResponse_SdkV2)

func (*EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (EditCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (*EditCluster_SdkV2) GetAutoscale added in v1.62.1

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *EditCluster_SdkV2) SetDockerImage(ctx context.Context, v DockerImage_SdkV2)

SetDockerImage sets the value of the DockerImage field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetGcpAttributes added in v1.62.1

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

SetSshPublicKeys sets the value of the SshPublicKeys field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SetWorkloadType added in v1.62.1

func (o *EditCluster_SdkV2) SetWorkloadType(ctx context.Context, v WorkloadType_SdkV2)

SetWorkloadType sets the value of the WorkloadType field in EditCluster_SdkV2.

func (*EditCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCluster_SdkV2)

func (*EditCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditCluster_SdkV2)

func (EditCluster_SdkV2) ToObjectValue added in v1.62.1

func (o 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
	// :method:clusters/listNodeTypes API call.
	NodeTypeId types.String `tfsdk:"node_type_id"`
}

func (EditInstancePool) ApplySchemaCustomizations added in v1.63.0

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

func (EditInstancePool) GetComplexFieldTypes added in v1.61.0

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

SetCustomTags sets the value of the CustomTags field in EditInstancePool.

func (*EditInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EditInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePool)

func (*EditInstancePool) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EditInstancePool) SyncEffectiveFieldsDuringRead(existingState EditInstancePool)

func (EditInstancePool) ToObjectValue added in v1.61.0

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

func (EditInstancePoolResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePoolResponse)

func (*EditInstancePoolResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePoolResponse_SdkV2)

func (*EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse_SdkV2)

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
	// :method:clusters/listNodeTypes API call.
	NodeTypeId types.String `tfsdk:"node_type_id"`
}

func (EditInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (EditInstancePool_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditInstancePool_SdkV2)

func (*EditInstancePool_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (EditPolicy) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *EditPolicy) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in EditPolicy.

func (*EditPolicy) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EditPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicy)

func (*EditPolicy) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EditPolicy) SyncEffectiveFieldsDuringRead(existingState EditPolicy)

func (EditPolicy) ToObjectValue added in v1.61.0

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

func (EditPolicyResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicyResponse)

func (*EditPolicyResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (EditPolicyResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicyResponse_SdkV2)

func (*EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (EditPolicy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *EditPolicy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in EditPolicy_SdkV2.

func (*EditPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPolicy_SdkV2)

func (*EditPolicy_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicy_SdkV2)

func (EditPolicy_SdkV2) ToObjectValue added in v1.62.1

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

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

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

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

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

func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceRequest)

func (*EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest)

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

func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceRequest_SdkV2)

func (*EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest_SdkV2)

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

func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceResponse)

func (*EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse)

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

func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnforceClusterComplianceResponse_SdkV2)

func (*EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse_SdkV2)

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 Environment

type Environment struct {
	// Client version used by the environment The client is the user-facing
	// environment of the runtime. Each client comes with a specific set of
	// pre-installed libraries. The version is a string, consisting of the major
	// client version.
	Client types.String `tfsdk:"client"`
	// List of pip dependencies, as supported by the version of pip in this
	// environment. Each dependency is a pip requirement file line
	// https://pip.pypa.io/en/stable/reference/requirements-file-format/ Allowed
	// dependency could be <requirement specifier>, <archive url/path>, <local
	// project path>(WSFS or Volumes in Databricks), <vcs project url> E.g.
	// dependencies: ["foo==0.0.1", "-r /Workspace/test/requirements.txt"]
	Dependencies types.List `tfsdk:"dependencies"`
}

The environment entity used to preserve serverless environment side panel and jobs' environment for non-notebook task. In this minimal environment spec, only pip dependencies are supported.

func (Environment) ApplySchemaCustomizations added in v1.63.0

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

func (Environment) GetComplexFieldTypes added in v1.61.0

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

func (o *Environment) SetDependencies(ctx context.Context, v []types.String)

SetDependencies sets the value of the Dependencies field in Environment.

func (*Environment) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Environment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Environment)

func (*Environment) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Environment) SyncEffectiveFieldsDuringRead(existingState Environment)

func (Environment) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type Environment_SdkV2 added in v1.62.1

type Environment_SdkV2 struct {
	// Client version used by the environment The client is the user-facing
	// environment of the runtime. Each client comes with a specific set of
	// pre-installed libraries. The version is a string, consisting of the major
	// client version.
	Client types.String `tfsdk:"client"`
	// List of pip dependencies, as supported by the version of pip in this
	// environment. Each dependency is a pip requirement file line
	// https://pip.pypa.io/en/stable/reference/requirements-file-format/ Allowed
	// dependency could be <requirement specifier>, <archive url/path>, <local
	// project path>(WSFS or Volumes in Databricks), <vcs project url> E.g.
	// dependencies: ["foo==0.0.1", "-r /Workspace/test/requirements.txt"]
	Dependencies types.List `tfsdk:"dependencies"`
}

The environment entity used to preserve serverless environment side panel and jobs' environment for non-notebook task. In this minimal environment spec, only pip dependencies are supported.

func (Environment_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (Environment_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (o *Environment_SdkV2) SetDependencies(ctx context.Context, v []types.String)

SetDependencies sets the value of the Dependencies field in Environment_SdkV2.

func (*Environment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Environment_SdkV2)

func (*Environment_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringRead(existingState Environment_SdkV2)

func (Environment_SdkV2) ToObjectValue added in v1.62.1

func (o 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"`
	// <needs content added>
	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"`
	// <needs content added>
	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 (c EventDetails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*EventDetails) GetAttributes added in v1.61.0

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

SetReason sets the value of the Reason field in EventDetails.

func (*EventDetails) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *EventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan EventDetails)

func (*EventDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *EventDetails) SyncEffectiveFieldsDuringRead(existingState EventDetails)

func (EventDetails) ToObjectValue added in v1.61.0

func (o 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 (o 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"`
	// <needs content added>
	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"`
	// <needs content added>
	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 (c 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 (o *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 (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EventDetails_SdkV2)

func (*EventDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 instance pool will contain 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"`
	// 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"`
}

func (GcpAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (GcpAttributes) GetComplexFieldTypes added in v1.61.0

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

func (newState *GcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpAttributes)

func (*GcpAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GcpAttributes) SyncEffectiveFieldsDuringRead(existingState GcpAttributes)

func (GcpAttributes) ToObjectValue added in v1.61.0

func (o 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 (o 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 instance pool will contain 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"`
	// 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"`
}

func (GcpAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (GcpAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpAttributes_SdkV2)

func (*GcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (GcsStorageInfo) ApplySchemaCustomizations added in v1.63.0

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

func (GcsStorageInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcsStorageInfo)

func (*GcsStorageInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo)

func (GcsStorageInfo) ToObjectValue added in v1.61.0

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

func (GcsStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (GcsStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcsStorageInfo_SdkV2)

func (*GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

Get cluster policy compliance

func (GetClusterComplianceRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get cluster policy compliance

func (GetClusterComplianceRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

TFSDK 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"`
	// 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 (a 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) GetViolations added in v1.61.0

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

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

SetViolations sets the value of the Violations field in GetClusterComplianceResponse.

func (*GetClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceResponse)

func (*GetClusterComplianceResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

SetViolations sets the value of the Violations field in GetClusterComplianceResponse_SdkV2.

func (*GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceResponse_SdkV2)

func (*GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse_SdkV2)

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

Get cluster permission levels

func (GetClusterPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get cluster permission levels

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

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

func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsResponse)

func (*GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse)

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

func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsResponse_SdkV2)

func (*GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse_SdkV2)

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

Get cluster permissions

func (GetClusterPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get cluster permissions

func (GetClusterPermissionsRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

Get cluster policy permission levels

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

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

Get cluster policy permission levels

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

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

func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsResponse)

func (*GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse)

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

func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsResponse_SdkV2)

func (*GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse_SdkV2)

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

Get cluster policy permissions

func (GetClusterPolicyPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get cluster policy permissions

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

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

Get a cluster policy

func (GetClusterPolicyRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get a cluster policy

func (GetClusterPolicyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

Get cluster info

func (GetClusterRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get cluster info

func (GetClusterRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (GetEvents) GetComplexFieldTypes added in v1.61.0

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

SetEventTypes sets the value of the EventTypes field in GetEvents.

func (*GetEvents) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetEvents) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEvents)

func (*GetEvents) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetEvents) SyncEffectiveFieldsDuringRead(existingState GetEvents)

func (GetEvents) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type GetEventsResponse

type GetEventsResponse struct {
	// <content needs to be added>
	Events types.List `tfsdk:"events"`
	// 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"`
	// 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 (c GetEventsResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEventsResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *GetEventsResponse) SetNextPage(ctx context.Context, v GetEvents)

SetNextPage sets the value of the NextPage field in GetEventsResponse.

func (*GetEventsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetEventsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEventsResponse)

func (*GetEventsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetEventsResponse) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse)

func (GetEventsResponse) ToObjectValue added in v1.61.0

func (o 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 {
	// <content needs to be added>
	Events types.List `tfsdk:"events"`
	// 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"`
	// 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 (c GetEventsResponse_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEventsResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *GetEventsResponse_SdkV2) SetNextPage(ctx context.Context, v GetEvents_SdkV2)

SetNextPage sets the value of the NextPage field in GetEventsResponse_SdkV2.

func (*GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEventsResponse_SdkV2)

func (*GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// 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"`
	// 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 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 (c GetEvents_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (GetEvents_SdkV2) GetComplexFieldTypes added in v1.62.1

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

SetEventTypes sets the value of the EventTypes field in GetEvents_SdkV2.

func (*GetEvents_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEvents_SdkV2)

func (*GetEvents_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEvents_SdkV2)

func (GetEvents_SdkV2) ToObjectValue added in v1.62.1

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

Get an init script

func (GetGlobalInitScriptRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get an init script

func (GetGlobalInitScriptRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

TFSDK 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"`
	// 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
	// :method:clusters/listNodeTypes API call.
	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
	// :method:clusters/sparkVersions API call.
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// 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"`
}

func (GetInstancePool) ApplySchemaCustomizations added in v1.63.0

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

func (*GetInstancePool) GetAwsAttributes added in v1.61.0

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *GetInstancePool) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in GetInstancePool.

func (*GetInstancePool) SetPreloadedDockerImages added in v1.61.0

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

SetStatus sets the value of the Status field in GetInstancePool.

func (*GetInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePool)

func (*GetInstancePool) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetInstancePool) SyncEffectiveFieldsDuringRead(existingState GetInstancePool)

func (GetInstancePool) ToObjectValue added in v1.61.0

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

Get instance pool permission levels

func (GetInstancePoolPermissionLevelsRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get instance pool permission levels

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

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

func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsResponse)

func (*GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse)

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

func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsResponse_SdkV2)

func (*GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse_SdkV2)

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

Get instance pool permissions

func (GetInstancePoolPermissionsRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get instance pool permissions

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

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

Get instance pool information

func (GetInstancePoolRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get instance pool information

func (GetInstancePoolRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

TFSDK 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"`
	// 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
	// :method:clusters/listNodeTypes API call.
	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
	// :method:clusters/sparkVersions API call.
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// 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"`
}

func (GetInstancePool_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

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

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

func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePool_SdkV2)

func (*GetInstancePool_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

Get policy family information

func (GetPolicyFamilyRequest) GetComplexFieldTypes added in v1.61.0

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

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

Get policy family information

func (GetPolicyFamilyRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (GetSparkVersionsResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *GetSparkVersionsResponse) SetVersions(ctx context.Context, v []SparkVersion)

SetVersions sets the value of the Versions field in GetSparkVersionsResponse.

func (*GetSparkVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSparkVersionsResponse)

func (*GetSparkVersionsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSparkVersionsResponse_SdkV2)

func (*GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse_SdkV2)

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

func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptCreateRequest)

func (*GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptCreateRequest_SdkV2)

func (*GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest_SdkV2)

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

func (GlobalInitScriptDetails) GetComplexFieldTypes added in v1.61.0

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

func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetails)

func (*GlobalInitScriptDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetailsWithContent)

func (*GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent)

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

func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetailsWithContent_SdkV2)

func (*GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent_SdkV2)

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

func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptDetails_SdkV2)

func (*GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptUpdateRequest)

func (*GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GlobalInitScriptUpdateRequest_SdkV2)

func (*GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest_SdkV2)

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 address of the node where the init scripts were run.
	ReportedForNode types.String `tfsdk:"reported_for_node"`
}

func (InitScriptEventDetails) ApplySchemaCustomizations added in v1.63.0

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

func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptEventDetails)

func (*InitScriptEventDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringRead(existingState 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 address of the node where the init scripts were run.
	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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptEventDetails_SdkV2)

func (*InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 InitScriptExecutionDetails

type InitScriptExecutionDetails struct {
	// Addition details regarding errors.
	ErrorMessage types.String `tfsdk:"error_message"`
	// The duration of the script execution in seconds.
	ExecutionDurationSeconds types.Int64 `tfsdk:"execution_duration_seconds"`
	// The current status of the script
	Status types.String `tfsdk:"status"`
}

func (InitScriptExecutionDetails) ApplySchemaCustomizations added in v1.63.0

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

func (InitScriptExecutionDetails) GetComplexFieldTypes added in v1.61.0

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

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

func (*InitScriptExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptExecutionDetails)

func (*InitScriptExecutionDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails)

func (InitScriptExecutionDetails) ToObjectValue added in v1.61.0

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

func (InitScriptExecutionDetails) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type InitScriptExecutionDetails_SdkV2 added in v1.62.1

type InitScriptExecutionDetails_SdkV2 struct {
	// Addition details regarding errors.
	ErrorMessage types.String `tfsdk:"error_message"`
	// The duration of the script execution in seconds.
	ExecutionDurationSeconds types.Int64 `tfsdk:"execution_duration_seconds"`
	// The current status of the script
	Status types.String `tfsdk:"status"`
}

func (InitScriptExecutionDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InitScriptExecutionDetails_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptExecutionDetails_SdkV2)

func (*InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails_SdkV2)

func (InitScriptExecutionDetails_SdkV2) ToObjectValue added in v1.62.1

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

func (InitScriptExecutionDetails_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type InitScriptInfo

type InitScriptInfo struct {
	// destination needs to be provided. e.g. `{ "abfss" : { "destination" :
	// "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" :
	// "/Users/user1@databricks.com/my-init.sh" } }`
	Workspace types.Object `tfsdk:"workspace"`
}

func (InitScriptInfo) ApplySchemaCustomizations added in v1.63.0

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

func (*InitScriptInfo) GetAbfss added in v1.61.0

func (o *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 (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *InitScriptInfo) SetWorkspace(ctx context.Context, v WorkspaceStorageInfo)

SetWorkspace sets the value of the Workspace field in InitScriptInfo.

func (*InitScriptInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *InitScriptInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfo)

func (*InitScriptInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InitScriptInfo) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo)

func (InitScriptInfo) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type InitScriptInfoAndExecutionDetails

type InitScriptInfoAndExecutionDetails struct {
	// Details about the script
	ExecutionDetails types.Object `tfsdk:"execution_details"`
	// The script
	Script types.Object `tfsdk:"script"`
}

func (InitScriptInfoAndExecutionDetails) ApplySchemaCustomizations added in v1.63.0

func (InitScriptInfoAndExecutionDetails) GetComplexFieldTypes added in v1.61.0

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

GetExecutionDetails returns the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails as a InitScriptExecutionDetails value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) GetScript added in v1.61.0

GetScript returns the value of the Script field in InitScriptInfoAndExecutionDetails as a InitScriptInfo value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails) SetExecutionDetails added in v1.61.0

SetExecutionDetails sets the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SetScript added in v1.61.0

SetScript sets the value of the Script field in InitScriptInfoAndExecutionDetails.

func (*InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfoAndExecutionDetails)

func (*InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails)

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 {
	// Details about the script
	ExecutionDetails types.List `tfsdk:"execution_details"`
	// The script
	Script types.List `tfsdk:"script"`
}

func (InitScriptInfoAndExecutionDetails_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

GetExecutionDetails returns the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails_SdkV2 as a InitScriptExecutionDetails_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) GetScript added in v1.62.1

GetScript returns the value of the Script field in InitScriptInfoAndExecutionDetails_SdkV2 as a InitScriptInfo_SdkV2 value. If the field is unknown or null, the boolean return value is false.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetExecutionDetails added in v1.62.1

SetExecutionDetails sets the value of the ExecutionDetails field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SetScript added in v1.62.1

SetScript sets the value of the Script field in InitScriptInfoAndExecutionDetails_SdkV2.

func (*InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfoAndExecutionDetails_SdkV2)

func (*InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails_SdkV2)

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" : { "destination" :
	// "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" :
	// "/Users/user1@databricks.com/my-init.sh" } }`
	Workspace types.List `tfsdk:"workspace"`
}

func (InitScriptInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InitScriptInfo_SdkV2)

func (*InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (InstallLibraries) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *InstallLibraries) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in InstallLibraries.

func (*InstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *InstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibraries)

func (*InstallLibraries) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstallLibraries) SyncEffectiveFieldsDuringRead(existingState InstallLibraries)

func (InstallLibraries) ToObjectValue added in v1.61.0

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

func (InstallLibrariesResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibrariesResponse)

func (*InstallLibrariesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibrariesResponse_SdkV2)

func (*InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse_SdkV2)

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

func (InstallLibraries_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *InstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in InstallLibraries_SdkV2.

func (*InstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstallLibraries_SdkV2)

func (*InstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (InstancePoolAccessControlRequest) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAccessControlRequest) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlRequest)

func (*InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest)

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"`
	// Permission level
	PermissionLevel types.String `tfsdk:"permission_level"`
	// application ID of a service principal
	ServicePrincipalName types.String `tfsdk:"service_principal_name"`
	// name of the user
	UserName types.String `tfsdk:"user_name"`
}

func (InstancePoolAccessControlRequest_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAccessControlRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlRequest_SdkV2)

func (*InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest_SdkV2)

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

func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlResponse)

func (*InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse)

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

func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAccessControlResponse_SdkV2)

func (*InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse_SdkV2)

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"`
	// 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
	// :method:clusters/listNodeTypes API call.
	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
	// :method:clusters/sparkVersions API call.
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// 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"`
}

func (InstancePoolAndStats) ApplySchemaCustomizations added in v1.63.0

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *InstancePoolAndStats) SetGcpAttributes(ctx context.Context, v InstancePoolGcpAttributes)

SetGcpAttributes sets the value of the GcpAttributes field in InstancePoolAndStats.

func (*InstancePoolAndStats) SetPreloadedDockerImages added in v1.61.0

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

func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAndStats)

func (*InstancePoolAndStats) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringRead(existingState 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"`
	// 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
	// :method:clusters/listNodeTypes API call.
	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
	// :method:clusters/sparkVersions API call.
	PreloadedSparkVersions types.List `tfsdk:"preloaded_spark_versions"`
	// 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"`
}

func (InstancePoolAndStats_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

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

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

func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAndStats_SdkV2)

func (*InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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.
	//
	// The default value is defined by
	// InstancePoolConf.instancePoolDefaultAwsAvailability
	Availability types.String `tfsdk:"availability"`
	// 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.
	//
	// The default value and documentation here should be kept consistent with
	// CommonConf.defaultSpotBidPricePercent and
	// CommonConf.maxSpotBidPricePercent.
	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"`
}

func (InstancePoolAwsAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (InstancePoolAwsAttributes) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAwsAttributes)

func (*InstancePoolAwsAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringRead(existingState 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.
	//
	// The default value is defined by
	// InstancePoolConf.instancePoolDefaultAwsAvailability
	Availability types.String `tfsdk:"availability"`
	// 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.
	//
	// The default value and documentation here should be kept consistent with
	// CommonConf.defaultSpotBidPricePercent and
	// CommonConf.maxSpotBidPricePercent.
	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"`
}

func (InstancePoolAwsAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAwsAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAwsAttributes_SdkV2)

func (*InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes_SdkV2)

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 {
	// Shows the Availability type used for the spot nodes.
	//
	// The default value is defined by
	// InstancePoolConf.instancePoolDefaultAzureAvailability
	Availability types.String `tfsdk:"availability"`
	// The default value and documentation here should be kept consistent with
	// CommonConf.defaultSpotBidMaxPrice.
	SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"`
}

func (InstancePoolAzureAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (InstancePoolAzureAttributes) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAzureAttributes)

func (*InstancePoolAzureAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringRead(existingState 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 {
	// Shows the Availability type used for the spot nodes.
	//
	// The default value is defined by
	// InstancePoolConf.instancePoolDefaultAzureAvailability
	Availability types.String `tfsdk:"availability"`
	// The default value and documentation here should be kept consistent with
	// CommonConf.defaultSpotBidMaxPrice.
	SpotBidMaxPrice types.Float64 `tfsdk:"spot_bid_max_price"`
}

func (InstancePoolAzureAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolAzureAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolAzureAttributes_SdkV2)

func (*InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes_SdkV2)

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 {
	// This field determines whether the instance pool will contain preemptible
	// VMs, on-demand VMs, or preemptible VMs with a fallback to on-demand VMs
	// if the former is unavailable.
	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"`
}

func (InstancePoolGcpAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (InstancePoolGcpAttributes) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolGcpAttributes)

func (*InstancePoolGcpAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringRead(existingState 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 {
	// This field determines whether the instance pool will contain preemptible
	// VMs, on-demand VMs, or preemptible VMs with a fallback to on-demand VMs
	// if the former is unavailable.
	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"`
}

func (InstancePoolGcpAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolGcpAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolGcpAttributes_SdkV2)

func (*InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes_SdkV2)

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

func (InstancePoolPermission) ApplySchemaCustomizations added in v1.63.0

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

func (InstancePoolPermission) GetComplexFieldTypes added in v1.61.0

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

SetInheritedFromObject sets the value of the InheritedFromObject field in InstancePoolPermission.

func (*InstancePoolPermission) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermission)

func (*InstancePoolPermission) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Permission level
	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 (a 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 (o *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 (o *InstancePoolPermission_SdkV2) SetInheritedFromObject(ctx context.Context, v []types.String)

SetInheritedFromObject sets the value of the InheritedFromObject field in InstancePoolPermission_SdkV2.

func (*InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermission_SdkV2)

func (*InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissions)

func (*InstancePoolPermissions) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (InstancePoolPermissionsDescription) ApplySchemaCustomizations added in v1.63.0

func (InstancePoolPermissionsDescription) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsDescription)

func (*InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription)

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

func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsDescription_SdkV2)

func (*InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription_SdkV2)

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

func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsRequest)

func (*InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest)

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

func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissionsRequest_SdkV2)

func (*InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest_SdkV2)

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

func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolPermissions_SdkV2)

func (*InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (InstancePoolStats) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstancePoolStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStats)

func (*InstancePoolStats) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstancePoolStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats)

func (InstancePoolStats) ToObjectValue added in v1.61.0

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

func (InstancePoolStats_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStats_SdkV2)

func (*InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (InstancePoolStatus) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *InstancePoolStatus) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError)

SetPendingInstanceErrors sets the value of the PendingInstanceErrors field in InstancePoolStatus.

func (*InstancePoolStatus) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStatus)

func (*InstancePoolStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (InstancePoolStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *InstancePoolStatus_SdkV2) SetPendingInstanceErrors(ctx context.Context, v []PendingInstanceError_SdkV2)

SetPendingInstanceErrors sets the value of the PendingInstanceErrors field in InstancePoolStatus_SdkV2.

func (*InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstancePoolStatus_SdkV2)

func (*InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (InstanceProfile) GetComplexFieldTypes added in v1.61.0

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

func (newState *InstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstanceProfile)

func (*InstanceProfile) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *InstanceProfile) SyncEffectiveFieldsDuringRead(existingState InstanceProfile)

func (InstanceProfile) ToObjectValue added in v1.61.0

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

func (InstanceProfile_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan InstanceProfile_SdkV2)

func (*InstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (Library) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *Library) SetPypi(ctx context.Context, v PythonPyPiLibrary)

SetPypi sets the value of the Pypi field in Library.

func (*Library) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Library) SyncEffectiveFieldsDuringCreateOrUpdate(plan Library)

func (*Library) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Library) SyncEffectiveFieldsDuringRead(existingState Library)

func (Library) ToObjectValue added in v1.61.0

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

func (LibraryFullStatus) GetComplexFieldTypes added in v1.61.0

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

SetMessages sets the value of the Messages field in LibraryFullStatus.

func (*LibraryFullStatus) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LibraryFullStatus)

func (*LibraryFullStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus)

func (LibraryFullStatus) ToObjectValue added in v1.61.0

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

func (LibraryFullStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

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

SetMessages sets the value of the Messages field in LibraryFullStatus_SdkV2.

func (*LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LibraryFullStatus_SdkV2)

func (*LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (Library_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *Library_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Library_SdkV2)

func (*Library_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Library_SdkV2) SyncEffectiveFieldsDuringRead(existingState Library_SdkV2)

func (Library_SdkV2) ToObjectValue added in v1.62.1

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

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

func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllClusterLibraryStatusesResponse)

func (*ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse)

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

func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllClusterLibraryStatusesResponse_SdkV2)

func (*ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse_SdkV2)

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

func (ListAvailableZonesResponse) GetComplexFieldTypes added in v1.61.0

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

SetZones sets the value of the Zones field in ListAvailableZonesResponse.

func (*ListAvailableZonesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAvailableZonesResponse)

func (*ListAvailableZonesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAvailableZonesResponse_SdkV2)

func (*ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse_SdkV2)

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

List cluster policy compliance

func (ListClusterCompliancesRequest) GetComplexFieldTypes added in v1.61.0

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

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

List cluster policy compliance

func (ListClusterCompliancesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesResponse)

func (*ListClusterCompliancesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse)

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

func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesResponse_SdkV2)

func (*ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse_SdkV2)

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

List cluster policies

func (ListClusterPoliciesRequest) GetComplexFieldTypes added in v1.61.0

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

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

List cluster policies

func (ListClusterPoliciesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*ListClustersFilterBy) GetClusterSources added in v1.61.0

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

SetClusterStates sets the value of the ClusterStates field in ListClustersFilterBy.

func (*ListClustersFilterBy) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersFilterBy)

func (*ListClustersFilterBy) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (*ListClustersFilterBy_SdkV2) GetClusterSources added in v1.62.1

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

SetClusterStates sets the value of the ClusterStates field in ListClustersFilterBy_SdkV2.

func (*ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersFilterBy_SdkV2)

func (*ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

List clusters

func (ListClustersRequest) GetComplexFieldTypes added in v1.61.0

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

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

List clusters

func (ListClustersRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

TFSDK 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 {
	// <needs content added>
	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 (c ListClustersResponse) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (*ListClustersResponse) GetClusters added in v1.61.0

func (o *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 (a 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 (o *ListClustersResponse) SetClusters(ctx context.Context, v []ClusterDetails)

SetClusters sets the value of the Clusters field in ListClustersResponse.

func (*ListClustersResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListClustersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersResponse)

func (*ListClustersResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListClustersResponse) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	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 (c 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 (a 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersResponse_SdkV2)

func (*ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (ListClustersSortBy) GetComplexFieldTypes added in v1.61.0

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

func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersSortBy)

func (*ListClustersSortBy) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ListClustersSortBy_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersSortBy_SdkV2)

func (*ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGlobalInitScriptsResponse)

func (*ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGlobalInitScriptsResponse_SdkV2)

func (*ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse_SdkV2)

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

func (ListInstancePools) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListInstancePools) SetInstancePools(ctx context.Context, v []InstancePoolAndStats)

SetInstancePools sets the value of the InstancePools field in ListInstancePools.

func (*ListInstancePools) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListInstancePools) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstancePools)

func (*ListInstancePools) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListInstancePools) SyncEffectiveFieldsDuringRead(existingState ListInstancePools)

func (ListInstancePools) ToObjectValue added in v1.61.0

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

func (ListInstancePools_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *ListInstancePools_SdkV2) SetInstancePools(ctx context.Context, v []InstancePoolAndStats_SdkV2)

SetInstancePools sets the value of the InstancePools field in ListInstancePools_SdkV2.

func (*ListInstancePools_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstancePools_SdkV2)

func (*ListInstancePools_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 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 (a 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 (o *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 (o *ListInstanceProfilesResponse) SetInstanceProfiles(ctx context.Context, v []InstanceProfile)

SetInstanceProfiles sets the value of the InstanceProfiles field in ListInstanceProfilesResponse.

func (*ListInstanceProfilesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstanceProfilesResponse)

func (*ListInstanceProfilesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstanceProfilesResponse_SdkV2)

func (*ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse_SdkV2)

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

func (ListNodeTypesResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListNodeTypesResponse) SetNodeTypes(ctx context.Context, v []NodeType)

SetNodeTypes sets the value of the NodeTypes field in ListNodeTypesResponse.

func (*ListNodeTypesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNodeTypesResponse)

func (*ListNodeTypesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ListNodeTypesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *ListNodeTypesResponse_SdkV2) SetNodeTypes(ctx context.Context, v []NodeType_SdkV2)

SetNodeTypes sets the value of the NodeTypes field in ListNodeTypesResponse_SdkV2.

func (*ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNodeTypesResponse_SdkV2)

func (*ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (ListPoliciesResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListPoliciesResponse) SetPolicies(ctx context.Context, v []Policy)

SetPolicies sets the value of the Policies field in ListPoliciesResponse.

func (*ListPoliciesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPoliciesResponse)

func (*ListPoliciesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ListPoliciesResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *ListPoliciesResponse_SdkV2) SetPolicies(ctx context.Context, v []Policy_SdkV2)

SetPolicies sets the value of the Policies field in ListPoliciesResponse_SdkV2.

func (*ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPoliciesResponse_SdkV2)

func (*ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

List policy families

func (ListPolicyFamiliesRequest) GetComplexFieldTypes added in v1.61.0

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

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

List policy families

func (ListPolicyFamiliesRequest_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (ListPolicyFamiliesResponse) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *ListPolicyFamiliesResponse) SetPolicyFamilies(ctx context.Context, v []PolicyFamily)

SetPolicyFamilies sets the value of the PolicyFamilies field in ListPolicyFamiliesResponse.

func (*ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesResponse)

func (*ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringRead(existingState 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 (a 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 (o *ListPolicyFamiliesResponse_SdkV2) SetPolicyFamilies(ctx context.Context, v []PolicyFamily_SdkV2)

SetPolicyFamilies sets the value of the PolicyFamilies field in ListPolicyFamiliesResponse_SdkV2.

func (*ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesResponse_SdkV2)

func (*ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse_SdkV2)

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

func (LocalFileInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *LocalFileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan LocalFileInfo)

func (*LocalFileInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LocalFileInfo) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo)

func (LocalFileInfo) ToObjectValue added in v1.61.0

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

func (LocalFileInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LocalFileInfo_SdkV2)

func (*LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	LogAnalyticsPrimaryKey types.String `tfsdk:"log_analytics_primary_key"`
	// <needs content added>
	LogAnalyticsWorkspaceId types.String `tfsdk:"log_analytics_workspace_id"`
}

func (LogAnalyticsInfo) ApplySchemaCustomizations added in v1.63.0

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

func (LogAnalyticsInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogAnalyticsInfo)

func (*LogAnalyticsInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo)

func (LogAnalyticsInfo) ToObjectValue added in v1.61.0

func (o 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 {
	// <needs content added>
	LogAnalyticsPrimaryKey types.String `tfsdk:"log_analytics_primary_key"`
	// <needs content added>
	LogAnalyticsWorkspaceId types.String `tfsdk:"log_analytics_workspace_id"`
}

func (LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (LogAnalyticsInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogAnalyticsInfo_SdkV2)

func (*LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (LogSyncStatus) ApplySchemaCustomizations added in v1.63.0

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

func (LogSyncStatus) GetComplexFieldTypes added in v1.61.0

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

func (newState *LogSyncStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogSyncStatus)

func (*LogSyncStatus) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *LogSyncStatus) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus)

func (LogSyncStatus) ToObjectValue added in v1.61.0

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

func (LogSyncStatus_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (LogSyncStatus_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogSyncStatus_SdkV2)

func (*LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (MavenLibrary) GetComplexFieldTypes added in v1.61.0

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

SetExclusions sets the value of the Exclusions field in MavenLibrary.

func (*MavenLibrary) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *MavenLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan MavenLibrary)

func (*MavenLibrary) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *MavenLibrary) SyncEffectiveFieldsDuringRead(existingState MavenLibrary)

func (MavenLibrary) ToObjectValue added in v1.61.0

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

func (MavenLibrary_SdkV2) GetComplexFieldTypes added in v1.62.1

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

SetExclusions sets the value of the Exclusions field in MavenLibrary_SdkV2.

func (*MavenLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan MavenLibrary_SdkV2)

func (*MavenLibrary_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	InstanceTypeId types.String `tfsdk:"instance_type_id"`

	LocalDiskSizeGb types.Int64 `tfsdk:"local_disk_size_gb"`

	LocalDisks types.Int64 `tfsdk:"local_disks"`

	LocalNvmeDiskSizeGb types.Int64 `tfsdk:"local_nvme_disk_size_gb"`

	LocalNvmeDisks types.Int64 `tfsdk:"local_nvme_disks"`
}

func (NodeInstanceType) ApplySchemaCustomizations added in v1.63.0

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

func (NodeInstanceType) GetComplexFieldTypes added in v1.61.0

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

func (newState *NodeInstanceType) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeInstanceType)

func (*NodeInstanceType) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *NodeInstanceType) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType)

func (NodeInstanceType) ToObjectValue added in v1.61.0

func (o 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 {
	InstanceTypeId types.String `tfsdk:"instance_type_id"`

	LocalDiskSizeGb types.Int64 `tfsdk:"local_disk_size_gb"`

	LocalDisks types.Int64 `tfsdk:"local_disks"`

	LocalNvmeDiskSizeGb types.Int64 `tfsdk:"local_nvme_disk_size_gb"`

	LocalNvmeDisks types.Int64 `tfsdk:"local_nvme_disks"`
}

func (NodeInstanceType_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (NodeInstanceType_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeInstanceType_SdkV2)

func (*NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	Category types.String `tfsdk:"category"`
	// A string description associated with this node type, e.g., "r3.xlarge".
	Description types.String `tfsdk:"description"`

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

	IsGraviton types.Bool `tfsdk:"is_graviton"`

	IsHidden types.Bool `tfsdk:"is_hidden"`

	IsIoCacheEnabled types.Bool `tfsdk:"is_io_cache_enabled"`
	// Memory (in MB) available for this node type.
	MemoryMb types.Int64 `tfsdk:"memory_mb"`

	NodeInfo types.Object `tfsdk:"node_info"`

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

	NumGpus types.Int64 `tfsdk:"num_gpus"`

	PhotonDriverCapable types.Bool `tfsdk:"photon_driver_capable"`

	PhotonWorkerCapable types.Bool `tfsdk:"photon_worker_capable"`

	SupportClusterTags types.Bool `tfsdk:"support_cluster_tags"`

	SupportEbsVolumes types.Bool `tfsdk:"support_ebs_volumes"`

	SupportPortForwarding types.Bool `tfsdk:"support_port_forwarding"`
	// Indicates if this node type can be used for an instance pool or cluster
	// with elastic disk enabled. This is true for most node types.
	SupportsElasticDisk types.Bool `tfsdk:"supports_elastic_disk"`
}

func (NodeType) ApplySchemaCustomizations added in v1.63.0

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

func (NodeType) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *NodeType) SetNodeInstanceType(ctx context.Context, v NodeInstanceType)

SetNodeInstanceType sets the value of the NodeInstanceType field in NodeType.

func (*NodeType) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *NodeType) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeType)

func (*NodeType) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *NodeType) SyncEffectiveFieldsDuringRead(existingState NodeType)

func (NodeType) ToObjectValue added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type NodeType_SdkV2 added in v1.62.1

type NodeType_SdkV2 struct {
	Category types.String `tfsdk:"category"`
	// A string description associated with this node type, e.g., "r3.xlarge".
	Description types.String `tfsdk:"description"`

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

	IsGraviton types.Bool `tfsdk:"is_graviton"`

	IsHidden types.Bool `tfsdk:"is_hidden"`

	IsIoCacheEnabled types.Bool `tfsdk:"is_io_cache_enabled"`
	// Memory (in MB) available for this node type.
	MemoryMb types.Int64 `tfsdk:"memory_mb"`

	NodeInfo types.List `tfsdk:"node_info"`

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

	NumGpus types.Int64 `tfsdk:"num_gpus"`

	PhotonDriverCapable types.Bool `tfsdk:"photon_driver_capable"`

	PhotonWorkerCapable types.Bool `tfsdk:"photon_worker_capable"`

	SupportClusterTags types.Bool `tfsdk:"support_cluster_tags"`

	SupportEbsVolumes types.Bool `tfsdk:"support_ebs_volumes"`

	SupportPortForwarding types.Bool `tfsdk:"support_port_forwarding"`
	// Indicates if this node type can be used for an instance pool or cluster
	// with elastic disk enabled. This is true for most node types.
	SupportsElasticDisk types.Bool `tfsdk:"supports_elastic_disk"`
}

func (NodeType_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (NodeType_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *NodeType_SdkV2) SetNodeInstanceType(ctx context.Context, v NodeInstanceType_SdkV2)

SetNodeInstanceType sets the value of the NodeInstanceType field in NodeType_SdkV2.

func (*NodeType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeType_SdkV2)

func (*NodeType_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeType_SdkV2)

func (NodeType_SdkV2) ToObjectValue added in v1.62.1

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

Type implements basetypes.ObjectValuable.

type PendingInstanceError

type PendingInstanceError struct {
	InstanceId types.String `tfsdk:"instance_id"`

	Message types.String `tfsdk:"message"`
}

func (PendingInstanceError) ApplySchemaCustomizations added in v1.63.0

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

func (PendingInstanceError) GetComplexFieldTypes added in v1.61.0

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

func (newState *PendingInstanceError) SyncEffectiveFieldsDuringCreateOrUpdate(plan PendingInstanceError)

func (*PendingInstanceError) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (PendingInstanceError_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (PendingInstanceError_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PendingInstanceError_SdkV2)

func (*PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (PermanentDeleteCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteCluster)

func (*PermanentDeleteCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteClusterResponse)

func (*PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse)

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

func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteClusterResponse_SdkV2)

func (*PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse_SdkV2)

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

func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PermanentDeleteCluster_SdkV2)

func (*PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (PinCluster) ApplySchemaCustomizations added in v1.63.0

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

func (PinCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *PinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinCluster)

func (*PinCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PinCluster) SyncEffectiveFieldsDuringRead(existingState PinCluster)

func (PinCluster) ToObjectValue added in v1.61.0

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

func (PinClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *PinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClusterResponse)

func (*PinClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (PinClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClusterResponse_SdkV2)

func (*PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (PinCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (PinCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinCluster_SdkV2)

func (*PinCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinCluster_SdkV2)

func (PinCluster_SdkV2) ToObjectValue added in v1.62.1

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

func (Policy) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *Policy) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in Policy.

func (*Policy) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Policy) SyncEffectiveFieldsDuringCreateOrUpdate(plan Policy)

func (*Policy) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Policy) SyncEffectiveFieldsDuringRead(existingState Policy)

func (Policy) ToObjectValue added in v1.61.0

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

func (PolicyFamily) GetComplexFieldTypes added in v1.61.0

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

func (newState *PolicyFamily) SyncEffectiveFieldsDuringCreateOrUpdate(plan PolicyFamily)

func (*PolicyFamily) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PolicyFamily) SyncEffectiveFieldsDuringRead(existingState PolicyFamily)

func (PolicyFamily) ToObjectValue added in v1.61.0

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

func (PolicyFamily_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PolicyFamily_SdkV2)

func (*PolicyFamily_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (Policy_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *Policy_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in Policy_SdkV2.

func (*Policy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Policy_SdkV2)

func (*Policy_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringRead(existingState Policy_SdkV2)

func (Policy_SdkV2) ToObjectValue added in v1.62.1

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

func (PythonPyPiLibrary) GetComplexFieldTypes added in v1.61.0

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

func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonPyPiLibrary)

func (*PythonPyPiLibrary) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary)

func (PythonPyPiLibrary) ToObjectValue added in v1.61.0

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

func (PythonPyPiLibrary_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PythonPyPiLibrary_SdkV2)

func (*PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (RCranLibrary) GetComplexFieldTypes added in v1.61.0

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

func (newState *RCranLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCranLibrary)

func (*RCranLibrary) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RCranLibrary) SyncEffectiveFieldsDuringRead(existingState RCranLibrary)

func (RCranLibrary) ToObjectValue added in v1.61.0

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

func (RCranLibrary_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCranLibrary_SdkV2)

func (*RCranLibrary_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (RemoveInstanceProfile) GetComplexFieldTypes added in v1.61.0

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

func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveInstanceProfile)

func (*RemoveInstanceProfile) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (RemoveInstanceProfile_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveInstanceProfile_SdkV2)

func (*RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

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

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

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

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

func (*ResizeCluster) GetAutoscale added in v1.61.0

func (o *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 (a 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 (o *ResizeCluster) SetAutoscale(ctx context.Context, v AutoScale)

SetAutoscale sets the value of the Autoscale field in ResizeCluster.

func (*ResizeCluster) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ResizeCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeCluster)

func (*ResizeCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ResizeCluster) SyncEffectiveFieldsDuringRead(existingState ResizeCluster)

func (ResizeCluster) ToObjectValue added in v1.61.0

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

func (ResizeClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeClusterResponse)

func (*ResizeClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (ResizeClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeClusterResponse_SdkV2)

func (*ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (*ResizeCluster_SdkV2) GetAutoscale added in v1.62.1

func (o *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 (a 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 (o *ResizeCluster_SdkV2) SetAutoscale(ctx context.Context, v AutoScale_SdkV2)

SetAutoscale sets the value of the Autoscale field in ResizeCluster_SdkV2.

func (*ResizeCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResizeCluster_SdkV2)

func (*ResizeCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// <needs content added>
	RestartUser types.String `tfsdk:"restart_user"`
}

func (RestartCluster) ApplySchemaCustomizations added in v1.63.0

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

func (RestartCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *RestartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartCluster)

func (*RestartCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RestartCluster) SyncEffectiveFieldsDuringRead(existingState RestartCluster)

func (RestartCluster) ToObjectValue added in v1.61.0

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

func (RestartClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartClusterResponse)

func (*RestartClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartClusterResponse_SdkV2)

func (*RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// <needs content added>
	RestartUser types.String `tfsdk:"restart_user"`
}

func (RestartCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (RestartCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestartCluster_SdkV2)

func (*RestartCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 filename
	FileName types.String `tfsdk:"fileName"`

	FileNames types.List `tfsdk:"fileNames"`
	// true if a JSON schema is returned instead of a string representation of
	// the Hive type.
	IsJsonSchema types.Bool `tfsdk:"isJsonSchema"`
	// internal field used by SDK
	Pos types.Int64 `tfsdk:"pos"`

	ResultType types.String `tfsdk:"resultType"`
	// 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 (c Results) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Results) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *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 (o *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 (o *Results) SetSchema(ctx context.Context, v []types.Object)

SetSchema sets the value of the Schema field in Results.

func (*Results) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Results) SyncEffectiveFieldsDuringCreateOrUpdate(plan Results)

func (*Results) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Results) SyncEffectiveFieldsDuringRead(existingState Results)

func (Results) ToObjectValue added in v1.61.0

func (o 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 (o 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 filename
	FileName types.String `tfsdk:"fileName"`

	FileNames types.List `tfsdk:"fileNames"`
	// true if a JSON schema is returned instead of a string representation of
	// the Hive type.
	IsJsonSchema types.Bool `tfsdk:"isJsonSchema"`
	// internal field used by SDK
	Pos types.Int64 `tfsdk:"pos"`

	ResultType types.String `tfsdk:"resultType"`
	// 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 (c Results_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder

func (Results_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *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 (o *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 (o *Results_SdkV2) SetSchema(ctx context.Context, v []types.Object)

SetSchema sets the value of the Schema field in Results_SdkV2.

func (*Results_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *Results_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Results_SdkV2)

func (*Results_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *Results_SdkV2) SyncEffectiveFieldsDuringRead(existingState Results_SdkV2)

func (Results_SdkV2) ToObjectValue added in v1.62.1

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

func (S3StorageInfo) ApplySchemaCustomizations added in v1.63.0

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

func (S3StorageInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *S3StorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3StorageInfo)

func (*S3StorageInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *S3StorageInfo) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo)

func (S3StorageInfo) ToObjectValue added in v1.61.0

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

func (S3StorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (S3StorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3StorageInfo_SdkV2)

func (*S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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.
	//
	// Actually it's the public DNS address of the host instance.
	PublicDns types.String `tfsdk:"public_dns"`
	// The timestamp (in millisecond) when the Spark node is launched.
	//
	// The start_timestamp is set right before the container is being launched.
	// The timestamp when the container is placed on the ResourceManager, before
	// its launch and setup by the NodeDaemon. This timestamp is the same as the
	// creation timestamp in the database.
	StartTimestamp types.Int64 `tfsdk:"start_timestamp"`
}

func (SparkNode) ApplySchemaCustomizations added in v1.63.0

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

func (SparkNode) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *SparkNode) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes)

SetNodeAwsAttributes sets the value of the NodeAwsAttributes field in SparkNode.

func (*SparkNode) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *SparkNode) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNode)

func (*SparkNode) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SparkNode) SyncEffectiveFieldsDuringRead(existingState SparkNode)

func (SparkNode) ToObjectValue added in v1.61.0

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

func (SparkNodeAwsAttributes) ApplySchemaCustomizations added in v1.63.0

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

func (SparkNodeAwsAttributes) GetComplexFieldTypes added in v1.61.0

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

func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNodeAwsAttributes)

func (*SparkNodeAwsAttributes) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (SparkNodeAwsAttributes_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (SparkNodeAwsAttributes_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNodeAwsAttributes_SdkV2)

func (*SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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.
	//
	// Actually it's the public DNS address of the host instance.
	PublicDns types.String `tfsdk:"public_dns"`
	// The timestamp (in millisecond) when the Spark node is launched.
	//
	// The start_timestamp is set right before the container is being launched.
	// The timestamp when the container is placed on the ResourceManager, before
	// its launch and setup by the NodeDaemon. This timestamp is the same as the
	// creation timestamp in the database.
	StartTimestamp types.Int64 `tfsdk:"start_timestamp"`
}

func (SparkNode_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (SparkNode_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *SparkNode_SdkV2) SetNodeAwsAttributes(ctx context.Context, v SparkNodeAwsAttributes_SdkV2)

SetNodeAwsAttributes sets the value of the NodeAwsAttributes field in SparkNode_SdkV2.

func (*SparkNode_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNode_SdkV2)

func (*SparkNode_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNode_SdkV2)

func (SparkNode_SdkV2) ToObjectValue added in v1.62.1

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

func (SparkVersion) GetComplexFieldTypes added in v1.61.0

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

func (newState *SparkVersion) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkVersion)

func (*SparkVersion) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *SparkVersion) SyncEffectiveFieldsDuringRead(existingState SparkVersion)

func (SparkVersion) ToObjectValue added in v1.61.0

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

func (SparkVersion_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkVersion_SdkV2)

func (*SparkVersion_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 StartCluster

type StartCluster struct {
	// The cluster to be started.
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (StartCluster) ApplySchemaCustomizations added in v1.63.0

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

func (StartCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *StartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartCluster)

func (*StartCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StartCluster) SyncEffectiveFieldsDuringRead(existingState StartCluster)

func (StartCluster) ToObjectValue added in v1.61.0

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

func (StartClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *StartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartClusterResponse)

func (*StartClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (StartClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartClusterResponse_SdkV2)

func (*StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (StartCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartCluster_SdkV2)

func (*StartCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (TerminationReason) GetComplexFieldTypes added in v1.61.0

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

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

func (*TerminationReason) GetParameters added in v1.61.0

func (o *TerminationReason) GetParameters(ctx context.Context) (map[string]types.String, bool)

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

func (*TerminationReason) SetParameters added in v1.61.0

func (o *TerminationReason) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason.

func (*TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason)

func (*TerminationReason) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *TerminationReason) SyncEffectiveFieldsDuringRead(existingState TerminationReason)

func (TerminationReason) ToObjectValue added in v1.61.0

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

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

func (TerminationReason) Type

Type implements basetypes.ObjectValuable.

type TerminationReason_SdkV2 added in v1.62.1

type TerminationReason_SdkV2 struct {
	// status code indicating why the cluster was terminated
	Code types.String `tfsdk:"code"`
	// list of parameters that provide additional information about why the
	// cluster was terminated
	Parameters types.Map `tfsdk:"parameters"`
	// type of the termination
	Type_ types.String `tfsdk:"type"`
}

func (TerminationReason_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (TerminationReason_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (*TerminationReason_SdkV2) GetParameters added in v1.62.1

func (o *TerminationReason_SdkV2) GetParameters(ctx context.Context) (map[string]types.String, bool)

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

func (*TerminationReason_SdkV2) SetParameters added in v1.62.1

func (o *TerminationReason_SdkV2) SetParameters(ctx context.Context, v map[string]types.String)

SetParameters sets the value of the Parameters field in TerminationReason_SdkV2.

func (*TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TerminationReason_SdkV2)

func (*TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationReason_SdkV2)

func (TerminationReason_SdkV2) ToObjectValue added in v1.62.1

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

func (TerminationReason_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

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

func (UninstallLibraries) GetComplexFieldTypes added in v1.61.0

func (a 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 (o *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 (o *UninstallLibraries) SetLibraries(ctx context.Context, v []Library)

SetLibraries sets the value of the Libraries field in UninstallLibraries.

func (*UninstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UninstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibraries)

func (*UninstallLibraries) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (UninstallLibrariesResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibrariesResponse)

func (*UninstallLibrariesResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibrariesResponse_SdkV2)

func (*UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse_SdkV2)

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

func (UninstallLibraries_SdkV2) GetComplexFieldTypes added in v1.62.1

func (a 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 (o *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 (o *UninstallLibraries_SdkV2) SetLibraries(ctx context.Context, v []Library_SdkV2)

SetLibraries sets the value of the Libraries field in UninstallLibraries_SdkV2.

func (*UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UninstallLibraries_SdkV2)

func (*UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (UnpinCluster) ApplySchemaCustomizations added in v1.63.0

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

func (UnpinCluster) GetComplexFieldTypes added in v1.61.0

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

func (newState *UnpinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinCluster)

func (*UnpinCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UnpinCluster) SyncEffectiveFieldsDuringRead(existingState UnpinCluster)

func (UnpinCluster) ToObjectValue added in v1.61.0

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

func (UnpinClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinClusterResponse)

func (*UnpinClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (UnpinClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinClusterResponse_SdkV2)

func (*UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// <needs content added>
	ClusterId types.String `tfsdk:"cluster_id"`
}

func (UnpinCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (UnpinCluster_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpinCluster_SdkV2)

func (*UnpinCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Specifies which fields of the cluster will be updated. This is required
	// in the POST request. The update mask should be supplied as a single
	// string. To specify multiple fields, separate them with commas (no
	// spaces). To delete a field from a cluster configuration, add it to the
	// `update_mask` string but omit it from the `cluster` object.
	UpdateMask types.String `tfsdk:"update_mask"`
}

func (UpdateCluster) ApplySchemaCustomizations added in v1.63.0

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

func (*UpdateCluster) GetCluster added in v1.61.0

func (o *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 (a 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 (o *UpdateCluster) SetCluster(ctx context.Context, v UpdateClusterResource)

SetCluster sets the value of the Cluster field in UpdateCluster.

func (*UpdateCluster) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCluster)

func (*UpdateCluster) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateCluster) SyncEffectiveFieldsDuringRead(existingState UpdateCluster)

func (UpdateCluster) ToObjectValue added in v1.61.0

func (o 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 (o 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (UpdateClusterResource) ApplySchemaCustomizations added in v1.63.0

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

func (*UpdateClusterResource) GetAutoscale added in v1.61.0

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

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

func (o *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 (o *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 (o *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 (o *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 (o *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 (o *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 (o *UpdateClusterResource) SetDockerImage(ctx context.Context, v DockerImage)

SetDockerImage sets the value of the DockerImage field in UpdateClusterResource.

func (*UpdateClusterResource) SetGcpAttributes added in v1.61.0

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

SetSshPublicKeys sets the value of the SshPublicKeys field in UpdateClusterResource.

func (*UpdateClusterResource) SetWorkloadType added in v1.61.0

func (o *UpdateClusterResource) SetWorkloadType(ctx context.Context, v WorkloadType)

SetWorkloadType sets the value of the WorkloadType field in UpdateClusterResource.

func (*UpdateClusterResource) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResource)

func (*UpdateClusterResource) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringRead(existingState 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. Two kinds of destinations (dbfs and s3) 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.
	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"`
	// Data security mode decides what data governance model to use when
	// accessing data from a cluster.
	//
	// The following modes can only be used with `kind`. *
	// `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate
	// access mode depending on your compute configuration. *
	// `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`. *
	// `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
	//
	// The following modes can be used regardless of `kind`. * `NONE`: No
	// security isolation for multiple users sharing the cluster. Data
	// governance features are not available in this mode. * `SINGLE_USER`: A
	// secure cluster that can only be exclusively used by a single user
	// specified in `single_user_name`. Most programming languages, cluster
	// features and data governance features are available in this mode. *
	// `USER_ISOLATION`: A secure cluster that can be shared by multiple users.
	// Cluster users are fully isolated so that they cannot see each other's
	// data and credentials. Most data governance features are supported in this
	// mode. But programming languages and cluster features might be limited.
	//
	// The following modes are deprecated starting with Databricks Runtime 15.0
	// and will be removed for future Databricks Runtime versions:
	//
	// * `LEGACY_TABLE_ACL`: This mode is for users migrating from legacy Table
	// ACL clusters. * `LEGACY_PASSTHROUGH`: This mode is for users migrating
	// from legacy Passthrough on high concurrency clusters. *
	// `LEGACY_SINGLE_USER`: This mode is for users migrating from legacy
	// Passthrough on standard clusters. * `LEGACY_SINGLE_USER_STANDARD`: This
	// mode provides a way that doesn’t have UC nor passthrough enabled.
	DataSecurityMode types.String `tfsdk:"data_security_mode"`

	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"`
	// 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.
	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. This feature requires specific AWS permissions to function
	// correctly - refer to the User Guide for more details.
	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 with `kind`.
	//
	// 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"`
	// The kind of compute described by this compute specification.
	//
	// Depending on `kind`, different validations and default values will be
	// applied.
	//
	// The first usage of this value is for the simple cluster form where it
	// sets `kind = CLASSIC_PREVIEW`.
	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
	// :method:clusters/listNodeTypes API call.
	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"`
	// 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
	// :method:clusters/sparkVersions API call.
	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"`
	// This field can only be used with `kind`.
	//
	// `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"`

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

func (UpdateClusterResource_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

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

SetSshPublicKeys sets the value of the SshPublicKeys 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) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResource_SdkV2)

func (*UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (UpdateClusterResponse) GetComplexFieldTypes added in v1.61.0

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

func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResponse)

func (*UpdateClusterResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

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

func (UpdateClusterResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateClusterResponse_SdkV2)

func (*UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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"`
	// Specifies which fields of the cluster will be updated. This is required
	// in the POST request. The update mask should be supplied as a single
	// string. To specify multiple fields, separate them with commas (no
	// spaces). To delete a field from a cluster configuration, add it to the
	// `update_mask` string but omit it from the `cluster` object.
	UpdateMask types.String `tfsdk:"update_mask"`
}

func (UpdateCluster_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCluster_SdkV2)

func (*UpdateCluster_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

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

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

func (UpdateResponse) ToObjectValue added in v1.61.0

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

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

func (UpdateResponse) Type added in v1.61.0

func (o UpdateResponse) Type(ctx context.Context) attr.Type

Type implements basetypes.ObjectValuable.

type UpdateResponse_SdkV2 added in v1.62.1

type UpdateResponse_SdkV2 struct {
}

func (UpdateResponse_SdkV2) GetComplexFieldTypes added in v1.62.1

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

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

func (UpdateResponse_SdkV2) ToObjectValue added in v1.62.1

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

func (UpdateResponse_SdkV2) Type added in v1.62.1

Type implements basetypes.ObjectValuable.

type VolumesStorageInfo

type VolumesStorageInfo struct {
	// Unity Catalog Volumes file destination, e.g. `/Volumes/my-init.sh`
	Destination types.String `tfsdk:"destination"`
}

func (VolumesStorageInfo) ApplySchemaCustomizations added in v1.63.0

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

func (VolumesStorageInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumesStorageInfo)

func (*VolumesStorageInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringRead(existingState 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 {
	// Unity Catalog Volumes file destination, e.g. `/Volumes/my-init.sh`
	Destination types.String `tfsdk:"destination"`
}

func (VolumesStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (VolumesStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumesStorageInfo_SdkV2)

func (*VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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

func (WorkloadType) ApplySchemaCustomizations added in v1.63.0

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

func (*WorkloadType) GetClients added in v1.61.0

func (o *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 (a 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 (o *WorkloadType) SetClients(ctx context.Context, v ClientsTypes)

SetClients sets the value of the Clients field in WorkloadType.

func (*WorkloadType) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *WorkloadType) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkloadType)

func (*WorkloadType) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkloadType) SyncEffectiveFieldsDuringRead(existingState WorkloadType)

func (WorkloadType) ToObjectValue added in v1.61.0

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

func (WorkloadType_SdkV2) ApplySchemaCustomizations added in v1.63.0

func (c 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 (a 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 (o *WorkloadType_SdkV2) SetClients(ctx context.Context, v ClientsTypes_SdkV2)

SetClients sets the value of the Clients field in WorkloadType_SdkV2.

func (*WorkloadType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.62.1

func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkloadType_SdkV2)

func (*WorkloadType_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringRead(existingState 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 {
	// workspace files destination, e.g.
	// `/Users/user1@databricks.com/my-init.sh`
	Destination types.String `tfsdk:"destination"`
}

func (WorkspaceStorageInfo) ApplySchemaCustomizations added in v1.63.0

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

func (WorkspaceStorageInfo) GetComplexFieldTypes added in v1.61.0

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

func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceStorageInfo)

func (*WorkspaceStorageInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringRead(existingState 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 {
	// workspace files destination, e.g.
	// `/Users/user1@databricks.com/my-init.sh`
	Destination types.String `tfsdk:"destination"`
}

func (WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations added in v1.63.0

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

func (WorkspaceStorageInfo_SdkV2) GetComplexFieldTypes added in v1.62.1

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

func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan WorkspaceStorageInfo_SdkV2)

func (*WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead added in v1.62.1

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