provisioning_tf

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsCredentials

type AwsCredentials struct {
	StsRole types.List `tfsdk:"sts_role" tf:"optional,object"`
}

func (AwsCredentials) GetComplexFieldTypes added in v1.61.0

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

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

func (*AwsCredentials) GetStsRole added in v1.61.0

func (o *AwsCredentials) GetStsRole(ctx context.Context) (StsRole, bool)

GetStsRole returns the value of the StsRole field in AwsCredentials as a StsRole value. If the field is unknown or null, the boolean return value is false.

func (*AwsCredentials) SetStsRole added in v1.61.0

func (o *AwsCredentials) SetStsRole(ctx context.Context, v StsRole)

SetStsRole sets the value of the StsRole field in AwsCredentials.

func (*AwsCredentials) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AwsCredentials) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsCredentials)

func (*AwsCredentials) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AwsCredentials) SyncEffectiveFieldsDuringRead(existingState AwsCredentials)

func (AwsCredentials) ToObjectValue added in v1.61.0

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

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

func (AwsCredentials) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AwsKeyInfo

type AwsKeyInfo struct {
	// The AWS KMS key alias.
	KeyAlias types.String `tfsdk:"key_alias" tf:"optional"`
	// The AWS KMS key's Amazon Resource Name (ARN).
	KeyArn types.String `tfsdk:"key_arn" tf:""`
	// The AWS KMS key region.
	KeyRegion types.String `tfsdk:"key_region" tf:""`
	// This field applies only if the `use_cases` property includes `STORAGE`.
	// If this is set to `true` or omitted, the key is also used to encrypt
	// cluster EBS volumes. If you do not want to use this key for encrypting
	// EBS volumes, set to `false`.
	ReuseKeyForClusterVolumes types.Bool `tfsdk:"reuse_key_for_cluster_volumes" tf:"optional"`
}

func (AwsKeyInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*AwsKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AwsKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsKeyInfo)

func (*AwsKeyInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AwsKeyInfo) SyncEffectiveFieldsDuringRead(existingState AwsKeyInfo)

func (AwsKeyInfo) ToObjectValue added in v1.61.0

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

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

func (AwsKeyInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type AzureWorkspaceInfo

type AzureWorkspaceInfo struct {
	// Azure Resource Group name
	ResourceGroup types.String `tfsdk:"resource_group" tf:"optional"`
	// Azure Subscription ID
	SubscriptionId types.String `tfsdk:"subscription_id" tf:"optional"`
}

func (AzureWorkspaceInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*AzureWorkspaceInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *AzureWorkspaceInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan AzureWorkspaceInfo)

func (*AzureWorkspaceInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *AzureWorkspaceInfo) SyncEffectiveFieldsDuringRead(existingState AzureWorkspaceInfo)

func (AzureWorkspaceInfo) ToObjectValue added in v1.61.0

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

func (AzureWorkspaceInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CloudResourceContainer

type CloudResourceContainer struct {
	// The general workspace configurations that are specific to Google Cloud.
	Gcp types.List `tfsdk:"gcp" tf:"optional,object"`
}

The general workspace configurations that are specific to cloud providers.

func (CloudResourceContainer) GetComplexFieldTypes added in v1.61.0

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

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

func (*CloudResourceContainer) GetGcp added in v1.61.0

GetGcp returns the value of the Gcp field in CloudResourceContainer as a CustomerFacingGcpCloudResourceContainer value. If the field is unknown or null, the boolean return value is false.

func (*CloudResourceContainer) SetGcp added in v1.61.0

SetGcp sets the value of the Gcp field in CloudResourceContainer.

func (*CloudResourceContainer) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CloudResourceContainer) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloudResourceContainer)

func (*CloudResourceContainer) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CloudResourceContainer) SyncEffectiveFieldsDuringRead(existingState CloudResourceContainer)

func (CloudResourceContainer) ToObjectValue added in v1.61.0

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

func (CloudResourceContainer) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateAwsKeyInfo

type CreateAwsKeyInfo struct {
	// The AWS KMS key alias.
	KeyAlias types.String `tfsdk:"key_alias" tf:"optional"`
	// The AWS KMS key's Amazon Resource Name (ARN). Note that the key's AWS
	// region is inferred from the ARN.
	KeyArn types.String `tfsdk:"key_arn" tf:""`
	// This field applies only if the `use_cases` property includes `STORAGE`.
	// If this is set to `true` or omitted, the key is also used to encrypt
	// cluster EBS volumes. To not use this key also for encrypting EBS volumes,
	// set this to `false`.
	ReuseKeyForClusterVolumes types.Bool `tfsdk:"reuse_key_for_cluster_volumes" tf:"optional"`
}

func (CreateAwsKeyInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateAwsKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateAwsKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAwsKeyInfo)

func (*CreateAwsKeyInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateAwsKeyInfo) SyncEffectiveFieldsDuringRead(existingState CreateAwsKeyInfo)

func (CreateAwsKeyInfo) ToObjectValue added in v1.61.0

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

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

func (CreateAwsKeyInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateCredentialAwsCredentials

type CreateCredentialAwsCredentials struct {
	StsRole types.List `tfsdk:"sts_role" tf:"optional,object"`
}

func (CreateCredentialAwsCredentials) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateCredentialAwsCredentials) GetStsRole added in v1.61.0

GetStsRole returns the value of the StsRole field in CreateCredentialAwsCredentials as a CreateCredentialStsRole value. If the field is unknown or null, the boolean return value is false.

func (*CreateCredentialAwsCredentials) SetStsRole added in v1.61.0

SetStsRole sets the value of the StsRole field in CreateCredentialAwsCredentials.

func (*CreateCredentialAwsCredentials) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCredentialAwsCredentials) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCredentialAwsCredentials)

func (*CreateCredentialAwsCredentials) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCredentialAwsCredentials) SyncEffectiveFieldsDuringRead(existingState CreateCredentialAwsCredentials)

func (CreateCredentialAwsCredentials) ToObjectValue added in v1.61.0

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

func (CreateCredentialAwsCredentials) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateCredentialRequest

type CreateCredentialRequest struct {
	AwsCredentials types.List `tfsdk:"aws_credentials" tf:"object"`
	// The human-readable name of the credential configuration object.
	CredentialsName types.String `tfsdk:"credentials_name" tf:""`
}

func (*CreateCredentialRequest) GetAwsCredentials added in v1.61.0

GetAwsCredentials returns the value of the AwsCredentials field in CreateCredentialRequest as a CreateCredentialAwsCredentials value. If the field is unknown or null, the boolean return value is false.

func (CreateCredentialRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateCredentialRequest) SetAwsCredentials added in v1.61.0

SetAwsCredentials sets the value of the AwsCredentials field in CreateCredentialRequest.

func (*CreateCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCredentialRequest)

func (*CreateCredentialRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCredentialRequest) SyncEffectiveFieldsDuringRead(existingState CreateCredentialRequest)

func (CreateCredentialRequest) ToObjectValue added in v1.61.0

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

func (CreateCredentialRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateCredentialStsRole

type CreateCredentialStsRole struct {
	// The Amazon Resource Name (ARN) of the cross account role.
	RoleArn types.String `tfsdk:"role_arn" tf:"optional"`
}

func (CreateCredentialStsRole) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateCredentialStsRole) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCredentialStsRole) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCredentialStsRole)

func (*CreateCredentialStsRole) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCredentialStsRole) SyncEffectiveFieldsDuringRead(existingState CreateCredentialStsRole)

func (CreateCredentialStsRole) ToObjectValue added in v1.61.0

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

func (CreateCredentialStsRole) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateCustomerManagedKeyRequest

type CreateCustomerManagedKeyRequest struct {
	AwsKeyInfo types.List `tfsdk:"aws_key_info" tf:"optional,object"`

	GcpKeyInfo types.List `tfsdk:"gcp_key_info" tf:"optional,object"`
	// The cases that the key can be used for.
	UseCases types.List `tfsdk:"use_cases" tf:""`
}

func (*CreateCustomerManagedKeyRequest) GetAwsKeyInfo added in v1.61.0

GetAwsKeyInfo returns the value of the AwsKeyInfo field in CreateCustomerManagedKeyRequest as a CreateAwsKeyInfo value. If the field is unknown or null, the boolean return value is false.

func (CreateCustomerManagedKeyRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateCustomerManagedKeyRequest) GetGcpKeyInfo added in v1.61.0

GetGcpKeyInfo returns the value of the GcpKeyInfo field in CreateCustomerManagedKeyRequest as a CreateGcpKeyInfo value. If the field is unknown or null, the boolean return value is false.

func (*CreateCustomerManagedKeyRequest) GetUseCases added in v1.61.0

GetUseCases returns the value of the UseCases field in CreateCustomerManagedKeyRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateCustomerManagedKeyRequest) SetAwsKeyInfo added in v1.61.0

SetAwsKeyInfo sets the value of the AwsKeyInfo field in CreateCustomerManagedKeyRequest.

func (*CreateCustomerManagedKeyRequest) SetGcpKeyInfo added in v1.61.0

SetGcpKeyInfo sets the value of the GcpKeyInfo field in CreateCustomerManagedKeyRequest.

func (*CreateCustomerManagedKeyRequest) SetUseCases added in v1.61.0

func (o *CreateCustomerManagedKeyRequest) SetUseCases(ctx context.Context, v []types.String)

SetUseCases sets the value of the UseCases field in CreateCustomerManagedKeyRequest.

func (*CreateCustomerManagedKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateCustomerManagedKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCustomerManagedKeyRequest)

func (*CreateCustomerManagedKeyRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateCustomerManagedKeyRequest) SyncEffectiveFieldsDuringRead(existingState CreateCustomerManagedKeyRequest)

func (CreateCustomerManagedKeyRequest) ToObjectValue added in v1.61.0

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

func (CreateCustomerManagedKeyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateGcpKeyInfo

type CreateGcpKeyInfo struct {
	// The GCP KMS key's resource name
	KmsKeyId types.String `tfsdk:"kms_key_id" tf:""`
}

func (CreateGcpKeyInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateGcpKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateGcpKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateGcpKeyInfo)

func (*CreateGcpKeyInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateGcpKeyInfo) SyncEffectiveFieldsDuringRead(existingState CreateGcpKeyInfo)

func (CreateGcpKeyInfo) ToObjectValue added in v1.61.0

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

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

func (CreateGcpKeyInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateNetworkRequest

type CreateNetworkRequest struct {
	// The Google Cloud specific information for this network (for example, the
	// VPC ID, subnet ID, and secondary IP ranges).
	GcpNetworkInfo types.List `tfsdk:"gcp_network_info" tf:"optional,object"`
	// The human-readable name of the network configuration.
	NetworkName types.String `tfsdk:"network_name" tf:""`
	// IDs of one to five security groups associated with this network. Security
	// group IDs **cannot** be used in multiple network configurations.
	SecurityGroupIds types.List `tfsdk:"security_group_ids" tf:"optional"`
	// IDs of at least two subnets associated with this network. Subnet IDs
	// **cannot** be used in multiple network configurations.
	SubnetIds types.List `tfsdk:"subnet_ids" tf:"optional"`
	// If specified, contains the VPC endpoints used to allow cluster
	// communication from this VPC over [AWS PrivateLink].
	//
	// [AWS PrivateLink]: https://aws.amazon.com/privatelink/
	VpcEndpoints types.List `tfsdk:"vpc_endpoints" tf:"optional,object"`
	// The ID of the VPC associated with this network. VPC IDs can be used in
	// multiple network configurations.
	VpcId types.String `tfsdk:"vpc_id" tf:"optional"`
}

func (CreateNetworkRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateNetworkRequest) GetGcpNetworkInfo added in v1.61.0

func (o *CreateNetworkRequest) GetGcpNetworkInfo(ctx context.Context) (GcpNetworkInfo, bool)

GetGcpNetworkInfo returns the value of the GcpNetworkInfo field in CreateNetworkRequest as a GcpNetworkInfo value. If the field is unknown or null, the boolean return value is false.

func (*CreateNetworkRequest) GetSecurityGroupIds added in v1.61.0

func (o *CreateNetworkRequest) GetSecurityGroupIds(ctx context.Context) ([]types.String, bool)

GetSecurityGroupIds returns the value of the SecurityGroupIds field in CreateNetworkRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateNetworkRequest) GetSubnetIds added in v1.61.0

func (o *CreateNetworkRequest) GetSubnetIds(ctx context.Context) ([]types.String, bool)

GetSubnetIds returns the value of the SubnetIds field in CreateNetworkRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CreateNetworkRequest) GetVpcEndpoints added in v1.61.0

func (o *CreateNetworkRequest) GetVpcEndpoints(ctx context.Context) (NetworkVpcEndpoints, bool)

GetVpcEndpoints returns the value of the VpcEndpoints field in CreateNetworkRequest as a NetworkVpcEndpoints value. If the field is unknown or null, the boolean return value is false.

func (*CreateNetworkRequest) SetGcpNetworkInfo added in v1.61.0

func (o *CreateNetworkRequest) SetGcpNetworkInfo(ctx context.Context, v GcpNetworkInfo)

SetGcpNetworkInfo sets the value of the GcpNetworkInfo field in CreateNetworkRequest.

func (*CreateNetworkRequest) SetSecurityGroupIds added in v1.61.0

func (o *CreateNetworkRequest) SetSecurityGroupIds(ctx context.Context, v []types.String)

SetSecurityGroupIds sets the value of the SecurityGroupIds field in CreateNetworkRequest.

func (*CreateNetworkRequest) SetSubnetIds added in v1.61.0

func (o *CreateNetworkRequest) SetSubnetIds(ctx context.Context, v []types.String)

SetSubnetIds sets the value of the SubnetIds field in CreateNetworkRequest.

func (*CreateNetworkRequest) SetVpcEndpoints added in v1.61.0

func (o *CreateNetworkRequest) SetVpcEndpoints(ctx context.Context, v NetworkVpcEndpoints)

SetVpcEndpoints sets the value of the VpcEndpoints field in CreateNetworkRequest.

func (*CreateNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateNetworkRequest)

func (*CreateNetworkRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateNetworkRequest) SyncEffectiveFieldsDuringRead(existingState CreateNetworkRequest)

func (CreateNetworkRequest) ToObjectValue added in v1.61.0

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

func (CreateNetworkRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateStorageConfigurationRequest

type CreateStorageConfigurationRequest struct {
	// Root S3 bucket information.
	RootBucketInfo types.List `tfsdk:"root_bucket_info" tf:"object"`
	// The human-readable name of the storage configuration.
	StorageConfigurationName types.String `tfsdk:"storage_configuration_name" tf:""`
}

func (CreateStorageConfigurationRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateStorageConfigurationRequest) GetRootBucketInfo added in v1.61.0

GetRootBucketInfo returns the value of the RootBucketInfo field in CreateStorageConfigurationRequest as a RootBucketInfo value. If the field is unknown or null, the boolean return value is false.

func (*CreateStorageConfigurationRequest) SetRootBucketInfo added in v1.61.0

func (o *CreateStorageConfigurationRequest) SetRootBucketInfo(ctx context.Context, v RootBucketInfo)

SetRootBucketInfo sets the value of the RootBucketInfo field in CreateStorageConfigurationRequest.

func (*CreateStorageConfigurationRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateStorageConfigurationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateStorageConfigurationRequest)

func (*CreateStorageConfigurationRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateStorageConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState CreateStorageConfigurationRequest)

func (CreateStorageConfigurationRequest) ToObjectValue added in v1.61.0

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

func (CreateStorageConfigurationRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateVpcEndpointRequest

type CreateVpcEndpointRequest struct {
	// The ID of the VPC endpoint object in AWS.
	AwsVpcEndpointId types.String `tfsdk:"aws_vpc_endpoint_id" tf:"optional"`
	// The Google Cloud specific information for this Private Service Connect
	// endpoint.
	GcpVpcEndpointInfo types.List `tfsdk:"gcp_vpc_endpoint_info" tf:"optional,object"`
	// The AWS region in which this VPC endpoint object exists.
	Region types.String `tfsdk:"region" tf:"optional"`
	// The human-readable name of the storage configuration.
	VpcEndpointName types.String `tfsdk:"vpc_endpoint_name" tf:""`
}

func (CreateVpcEndpointRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateVpcEndpointRequest) GetGcpVpcEndpointInfo added in v1.61.0

func (o *CreateVpcEndpointRequest) GetGcpVpcEndpointInfo(ctx context.Context) (GcpVpcEndpointInfo, bool)

GetGcpVpcEndpointInfo returns the value of the GcpVpcEndpointInfo field in CreateVpcEndpointRequest as a GcpVpcEndpointInfo value. If the field is unknown or null, the boolean return value is false.

func (*CreateVpcEndpointRequest) SetGcpVpcEndpointInfo added in v1.61.0

func (o *CreateVpcEndpointRequest) SetGcpVpcEndpointInfo(ctx context.Context, v GcpVpcEndpointInfo)

SetGcpVpcEndpointInfo sets the value of the GcpVpcEndpointInfo field in CreateVpcEndpointRequest.

func (*CreateVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateVpcEndpointRequest)

func (*CreateVpcEndpointRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateVpcEndpointRequest) SyncEffectiveFieldsDuringRead(existingState CreateVpcEndpointRequest)

func (CreateVpcEndpointRequest) ToObjectValue added in v1.61.0

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

func (CreateVpcEndpointRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	// The AWS region of the workspace's data plane.
	AwsRegion types.String `tfsdk:"aws_region" tf:"optional"`
	// The cloud provider which the workspace uses. For Google Cloud workspaces,
	// always set this field to `gcp`.
	Cloud types.String `tfsdk:"cloud" tf:"optional"`
	// The general workspace configurations that are specific to cloud
	// providers.
	CloudResourceContainer types.List `tfsdk:"cloud_resource_container" tf:"optional,object"`
	// ID of the workspace's credential configuration object.
	CredentialsId types.String `tfsdk:"credentials_id" tf:"optional"`
	// The custom tags key-value pairing that is attached to this workspace. The
	// key-value pair is a string of utf-8 characters. The value can be an empty
	// string, with maximum length of 255 characters. The key can be of maximum
	// length of 127 characters, and cannot be empty.
	CustomTags types.Map `tfsdk:"custom_tags" tf:"optional"`
	// The deployment name defines part of the subdomain for the workspace. The
	// workspace URL for the web application and REST APIs is
	// `<workspace-deployment-name>.cloud.databricks.com`. For example, if the
	// deployment name is `abcsales`, your workspace URL will be
	// `https://abcsales.cloud.databricks.com`. Hyphens are allowed. This
	// property supports only the set of characters that are allowed in a
	// subdomain.
	//
	// To set this value, you must have a deployment name prefix. Contact your
	// Databricks account team to add an account deployment name prefix to your
	// account.
	//
	// Workspace deployment names follow the account prefix and a hyphen. For
	// example, if your account's deployment prefix is `acme` and the workspace
	// deployment name is `workspace-1`, the JSON response for the
	// `deployment_name` field becomes `acme-workspace-1`. The workspace URL
	// would be `acme-workspace-1.cloud.databricks.com`.
	//
	// You can also set the `deployment_name` to the reserved keyword `EMPTY` if
	// you want the deployment name to only include the deployment prefix. For
	// example, if your account's deployment prefix is `acme` and the workspace
	// deployment name is `EMPTY`, the `deployment_name` becomes `acme` only and
	// the workspace URL is `acme.cloud.databricks.com`.
	//
	// This value must be unique across all non-deleted deployments across all
	// AWS regions.
	//
	// If a new workspace omits this property, the server generates a unique
	// deployment name for you with the pattern `dbc-xxxxxxxx-xxxx`.
	DeploymentName types.String `tfsdk:"deployment_name" tf:"optional"`
	// The network settings for the workspace. The configurations are only for
	// Databricks-managed VPCs. It is ignored if you specify a customer-managed
	// VPC in the `network_id` field.", All the IP range configurations must be
	// mutually exclusive. An attempt to create a workspace fails if Databricks
	// detects an IP range overlap.
	//
	// Specify custom IP ranges in CIDR format. The IP ranges for these fields
	// must not overlap, and all IP addresses must be entirely within the
	// following ranges: `10.0.0.0/8`, `100.64.0.0/10`, `172.16.0.0/12`,
	// `192.168.0.0/16`, and `240.0.0.0/4`.
	//
	// The sizes of these IP ranges affect the maximum number of nodes for the
	// workspace.
	//
	// **Important**: Confirm the IP ranges used by your Databricks workspace
	// before creating the workspace. You cannot change them after your
	// workspace is deployed. If the IP address ranges for your Databricks are
	// too small, IP exhaustion can occur, causing your Databricks jobs to fail.
	// To determine the address range sizes that you need, Databricks provides a
	// calculator as a Microsoft Excel spreadsheet. See [calculate subnet sizes
	// for a new workspace].
	//
	// [calculate subnet sizes for a new workspace]: https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/network-sizing.html
	GcpManagedNetworkConfig types.List `tfsdk:"gcp_managed_network_config" tf:"optional,object"`
	// The configurations for the GKE cluster of a Databricks workspace.
	GkeConfig types.List `tfsdk:"gke_config" tf:"optional,object"`
	// Whether no public IP is enabled for the workspace.
	IsNoPublicIpEnabled types.Bool `tfsdk:"is_no_public_ip_enabled" tf:"optional"`
	// The Google Cloud region of the workspace data plane in your Google
	// account. For example, `us-east4`.
	Location types.String `tfsdk:"location" tf:"optional"`
	// The ID of the workspace's managed services encryption key configuration
	// object. This is used to help protect and control access to the
	// workspace's notebooks, secrets, Databricks SQL queries, and query
	// history. The provided key configuration object property `use_cases` must
	// contain `MANAGED_SERVICES`.
	ManagedServicesCustomerManagedKeyId types.String `tfsdk:"managed_services_customer_managed_key_id" tf:"optional"`

	NetworkId types.String `tfsdk:"network_id" tf:"optional"`
	// The pricing tier of the workspace. For pricing tier information, see [AWS
	// Pricing].
	//
	// [AWS Pricing]: https://databricks.com/product/aws-pricing
	PricingTier types.String `tfsdk:"pricing_tier" tf:"optional"`
	// ID of the workspace's private access settings object. Only used for
	// PrivateLink. This ID must be specified for customers using [AWS
	// PrivateLink] for either front-end (user-to-workspace connection),
	// back-end (data plane to control plane connection), or both connection
	// types.
	//
	// Before configuring PrivateLink, read the [Databricks article about
	// PrivateLink].",
	//
	// [AWS PrivateLink]: https://aws.amazon.com/privatelink/
	// [Databricks article about PrivateLink]: https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html
	PrivateAccessSettingsId types.String `tfsdk:"private_access_settings_id" tf:"optional"`
	// The ID of the workspace's storage configuration object.
	StorageConfigurationId types.String `tfsdk:"storage_configuration_id" tf:"optional"`
	// The ID of the workspace's storage encryption key configuration object.
	// This is used to encrypt the workspace's root S3 bucket (root DBFS and
	// system data) and, optionally, cluster EBS volumes. The provided key
	// configuration object property `use_cases` must contain `STORAGE`.
	StorageCustomerManagedKeyId types.String `tfsdk:"storage_customer_managed_key_id" tf:"optional"`
	// The workspace's human-readable name.
	WorkspaceName types.String `tfsdk:"workspace_name" tf:""`
}

func (*CreateWorkspaceRequest) GetCloudResourceContainer added in v1.61.0

func (o *CreateWorkspaceRequest) GetCloudResourceContainer(ctx context.Context) (CloudResourceContainer, bool)

GetCloudResourceContainer returns the value of the CloudResourceContainer field in CreateWorkspaceRequest as a CloudResourceContainer value. If the field is unknown or null, the boolean return value is false.

func (CreateWorkspaceRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*CreateWorkspaceRequest) GetCustomTags added in v1.61.0

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

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

func (*CreateWorkspaceRequest) GetGcpManagedNetworkConfig added in v1.61.0

func (o *CreateWorkspaceRequest) GetGcpManagedNetworkConfig(ctx context.Context) (GcpManagedNetworkConfig, bool)

GetGcpManagedNetworkConfig returns the value of the GcpManagedNetworkConfig field in CreateWorkspaceRequest as a GcpManagedNetworkConfig value. If the field is unknown or null, the boolean return value is false.

func (*CreateWorkspaceRequest) GetGkeConfig added in v1.61.0

func (o *CreateWorkspaceRequest) GetGkeConfig(ctx context.Context) (GkeConfig, bool)

GetGkeConfig returns the value of the GkeConfig field in CreateWorkspaceRequest as a GkeConfig value. If the field is unknown or null, the boolean return value is false.

func (*CreateWorkspaceRequest) SetCloudResourceContainer added in v1.61.0

func (o *CreateWorkspaceRequest) SetCloudResourceContainer(ctx context.Context, v CloudResourceContainer)

SetCloudResourceContainer sets the value of the CloudResourceContainer field in CreateWorkspaceRequest.

func (*CreateWorkspaceRequest) SetCustomTags added in v1.61.0

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

SetCustomTags sets the value of the CustomTags field in CreateWorkspaceRequest.

func (*CreateWorkspaceRequest) SetGcpManagedNetworkConfig added in v1.61.0

func (o *CreateWorkspaceRequest) SetGcpManagedNetworkConfig(ctx context.Context, v GcpManagedNetworkConfig)

SetGcpManagedNetworkConfig sets the value of the GcpManagedNetworkConfig field in CreateWorkspaceRequest.

func (*CreateWorkspaceRequest) SetGkeConfig added in v1.61.0

func (o *CreateWorkspaceRequest) SetGkeConfig(ctx context.Context, v GkeConfig)

SetGkeConfig sets the value of the GkeConfig field in CreateWorkspaceRequest.

func (*CreateWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CreateWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWorkspaceRequest)

func (*CreateWorkspaceRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CreateWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState CreateWorkspaceRequest)

func (CreateWorkspaceRequest) ToObjectValue added in v1.61.0

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

func (CreateWorkspaceRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type Credential

type Credential struct {
	// The Databricks account ID that hosts the credential.
	AccountId types.String `tfsdk:"account_id" tf:"optional"`

	AwsCredentials types.List `tfsdk:"aws_credentials" tf:"optional,object"`
	// Time in epoch milliseconds when the credential was created.
	CreationTime types.Int64 `tfsdk:"creation_time" tf:"computed"`
	// Databricks credential configuration ID.
	CredentialsId types.String `tfsdk:"credentials_id" tf:"optional"`
	// The human-readable name of the credential configuration object.
	CredentialsName types.String `tfsdk:"credentials_name" tf:"optional"`
}

func (*Credential) GetAwsCredentials added in v1.61.0

func (o *Credential) GetAwsCredentials(ctx context.Context) (AwsCredentials, bool)

GetAwsCredentials returns the value of the AwsCredentials field in Credential as a AwsCredentials value. If the field is unknown or null, the boolean return value is false.

func (Credential) GetComplexFieldTypes added in v1.61.0

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

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

func (*Credential) SetAwsCredentials added in v1.61.0

func (o *Credential) SetAwsCredentials(ctx context.Context, v AwsCredentials)

SetAwsCredentials sets the value of the AwsCredentials field in Credential.

func (*Credential) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Credential) SyncEffectiveFieldsDuringCreateOrUpdate(plan Credential)

func (*Credential) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Credential) SyncEffectiveFieldsDuringRead(existingState Credential)

func (Credential) ToObjectValue added in v1.61.0

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

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

func (Credential) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type CustomerFacingGcpCloudResourceContainer

type CustomerFacingGcpCloudResourceContainer struct {
	// The Google Cloud project ID, which the workspace uses to instantiate
	// cloud resources for your workspace.
	ProjectId types.String `tfsdk:"project_id" tf:"optional"`
}

The general workspace configurations that are specific to Google Cloud.

func (CustomerFacingGcpCloudResourceContainer) GetComplexFieldTypes added in v1.61.0

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

func (*CustomerFacingGcpCloudResourceContainer) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CustomerFacingGcpCloudResourceContainer) SyncEffectiveFieldsDuringCreateOrUpdate(plan CustomerFacingGcpCloudResourceContainer)

func (*CustomerFacingGcpCloudResourceContainer) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CustomerFacingGcpCloudResourceContainer) SyncEffectiveFieldsDuringRead(existingState CustomerFacingGcpCloudResourceContainer)

func (CustomerFacingGcpCloudResourceContainer) ToObjectValue added in v1.61.0

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

func (CustomerFacingGcpCloudResourceContainer) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type CustomerManagedKey

type CustomerManagedKey struct {
	// The Databricks account ID that holds the customer-managed key.
	AccountId types.String `tfsdk:"account_id" tf:"optional"`

	AwsKeyInfo types.List `tfsdk:"aws_key_info" tf:"optional,object"`
	// Time in epoch milliseconds when the customer key was created.
	CreationTime types.Int64 `tfsdk:"creation_time" tf:"computed"`
	// ID of the encryption key configuration object.
	CustomerManagedKeyId types.String `tfsdk:"customer_managed_key_id" tf:"optional"`

	GcpKeyInfo types.List `tfsdk:"gcp_key_info" tf:"optional,object"`
	// The cases that the key can be used for.
	UseCases types.List `tfsdk:"use_cases" tf:"optional"`
}

func (*CustomerManagedKey) GetAwsKeyInfo added in v1.61.0

func (o *CustomerManagedKey) GetAwsKeyInfo(ctx context.Context) (AwsKeyInfo, bool)

GetAwsKeyInfo returns the value of the AwsKeyInfo field in CustomerManagedKey as a AwsKeyInfo value. If the field is unknown or null, the boolean return value is false.

func (CustomerManagedKey) GetComplexFieldTypes added in v1.61.0

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

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

func (*CustomerManagedKey) GetGcpKeyInfo added in v1.61.0

func (o *CustomerManagedKey) GetGcpKeyInfo(ctx context.Context) (GcpKeyInfo, bool)

GetGcpKeyInfo returns the value of the GcpKeyInfo field in CustomerManagedKey as a GcpKeyInfo value. If the field is unknown or null, the boolean return value is false.

func (*CustomerManagedKey) GetUseCases added in v1.61.0

func (o *CustomerManagedKey) GetUseCases(ctx context.Context) ([]types.String, bool)

GetUseCases returns the value of the UseCases field in CustomerManagedKey as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*CustomerManagedKey) SetAwsKeyInfo added in v1.61.0

func (o *CustomerManagedKey) SetAwsKeyInfo(ctx context.Context, v AwsKeyInfo)

SetAwsKeyInfo sets the value of the AwsKeyInfo field in CustomerManagedKey.

func (*CustomerManagedKey) SetGcpKeyInfo added in v1.61.0

func (o *CustomerManagedKey) SetGcpKeyInfo(ctx context.Context, v GcpKeyInfo)

SetGcpKeyInfo sets the value of the GcpKeyInfo field in CustomerManagedKey.

func (*CustomerManagedKey) SetUseCases added in v1.61.0

func (o *CustomerManagedKey) SetUseCases(ctx context.Context, v []types.String)

SetUseCases sets the value of the UseCases field in CustomerManagedKey.

func (*CustomerManagedKey) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *CustomerManagedKey) SyncEffectiveFieldsDuringCreateOrUpdate(plan CustomerManagedKey)

func (*CustomerManagedKey) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *CustomerManagedKey) SyncEffectiveFieldsDuringRead(existingState CustomerManagedKey)

func (CustomerManagedKey) ToObjectValue added in v1.61.0

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

func (CustomerManagedKey) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteCredentialRequest

type DeleteCredentialRequest struct {
	// Databricks Account API credential configuration ID
	CredentialsId types.String `tfsdk:"-"`
}

Delete credential configuration

func (DeleteCredentialRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialRequest)

func (*DeleteCredentialRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteCredentialRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialRequest)

func (DeleteCredentialRequest) ToObjectValue added in v1.61.0

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

func (DeleteCredentialRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteEncryptionKeyRequest

type DeleteEncryptionKeyRequest struct {
	// Databricks encryption key configuration ID.
	CustomerManagedKeyId types.String `tfsdk:"-"`
}

Delete encryption key configuration

func (DeleteEncryptionKeyRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteEncryptionKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteEncryptionKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEncryptionKeyRequest)

func (*DeleteEncryptionKeyRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteEncryptionKeyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteEncryptionKeyRequest)

func (DeleteEncryptionKeyRequest) ToObjectValue added in v1.61.0

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

func (DeleteEncryptionKeyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteNetworkRequest

type DeleteNetworkRequest struct {
	// Databricks Account API network configuration ID.
	NetworkId types.String `tfsdk:"-"`
}

Delete a network configuration

func (DeleteNetworkRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkRequest)

func (*DeleteNetworkRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteNetworkRequest) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkRequest)

func (DeleteNetworkRequest) ToObjectValue added in v1.61.0

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

func (DeleteNetworkRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeletePrivateAccesRequest

type DeletePrivateAccesRequest struct {
	// Databricks Account API private access settings ID.
	PrivateAccessSettingsId types.String `tfsdk:"-"`
}

Delete a private access settings object

func (DeletePrivateAccesRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeletePrivateAccesRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeletePrivateAccesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePrivateAccesRequest)

func (*DeletePrivateAccesRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeletePrivateAccesRequest) SyncEffectiveFieldsDuringRead(existingState DeletePrivateAccesRequest)

func (DeletePrivateAccesRequest) ToObjectValue added in v1.61.0

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

func (DeletePrivateAccesRequest) Type added in v1.61.0

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

func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)

func (*DeleteResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)

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 DeleteStorageRequest

type DeleteStorageRequest struct {
	// Databricks Account API storage configuration ID.
	StorageConfigurationId types.String `tfsdk:"-"`
}

Delete storage configuration

func (DeleteStorageRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteStorageRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteStorageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteStorageRequest)

func (*DeleteStorageRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteStorageRequest) SyncEffectiveFieldsDuringRead(existingState DeleteStorageRequest)

func (DeleteStorageRequest) ToObjectValue added in v1.61.0

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

func (DeleteStorageRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteVpcEndpointRequest

type DeleteVpcEndpointRequest struct {
	// Databricks VPC endpoint ID.
	VpcEndpointId types.String `tfsdk:"-"`
}

Delete VPC endpoint configuration

func (DeleteVpcEndpointRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVpcEndpointRequest)

func (*DeleteVpcEndpointRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteVpcEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteVpcEndpointRequest)

func (DeleteVpcEndpointRequest) ToObjectValue added in v1.61.0

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

func (DeleteVpcEndpointRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {
	// Workspace ID.
	WorkspaceId types.Int64 `tfsdk:"-"`
}

Delete a workspace

func (DeleteWorkspaceRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*DeleteWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *DeleteWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceRequest)

func (*DeleteWorkspaceRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *DeleteWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceRequest)

func (DeleteWorkspaceRequest) ToObjectValue added in v1.61.0

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

func (DeleteWorkspaceRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ExternalCustomerInfo added in v1.57.0

type ExternalCustomerInfo struct {
	// Email of the authoritative user.
	AuthoritativeUserEmail types.String `tfsdk:"authoritative_user_email" tf:"optional"`
	// The authoritative user full name.
	AuthoritativeUserFullName types.String `tfsdk:"authoritative_user_full_name" tf:"optional"`
	// The legal entity name for the external workspace
	CustomerName types.String `tfsdk:"customer_name" tf:"optional"`
}

func (ExternalCustomerInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*ExternalCustomerInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.57.0

func (newState *ExternalCustomerInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExternalCustomerInfo)

func (*ExternalCustomerInfo) SyncEffectiveFieldsDuringRead added in v1.57.0

func (newState *ExternalCustomerInfo) SyncEffectiveFieldsDuringRead(existingState ExternalCustomerInfo)

func (ExternalCustomerInfo) ToObjectValue added in v1.61.0

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

func (ExternalCustomerInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GcpKeyInfo

type GcpKeyInfo struct {
	// The GCP KMS key's resource name
	KmsKeyId types.String `tfsdk:"kms_key_id" tf:""`
}

func (GcpKeyInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*GcpKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GcpKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpKeyInfo)

func (*GcpKeyInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GcpKeyInfo) SyncEffectiveFieldsDuringRead(existingState GcpKeyInfo)

func (GcpKeyInfo) ToObjectValue added in v1.61.0

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

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

func (GcpKeyInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type GcpManagedNetworkConfig

type GcpManagedNetworkConfig struct {
	// The IP range from which to allocate GKE cluster pods. No bigger than `/9`
	// and no smaller than `/21`.
	GkeClusterPodIpRange types.String `tfsdk:"gke_cluster_pod_ip_range" tf:"optional"`
	// The IP range from which to allocate GKE cluster services. No bigger than
	// `/16` and no smaller than `/27`.
	GkeClusterServiceIpRange types.String `tfsdk:"gke_cluster_service_ip_range" tf:"optional"`
	// The IP range from which to allocate GKE cluster nodes. No bigger than
	// `/9` and no smaller than `/29`.
	SubnetCidr types.String `tfsdk:"subnet_cidr" tf:"optional"`
}

The network settings for the workspace. The configurations are only for Databricks-managed VPCs. It is ignored if you specify a customer-managed VPC in the `network_id` field.", All the IP range configurations must be mutually exclusive. An attempt to create a workspace fails if Databricks detects an IP range overlap.

Specify custom IP ranges in CIDR format. The IP ranges for these fields must not overlap, and all IP addresses must be entirely within the following ranges: `10.0.0.0/8`, `100.64.0.0/10`, `172.16.0.0/12`, `192.168.0.0/16`, and `240.0.0.0/4`.

The sizes of these IP ranges affect the maximum number of nodes for the workspace.

**Important**: Confirm the IP ranges used by your Databricks workspace before creating the workspace. You cannot change them after your workspace is deployed. If the IP address ranges for your Databricks are too small, IP exhaustion can occur, causing your Databricks jobs to fail. To determine the address range sizes that you need, Databricks provides a calculator as a Microsoft Excel spreadsheet. See calculate subnet sizes for a new workspace.

func (GcpManagedNetworkConfig) GetComplexFieldTypes added in v1.61.0

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

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

func (*GcpManagedNetworkConfig) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GcpManagedNetworkConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpManagedNetworkConfig)

func (*GcpManagedNetworkConfig) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GcpManagedNetworkConfig) SyncEffectiveFieldsDuringRead(existingState GcpManagedNetworkConfig)

func (GcpManagedNetworkConfig) ToObjectValue added in v1.61.0

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

func (GcpManagedNetworkConfig) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GcpNetworkInfo

type GcpNetworkInfo struct {
	// The Google Cloud project ID of the VPC network.
	NetworkProjectId types.String `tfsdk:"network_project_id" tf:""`
	// The name of the secondary IP range for pods. A Databricks-managed GKE
	// cluster uses this IP range for its pods. This secondary IP range can be
	// used by only one workspace.
	PodIpRangeName types.String `tfsdk:"pod_ip_range_name" tf:""`
	// The name of the secondary IP range for services. A Databricks-managed GKE
	// cluster uses this IP range for its services. This secondary IP range can
	// be used by only one workspace.
	ServiceIpRangeName types.String `tfsdk:"service_ip_range_name" tf:""`
	// The ID of the subnet associated with this network.
	SubnetId types.String `tfsdk:"subnet_id" tf:""`
	// The Google Cloud region of the workspace data plane (for example,
	// `us-east4`).
	SubnetRegion types.String `tfsdk:"subnet_region" tf:""`
	// The ID of the VPC associated with this network. VPC IDs can be used in
	// multiple network configurations.
	VpcId types.String `tfsdk:"vpc_id" tf:""`
}

The Google Cloud specific information for this network (for example, the VPC ID, subnet ID, and secondary IP ranges).

func (GcpNetworkInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*GcpNetworkInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GcpNetworkInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpNetworkInfo)

func (*GcpNetworkInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GcpNetworkInfo) SyncEffectiveFieldsDuringRead(existingState GcpNetworkInfo)

func (GcpNetworkInfo) ToObjectValue added in v1.61.0

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

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

func (GcpNetworkInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type GcpVpcEndpointInfo

type GcpVpcEndpointInfo struct {
	// Region of the PSC endpoint.
	EndpointRegion types.String `tfsdk:"endpoint_region" tf:""`
	// The Google Cloud project ID of the VPC network where the PSC connection
	// resides.
	ProjectId types.String `tfsdk:"project_id" tf:""`
	// The unique ID of this PSC connection.
	PscConnectionId types.String `tfsdk:"psc_connection_id" tf:"optional"`
	// The name of the PSC endpoint in the Google Cloud project.
	PscEndpointName types.String `tfsdk:"psc_endpoint_name" tf:""`
	// The service attachment this PSC connection connects to.
	ServiceAttachmentId types.String `tfsdk:"service_attachment_id" tf:"optional"`
}

The Google Cloud specific information for this Private Service Connect endpoint.

func (GcpVpcEndpointInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*GcpVpcEndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GcpVpcEndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpVpcEndpointInfo)

func (*GcpVpcEndpointInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GcpVpcEndpointInfo) SyncEffectiveFieldsDuringRead(existingState GcpVpcEndpointInfo)

func (GcpVpcEndpointInfo) ToObjectValue added in v1.61.0

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

func (GcpVpcEndpointInfo) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetCredentialRequest

type GetCredentialRequest struct {
	// Databricks Account API credential configuration ID
	CredentialsId types.String `tfsdk:"-"`
}

Get credential configuration

func (GetCredentialRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialRequest)

func (*GetCredentialRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GetCredentialRequest)

func (GetCredentialRequest) ToObjectValue added in v1.61.0

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

func (GetCredentialRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetEncryptionKeyRequest

type GetEncryptionKeyRequest struct {
	// Databricks encryption key configuration ID.
	CustomerManagedKeyId types.String `tfsdk:"-"`
}

Get encryption key configuration

func (GetEncryptionKeyRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetEncryptionKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetEncryptionKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEncryptionKeyRequest)

func (*GetEncryptionKeyRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetEncryptionKeyRequest) SyncEffectiveFieldsDuringRead(existingState GetEncryptionKeyRequest)

func (GetEncryptionKeyRequest) ToObjectValue added in v1.61.0

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

func (GetEncryptionKeyRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetNetworkRequest

type GetNetworkRequest struct {
	// Databricks Account API network configuration ID.
	NetworkId types.String `tfsdk:"-"`
}

Get a network configuration

func (GetNetworkRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNetworkRequest)

func (*GetNetworkRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetNetworkRequest) SyncEffectiveFieldsDuringRead(existingState GetNetworkRequest)

func (GetNetworkRequest) ToObjectValue added in v1.61.0

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

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

func (GetNetworkRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetPrivateAccesRequest

type GetPrivateAccesRequest struct {
	// Databricks Account API private access settings ID.
	PrivateAccessSettingsId types.String `tfsdk:"-"`
}

Get a private access settings object

func (GetPrivateAccesRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetPrivateAccesRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetPrivateAccesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPrivateAccesRequest)

func (*GetPrivateAccesRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetPrivateAccesRequest) SyncEffectiveFieldsDuringRead(existingState GetPrivateAccesRequest)

func (GetPrivateAccesRequest) ToObjectValue added in v1.61.0

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

func (GetPrivateAccesRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetStorageRequest

type GetStorageRequest struct {
	// Databricks Account API storage configuration ID.
	StorageConfigurationId types.String `tfsdk:"-"`
}

Get storage configuration

func (GetStorageRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetStorageRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetStorageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStorageRequest)

func (*GetStorageRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetStorageRequest) SyncEffectiveFieldsDuringRead(existingState GetStorageRequest)

func (GetStorageRequest) ToObjectValue added in v1.61.0

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

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

func (GetStorageRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetVpcEndpointRequest

type GetVpcEndpointRequest struct {
	// Databricks VPC endpoint ID.
	VpcEndpointId types.String `tfsdk:"-"`
}

Get a VPC endpoint configuration

func (GetVpcEndpointRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetVpcEndpointRequest)

func (*GetVpcEndpointRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetVpcEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetVpcEndpointRequest)

func (GetVpcEndpointRequest) ToObjectValue added in v1.61.0

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

func (GetVpcEndpointRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GetWorkspaceRequest

type GetWorkspaceRequest struct {
	// Workspace ID.
	WorkspaceId types.Int64 `tfsdk:"-"`
}

Get a workspace

func (GetWorkspaceRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*GetWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GetWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceRequest)

func (*GetWorkspaceRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GetWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceRequest)

func (GetWorkspaceRequest) ToObjectValue added in v1.61.0

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

func (GetWorkspaceRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type GkeConfig

type GkeConfig struct {
	// Specifies the network connectivity types for the GKE nodes and the GKE
	// master network.
	//
	// Set to `PRIVATE_NODE_PUBLIC_MASTER` for a private GKE cluster for the
	// workspace. The GKE nodes will not have public IPs.
	//
	// Set to `PUBLIC_NODE_PUBLIC_MASTER` for a public GKE cluster. The nodes of
	// a public GKE cluster have public IP addresses.
	ConnectivityType types.String `tfsdk:"connectivity_type" tf:"optional"`
	// The IP range from which to allocate GKE cluster master resources. This
	// field will be ignored if GKE private cluster is not enabled.
	//
	// It must be exactly as big as `/28`.
	MasterIpRange types.String `tfsdk:"master_ip_range" tf:"optional"`
}

The configurations for the GKE cluster of a Databricks workspace.

func (GkeConfig) GetComplexFieldTypes added in v1.61.0

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

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

func (*GkeConfig) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *GkeConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan GkeConfig)

func (*GkeConfig) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *GkeConfig) SyncEffectiveFieldsDuringRead(existingState GkeConfig)

func (GkeConfig) ToObjectValue added in v1.61.0

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

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

func (GkeConfig) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type Network

type Network struct {
	// The Databricks account ID associated with this network configuration.
	AccountId types.String `tfsdk:"account_id" tf:"optional"`
	// Time in epoch milliseconds when the network was created.
	CreationTime types.Int64 `tfsdk:"creation_time" tf:"computed"`
	// Array of error messages about the network configuration.
	ErrorMessages types.List `tfsdk:"error_messages" tf:"computed"`
	// The Google Cloud specific information for this network (for example, the
	// VPC ID, subnet ID, and secondary IP ranges).
	GcpNetworkInfo types.List `tfsdk:"gcp_network_info" tf:"optional,object"`
	// The Databricks network configuration ID.
	NetworkId types.String `tfsdk:"network_id" tf:"optional"`
	// The human-readable name of the network configuration.
	NetworkName types.String `tfsdk:"network_name" tf:"optional"`

	SecurityGroupIds types.List `tfsdk:"security_group_ids" tf:"optional"`

	SubnetIds types.List `tfsdk:"subnet_ids" tf:"optional"`
	// If specified, contains the VPC endpoints used to allow cluster
	// communication from this VPC over [AWS PrivateLink].
	//
	// [AWS PrivateLink]: https://aws.amazon.com/privatelink/
	VpcEndpoints types.List `tfsdk:"vpc_endpoints" tf:"optional,object"`
	// The ID of the VPC associated with this network configuration. VPC IDs can
	// be used in multiple networks.
	VpcId types.String `tfsdk:"vpc_id" tf:"optional"`
	// The status of this network configuration object in terms of its use in a
	// workspace: * `UNATTACHED`: Unattached. * `VALID`: Valid. * `BROKEN`:
	// Broken. * `WARNED`: Warned.
	VpcStatus types.String `tfsdk:"vpc_status" tf:"computed"`
	// Array of warning messages about the network configuration.
	WarningMessages types.List `tfsdk:"warning_messages" tf:"computed"`
	// Workspace ID associated with this network configuration.
	WorkspaceId types.Int64 `tfsdk:"workspace_id" tf:"optional"`
}

func (Network) GetComplexFieldTypes added in v1.61.0

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

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

func (*Network) GetErrorMessages added in v1.61.0

func (o *Network) GetErrorMessages(ctx context.Context) ([]NetworkHealth, bool)

GetErrorMessages returns the value of the ErrorMessages field in Network as a slice of NetworkHealth values. If the field is unknown or null, the boolean return value is false.

func (*Network) GetGcpNetworkInfo added in v1.61.0

func (o *Network) GetGcpNetworkInfo(ctx context.Context) (GcpNetworkInfo, bool)

GetGcpNetworkInfo returns the value of the GcpNetworkInfo field in Network as a GcpNetworkInfo value. If the field is unknown or null, the boolean return value is false.

func (*Network) GetSecurityGroupIds added in v1.61.0

func (o *Network) GetSecurityGroupIds(ctx context.Context) ([]types.String, bool)

GetSecurityGroupIds returns the value of the SecurityGroupIds field in Network as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Network) GetSubnetIds added in v1.61.0

func (o *Network) GetSubnetIds(ctx context.Context) ([]types.String, bool)

GetSubnetIds returns the value of the SubnetIds field in Network as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*Network) GetVpcEndpoints added in v1.61.0

func (o *Network) GetVpcEndpoints(ctx context.Context) (NetworkVpcEndpoints, bool)

GetVpcEndpoints returns the value of the VpcEndpoints field in Network as a NetworkVpcEndpoints value. If the field is unknown or null, the boolean return value is false.

func (*Network) GetWarningMessages added in v1.61.0

func (o *Network) GetWarningMessages(ctx context.Context) ([]NetworkWarning, bool)

GetWarningMessages returns the value of the WarningMessages field in Network as a slice of NetworkWarning values. If the field is unknown or null, the boolean return value is false.

func (*Network) SetErrorMessages added in v1.61.0

func (o *Network) SetErrorMessages(ctx context.Context, v []NetworkHealth)

SetErrorMessages sets the value of the ErrorMessages field in Network.

func (*Network) SetGcpNetworkInfo added in v1.61.0

func (o *Network) SetGcpNetworkInfo(ctx context.Context, v GcpNetworkInfo)

SetGcpNetworkInfo sets the value of the GcpNetworkInfo field in Network.

func (*Network) SetSecurityGroupIds added in v1.61.0

func (o *Network) SetSecurityGroupIds(ctx context.Context, v []types.String)

SetSecurityGroupIds sets the value of the SecurityGroupIds field in Network.

func (*Network) SetSubnetIds added in v1.61.0

func (o *Network) SetSubnetIds(ctx context.Context, v []types.String)

SetSubnetIds sets the value of the SubnetIds field in Network.

func (*Network) SetVpcEndpoints added in v1.61.0

func (o *Network) SetVpcEndpoints(ctx context.Context, v NetworkVpcEndpoints)

SetVpcEndpoints sets the value of the VpcEndpoints field in Network.

func (*Network) SetWarningMessages added in v1.61.0

func (o *Network) SetWarningMessages(ctx context.Context, v []NetworkWarning)

SetWarningMessages sets the value of the WarningMessages field in Network.

func (*Network) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Network) SyncEffectiveFieldsDuringCreateOrUpdate(plan Network)

func (*Network) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Network) SyncEffectiveFieldsDuringRead(existingState Network)

func (Network) ToObjectValue added in v1.61.0

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

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

func (Network) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type NetworkHealth

type NetworkHealth struct {
	// Details of the error.
	ErrorMessage types.String `tfsdk:"error_message" tf:"optional"`
	// The AWS resource associated with this error: credentials, VPC, subnet,
	// security group, or network ACL.
	ErrorType types.String `tfsdk:"error_type" tf:"optional"`
}

func (NetworkHealth) GetComplexFieldTypes added in v1.61.0

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

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

func (*NetworkHealth) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *NetworkHealth) SyncEffectiveFieldsDuringCreateOrUpdate(plan NetworkHealth)

func (*NetworkHealth) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *NetworkHealth) SyncEffectiveFieldsDuringRead(existingState NetworkHealth)

func (NetworkHealth) ToObjectValue added in v1.61.0

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

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

func (NetworkHealth) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type NetworkVpcEndpoints

type NetworkVpcEndpoints struct {
	// The VPC endpoint ID used by this network to access the Databricks secure
	// cluster connectivity relay.
	DataplaneRelay types.List `tfsdk:"dataplane_relay" tf:""`
	// The VPC endpoint ID used by this network to access the Databricks REST
	// API.
	RestApi types.List `tfsdk:"rest_api" tf:""`
}

If specified, contains the VPC endpoints used to allow cluster communication from this VPC over AWS PrivateLink.

func (NetworkVpcEndpoints) GetComplexFieldTypes added in v1.61.0

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

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

func (*NetworkVpcEndpoints) GetDataplaneRelay added in v1.61.0

func (o *NetworkVpcEndpoints) GetDataplaneRelay(ctx context.Context) ([]types.String, bool)

GetDataplaneRelay returns the value of the DataplaneRelay field in NetworkVpcEndpoints as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*NetworkVpcEndpoints) GetRestApi added in v1.61.0

func (o *NetworkVpcEndpoints) GetRestApi(ctx context.Context) ([]types.String, bool)

GetRestApi returns the value of the RestApi field in NetworkVpcEndpoints as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (*NetworkVpcEndpoints) SetDataplaneRelay added in v1.61.0

func (o *NetworkVpcEndpoints) SetDataplaneRelay(ctx context.Context, v []types.String)

SetDataplaneRelay sets the value of the DataplaneRelay field in NetworkVpcEndpoints.

func (*NetworkVpcEndpoints) SetRestApi added in v1.61.0

func (o *NetworkVpcEndpoints) SetRestApi(ctx context.Context, v []types.String)

SetRestApi sets the value of the RestApi field in NetworkVpcEndpoints.

func (*NetworkVpcEndpoints) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *NetworkVpcEndpoints) SyncEffectiveFieldsDuringCreateOrUpdate(plan NetworkVpcEndpoints)

func (*NetworkVpcEndpoints) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *NetworkVpcEndpoints) SyncEffectiveFieldsDuringRead(existingState NetworkVpcEndpoints)

func (NetworkVpcEndpoints) ToObjectValue added in v1.61.0

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

func (NetworkVpcEndpoints) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type NetworkWarning

type NetworkWarning struct {
	// Details of the warning.
	WarningMessage types.String `tfsdk:"warning_message" tf:"optional"`
	// The AWS resource associated with this warning: a subnet or a security
	// group.
	WarningType types.String `tfsdk:"warning_type" tf:"optional"`
}

func (NetworkWarning) GetComplexFieldTypes added in v1.61.0

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

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

func (*NetworkWarning) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *NetworkWarning) SyncEffectiveFieldsDuringCreateOrUpdate(plan NetworkWarning)

func (*NetworkWarning) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *NetworkWarning) SyncEffectiveFieldsDuringRead(existingState NetworkWarning)

func (NetworkWarning) ToObjectValue added in v1.61.0

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

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

func (NetworkWarning) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type PrivateAccessSettings

type PrivateAccessSettings struct {
	// The Databricks account ID that hosts the credential.
	AccountId types.String `tfsdk:"account_id" tf:"optional"`
	// An array of Databricks VPC endpoint IDs.
	AllowedVpcEndpointIds types.List `tfsdk:"allowed_vpc_endpoint_ids" tf:"optional"`
	// The private access level controls which VPC endpoints can connect to the
	// UI or API of any workspace that attaches this private access settings
	// object. * `ACCOUNT` level access (the default) allows only VPC endpoints
	// that are registered in your Databricks account connect to your workspace.
	// * `ENDPOINT` level access allows only specified VPC endpoints connect to
	// your workspace. For details, see `allowed_vpc_endpoint_ids`.
	PrivateAccessLevel types.String `tfsdk:"private_access_level" tf:"optional"`
	// Databricks private access settings ID.
	PrivateAccessSettingsId types.String `tfsdk:"private_access_settings_id" tf:"optional"`
	// The human-readable name of the private access settings object.
	PrivateAccessSettingsName types.String `tfsdk:"private_access_settings_name" tf:"optional"`
	// Determines if the workspace can be accessed over public internet. For
	// fully private workspaces, you can optionally specify `false`, but only if
	// you implement both the front-end and the back-end PrivateLink
	// connections. Otherwise, specify `true`, which means that public access is
	// enabled.
	PublicAccessEnabled types.Bool `tfsdk:"public_access_enabled" tf:"optional"`
	// The cloud region for workspaces attached to this private access settings
	// object.
	Region types.String `tfsdk:"region" tf:"optional"`
}

func (*PrivateAccessSettings) GetAllowedVpcEndpointIds added in v1.61.0

func (o *PrivateAccessSettings) GetAllowedVpcEndpointIds(ctx context.Context) ([]types.String, bool)

GetAllowedVpcEndpointIds returns the value of the AllowedVpcEndpointIds field in PrivateAccessSettings as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (PrivateAccessSettings) GetComplexFieldTypes added in v1.61.0

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

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

func (*PrivateAccessSettings) SetAllowedVpcEndpointIds added in v1.61.0

func (o *PrivateAccessSettings) SetAllowedVpcEndpointIds(ctx context.Context, v []types.String)

SetAllowedVpcEndpointIds sets the value of the AllowedVpcEndpointIds field in PrivateAccessSettings.

func (*PrivateAccessSettings) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *PrivateAccessSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan PrivateAccessSettings)

func (*PrivateAccessSettings) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *PrivateAccessSettings) SyncEffectiveFieldsDuringRead(existingState PrivateAccessSettings)

func (PrivateAccessSettings) ToObjectValue added in v1.61.0

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

func (PrivateAccessSettings) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type ReplaceResponse

type ReplaceResponse struct {
}

func (ReplaceResponse) GetComplexFieldTypes added in v1.61.0

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

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

func (*ReplaceResponse) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *ReplaceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReplaceResponse)

func (*ReplaceResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *ReplaceResponse) SyncEffectiveFieldsDuringRead(existingState ReplaceResponse)

func (ReplaceResponse) ToObjectValue added in v1.61.0

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

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

func (ReplaceResponse) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type RootBucketInfo

type RootBucketInfo struct {
	// The name of the S3 bucket.
	BucketName types.String `tfsdk:"bucket_name" tf:"optional"`
}

Root S3 bucket information.

func (RootBucketInfo) GetComplexFieldTypes added in v1.61.0

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

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

func (*RootBucketInfo) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *RootBucketInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RootBucketInfo)

func (*RootBucketInfo) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *RootBucketInfo) SyncEffectiveFieldsDuringRead(existingState RootBucketInfo)

func (RootBucketInfo) ToObjectValue added in v1.61.0

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

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

func (RootBucketInfo) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type StorageConfiguration

type StorageConfiguration struct {
	// The Databricks account ID that hosts the credential.
	AccountId types.String `tfsdk:"account_id" tf:"computed"`
	// Time in epoch milliseconds when the storage configuration was created.
	CreationTime types.Int64 `tfsdk:"creation_time" tf:"computed"`
	// Root S3 bucket information.
	RootBucketInfo types.List `tfsdk:"root_bucket_info" tf:"optional,object"`
	// Databricks storage configuration ID.
	StorageConfigurationId types.String `tfsdk:"storage_configuration_id" tf:"optional"`
	// The human-readable name of the storage configuration.
	StorageConfigurationName types.String `tfsdk:"storage_configuration_name" tf:"optional"`
}

func (StorageConfiguration) GetComplexFieldTypes added in v1.61.0

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

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

func (*StorageConfiguration) GetRootBucketInfo added in v1.61.0

func (o *StorageConfiguration) GetRootBucketInfo(ctx context.Context) (RootBucketInfo, bool)

GetRootBucketInfo returns the value of the RootBucketInfo field in StorageConfiguration as a RootBucketInfo value. If the field is unknown or null, the boolean return value is false.

func (*StorageConfiguration) SetRootBucketInfo added in v1.61.0

func (o *StorageConfiguration) SetRootBucketInfo(ctx context.Context, v RootBucketInfo)

SetRootBucketInfo sets the value of the RootBucketInfo field in StorageConfiguration.

func (*StorageConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StorageConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan StorageConfiguration)

func (*StorageConfiguration) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StorageConfiguration) SyncEffectiveFieldsDuringRead(existingState StorageConfiguration)

func (StorageConfiguration) ToObjectValue added in v1.61.0

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

func (StorageConfiguration) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type StsRole

type StsRole struct {
	// The external ID that needs to be trusted by the cross-account role. This
	// is always your Databricks account ID.
	ExternalId types.String `tfsdk:"external_id" tf:"optional"`
	// The Amazon Resource Name (ARN) of the cross account role.
	RoleArn types.String `tfsdk:"role_arn" tf:"optional"`
}

func (StsRole) GetComplexFieldTypes added in v1.61.0

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

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

func (*StsRole) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *StsRole) SyncEffectiveFieldsDuringCreateOrUpdate(plan StsRole)

func (*StsRole) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *StsRole) SyncEffectiveFieldsDuringRead(existingState StsRole)

func (StsRole) ToObjectValue added in v1.61.0

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

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

func (StsRole) Type added in v1.61.0

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

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

func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse)

func (*UpdateResponse) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse)

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 UpdateWorkspaceRequest

type UpdateWorkspaceRequest struct {
	// The AWS region of the workspace's data plane (for example, `us-west-2`).
	// This parameter is available only for updating failed workspaces.
	AwsRegion types.String `tfsdk:"aws_region" tf:"optional"`
	// ID of the workspace's credential configuration object. This parameter is
	// available for updating both failed and running workspaces.
	CredentialsId types.String `tfsdk:"credentials_id" tf:"optional"`
	// The custom tags key-value pairing that is attached to this workspace. The
	// key-value pair is a string of utf-8 characters. The value can be an empty
	// string, with maximum length of 255 characters. The key can be of maximum
	// length of 127 characters, and cannot be empty.
	CustomTags types.Map `tfsdk:"custom_tags" tf:"optional"`
	// The ID of the workspace's managed services encryption key configuration
	// object. This parameter is available only for updating failed workspaces.
	ManagedServicesCustomerManagedKeyId types.String `tfsdk:"managed_services_customer_managed_key_id" tf:"optional"`

	NetworkConnectivityConfigId types.String `tfsdk:"network_connectivity_config_id" tf:"optional"`
	// The ID of the workspace's network configuration object. Used only if you
	// already use a customer-managed VPC. For failed workspaces only, you can
	// switch from a Databricks-managed VPC to a customer-managed VPC by
	// updating the workspace to add a network configuration ID.
	NetworkId types.String `tfsdk:"network_id" tf:"optional"`
	// The ID of the workspace's private access settings configuration object.
	// This parameter is available only for updating failed workspaces.
	PrivateAccessSettingsId types.String `tfsdk:"private_access_settings_id" tf:"optional"`
	// The ID of the workspace's storage configuration object. This parameter is
	// available only for updating failed workspaces.
	StorageConfigurationId types.String `tfsdk:"storage_configuration_id" tf:"optional"`
	// The ID of the key configuration object for workspace storage. This
	// parameter is available for updating both failed and running workspaces.
	StorageCustomerManagedKeyId types.String `tfsdk:"storage_customer_managed_key_id" tf:"optional"`
	// Workspace ID.
	WorkspaceId types.Int64 `tfsdk:"-"`
}

func (UpdateWorkspaceRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*UpdateWorkspaceRequest) GetCustomTags added in v1.61.0

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

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

func (*UpdateWorkspaceRequest) SetCustomTags added in v1.61.0

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

SetCustomTags sets the value of the CustomTags field in UpdateWorkspaceRequest.

func (*UpdateWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpdateWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateWorkspaceRequest)

func (*UpdateWorkspaceRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpdateWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceRequest)

func (UpdateWorkspaceRequest) ToObjectValue added in v1.61.0

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

func (UpdateWorkspaceRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type UpsertPrivateAccessSettingsRequest

type UpsertPrivateAccessSettingsRequest struct {
	// An array of Databricks VPC endpoint IDs. This is the Databricks ID that
	// is returned when registering the VPC endpoint configuration in your
	// Databricks account. This is not the ID of the VPC endpoint in AWS.
	//
	// Only used when `private_access_level` is set to `ENDPOINT`. This is an
	// allow list of VPC endpoints that in your account that can connect to your
	// workspace over AWS PrivateLink.
	//
	// If hybrid access to your workspace is enabled by setting
	// `public_access_enabled` to `true`, this control only works for
	// PrivateLink connections. To control how your workspace is accessed via
	// public internet, see [IP access lists].
	//
	// [IP access lists]: https://docs.databricks.com/security/network/ip-access-list.html
	AllowedVpcEndpointIds types.List `tfsdk:"allowed_vpc_endpoint_ids" tf:"optional"`
	// The private access level controls which VPC endpoints can connect to the
	// UI or API of any workspace that attaches this private access settings
	// object. * `ACCOUNT` level access (the default) allows only VPC endpoints
	// that are registered in your Databricks account connect to your workspace.
	// * `ENDPOINT` level access allows only specified VPC endpoints connect to
	// your workspace. For details, see `allowed_vpc_endpoint_ids`.
	PrivateAccessLevel types.String `tfsdk:"private_access_level" tf:"optional"`
	// Databricks Account API private access settings ID.
	PrivateAccessSettingsId types.String `tfsdk:"-"`
	// The human-readable name of the private access settings object.
	PrivateAccessSettingsName types.String `tfsdk:"private_access_settings_name" tf:""`
	// Determines if the workspace can be accessed over public internet. For
	// fully private workspaces, you can optionally specify `false`, but only if
	// you implement both the front-end and the back-end PrivateLink
	// connections. Otherwise, specify `true`, which means that public access is
	// enabled.
	PublicAccessEnabled types.Bool `tfsdk:"public_access_enabled" tf:"optional"`
	// The cloud region for workspaces associated with this private access
	// settings object.
	Region types.String `tfsdk:"region" tf:""`
}

func (*UpsertPrivateAccessSettingsRequest) GetAllowedVpcEndpointIds added in v1.61.0

func (o *UpsertPrivateAccessSettingsRequest) GetAllowedVpcEndpointIds(ctx context.Context) ([]types.String, bool)

GetAllowedVpcEndpointIds returns the value of the AllowedVpcEndpointIds field in UpsertPrivateAccessSettingsRequest as a slice of types.String values. If the field is unknown or null, the boolean return value is false.

func (UpsertPrivateAccessSettingsRequest) GetComplexFieldTypes added in v1.61.0

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

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

func (*UpsertPrivateAccessSettingsRequest) SetAllowedVpcEndpointIds added in v1.61.0

func (o *UpsertPrivateAccessSettingsRequest) SetAllowedVpcEndpointIds(ctx context.Context, v []types.String)

SetAllowedVpcEndpointIds sets the value of the AllowedVpcEndpointIds field in UpsertPrivateAccessSettingsRequest.

func (*UpsertPrivateAccessSettingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *UpsertPrivateAccessSettingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpsertPrivateAccessSettingsRequest)

func (*UpsertPrivateAccessSettingsRequest) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *UpsertPrivateAccessSettingsRequest) SyncEffectiveFieldsDuringRead(existingState UpsertPrivateAccessSettingsRequest)

func (UpsertPrivateAccessSettingsRequest) ToObjectValue added in v1.61.0

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

func (UpsertPrivateAccessSettingsRequest) Type added in v1.61.0

Type implements basetypes.ObjectValuable.

type VpcEndpoint

type VpcEndpoint struct {
	// The Databricks account ID that hosts the VPC endpoint configuration.
	AccountId types.String `tfsdk:"account_id" tf:"optional"`
	// The AWS Account in which the VPC endpoint object exists.
	AwsAccountId types.String `tfsdk:"aws_account_id" tf:"optional"`
	// The ID of the Databricks [endpoint service] that this VPC endpoint is
	// connected to. For a list of endpoint service IDs for each supported AWS
	// region, see the [Databricks PrivateLink documentation].
	//
	// [Databricks PrivateLink documentation]: https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html
	// [endpoint service]: https://docs.aws.amazon.com/vpc/latest/privatelink/endpoint-service.html
	AwsEndpointServiceId types.String `tfsdk:"aws_endpoint_service_id" tf:"optional"`
	// The ID of the VPC endpoint object in AWS.
	AwsVpcEndpointId types.String `tfsdk:"aws_vpc_endpoint_id" tf:"optional"`
	// The Google Cloud specific information for this Private Service Connect
	// endpoint.
	GcpVpcEndpointInfo types.List `tfsdk:"gcp_vpc_endpoint_info" tf:"optional,object"`
	// The AWS region in which this VPC endpoint object exists.
	Region types.String `tfsdk:"region" tf:"optional"`
	// The current state (such as `available` or `rejected`) of the VPC
	// endpoint. Derived from AWS. For the full set of values, see [AWS
	// DescribeVpcEndpoint documentation].
	//
	// [AWS DescribeVpcEndpoint documentation]: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpc-endpoints.html
	State types.String `tfsdk:"state" tf:"optional"`
	// This enumeration represents the type of Databricks VPC [endpoint service]
	// that was used when creating this VPC endpoint.
	//
	// [endpoint service]: https://docs.aws.amazon.com/vpc/latest/privatelink/endpoint-service.html
	UseCase types.String `tfsdk:"use_case" tf:"optional"`
	// Databricks VPC endpoint ID. This is the Databricks-specific name of the
	// VPC endpoint. Do not confuse this with the `aws_vpc_endpoint_id`, which
	// is the ID within AWS of the VPC endpoint.
	VpcEndpointId types.String `tfsdk:"vpc_endpoint_id" tf:"optional"`
	// The human-readable name of the storage configuration.
	VpcEndpointName types.String `tfsdk:"vpc_endpoint_name" tf:"optional"`
}

func (VpcEndpoint) GetComplexFieldTypes added in v1.61.0

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

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

func (*VpcEndpoint) GetGcpVpcEndpointInfo added in v1.61.0

func (o *VpcEndpoint) GetGcpVpcEndpointInfo(ctx context.Context) (GcpVpcEndpointInfo, bool)

GetGcpVpcEndpointInfo returns the value of the GcpVpcEndpointInfo field in VpcEndpoint as a GcpVpcEndpointInfo value. If the field is unknown or null, the boolean return value is false.

func (*VpcEndpoint) SetGcpVpcEndpointInfo added in v1.61.0

func (o *VpcEndpoint) SetGcpVpcEndpointInfo(ctx context.Context, v GcpVpcEndpointInfo)

SetGcpVpcEndpointInfo sets the value of the GcpVpcEndpointInfo field in VpcEndpoint.

func (*VpcEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *VpcEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan VpcEndpoint)

func (*VpcEndpoint) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *VpcEndpoint) SyncEffectiveFieldsDuringRead(existingState VpcEndpoint)

func (VpcEndpoint) ToObjectValue added in v1.61.0

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

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

func (VpcEndpoint) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

type Workspace

type Workspace struct {
	// Databricks account ID.
	AccountId types.String `tfsdk:"account_id" tf:"optional"`
	// The AWS region of the workspace data plane (for example, `us-west-2`).
	AwsRegion types.String `tfsdk:"aws_region" tf:"optional"`

	AzureWorkspaceInfo types.List `tfsdk:"azure_workspace_info" tf:"optional,object"`
	// The cloud name. This field always has the value `gcp`.
	Cloud types.String `tfsdk:"cloud" tf:"optional"`
	// The general workspace configurations that are specific to cloud
	// providers.
	CloudResourceContainer types.List `tfsdk:"cloud_resource_container" tf:"optional,object"`
	// Time in epoch milliseconds when the workspace was created.
	CreationTime types.Int64 `tfsdk:"creation_time" tf:"computed"`
	// ID of the workspace's credential configuration object.
	CredentialsId types.String `tfsdk:"credentials_id" tf:"optional"`
	// The custom tags key-value pairing that is attached to this workspace. The
	// key-value pair is a string of utf-8 characters. The value can be an empty
	// string, with maximum length of 255 characters. The key can be of maximum
	// length of 127 characters, and cannot be empty.
	CustomTags types.Map `tfsdk:"custom_tags" tf:"optional"`
	// The deployment name defines part of the subdomain for the workspace. The
	// workspace URL for web application and REST APIs is
	// `<deployment-name>.cloud.databricks.com`.
	//
	// This value must be unique across all non-deleted deployments across all
	// AWS regions.
	DeploymentName types.String `tfsdk:"deployment_name" tf:"optional"`
	// If this workspace is for a external customer, then external_customer_info
	// is populated. If this workspace is not for a external customer, then
	// external_customer_info is empty.
	ExternalCustomerInfo types.List `tfsdk:"external_customer_info" tf:"optional,object"`
	// The network settings for the workspace. The configurations are only for
	// Databricks-managed VPCs. It is ignored if you specify a customer-managed
	// VPC in the `network_id` field.", All the IP range configurations must be
	// mutually exclusive. An attempt to create a workspace fails if Databricks
	// detects an IP range overlap.
	//
	// Specify custom IP ranges in CIDR format. The IP ranges for these fields
	// must not overlap, and all IP addresses must be entirely within the
	// following ranges: `10.0.0.0/8`, `100.64.0.0/10`, `172.16.0.0/12`,
	// `192.168.0.0/16`, and `240.0.0.0/4`.
	//
	// The sizes of these IP ranges affect the maximum number of nodes for the
	// workspace.
	//
	// **Important**: Confirm the IP ranges used by your Databricks workspace
	// before creating the workspace. You cannot change them after your
	// workspace is deployed. If the IP address ranges for your Databricks are
	// too small, IP exhaustion can occur, causing your Databricks jobs to fail.
	// To determine the address range sizes that you need, Databricks provides a
	// calculator as a Microsoft Excel spreadsheet. See [calculate subnet sizes
	// for a new workspace].
	//
	// [calculate subnet sizes for a new workspace]: https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/network-sizing.html
	GcpManagedNetworkConfig types.List `tfsdk:"gcp_managed_network_config" tf:"optional,object"`
	// The configurations for the GKE cluster of a Databricks workspace.
	GkeConfig types.List `tfsdk:"gke_config" tf:"optional,object"`
	// Whether no public IP is enabled for the workspace.
	IsNoPublicIpEnabled types.Bool `tfsdk:"is_no_public_ip_enabled" tf:"optional"`
	// The Google Cloud region of the workspace data plane in your Google
	// account (for example, `us-east4`).
	Location types.String `tfsdk:"location" tf:"optional"`
	// ID of the key configuration for encrypting managed services.
	ManagedServicesCustomerManagedKeyId types.String `tfsdk:"managed_services_customer_managed_key_id" tf:"optional"`
	// The network configuration ID that is attached to the workspace. This
	// field is available only if the network is a customer-managed network.
	NetworkId types.String `tfsdk:"network_id" tf:"optional"`
	// The pricing tier of the workspace. For pricing tier information, see [AWS
	// Pricing].
	//
	// [AWS Pricing]: https://databricks.com/product/aws-pricing
	PricingTier types.String `tfsdk:"pricing_tier" tf:"optional"`
	// ID of the workspace's private access settings object. Only used for
	// PrivateLink. You must specify this ID if you are using [AWS PrivateLink]
	// for either front-end (user-to-workspace connection), back-end (data plane
	// to control plane connection), or both connection types.
	//
	// Before configuring PrivateLink, read the [Databricks article about
	// PrivateLink].",
	//
	// [AWS PrivateLink]: https://aws.amazon.com/privatelink/
	// [Databricks article about PrivateLink]: https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html
	PrivateAccessSettingsId types.String `tfsdk:"private_access_settings_id" tf:"optional"`
	// ID of the workspace's storage configuration object.
	StorageConfigurationId types.String `tfsdk:"storage_configuration_id" tf:"optional"`
	// ID of the key configuration for encrypting workspace storage.
	StorageCustomerManagedKeyId types.String `tfsdk:"storage_customer_managed_key_id" tf:"optional"`
	// A unique integer ID for the workspace
	WorkspaceId types.Int64 `tfsdk:"workspace_id" tf:"optional"`
	// The human-readable name of the workspace.
	WorkspaceName types.String `tfsdk:"workspace_name" tf:"optional"`
	// The status of the workspace. For workspace creation, usually it is set to
	// `PROVISIONING` initially. Continue to check the status until the status
	// is `RUNNING`.
	WorkspaceStatus types.String `tfsdk:"workspace_status" tf:"computed"`
	// Message describing the current workspace status.
	WorkspaceStatusMessage types.String `tfsdk:"workspace_status_message" tf:"computed"`
}

func (*Workspace) GetAzureWorkspaceInfo added in v1.61.0

func (o *Workspace) GetAzureWorkspaceInfo(ctx context.Context) (AzureWorkspaceInfo, bool)

GetAzureWorkspaceInfo returns the value of the AzureWorkspaceInfo field in Workspace as a AzureWorkspaceInfo value. If the field is unknown or null, the boolean return value is false.

func (*Workspace) GetCloudResourceContainer added in v1.61.0

func (o *Workspace) GetCloudResourceContainer(ctx context.Context) (CloudResourceContainer, bool)

GetCloudResourceContainer returns the value of the CloudResourceContainer field in Workspace as a CloudResourceContainer value. If the field is unknown or null, the boolean return value is false.

func (Workspace) GetComplexFieldTypes added in v1.61.0

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

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

func (*Workspace) GetCustomTags added in v1.61.0

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

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

func (*Workspace) GetExternalCustomerInfo added in v1.61.0

func (o *Workspace) GetExternalCustomerInfo(ctx context.Context) (ExternalCustomerInfo, bool)

GetExternalCustomerInfo returns the value of the ExternalCustomerInfo field in Workspace as a ExternalCustomerInfo value. If the field is unknown or null, the boolean return value is false.

func (*Workspace) GetGcpManagedNetworkConfig added in v1.61.0

func (o *Workspace) GetGcpManagedNetworkConfig(ctx context.Context) (GcpManagedNetworkConfig, bool)

GetGcpManagedNetworkConfig returns the value of the GcpManagedNetworkConfig field in Workspace as a GcpManagedNetworkConfig value. If the field is unknown or null, the boolean return value is false.

func (*Workspace) GetGkeConfig added in v1.61.0

func (o *Workspace) GetGkeConfig(ctx context.Context) (GkeConfig, bool)

GetGkeConfig returns the value of the GkeConfig field in Workspace as a GkeConfig value. If the field is unknown or null, the boolean return value is false.

func (*Workspace) SetAzureWorkspaceInfo added in v1.61.0

func (o *Workspace) SetAzureWorkspaceInfo(ctx context.Context, v AzureWorkspaceInfo)

SetAzureWorkspaceInfo sets the value of the AzureWorkspaceInfo field in Workspace.

func (*Workspace) SetCloudResourceContainer added in v1.61.0

func (o *Workspace) SetCloudResourceContainer(ctx context.Context, v CloudResourceContainer)

SetCloudResourceContainer sets the value of the CloudResourceContainer field in Workspace.

func (*Workspace) SetCustomTags added in v1.61.0

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

SetCustomTags sets the value of the CustomTags field in Workspace.

func (*Workspace) SetExternalCustomerInfo added in v1.61.0

func (o *Workspace) SetExternalCustomerInfo(ctx context.Context, v ExternalCustomerInfo)

SetExternalCustomerInfo sets the value of the ExternalCustomerInfo field in Workspace.

func (*Workspace) SetGcpManagedNetworkConfig added in v1.61.0

func (o *Workspace) SetGcpManagedNetworkConfig(ctx context.Context, v GcpManagedNetworkConfig)

SetGcpManagedNetworkConfig sets the value of the GcpManagedNetworkConfig field in Workspace.

func (*Workspace) SetGkeConfig added in v1.61.0

func (o *Workspace) SetGkeConfig(ctx context.Context, v GkeConfig)

SetGkeConfig sets the value of the GkeConfig field in Workspace.

func (*Workspace) SyncEffectiveFieldsDuringCreateOrUpdate added in v1.54.0

func (newState *Workspace) SyncEffectiveFieldsDuringCreateOrUpdate(plan Workspace)

func (*Workspace) SyncEffectiveFieldsDuringRead added in v1.54.0

func (newState *Workspace) SyncEffectiveFieldsDuringRead(existingState Workspace)

func (Workspace) ToObjectValue added in v1.61.0

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

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

func (Workspace) Type added in v1.61.0

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

Type implements basetypes.ObjectValuable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL