diff --git a/internal/providers/pluginfw/products/library/resource_library.go b/internal/providers/pluginfw/products/library/resource_library.go index 856ee32f9..89af2516c 100644 --- a/internal/providers/pluginfw/products/library/resource_library.go +++ b/internal/providers/pluginfw/products/library/resource_library.go @@ -103,6 +103,7 @@ func (r *LibraryResource) Schema(ctx context.Context, req resource.SchemaRequest c.AddPlanModifier(listplanmodifier.RequiresReplace(), field) } } + c.SetComputed("id") return c }) resp.Schema = schema.Schema{ diff --git a/internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go b/internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go index 8c42c0983..ef3c435b5 100644 --- a/internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go +++ b/internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go @@ -87,6 +87,7 @@ func (r *QualityMonitorResource) Schema(ctx context.Context, req resource.Schema c.SetReadOnly("status") c.SetReadOnly("dashboard_id") c.SetReadOnly("schedule", "pause_status") + c.SetComputed("id") return c }) resp.Schema = schema.Schema{ diff --git a/internal/providers/pluginfw/products/sharing/resource_share.go b/internal/providers/pluginfw/products/sharing/resource_share.go index ca0ac7ada..19b24485e 100644 --- a/internal/providers/pluginfw/products/sharing/resource_share.go +++ b/internal/providers/pluginfw/products/sharing/resource_share.go @@ -156,7 +156,6 @@ func (r *ShareResource) Schema(ctx context.Context, req resource.SchemaRequest, c.SetRequired("object", "partition", "value", "op") c.SetRequired("object", "partition", "value", "name") - c.SetOptional("owner") return c }) resp.Schema = schema.Schema{ diff --git a/internal/providers/pluginfw/tfschema/struct_to_schema.go b/internal/providers/pluginfw/tfschema/struct_to_schema.go index 4612b63ee..f3a80976c 100644 --- a/internal/providers/pluginfw/tfschema/struct_to_schema.go +++ b/internal/providers/pluginfw/tfschema/struct_to_schema.go @@ -17,6 +17,10 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) +type CustomizableSchemaProvider interface { + ApplySchemaCustomizations(cs CustomizableSchema, path ...string) CustomizableSchema +} + type structTag struct { optional bool computed bool @@ -26,6 +30,7 @@ type structTag struct { func typeToSchema(ctx context.Context, v reflect.Value) NestedBlockObject { scmAttr := map[string]AttributeBuilder{} rk := v.Kind() + typeProvidesSchemaCustomization := v.Type().Implements(reflect.TypeOf((*CustomizableSchemaProvider)(nil)).Elem()) if rk == reflect.Ptr { v = v.Elem() rk = v.Kind() @@ -139,21 +144,28 @@ func typeToSchema(ctx context.Context, v reflect.Value) NestedBlockObject { } panic(fmt.Errorf("unexpected type %T in tfsdk structs, expected a plugin framework value type. %s", value, common.TerraformBugErrorMessage)) } + attr := scmAttr[fieldName] - if structTag.computed { - // Computed attributes are always computed and may be optional. - attr = attr.SetComputed() - if structTag.optional { - attr = attr.SetOptional() - } + + if typeProvidesSchemaCustomization { + attr = attr.SetOptional() // default to optional, ToSchema may override this } else { - // Non-computed attributes must be either optional or required. - if structTag.optional { - attr = attr.SetOptional() + if structTag.computed { + // Computed attributes are always computed and may be optional. + attr = attr.SetComputed() + if structTag.optional { + attr = attr.SetOptional() + } } else { - attr = attr.SetRequired() + // Non-computed attributes must be either optional or required. + if structTag.optional { + attr = attr.SetOptional() + } else { + attr = attr.SetRequired() + } } } + scmAttr[fieldName] = attr } return NestedBlockObject{Attributes: scmAttr} @@ -183,23 +195,31 @@ func DataSourceStructToSchema(ctx context.Context, v any, customizeSchema func(C // ResourceStructToSchemaMap returns two maps from string to resource schema attributes and blocks using a tfsdk struct, with custoimzations applied. func ResourceStructToSchemaMap(ctx context.Context, v any, customizeSchema func(CustomizableSchema) CustomizableSchema) (map[string]schema.Attribute, map[string]schema.Block) { nestedBlockObj := typeToSchema(ctx, reflect.ValueOf(v)) + cs := *ConstructCustomizableSchema(nestedBlockObj) + + if schemaProvider, ok := v.(CustomizableSchemaProvider); ok { + cs = schemaProvider.ApplySchemaCustomizations(cs) + } if customizeSchema != nil { - cs := customizeSchema(*ConstructCustomizableSchema(nestedBlockObj)) - return BuildResourceAttributeMap(cs.ToNestedBlockObject().Attributes), BuildResourceBlockMap(cs.ToNestedBlockObject().Blocks) - } else { - return BuildResourceAttributeMap(nestedBlockObj.Attributes), BuildResourceBlockMap(nestedBlockObj.Blocks) + cs = customizeSchema(cs) } + + return BuildResourceAttributeMap(cs.ToNestedBlockObject().Attributes), BuildResourceBlockMap(cs.ToNestedBlockObject().Blocks) } // DataSourceStructToSchemaMap returns twp maps from string to data source schema attributes and blocks using a tfsdk struct, with custoimzations applied. func DataSourceStructToSchemaMap(ctx context.Context, v any, customizeSchema func(CustomizableSchema) CustomizableSchema) (map[string]dataschema.Attribute, map[string]dataschema.Block) { nestedBlockObj := typeToSchema(ctx, reflect.ValueOf(v)) + cs := *ConstructCustomizableSchema(nestedBlockObj) + + if schemaProvider, ok := v.(CustomizableSchemaProvider); ok { + cs = schemaProvider.ApplySchemaCustomizations(cs) + } if customizeSchema != nil { - cs := customizeSchema(*ConstructCustomizableSchema(nestedBlockObj)) - return BuildDataSourceAttributeMap(cs.ToNestedBlockObject().Attributes), BuildDataSourceBlockMap(cs.ToNestedBlockObject().Blocks) - } else { - return BuildDataSourceAttributeMap(nestedBlockObj.Attributes), BuildDataSourceBlockMap(nestedBlockObj.Blocks) + cs = customizeSchema(cs) } + + return BuildDataSourceAttributeMap(cs.ToNestedBlockObject().Attributes), BuildDataSourceBlockMap(cs.ToNestedBlockObject().Blocks) } diff --git a/internal/service/apps_tf/legacy_model.go b/internal/service/apps_tf/legacy_model.go index 7b956959f..e1c45f306 100755 --- a/internal/service/apps_tf/legacy_model.go +++ b/internal/service/apps_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -67,6 +68,30 @@ func (newState *App_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan App_SdkV func (newState *App_SdkV2) SyncEffectiveFieldsDuringRead(existingState App_SdkV2) { } +func (c App_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "active_deployment")...) + AppDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "active_deployment")...) + cs.SetComputed(append(path, "app_status")...) + ApplicationStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "app_status")...) + cs.SetComputed(append(path, "compute_status")...) + ComputeStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "compute_status")...) + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "creator")...) + cs.SetComputed(append(path, "default_source_code_path")...) + cs.SetRequired(append(path, "name")...) + cs.SetComputed(append(path, "pending_deployment")...) + AppDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pending_deployment")...) + AppResource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "resources")...) + cs.SetComputed(append(path, "service_principal_client_id")...) + cs.SetComputed(append(path, "service_principal_id")...) + cs.SetComputed(append(path, "service_principal_name")...) + cs.SetComputed(append(path, "update_time")...) + cs.SetComputed(append(path, "updater")...) + cs.SetComputed(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in App. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -291,6 +316,11 @@ func (newState *AppAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *AppAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppAccessControlRequest_SdkV2) { } +func (c AppAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -347,6 +377,12 @@ func (newState *AppAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *AppAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppAccessControlResponse_SdkV2) { } +func (c AppAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -447,6 +483,18 @@ func (newState *AppDeployment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AppDeployment_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppDeployment_SdkV2) { } +func (c AppDeployment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "creator")...) + cs.SetComputed(append(path, "deployment_artifacts")...) + AppDeploymentArtifacts_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "deployment_artifacts")...) + cs.SetComputed(append(path, "status")...) + AppDeploymentStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppDeployment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -563,6 +611,11 @@ func (newState *AppDeploymentArtifacts_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *AppDeploymentArtifacts_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppDeploymentArtifacts_SdkV2) { } +func (c AppDeploymentArtifacts_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppDeploymentArtifacts. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -607,6 +660,13 @@ func (newState *AppDeploymentStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *AppDeploymentStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppDeploymentStatus_SdkV2) { } +func (c AppDeploymentStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "message")...) + cs.SetComputed(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppDeploymentStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -654,6 +714,11 @@ func (newState *AppPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AppPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppPermission_SdkV2) { } +func (c AppPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -733,6 +798,12 @@ func (newState *AppPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AppPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppPermissions_SdkV2) { } +func (c AppPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -810,6 +881,11 @@ func (newState *AppPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *AppPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppPermissionsDescription_SdkV2) { } +func (c AppPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -855,6 +931,13 @@ func (newState *AppPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *AppPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppPermissionsRequest_SdkV2) { } +func (c AppPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "app_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -939,6 +1022,16 @@ func (newState *AppResource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AppResource_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppResource_SdkV2) { } +func (c AppResource_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppResourceJob_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job")...) + cs.SetRequired(append(path, "name")...) + AppResourceSecret_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "secret")...) + AppResourceServingEndpoint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "serving_endpoint")...) + AppResourceSqlWarehouse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_warehouse")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1111,6 +1204,13 @@ func (newState *AppResourceJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AppResourceJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppResourceJob_SdkV2) { } +func (c AppResourceJob_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "permission")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1160,6 +1260,14 @@ func (newState *AppResourceSecret_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AppResourceSecret_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppResourceSecret_SdkV2) { } +func (c AppResourceSecret_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "permission")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1209,6 +1317,13 @@ func (newState *AppResourceServingEndpoint_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *AppResourceServingEndpoint_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppResourceServingEndpoint_SdkV2) { } +func (c AppResourceServingEndpoint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "permission")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceServingEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1256,6 +1371,13 @@ func (newState *AppResourceSqlWarehouse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *AppResourceSqlWarehouse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AppResourceSqlWarehouse_SdkV2) { } +func (c AppResourceSqlWarehouse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "permission")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceSqlWarehouse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1302,6 +1424,13 @@ func (newState *ApplicationStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ApplicationStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState ApplicationStatus_SdkV2) { } +func (c ApplicationStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "message")...) + cs.SetComputed(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ApplicationStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1348,6 +1477,13 @@ func (newState *ComputeStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ComputeStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState ComputeStatus_SdkV2) { } +func (c ComputeStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "message")...) + cs.SetComputed(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComputeStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1388,12 +1524,6 @@ type CreateAppDeploymentRequest_SdkV2 struct { AppName types.String `tfsdk:"-"` } -func (newState *CreateAppDeploymentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAppDeploymentRequest_SdkV2) { -} - -func (newState *CreateAppDeploymentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAppDeploymentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAppDeploymentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1462,12 +1592,6 @@ type CreateAppRequest_SdkV2 struct { App types.List `tfsdk:"app" tf:"optional,object"` } -func (newState *CreateAppRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAppRequest_SdkV2) { -} - -func (newState *CreateAppRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAppRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1535,12 +1659,6 @@ type DeleteAppRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteAppRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAppRequest_SdkV2) { -} - -func (newState *DeleteAppRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAppRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1580,12 +1698,6 @@ type GetAppDeploymentRequest_SdkV2 struct { DeploymentId types.String `tfsdk:"-"` } -func (newState *GetAppDeploymentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppDeploymentRequest_SdkV2) { -} - -func (newState *GetAppDeploymentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAppDeploymentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppDeploymentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1625,12 +1737,6 @@ type GetAppPermissionLevelsRequest_SdkV2 struct { AppName types.String `tfsdk:"-"` } -func (newState *GetAppPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetAppPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1673,6 +1779,12 @@ func (newState *GetAppPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *GetAppPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionLevelsResponse_SdkV2) { } +func (c GetAppPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1740,12 +1852,6 @@ type GetAppPermissionsRequest_SdkV2 struct { AppName types.String `tfsdk:"-"` } -func (newState *GetAppPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionsRequest_SdkV2) { -} - -func (newState *GetAppPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1783,12 +1889,6 @@ type GetAppRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetAppRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppRequest_SdkV2) { -} - -func (newState *GetAppRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAppRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1831,12 +1931,6 @@ type ListAppDeploymentsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAppDeploymentsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppDeploymentsRequest_SdkV2) { -} - -func (newState *ListAppDeploymentsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAppDeploymentsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppDeploymentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1885,6 +1979,12 @@ func (newState *ListAppDeploymentsResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ListAppDeploymentsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAppDeploymentsResponse_SdkV2) { } +func (c ListAppDeploymentsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "app_deployments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppDeploymentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1957,12 +2057,6 @@ type ListAppsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAppsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppsRequest_SdkV2) { -} - -func (newState *ListAppsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAppsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2008,6 +2102,12 @@ func (newState *ListAppsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListAppsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAppsResponse_SdkV2) { } +func (c ListAppsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + App_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2082,6 +2182,12 @@ func (newState *StartAppRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *StartAppRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartAppRequest_SdkV2) { } +func (c StartAppRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2124,6 +2230,12 @@ func (newState *StopAppRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *StopAppRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState StopAppRequest_SdkV2) { } +func (c StopAppRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2163,12 +2275,6 @@ type UpdateAppRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *UpdateAppRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAppRequest_SdkV2) { -} - -func (newState *UpdateAppRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAppRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/apps_tf/model.go b/internal/service/apps_tf/model.go index 031b9ff04..0b9b048f5 100755 --- a/internal/service/apps_tf/model.go +++ b/internal/service/apps_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -67,6 +68,30 @@ func (newState *App) SyncEffectiveFieldsDuringCreateOrUpdate(plan App) { func (newState *App) SyncEffectiveFieldsDuringRead(existingState App) { } +func (c App) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "active_deployment")...) + AppDeployment{}.ApplySchemaCustomizations(cs, append(path, "active_deployment")...) + cs.SetComputed(append(path, "app_status")...) + ApplicationStatus{}.ApplySchemaCustomizations(cs, append(path, "app_status")...) + cs.SetComputed(append(path, "compute_status")...) + ComputeStatus{}.ApplySchemaCustomizations(cs, append(path, "compute_status")...) + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "creator")...) + cs.SetComputed(append(path, "default_source_code_path")...) + cs.SetRequired(append(path, "name")...) + cs.SetComputed(append(path, "pending_deployment")...) + AppDeployment{}.ApplySchemaCustomizations(cs, append(path, "pending_deployment")...) + AppResource{}.ApplySchemaCustomizations(cs, append(path, "resources")...) + cs.SetComputed(append(path, "service_principal_client_id")...) + cs.SetComputed(append(path, "service_principal_id")...) + cs.SetComputed(append(path, "service_principal_name")...) + cs.SetComputed(append(path, "update_time")...) + cs.SetComputed(append(path, "updater")...) + cs.SetComputed(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in App. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -291,6 +316,11 @@ func (newState *AppAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AppAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState AppAccessControlRequest) { } +func (c AppAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -347,6 +377,12 @@ func (newState *AppAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AppAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState AppAccessControlResponse) { } +func (c AppAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -447,6 +483,18 @@ func (newState *AppDeployment) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppD func (newState *AppDeployment) SyncEffectiveFieldsDuringRead(existingState AppDeployment) { } +func (c AppDeployment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "creator")...) + cs.SetComputed(append(path, "deployment_artifacts")...) + AppDeploymentArtifacts{}.ApplySchemaCustomizations(cs, append(path, "deployment_artifacts")...) + cs.SetComputed(append(path, "status")...) + AppDeploymentStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppDeployment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -563,6 +611,11 @@ func (newState *AppDeploymentArtifacts) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *AppDeploymentArtifacts) SyncEffectiveFieldsDuringRead(existingState AppDeploymentArtifacts) { } +func (c AppDeploymentArtifacts) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppDeploymentArtifacts. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -607,6 +660,13 @@ func (newState *AppDeploymentStatus) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AppDeploymentStatus) SyncEffectiveFieldsDuringRead(existingState AppDeploymentStatus) { } +func (c AppDeploymentStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "message")...) + cs.SetComputed(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppDeploymentStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -654,6 +714,11 @@ func (newState *AppPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppP func (newState *AppPermission) SyncEffectiveFieldsDuringRead(existingState AppPermission) { } +func (c AppPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -733,6 +798,12 @@ func (newState *AppPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan App func (newState *AppPermissions) SyncEffectiveFieldsDuringRead(existingState AppPermissions) { } +func (c AppPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -810,6 +881,11 @@ func (newState *AppPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpda func (newState *AppPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState AppPermissionsDescription) { } +func (c AppPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -855,6 +931,13 @@ func (newState *AppPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AppPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState AppPermissionsRequest) { } +func (c AppPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "app_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -939,6 +1022,16 @@ func (newState *AppResource) SyncEffectiveFieldsDuringCreateOrUpdate(plan AppRes func (newState *AppResource) SyncEffectiveFieldsDuringRead(existingState AppResource) { } +func (c AppResource) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppResourceJob{}.ApplySchemaCustomizations(cs, append(path, "job")...) + cs.SetRequired(append(path, "name")...) + AppResourceSecret{}.ApplySchemaCustomizations(cs, append(path, "secret")...) + AppResourceServingEndpoint{}.ApplySchemaCustomizations(cs, append(path, "serving_endpoint")...) + AppResourceSqlWarehouse{}.ApplySchemaCustomizations(cs, append(path, "sql_warehouse")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1111,6 +1204,13 @@ func (newState *AppResourceJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan App func (newState *AppResourceJob) SyncEffectiveFieldsDuringRead(existingState AppResourceJob) { } +func (c AppResourceJob) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "permission")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1160,6 +1260,14 @@ func (newState *AppResourceSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AppResourceSecret) SyncEffectiveFieldsDuringRead(existingState AppResourceSecret) { } +func (c AppResourceSecret) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "permission")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1209,6 +1317,13 @@ func (newState *AppResourceServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpd func (newState *AppResourceServingEndpoint) SyncEffectiveFieldsDuringRead(existingState AppResourceServingEndpoint) { } +func (c AppResourceServingEndpoint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "permission")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceServingEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1256,6 +1371,13 @@ func (newState *AppResourceSqlWarehouse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AppResourceSqlWarehouse) SyncEffectiveFieldsDuringRead(existingState AppResourceSqlWarehouse) { } +func (c AppResourceSqlWarehouse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "permission")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AppResourceSqlWarehouse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1302,6 +1424,13 @@ func (newState *ApplicationStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ApplicationStatus) SyncEffectiveFieldsDuringRead(existingState ApplicationStatus) { } +func (c ApplicationStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "message")...) + cs.SetComputed(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ApplicationStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1348,6 +1477,13 @@ func (newState *ComputeStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan Comp func (newState *ComputeStatus) SyncEffectiveFieldsDuringRead(existingState ComputeStatus) { } +func (c ComputeStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "message")...) + cs.SetComputed(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComputeStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1388,12 +1524,6 @@ type CreateAppDeploymentRequest struct { AppName types.String `tfsdk:"-"` } -func (newState *CreateAppDeploymentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAppDeploymentRequest) { -} - -func (newState *CreateAppDeploymentRequest) SyncEffectiveFieldsDuringRead(existingState CreateAppDeploymentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAppDeploymentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1462,12 +1592,6 @@ type CreateAppRequest struct { App types.Object `tfsdk:"app" tf:"optional,object"` } -func (newState *CreateAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAppRequest) { -} - -func (newState *CreateAppRequest) SyncEffectiveFieldsDuringRead(existingState CreateAppRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1535,12 +1659,6 @@ type DeleteAppRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAppRequest) { -} - -func (newState *DeleteAppRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAppRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1580,12 +1698,6 @@ type GetAppDeploymentRequest struct { DeploymentId types.String `tfsdk:"-"` } -func (newState *GetAppDeploymentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppDeploymentRequest) { -} - -func (newState *GetAppDeploymentRequest) SyncEffectiveFieldsDuringRead(existingState GetAppDeploymentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppDeploymentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1625,12 +1737,6 @@ type GetAppPermissionLevelsRequest struct { AppName types.String `tfsdk:"-"` } -func (newState *GetAppPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionLevelsRequest) { -} - -func (newState *GetAppPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1673,6 +1779,12 @@ func (newState *GetAppPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateO func (newState *GetAppPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionLevelsResponse) { } +func (c GetAppPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1740,12 +1852,6 @@ type GetAppPermissionsRequest struct { AppName types.String `tfsdk:"-"` } -func (newState *GetAppPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppPermissionsRequest) { -} - -func (newState *GetAppPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetAppPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1783,12 +1889,6 @@ type GetAppRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAppRequest) { -} - -func (newState *GetAppRequest) SyncEffectiveFieldsDuringRead(existingState GetAppRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1831,12 +1931,6 @@ type ListAppDeploymentsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAppDeploymentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppDeploymentsRequest) { -} - -func (newState *ListAppDeploymentsRequest) SyncEffectiveFieldsDuringRead(existingState ListAppDeploymentsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppDeploymentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1885,6 +1979,12 @@ func (newState *ListAppDeploymentsResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListAppDeploymentsResponse) SyncEffectiveFieldsDuringRead(existingState ListAppDeploymentsResponse) { } +func (c ListAppDeploymentsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AppDeployment{}.ApplySchemaCustomizations(cs, append(path, "app_deployments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppDeploymentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1957,12 +2057,6 @@ type ListAppsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAppsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAppsRequest) { -} - -func (newState *ListAppsRequest) SyncEffectiveFieldsDuringRead(existingState ListAppsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2008,6 +2102,12 @@ func (newState *ListAppsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *ListAppsResponse) SyncEffectiveFieldsDuringRead(existingState ListAppsResponse) { } +func (c ListAppsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + App{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAppsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2082,6 +2182,12 @@ func (newState *StartAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan St func (newState *StartAppRequest) SyncEffectiveFieldsDuringRead(existingState StartAppRequest) { } +func (c StartAppRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2124,6 +2230,12 @@ func (newState *StopAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sto func (newState *StopAppRequest) SyncEffectiveFieldsDuringRead(existingState StopAppRequest) { } +func (c StopAppRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2163,12 +2275,6 @@ type UpdateAppRequest struct { Name types.String `tfsdk:"-"` } -func (newState *UpdateAppRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAppRequest) { -} - -func (newState *UpdateAppRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAppRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAppRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/billing_tf/legacy_model.go b/internal/service/billing_tf/legacy_model.go index ab728eed7..91c7d46c4 100755 --- a/internal/service/billing_tf/legacy_model.go +++ b/internal/service/billing_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -36,6 +37,11 @@ func (newState *ActionConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ActionConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState ActionConfiguration_SdkV2) { } +func (c ActionConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ActionConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -96,6 +102,12 @@ func (newState *AlertConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AlertConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertConfiguration_SdkV2) { } +func (c AlertConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ActionConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "action_configurations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -194,6 +206,13 @@ func (newState *BudgetConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *BudgetConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState BudgetConfiguration_SdkV2) { } +func (c BudgetConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert_configurations")...) + BudgetConfigurationFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -311,6 +330,13 @@ func (newState *BudgetConfigurationFilter_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *BudgetConfigurationFilter_SdkV2) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilter_SdkV2) { } +func (c BudgetConfigurationFilter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfigurationFilterTagClause_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + BudgetConfigurationFilterWorkspaceIdClause_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -415,6 +441,11 @@ func (newState *BudgetConfigurationFilterClause_SdkV2) SyncEffectiveFieldsDuring func (newState *BudgetConfigurationFilterClause_SdkV2) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilterClause_SdkV2) { } +func (c BudgetConfigurationFilterClause_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilterClause. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -490,6 +521,12 @@ func (newState *BudgetConfigurationFilterTagClause_SdkV2) SyncEffectiveFieldsDur func (newState *BudgetConfigurationFilterTagClause_SdkV2) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilterTagClause_SdkV2) { } +func (c BudgetConfigurationFilterTagClause_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfigurationFilterClause_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilterTagClause. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -565,6 +602,11 @@ func (newState *BudgetConfigurationFilterWorkspaceIdClause_SdkV2) SyncEffectiveF func (newState *BudgetConfigurationFilterWorkspaceIdClause_SdkV2) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilterWorkspaceIdClause_SdkV2) { } +func (c BudgetConfigurationFilterWorkspaceIdClause_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilterWorkspaceIdClause. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -644,6 +686,11 @@ func (newState *CreateBillingUsageDashboardRequest_SdkV2) SyncEffectiveFieldsDur func (newState *CreateBillingUsageDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBillingUsageDashboardRequest_SdkV2) { } +func (c CreateBillingUsageDashboardRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBillingUsageDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -688,6 +735,11 @@ func (newState *CreateBillingUsageDashboardResponse_SdkV2) SyncEffectiveFieldsDu func (newState *CreateBillingUsageDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBillingUsageDashboardResponse_SdkV2) { } +func (c CreateBillingUsageDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBillingUsageDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -740,6 +792,13 @@ func (newState *CreateBudgetConfigurationBudget_SdkV2) SyncEffectiveFieldsDuring func (newState *CreateBudgetConfigurationBudget_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationBudget_SdkV2) { } +func (c CreateBudgetConfigurationBudget_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateBudgetConfigurationBudgetAlertConfigurations_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert_configurations")...) + BudgetConfigurationFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationBudget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -849,6 +908,11 @@ func (newState *CreateBudgetConfigurationBudgetActionConfigurations_SdkV2) SyncE func (newState *CreateBudgetConfigurationBudgetActionConfigurations_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationBudgetActionConfigurations_SdkV2) { } +func (c CreateBudgetConfigurationBudgetActionConfigurations_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationBudgetActionConfigurations. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -905,6 +969,12 @@ func (newState *CreateBudgetConfigurationBudgetAlertConfigurations_SdkV2) SyncEf func (newState *CreateBudgetConfigurationBudgetAlertConfigurations_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationBudgetAlertConfigurations_SdkV2) { } +func (c CreateBudgetConfigurationBudgetAlertConfigurations_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateBudgetConfigurationBudgetActionConfigurations_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "action_configurations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationBudgetAlertConfigurations. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -985,6 +1055,13 @@ func (newState *CreateBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDurin func (newState *CreateBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationRequest_SdkV2) { } +func (c CreateBudgetConfigurationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "budget")...) + CreateBudgetConfigurationBudget_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1057,6 +1134,12 @@ func (newState *CreateBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *CreateBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationResponse_SdkV2) { } +func (c CreateBudgetConfigurationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1196,6 +1279,15 @@ func (newState *CreateLogDeliveryConfigurationParams_SdkV2) SyncEffectiveFieldsD func (newState *CreateLogDeliveryConfigurationParams_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateLogDeliveryConfigurationParams_SdkV2) { } +func (c CreateLogDeliveryConfigurationParams_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credentials_id")...) + cs.SetRequired(append(path, "log_type")...) + cs.SetRequired(append(path, "output_format")...) + cs.SetRequired(append(path, "storage_configuration_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateLogDeliveryConfigurationParams. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1279,12 +1371,6 @@ type DeleteBudgetConfigurationRequest_SdkV2 struct { BudgetId types.String `tfsdk:"-"` } -func (newState *DeleteBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteBudgetConfigurationRequest_SdkV2) { -} - -func (newState *DeleteBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteBudgetConfigurationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1325,6 +1411,11 @@ func (newState *DeleteBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *DeleteBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteBudgetConfigurationResponse_SdkV2) { } +func (c DeleteBudgetConfigurationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1366,12 +1457,6 @@ type DownloadRequest_SdkV2 struct { StartMonth types.String `tfsdk:"-"` } -func (newState *DownloadRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadRequest_SdkV2) { -} - -func (newState *DownloadRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DownloadRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1411,12 +1496,6 @@ type DownloadResponse_SdkV2 struct { Contents types.Object `tfsdk:"-"` } -func (newState *DownloadResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadResponse_SdkV2) { -} - -func (newState *DownloadResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DownloadResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1459,12 +1538,6 @@ type GetBillingUsageDashboardRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetBillingUsageDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetBillingUsageDashboardRequest_SdkV2) { -} - -func (newState *GetBillingUsageDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetBillingUsageDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBillingUsageDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1511,6 +1584,11 @@ func (newState *GetBillingUsageDashboardResponse_SdkV2) SyncEffectiveFieldsDurin func (newState *GetBillingUsageDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetBillingUsageDashboardResponse_SdkV2) { } +func (c GetBillingUsageDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBillingUsageDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1550,12 +1628,6 @@ type GetBudgetConfigurationRequest_SdkV2 struct { BudgetId types.String `tfsdk:"-"` } -func (newState *GetBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetBudgetConfigurationRequest_SdkV2) { -} - -func (newState *GetBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetBudgetConfigurationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1597,6 +1669,12 @@ func (newState *GetBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *GetBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetBudgetConfigurationResponse_SdkV2) { } +func (c GetBudgetConfigurationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1664,12 +1742,6 @@ type GetLogDeliveryRequest_SdkV2 struct { LogDeliveryConfigurationId types.String `tfsdk:"-"` } -func (newState *GetLogDeliveryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetLogDeliveryRequest_SdkV2) { -} - -func (newState *GetLogDeliveryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetLogDeliveryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLogDeliveryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1709,12 +1781,6 @@ type ListBudgetConfigurationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListBudgetConfigurationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListBudgetConfigurationsRequest_SdkV2) { -} - -func (newState *ListBudgetConfigurationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListBudgetConfigurationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBudgetConfigurationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1759,6 +1825,12 @@ func (newState *ListBudgetConfigurationsResponse_SdkV2) SyncEffectiveFieldsDurin func (newState *ListBudgetConfigurationsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListBudgetConfigurationsResponse_SdkV2) { } +func (c ListBudgetConfigurationsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "budgets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBudgetConfigurationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1832,12 +1904,6 @@ type ListLogDeliveryRequest_SdkV2 struct { StorageConfigurationId types.String `tfsdk:"-"` } -func (newState *ListLogDeliveryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListLogDeliveryRequest_SdkV2) { -} - -func (newState *ListLogDeliveryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListLogDeliveryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListLogDeliveryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1963,6 +2029,12 @@ func (newState *LogDeliveryConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *LogDeliveryConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogDeliveryConfiguration_SdkV2) { } +func (c LogDeliveryConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogDeliveryStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogDeliveryConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2108,6 +2180,11 @@ func (newState *LogDeliveryStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *LogDeliveryStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogDeliveryStatus_SdkV2) { } +func (c LogDeliveryStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogDeliveryStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2148,12 +2225,6 @@ func (o LogDeliveryStatus_SdkV2) Type(ctx context.Context) attr.Type { type PatchStatusResponse_SdkV2 struct { } -func (newState *PatchStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchStatusResponse_SdkV2) { -} - -func (newState *PatchStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PatchStatusResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2204,6 +2275,13 @@ func (newState *UpdateBudgetConfigurationBudget_SdkV2) SyncEffectiveFieldsDuring func (newState *UpdateBudgetConfigurationBudget_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateBudgetConfigurationBudget_SdkV2) { } +func (c UpdateBudgetConfigurationBudget_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert_configurations")...) + BudgetConfigurationFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBudgetConfigurationBudget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2316,6 +2394,14 @@ func (newState *UpdateBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDurin func (newState *UpdateBudgetConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateBudgetConfigurationRequest_SdkV2) { } +func (c UpdateBudgetConfigurationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "budget")...) + UpdateBudgetConfigurationBudget_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + cs.SetRequired(append(path, "budget_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2390,6 +2476,12 @@ func (newState *UpdateBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *UpdateBudgetConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateBudgetConfigurationResponse_SdkV2) { } +func (c UpdateBudgetConfigurationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2468,6 +2560,13 @@ func (newState *UpdateLogDeliveryConfigurationStatusRequest_SdkV2) SyncEffective func (newState *UpdateLogDeliveryConfigurationStatusRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateLogDeliveryConfigurationStatusRequest_SdkV2) { } +func (c UpdateLogDeliveryConfigurationStatusRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "log_delivery_configuration_id")...) + cs.SetRequired(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateLogDeliveryConfigurationStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2511,6 +2610,12 @@ func (newState *WrappedCreateLogDeliveryConfiguration_SdkV2) SyncEffectiveFields func (newState *WrappedCreateLogDeliveryConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState WrappedCreateLogDeliveryConfiguration_SdkV2) { } +func (c WrappedCreateLogDeliveryConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateLogDeliveryConfigurationParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WrappedCreateLogDeliveryConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2582,6 +2687,12 @@ func (newState *WrappedLogDeliveryConfiguration_SdkV2) SyncEffectiveFieldsDuring func (newState *WrappedLogDeliveryConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState WrappedLogDeliveryConfiguration_SdkV2) { } +func (c WrappedLogDeliveryConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogDeliveryConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WrappedLogDeliveryConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2653,6 +2764,12 @@ func (newState *WrappedLogDeliveryConfigurations_SdkV2) SyncEffectiveFieldsDurin func (newState *WrappedLogDeliveryConfigurations_SdkV2) SyncEffectiveFieldsDuringRead(existingState WrappedLogDeliveryConfigurations_SdkV2) { } +func (c WrappedLogDeliveryConfigurations_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogDeliveryConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_configurations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WrappedLogDeliveryConfigurations. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/billing_tf/model.go b/internal/service/billing_tf/model.go index 3073e7c70..f54426d46 100755 --- a/internal/service/billing_tf/model.go +++ b/internal/service/billing_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -36,6 +37,11 @@ func (newState *ActionConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ActionConfiguration) SyncEffectiveFieldsDuringRead(existingState ActionConfiguration) { } +func (c ActionConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ActionConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -96,6 +102,12 @@ func (newState *AlertConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AlertConfiguration) SyncEffectiveFieldsDuringRead(existingState AlertConfiguration) { } +func (c AlertConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ActionConfiguration{}.ApplySchemaCustomizations(cs, append(path, "action_configurations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -194,6 +206,13 @@ func (newState *BudgetConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *BudgetConfiguration) SyncEffectiveFieldsDuringRead(existingState BudgetConfiguration) { } +func (c BudgetConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertConfiguration{}.ApplySchemaCustomizations(cs, append(path, "alert_configurations")...) + BudgetConfigurationFilter{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -311,6 +330,13 @@ func (newState *BudgetConfigurationFilter) SyncEffectiveFieldsDuringCreateOrUpda func (newState *BudgetConfigurationFilter) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilter) { } +func (c BudgetConfigurationFilter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfigurationFilterTagClause{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + BudgetConfigurationFilterWorkspaceIdClause{}.ApplySchemaCustomizations(cs, append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -415,6 +441,11 @@ func (newState *BudgetConfigurationFilterClause) SyncEffectiveFieldsDuringCreate func (newState *BudgetConfigurationFilterClause) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilterClause) { } +func (c BudgetConfigurationFilterClause) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilterClause. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -490,6 +521,12 @@ func (newState *BudgetConfigurationFilterTagClause) SyncEffectiveFieldsDuringCre func (newState *BudgetConfigurationFilterTagClause) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilterTagClause) { } +func (c BudgetConfigurationFilterTagClause) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfigurationFilterClause{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilterTagClause. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -565,6 +602,11 @@ func (newState *BudgetConfigurationFilterWorkspaceIdClause) SyncEffectiveFieldsD func (newState *BudgetConfigurationFilterWorkspaceIdClause) SyncEffectiveFieldsDuringRead(existingState BudgetConfigurationFilterWorkspaceIdClause) { } +func (c BudgetConfigurationFilterWorkspaceIdClause) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BudgetConfigurationFilterWorkspaceIdClause. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -644,6 +686,11 @@ func (newState *CreateBillingUsageDashboardRequest) SyncEffectiveFieldsDuringCre func (newState *CreateBillingUsageDashboardRequest) SyncEffectiveFieldsDuringRead(existingState CreateBillingUsageDashboardRequest) { } +func (c CreateBillingUsageDashboardRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBillingUsageDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -688,6 +735,11 @@ func (newState *CreateBillingUsageDashboardResponse) SyncEffectiveFieldsDuringCr func (newState *CreateBillingUsageDashboardResponse) SyncEffectiveFieldsDuringRead(existingState CreateBillingUsageDashboardResponse) { } +func (c CreateBillingUsageDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBillingUsageDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -740,6 +792,13 @@ func (newState *CreateBudgetConfigurationBudget) SyncEffectiveFieldsDuringCreate func (newState *CreateBudgetConfigurationBudget) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationBudget) { } +func (c CreateBudgetConfigurationBudget) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateBudgetConfigurationBudgetAlertConfigurations{}.ApplySchemaCustomizations(cs, append(path, "alert_configurations")...) + BudgetConfigurationFilter{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationBudget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -849,6 +908,11 @@ func (newState *CreateBudgetConfigurationBudgetActionConfigurations) SyncEffecti func (newState *CreateBudgetConfigurationBudgetActionConfigurations) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationBudgetActionConfigurations) { } +func (c CreateBudgetConfigurationBudgetActionConfigurations) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationBudgetActionConfigurations. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -905,6 +969,12 @@ func (newState *CreateBudgetConfigurationBudgetAlertConfigurations) SyncEffectiv func (newState *CreateBudgetConfigurationBudgetAlertConfigurations) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationBudgetAlertConfigurations) { } +func (c CreateBudgetConfigurationBudgetAlertConfigurations) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateBudgetConfigurationBudgetActionConfigurations{}.ApplySchemaCustomizations(cs, append(path, "action_configurations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationBudgetAlertConfigurations. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -985,6 +1055,13 @@ func (newState *CreateBudgetConfigurationRequest) SyncEffectiveFieldsDuringCreat func (newState *CreateBudgetConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationRequest) { } +func (c CreateBudgetConfigurationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "budget")...) + CreateBudgetConfigurationBudget{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1057,6 +1134,12 @@ func (newState *CreateBudgetConfigurationResponse) SyncEffectiveFieldsDuringCrea func (newState *CreateBudgetConfigurationResponse) SyncEffectiveFieldsDuringRead(existingState CreateBudgetConfigurationResponse) { } +func (c CreateBudgetConfigurationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1196,6 +1279,15 @@ func (newState *CreateLogDeliveryConfigurationParams) SyncEffectiveFieldsDuringC func (newState *CreateLogDeliveryConfigurationParams) SyncEffectiveFieldsDuringRead(existingState CreateLogDeliveryConfigurationParams) { } +func (c CreateLogDeliveryConfigurationParams) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credentials_id")...) + cs.SetRequired(append(path, "log_type")...) + cs.SetRequired(append(path, "output_format")...) + cs.SetRequired(append(path, "storage_configuration_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateLogDeliveryConfigurationParams. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1279,12 +1371,6 @@ type DeleteBudgetConfigurationRequest struct { BudgetId types.String `tfsdk:"-"` } -func (newState *DeleteBudgetConfigurationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteBudgetConfigurationRequest) { -} - -func (newState *DeleteBudgetConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteBudgetConfigurationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1325,6 +1411,11 @@ func (newState *DeleteBudgetConfigurationResponse) SyncEffectiveFieldsDuringCrea func (newState *DeleteBudgetConfigurationResponse) SyncEffectiveFieldsDuringRead(existingState DeleteBudgetConfigurationResponse) { } +func (c DeleteBudgetConfigurationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1366,12 +1457,6 @@ type DownloadRequest struct { StartMonth types.String `tfsdk:"-"` } -func (newState *DownloadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadRequest) { -} - -func (newState *DownloadRequest) SyncEffectiveFieldsDuringRead(existingState DownloadRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1411,12 +1496,6 @@ type DownloadResponse struct { Contents types.Object `tfsdk:"-"` } -func (newState *DownloadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadResponse) { -} - -func (newState *DownloadResponse) SyncEffectiveFieldsDuringRead(existingState DownloadResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1459,12 +1538,6 @@ type GetBillingUsageDashboardRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetBillingUsageDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetBillingUsageDashboardRequest) { -} - -func (newState *GetBillingUsageDashboardRequest) SyncEffectiveFieldsDuringRead(existingState GetBillingUsageDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBillingUsageDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1511,6 +1584,11 @@ func (newState *GetBillingUsageDashboardResponse) SyncEffectiveFieldsDuringCreat func (newState *GetBillingUsageDashboardResponse) SyncEffectiveFieldsDuringRead(existingState GetBillingUsageDashboardResponse) { } +func (c GetBillingUsageDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBillingUsageDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1550,12 +1628,6 @@ type GetBudgetConfigurationRequest struct { BudgetId types.String `tfsdk:"-"` } -func (newState *GetBudgetConfigurationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetBudgetConfigurationRequest) { -} - -func (newState *GetBudgetConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState GetBudgetConfigurationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1597,6 +1669,12 @@ func (newState *GetBudgetConfigurationResponse) SyncEffectiveFieldsDuringCreateO func (newState *GetBudgetConfigurationResponse) SyncEffectiveFieldsDuringRead(existingState GetBudgetConfigurationResponse) { } +func (c GetBudgetConfigurationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1664,12 +1742,6 @@ type GetLogDeliveryRequest struct { LogDeliveryConfigurationId types.String `tfsdk:"-"` } -func (newState *GetLogDeliveryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetLogDeliveryRequest) { -} - -func (newState *GetLogDeliveryRequest) SyncEffectiveFieldsDuringRead(existingState GetLogDeliveryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLogDeliveryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1709,12 +1781,6 @@ type ListBudgetConfigurationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListBudgetConfigurationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListBudgetConfigurationsRequest) { -} - -func (newState *ListBudgetConfigurationsRequest) SyncEffectiveFieldsDuringRead(existingState ListBudgetConfigurationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBudgetConfigurationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1759,6 +1825,12 @@ func (newState *ListBudgetConfigurationsResponse) SyncEffectiveFieldsDuringCreat func (newState *ListBudgetConfigurationsResponse) SyncEffectiveFieldsDuringRead(existingState ListBudgetConfigurationsResponse) { } +func (c ListBudgetConfigurationsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration{}.ApplySchemaCustomizations(cs, append(path, "budgets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListBudgetConfigurationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1832,12 +1904,6 @@ type ListLogDeliveryRequest struct { StorageConfigurationId types.String `tfsdk:"-"` } -func (newState *ListLogDeliveryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListLogDeliveryRequest) { -} - -func (newState *ListLogDeliveryRequest) SyncEffectiveFieldsDuringRead(existingState ListLogDeliveryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListLogDeliveryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1963,6 +2029,12 @@ func (newState *LogDeliveryConfiguration) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *LogDeliveryConfiguration) SyncEffectiveFieldsDuringRead(existingState LogDeliveryConfiguration) { } +func (c LogDeliveryConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogDeliveryStatus{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogDeliveryConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2108,6 +2180,11 @@ func (newState *LogDeliveryStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *LogDeliveryStatus) SyncEffectiveFieldsDuringRead(existingState LogDeliveryStatus) { } +func (c LogDeliveryStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogDeliveryStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2148,12 +2225,6 @@ func (o LogDeliveryStatus) Type(ctx context.Context) attr.Type { type PatchStatusResponse struct { } -func (newState *PatchStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchStatusResponse) { -} - -func (newState *PatchStatusResponse) SyncEffectiveFieldsDuringRead(existingState PatchStatusResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2204,6 +2275,13 @@ func (newState *UpdateBudgetConfigurationBudget) SyncEffectiveFieldsDuringCreate func (newState *UpdateBudgetConfigurationBudget) SyncEffectiveFieldsDuringRead(existingState UpdateBudgetConfigurationBudget) { } +func (c UpdateBudgetConfigurationBudget) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertConfiguration{}.ApplySchemaCustomizations(cs, append(path, "alert_configurations")...) + BudgetConfigurationFilter{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBudgetConfigurationBudget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2316,6 +2394,14 @@ func (newState *UpdateBudgetConfigurationRequest) SyncEffectiveFieldsDuringCreat func (newState *UpdateBudgetConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState UpdateBudgetConfigurationRequest) { } +func (c UpdateBudgetConfigurationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "budget")...) + UpdateBudgetConfigurationBudget{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + cs.SetRequired(append(path, "budget_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBudgetConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2390,6 +2476,12 @@ func (newState *UpdateBudgetConfigurationResponse) SyncEffectiveFieldsDuringCrea func (newState *UpdateBudgetConfigurationResponse) SyncEffectiveFieldsDuringRead(existingState UpdateBudgetConfigurationResponse) { } +func (c UpdateBudgetConfigurationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BudgetConfiguration{}.ApplySchemaCustomizations(cs, append(path, "budget")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateBudgetConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2468,6 +2560,13 @@ func (newState *UpdateLogDeliveryConfigurationStatusRequest) SyncEffectiveFields func (newState *UpdateLogDeliveryConfigurationStatusRequest) SyncEffectiveFieldsDuringRead(existingState UpdateLogDeliveryConfigurationStatusRequest) { } +func (c UpdateLogDeliveryConfigurationStatusRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "log_delivery_configuration_id")...) + cs.SetRequired(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateLogDeliveryConfigurationStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2511,6 +2610,12 @@ func (newState *WrappedCreateLogDeliveryConfiguration) SyncEffectiveFieldsDuring func (newState *WrappedCreateLogDeliveryConfiguration) SyncEffectiveFieldsDuringRead(existingState WrappedCreateLogDeliveryConfiguration) { } +func (c WrappedCreateLogDeliveryConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateLogDeliveryConfigurationParams{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WrappedCreateLogDeliveryConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2582,6 +2687,12 @@ func (newState *WrappedLogDeliveryConfiguration) SyncEffectiveFieldsDuringCreate func (newState *WrappedLogDeliveryConfiguration) SyncEffectiveFieldsDuringRead(existingState WrappedLogDeliveryConfiguration) { } +func (c WrappedLogDeliveryConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogDeliveryConfiguration{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WrappedLogDeliveryConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2653,6 +2764,12 @@ func (newState *WrappedLogDeliveryConfigurations) SyncEffectiveFieldsDuringCreat func (newState *WrappedLogDeliveryConfigurations) SyncEffectiveFieldsDuringRead(existingState WrappedLogDeliveryConfigurations) { } +func (c WrappedLogDeliveryConfigurations) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogDeliveryConfiguration{}.ApplySchemaCustomizations(cs, append(path, "log_delivery_configurations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WrappedLogDeliveryConfigurations. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/catalog_tf/legacy_model.go b/internal/service/catalog_tf/legacy_model.go index e9f275dfa..4582cb86f 100755 --- a/internal/service/catalog_tf/legacy_model.go +++ b/internal/service/catalog_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -31,6 +32,12 @@ func (newState *AccountsCreateMetastore_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *AccountsCreateMetastore_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsCreateMetastore_SdkV2) { } +func (c AccountsCreateMetastore_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateMetastore_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastore_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsCreateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -106,6 +113,14 @@ func (newState *AccountsCreateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuri func (newState *AccountsCreateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsCreateMetastoreAssignment_SdkV2) { } +func (c AccountsCreateMetastoreAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateMetastoreAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastore_assignment")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsCreateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -183,6 +198,13 @@ func (newState *AccountsCreateStorageCredential_SdkV2) SyncEffectiveFieldsDuring func (newState *AccountsCreateStorageCredential_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsCreateStorageCredential_SdkV2) { } +func (c AccountsCreateStorageCredential_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateStorageCredential_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "credential_info")...) + cs.SetRequired(append(path, "metastore_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsCreateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -256,6 +278,12 @@ func (newState *AccountsMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *AccountsMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsMetastoreAssignment_SdkV2) { } +func (c AccountsMetastoreAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MetastoreAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastore_assignment")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -327,6 +355,12 @@ func (newState *AccountsMetastoreInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *AccountsMetastoreInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsMetastoreInfo_SdkV2) { } +func (c AccountsMetastoreInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MetastoreInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastore_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsMetastoreInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -398,6 +432,12 @@ func (newState *AccountsStorageCredentialInfo_SdkV2) SyncEffectiveFieldsDuringCr func (newState *AccountsStorageCredentialInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsStorageCredentialInfo_SdkV2) { } +func (c AccountsStorageCredentialInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StorageCredentialInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "credential_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsStorageCredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -472,6 +512,13 @@ func (newState *AccountsUpdateMetastore_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *AccountsUpdateMetastore_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsUpdateMetastore_SdkV2) { } +func (c AccountsUpdateMetastore_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "metastore_id")...) + UpdateMetastore_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastore_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsUpdateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -549,6 +596,14 @@ func (newState *AccountsUpdateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuri func (newState *AccountsUpdateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsUpdateMetastoreAssignment_SdkV2) { } +func (c AccountsUpdateMetastoreAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateMetastoreAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastore_assignment")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsUpdateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -628,6 +683,14 @@ func (newState *AccountsUpdateStorageCredential_SdkV2) SyncEffectiveFieldsDuring func (newState *AccountsUpdateStorageCredential_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccountsUpdateStorageCredential_SdkV2) { } +func (c AccountsUpdateStorageCredential_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateStorageCredential_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "credential_info")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "storage_credential_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsUpdateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -710,6 +773,12 @@ func (newState *ArtifactAllowlistInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ArtifactAllowlistInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ArtifactAllowlistInfo_SdkV2) { } +func (c ArtifactAllowlistInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ArtifactMatcher_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "artifact_matchers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ArtifactAllowlistInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -790,6 +859,13 @@ func (newState *ArtifactMatcher_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ArtifactMatcher_SdkV2) SyncEffectiveFieldsDuringRead(existingState ArtifactMatcher_SdkV2) { } +func (c ArtifactMatcher_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "artifact")...) + cs.SetRequired(append(path, "match_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ArtifactMatcher. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -826,12 +902,6 @@ func (o ArtifactMatcher_SdkV2) Type(ctx context.Context) attr.Type { type AssignResponse_SdkV2 struct { } -func (newState *AssignResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AssignResponse_SdkV2) { -} - -func (newState *AssignResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AssignResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in AssignResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -880,6 +950,11 @@ func (newState *AwsCredentials_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AwsCredentials_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsCredentials_SdkV2) { } +func (c AwsCredentials_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -936,6 +1011,13 @@ func (newState *AwsIamRole_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan A func (newState *AwsIamRole_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsIamRole_SdkV2) { } +func (c AwsIamRole_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "external_id")...) + cs.SetComputed(append(path, "unity_catalog_iam_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsIamRole. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -982,6 +1064,12 @@ func (newState *AwsIamRoleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AwsIamRoleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsIamRoleRequest_SdkV2) { } +func (c AwsIamRoleRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "role_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsIamRoleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1030,6 +1118,12 @@ func (newState *AwsIamRoleResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AwsIamRoleResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsIamRoleResponse_SdkV2) { } +func (c AwsIamRoleResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "role_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsIamRoleResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1080,6 +1174,11 @@ func (newState *AzureActiveDirectoryToken_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *AzureActiveDirectoryToken_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureActiveDirectoryToken_SdkV2) { } +func (c AzureActiveDirectoryToken_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureActiveDirectoryToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1137,6 +1236,12 @@ func (newState *AzureManagedIdentity_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *AzureManagedIdentity_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureManagedIdentity_SdkV2) { } +func (c AzureManagedIdentity_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_connector_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureManagedIdentity. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1192,6 +1297,12 @@ func (newState *AzureManagedIdentityRequest_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *AzureManagedIdentityRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureManagedIdentityRequest_SdkV2) { } +func (c AzureManagedIdentityRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_connector_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureManagedIdentityRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1247,6 +1358,12 @@ func (newState *AzureManagedIdentityResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *AzureManagedIdentityResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureManagedIdentityResponse_SdkV2) { } +func (c AzureManagedIdentityResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_connector_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureManagedIdentityResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1301,6 +1418,14 @@ func (newState *AzureServicePrincipal_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *AzureServicePrincipal_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureServicePrincipal_SdkV2) { } +func (c AzureServicePrincipal_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "application_id")...) + cs.SetRequired(append(path, "client_secret")...) + cs.SetRequired(append(path, "directory_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureServicePrincipal. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1349,6 +1474,11 @@ func (newState *AzureUserDelegationSas_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *AzureUserDelegationSas_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureUserDelegationSas_SdkV2) { } +func (c AzureUserDelegationSas_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureUserDelegationSas. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1388,12 +1518,6 @@ type CancelRefreshRequest_SdkV2 struct { TableName types.String `tfsdk:"-"` } -func (newState *CancelRefreshRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRefreshRequest_SdkV2) { -} - -func (newState *CancelRefreshRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelRefreshRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRefreshRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1430,12 +1554,6 @@ func (o CancelRefreshRequest_SdkV2) Type(ctx context.Context) attr.Type { type CancelRefreshResponse_SdkV2 struct { } -func (newState *CancelRefreshResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRefreshResponse_SdkV2) { -} - -func (newState *CancelRefreshResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelRefreshResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRefreshResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1527,6 +1645,13 @@ func (newState *CatalogInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CatalogInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CatalogInfo_SdkV2) { } +func (c CatalogInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePredictiveOptimizationFlag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "effective_predictive_optimization_flag")...) + ProvisioningInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provisioning_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1736,6 +1861,14 @@ func (newState *CloudflareApiToken_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CloudflareApiToken_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloudflareApiToken_SdkV2) { } +func (c CloudflareApiToken_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_key_id")...) + cs.SetRequired(append(path, "account_id")...) + cs.SetRequired(append(path, "secret_access_key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloudflareApiToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1804,6 +1937,12 @@ func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ColumnInfo_SdkV2) { } +func (c ColumnInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnMask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1903,6 +2042,11 @@ func (newState *ColumnMask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *ColumnMask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ColumnMask_SdkV2) { } +func (c ColumnMask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnMask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2014,6 +2158,12 @@ func (newState *ConnectionInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ConnectionInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ConnectionInfo_SdkV2) { } +func (c ConnectionInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProvisioningInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provisioning_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ConnectionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2189,6 +2339,12 @@ func (newState *ContinuousUpdateStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ContinuousUpdateStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState ContinuousUpdateStatus_SdkV2) { } +func (c ContinuousUpdateStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineProgress_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "initial_pipeline_sync_progress")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContinuousUpdateStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2282,6 +2438,12 @@ func (newState *CreateCatalog_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateCatalog_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCatalog_SdkV2) { } +func (c CreateCatalog_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCatalog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2408,6 +2570,14 @@ func (newState *CreateConnection_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateConnection_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateConnection_SdkV2) { } +func (c CreateConnection_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "connection_type")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateConnection. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2540,6 +2710,16 @@ func (newState *CreateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCredentialRequest_SdkV2) { } +func (c CreateCredentialRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + DatabricksGcpServiceAccount_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // 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 @@ -2734,6 +2914,15 @@ func (newState *CreateExternalLocation_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateExternalLocation_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExternalLocation_SdkV2) { } +func (c CreateExternalLocation_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_name")...) + EncryptionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExternalLocation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2866,6 +3055,28 @@ func (newState *CreateFunction_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateFunction_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateFunction_SdkV2) { } +func (c CreateFunction_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "data_type")...) + cs.SetRequired(append(path, "full_data_type")...) + cs.SetRequired(append(path, "input_params")...) + FunctionParameterInfos_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "input_params")...) + cs.SetRequired(append(path, "is_deterministic")...) + cs.SetRequired(append(path, "is_null_call")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "parameter_style")...) + FunctionParameterInfos_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "return_params")...) + cs.SetRequired(append(path, "routine_body")...) + cs.SetRequired(append(path, "routine_definition")...) + DependencyList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "routine_dependencies")...) + cs.SetRequired(append(path, "schema_name")...) + cs.SetRequired(append(path, "security_type")...) + cs.SetRequired(append(path, "specific_name")...) + cs.SetRequired(append(path, "sql_data_access")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFunction. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3036,6 +3247,13 @@ func (newState *CreateFunctionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateFunctionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateFunctionRequest_SdkV2) { } +func (c CreateFunctionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "function_info")...) + CreateFunction_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "function_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFunctionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3115,6 +3333,12 @@ func (newState *CreateMetastore_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateMetastore_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateMetastore_SdkV2) { } +func (c CreateMetastore_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3167,6 +3391,14 @@ func (newState *CreateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *CreateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateMetastoreAssignment_SdkV2) { } +func (c CreateMetastoreAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "default_catalog_name")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3249,6 +3481,21 @@ func (newState *CreateMonitor_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateMonitor_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateMonitor_SdkV2) { } +func (c CreateMonitor_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "assets_dir")...) + MonitorMetric_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "custom_metrics")...) + MonitorDataClassificationConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_classification_config")...) + MonitorInferenceLog_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "inference_log")...) + MonitorNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + cs.SetRequired(append(path, "output_schema_name")...) + MonitorCronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + MonitorSnapshot_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "snapshot")...) + cs.SetRequired(append(path, "table_name")...) + MonitorTimeSeries_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "time_series")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMonitor. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3545,12 +3792,6 @@ type CreateOnlineTableRequest_SdkV2 struct { Table types.List `tfsdk:"table" tf:"optional,object"` } -func (newState *CreateOnlineTableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateOnlineTableRequest_SdkV2) { -} - -func (newState *CreateOnlineTableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateOnlineTableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateOnlineTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3632,6 +3873,14 @@ func (newState *CreateRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *CreateRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRegisteredModelRequest_SdkV2) { } +func (c CreateRegisteredModelRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "schema_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3674,12 +3923,6 @@ func (o CreateRegisteredModelRequest_SdkV2) Type(ctx context.Context) attr.Type type CreateResponse_SdkV2 struct { } -func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse_SdkV2) { -} - -func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3726,6 +3969,13 @@ func (newState *CreateSchema_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateSchema_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateSchema_SdkV2) { } +func (c CreateSchema_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3823,6 +4073,17 @@ func (newState *CreateStorageCredential_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateStorageCredential_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateStorageCredential_SdkV2) { } +func (c CreateStorageCredential_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4031,6 +4292,14 @@ func (newState *CreateTableConstraint_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateTableConstraint_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateTableConstraint_SdkV2) { } +func (c CreateTableConstraint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "constraint")...) + TableConstraint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "constraint")...) + cs.SetRequired(append(path, "full_name_arg")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTableConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4115,6 +4384,15 @@ func (newState *CreateVolumeRequestContent_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CreateVolumeRequestContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVolumeRequestContent_SdkV2) { } +func (c CreateVolumeRequestContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "schema_name")...) + cs.SetRequired(append(path, "volume_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVolumeRequestContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4207,6 +4485,15 @@ func (newState *CredentialInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CredentialInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CredentialInfo_SdkV2) { } +func (c CredentialInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + DatabricksGcpServiceAccount_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4402,6 +4689,11 @@ func (newState *CredentialValidationResult_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CredentialValidationResult_SdkV2) SyncEffectiveFieldsDuringRead(existingState CredentialValidationResult_SdkV2) { } +func (c CredentialValidationResult_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CredentialValidationResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4447,6 +4739,11 @@ func (newState *CurrentWorkspaceBindings_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *CurrentWorkspaceBindings_SdkV2) SyncEffectiveFieldsDuringRead(existingState CurrentWorkspaceBindings_SdkV2) { } +func (c CurrentWorkspaceBindings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CurrentWorkspaceBindings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4528,6 +4825,11 @@ func (newState *DatabricksGcpServiceAccount_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *DatabricksGcpServiceAccount_SdkV2) SyncEffectiveFieldsDuringRead(existingState DatabricksGcpServiceAccount_SdkV2) { } +func (c DatabricksGcpServiceAccount_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksGcpServiceAccount. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4572,6 +4874,11 @@ func (newState *DatabricksGcpServiceAccountRequest_SdkV2) SyncEffectiveFieldsDur func (newState *DatabricksGcpServiceAccountRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DatabricksGcpServiceAccountRequest_SdkV2) { } +func (c DatabricksGcpServiceAccountRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksGcpServiceAccountRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4613,6 +4920,11 @@ func (newState *DatabricksGcpServiceAccountResponse_SdkV2) SyncEffectiveFieldsDu func (newState *DatabricksGcpServiceAccountResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DatabricksGcpServiceAccountResponse_SdkV2) { } +func (c DatabricksGcpServiceAccountResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksGcpServiceAccountResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4654,12 +4966,6 @@ type DeleteAccountMetastoreAssignmentRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *DeleteAccountMetastoreAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountMetastoreAssignmentRequest_SdkV2) { -} - -func (newState *DeleteAccountMetastoreAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountMetastoreAssignmentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountMetastoreAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4701,12 +5007,6 @@ type DeleteAccountMetastoreRequest_SdkV2 struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *DeleteAccountMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountMetastoreRequest_SdkV2) { -} - -func (newState *DeleteAccountMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountMetastoreRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4751,12 +5051,6 @@ type DeleteAccountStorageCredentialRequest_SdkV2 struct { StorageCredentialName types.String `tfsdk:"-"` } -func (newState *DeleteAccountStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountStorageCredentialRequest_SdkV2) { -} - -func (newState *DeleteAccountStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountStorageCredentialRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4800,12 +5094,6 @@ type DeleteAliasRequest_SdkV2 struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteAliasRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAliasRequest_SdkV2) { -} - -func (newState *DeleteAliasRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAliasRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAliasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4842,12 +5130,6 @@ func (o DeleteAliasRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteAliasResponse_SdkV2 struct { } -func (newState *DeleteAliasResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAliasResponse_SdkV2) { -} - -func (newState *DeleteAliasResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAliasResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAliasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4883,12 +5165,6 @@ type DeleteCatalogRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteCatalogRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCatalogRequest_SdkV2) { -} - -func (newState *DeleteCatalogRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCatalogRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCatalogRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4928,12 +5204,6 @@ type DeleteConnectionRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteConnectionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteConnectionRequest_SdkV2) { -} - -func (newState *DeleteConnectionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteConnectionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteConnectionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4975,12 +5245,6 @@ type DeleteCredentialRequest_SdkV2 struct { NameArg types.String `tfsdk:"-"` } -func (newState *DeleteCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialRequest_SdkV2) { -} - -func (newState *DeleteCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialRequest_SdkV2) { -} - // 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 @@ -5023,6 +5287,11 @@ func (newState *DeleteCredentialResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *DeleteCredentialResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialResponse_SdkV2) { } +func (c DeleteCredentialResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5058,12 +5327,6 @@ type DeleteExternalLocationRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteExternalLocationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExternalLocationRequest_SdkV2) { -} - -func (newState *DeleteExternalLocationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExternalLocationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExternalLocationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5106,12 +5369,6 @@ type DeleteFunctionRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteFunctionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFunctionRequest_SdkV2) { -} - -func (newState *DeleteFunctionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteFunctionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFunctionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5153,12 +5410,6 @@ type DeleteMetastoreRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteMetastoreRequest_SdkV2) { -} - -func (newState *DeleteMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteMetastoreRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5200,12 +5451,6 @@ type DeleteModelVersionRequest_SdkV2 struct { Version types.Int64 `tfsdk:"-"` } -func (newState *DeleteModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionRequest_SdkV2) { -} - -func (newState *DeleteModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5245,12 +5490,6 @@ type DeleteOnlineTableRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteOnlineTableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteOnlineTableRequest_SdkV2) { -} - -func (newState *DeleteOnlineTableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteOnlineTableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteOnlineTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5288,12 +5527,6 @@ type DeleteQualityMonitorRequest_SdkV2 struct { TableName types.String `tfsdk:"-"` } -func (newState *DeleteQualityMonitorRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteQualityMonitorRequest_SdkV2) { -} - -func (newState *DeleteQualityMonitorRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteQualityMonitorRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteQualityMonitorRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5331,12 +5564,6 @@ type DeleteRegisteredModelRequest_SdkV2 struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRegisteredModelRequest_SdkV2) { -} - -func (newState *DeleteRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRegisteredModelRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5371,12 +5598,6 @@ func (o DeleteRegisteredModelRequest_SdkV2) Type(ctx context.Context) attr.Type type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -5412,12 +5633,6 @@ type DeleteSchemaRequest_SdkV2 struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteSchemaRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSchemaRequest_SdkV2) { -} - -func (newState *DeleteSchemaRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteSchemaRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSchemaRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5460,12 +5675,6 @@ type DeleteStorageCredentialRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteStorageCredentialRequest_SdkV2) { -} - -func (newState *DeleteStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteStorageCredentialRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5511,12 +5720,6 @@ type DeleteTableConstraintRequest_SdkV2 struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteTableConstraintRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTableConstraintRequest_SdkV2) { -} - -func (newState *DeleteTableConstraintRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTableConstraintRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTableConstraintRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5558,12 +5761,6 @@ type DeleteTableRequest_SdkV2 struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteTableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTableRequest_SdkV2) { -} - -func (newState *DeleteTableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5601,12 +5798,6 @@ type DeleteVolumeRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteVolumeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVolumeRequest_SdkV2) { -} - -func (newState *DeleteVolumeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteVolumeRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteVolumeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5652,6 +5843,12 @@ func (newState *DeltaRuntimePropertiesKvPairs_SdkV2) SyncEffectiveFieldsDuringCr func (newState *DeltaRuntimePropertiesKvPairs_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeltaRuntimePropertiesKvPairs_SdkV2) { } +func (c DeltaRuntimePropertiesKvPairs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "delta_runtime_properties")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaRuntimePropertiesKvPairs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5728,6 +5925,13 @@ func (newState *Dependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan D func (newState *Dependency_SdkV2) SyncEffectiveFieldsDuringRead(existingState Dependency_SdkV2) { } +func (c Dependency_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionDependency_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "function")...) + TableDependency_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5832,6 +6036,12 @@ func (newState *DependencyList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DependencyList_SdkV2) SyncEffectiveFieldsDuringRead(existingState DependencyList_SdkV2) { } +func (c DependencyList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Dependency_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DependencyList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5901,12 +6111,6 @@ type DisableRequest_SdkV2 struct { SchemaName types.String `tfsdk:"-"` } -func (newState *DisableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DisableRequest_SdkV2) { -} - -func (newState *DisableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DisableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5943,12 +6147,6 @@ func (o DisableRequest_SdkV2) Type(ctx context.Context) attr.Type { type DisableResponse_SdkV2 struct { } -func (newState *DisableResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DisableResponse_SdkV2) { -} - -func (newState *DisableResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DisableResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5988,6 +6186,12 @@ func (newState *EffectivePermissionsList_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *EffectivePermissionsList_SdkV2) SyncEffectiveFieldsDuringRead(existingState EffectivePermissionsList_SdkV2) { } +func (c EffectivePermissionsList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePrivilegeAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "privilege_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePermissionsList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6067,6 +6271,12 @@ func (newState *EffectivePredictiveOptimizationFlag_SdkV2) SyncEffectiveFieldsDu func (newState *EffectivePredictiveOptimizationFlag_SdkV2) SyncEffectiveFieldsDuringRead(existingState EffectivePredictiveOptimizationFlag_SdkV2) { } +func (c EffectivePredictiveOptimizationFlag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePredictiveOptimizationFlag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6121,6 +6331,11 @@ func (newState *EffectivePrivilege_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *EffectivePrivilege_SdkV2) SyncEffectiveFieldsDuringRead(existingState EffectivePrivilege_SdkV2) { } +func (c EffectivePrivilege_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePrivilege. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6170,6 +6385,12 @@ func (newState *EffectivePrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringCre func (newState *EffectivePrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState EffectivePrivilegeAssignment_SdkV2) { } +func (c EffectivePrivilegeAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePrivilege_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "privileges")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6241,12 +6462,6 @@ type EnableRequest_SdkV2 struct { SchemaName types.String `tfsdk:"-"` } -func (newState *EnableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnableRequest_SdkV2) { -} - -func (newState *EnableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6283,12 +6498,6 @@ func (o EnableRequest_SdkV2) Type(ctx context.Context) attr.Type { type EnableResponse_SdkV2 struct { } -func (newState *EnableResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnableResponse_SdkV2) { -} - -func (newState *EnableResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnableResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnableResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6328,6 +6537,12 @@ func (newState *EncryptionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *EncryptionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState EncryptionDetails_SdkV2) { } +func (c EncryptionDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SseEncryptionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sse_encryption_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EncryptionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6395,12 +6610,6 @@ type ExistsRequest_SdkV2 struct { FullName types.String `tfsdk:"-"` } -func (newState *ExistsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExistsRequest_SdkV2) { -} - -func (newState *ExistsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExistsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExistsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6480,6 +6689,12 @@ func (newState *ExternalLocationInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ExternalLocationInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExternalLocationInfo_SdkV2) { } +func (c ExternalLocationInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EncryptionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalLocationInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6593,6 +6808,11 @@ func (newState *FailedStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *FailedStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState FailedStatus_SdkV2) { } +func (c FailedStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FailedStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6643,6 +6863,15 @@ func (newState *ForeignKeyConstraint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ForeignKeyConstraint_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForeignKeyConstraint_SdkV2) { } +func (c ForeignKeyConstraint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "child_columns")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "parent_columns")...) + cs.SetRequired(append(path, "parent_table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForeignKeyConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6752,6 +6981,12 @@ func (newState *FunctionDependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *FunctionDependency_SdkV2) SyncEffectiveFieldsDuringRead(existingState FunctionDependency_SdkV2) { } +func (c FunctionDependency_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "function_full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionDependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6859,6 +7094,14 @@ func (newState *FunctionInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *FunctionInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState FunctionInfo_SdkV2) { } +func (c FunctionInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionParameterInfos_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "input_params")...) + FunctionParameterInfos_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "return_params")...) + DependencyList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "routine_dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7069,6 +7312,15 @@ func (newState *FunctionParameterInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *FunctionParameterInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState FunctionParameterInfo_SdkV2) { } +func (c FunctionParameterInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "position")...) + cs.SetRequired(append(path, "type_name")...) + cs.SetRequired(append(path, "type_text")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionParameterInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7134,6 +7386,12 @@ func (newState *FunctionParameterInfos_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *FunctionParameterInfos_SdkV2) SyncEffectiveFieldsDuringRead(existingState FunctionParameterInfos_SdkV2) { } +func (c FunctionParameterInfos_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionParameterInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionParameterInfos. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7207,6 +7465,11 @@ func (newState *GcpOauthToken_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *GcpOauthToken_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpOauthToken_SdkV2) { } +func (c GcpOauthToken_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpOauthToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7252,6 +7515,11 @@ func (newState *GenerateTemporaryServiceCredentialAzureOptions_SdkV2) SyncEffect func (newState *GenerateTemporaryServiceCredentialAzureOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryServiceCredentialAzureOptions_SdkV2) { } +func (c GenerateTemporaryServiceCredentialAzureOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryServiceCredentialAzureOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7327,6 +7595,11 @@ func (newState *GenerateTemporaryServiceCredentialGcpOptions_SdkV2) SyncEffectiv func (newState *GenerateTemporaryServiceCredentialGcpOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryServiceCredentialGcpOptions_SdkV2) { } +func (c GenerateTemporaryServiceCredentialGcpOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryServiceCredentialGcpOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7404,6 +7677,14 @@ func (newState *GenerateTemporaryServiceCredentialRequest_SdkV2) SyncEffectiveFi func (newState *GenerateTemporaryServiceCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryServiceCredentialRequest_SdkV2) { } +func (c GenerateTemporaryServiceCredentialRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GenerateTemporaryServiceCredentialAzureOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_options")...) + cs.SetRequired(append(path, "credential_name")...) + GenerateTemporaryServiceCredentialGcpOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryServiceCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7513,6 +7794,11 @@ func (newState *GenerateTemporaryTableCredentialRequest_SdkV2) SyncEffectiveFiel func (newState *GenerateTemporaryTableCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryTableCredentialRequest_SdkV2) { } +func (c GenerateTemporaryTableCredentialRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryTableCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7576,6 +7862,16 @@ func (newState *GenerateTemporaryTableCredentialResponse_SdkV2) SyncEffectiveFie func (newState *GenerateTemporaryTableCredentialResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryTableCredentialResponse_SdkV2) { } +func (c GenerateTemporaryTableCredentialResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsCredentials_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_temp_credentials")...) + AzureActiveDirectoryToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_aad")...) + AzureUserDelegationSas_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_user_delegation_sas")...) + GcpOauthToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_oauth_token")...) + R2Credentials_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "r2_temp_credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryTableCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7771,12 +8067,6 @@ type GetAccountMetastoreAssignmentRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetAccountMetastoreAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountMetastoreAssignmentRequest_SdkV2) { -} - -func (newState *GetAccountMetastoreAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountMetastoreAssignmentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountMetastoreAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7814,12 +8104,6 @@ type GetAccountMetastoreRequest_SdkV2 struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *GetAccountMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountMetastoreRequest_SdkV2) { -} - -func (newState *GetAccountMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountMetastoreRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7859,12 +8143,6 @@ type GetAccountStorageCredentialRequest_SdkV2 struct { StorageCredentialName types.String `tfsdk:"-"` } -func (newState *GetAccountStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountStorageCredentialRequest_SdkV2) { -} - -func (newState *GetAccountStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountStorageCredentialRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7904,12 +8182,6 @@ type GetArtifactAllowlistRequest_SdkV2 struct { ArtifactType types.String `tfsdk:"-"` } -func (newState *GetArtifactAllowlistRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetArtifactAllowlistRequest_SdkV2) { -} - -func (newState *GetArtifactAllowlistRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetArtifactAllowlistRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetArtifactAllowlistRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7958,12 +8230,6 @@ type GetBindingsRequest_SdkV2 struct { SecurableType types.String `tfsdk:"-"` } -func (newState *GetBindingsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetBindingsRequest_SdkV2) { -} - -func (newState *GetBindingsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetBindingsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBindingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8012,12 +8278,6 @@ type GetByAliasRequest_SdkV2 struct { IncludeAliases types.Bool `tfsdk:"-"` } -func (newState *GetByAliasRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetByAliasRequest_SdkV2) { -} - -func (newState *GetByAliasRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetByAliasRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetByAliasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8062,12 +8322,6 @@ type GetCatalogRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetCatalogRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCatalogRequest_SdkV2) { -} - -func (newState *GetCatalogRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCatalogRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCatalogRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8107,12 +8361,6 @@ type GetConnectionRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetConnectionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetConnectionRequest_SdkV2) { -} - -func (newState *GetConnectionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetConnectionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetConnectionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8150,12 +8398,6 @@ type GetCredentialRequest_SdkV2 struct { NameArg types.String `tfsdk:"-"` } -func (newState *GetCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialRequest_SdkV2) { -} - -func (newState *GetCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCredentialRequest_SdkV2) { -} - // 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 @@ -8198,12 +8440,6 @@ type GetEffectiveRequest_SdkV2 struct { SecurableType types.String `tfsdk:"-"` } -func (newState *GetEffectiveRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEffectiveRequest_SdkV2) { -} - -func (newState *GetEffectiveRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEffectiveRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEffectiveRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8248,12 +8484,6 @@ type GetExternalLocationRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetExternalLocationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExternalLocationRequest_SdkV2) { -} - -func (newState *GetExternalLocationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExternalLocationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExternalLocationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8297,12 +8527,6 @@ type GetFunctionRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetFunctionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetFunctionRequest_SdkV2) { -} - -func (newState *GetFunctionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetFunctionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetFunctionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8347,12 +8571,6 @@ type GetGrantRequest_SdkV2 struct { SecurableType types.String `tfsdk:"-"` } -func (newState *GetGrantRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGrantRequest_SdkV2) { -} - -func (newState *GetGrantRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetGrantRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGrantRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8394,12 +8612,6 @@ type GetMetastoreRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetastoreRequest_SdkV2) { -} - -func (newState *GetMetastoreRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetMetastoreRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8482,6 +8694,11 @@ func (newState *GetMetastoreSummaryResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *GetMetastoreSummaryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetMetastoreSummaryResponse_SdkV2) { } +func (c GetMetastoreSummaryResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetastoreSummaryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8563,12 +8780,6 @@ type GetModelVersionRequest_SdkV2 struct { Version types.Int64 `tfsdk:"-"` } -func (newState *GetModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionRequest_SdkV2) { -} - -func (newState *GetModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelVersionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8612,12 +8823,6 @@ type GetOnlineTableRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetOnlineTableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOnlineTableRequest_SdkV2) { -} - -func (newState *GetOnlineTableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetOnlineTableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOnlineTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8655,12 +8860,6 @@ type GetQualityMonitorRequest_SdkV2 struct { TableName types.String `tfsdk:"-"` } -func (newState *GetQualityMonitorRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQualityMonitorRequest_SdkV2) { -} - -func (newState *GetQualityMonitorRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetQualityMonitorRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQualityMonitorRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8704,12 +8903,6 @@ type GetQuotaRequest_SdkV2 struct { QuotaName types.String `tfsdk:"-"` } -func (newState *GetQuotaRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQuotaRequest_SdkV2) { -} - -func (newState *GetQuotaRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetQuotaRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQuotaRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8756,6 +8949,12 @@ func (newState *GetQuotaResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *GetQuotaResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetQuotaResponse_SdkV2) { } +func (c GetQuotaResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuotaInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "quota_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQuotaResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8825,12 +9024,6 @@ type GetRefreshRequest_SdkV2 struct { TableName types.String `tfsdk:"-"` } -func (newState *GetRefreshRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRefreshRequest_SdkV2) { -} - -func (newState *GetRefreshRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRefreshRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRefreshRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8875,12 +9068,6 @@ type GetRegisteredModelRequest_SdkV2 struct { IncludeBrowse types.Bool `tfsdk:"-"` } -func (newState *GetRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelRequest_SdkV2) { -} - -func (newState *GetRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8925,12 +9112,6 @@ type GetSchemaRequest_SdkV2 struct { IncludeBrowse types.Bool `tfsdk:"-"` } -func (newState *GetSchemaRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSchemaRequest_SdkV2) { -} - -func (newState *GetSchemaRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSchemaRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSchemaRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8970,12 +9151,6 @@ type GetStorageCredentialRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStorageCredentialRequest_SdkV2) { -} - -func (newState *GetStorageCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStorageCredentialRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9020,12 +9195,6 @@ type GetTableRequest_SdkV2 struct { IncludeManifestCapabilities types.Bool `tfsdk:"-"` } -func (newState *GetTableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetTableRequest_SdkV2) { -} - -func (newState *GetTableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetTableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9069,12 +9238,6 @@ type GetWorkspaceBindingRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetWorkspaceBindingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceBindingRequest_SdkV2) { -} - -func (newState *GetWorkspaceBindingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceBindingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceBindingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9112,12 +9275,6 @@ type ListAccountMetastoreAssignmentsRequest_SdkV2 struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *ListAccountMetastoreAssignmentsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountMetastoreAssignmentsRequest_SdkV2) { -} - -func (newState *ListAccountMetastoreAssignmentsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountMetastoreAssignmentsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountMetastoreAssignmentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9160,6 +9317,11 @@ func (newState *ListAccountMetastoreAssignmentsResponse_SdkV2) SyncEffectiveFiel func (newState *ListAccountMetastoreAssignmentsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountMetastoreAssignmentsResponse_SdkV2) { } +func (c ListAccountMetastoreAssignmentsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountMetastoreAssignmentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9227,12 +9389,6 @@ type ListAccountStorageCredentialsRequest_SdkV2 struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *ListAccountStorageCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountStorageCredentialsRequest_SdkV2) { -} - -func (newState *ListAccountStorageCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountStorageCredentialsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountStorageCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9275,6 +9431,12 @@ func (newState *ListAccountStorageCredentialsResponse_SdkV2) SyncEffectiveFields func (newState *ListAccountStorageCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountStorageCredentialsResponse_SdkV2) { } +func (c ListAccountStorageCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StorageCredentialInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "storage_credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountStorageCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9355,12 +9517,6 @@ type ListCatalogsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCatalogsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCatalogsRequest_SdkV2) { -} - -func (newState *ListCatalogsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCatalogsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCatalogsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9411,6 +9567,12 @@ func (newState *ListCatalogsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListCatalogsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCatalogsResponse_SdkV2) { } +func (c ListCatalogsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CatalogInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "catalogs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCatalogsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9487,12 +9649,6 @@ type ListConnectionsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListConnectionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListConnectionsRequest_SdkV2) { -} - -func (newState *ListConnectionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListConnectionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListConnectionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9541,6 +9697,12 @@ func (newState *ListConnectionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ListConnectionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListConnectionsResponse_SdkV2) { } +func (c ListConnectionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ConnectionInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "connections")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListConnectionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9618,12 +9780,6 @@ type ListCredentialsRequest_SdkV2 struct { Purpose types.String `tfsdk:"-"` } -func (newState *ListCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCredentialsRequest_SdkV2) { -} - -func (newState *ListCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCredentialsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9673,6 +9829,12 @@ func (newState *ListCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ListCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCredentialsResponse_SdkV2) { } +func (c ListCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CredentialInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9752,12 +9914,6 @@ type ListExternalLocationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExternalLocationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExternalLocationsRequest_SdkV2) { -} - -func (newState *ListExternalLocationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExternalLocationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExternalLocationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9808,6 +9964,12 @@ func (newState *ListExternalLocationsResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *ListExternalLocationsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExternalLocationsResponse_SdkV2) { } +func (c ListExternalLocationsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalLocationInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "external_locations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExternalLocationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9891,12 +10053,6 @@ type ListFunctionsRequest_SdkV2 struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListFunctionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListFunctionsRequest_SdkV2) { -} - -func (newState *ListFunctionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFunctionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFunctionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9951,6 +10107,12 @@ func (newState *ListFunctionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListFunctionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFunctionsResponse_SdkV2) { } +func (c ListFunctionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "functions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFunctionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10025,6 +10187,12 @@ func (newState *ListMetastoresResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ListMetastoresResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListMetastoresResponse_SdkV2) { } +func (c ListMetastoresResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MetastoreInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metastores")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListMetastoresResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10106,12 +10274,6 @@ type ListModelVersionsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListModelVersionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListModelVersionsRequest_SdkV2) { -} - -func (newState *ListModelVersionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListModelVersionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelVersionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10163,6 +10325,12 @@ func (newState *ListModelVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ListModelVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListModelVersionsResponse_SdkV2) { } +func (c ListModelVersionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersionInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "model_versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10234,12 +10402,6 @@ type ListQuotasRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListQuotasRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQuotasRequest_SdkV2) { -} - -func (newState *ListQuotasRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQuotasRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQuotasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10288,6 +10450,12 @@ func (newState *ListQuotasResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListQuotasResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQuotasResponse_SdkV2) { } +func (c ListQuotasResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuotaInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "quotas")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQuotasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10357,12 +10525,6 @@ type ListRefreshesRequest_SdkV2 struct { TableName types.String `tfsdk:"-"` } -func (newState *ListRefreshesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRefreshesRequest_SdkV2) { -} - -func (newState *ListRefreshesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRefreshesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRefreshesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10427,12 +10589,6 @@ type ListRegisteredModelsRequest_SdkV2 struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListRegisteredModelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRegisteredModelsRequest_SdkV2) { -} - -func (newState *ListRegisteredModelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRegisteredModelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRegisteredModelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10486,6 +10642,12 @@ func (newState *ListRegisteredModelsResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ListRegisteredModelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRegisteredModelsResponse_SdkV2) { } +func (c ListRegisteredModelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "registered_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRegisteredModelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10567,12 +10729,6 @@ type ListSchemasRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSchemasRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSchemasRequest_SdkV2) { -} - -func (newState *ListSchemasRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSchemasRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchemasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10625,6 +10781,12 @@ func (newState *ListSchemasResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListSchemasResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSchemasResponse_SdkV2) { } +func (c ListSchemasResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SchemaInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schemas")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchemasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10701,12 +10863,6 @@ type ListStorageCredentialsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListStorageCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListStorageCredentialsRequest_SdkV2) { -} - -func (newState *ListStorageCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListStorageCredentialsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStorageCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10755,6 +10911,12 @@ func (newState *ListStorageCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *ListStorageCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListStorageCredentialsResponse_SdkV2) { } +func (c ListStorageCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StorageCredentialInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "storage_credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStorageCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10842,12 +11004,6 @@ type ListSummariesRequest_SdkV2 struct { TableNamePattern types.String `tfsdk:"-"` } -func (newState *ListSummariesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSummariesRequest_SdkV2) { -} - -func (newState *ListSummariesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSummariesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSummariesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10904,12 +11060,6 @@ type ListSystemSchemasRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSystemSchemasRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSystemSchemasRequest_SdkV2) { -} - -func (newState *ListSystemSchemasRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSystemSchemasRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSystemSchemasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10960,6 +11110,12 @@ func (newState *ListSystemSchemasResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ListSystemSchemasResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSystemSchemasResponse_SdkV2) { } +func (c ListSystemSchemasResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SystemSchemaInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schemas")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSystemSchemasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11035,7 +11191,13 @@ type ListTableSummariesResponse_SdkV2 struct { func (newState *ListTableSummariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTableSummariesResponse_SdkV2) { } -func (newState *ListTableSummariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTableSummariesResponse_SdkV2) { +func (newState *ListTableSummariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTableSummariesResponse_SdkV2) { +} + +func (c ListTableSummariesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSummary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tables")...) + + return cs } // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTableSummariesResponse. @@ -11132,12 +11294,6 @@ type ListTablesRequest_SdkV2 struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListTablesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTablesRequest_SdkV2) { -} - -func (newState *ListTablesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTablesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTablesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11202,6 +11358,12 @@ func (newState *ListTablesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListTablesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTablesResponse_SdkV2) { } +func (c ListTablesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tables")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTablesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11292,12 +11454,6 @@ type ListVolumesRequest_SdkV2 struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListVolumesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVolumesRequest_SdkV2) { -} - -func (newState *ListVolumesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListVolumesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVolumesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11352,6 +11508,12 @@ func (newState *ListVolumesResponseContent_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ListVolumesResponseContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListVolumesResponseContent_SdkV2) { } +func (c ListVolumesResponseContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + VolumeInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "volumes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVolumesResponseContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11430,6 +11592,13 @@ func (newState *MetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *MetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState MetastoreAssignment_SdkV2) { } +func (c MetastoreAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11516,6 +11685,11 @@ func (newState *MetastoreInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *MetastoreInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState MetastoreInfo_SdkV2) { } +func (c MetastoreInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MetastoreInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11642,6 +11816,13 @@ func (newState *ModelVersionInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ModelVersionInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelVersionInfo_SdkV2) { } +func (c ModelVersionInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAlias_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aliases")...) + DependencyList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "model_version_dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11786,6 +11967,13 @@ func (newState *MonitorCronSchedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *MonitorCronSchedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorCronSchedule_SdkV2) { } +func (c MonitorCronSchedule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "quartz_cron_expression")...) + cs.SetRequired(append(path, "timezone_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorCronSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11832,6 +12020,11 @@ func (newState *MonitorDataClassificationConfig_SdkV2) SyncEffectiveFieldsDuring func (newState *MonitorDataClassificationConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorDataClassificationConfig_SdkV2) { } +func (c MonitorDataClassificationConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorDataClassificationConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11875,6 +12068,11 @@ func (newState *MonitorDestination_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *MonitorDestination_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorDestination_SdkV2) { } +func (c MonitorDestination_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11973,6 +12171,16 @@ func (newState *MonitorInferenceLog_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *MonitorInferenceLog_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorInferenceLog_SdkV2) { } +func (c MonitorInferenceLog_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "granularities")...) + cs.SetRequired(append(path, "model_id_col")...) + cs.SetRequired(append(path, "prediction_col")...) + cs.SetRequired(append(path, "problem_type")...) + cs.SetRequired(append(path, "timestamp_col")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorInferenceLog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12104,6 +12312,23 @@ func (newState *MonitorInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MonitorInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorInfo_SdkV2) { } +func (c MonitorInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorMetric_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "custom_metrics")...) + MonitorDataClassificationConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_classification_config")...) + cs.SetRequired(append(path, "drift_metrics_table_name")...) + MonitorInferenceLog_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "inference_log")...) + cs.SetRequired(append(path, "monitor_version")...) + MonitorNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + cs.SetRequired(append(path, "profile_metrics_table_name")...) + MonitorCronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + MonitorSnapshot_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "snapshot")...) + cs.SetRequired(append(path, "status")...) + cs.SetRequired(append(path, "table_name")...) + MonitorTimeSeries_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "time_series")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12435,6 +12660,16 @@ func (newState *MonitorMetric_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *MonitorMetric_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorMetric_SdkV2) { } +func (c MonitorMetric_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "definition")...) + cs.SetRequired(append(path, "input_columns")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "output_data_type")...) + cs.SetRequired(append(path, "type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorMetric. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12518,6 +12753,13 @@ func (newState *MonitorNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *MonitorNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorNotifications_SdkV2) { } +func (c MonitorNotifications_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorDestination_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_failure")...) + MonitorDestination_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_new_classification_tag_detected")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12634,6 +12876,14 @@ func (newState *MonitorRefreshInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *MonitorRefreshInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorRefreshInfo_SdkV2) { } +func (c MonitorRefreshInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "refresh_id")...) + cs.SetRequired(append(path, "start_time_ms")...) + cs.SetRequired(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorRefreshInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12686,6 +12936,12 @@ func (newState *MonitorRefreshListResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *MonitorRefreshListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorRefreshListResponse_SdkV2) { } +func (c MonitorRefreshListResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorRefreshInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "refreshes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorRefreshListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12756,6 +13012,11 @@ func (newState *MonitorSnapshot_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *MonitorSnapshot_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorSnapshot_SdkV2) { } +func (c MonitorSnapshot_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorSnapshot. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12804,6 +13065,13 @@ func (newState *MonitorTimeSeries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *MonitorTimeSeries_SdkV2) SyncEffectiveFieldsDuringRead(existingState MonitorTimeSeries_SdkV2) { } +func (c MonitorTimeSeries_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "granularities")...) + cs.SetRequired(append(path, "timestamp_col")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorTimeSeries. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12878,6 +13146,12 @@ func (newState *NamedTableConstraint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *NamedTableConstraint_SdkV2) SyncEffectiveFieldsDuringRead(existingState NamedTableConstraint_SdkV2) { } +func (c NamedTableConstraint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NamedTableConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12932,6 +13206,16 @@ func (newState *OnlineTable_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *OnlineTable_SdkV2) SyncEffectiveFieldsDuringRead(existingState OnlineTable_SdkV2) { } +func (c OnlineTable_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + OnlineTableSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + cs.SetComputed(append(path, "status")...) + OnlineTableStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + cs.SetComputed(append(path, "table_serving_url")...) + cs.SetComputed(append(path, "unity_catalog_provisioning_state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13063,6 +13347,14 @@ func (newState *OnlineTableSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *OnlineTableSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState OnlineTableSpec_SdkV2) { } +func (c OnlineTableSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "pipeline_id")...) + OnlineTableSpecContinuousSchedulingPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_continuously")...) + OnlineTableSpecTriggeredSchedulingPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_triggered")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13203,6 +13495,11 @@ func (newState *OnlineTableSpecContinuousSchedulingPolicy_SdkV2) SyncEffectiveFi func (newState *OnlineTableSpecContinuousSchedulingPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState OnlineTableSpecContinuousSchedulingPolicy_SdkV2) { } +func (c OnlineTableSpecContinuousSchedulingPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableSpecContinuousSchedulingPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13239,6 +13536,11 @@ func (newState *OnlineTableSpecTriggeredSchedulingPolicy_SdkV2) SyncEffectiveFie func (newState *OnlineTableSpecTriggeredSchedulingPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState OnlineTableSpecTriggeredSchedulingPolicy_SdkV2) { } +func (c OnlineTableSpecTriggeredSchedulingPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableSpecTriggeredSchedulingPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13293,6 +13595,15 @@ func (newState *OnlineTableStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *OnlineTableStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState OnlineTableStatus_SdkV2) { } +func (c OnlineTableStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ContinuousUpdateStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "continuous_update_status")...) + FailedStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "failed_status")...) + ProvisioningStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provisioning_status")...) + TriggeredUpdateStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "triggered_update_status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13466,6 +13777,11 @@ func (newState *PermissionsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *PermissionsChange_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionsChange_SdkV2) { } +func (c PermissionsChange_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsChange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13571,6 +13887,12 @@ func (newState *PermissionsList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PermissionsList_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionsList_SdkV2) { } +func (c PermissionsList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PrivilegeAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "privilege_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13654,6 +13976,11 @@ func (newState *PipelineProgress_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PipelineProgress_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineProgress_SdkV2) { } +func (c PipelineProgress_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineProgress. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13706,6 +14033,13 @@ func (newState *PrimaryKeyConstraint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *PrimaryKeyConstraint_SdkV2) SyncEffectiveFieldsDuringRead(existingState PrimaryKeyConstraint_SdkV2) { } +func (c PrimaryKeyConstraint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "child_columns")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrimaryKeyConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13782,6 +14116,11 @@ func (newState *PrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *PrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState PrivilegeAssignment_SdkV2) { } +func (c PrivilegeAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13856,6 +14195,11 @@ func (newState *ProvisioningInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ProvisioningInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ProvisioningInfo_SdkV2) { } +func (c ProvisioningInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProvisioningInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13901,6 +14245,12 @@ func (newState *ProvisioningStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ProvisioningStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState ProvisioningStatus_SdkV2) { } +func (c ProvisioningStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineProgress_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "initial_pipeline_sync_progress")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProvisioningStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13984,6 +14334,11 @@ func (newState *QuotaInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Qu func (newState *QuotaInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState QuotaInfo_SdkV2) { } +func (c QuotaInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QuotaInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14042,6 +14397,11 @@ func (newState *R2Credentials_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *R2Credentials_SdkV2) SyncEffectiveFieldsDuringRead(existingState R2Credentials_SdkV2) { } +func (c R2Credentials_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in R2Credentials. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14086,12 +14446,6 @@ type ReadVolumeRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *ReadVolumeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadVolumeRequest_SdkV2) { -} - -func (newState *ReadVolumeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReadVolumeRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadVolumeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14139,6 +14493,12 @@ func (newState *RegenerateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *RegenerateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegenerateDashboardRequest_SdkV2) { } +func (c RegenerateDashboardRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "table_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegenerateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14185,6 +14545,11 @@ func (newState *RegenerateDashboardResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *RegenerateDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegenerateDashboardResponse_SdkV2) { } +func (c RegenerateDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegenerateDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14232,6 +14597,11 @@ func (newState *RegisteredModelAlias_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *RegisteredModelAlias_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAlias_SdkV2) { } +func (c RegisteredModelAlias_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelAlias. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14307,6 +14677,12 @@ func (newState *RegisteredModelInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RegisteredModelInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelInfo_SdkV2) { } +func (c RegisteredModelInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAlias_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aliases")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14400,12 +14776,6 @@ type RunRefreshRequest_SdkV2 struct { TableName types.String `tfsdk:"-"` } -func (newState *RunRefreshRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunRefreshRequest_SdkV2) { -} - -func (newState *RunRefreshRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunRefreshRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunRefreshRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14485,6 +14855,12 @@ func (newState *SchemaInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SchemaInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState SchemaInfo_SdkV2) { } +func (c SchemaInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePredictiveOptimizationFlag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "effective_predictive_optimization_flag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SchemaInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14622,6 +14998,14 @@ func (newState *SetArtifactAllowlist_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SetArtifactAllowlist_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetArtifactAllowlist_SdkV2) { } +func (c SetArtifactAllowlist_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "artifact_matchers")...) + ArtifactMatcher_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "artifact_matchers")...) + cs.SetRequired(append(path, "artifact_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetArtifactAllowlist. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14700,6 +15084,14 @@ func (newState *SetRegisteredModelAliasRequest_SdkV2) SyncEffectiveFieldsDuringC func (newState *SetRegisteredModelAliasRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetRegisteredModelAliasRequest_SdkV2) { } +func (c SetRegisteredModelAliasRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "alias")...) + cs.SetRequired(append(path, "full_name")...) + cs.SetRequired(append(path, "version_num")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetRegisteredModelAliasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14750,6 +15142,11 @@ func (newState *SseEncryptionDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SseEncryptionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState SseEncryptionDetails_SdkV2) { } +func (c SseEncryptionDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SseEncryptionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14829,6 +15226,16 @@ func (newState *StorageCredentialInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *StorageCredentialInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState StorageCredentialInfo_SdkV2) { } +func (c StorageCredentialInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StorageCredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15054,6 +15461,11 @@ func (newState *SystemSchemaInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SystemSchemaInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState SystemSchemaInfo_SdkV2) { } +func (c SystemSchemaInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SystemSchemaInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15104,6 +15516,14 @@ func (newState *TableConstraint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *TableConstraint_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableConstraint_SdkV2) { } +func (c TableConstraint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ForeignKeyConstraint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "foreign_key_constraint")...) + NamedTableConstraint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "named_table_constraint")...) + PrimaryKeyConstraint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "primary_key_constraint")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15240,6 +15660,12 @@ func (newState *TableDependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *TableDependency_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableDependency_SdkV2) { } +func (c TableDependency_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "table_full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableDependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15282,6 +15708,11 @@ func (newState *TableExistsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *TableExistsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableExistsResponse_SdkV2) { } +func (c TableExistsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableExistsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15399,6 +15830,18 @@ func (newState *TableInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ta func (newState *TableInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableInfo_SdkV2) { } +func (c TableInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + DeltaRuntimePropertiesKvPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "delta_runtime_properties_kvpairs")...) + EffectivePredictiveOptimizationFlag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "effective_predictive_optimization_flag")...) + EncryptionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + TableRowFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "row_filter")...) + TableConstraint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_constraints")...) + DependencyList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "view_dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15740,6 +16183,13 @@ func (newState *TableRowFilter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *TableRowFilter_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableRowFilter_SdkV2) { } +func (c TableRowFilter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "function_name")...) + cs.SetRequired(append(path, "input_column_names")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableRowFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15816,6 +16266,11 @@ func (newState *TableSummary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TableSummary_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableSummary_SdkV2) { } +func (c TableSummary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableSummary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15868,6 +16323,13 @@ func (newState *TemporaryCredentials_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *TemporaryCredentials_SdkV2) SyncEffectiveFieldsDuringRead(existingState TemporaryCredentials_SdkV2) { } +func (c TemporaryCredentials_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsCredentials_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_temp_credentials")...) + AzureActiveDirectoryToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_aad")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TemporaryCredentials. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15982,6 +16444,12 @@ func (newState *TriggeredUpdateStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *TriggeredUpdateStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggeredUpdateStatus_SdkV2) { } +func (c TriggeredUpdateStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineProgress_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "triggered_update_progress")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggeredUpdateStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16055,12 +16523,6 @@ type UnassignRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *UnassignRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnassignRequest_SdkV2) { -} - -func (newState *UnassignRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnassignRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnassignRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16097,12 +16559,6 @@ func (o UnassignRequest_SdkV2) Type(ctx context.Context) attr.Type { type UnassignResponse_SdkV2 struct { } -func (newState *UnassignResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnassignResponse_SdkV2) { -} - -func (newState *UnassignResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnassignResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnassignResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16133,12 +16589,6 @@ func (o UnassignResponse_SdkV2) Type(ctx context.Context) attr.Type { type UpdateAssignmentResponse_SdkV2 struct { } -func (newState *UpdateAssignmentResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAssignmentResponse_SdkV2) { -} - -func (newState *UpdateAssignmentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAssignmentResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAssignmentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16191,6 +16641,12 @@ func (newState *UpdateCatalog_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *UpdateCatalog_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCatalog_SdkV2) { } +func (c UpdateCatalog_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCatalog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16281,6 +16737,13 @@ func (newState *UpdateConnection_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateConnection_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateConnection_SdkV2) { } +func (c UpdateConnection_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateConnection. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16388,6 +16851,16 @@ func (newState *UpdateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *UpdateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialRequest_SdkV2) { } +func (c UpdateCredentialRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + DatabricksGcpServiceAccount_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name_arg")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16597,6 +17070,13 @@ func (newState *UpdateExternalLocation_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateExternalLocation_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExternalLocation_SdkV2) { } +func (c UpdateExternalLocation_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EncryptionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExternalLocation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16696,6 +17176,12 @@ func (newState *UpdateFunction_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *UpdateFunction_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateFunction_SdkV2) { } +func (c UpdateFunction_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateFunction. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16756,6 +17242,12 @@ func (newState *UpdateMetastore_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateMetastore_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateMetastore_SdkV2) { } +func (c UpdateMetastore_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16818,6 +17310,12 @@ func (newState *UpdateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *UpdateMetastoreAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateMetastoreAssignment_SdkV2) { } +func (c UpdateMetastoreAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16868,6 +17366,13 @@ func (newState *UpdateModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *UpdateModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionRequest_SdkV2) { } +func (c UpdateModelVersionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "full_name")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16945,6 +17450,20 @@ func (newState *UpdateMonitor_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *UpdateMonitor_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateMonitor_SdkV2) { } +func (c UpdateMonitor_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorMetric_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "custom_metrics")...) + MonitorDataClassificationConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_classification_config")...) + MonitorInferenceLog_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "inference_log")...) + MonitorNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + cs.SetRequired(append(path, "output_schema_name")...) + MonitorCronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + MonitorSnapshot_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "snapshot")...) + cs.SetRequired(append(path, "table_name")...) + MonitorTimeSeries_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "time_series")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMonitor. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17246,6 +17765,14 @@ func (newState *UpdatePermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdatePermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePermissions_SdkV2) { } +func (c UpdatePermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionsChange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "changes")...) + cs.SetRequired(append(path, "full_name")...) + cs.SetRequired(append(path, "securable_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17328,6 +17855,12 @@ func (newState *UpdateRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *UpdateRegisteredModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRegisteredModelRequest_SdkV2) { } +func (c UpdateRegisteredModelRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17368,12 +17901,6 @@ func (o UpdateRegisteredModelRequest_SdkV2) Type(ctx context.Context) attr.Type type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -17423,6 +17950,12 @@ func (newState *UpdateSchema_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateSchema_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateSchema_SdkV2) { } +func (c UpdateSchema_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17531,6 +18064,17 @@ func (newState *UpdateStorageCredential_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *UpdateStorageCredential_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateStorageCredential_SdkV2) { } +func (c UpdateStorageCredential_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17740,12 +18284,6 @@ type UpdateTableRequest_SdkV2 struct { Owner types.String `tfsdk:"owner" tf:"optional"` } -func (newState *UpdateTableRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateTableRequest_SdkV2) { -} - -func (newState *UpdateTableRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateTableRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17796,6 +18334,12 @@ func (newState *UpdateVolumeRequestContent_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UpdateVolumeRequestContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateVolumeRequestContent_SdkV2) { } +func (c UpdateVolumeRequestContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVolumeRequestContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17848,6 +18392,12 @@ func (newState *UpdateWorkspaceBindings_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *UpdateWorkspaceBindings_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceBindings_SdkV2) { } +func (c UpdateWorkspaceBindings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceBindings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17959,6 +18509,15 @@ func (newState *UpdateWorkspaceBindingsParameters_SdkV2) SyncEffectiveFieldsDuri func (newState *UpdateWorkspaceBindingsParameters_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceBindingsParameters_SdkV2) { } +func (c UpdateWorkspaceBindingsParameters_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceBinding_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "add")...) + WorkspaceBinding_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "remove")...) + cs.SetRequired(append(path, "securable_name")...) + cs.SetRequired(append(path, "securable_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceBindingsParameters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18083,6 +18642,13 @@ func (newState *ValidateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ValidateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ValidateCredentialRequest_SdkV2) { } +func (c ValidateCredentialRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18199,6 +18765,12 @@ func (newState *ValidateCredentialResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ValidateCredentialResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ValidateCredentialResponse_SdkV2) { } +func (c ValidateCredentialResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CredentialValidationResult_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18289,6 +18861,16 @@ func (newState *ValidateStorageCredential_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ValidateStorageCredential_SdkV2) SyncEffectiveFieldsDuringRead(existingState ValidateStorageCredential_SdkV2) { } +func (c ValidateStorageCredential_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18495,6 +19077,12 @@ func (newState *ValidateStorageCredentialResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *ValidateStorageCredentialResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ValidateStorageCredentialResponse_SdkV2) { } +func (c ValidateStorageCredentialResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ValidationResult_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateStorageCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18573,6 +19161,11 @@ func (newState *ValidationResult_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ValidationResult_SdkV2) SyncEffectiveFieldsDuringRead(existingState ValidationResult_SdkV2) { } +func (c ValidationResult_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidationResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18653,6 +19246,12 @@ func (newState *VolumeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan V func (newState *VolumeInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState VolumeInfo_SdkV2) { } +func (c VolumeInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EncryptionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumeInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18758,6 +19357,11 @@ func (newState *WorkspaceBinding_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *WorkspaceBinding_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceBinding_SdkV2) { } +func (c WorkspaceBinding_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceBinding. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18807,6 +19411,12 @@ func (newState *WorkspaceBindingsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *WorkspaceBindingsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceBindingsResponse_SdkV2) { } +func (c WorkspaceBindingsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceBinding_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "bindings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceBindingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/catalog_tf/model.go b/internal/service/catalog_tf/model.go index 4b2917471..ef0d14450 100755 --- a/internal/service/catalog_tf/model.go +++ b/internal/service/catalog_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -31,6 +32,12 @@ func (newState *AccountsCreateMetastore) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AccountsCreateMetastore) SyncEffectiveFieldsDuringRead(existingState AccountsCreateMetastore) { } +func (c AccountsCreateMetastore) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateMetastore{}.ApplySchemaCustomizations(cs, append(path, "metastore_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsCreateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -106,6 +113,14 @@ func (newState *AccountsCreateMetastoreAssignment) SyncEffectiveFieldsDuringCrea func (newState *AccountsCreateMetastoreAssignment) SyncEffectiveFieldsDuringRead(existingState AccountsCreateMetastoreAssignment) { } +func (c AccountsCreateMetastoreAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateMetastoreAssignment{}.ApplySchemaCustomizations(cs, append(path, "metastore_assignment")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsCreateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -183,6 +198,13 @@ func (newState *AccountsCreateStorageCredential) SyncEffectiveFieldsDuringCreate func (newState *AccountsCreateStorageCredential) SyncEffectiveFieldsDuringRead(existingState AccountsCreateStorageCredential) { } +func (c AccountsCreateStorageCredential) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateStorageCredential{}.ApplySchemaCustomizations(cs, append(path, "credential_info")...) + cs.SetRequired(append(path, "metastore_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsCreateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -256,6 +278,12 @@ func (newState *AccountsMetastoreAssignment) SyncEffectiveFieldsDuringCreateOrUp func (newState *AccountsMetastoreAssignment) SyncEffectiveFieldsDuringRead(existingState AccountsMetastoreAssignment) { } +func (c AccountsMetastoreAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MetastoreAssignment{}.ApplySchemaCustomizations(cs, append(path, "metastore_assignment")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -327,6 +355,12 @@ func (newState *AccountsMetastoreInfo) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AccountsMetastoreInfo) SyncEffectiveFieldsDuringRead(existingState AccountsMetastoreInfo) { } +func (c AccountsMetastoreInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MetastoreInfo{}.ApplySchemaCustomizations(cs, append(path, "metastore_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsMetastoreInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -398,6 +432,12 @@ func (newState *AccountsStorageCredentialInfo) SyncEffectiveFieldsDuringCreateOr func (newState *AccountsStorageCredentialInfo) SyncEffectiveFieldsDuringRead(existingState AccountsStorageCredentialInfo) { } +func (c AccountsStorageCredentialInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StorageCredentialInfo{}.ApplySchemaCustomizations(cs, append(path, "credential_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsStorageCredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -472,6 +512,13 @@ func (newState *AccountsUpdateMetastore) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AccountsUpdateMetastore) SyncEffectiveFieldsDuringRead(existingState AccountsUpdateMetastore) { } +func (c AccountsUpdateMetastore) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "metastore_id")...) + UpdateMetastore{}.ApplySchemaCustomizations(cs, append(path, "metastore_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsUpdateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -549,6 +596,14 @@ func (newState *AccountsUpdateMetastoreAssignment) SyncEffectiveFieldsDuringCrea func (newState *AccountsUpdateMetastoreAssignment) SyncEffectiveFieldsDuringRead(existingState AccountsUpdateMetastoreAssignment) { } +func (c AccountsUpdateMetastoreAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateMetastoreAssignment{}.ApplySchemaCustomizations(cs, append(path, "metastore_assignment")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsUpdateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -628,6 +683,14 @@ func (newState *AccountsUpdateStorageCredential) SyncEffectiveFieldsDuringCreate func (newState *AccountsUpdateStorageCredential) SyncEffectiveFieldsDuringRead(existingState AccountsUpdateStorageCredential) { } +func (c AccountsUpdateStorageCredential) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateStorageCredential{}.ApplySchemaCustomizations(cs, append(path, "credential_info")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "storage_credential_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccountsUpdateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -710,6 +773,12 @@ func (newState *ArtifactAllowlistInfo) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ArtifactAllowlistInfo) SyncEffectiveFieldsDuringRead(existingState ArtifactAllowlistInfo) { } +func (c ArtifactAllowlistInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ArtifactMatcher{}.ApplySchemaCustomizations(cs, append(path, "artifact_matchers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ArtifactAllowlistInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -790,6 +859,13 @@ func (newState *ArtifactMatcher) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ar func (newState *ArtifactMatcher) SyncEffectiveFieldsDuringRead(existingState ArtifactMatcher) { } +func (c ArtifactMatcher) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "artifact")...) + cs.SetRequired(append(path, "match_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ArtifactMatcher. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -826,12 +902,6 @@ func (o ArtifactMatcher) Type(ctx context.Context) attr.Type { type AssignResponse struct { } -func (newState *AssignResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AssignResponse) { -} - -func (newState *AssignResponse) SyncEffectiveFieldsDuringRead(existingState AssignResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in AssignResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -880,6 +950,11 @@ func (newState *AwsCredentials) SyncEffectiveFieldsDuringCreateOrUpdate(plan Aws func (newState *AwsCredentials) SyncEffectiveFieldsDuringRead(existingState AwsCredentials) { } +func (c AwsCredentials) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -936,6 +1011,13 @@ func (newState *AwsIamRole) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsIamR func (newState *AwsIamRole) SyncEffectiveFieldsDuringRead(existingState AwsIamRole) { } +func (c AwsIamRole) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "external_id")...) + cs.SetComputed(append(path, "unity_catalog_iam_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsIamRole. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -982,6 +1064,12 @@ func (newState *AwsIamRoleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AwsIamRoleRequest) SyncEffectiveFieldsDuringRead(existingState AwsIamRoleRequest) { } +func (c AwsIamRoleRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "role_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsIamRoleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1030,6 +1118,12 @@ func (newState *AwsIamRoleResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AwsIamRoleResponse) SyncEffectiveFieldsDuringRead(existingState AwsIamRoleResponse) { } +func (c AwsIamRoleResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "role_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsIamRoleResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1080,6 +1174,11 @@ func (newState *AzureActiveDirectoryToken) SyncEffectiveFieldsDuringCreateOrUpda func (newState *AzureActiveDirectoryToken) SyncEffectiveFieldsDuringRead(existingState AzureActiveDirectoryToken) { } +func (c AzureActiveDirectoryToken) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureActiveDirectoryToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1137,6 +1236,12 @@ func (newState *AzureManagedIdentity) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AzureManagedIdentity) SyncEffectiveFieldsDuringRead(existingState AzureManagedIdentity) { } +func (c AzureManagedIdentity) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_connector_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureManagedIdentity. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1192,6 +1297,12 @@ func (newState *AzureManagedIdentityRequest) SyncEffectiveFieldsDuringCreateOrUp func (newState *AzureManagedIdentityRequest) SyncEffectiveFieldsDuringRead(existingState AzureManagedIdentityRequest) { } +func (c AzureManagedIdentityRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_connector_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureManagedIdentityRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1247,6 +1358,12 @@ func (newState *AzureManagedIdentityResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *AzureManagedIdentityResponse) SyncEffectiveFieldsDuringRead(existingState AzureManagedIdentityResponse) { } +func (c AzureManagedIdentityResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_connector_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureManagedIdentityResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1301,6 +1418,14 @@ func (newState *AzureServicePrincipal) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AzureServicePrincipal) SyncEffectiveFieldsDuringRead(existingState AzureServicePrincipal) { } +func (c AzureServicePrincipal) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "application_id")...) + cs.SetRequired(append(path, "client_secret")...) + cs.SetRequired(append(path, "directory_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureServicePrincipal. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1349,6 +1474,11 @@ func (newState *AzureUserDelegationSas) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *AzureUserDelegationSas) SyncEffectiveFieldsDuringRead(existingState AzureUserDelegationSas) { } +func (c AzureUserDelegationSas) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureUserDelegationSas. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1388,12 +1518,6 @@ type CancelRefreshRequest struct { TableName types.String `tfsdk:"-"` } -func (newState *CancelRefreshRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRefreshRequest) { -} - -func (newState *CancelRefreshRequest) SyncEffectiveFieldsDuringRead(existingState CancelRefreshRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRefreshRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1430,12 +1554,6 @@ func (o CancelRefreshRequest) Type(ctx context.Context) attr.Type { type CancelRefreshResponse struct { } -func (newState *CancelRefreshResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRefreshResponse) { -} - -func (newState *CancelRefreshResponse) SyncEffectiveFieldsDuringRead(existingState CancelRefreshResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRefreshResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1527,6 +1645,13 @@ func (newState *CatalogInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Catalo func (newState *CatalogInfo) SyncEffectiveFieldsDuringRead(existingState CatalogInfo) { } +func (c CatalogInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePredictiveOptimizationFlag{}.ApplySchemaCustomizations(cs, append(path, "effective_predictive_optimization_flag")...) + ProvisioningInfo{}.ApplySchemaCustomizations(cs, append(path, "provisioning_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CatalogInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1736,6 +1861,14 @@ func (newState *CloudflareApiToken) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CloudflareApiToken) SyncEffectiveFieldsDuringRead(existingState CloudflareApiToken) { } +func (c CloudflareApiToken) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_key_id")...) + cs.SetRequired(append(path, "account_id")...) + cs.SetRequired(append(path, "secret_access_key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloudflareApiToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1804,6 +1937,12 @@ func (newState *ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnI func (newState *ColumnInfo) SyncEffectiveFieldsDuringRead(existingState ColumnInfo) { } +func (c ColumnInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnMask{}.ApplySchemaCustomizations(cs, append(path, "mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1903,6 +2042,11 @@ func (newState *ColumnMask) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnM func (newState *ColumnMask) SyncEffectiveFieldsDuringRead(existingState ColumnMask) { } +func (c ColumnMask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnMask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2014,6 +2158,12 @@ func (newState *ConnectionInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Con func (newState *ConnectionInfo) SyncEffectiveFieldsDuringRead(existingState ConnectionInfo) { } +func (c ConnectionInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProvisioningInfo{}.ApplySchemaCustomizations(cs, append(path, "provisioning_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ConnectionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2189,6 +2339,12 @@ func (newState *ContinuousUpdateStatus) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ContinuousUpdateStatus) SyncEffectiveFieldsDuringRead(existingState ContinuousUpdateStatus) { } +func (c ContinuousUpdateStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineProgress{}.ApplySchemaCustomizations(cs, append(path, "initial_pipeline_sync_progress")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContinuousUpdateStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2282,6 +2438,12 @@ func (newState *CreateCatalog) SyncEffectiveFieldsDuringCreateOrUpdate(plan Crea func (newState *CreateCatalog) SyncEffectiveFieldsDuringRead(existingState CreateCatalog) { } +func (c CreateCatalog) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCatalog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2408,6 +2570,14 @@ func (newState *CreateConnection) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *CreateConnection) SyncEffectiveFieldsDuringRead(existingState CreateConnection) { } +func (c CreateConnection) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "connection_type")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateConnection. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2540,6 +2710,16 @@ func (newState *CreateCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateCredentialRequest) SyncEffectiveFieldsDuringRead(existingState CreateCredentialRequest) { } +func (c CreateCredentialRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + DatabricksGcpServiceAccount{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // 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 @@ -2734,6 +2914,15 @@ func (newState *CreateExternalLocation) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateExternalLocation) SyncEffectiveFieldsDuringRead(existingState CreateExternalLocation) { } +func (c CreateExternalLocation) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_name")...) + EncryptionDetails{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExternalLocation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2866,6 +3055,28 @@ func (newState *CreateFunction) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CreateFunction) SyncEffectiveFieldsDuringRead(existingState CreateFunction) { } +func (c CreateFunction) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "data_type")...) + cs.SetRequired(append(path, "full_data_type")...) + cs.SetRequired(append(path, "input_params")...) + FunctionParameterInfos{}.ApplySchemaCustomizations(cs, append(path, "input_params")...) + cs.SetRequired(append(path, "is_deterministic")...) + cs.SetRequired(append(path, "is_null_call")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "parameter_style")...) + FunctionParameterInfos{}.ApplySchemaCustomizations(cs, append(path, "return_params")...) + cs.SetRequired(append(path, "routine_body")...) + cs.SetRequired(append(path, "routine_definition")...) + DependencyList{}.ApplySchemaCustomizations(cs, append(path, "routine_dependencies")...) + cs.SetRequired(append(path, "schema_name")...) + cs.SetRequired(append(path, "security_type")...) + cs.SetRequired(append(path, "specific_name")...) + cs.SetRequired(append(path, "sql_data_access")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFunction. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3036,6 +3247,13 @@ func (newState *CreateFunctionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateFunctionRequest) SyncEffectiveFieldsDuringRead(existingState CreateFunctionRequest) { } +func (c CreateFunctionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "function_info")...) + CreateFunction{}.ApplySchemaCustomizations(cs, append(path, "function_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFunctionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3115,6 +3333,12 @@ func (newState *CreateMetastore) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cr func (newState *CreateMetastore) SyncEffectiveFieldsDuringRead(existingState CreateMetastore) { } +func (c CreateMetastore) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3167,6 +3391,14 @@ func (newState *CreateMetastoreAssignment) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateMetastoreAssignment) SyncEffectiveFieldsDuringRead(existingState CreateMetastoreAssignment) { } +func (c CreateMetastoreAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "default_catalog_name")...) + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3249,6 +3481,21 @@ func (newState *CreateMonitor) SyncEffectiveFieldsDuringCreateOrUpdate(plan Crea func (newState *CreateMonitor) SyncEffectiveFieldsDuringRead(existingState CreateMonitor) { } +func (c CreateMonitor) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "assets_dir")...) + MonitorMetric{}.ApplySchemaCustomizations(cs, append(path, "custom_metrics")...) + MonitorDataClassificationConfig{}.ApplySchemaCustomizations(cs, append(path, "data_classification_config")...) + MonitorInferenceLog{}.ApplySchemaCustomizations(cs, append(path, "inference_log")...) + MonitorNotifications{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + cs.SetRequired(append(path, "output_schema_name")...) + MonitorCronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + MonitorSnapshot{}.ApplySchemaCustomizations(cs, append(path, "snapshot")...) + cs.SetRequired(append(path, "table_name")...) + MonitorTimeSeries{}.ApplySchemaCustomizations(cs, append(path, "time_series")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateMonitor. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3545,12 +3792,6 @@ type CreateOnlineTableRequest struct { Table types.Object `tfsdk:"table" tf:"optional,object"` } -func (newState *CreateOnlineTableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateOnlineTableRequest) { -} - -func (newState *CreateOnlineTableRequest) SyncEffectiveFieldsDuringRead(existingState CreateOnlineTableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateOnlineTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3632,6 +3873,14 @@ func (newState *CreateRegisteredModelRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateRegisteredModelRequest) SyncEffectiveFieldsDuringRead(existingState CreateRegisteredModelRequest) { } +func (c CreateRegisteredModelRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "schema_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3674,12 +3923,6 @@ func (o CreateRegisteredModelRequest) Type(ctx context.Context) attr.Type { type CreateResponse struct { } -func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse) { -} - -func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3726,6 +3969,13 @@ func (newState *CreateSchema) SyncEffectiveFieldsDuringCreateOrUpdate(plan Creat func (newState *CreateSchema) SyncEffectiveFieldsDuringRead(existingState CreateSchema) { } +func (c CreateSchema) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3823,6 +4073,17 @@ func (newState *CreateStorageCredential) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateStorageCredential) SyncEffectiveFieldsDuringRead(existingState CreateStorageCredential) { } +func (c CreateStorageCredential) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleRequest{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityRequest{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountRequest{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4031,6 +4292,14 @@ func (newState *CreateTableConstraint) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateTableConstraint) SyncEffectiveFieldsDuringRead(existingState CreateTableConstraint) { } +func (c CreateTableConstraint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "constraint")...) + TableConstraint{}.ApplySchemaCustomizations(cs, append(path, "constraint")...) + cs.SetRequired(append(path, "full_name_arg")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTableConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4115,6 +4384,15 @@ func (newState *CreateVolumeRequestContent) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateVolumeRequestContent) SyncEffectiveFieldsDuringRead(existingState CreateVolumeRequestContent) { } +func (c CreateVolumeRequestContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "catalog_name")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "schema_name")...) + cs.SetRequired(append(path, "volume_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVolumeRequestContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4207,6 +4485,15 @@ func (newState *CredentialInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CredentialInfo) SyncEffectiveFieldsDuringRead(existingState CredentialInfo) { } +func (c CredentialInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + DatabricksGcpServiceAccount{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4402,6 +4689,11 @@ func (newState *CredentialValidationResult) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CredentialValidationResult) SyncEffectiveFieldsDuringRead(existingState CredentialValidationResult) { } +func (c CredentialValidationResult) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CredentialValidationResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4447,6 +4739,11 @@ func (newState *CurrentWorkspaceBindings) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CurrentWorkspaceBindings) SyncEffectiveFieldsDuringRead(existingState CurrentWorkspaceBindings) { } +func (c CurrentWorkspaceBindings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CurrentWorkspaceBindings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4528,6 +4825,11 @@ func (newState *DatabricksGcpServiceAccount) SyncEffectiveFieldsDuringCreateOrUp func (newState *DatabricksGcpServiceAccount) SyncEffectiveFieldsDuringRead(existingState DatabricksGcpServiceAccount) { } +func (c DatabricksGcpServiceAccount) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksGcpServiceAccount. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4572,6 +4874,11 @@ func (newState *DatabricksGcpServiceAccountRequest) SyncEffectiveFieldsDuringCre func (newState *DatabricksGcpServiceAccountRequest) SyncEffectiveFieldsDuringRead(existingState DatabricksGcpServiceAccountRequest) { } +func (c DatabricksGcpServiceAccountRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksGcpServiceAccountRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4613,6 +4920,11 @@ func (newState *DatabricksGcpServiceAccountResponse) SyncEffectiveFieldsDuringCr func (newState *DatabricksGcpServiceAccountResponse) SyncEffectiveFieldsDuringRead(existingState DatabricksGcpServiceAccountResponse) { } +func (c DatabricksGcpServiceAccountResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksGcpServiceAccountResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4654,12 +4966,6 @@ type DeleteAccountMetastoreAssignmentRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *DeleteAccountMetastoreAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountMetastoreAssignmentRequest) { -} - -func (newState *DeleteAccountMetastoreAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountMetastoreAssignmentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountMetastoreAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4701,12 +5007,6 @@ type DeleteAccountMetastoreRequest struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *DeleteAccountMetastoreRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountMetastoreRequest) { -} - -func (newState *DeleteAccountMetastoreRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountMetastoreRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4751,12 +5051,6 @@ type DeleteAccountStorageCredentialRequest struct { StorageCredentialName types.String `tfsdk:"-"` } -func (newState *DeleteAccountStorageCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountStorageCredentialRequest) { -} - -func (newState *DeleteAccountStorageCredentialRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountStorageCredentialRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4800,12 +5094,6 @@ type DeleteAliasRequest struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteAliasRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAliasRequest) { -} - -func (newState *DeleteAliasRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAliasRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAliasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4842,12 +5130,6 @@ func (o DeleteAliasRequest) Type(ctx context.Context) attr.Type { type DeleteAliasResponse struct { } -func (newState *DeleteAliasResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAliasResponse) { -} - -func (newState *DeleteAliasResponse) SyncEffectiveFieldsDuringRead(existingState DeleteAliasResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAliasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4883,12 +5165,6 @@ type DeleteCatalogRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteCatalogRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCatalogRequest) { -} - -func (newState *DeleteCatalogRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCatalogRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCatalogRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4928,12 +5204,6 @@ type DeleteConnectionRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteConnectionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteConnectionRequest) { -} - -func (newState *DeleteConnectionRequest) SyncEffectiveFieldsDuringRead(existingState DeleteConnectionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteConnectionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4975,12 +5245,6 @@ type DeleteCredentialRequest struct { NameArg types.String `tfsdk:"-"` } -func (newState *DeleteCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialRequest) { -} - -func (newState *DeleteCredentialRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialRequest) { -} - // 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 @@ -5023,6 +5287,11 @@ func (newState *DeleteCredentialResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *DeleteCredentialResponse) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialResponse) { } +func (c DeleteCredentialResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5058,12 +5327,6 @@ type DeleteExternalLocationRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteExternalLocationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExternalLocationRequest) { -} - -func (newState *DeleteExternalLocationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteExternalLocationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExternalLocationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5106,12 +5369,6 @@ type DeleteFunctionRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteFunctionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFunctionRequest) { -} - -func (newState *DeleteFunctionRequest) SyncEffectiveFieldsDuringRead(existingState DeleteFunctionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFunctionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5153,12 +5410,6 @@ type DeleteMetastoreRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteMetastoreRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteMetastoreRequest) { -} - -func (newState *DeleteMetastoreRequest) SyncEffectiveFieldsDuringRead(existingState DeleteMetastoreRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5200,12 +5451,6 @@ type DeleteModelVersionRequest struct { Version types.Int64 `tfsdk:"-"` } -func (newState *DeleteModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionRequest) { -} - -func (newState *DeleteModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5245,12 +5490,6 @@ type DeleteOnlineTableRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteOnlineTableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteOnlineTableRequest) { -} - -func (newState *DeleteOnlineTableRequest) SyncEffectiveFieldsDuringRead(existingState DeleteOnlineTableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteOnlineTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5288,12 +5527,6 @@ type DeleteQualityMonitorRequest struct { TableName types.String `tfsdk:"-"` } -func (newState *DeleteQualityMonitorRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteQualityMonitorRequest) { -} - -func (newState *DeleteQualityMonitorRequest) SyncEffectiveFieldsDuringRead(existingState DeleteQualityMonitorRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteQualityMonitorRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5331,12 +5564,6 @@ type DeleteRegisteredModelRequest struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteRegisteredModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRegisteredModelRequest) { -} - -func (newState *DeleteRegisteredModelRequest) SyncEffectiveFieldsDuringRead(existingState DeleteRegisteredModelRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5371,12 +5598,6 @@ func (o DeleteRegisteredModelRequest) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -5412,12 +5633,6 @@ type DeleteSchemaRequest struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteSchemaRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSchemaRequest) { -} - -func (newState *DeleteSchemaRequest) SyncEffectiveFieldsDuringRead(existingState DeleteSchemaRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSchemaRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5460,12 +5675,6 @@ type DeleteStorageCredentialRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteStorageCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteStorageCredentialRequest) { -} - -func (newState *DeleteStorageCredentialRequest) SyncEffectiveFieldsDuringRead(existingState DeleteStorageCredentialRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5511,12 +5720,6 @@ type DeleteTableConstraintRequest struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteTableConstraintRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTableConstraintRequest) { -} - -func (newState *DeleteTableConstraintRequest) SyncEffectiveFieldsDuringRead(existingState DeleteTableConstraintRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTableConstraintRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5558,12 +5761,6 @@ type DeleteTableRequest struct { FullName types.String `tfsdk:"-"` } -func (newState *DeleteTableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTableRequest) { -} - -func (newState *DeleteTableRequest) SyncEffectiveFieldsDuringRead(existingState DeleteTableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5601,12 +5798,6 @@ type DeleteVolumeRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteVolumeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVolumeRequest) { -} - -func (newState *DeleteVolumeRequest) SyncEffectiveFieldsDuringRead(existingState DeleteVolumeRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteVolumeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5652,6 +5843,12 @@ func (newState *DeltaRuntimePropertiesKvPairs) SyncEffectiveFieldsDuringCreateOr func (newState *DeltaRuntimePropertiesKvPairs) SyncEffectiveFieldsDuringRead(existingState DeltaRuntimePropertiesKvPairs) { } +func (c DeltaRuntimePropertiesKvPairs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "delta_runtime_properties")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaRuntimePropertiesKvPairs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5728,6 +5925,13 @@ func (newState *Dependency) SyncEffectiveFieldsDuringCreateOrUpdate(plan Depende func (newState *Dependency) SyncEffectiveFieldsDuringRead(existingState Dependency) { } +func (c Dependency) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionDependency{}.ApplySchemaCustomizations(cs, append(path, "function")...) + TableDependency{}.ApplySchemaCustomizations(cs, append(path, "table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5832,6 +6036,12 @@ func (newState *DependencyList) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dep func (newState *DependencyList) SyncEffectiveFieldsDuringRead(existingState DependencyList) { } +func (c DependencyList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Dependency{}.ApplySchemaCustomizations(cs, append(path, "dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DependencyList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5901,12 +6111,6 @@ type DisableRequest struct { SchemaName types.String `tfsdk:"-"` } -func (newState *DisableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DisableRequest) { -} - -func (newState *DisableRequest) SyncEffectiveFieldsDuringRead(existingState DisableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5943,12 +6147,6 @@ func (o DisableRequest) Type(ctx context.Context) attr.Type { type DisableResponse struct { } -func (newState *DisableResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DisableResponse) { -} - -func (newState *DisableResponse) SyncEffectiveFieldsDuringRead(existingState DisableResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5988,6 +6186,12 @@ func (newState *EffectivePermissionsList) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *EffectivePermissionsList) SyncEffectiveFieldsDuringRead(existingState EffectivePermissionsList) { } +func (c EffectivePermissionsList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePrivilegeAssignment{}.ApplySchemaCustomizations(cs, append(path, "privilege_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePermissionsList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6067,6 +6271,12 @@ func (newState *EffectivePredictiveOptimizationFlag) SyncEffectiveFieldsDuringCr func (newState *EffectivePredictiveOptimizationFlag) SyncEffectiveFieldsDuringRead(existingState EffectivePredictiveOptimizationFlag) { } +func (c EffectivePredictiveOptimizationFlag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePredictiveOptimizationFlag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6121,6 +6331,11 @@ func (newState *EffectivePrivilege) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EffectivePrivilege) SyncEffectiveFieldsDuringRead(existingState EffectivePrivilege) { } +func (c EffectivePrivilege) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePrivilege. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6170,6 +6385,12 @@ func (newState *EffectivePrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrU func (newState *EffectivePrivilegeAssignment) SyncEffectiveFieldsDuringRead(existingState EffectivePrivilegeAssignment) { } +func (c EffectivePrivilegeAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePrivilege{}.ApplySchemaCustomizations(cs, append(path, "privileges")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EffectivePrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6241,12 +6462,6 @@ type EnableRequest struct { SchemaName types.String `tfsdk:"-"` } -func (newState *EnableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnableRequest) { -} - -func (newState *EnableRequest) SyncEffectiveFieldsDuringRead(existingState EnableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6283,12 +6498,6 @@ func (o EnableRequest) Type(ctx context.Context) attr.Type { type EnableResponse struct { } -func (newState *EnableResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnableResponse) { -} - -func (newState *EnableResponse) SyncEffectiveFieldsDuringRead(existingState EnableResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnableResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6328,6 +6537,12 @@ func (newState *EncryptionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EncryptionDetails) SyncEffectiveFieldsDuringRead(existingState EncryptionDetails) { } +func (c EncryptionDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SseEncryptionDetails{}.ApplySchemaCustomizations(cs, append(path, "sse_encryption_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EncryptionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6395,12 +6610,6 @@ type ExistsRequest struct { FullName types.String `tfsdk:"-"` } -func (newState *ExistsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExistsRequest) { -} - -func (newState *ExistsRequest) SyncEffectiveFieldsDuringRead(existingState ExistsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExistsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6480,6 +6689,12 @@ func (newState *ExternalLocationInfo) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ExternalLocationInfo) SyncEffectiveFieldsDuringRead(existingState ExternalLocationInfo) { } +func (c ExternalLocationInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EncryptionDetails{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalLocationInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6593,6 +6808,11 @@ func (newState *FailedStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan Faile func (newState *FailedStatus) SyncEffectiveFieldsDuringRead(existingState FailedStatus) { } +func (c FailedStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FailedStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6643,6 +6863,15 @@ func (newState *ForeignKeyConstraint) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ForeignKeyConstraint) SyncEffectiveFieldsDuringRead(existingState ForeignKeyConstraint) { } +func (c ForeignKeyConstraint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "child_columns")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "parent_columns")...) + cs.SetRequired(append(path, "parent_table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForeignKeyConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6752,6 +6981,12 @@ func (newState *FunctionDependency) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *FunctionDependency) SyncEffectiveFieldsDuringRead(existingState FunctionDependency) { } +func (c FunctionDependency) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "function_full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionDependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6859,6 +7094,14 @@ func (newState *FunctionInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Funct func (newState *FunctionInfo) SyncEffectiveFieldsDuringRead(existingState FunctionInfo) { } +func (c FunctionInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionParameterInfos{}.ApplySchemaCustomizations(cs, append(path, "input_params")...) + FunctionParameterInfos{}.ApplySchemaCustomizations(cs, append(path, "return_params")...) + DependencyList{}.ApplySchemaCustomizations(cs, append(path, "routine_dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7069,6 +7312,15 @@ func (newState *FunctionParameterInfo) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *FunctionParameterInfo) SyncEffectiveFieldsDuringRead(existingState FunctionParameterInfo) { } +func (c FunctionParameterInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "position")...) + cs.SetRequired(append(path, "type_name")...) + cs.SetRequired(append(path, "type_text")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionParameterInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7134,6 +7386,12 @@ func (newState *FunctionParameterInfos) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *FunctionParameterInfos) SyncEffectiveFieldsDuringRead(existingState FunctionParameterInfos) { } +func (c FunctionParameterInfos) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionParameterInfo{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FunctionParameterInfos. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7207,6 +7465,11 @@ func (newState *GcpOauthToken) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpO func (newState *GcpOauthToken) SyncEffectiveFieldsDuringRead(existingState GcpOauthToken) { } +func (c GcpOauthToken) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpOauthToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7252,6 +7515,11 @@ func (newState *GenerateTemporaryServiceCredentialAzureOptions) SyncEffectiveFie func (newState *GenerateTemporaryServiceCredentialAzureOptions) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryServiceCredentialAzureOptions) { } +func (c GenerateTemporaryServiceCredentialAzureOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryServiceCredentialAzureOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7327,6 +7595,11 @@ func (newState *GenerateTemporaryServiceCredentialGcpOptions) SyncEffectiveField func (newState *GenerateTemporaryServiceCredentialGcpOptions) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryServiceCredentialGcpOptions) { } +func (c GenerateTemporaryServiceCredentialGcpOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryServiceCredentialGcpOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7404,6 +7677,14 @@ func (newState *GenerateTemporaryServiceCredentialRequest) SyncEffectiveFieldsDu func (newState *GenerateTemporaryServiceCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryServiceCredentialRequest) { } +func (c GenerateTemporaryServiceCredentialRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GenerateTemporaryServiceCredentialAzureOptions{}.ApplySchemaCustomizations(cs, append(path, "azure_options")...) + cs.SetRequired(append(path, "credential_name")...) + GenerateTemporaryServiceCredentialGcpOptions{}.ApplySchemaCustomizations(cs, append(path, "gcp_options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryServiceCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7513,6 +7794,11 @@ func (newState *GenerateTemporaryTableCredentialRequest) SyncEffectiveFieldsDuri func (newState *GenerateTemporaryTableCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryTableCredentialRequest) { } +func (c GenerateTemporaryTableCredentialRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryTableCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7576,6 +7862,16 @@ func (newState *GenerateTemporaryTableCredentialResponse) SyncEffectiveFieldsDur func (newState *GenerateTemporaryTableCredentialResponse) SyncEffectiveFieldsDuringRead(existingState GenerateTemporaryTableCredentialResponse) { } +func (c GenerateTemporaryTableCredentialResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsCredentials{}.ApplySchemaCustomizations(cs, append(path, "aws_temp_credentials")...) + AzureActiveDirectoryToken{}.ApplySchemaCustomizations(cs, append(path, "azure_aad")...) + AzureUserDelegationSas{}.ApplySchemaCustomizations(cs, append(path, "azure_user_delegation_sas")...) + GcpOauthToken{}.ApplySchemaCustomizations(cs, append(path, "gcp_oauth_token")...) + R2Credentials{}.ApplySchemaCustomizations(cs, append(path, "r2_temp_credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenerateTemporaryTableCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7771,12 +8067,6 @@ type GetAccountMetastoreAssignmentRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetAccountMetastoreAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountMetastoreAssignmentRequest) { -} - -func (newState *GetAccountMetastoreAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountMetastoreAssignmentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountMetastoreAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7814,12 +8104,6 @@ type GetAccountMetastoreRequest struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *GetAccountMetastoreRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountMetastoreRequest) { -} - -func (newState *GetAccountMetastoreRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountMetastoreRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7859,12 +8143,6 @@ type GetAccountStorageCredentialRequest struct { StorageCredentialName types.String `tfsdk:"-"` } -func (newState *GetAccountStorageCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountStorageCredentialRequest) { -} - -func (newState *GetAccountStorageCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountStorageCredentialRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7904,12 +8182,6 @@ type GetArtifactAllowlistRequest struct { ArtifactType types.String `tfsdk:"-"` } -func (newState *GetArtifactAllowlistRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetArtifactAllowlistRequest) { -} - -func (newState *GetArtifactAllowlistRequest) SyncEffectiveFieldsDuringRead(existingState GetArtifactAllowlistRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetArtifactAllowlistRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7958,12 +8230,6 @@ type GetBindingsRequest struct { SecurableType types.String `tfsdk:"-"` } -func (newState *GetBindingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetBindingsRequest) { -} - -func (newState *GetBindingsRequest) SyncEffectiveFieldsDuringRead(existingState GetBindingsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetBindingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8012,12 +8278,6 @@ type GetByAliasRequest struct { IncludeAliases types.Bool `tfsdk:"-"` } -func (newState *GetByAliasRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetByAliasRequest) { -} - -func (newState *GetByAliasRequest) SyncEffectiveFieldsDuringRead(existingState GetByAliasRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetByAliasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8062,12 +8322,6 @@ type GetCatalogRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetCatalogRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCatalogRequest) { -} - -func (newState *GetCatalogRequest) SyncEffectiveFieldsDuringRead(existingState GetCatalogRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCatalogRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8107,12 +8361,6 @@ type GetConnectionRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetConnectionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetConnectionRequest) { -} - -func (newState *GetConnectionRequest) SyncEffectiveFieldsDuringRead(existingState GetConnectionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetConnectionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8150,12 +8398,6 @@ type GetCredentialRequest struct { NameArg types.String `tfsdk:"-"` } -func (newState *GetCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialRequest) { -} - -func (newState *GetCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GetCredentialRequest) { -} - // 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 @@ -8198,12 +8440,6 @@ type GetEffectiveRequest struct { SecurableType types.String `tfsdk:"-"` } -func (newState *GetEffectiveRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEffectiveRequest) { -} - -func (newState *GetEffectiveRequest) SyncEffectiveFieldsDuringRead(existingState GetEffectiveRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEffectiveRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8248,12 +8484,6 @@ type GetExternalLocationRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetExternalLocationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExternalLocationRequest) { -} - -func (newState *GetExternalLocationRequest) SyncEffectiveFieldsDuringRead(existingState GetExternalLocationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExternalLocationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8297,12 +8527,6 @@ type GetFunctionRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetFunctionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetFunctionRequest) { -} - -func (newState *GetFunctionRequest) SyncEffectiveFieldsDuringRead(existingState GetFunctionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetFunctionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8347,12 +8571,6 @@ type GetGrantRequest struct { SecurableType types.String `tfsdk:"-"` } -func (newState *GetGrantRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGrantRequest) { -} - -func (newState *GetGrantRequest) SyncEffectiveFieldsDuringRead(existingState GetGrantRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGrantRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8394,12 +8612,6 @@ type GetMetastoreRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetMetastoreRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetastoreRequest) { -} - -func (newState *GetMetastoreRequest) SyncEffectiveFieldsDuringRead(existingState GetMetastoreRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetastoreRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8482,6 +8694,11 @@ func (newState *GetMetastoreSummaryResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *GetMetastoreSummaryResponse) SyncEffectiveFieldsDuringRead(existingState GetMetastoreSummaryResponse) { } +func (c GetMetastoreSummaryResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetastoreSummaryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8563,12 +8780,6 @@ type GetModelVersionRequest struct { Version types.Int64 `tfsdk:"-"` } -func (newState *GetModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionRequest) { -} - -func (newState *GetModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState GetModelVersionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8612,12 +8823,6 @@ type GetOnlineTableRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetOnlineTableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOnlineTableRequest) { -} - -func (newState *GetOnlineTableRequest) SyncEffectiveFieldsDuringRead(existingState GetOnlineTableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOnlineTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8655,12 +8860,6 @@ type GetQualityMonitorRequest struct { TableName types.String `tfsdk:"-"` } -func (newState *GetQualityMonitorRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQualityMonitorRequest) { -} - -func (newState *GetQualityMonitorRequest) SyncEffectiveFieldsDuringRead(existingState GetQualityMonitorRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQualityMonitorRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8704,12 +8903,6 @@ type GetQuotaRequest struct { QuotaName types.String `tfsdk:"-"` } -func (newState *GetQuotaRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQuotaRequest) { -} - -func (newState *GetQuotaRequest) SyncEffectiveFieldsDuringRead(existingState GetQuotaRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQuotaRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8756,6 +8949,12 @@ func (newState *GetQuotaResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan G func (newState *GetQuotaResponse) SyncEffectiveFieldsDuringRead(existingState GetQuotaResponse) { } +func (c GetQuotaResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuotaInfo{}.ApplySchemaCustomizations(cs, append(path, "quota_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQuotaResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8825,12 +9024,6 @@ type GetRefreshRequest struct { TableName types.String `tfsdk:"-"` } -func (newState *GetRefreshRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRefreshRequest) { -} - -func (newState *GetRefreshRequest) SyncEffectiveFieldsDuringRead(existingState GetRefreshRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRefreshRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8875,12 +9068,6 @@ type GetRegisteredModelRequest struct { IncludeBrowse types.Bool `tfsdk:"-"` } -func (newState *GetRegisteredModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelRequest) { -} - -func (newState *GetRegisteredModelRequest) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8925,12 +9112,6 @@ type GetSchemaRequest struct { IncludeBrowse types.Bool `tfsdk:"-"` } -func (newState *GetSchemaRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSchemaRequest) { -} - -func (newState *GetSchemaRequest) SyncEffectiveFieldsDuringRead(existingState GetSchemaRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSchemaRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8970,12 +9151,6 @@ type GetStorageCredentialRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetStorageCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStorageCredentialRequest) { -} - -func (newState *GetStorageCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GetStorageCredentialRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStorageCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9020,12 +9195,6 @@ type GetTableRequest struct { IncludeManifestCapabilities types.Bool `tfsdk:"-"` } -func (newState *GetTableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetTableRequest) { -} - -func (newState *GetTableRequest) SyncEffectiveFieldsDuringRead(existingState GetTableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9069,12 +9238,6 @@ type GetWorkspaceBindingRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetWorkspaceBindingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceBindingRequest) { -} - -func (newState *GetWorkspaceBindingRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceBindingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceBindingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9112,12 +9275,6 @@ type ListAccountMetastoreAssignmentsRequest struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *ListAccountMetastoreAssignmentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountMetastoreAssignmentsRequest) { -} - -func (newState *ListAccountMetastoreAssignmentsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountMetastoreAssignmentsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountMetastoreAssignmentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9160,6 +9317,11 @@ func (newState *ListAccountMetastoreAssignmentsResponse) SyncEffectiveFieldsDuri func (newState *ListAccountMetastoreAssignmentsResponse) SyncEffectiveFieldsDuringRead(existingState ListAccountMetastoreAssignmentsResponse) { } +func (c ListAccountMetastoreAssignmentsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountMetastoreAssignmentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9227,12 +9389,6 @@ type ListAccountStorageCredentialsRequest struct { MetastoreId types.String `tfsdk:"-"` } -func (newState *ListAccountStorageCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountStorageCredentialsRequest) { -} - -func (newState *ListAccountStorageCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountStorageCredentialsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountStorageCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9275,6 +9431,12 @@ func (newState *ListAccountStorageCredentialsResponse) SyncEffectiveFieldsDuring func (newState *ListAccountStorageCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState ListAccountStorageCredentialsResponse) { } +func (c ListAccountStorageCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StorageCredentialInfo{}.ApplySchemaCustomizations(cs, append(path, "storage_credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountStorageCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9355,12 +9517,6 @@ type ListCatalogsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCatalogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCatalogsRequest) { -} - -func (newState *ListCatalogsRequest) SyncEffectiveFieldsDuringRead(existingState ListCatalogsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCatalogsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9411,6 +9567,12 @@ func (newState *ListCatalogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListCatalogsResponse) SyncEffectiveFieldsDuringRead(existingState ListCatalogsResponse) { } +func (c ListCatalogsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CatalogInfo{}.ApplySchemaCustomizations(cs, append(path, "catalogs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCatalogsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9487,12 +9649,6 @@ type ListConnectionsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListConnectionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListConnectionsRequest) { -} - -func (newState *ListConnectionsRequest) SyncEffectiveFieldsDuringRead(existingState ListConnectionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListConnectionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9541,6 +9697,12 @@ func (newState *ListConnectionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListConnectionsResponse) SyncEffectiveFieldsDuringRead(existingState ListConnectionsResponse) { } +func (c ListConnectionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ConnectionInfo{}.ApplySchemaCustomizations(cs, append(path, "connections")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListConnectionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9618,12 +9780,6 @@ type ListCredentialsRequest struct { Purpose types.String `tfsdk:"-"` } -func (newState *ListCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCredentialsRequest) { -} - -func (newState *ListCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState ListCredentialsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9673,6 +9829,12 @@ func (newState *ListCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState ListCredentialsResponse) { } +func (c ListCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CredentialInfo{}.ApplySchemaCustomizations(cs, append(path, "credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9752,12 +9914,6 @@ type ListExternalLocationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExternalLocationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExternalLocationsRequest) { -} - -func (newState *ListExternalLocationsRequest) SyncEffectiveFieldsDuringRead(existingState ListExternalLocationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExternalLocationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9808,6 +9964,12 @@ func (newState *ListExternalLocationsResponse) SyncEffectiveFieldsDuringCreateOr func (newState *ListExternalLocationsResponse) SyncEffectiveFieldsDuringRead(existingState ListExternalLocationsResponse) { } +func (c ListExternalLocationsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalLocationInfo{}.ApplySchemaCustomizations(cs, append(path, "external_locations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExternalLocationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9891,12 +10053,6 @@ type ListFunctionsRequest struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListFunctionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListFunctionsRequest) { -} - -func (newState *ListFunctionsRequest) SyncEffectiveFieldsDuringRead(existingState ListFunctionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFunctionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9951,6 +10107,12 @@ func (newState *ListFunctionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListFunctionsResponse) SyncEffectiveFieldsDuringRead(existingState ListFunctionsResponse) { } +func (c ListFunctionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FunctionInfo{}.ApplySchemaCustomizations(cs, append(path, "functions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFunctionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10025,6 +10187,12 @@ func (newState *ListMetastoresResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListMetastoresResponse) SyncEffectiveFieldsDuringRead(existingState ListMetastoresResponse) { } +func (c ListMetastoresResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MetastoreInfo{}.ApplySchemaCustomizations(cs, append(path, "metastores")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListMetastoresResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10106,12 +10274,6 @@ type ListModelVersionsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListModelVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListModelVersionsRequest) { -} - -func (newState *ListModelVersionsRequest) SyncEffectiveFieldsDuringRead(existingState ListModelVersionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelVersionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10163,6 +10325,12 @@ func (newState *ListModelVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListModelVersionsResponse) SyncEffectiveFieldsDuringRead(existingState ListModelVersionsResponse) { } +func (c ListModelVersionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersionInfo{}.ApplySchemaCustomizations(cs, append(path, "model_versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10234,12 +10402,6 @@ type ListQuotasRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListQuotasRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQuotasRequest) { -} - -func (newState *ListQuotasRequest) SyncEffectiveFieldsDuringRead(existingState ListQuotasRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQuotasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10288,6 +10450,12 @@ func (newState *ListQuotasResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListQuotasResponse) SyncEffectiveFieldsDuringRead(existingState ListQuotasResponse) { } +func (c ListQuotasResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuotaInfo{}.ApplySchemaCustomizations(cs, append(path, "quotas")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQuotasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10357,12 +10525,6 @@ type ListRefreshesRequest struct { TableName types.String `tfsdk:"-"` } -func (newState *ListRefreshesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRefreshesRequest) { -} - -func (newState *ListRefreshesRequest) SyncEffectiveFieldsDuringRead(existingState ListRefreshesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRefreshesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10427,12 +10589,6 @@ type ListRegisteredModelsRequest struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListRegisteredModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRegisteredModelsRequest) { -} - -func (newState *ListRegisteredModelsRequest) SyncEffectiveFieldsDuringRead(existingState ListRegisteredModelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRegisteredModelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10486,6 +10642,12 @@ func (newState *ListRegisteredModelsResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *ListRegisteredModelsResponse) SyncEffectiveFieldsDuringRead(existingState ListRegisteredModelsResponse) { } +func (c ListRegisteredModelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelInfo{}.ApplySchemaCustomizations(cs, append(path, "registered_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRegisteredModelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10567,12 +10729,6 @@ type ListSchemasRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSchemasRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSchemasRequest) { -} - -func (newState *ListSchemasRequest) SyncEffectiveFieldsDuringRead(existingState ListSchemasRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchemasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10625,6 +10781,12 @@ func (newState *ListSchemasResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ListSchemasResponse) SyncEffectiveFieldsDuringRead(existingState ListSchemasResponse) { } +func (c ListSchemasResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SchemaInfo{}.ApplySchemaCustomizations(cs, append(path, "schemas")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchemasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10701,12 +10863,6 @@ type ListStorageCredentialsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListStorageCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListStorageCredentialsRequest) { -} - -func (newState *ListStorageCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState ListStorageCredentialsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStorageCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10755,6 +10911,12 @@ func (newState *ListStorageCredentialsResponse) SyncEffectiveFieldsDuringCreateO func (newState *ListStorageCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState ListStorageCredentialsResponse) { } +func (c ListStorageCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StorageCredentialInfo{}.ApplySchemaCustomizations(cs, append(path, "storage_credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStorageCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10842,12 +11004,6 @@ type ListSummariesRequest struct { TableNamePattern types.String `tfsdk:"-"` } -func (newState *ListSummariesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSummariesRequest) { -} - -func (newState *ListSummariesRequest) SyncEffectiveFieldsDuringRead(existingState ListSummariesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSummariesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10904,12 +11060,6 @@ type ListSystemSchemasRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSystemSchemasRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSystemSchemasRequest) { -} - -func (newState *ListSystemSchemasRequest) SyncEffectiveFieldsDuringRead(existingState ListSystemSchemasRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSystemSchemasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10960,6 +11110,12 @@ func (newState *ListSystemSchemasResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListSystemSchemasResponse) SyncEffectiveFieldsDuringRead(existingState ListSystemSchemasResponse) { } +func (c ListSystemSchemasResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SystemSchemaInfo{}.ApplySchemaCustomizations(cs, append(path, "schemas")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSystemSchemasResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11035,7 +11191,13 @@ type ListTableSummariesResponse struct { func (newState *ListTableSummariesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTableSummariesResponse) { } -func (newState *ListTableSummariesResponse) SyncEffectiveFieldsDuringRead(existingState ListTableSummariesResponse) { +func (newState *ListTableSummariesResponse) SyncEffectiveFieldsDuringRead(existingState ListTableSummariesResponse) { +} + +func (c ListTableSummariesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSummary{}.ApplySchemaCustomizations(cs, append(path, "tables")...) + + return cs } // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTableSummariesResponse. @@ -11132,12 +11294,6 @@ type ListTablesRequest struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListTablesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTablesRequest) { -} - -func (newState *ListTablesRequest) SyncEffectiveFieldsDuringRead(existingState ListTablesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTablesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11202,6 +11358,12 @@ func (newState *ListTablesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListTablesResponse) SyncEffectiveFieldsDuringRead(existingState ListTablesResponse) { } +func (c ListTablesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableInfo{}.ApplySchemaCustomizations(cs, append(path, "tables")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTablesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11292,12 +11454,6 @@ type ListVolumesRequest struct { SchemaName types.String `tfsdk:"-"` } -func (newState *ListVolumesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVolumesRequest) { -} - -func (newState *ListVolumesRequest) SyncEffectiveFieldsDuringRead(existingState ListVolumesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVolumesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11352,6 +11508,12 @@ func (newState *ListVolumesResponseContent) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListVolumesResponseContent) SyncEffectiveFieldsDuringRead(existingState ListVolumesResponseContent) { } +func (c ListVolumesResponseContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + VolumeInfo{}.ApplySchemaCustomizations(cs, append(path, "volumes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVolumesResponseContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11430,6 +11592,13 @@ func (newState *MetastoreAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *MetastoreAssignment) SyncEffectiveFieldsDuringRead(existingState MetastoreAssignment) { } +func (c MetastoreAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "metastore_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11516,6 +11685,11 @@ func (newState *MetastoreInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Meta func (newState *MetastoreInfo) SyncEffectiveFieldsDuringRead(existingState MetastoreInfo) { } +func (c MetastoreInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MetastoreInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11642,6 +11816,13 @@ func (newState *ModelVersionInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan M func (newState *ModelVersionInfo) SyncEffectiveFieldsDuringRead(existingState ModelVersionInfo) { } +func (c ModelVersionInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAlias{}.ApplySchemaCustomizations(cs, append(path, "aliases")...) + DependencyList{}.ApplySchemaCustomizations(cs, append(path, "model_version_dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11786,6 +11967,13 @@ func (newState *MonitorCronSchedule) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *MonitorCronSchedule) SyncEffectiveFieldsDuringRead(existingState MonitorCronSchedule) { } +func (c MonitorCronSchedule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "quartz_cron_expression")...) + cs.SetRequired(append(path, "timezone_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorCronSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11832,6 +12020,11 @@ func (newState *MonitorDataClassificationConfig) SyncEffectiveFieldsDuringCreate func (newState *MonitorDataClassificationConfig) SyncEffectiveFieldsDuringRead(existingState MonitorDataClassificationConfig) { } +func (c MonitorDataClassificationConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorDataClassificationConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11875,6 +12068,11 @@ func (newState *MonitorDestination) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MonitorDestination) SyncEffectiveFieldsDuringRead(existingState MonitorDestination) { } +func (c MonitorDestination) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11973,6 +12171,16 @@ func (newState *MonitorInferenceLog) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *MonitorInferenceLog) SyncEffectiveFieldsDuringRead(existingState MonitorInferenceLog) { } +func (c MonitorInferenceLog) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "granularities")...) + cs.SetRequired(append(path, "model_id_col")...) + cs.SetRequired(append(path, "prediction_col")...) + cs.SetRequired(append(path, "problem_type")...) + cs.SetRequired(append(path, "timestamp_col")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorInferenceLog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12104,6 +12312,23 @@ func (newState *MonitorInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Monito func (newState *MonitorInfo) SyncEffectiveFieldsDuringRead(existingState MonitorInfo) { } +func (c MonitorInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorMetric{}.ApplySchemaCustomizations(cs, append(path, "custom_metrics")...) + MonitorDataClassificationConfig{}.ApplySchemaCustomizations(cs, append(path, "data_classification_config")...) + cs.SetRequired(append(path, "drift_metrics_table_name")...) + MonitorInferenceLog{}.ApplySchemaCustomizations(cs, append(path, "inference_log")...) + cs.SetRequired(append(path, "monitor_version")...) + MonitorNotifications{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + cs.SetRequired(append(path, "profile_metrics_table_name")...) + MonitorCronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + MonitorSnapshot{}.ApplySchemaCustomizations(cs, append(path, "snapshot")...) + cs.SetRequired(append(path, "status")...) + cs.SetRequired(append(path, "table_name")...) + MonitorTimeSeries{}.ApplySchemaCustomizations(cs, append(path, "time_series")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12435,6 +12660,16 @@ func (newState *MonitorMetric) SyncEffectiveFieldsDuringCreateOrUpdate(plan Moni func (newState *MonitorMetric) SyncEffectiveFieldsDuringRead(existingState MonitorMetric) { } +func (c MonitorMetric) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "definition")...) + cs.SetRequired(append(path, "input_columns")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "output_data_type")...) + cs.SetRequired(append(path, "type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorMetric. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12518,6 +12753,13 @@ func (newState *MonitorNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *MonitorNotifications) SyncEffectiveFieldsDuringRead(existingState MonitorNotifications) { } +func (c MonitorNotifications) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorDestination{}.ApplySchemaCustomizations(cs, append(path, "on_failure")...) + MonitorDestination{}.ApplySchemaCustomizations(cs, append(path, "on_new_classification_tag_detected")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12634,6 +12876,14 @@ func (newState *MonitorRefreshInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MonitorRefreshInfo) SyncEffectiveFieldsDuringRead(existingState MonitorRefreshInfo) { } +func (c MonitorRefreshInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "refresh_id")...) + cs.SetRequired(append(path, "start_time_ms")...) + cs.SetRequired(append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorRefreshInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12686,6 +12936,12 @@ func (newState *MonitorRefreshListResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *MonitorRefreshListResponse) SyncEffectiveFieldsDuringRead(existingState MonitorRefreshListResponse) { } +func (c MonitorRefreshListResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorRefreshInfo{}.ApplySchemaCustomizations(cs, append(path, "refreshes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorRefreshListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12756,6 +13012,11 @@ func (newState *MonitorSnapshot) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mo func (newState *MonitorSnapshot) SyncEffectiveFieldsDuringRead(existingState MonitorSnapshot) { } +func (c MonitorSnapshot) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorSnapshot. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12804,6 +13065,13 @@ func (newState *MonitorTimeSeries) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MonitorTimeSeries) SyncEffectiveFieldsDuringRead(existingState MonitorTimeSeries) { } +func (c MonitorTimeSeries) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "granularities")...) + cs.SetRequired(append(path, "timestamp_col")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MonitorTimeSeries. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12878,6 +13146,12 @@ func (newState *NamedTableConstraint) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *NamedTableConstraint) SyncEffectiveFieldsDuringRead(existingState NamedTableConstraint) { } +func (c NamedTableConstraint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NamedTableConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12932,6 +13206,16 @@ func (newState *OnlineTable) SyncEffectiveFieldsDuringCreateOrUpdate(plan Online func (newState *OnlineTable) SyncEffectiveFieldsDuringRead(existingState OnlineTable) { } +func (c OnlineTable) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + OnlineTableSpec{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + cs.SetComputed(append(path, "status")...) + OnlineTableStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + cs.SetComputed(append(path, "table_serving_url")...) + cs.SetComputed(append(path, "unity_catalog_provisioning_state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13063,6 +13347,14 @@ func (newState *OnlineTableSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan On func (newState *OnlineTableSpec) SyncEffectiveFieldsDuringRead(existingState OnlineTableSpec) { } +func (c OnlineTableSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "pipeline_id")...) + OnlineTableSpecContinuousSchedulingPolicy{}.ApplySchemaCustomizations(cs, append(path, "run_continuously")...) + OnlineTableSpecTriggeredSchedulingPolicy{}.ApplySchemaCustomizations(cs, append(path, "run_triggered")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13203,6 +13495,11 @@ func (newState *OnlineTableSpecContinuousSchedulingPolicy) SyncEffectiveFieldsDu func (newState *OnlineTableSpecContinuousSchedulingPolicy) SyncEffectiveFieldsDuringRead(existingState OnlineTableSpecContinuousSchedulingPolicy) { } +func (c OnlineTableSpecContinuousSchedulingPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableSpecContinuousSchedulingPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13239,6 +13536,11 @@ func (newState *OnlineTableSpecTriggeredSchedulingPolicy) SyncEffectiveFieldsDur func (newState *OnlineTableSpecTriggeredSchedulingPolicy) SyncEffectiveFieldsDuringRead(existingState OnlineTableSpecTriggeredSchedulingPolicy) { } +func (c OnlineTableSpecTriggeredSchedulingPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableSpecTriggeredSchedulingPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13293,6 +13595,15 @@ func (newState *OnlineTableStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *OnlineTableStatus) SyncEffectiveFieldsDuringRead(existingState OnlineTableStatus) { } +func (c OnlineTableStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ContinuousUpdateStatus{}.ApplySchemaCustomizations(cs, append(path, "continuous_update_status")...) + FailedStatus{}.ApplySchemaCustomizations(cs, append(path, "failed_status")...) + ProvisioningStatus{}.ApplySchemaCustomizations(cs, append(path, "provisioning_status")...) + TriggeredUpdateStatus{}.ApplySchemaCustomizations(cs, append(path, "triggered_update_status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OnlineTableStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13466,6 +13777,11 @@ func (newState *PermissionsChange) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PermissionsChange) SyncEffectiveFieldsDuringRead(existingState PermissionsChange) { } +func (c PermissionsChange) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsChange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13571,6 +13887,12 @@ func (newState *PermissionsList) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pe func (newState *PermissionsList) SyncEffectiveFieldsDuringRead(existingState PermissionsList) { } +func (c PermissionsList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PrivilegeAssignment{}.ApplySchemaCustomizations(cs, append(path, "privilege_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13654,6 +13976,11 @@ func (newState *PipelineProgress) SyncEffectiveFieldsDuringCreateOrUpdate(plan P func (newState *PipelineProgress) SyncEffectiveFieldsDuringRead(existingState PipelineProgress) { } +func (c PipelineProgress) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineProgress. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13706,6 +14033,13 @@ func (newState *PrimaryKeyConstraint) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *PrimaryKeyConstraint) SyncEffectiveFieldsDuringRead(existingState PrimaryKeyConstraint) { } +func (c PrimaryKeyConstraint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "child_columns")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrimaryKeyConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13782,6 +14116,11 @@ func (newState *PrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *PrivilegeAssignment) SyncEffectiveFieldsDuringRead(existingState PrivilegeAssignment) { } +func (c PrivilegeAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13856,6 +14195,11 @@ func (newState *ProvisioningInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan P func (newState *ProvisioningInfo) SyncEffectiveFieldsDuringRead(existingState ProvisioningInfo) { } +func (c ProvisioningInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProvisioningInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13901,6 +14245,12 @@ func (newState *ProvisioningStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ProvisioningStatus) SyncEffectiveFieldsDuringRead(existingState ProvisioningStatus) { } +func (c ProvisioningStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineProgress{}.ApplySchemaCustomizations(cs, append(path, "initial_pipeline_sync_progress")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProvisioningStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13984,6 +14334,11 @@ func (newState *QuotaInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan QuotaInf func (newState *QuotaInfo) SyncEffectiveFieldsDuringRead(existingState QuotaInfo) { } +func (c QuotaInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QuotaInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14042,6 +14397,11 @@ func (newState *R2Credentials) SyncEffectiveFieldsDuringCreateOrUpdate(plan R2Cr func (newState *R2Credentials) SyncEffectiveFieldsDuringRead(existingState R2Credentials) { } +func (c R2Credentials) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in R2Credentials. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14086,12 +14446,6 @@ type ReadVolumeRequest struct { Name types.String `tfsdk:"-"` } -func (newState *ReadVolumeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadVolumeRequest) { -} - -func (newState *ReadVolumeRequest) SyncEffectiveFieldsDuringRead(existingState ReadVolumeRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadVolumeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14139,6 +14493,12 @@ func (newState *RegenerateDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpd func (newState *RegenerateDashboardRequest) SyncEffectiveFieldsDuringRead(existingState RegenerateDashboardRequest) { } +func (c RegenerateDashboardRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "table_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegenerateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14185,6 +14545,11 @@ func (newState *RegenerateDashboardResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *RegenerateDashboardResponse) SyncEffectiveFieldsDuringRead(existingState RegenerateDashboardResponse) { } +func (c RegenerateDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegenerateDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14232,6 +14597,11 @@ func (newState *RegisteredModelAlias) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RegisteredModelAlias) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAlias) { } +func (c RegisteredModelAlias) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelAlias. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14307,6 +14677,12 @@ func (newState *RegisteredModelInfo) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RegisteredModelInfo) SyncEffectiveFieldsDuringRead(existingState RegisteredModelInfo) { } +func (c RegisteredModelInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAlias{}.ApplySchemaCustomizations(cs, append(path, "aliases")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14400,12 +14776,6 @@ type RunRefreshRequest struct { TableName types.String `tfsdk:"-"` } -func (newState *RunRefreshRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunRefreshRequest) { -} - -func (newState *RunRefreshRequest) SyncEffectiveFieldsDuringRead(existingState RunRefreshRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunRefreshRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14485,6 +14855,12 @@ func (newState *SchemaInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan SchemaI func (newState *SchemaInfo) SyncEffectiveFieldsDuringRead(existingState SchemaInfo) { } +func (c SchemaInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EffectivePredictiveOptimizationFlag{}.ApplySchemaCustomizations(cs, append(path, "effective_predictive_optimization_flag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SchemaInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14622,6 +14998,14 @@ func (newState *SetArtifactAllowlist) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SetArtifactAllowlist) SyncEffectiveFieldsDuringRead(existingState SetArtifactAllowlist) { } +func (c SetArtifactAllowlist) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "artifact_matchers")...) + ArtifactMatcher{}.ApplySchemaCustomizations(cs, append(path, "artifact_matchers")...) + cs.SetRequired(append(path, "artifact_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetArtifactAllowlist. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14700,6 +15084,14 @@ func (newState *SetRegisteredModelAliasRequest) SyncEffectiveFieldsDuringCreateO func (newState *SetRegisteredModelAliasRequest) SyncEffectiveFieldsDuringRead(existingState SetRegisteredModelAliasRequest) { } +func (c SetRegisteredModelAliasRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "alias")...) + cs.SetRequired(append(path, "full_name")...) + cs.SetRequired(append(path, "version_num")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetRegisteredModelAliasRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14750,6 +15142,11 @@ func (newState *SseEncryptionDetails) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SseEncryptionDetails) SyncEffectiveFieldsDuringRead(existingState SseEncryptionDetails) { } +func (c SseEncryptionDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SseEncryptionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14829,6 +15226,16 @@ func (newState *StorageCredentialInfo) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *StorageCredentialInfo) SyncEffectiveFieldsDuringRead(existingState StorageCredentialInfo) { } +func (c StorageCredentialInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleResponse{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityResponse{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountResponse{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StorageCredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15054,6 +15461,11 @@ func (newState *SystemSchemaInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SystemSchemaInfo) SyncEffectiveFieldsDuringRead(existingState SystemSchemaInfo) { } +func (c SystemSchemaInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SystemSchemaInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15104,6 +15516,14 @@ func (newState *TableConstraint) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ta func (newState *TableConstraint) SyncEffectiveFieldsDuringRead(existingState TableConstraint) { } +func (c TableConstraint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ForeignKeyConstraint{}.ApplySchemaCustomizations(cs, append(path, "foreign_key_constraint")...) + NamedTableConstraint{}.ApplySchemaCustomizations(cs, append(path, "named_table_constraint")...) + PrimaryKeyConstraint{}.ApplySchemaCustomizations(cs, append(path, "primary_key_constraint")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableConstraint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15240,6 +15660,12 @@ func (newState *TableDependency) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ta func (newState *TableDependency) SyncEffectiveFieldsDuringRead(existingState TableDependency) { } +func (c TableDependency) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "table_full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableDependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15282,6 +15708,11 @@ func (newState *TableExistsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *TableExistsResponse) SyncEffectiveFieldsDuringRead(existingState TableExistsResponse) { } +func (c TableExistsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableExistsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15399,6 +15830,18 @@ func (newState *TableInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan TableInf func (newState *TableInfo) SyncEffectiveFieldsDuringRead(existingState TableInfo) { } +func (c TableInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnInfo{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + DeltaRuntimePropertiesKvPairs{}.ApplySchemaCustomizations(cs, append(path, "delta_runtime_properties_kvpairs")...) + EffectivePredictiveOptimizationFlag{}.ApplySchemaCustomizations(cs, append(path, "effective_predictive_optimization_flag")...) + EncryptionDetails{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + TableRowFilter{}.ApplySchemaCustomizations(cs, append(path, "row_filter")...) + TableConstraint{}.ApplySchemaCustomizations(cs, append(path, "table_constraints")...) + DependencyList{}.ApplySchemaCustomizations(cs, append(path, "view_dependencies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15740,6 +16183,13 @@ func (newState *TableRowFilter) SyncEffectiveFieldsDuringCreateOrUpdate(plan Tab func (newState *TableRowFilter) SyncEffectiveFieldsDuringRead(existingState TableRowFilter) { } +func (c TableRowFilter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "function_name")...) + cs.SetRequired(append(path, "input_column_names")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableRowFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15816,6 +16266,11 @@ func (newState *TableSummary) SyncEffectiveFieldsDuringCreateOrUpdate(plan Table func (newState *TableSummary) SyncEffectiveFieldsDuringRead(existingState TableSummary) { } +func (c TableSummary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableSummary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15868,6 +16323,13 @@ func (newState *TemporaryCredentials) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *TemporaryCredentials) SyncEffectiveFieldsDuringRead(existingState TemporaryCredentials) { } +func (c TemporaryCredentials) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsCredentials{}.ApplySchemaCustomizations(cs, append(path, "aws_temp_credentials")...) + AzureActiveDirectoryToken{}.ApplySchemaCustomizations(cs, append(path, "azure_aad")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TemporaryCredentials. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15982,6 +16444,12 @@ func (newState *TriggeredUpdateStatus) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *TriggeredUpdateStatus) SyncEffectiveFieldsDuringRead(existingState TriggeredUpdateStatus) { } +func (c TriggeredUpdateStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineProgress{}.ApplySchemaCustomizations(cs, append(path, "triggered_update_progress")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggeredUpdateStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16055,12 +16523,6 @@ type UnassignRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *UnassignRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnassignRequest) { -} - -func (newState *UnassignRequest) SyncEffectiveFieldsDuringRead(existingState UnassignRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnassignRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16097,12 +16559,6 @@ func (o UnassignRequest) Type(ctx context.Context) attr.Type { type UnassignResponse struct { } -func (newState *UnassignResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnassignResponse) { -} - -func (newState *UnassignResponse) SyncEffectiveFieldsDuringRead(existingState UnassignResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnassignResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16133,12 +16589,6 @@ func (o UnassignResponse) Type(ctx context.Context) attr.Type { type UpdateAssignmentResponse struct { } -func (newState *UpdateAssignmentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAssignmentResponse) { -} - -func (newState *UpdateAssignmentResponse) SyncEffectiveFieldsDuringRead(existingState UpdateAssignmentResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAssignmentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16191,6 +16641,12 @@ func (newState *UpdateCatalog) SyncEffectiveFieldsDuringCreateOrUpdate(plan Upda func (newState *UpdateCatalog) SyncEffectiveFieldsDuringRead(existingState UpdateCatalog) { } +func (c UpdateCatalog) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCatalog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16281,6 +16737,13 @@ func (newState *UpdateConnection) SyncEffectiveFieldsDuringCreateOrUpdate(plan U func (newState *UpdateConnection) SyncEffectiveFieldsDuringRead(existingState UpdateConnection) { } +func (c UpdateConnection) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateConnection. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16388,6 +16851,16 @@ func (newState *UpdateCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateCredentialRequest) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialRequest) { } +func (c UpdateCredentialRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + DatabricksGcpServiceAccount{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name_arg")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16597,6 +17070,13 @@ func (newState *UpdateExternalLocation) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateExternalLocation) SyncEffectiveFieldsDuringRead(existingState UpdateExternalLocation) { } +func (c UpdateExternalLocation) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EncryptionDetails{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExternalLocation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16696,6 +17176,12 @@ func (newState *UpdateFunction) SyncEffectiveFieldsDuringCreateOrUpdate(plan Upd func (newState *UpdateFunction) SyncEffectiveFieldsDuringRead(existingState UpdateFunction) { } +func (c UpdateFunction) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateFunction. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16756,6 +17242,12 @@ func (newState *UpdateMetastore) SyncEffectiveFieldsDuringCreateOrUpdate(plan Up func (newState *UpdateMetastore) SyncEffectiveFieldsDuringRead(existingState UpdateMetastore) { } +func (c UpdateMetastore) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMetastore. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16818,6 +17310,12 @@ func (newState *UpdateMetastoreAssignment) SyncEffectiveFieldsDuringCreateOrUpda func (newState *UpdateMetastoreAssignment) SyncEffectiveFieldsDuringRead(existingState UpdateMetastoreAssignment) { } +func (c UpdateMetastoreAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMetastoreAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16868,6 +17366,13 @@ func (newState *UpdateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *UpdateModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionRequest) { } +func (c UpdateModelVersionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "full_name")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16945,6 +17450,20 @@ func (newState *UpdateMonitor) SyncEffectiveFieldsDuringCreateOrUpdate(plan Upda func (newState *UpdateMonitor) SyncEffectiveFieldsDuringRead(existingState UpdateMonitor) { } +func (c UpdateMonitor) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MonitorMetric{}.ApplySchemaCustomizations(cs, append(path, "custom_metrics")...) + MonitorDataClassificationConfig{}.ApplySchemaCustomizations(cs, append(path, "data_classification_config")...) + MonitorInferenceLog{}.ApplySchemaCustomizations(cs, append(path, "inference_log")...) + MonitorNotifications{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + cs.SetRequired(append(path, "output_schema_name")...) + MonitorCronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + MonitorSnapshot{}.ApplySchemaCustomizations(cs, append(path, "snapshot")...) + cs.SetRequired(append(path, "table_name")...) + MonitorTimeSeries{}.ApplySchemaCustomizations(cs, append(path, "time_series")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateMonitor. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17246,6 +17765,14 @@ func (newState *UpdatePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdatePermissions) SyncEffectiveFieldsDuringRead(existingState UpdatePermissions) { } +func (c UpdatePermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionsChange{}.ApplySchemaCustomizations(cs, append(path, "changes")...) + cs.SetRequired(append(path, "full_name")...) + cs.SetRequired(append(path, "securable_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17328,6 +17855,12 @@ func (newState *UpdateRegisteredModelRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateRegisteredModelRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRegisteredModelRequest) { } +func (c UpdateRegisteredModelRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRegisteredModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17368,12 +17901,6 @@ func (o UpdateRegisteredModelRequest) Type(ctx context.Context) attr.Type { type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -17423,6 +17950,12 @@ func (newState *UpdateSchema) SyncEffectiveFieldsDuringCreateOrUpdate(plan Updat func (newState *UpdateSchema) SyncEffectiveFieldsDuringRead(existingState UpdateSchema) { } +func (c UpdateSchema) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "full_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17531,6 +18064,17 @@ func (newState *UpdateStorageCredential) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateStorageCredential) SyncEffectiveFieldsDuringRead(existingState UpdateStorageCredential) { } +func (c UpdateStorageCredential) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleRequest{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityResponse{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountRequest{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17740,12 +18284,6 @@ type UpdateTableRequest struct { Owner types.String `tfsdk:"owner" tf:"optional"` } -func (newState *UpdateTableRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateTableRequest) { -} - -func (newState *UpdateTableRequest) SyncEffectiveFieldsDuringRead(existingState UpdateTableRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateTableRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17796,6 +18334,12 @@ func (newState *UpdateVolumeRequestContent) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateVolumeRequestContent) SyncEffectiveFieldsDuringRead(existingState UpdateVolumeRequestContent) { } +func (c UpdateVolumeRequestContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVolumeRequestContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17848,6 +18392,12 @@ func (newState *UpdateWorkspaceBindings) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateWorkspaceBindings) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceBindings) { } +func (c UpdateWorkspaceBindings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceBindings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -17959,6 +18509,15 @@ func (newState *UpdateWorkspaceBindingsParameters) SyncEffectiveFieldsDuringCrea func (newState *UpdateWorkspaceBindingsParameters) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceBindingsParameters) { } +func (c UpdateWorkspaceBindingsParameters) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceBinding{}.ApplySchemaCustomizations(cs, append(path, "add")...) + WorkspaceBinding{}.ApplySchemaCustomizations(cs, append(path, "remove")...) + cs.SetRequired(append(path, "securable_name")...) + cs.SetRequired(append(path, "securable_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceBindingsParameters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18083,6 +18642,13 @@ func (newState *ValidateCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ValidateCredentialRequest) SyncEffectiveFieldsDuringRead(existingState ValidateCredentialRequest) { } +func (c ValidateCredentialRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRole{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentity{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateCredentialRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18199,6 +18765,12 @@ func (newState *ValidateCredentialResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ValidateCredentialResponse) SyncEffectiveFieldsDuringRead(existingState ValidateCredentialResponse) { } +func (c ValidateCredentialResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CredentialValidationResult{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18289,6 +18861,16 @@ func (newState *ValidateStorageCredential) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ValidateStorageCredential) SyncEffectiveFieldsDuringRead(existingState ValidateStorageCredential) { } +func (c ValidateStorageCredential) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsIamRoleRequest{}.ApplySchemaCustomizations(cs, append(path, "aws_iam_role")...) + AzureManagedIdentityRequest{}.ApplySchemaCustomizations(cs, append(path, "azure_managed_identity")...) + AzureServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "azure_service_principal")...) + CloudflareApiToken{}.ApplySchemaCustomizations(cs, append(path, "cloudflare_api_token")...) + DatabricksGcpServiceAccountRequest{}.ApplySchemaCustomizations(cs, append(path, "databricks_gcp_service_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateStorageCredential. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18495,6 +19077,12 @@ func (newState *ValidateStorageCredentialResponse) SyncEffectiveFieldsDuringCrea func (newState *ValidateStorageCredentialResponse) SyncEffectiveFieldsDuringRead(existingState ValidateStorageCredentialResponse) { } +func (c ValidateStorageCredentialResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ValidationResult{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidateStorageCredentialResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18573,6 +19161,11 @@ func (newState *ValidationResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan V func (newState *ValidationResult) SyncEffectiveFieldsDuringRead(existingState ValidationResult) { } +func (c ValidationResult) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ValidationResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18653,6 +19246,12 @@ func (newState *VolumeInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan VolumeI func (newState *VolumeInfo) SyncEffectiveFieldsDuringRead(existingState VolumeInfo) { } +func (c VolumeInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EncryptionDetails{}.ApplySchemaCustomizations(cs, append(path, "encryption_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumeInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18758,6 +19357,11 @@ func (newState *WorkspaceBinding) SyncEffectiveFieldsDuringCreateOrUpdate(plan W func (newState *WorkspaceBinding) SyncEffectiveFieldsDuringRead(existingState WorkspaceBinding) { } +func (c WorkspaceBinding) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceBinding. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -18807,6 +19411,12 @@ func (newState *WorkspaceBindingsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *WorkspaceBindingsResponse) SyncEffectiveFieldsDuringRead(existingState WorkspaceBindingsResponse) { } +func (c WorkspaceBindingsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceBinding{}.ApplySchemaCustomizations(cs, append(path, "bindings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceBindingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/cleanrooms_tf/legacy_model.go b/internal/service/cleanrooms_tf/legacy_model.go index 646aebd6d..e8e006513 100755 --- a/internal/service/cleanrooms_tf/legacy_model.go +++ b/internal/service/cleanrooms_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/catalog_tf" "github.com/databricks/terraform-provider-databricks/internal/service/jobs_tf" @@ -64,6 +65,19 @@ func (newState *CleanRoom_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cl func (newState *CleanRoom_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoom_SdkV2) { } +func (c CleanRoom_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "access_restricted")...) + cs.SetComputed(append(path, "created_at")...) + cs.SetComputed(append(path, "local_collaborator_alias")...) + cs.SetComputed(append(path, "output_catalog")...) + CleanRoomOutputCatalog_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "output_catalog")...) + CleanRoomRemoteDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "remote_detailed_info")...) + cs.SetComputed(append(path, "status")...) + cs.SetComputed(append(path, "updated_at")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoom. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -222,6 +236,22 @@ func (newState *CleanRoomAsset_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CleanRoomAsset_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAsset_SdkV2) { } +func (c CleanRoomAsset_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "added_at")...) + CleanRoomAssetForeignTable_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "foreign_table")...) + CleanRoomAssetForeignTableLocalDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "foreign_table_local_details")...) + CleanRoomAssetNotebook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook")...) + cs.SetComputed(append(path, "owner_collaborator_alias")...) + cs.SetComputed(append(path, "status")...) + CleanRoomAssetTable_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table")...) + CleanRoomAssetTableLocalDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_local_details")...) + CleanRoomAssetView_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "view")...) + CleanRoomAssetViewLocalDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "view_local_details")...) + CleanRoomAssetVolumeLocalDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "volume_local_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAsset. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -521,6 +551,12 @@ func (newState *CleanRoomAssetForeignTable_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CleanRoomAssetForeignTable_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetForeignTable_SdkV2) { } +func (c CleanRoomAssetForeignTable_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetForeignTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -594,6 +630,11 @@ func (newState *CleanRoomAssetForeignTableLocalDetails_SdkV2) SyncEffectiveField func (newState *CleanRoomAssetForeignTableLocalDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetForeignTableLocalDetails_SdkV2) { } +func (c CleanRoomAssetForeignTableLocalDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetForeignTableLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -639,6 +680,12 @@ func (newState *CleanRoomAssetNotebook_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CleanRoomAssetNotebook_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetNotebook_SdkV2) { } +func (c CleanRoomAssetNotebook_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetNotebook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -683,6 +730,12 @@ func (newState *CleanRoomAssetTable_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CleanRoomAssetTable_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetTable_SdkV2) { } +func (c CleanRoomAssetTable_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -758,6 +811,11 @@ func (newState *CleanRoomAssetTableLocalDetails_SdkV2) SyncEffectiveFieldsDuring func (newState *CleanRoomAssetTableLocalDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetTableLocalDetails_SdkV2) { } +func (c CleanRoomAssetTableLocalDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetTableLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -832,6 +890,12 @@ func (newState *CleanRoomAssetView_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CleanRoomAssetView_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetView_SdkV2) { } +func (c CleanRoomAssetView_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetView. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -905,6 +969,11 @@ func (newState *CleanRoomAssetViewLocalDetails_SdkV2) SyncEffectiveFieldsDuringC func (newState *CleanRoomAssetViewLocalDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetViewLocalDetails_SdkV2) { } +func (c CleanRoomAssetViewLocalDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetViewLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -948,6 +1017,11 @@ func (newState *CleanRoomAssetVolumeLocalDetails_SdkV2) SyncEffectiveFieldsDurin func (newState *CleanRoomAssetVolumeLocalDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetVolumeLocalDetails_SdkV2) { } +func (c CleanRoomAssetVolumeLocalDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetVolumeLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1018,6 +1092,13 @@ func (newState *CleanRoomCollaborator_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CleanRoomCollaborator_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomCollaborator_SdkV2) { } +func (c CleanRoomCollaborator_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "display_name")...) + cs.SetComputed(append(path, "organization_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomCollaborator. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1088,6 +1169,13 @@ func (newState *CleanRoomNotebookTaskRun_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *CleanRoomNotebookTaskRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomNotebookTaskRun_SdkV2) { } +func (c CleanRoomNotebookTaskRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CollaboratorJobRunInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "collaborator_job_run_info")...) + jobs_tf.CleanRoomTaskRunState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook_job_run_state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomNotebookTaskRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1206,6 +1294,12 @@ func (newState *CleanRoomOutputCatalog_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CleanRoomOutputCatalog_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomOutputCatalog_SdkV2) { } +func (c CleanRoomOutputCatalog_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomOutputCatalog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1270,6 +1364,17 @@ func (newState *CleanRoomRemoteDetail_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CleanRoomRemoteDetail_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomRemoteDetail_SdkV2) { } +func (c CleanRoomRemoteDetail_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "central_clean_room_id")...) + CleanRoomCollaborator_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "collaborators")...) + ComplianceSecurityProfile_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "compliance_security_profile")...) + cs.SetComputed(append(path, "creator")...) + CleanRoomCollaborator_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "creator")...) + settings_tf.EgressNetworkPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "egress_network_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomRemoteDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1449,6 +1554,11 @@ func (newState *CollaboratorJobRunInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CollaboratorJobRunInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CollaboratorJobRunInfo_SdkV2) { } +func (c CollaboratorJobRunInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CollaboratorJobRunInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1504,6 +1614,11 @@ func (newState *ComplianceSecurityProfile_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ComplianceSecurityProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState ComplianceSecurityProfile_SdkV2) { } +func (c ComplianceSecurityProfile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplianceSecurityProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1575,12 +1690,6 @@ type CreateCleanRoomAssetRequest_SdkV2 struct { CleanRoomName types.String `tfsdk:"-"` } -func (newState *CreateCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCleanRoomAssetRequest_SdkV2) { -} - -func (newState *CreateCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomAssetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1652,12 +1761,6 @@ type CreateCleanRoomOutputCatalogRequest_SdkV2 struct { OutputCatalog types.List `tfsdk:"output_catalog" tf:"optional,object"` } -func (newState *CreateCleanRoomOutputCatalogRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCleanRoomOutputCatalogRequest_SdkV2) { -} - -func (newState *CreateCleanRoomOutputCatalogRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomOutputCatalogRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomOutputCatalogRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1731,6 +1834,12 @@ func (newState *CreateCleanRoomOutputCatalogResponse_SdkV2) SyncEffectiveFieldsD func (newState *CreateCleanRoomOutputCatalogResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomOutputCatalogResponse_SdkV2) { } +func (c CreateCleanRoomOutputCatalogResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomOutputCatalog_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "output_catalog")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomOutputCatalogResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1797,12 +1906,6 @@ type CreateCleanRoomRequest_SdkV2 struct { CleanRoom types.List `tfsdk:"clean_room" tf:"optional,object"` } -func (newState *CreateCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCleanRoomRequest_SdkV2) { -} - -func (newState *CreateCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1875,12 +1978,6 @@ type DeleteCleanRoomAssetRequest_SdkV2 struct { CleanRoomName types.String `tfsdk:"-"` } -func (newState *DeleteCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCleanRoomAssetRequest_SdkV2) { -} - -func (newState *DeleteCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCleanRoomAssetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1927,6 +2024,11 @@ func (newState *DeleteCleanRoomAssetResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *DeleteCleanRoomAssetResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCleanRoomAssetResponse_SdkV2) { } +func (c DeleteCleanRoomAssetResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCleanRoomAssetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1960,12 +2062,6 @@ type DeleteCleanRoomRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCleanRoomRequest_SdkV2) { -} - -func (newState *DeleteCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCleanRoomRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2000,12 +2096,6 @@ func (o DeleteCleanRoomRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -2044,12 +2134,6 @@ type GetCleanRoomAssetRequest_SdkV2 struct { CleanRoomName types.String `tfsdk:"-"` } -func (newState *GetCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCleanRoomAssetRequest_SdkV2) { -} - -func (newState *GetCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCleanRoomAssetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2090,12 +2174,6 @@ type GetCleanRoomRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCleanRoomRequest_SdkV2) { -} - -func (newState *GetCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCleanRoomRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2135,12 +2213,6 @@ type ListCleanRoomAssetsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCleanRoomAssetsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCleanRoomAssetsRequest_SdkV2) { -} - -func (newState *ListCleanRoomAssetsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomAssetsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomAssetsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2189,6 +2261,12 @@ func (newState *ListCleanRoomAssetsResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *ListCleanRoomAssetsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomAssetsResponse_SdkV2) { } +func (c ListCleanRoomAssetsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomAsset_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "assets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomAssetsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2264,12 +2342,6 @@ type ListCleanRoomNotebookTaskRunsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCleanRoomNotebookTaskRunsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCleanRoomNotebookTaskRunsRequest_SdkV2) { -} - -func (newState *ListCleanRoomNotebookTaskRunsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomNotebookTaskRunsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomNotebookTaskRunsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2322,6 +2394,12 @@ func (newState *ListCleanRoomNotebookTaskRunsResponse_SdkV2) SyncEffectiveFields func (newState *ListCleanRoomNotebookTaskRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomNotebookTaskRunsResponse_SdkV2) { } +func (c ListCleanRoomNotebookTaskRunsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomNotebookTaskRun_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "runs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomNotebookTaskRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2394,12 +2472,6 @@ type ListCleanRoomsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCleanRoomsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCleanRoomsRequest_SdkV2) { -} - -func (newState *ListCleanRoomsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2447,6 +2519,12 @@ func (newState *ListCleanRoomsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ListCleanRoomsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomsResponse_SdkV2) { } +func (c ListCleanRoomsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoom_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2528,12 +2606,6 @@ type UpdateCleanRoomAssetRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *UpdateCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCleanRoomAssetRequest_SdkV2) { -} - -func (newState *UpdateCleanRoomAssetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCleanRoomAssetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2613,6 +2685,13 @@ func (newState *UpdateCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateCleanRoomRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCleanRoomRequest_SdkV2) { } +func (c UpdateCleanRoomRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoom_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clean_room")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/cleanrooms_tf/model.go b/internal/service/cleanrooms_tf/model.go index 0f9a3581f..4cfb1c2b8 100755 --- a/internal/service/cleanrooms_tf/model.go +++ b/internal/service/cleanrooms_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/catalog_tf" "github.com/databricks/terraform-provider-databricks/internal/service/jobs_tf" @@ -64,6 +65,19 @@ func (newState *CleanRoom) SyncEffectiveFieldsDuringCreateOrUpdate(plan CleanRoo func (newState *CleanRoom) SyncEffectiveFieldsDuringRead(existingState CleanRoom) { } +func (c CleanRoom) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "access_restricted")...) + cs.SetComputed(append(path, "created_at")...) + cs.SetComputed(append(path, "local_collaborator_alias")...) + cs.SetComputed(append(path, "output_catalog")...) + CleanRoomOutputCatalog{}.ApplySchemaCustomizations(cs, append(path, "output_catalog")...) + CleanRoomRemoteDetail{}.ApplySchemaCustomizations(cs, append(path, "remote_detailed_info")...) + cs.SetComputed(append(path, "status")...) + cs.SetComputed(append(path, "updated_at")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoom. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -222,6 +236,22 @@ func (newState *CleanRoomAsset) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cle func (newState *CleanRoomAsset) SyncEffectiveFieldsDuringRead(existingState CleanRoomAsset) { } +func (c CleanRoomAsset) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "added_at")...) + CleanRoomAssetForeignTable{}.ApplySchemaCustomizations(cs, append(path, "foreign_table")...) + CleanRoomAssetForeignTableLocalDetails{}.ApplySchemaCustomizations(cs, append(path, "foreign_table_local_details")...) + CleanRoomAssetNotebook{}.ApplySchemaCustomizations(cs, append(path, "notebook")...) + cs.SetComputed(append(path, "owner_collaborator_alias")...) + cs.SetComputed(append(path, "status")...) + CleanRoomAssetTable{}.ApplySchemaCustomizations(cs, append(path, "table")...) + CleanRoomAssetTableLocalDetails{}.ApplySchemaCustomizations(cs, append(path, "table_local_details")...) + CleanRoomAssetView{}.ApplySchemaCustomizations(cs, append(path, "view")...) + CleanRoomAssetViewLocalDetails{}.ApplySchemaCustomizations(cs, append(path, "view_local_details")...) + CleanRoomAssetVolumeLocalDetails{}.ApplySchemaCustomizations(cs, append(path, "volume_local_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAsset. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -521,6 +551,12 @@ func (newState *CleanRoomAssetForeignTable) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CleanRoomAssetForeignTable) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetForeignTable) { } +func (c CleanRoomAssetForeignTable) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetForeignTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -594,6 +630,11 @@ func (newState *CleanRoomAssetForeignTableLocalDetails) SyncEffectiveFieldsDurin func (newState *CleanRoomAssetForeignTableLocalDetails) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetForeignTableLocalDetails) { } +func (c CleanRoomAssetForeignTableLocalDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetForeignTableLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -639,6 +680,12 @@ func (newState *CleanRoomAssetNotebook) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CleanRoomAssetNotebook) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetNotebook) { } +func (c CleanRoomAssetNotebook) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetNotebook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -683,6 +730,12 @@ func (newState *CleanRoomAssetTable) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CleanRoomAssetTable) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetTable) { } +func (c CleanRoomAssetTable) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -758,6 +811,11 @@ func (newState *CleanRoomAssetTableLocalDetails) SyncEffectiveFieldsDuringCreate func (newState *CleanRoomAssetTableLocalDetails) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetTableLocalDetails) { } +func (c CleanRoomAssetTableLocalDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetTableLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -832,6 +890,12 @@ func (newState *CleanRoomAssetView) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CleanRoomAssetView) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetView) { } +func (c CleanRoomAssetView) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetView. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -905,6 +969,11 @@ func (newState *CleanRoomAssetViewLocalDetails) SyncEffectiveFieldsDuringCreateO func (newState *CleanRoomAssetViewLocalDetails) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetViewLocalDetails) { } +func (c CleanRoomAssetViewLocalDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetViewLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -948,6 +1017,11 @@ func (newState *CleanRoomAssetVolumeLocalDetails) SyncEffectiveFieldsDuringCreat func (newState *CleanRoomAssetVolumeLocalDetails) SyncEffectiveFieldsDuringRead(existingState CleanRoomAssetVolumeLocalDetails) { } +func (c CleanRoomAssetVolumeLocalDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomAssetVolumeLocalDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1018,6 +1092,13 @@ func (newState *CleanRoomCollaborator) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CleanRoomCollaborator) SyncEffectiveFieldsDuringRead(existingState CleanRoomCollaborator) { } +func (c CleanRoomCollaborator) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "display_name")...) + cs.SetComputed(append(path, "organization_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomCollaborator. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1088,6 +1169,13 @@ func (newState *CleanRoomNotebookTaskRun) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CleanRoomNotebookTaskRun) SyncEffectiveFieldsDuringRead(existingState CleanRoomNotebookTaskRun) { } +func (c CleanRoomNotebookTaskRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CollaboratorJobRunInfo{}.ApplySchemaCustomizations(cs, append(path, "collaborator_job_run_info")...) + jobs_tf.CleanRoomTaskRunState{}.ApplySchemaCustomizations(cs, append(path, "notebook_job_run_state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomNotebookTaskRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1206,6 +1294,12 @@ func (newState *CleanRoomOutputCatalog) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CleanRoomOutputCatalog) SyncEffectiveFieldsDuringRead(existingState CleanRoomOutputCatalog) { } +func (c CleanRoomOutputCatalog) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomOutputCatalog. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1270,6 +1364,17 @@ func (newState *CleanRoomRemoteDetail) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CleanRoomRemoteDetail) SyncEffectiveFieldsDuringRead(existingState CleanRoomRemoteDetail) { } +func (c CleanRoomRemoteDetail) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "central_clean_room_id")...) + CleanRoomCollaborator{}.ApplySchemaCustomizations(cs, append(path, "collaborators")...) + ComplianceSecurityProfile{}.ApplySchemaCustomizations(cs, append(path, "compliance_security_profile")...) + cs.SetComputed(append(path, "creator")...) + CleanRoomCollaborator{}.ApplySchemaCustomizations(cs, append(path, "creator")...) + settings_tf.EgressNetworkPolicy{}.ApplySchemaCustomizations(cs, append(path, "egress_network_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomRemoteDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1449,6 +1554,11 @@ func (newState *CollaboratorJobRunInfo) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CollaboratorJobRunInfo) SyncEffectiveFieldsDuringRead(existingState CollaboratorJobRunInfo) { } +func (c CollaboratorJobRunInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CollaboratorJobRunInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1504,6 +1614,11 @@ func (newState *ComplianceSecurityProfile) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ComplianceSecurityProfile) SyncEffectiveFieldsDuringRead(existingState ComplianceSecurityProfile) { } +func (c ComplianceSecurityProfile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplianceSecurityProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1575,12 +1690,6 @@ type CreateCleanRoomAssetRequest struct { CleanRoomName types.String `tfsdk:"-"` } -func (newState *CreateCleanRoomAssetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCleanRoomAssetRequest) { -} - -func (newState *CreateCleanRoomAssetRequest) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomAssetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1652,12 +1761,6 @@ type CreateCleanRoomOutputCatalogRequest struct { OutputCatalog types.Object `tfsdk:"output_catalog" tf:"optional,object"` } -func (newState *CreateCleanRoomOutputCatalogRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCleanRoomOutputCatalogRequest) { -} - -func (newState *CreateCleanRoomOutputCatalogRequest) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomOutputCatalogRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomOutputCatalogRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1731,6 +1834,12 @@ func (newState *CreateCleanRoomOutputCatalogResponse) SyncEffectiveFieldsDuringC func (newState *CreateCleanRoomOutputCatalogResponse) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomOutputCatalogResponse) { } +func (c CreateCleanRoomOutputCatalogResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomOutputCatalog{}.ApplySchemaCustomizations(cs, append(path, "output_catalog")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomOutputCatalogResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1797,12 +1906,6 @@ type CreateCleanRoomRequest struct { CleanRoom types.Object `tfsdk:"clean_room" tf:"optional,object"` } -func (newState *CreateCleanRoomRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCleanRoomRequest) { -} - -func (newState *CreateCleanRoomRequest) SyncEffectiveFieldsDuringRead(existingState CreateCleanRoomRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1875,12 +1978,6 @@ type DeleteCleanRoomAssetRequest struct { CleanRoomName types.String `tfsdk:"-"` } -func (newState *DeleteCleanRoomAssetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCleanRoomAssetRequest) { -} - -func (newState *DeleteCleanRoomAssetRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCleanRoomAssetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1927,6 +2024,11 @@ func (newState *DeleteCleanRoomAssetResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *DeleteCleanRoomAssetResponse) SyncEffectiveFieldsDuringRead(existingState DeleteCleanRoomAssetResponse) { } +func (c DeleteCleanRoomAssetResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCleanRoomAssetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1960,12 +2062,6 @@ type DeleteCleanRoomRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteCleanRoomRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCleanRoomRequest) { -} - -func (newState *DeleteCleanRoomRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCleanRoomRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2000,12 +2096,6 @@ func (o DeleteCleanRoomRequest) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -2044,12 +2134,6 @@ type GetCleanRoomAssetRequest struct { CleanRoomName types.String `tfsdk:"-"` } -func (newState *GetCleanRoomAssetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCleanRoomAssetRequest) { -} - -func (newState *GetCleanRoomAssetRequest) SyncEffectiveFieldsDuringRead(existingState GetCleanRoomAssetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2090,12 +2174,6 @@ type GetCleanRoomRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetCleanRoomRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCleanRoomRequest) { -} - -func (newState *GetCleanRoomRequest) SyncEffectiveFieldsDuringRead(existingState GetCleanRoomRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2135,12 +2213,6 @@ type ListCleanRoomAssetsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCleanRoomAssetsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCleanRoomAssetsRequest) { -} - -func (newState *ListCleanRoomAssetsRequest) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomAssetsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomAssetsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2189,6 +2261,12 @@ func (newState *ListCleanRoomAssetsResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListCleanRoomAssetsResponse) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomAssetsResponse) { } +func (c ListCleanRoomAssetsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomAsset{}.ApplySchemaCustomizations(cs, append(path, "assets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomAssetsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2264,12 +2342,6 @@ type ListCleanRoomNotebookTaskRunsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCleanRoomNotebookTaskRunsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCleanRoomNotebookTaskRunsRequest) { -} - -func (newState *ListCleanRoomNotebookTaskRunsRequest) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomNotebookTaskRunsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomNotebookTaskRunsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2322,6 +2394,12 @@ func (newState *ListCleanRoomNotebookTaskRunsResponse) SyncEffectiveFieldsDuring func (newState *ListCleanRoomNotebookTaskRunsResponse) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomNotebookTaskRunsResponse) { } +func (c ListCleanRoomNotebookTaskRunsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomNotebookTaskRun{}.ApplySchemaCustomizations(cs, append(path, "runs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomNotebookTaskRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2394,12 +2472,6 @@ type ListCleanRoomsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCleanRoomsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCleanRoomsRequest) { -} - -func (newState *ListCleanRoomsRequest) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2447,6 +2519,12 @@ func (newState *ListCleanRoomsResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListCleanRoomsResponse) SyncEffectiveFieldsDuringRead(existingState ListCleanRoomsResponse) { } +func (c ListCleanRoomsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoom{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCleanRoomsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2528,12 +2606,6 @@ type UpdateCleanRoomAssetRequest struct { Name types.String `tfsdk:"-"` } -func (newState *UpdateCleanRoomAssetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCleanRoomAssetRequest) { -} - -func (newState *UpdateCleanRoomAssetRequest) SyncEffectiveFieldsDuringRead(existingState UpdateCleanRoomAssetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCleanRoomAssetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2613,6 +2685,13 @@ func (newState *UpdateCleanRoomRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateCleanRoomRequest) SyncEffectiveFieldsDuringRead(existingState UpdateCleanRoomRequest) { } +func (c UpdateCleanRoomRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoom{}.ApplySchemaCustomizations(cs, append(path, "clean_room")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCleanRoomRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/compute_tf/legacy_model.go b/internal/service/compute_tf/legacy_model.go index d99191ded..b442d2af2 100755 --- a/internal/service/compute_tf/legacy_model.go +++ b/internal/service/compute_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -56,6 +57,12 @@ func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AddInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddInstanceProfile_SdkV2) { } +func (c AddInstanceProfile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_profile_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddInstanceProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -96,12 +103,6 @@ func (o AddInstanceProfile_SdkV2) Type(ctx context.Context) attr.Type { type AddResponse_SdkV2 struct { } -func (newState *AddResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddResponse_SdkV2) { -} - -func (newState *AddResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -141,6 +142,12 @@ func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *Adlsgen2Info_SdkV2) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info_SdkV2) { } +func (c Adlsgen2Info_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Adlsgen2Info. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -189,6 +196,11 @@ func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Au func (newState *AutoScale_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoScale_SdkV2) { } +func (c AutoScale_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoScale. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -314,6 +326,11 @@ func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsAttributes_SdkV2) { } +func (c AwsAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -395,6 +412,12 @@ func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureAttributes_SdkV2) { } +func (c AzureAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogAnalyticsInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "log_analytics_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -476,6 +499,11 @@ func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CancelCommand_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelCommand_SdkV2) { } +func (c CancelCommand_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelCommand. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -514,12 +542,6 @@ func (o CancelCommand_SdkV2) Type(ctx context.Context) attr.Type { type CancelResponse_SdkV2 struct { } -func (newState *CancelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelResponse_SdkV2) { -} - -func (newState *CancelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -560,6 +582,13 @@ func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ChangeClusterOwner_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwner_SdkV2) { } +func (c ChangeClusterOwner_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "owner_username")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwner. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -602,6 +631,11 @@ func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ChangeClusterOwnerResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse_SdkV2) { } +func (c ChangeClusterOwnerResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwnerResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -642,6 +676,11 @@ func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClientsTypes_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClientsTypes_SdkV2) { } +func (c ClientsTypes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClientsTypes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -686,6 +725,12 @@ func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CloneCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloneCluster_SdkV2) { } +func (c CloneCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "source_cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloneCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -727,6 +772,11 @@ func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CloudProviderNodeInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloudProviderNodeInfo_SdkV2) { } +func (c CloudProviderNodeInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloudProviderNodeInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -805,6 +855,11 @@ func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *ClusterAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest_SdkV2) { } +func (c ClusterAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -861,6 +916,12 @@ func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ClusterAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse_SdkV2) { } +func (c ClusterAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1095,6 +1156,19 @@ func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ClusterAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes_SdkV2) { } +func (c ClusterAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + cs.SetRequired(append(path, "spark_version")...) + WorkloadType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1517,6 +1591,12 @@ func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ClusterCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance_SdkV2) { } +func (c ClusterCompliance_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterCompliance. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1830,6 +1910,24 @@ func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ClusterDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterDetails_SdkV2) { } +func (c ClusterDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + LogSyncStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_status")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + SparkNode_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "driver")...) + SparkNode_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "executors")...) + GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + TerminationReason_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "termination_reason")...) + WorkloadType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2499,6 +2597,14 @@ func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterEvent_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterEvent_SdkV2) { } +func (c ClusterEvent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + DataPlaneEventDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_plane_event_details")...) + EventDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterEvent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2610,6 +2716,12 @@ func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ClusterLibraryStatuses_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterLibraryStatuses_SdkV2) { } +func (c ClusterLibraryStatuses_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LibraryFullStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "library_statuses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLibraryStatuses. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2691,6 +2803,13 @@ func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ClusterLogConf_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf_SdkV2) { } +func (c ClusterLogConf_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DbfsStorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbfs")...) + S3StorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "s3")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLogConf. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2797,6 +2916,11 @@ func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ClusterPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermission_SdkV2) { } +func (c ClusterPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2876,6 +3000,12 @@ func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ClusterPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissions_SdkV2) { } +func (c ClusterPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2953,6 +3083,11 @@ func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCr func (newState *ClusterPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription_SdkV2) { } +func (c ClusterPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2998,6 +3133,13 @@ func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest_SdkV2) { } +func (c ClusterPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3078,6 +3220,11 @@ func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuri func (newState *ClusterPolicyAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest_SdkV2) { } +func (c ClusterPolicyAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3134,6 +3281,12 @@ func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDur func (newState *ClusterPolicyAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse_SdkV2) { } +func (c ClusterPolicyAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3217,6 +3370,11 @@ func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ClusterPolicyPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermission_SdkV2) { } +func (c ClusterPolicyPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3296,6 +3454,12 @@ func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ClusterPolicyPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions_SdkV2) { } +func (c ClusterPolicyPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3373,6 +3537,11 @@ func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDu func (newState *ClusterPolicyPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription_SdkV2) { } +func (c ClusterPolicyPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3418,6 +3587,13 @@ func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuring func (newState *ClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest_SdkV2) { } +func (c ClusterPolicyPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "cluster_policy_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3504,6 +3680,11 @@ func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSettingsChange_SdkV2) { } +func (c ClusterSettingsChange_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSettingsChange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3563,6 +3744,12 @@ func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterSize_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSize_SdkV2) { } +func (c ClusterSize_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSize. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3810,6 +3997,19 @@ func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2) { } +func (c ClusterSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + WorkloadType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4254,12 +4454,6 @@ type ClusterStatus_SdkV2 struct { ClusterId types.String `tfsdk:"-"` } -func (newState *ClusterStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterStatus_SdkV2) { -} - -func (newState *ClusterStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterStatus_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4308,6 +4502,11 @@ func (newState *Command_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Comm func (newState *Command_SdkV2) SyncEffectiveFieldsDuringRead(existingState Command_SdkV2) { } +func (c Command_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Command. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4354,12 +4553,6 @@ type CommandStatusRequest_SdkV2 struct { ContextId types.String `tfsdk:"-"` } -func (newState *CommandStatusRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusRequest_SdkV2) { -} - -func (newState *CommandStatusRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CommandStatusRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4409,6 +4602,12 @@ func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CommandStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CommandStatusResponse_SdkV2) { } +func (c CommandStatusResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Results_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4481,12 +4680,6 @@ type ContextStatusRequest_SdkV2 struct { ContextId types.String `tfsdk:"-"` } -func (newState *ContextStatusRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusRequest_SdkV2) { -} - -func (newState *ContextStatusRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ContextStatusRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4532,6 +4725,11 @@ func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ContextStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ContextStatusResponse_SdkV2) { } +func (c ContextStatusResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4752,6 +4950,21 @@ func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCluster_SdkV2) { } +func (c CreateCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + CloneCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clone_from")...) + ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + cs.SetRequired(append(path, "spark_version")...) + WorkloadType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5231,6 +5444,11 @@ func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateClusterResponse_SdkV2) { } +func (c CreateClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5275,6 +5493,11 @@ func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateContext_SdkV2) { } +func (c CreateContext_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateContext. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5371,6 +5594,18 @@ func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePool_SdkV2) { } +func (c CreateInstancePool_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + InstancePoolAzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + DiskSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disk_spec")...) + InstancePoolGcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + cs.SetRequired(append(path, "instance_pool_name")...) + cs.SetRequired(append(path, "node_type_id")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "preloaded_docker_images")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5641,6 +5876,11 @@ func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CreateInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse_SdkV2) { } +func (c CreateInstancePoolResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePoolResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5714,6 +5954,12 @@ func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreatePolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePolicy_SdkV2) { } +func (c CreatePolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5798,6 +6044,11 @@ func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreatePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePolicyResponse_SdkV2) { } +func (c CreatePolicyResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5834,12 +6085,6 @@ type CreateResponse_SdkV2 struct { ScriptId types.String `tfsdk:"script_id" tf:"optional"` } -func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse_SdkV2) { -} - -func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5881,6 +6126,11 @@ func (newState *Created_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Crea func (newState *Created_SdkV2) SyncEffectiveFieldsDuringRead(existingState Created_SdkV2) { } +func (c Created_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Created. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5929,6 +6179,11 @@ func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *DataPlaneEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataPlaneEventDetails_SdkV2) { } +func (c DataPlaneEventDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneEventDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5977,6 +6232,12 @@ func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DbfsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo_SdkV2) { } +func (c DbfsStorageInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DbfsStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6019,6 +6280,12 @@ func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *DeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCluster_SdkV2) { } +func (c DeleteCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6059,6 +6326,11 @@ func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *DeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteClusterResponse_SdkV2) { } +func (c DeleteClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6092,12 +6364,6 @@ type DeleteGlobalInitScriptRequest_SdkV2 struct { ScriptId types.String `tfsdk:"-"` } -func (newState *DeleteGlobalInitScriptRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteGlobalInitScriptRequest_SdkV2) { -} - -func (newState *DeleteGlobalInitScriptRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteGlobalInitScriptRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGlobalInitScriptRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6140,6 +6406,12 @@ func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *DeleteInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePool_SdkV2) { } +func (c DeleteInstancePool_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_pool_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6180,6 +6452,11 @@ func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *DeleteInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse_SdkV2) { } +func (c DeleteInstancePoolResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePoolResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6218,6 +6495,12 @@ func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeletePolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePolicy_SdkV2) { } +func (c DeletePolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "policy_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6258,6 +6541,11 @@ func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *DeletePolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePolicyResponse_SdkV2) { } +func (c DeletePolicyResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6288,12 +6576,6 @@ func (o DeletePolicyResponse_SdkV2) Type(ctx context.Context) attr.Type { type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -6333,6 +6615,13 @@ func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DestroyContext_SdkV2) SyncEffectiveFieldsDuringRead(existingState DestroyContext_SdkV2) { } +func (c DestroyContext_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "clusterId")...) + cs.SetRequired(append(path, "contextId")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyContext. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6369,12 +6658,6 @@ func (o DestroyContext_SdkV2) Type(ctx context.Context) attr.Type { type DestroyResponse_SdkV2 struct { } -func (newState *DestroyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyResponse_SdkV2) { -} - -func (newState *DestroyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DestroyResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6443,6 +6726,12 @@ func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dis func (newState *DiskSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskSpec_SdkV2) { } +func (c DiskSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DiskType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disk_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6524,6 +6813,11 @@ func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dis func (newState *DiskType_SdkV2) SyncEffectiveFieldsDuringRead(existingState DiskType_SdkV2) { } +func (c DiskType_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6570,6 +6864,11 @@ func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DockerBasicAuth_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth_SdkV2) { } +func (c DockerBasicAuth_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerBasicAuth. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6615,6 +6914,12 @@ func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DockerImage_SdkV2) SyncEffectiveFieldsDuringRead(existingState DockerImage_SdkV2) { } +func (c DockerImage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DockerBasicAuth_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "basic_auth")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerImage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6864,6 +7169,21 @@ func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EditCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditCluster_SdkV2) { } +func (c EditCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + cs.SetRequired(append(path, "cluster_id")...) + ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + cs.SetRequired(append(path, "spark_version")...) + WorkloadType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7313,6 +7633,11 @@ func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *EditClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditClusterResponse_SdkV2) { } +func (c EditClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7380,6 +7705,14 @@ func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *EditInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePool_SdkV2) { } +func (c EditInstancePool_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_pool_id")...) + cs.SetRequired(append(path, "instance_pool_name")...) + cs.SetRequired(append(path, "node_type_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7462,6 +7795,11 @@ func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *EditInstancePoolResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse_SdkV2) { } +func (c EditInstancePoolResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePoolResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7533,6 +7871,13 @@ func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan E func (newState *EditPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicy_SdkV2) { } +func (c EditPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + cs.SetRequired(append(path, "policy_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7617,6 +7962,11 @@ func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *EditPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPolicyResponse_SdkV2) { } +func (c EditPolicyResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7647,12 +7997,6 @@ func (o EditPolicyResponse_SdkV2) Type(ctx context.Context) attr.Type { type EditResponse_SdkV2 struct { } -func (newState *EditResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditResponse_SdkV2) { -} - -func (newState *EditResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7694,6 +8038,12 @@ func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuring func (newState *EnforceClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest_SdkV2) { } +func (c EnforceClusterComplianceRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7742,6 +8092,12 @@ func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDurin func (newState *EnforceClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse_SdkV2) { } +func (c EnforceClusterComplianceResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterSettingsChange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "changes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7829,6 +8185,12 @@ func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *Environment_SdkV2) SyncEffectiveFieldsDuringRead(existingState Environment_SdkV2) { } +func (c Environment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "client")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Environment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7949,6 +8311,17 @@ func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState EventDetails_SdkV2) { } +func (c EventDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "attributes")...) + ClusterSize_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_size")...) + InitScriptEventDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + ClusterAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "previous_attributes")...) + ClusterSize_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "previous_cluster_size")...) + TerminationReason_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "reason")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EventDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8233,6 +8606,11 @@ func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *GcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpAttributes_SdkV2) { } +func (c GcpAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8285,6 +8663,12 @@ func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *GcsStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo_SdkV2) { } +func (c GcsStorageInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GcsStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8322,12 +8706,6 @@ type GetClusterComplianceRequest_SdkV2 struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceRequest_SdkV2) { -} - -func (newState *GetClusterComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8377,6 +8755,11 @@ func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *GetClusterComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse_SdkV2) { } +func (c GetClusterComplianceResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8446,12 +8829,6 @@ type GetClusterPermissionLevelsRequest_SdkV2 struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetClusterPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8494,7 +8871,13 @@ func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDur func (newState *GetClusterPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse_SdkV2) { } -// GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. +func (c GetClusterPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + +// GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to // retrieve the type information of the elements in complex fields at runtime. The values of the map @@ -8561,12 +8944,6 @@ type GetClusterPermissionsRequest_SdkV2 struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionsRequest_SdkV2) { -} - -func (newState *GetClusterPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8604,12 +8981,6 @@ type GetClusterPolicyPermissionLevelsRequest_SdkV2 struct { ClusterPolicyId types.String `tfsdk:"-"` } -func (newState *GetClusterPolicyPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetClusterPolicyPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8652,6 +9023,12 @@ func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFie func (newState *GetClusterPolicyPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse_SdkV2) { } +func (c GetClusterPolicyPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8719,12 +9096,6 @@ type GetClusterPolicyPermissionsRequest_SdkV2 struct { ClusterPolicyId types.String `tfsdk:"-"` } -func (newState *GetClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionsRequest_SdkV2) { -} - -func (newState *GetClusterPolicyPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8762,12 +9133,6 @@ type GetClusterPolicyRequest_SdkV2 struct { PolicyId types.String `tfsdk:"-"` } -func (newState *GetClusterPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyRequest_SdkV2) { -} - -func (newState *GetClusterPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8805,12 +9170,6 @@ type GetClusterRequest_SdkV2 struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterRequest_SdkV2) { -} - -func (newState *GetClusterRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetClusterRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8871,6 +9230,12 @@ func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ge func (newState *GetEvents_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEvents_SdkV2) { } +func (c GetEvents_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEvents. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8961,6 +9326,13 @@ func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GetEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse_SdkV2) { } +func (c GetEventsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterEvent_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "events")...) + GetEvents_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "next_page")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEventsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9061,12 +9433,6 @@ type GetGlobalInitScriptRequest_SdkV2 struct { ScriptId types.String `tfsdk:"-"` } -func (newState *GetGlobalInitScriptRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGlobalInitScriptRequest_SdkV2) { -} - -func (newState *GetGlobalInitScriptRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetGlobalInitScriptRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGlobalInitScriptRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9180,6 +9546,19 @@ func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *GetInstancePool_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePool_SdkV2) { } +func (c GetInstancePool_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + InstancePoolAzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + DiskSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disk_spec")...) + InstancePoolGcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + cs.SetRequired(append(path, "instance_pool_id")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "preloaded_docker_images")...) + InstancePoolStats_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "stats")...) + InstancePoolStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9542,12 +9921,6 @@ type GetInstancePoolPermissionLevelsRequest_SdkV2 struct { InstancePoolId types.String `tfsdk:"-"` } -func (newState *GetInstancePoolPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetInstancePoolPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9590,6 +9963,12 @@ func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFiel func (newState *GetInstancePoolPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse_SdkV2) { } +func (c GetInstancePoolPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9657,12 +10036,6 @@ type GetInstancePoolPermissionsRequest_SdkV2 struct { InstancePoolId types.String `tfsdk:"-"` } -func (newState *GetInstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionsRequest_SdkV2) { -} - -func (newState *GetInstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9700,12 +10073,6 @@ type GetInstancePoolRequest_SdkV2 struct { InstancePoolId types.String `tfsdk:"-"` } -func (newState *GetInstancePoolRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolRequest_SdkV2) { -} - -func (newState *GetInstancePoolRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9746,12 +10113,6 @@ type GetPolicyFamilyRequest_SdkV2 struct { Version types.Int64 `tfsdk:"-"` } -func (newState *GetPolicyFamilyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyFamilyRequest_SdkV2) { -} - -func (newState *GetPolicyFamilyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPolicyFamilyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyFamilyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9796,6 +10157,12 @@ func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *GetSparkVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse_SdkV2) { } +func (c GetSparkVersionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparkVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSparkVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9884,6 +10251,13 @@ func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringCr func (newState *GlobalInitScriptCreateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest_SdkV2) { } +func (c GlobalInitScriptCreateRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "script")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptCreateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9949,6 +10323,11 @@ func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *GlobalInitScriptDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetails_SdkV2) { } +func (c GlobalInitScriptDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10024,6 +10403,11 @@ func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDur func (newState *GlobalInitScriptDetailsWithContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent_SdkV2) { } +func (c GlobalInitScriptDetailsWithContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetailsWithContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10101,6 +10485,14 @@ func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCr func (newState *GlobalInitScriptUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest_SdkV2) { } +func (c GlobalInitScriptUpdateRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "script")...) + cs.SetRequired(append(path, "script_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptUpdateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10155,6 +10547,13 @@ func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *InitScriptEventDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptEventDetails_SdkV2) { } +func (c InitScriptEventDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InitScriptInfoAndExecutionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster")...) + InitScriptInfoAndExecutionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "global")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptEventDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10264,6 +10663,11 @@ func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *InitScriptExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails_SdkV2) { } +func (c InitScriptExecutionDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptExecutionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10333,6 +10737,18 @@ func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *InitScriptInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo_SdkV2) { } +func (c InitScriptInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Adlsgen2Info_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "abfss")...) + DbfsStorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbfs")...) + LocalFileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file")...) + GcsStorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcs")...) + S3StorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "s3")...) + VolumesStorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "volumes")...) + WorkspaceStorageInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10593,6 +11009,13 @@ func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuri func (newState *InitScriptInfoAndExecutionDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails_SdkV2) { } +func (c InitScriptInfoAndExecutionDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InitScriptExecutionDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "execution_details")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "script")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfoAndExecutionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10698,6 +11121,14 @@ func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *InstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibraries_SdkV2) { } +func (c InstallLibraries_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "libraries")...) + Library_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibraries. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10770,6 +11201,11 @@ func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *InstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse_SdkV2) { } +func (c InstallLibrariesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibrariesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10814,6 +11250,11 @@ func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDurin func (newState *InstancePoolAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest_SdkV2) { } +func (c InstancePoolAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10870,6 +11311,12 @@ func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *InstancePoolAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse_SdkV2) { } +func (c InstancePoolAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11021,6 +11468,18 @@ func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *InstancePoolAndStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAndStats_SdkV2) { } +func (c InstancePoolAndStats_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + InstancePoolAzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + DiskSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disk_spec")...) + InstancePoolGcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "preloaded_docker_images")...) + InstancePoolStats_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "stats")...) + InstancePoolStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAndStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11415,6 +11874,11 @@ func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *InstancePoolAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes_SdkV2) { } +func (c InstancePoolAwsAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAwsAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11467,6 +11931,11 @@ func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *InstancePoolAzureAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes_SdkV2) { } +func (c InstancePoolAzureAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAzureAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11537,6 +12006,11 @@ func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *InstancePoolGcpAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes_SdkV2) { } +func (c InstancePoolGcpAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolGcpAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11586,6 +12060,11 @@ func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *InstancePoolPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermission_SdkV2) { } +func (c InstancePoolPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11665,6 +12144,12 @@ func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *InstancePoolPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissions_SdkV2) { } +func (c InstancePoolPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11742,6 +12227,11 @@ func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDur func (newState *InstancePoolPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription_SdkV2) { } +func (c InstancePoolPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11787,6 +12277,13 @@ func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringC func (newState *InstancePoolPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest_SdkV2) { } +func (c InstancePoolPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "instance_pool_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11867,6 +12364,11 @@ func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *InstancePoolStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats_SdkV2) { } +func (c InstancePoolStats_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11918,6 +12420,12 @@ func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *InstancePoolStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstancePoolStatus_SdkV2) { } +func (c InstancePoolStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PendingInstanceError_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pending_instance_errors")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12006,6 +12514,12 @@ func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *InstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstanceProfile_SdkV2) { } +func (c InstanceProfile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_profile_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstanceProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12083,6 +12597,14 @@ func (newState *Library_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Libr func (newState *Library_SdkV2) SyncEffectiveFieldsDuringRead(existingState Library_SdkV2) { } +func (c Library_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RCranLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cran")...) + MavenLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "maven")...) + PythonPyPiLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pypi")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Library. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12234,6 +12756,12 @@ func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *LibraryFullStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus_SdkV2) { } +func (c LibraryFullStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "library")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LibraryFullStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12341,6 +12869,12 @@ func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFields func (newState *ListAllClusterLibraryStatusesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse_SdkV2) { } +func (c ListAllClusterLibraryStatusesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterLibraryStatuses_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "statuses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatusesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12416,6 +12950,11 @@ func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ListAvailableZonesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse_SdkV2) { } +func (c ListAvailableZonesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAvailableZonesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12492,12 +13031,6 @@ type ListClusterCompliancesRequest_SdkV2 struct { PolicyId types.String `tfsdk:"-"` } -func (newState *ListClusterCompliancesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesRequest_SdkV2) { -} - -func (newState *ListClusterCompliancesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12551,6 +13084,12 @@ func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *ListClusterCompliancesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse_SdkV2) { } +func (c ListClusterCompliancesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterCompliance_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12627,12 +13166,6 @@ type ListClusterPoliciesRequest_SdkV2 struct { SortOrder types.String `tfsdk:"-"` } -func (newState *ListClusterPoliciesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterPoliciesRequest_SdkV2) { -} - -func (newState *ListClusterPoliciesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClusterPoliciesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterPoliciesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12683,6 +13216,11 @@ func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListClustersFilterBy_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersFilterBy_SdkV2) { } +func (c ListClustersFilterBy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersFilterBy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12794,12 +13332,6 @@ type ListClustersRequest_SdkV2 struct { SortBy types.List `tfsdk:"-"` } -func (newState *ListClustersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersRequest_SdkV2) { -} - -func (newState *ListClustersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12914,6 +13446,12 @@ func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListClustersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersResponse_SdkV2) { } +func (c ListClustersResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12994,6 +13532,11 @@ func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListClustersSortBy_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListClustersSortBy_SdkV2) { } +func (c ListClustersSortBy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersSortBy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13037,6 +13580,12 @@ func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *ListGlobalInitScriptsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse_SdkV2) { } +func (c ListGlobalInitScriptsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GlobalInitScriptDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "scripts")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13108,6 +13657,12 @@ func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListInstancePools_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstancePools_SdkV2) { } +func (c ListInstancePools_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAndStats_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "instance_pools")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePools. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13180,6 +13735,12 @@ func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ListInstanceProfilesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse_SdkV2) { } +func (c ListInstanceProfilesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstanceProfile_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "instance_profiles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13252,6 +13813,12 @@ func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListNodeTypesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNodeTypesResponse_SdkV2) { } +func (c ListNodeTypesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NodeType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "node_types")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13324,6 +13891,12 @@ func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPoliciesResponse_SdkV2) { } +func (c ListPoliciesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Policy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "policies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPoliciesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13393,12 +13966,6 @@ type ListPolicyFamiliesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPolicyFamiliesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesRequest_SdkV2) { -} - -func (newState *ListPolicyFamiliesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13446,6 +14013,12 @@ func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ListPolicyFamiliesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse_SdkV2) { } +func (c ListPolicyFamiliesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PolicyFamily_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "policy_families")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13520,6 +14093,12 @@ func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *LocalFileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo_SdkV2) { } +func (c LocalFileInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LocalFileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13564,6 +14143,11 @@ func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *LogAnalyticsInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo_SdkV2) { } +func (c LogAnalyticsInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogAnalyticsInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13612,6 +14196,11 @@ func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *LogSyncStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus_SdkV2) { } +func (c LogSyncStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogSyncStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13665,6 +14254,12 @@ func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MavenLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState MavenLibrary_SdkV2) { } +func (c MavenLibrary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "coordinates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MavenLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13748,6 +14343,11 @@ func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *NodeInstanceType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType_SdkV2) { } +func (c NodeInstanceType_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeInstanceType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13843,6 +14443,18 @@ func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Nod func (newState *NodeType_SdkV2) SyncEffectiveFieldsDuringRead(existingState NodeType_SdkV2) { } +func (c NodeType_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "description")...) + cs.SetRequired(append(path, "instance_type_id")...) + cs.SetRequired(append(path, "memory_mb")...) + CloudProviderNodeInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "node_info")...) + NodeInstanceType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "node_instance_type")...) + cs.SetRequired(append(path, "node_type_id")...) + cs.SetRequired(append(path, "num_cores")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13985,6 +14597,11 @@ func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *PendingInstanceError_SdkV2) SyncEffectiveFieldsDuringRead(existingState PendingInstanceError_SdkV2) { } +func (c PendingInstanceError_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingInstanceError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14029,6 +14646,12 @@ func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *PermanentDeleteCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteCluster_SdkV2) { } +func (c PermanentDeleteCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14069,6 +14692,11 @@ func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *PermanentDeleteClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse_SdkV2) { } +func (c PermanentDeleteClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14107,6 +14735,12 @@ func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan P func (newState *PinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinCluster_SdkV2) { } +func (c PinCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PinCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14147,6 +14781,11 @@ func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PinClusterResponse_SdkV2) { } +func (c PinClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PinClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14229,6 +14868,12 @@ func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Polic func (newState *Policy_SdkV2) SyncEffectiveFieldsDuringRead(existingState Policy_SdkV2) { } +func (c Policy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Policy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14330,6 +14975,11 @@ func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PolicyFamily_SdkV2) SyncEffectiveFieldsDuringRead(existingState PolicyFamily_SdkV2) { } +func (c PolicyFamily_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PolicyFamily. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14383,6 +15033,12 @@ func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *PythonPyPiLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary_SdkV2) { } +func (c PythonPyPiLibrary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "package")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonPyPiLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14430,6 +15086,12 @@ func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RCranLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState RCranLibrary_SdkV2) { } +func (c RCranLibrary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "package")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RCranLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14474,6 +15136,12 @@ func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *RemoveInstanceProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState RemoveInstanceProfile_SdkV2) { } +func (c RemoveInstanceProfile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_profile_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveInstanceProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14508,12 +15176,6 @@ func (o RemoveInstanceProfile_SdkV2) Type(ctx context.Context) attr.Type { type RemoveResponse_SdkV2 struct { } -func (newState *RemoveResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveResponse_SdkV2) { -} - -func (newState *RemoveResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RemoveResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14567,6 +15229,13 @@ func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ResizeCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResizeCluster_SdkV2) { } +func (c ResizeCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14641,6 +15310,11 @@ func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ResizeClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResizeClusterResponse_SdkV2) { } +func (c ResizeClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14681,6 +15355,12 @@ func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RestartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartCluster_SdkV2) { } +func (c RestartCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14723,6 +15403,11 @@ func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *RestartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartClusterResponse_SdkV2) { } +func (c RestartClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14780,6 +15465,11 @@ func (newState *Results_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Resu func (newState *Results_SdkV2) SyncEffectiveFieldsDuringRead(existingState Results_SdkV2) { } +func (c Results_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Results. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14929,6 +15619,12 @@ func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *S3StorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo_SdkV2) { } +func (c S3StorageInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in S3StorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15006,6 +15702,12 @@ func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sp func (newState *SparkNode_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNode_SdkV2) { } +func (c SparkNode_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparkNodeAwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "node_aws_attributes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNode. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15090,6 +15792,11 @@ func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *SparkNodeAwsAttributes_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkNodeAwsAttributes_SdkV2) { } +func (c SparkNodeAwsAttributes_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNodeAwsAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15138,6 +15845,11 @@ func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SparkVersion_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkVersion_SdkV2) { } +func (c SparkVersion_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersion. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15182,6 +15894,12 @@ func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *StartCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartCluster_SdkV2) { } +func (c StartCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15222,6 +15940,11 @@ func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *StartClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartClusterResponse_SdkV2) { } +func (c StartClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15265,6 +15988,11 @@ func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationReason_SdkV2) { } +func (c TerminationReason_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15343,6 +16071,14 @@ func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UninstallLibraries_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibraries_SdkV2) { } +func (c UninstallLibraries_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "libraries")...) + Library_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibraries. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15415,6 +16151,11 @@ func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UninstallLibrariesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse_SdkV2) { } +func (c UninstallLibrariesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibrariesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15453,6 +16194,12 @@ func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UnpinCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpinCluster_SdkV2) { } +func (c UnpinCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15493,6 +16240,11 @@ func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UnpinClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpinClusterResponse_SdkV2) { } +func (c UnpinClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15539,6 +16291,14 @@ func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *UpdateCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCluster_SdkV2) { } +func (c UpdateCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateClusterResource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster")...) + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "update_mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15784,6 +16544,19 @@ func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateClusterResource_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResource_SdkV2) { } +func (c UpdateClusterResource_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + WorkloadType_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16229,6 +17002,11 @@ func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateClusterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResponse_SdkV2) { } +func (c UpdateClusterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16259,12 +17037,6 @@ func (o UpdateClusterResponse_SdkV2) Type(ctx context.Context) attr.Type { type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -16303,6 +17075,12 @@ func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *VolumesStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState VolumesStorageInfo_SdkV2) { } +func (c VolumesStorageInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumesStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16345,6 +17123,13 @@ func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *WorkloadType_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkloadType_SdkV2) { } +func (c WorkloadType_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "clients")...) + ClientsTypes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clients")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkloadType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16418,6 +17203,12 @@ func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *WorkspaceStorageInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceStorageInfo_SdkV2) { } +func (c WorkspaceStorageInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/compute_tf/model.go b/internal/service/compute_tf/model.go index b62fa06c3..af9c0b136 100755 --- a/internal/service/compute_tf/model.go +++ b/internal/service/compute_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -56,6 +57,12 @@ func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AddInstanceProfile) SyncEffectiveFieldsDuringRead(existingState AddInstanceProfile) { } +func (c AddInstanceProfile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_profile_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddInstanceProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -96,12 +103,6 @@ func (o AddInstanceProfile) Type(ctx context.Context) attr.Type { type AddResponse struct { } -func (newState *AddResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddResponse) { -} - -func (newState *AddResponse) SyncEffectiveFieldsDuringRead(existingState AddResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -141,6 +142,12 @@ func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringCreateOrUpdate(plan Adlsg func (newState *Adlsgen2Info) SyncEffectiveFieldsDuringRead(existingState Adlsgen2Info) { } +func (c Adlsgen2Info) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Adlsgen2Info. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -189,6 +196,11 @@ func (newState *AutoScale) SyncEffectiveFieldsDuringCreateOrUpdate(plan AutoScal func (newState *AutoScale) SyncEffectiveFieldsDuringRead(existingState AutoScale) { } +func (c AutoScale) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoScale. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -314,6 +326,11 @@ func (newState *AwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsA func (newState *AwsAttributes) SyncEffectiveFieldsDuringRead(existingState AwsAttributes) { } +func (c AwsAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AwsAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -395,6 +412,12 @@ func (newState *AzureAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan Az func (newState *AzureAttributes) SyncEffectiveFieldsDuringRead(existingState AzureAttributes) { } +func (c AzureAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LogAnalyticsInfo{}.ApplySchemaCustomizations(cs, append(path, "log_analytics_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -476,6 +499,11 @@ func (newState *CancelCommand) SyncEffectiveFieldsDuringCreateOrUpdate(plan Canc func (newState *CancelCommand) SyncEffectiveFieldsDuringRead(existingState CancelCommand) { } +func (c CancelCommand) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelCommand. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -514,12 +542,6 @@ func (o CancelCommand) Type(ctx context.Context) attr.Type { type CancelResponse struct { } -func (newState *CancelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelResponse) { -} - -func (newState *CancelResponse) SyncEffectiveFieldsDuringRead(existingState CancelResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -560,6 +582,13 @@ func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ChangeClusterOwner) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwner) { } +func (c ChangeClusterOwner) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "owner_username")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwner. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -602,6 +631,11 @@ func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ChangeClusterOwnerResponse) SyncEffectiveFieldsDuringRead(existingState ChangeClusterOwnerResponse) { } +func (c ChangeClusterOwnerResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChangeClusterOwnerResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -642,6 +676,11 @@ func (newState *ClientsTypes) SyncEffectiveFieldsDuringCreateOrUpdate(plan Clien func (newState *ClientsTypes) SyncEffectiveFieldsDuringRead(existingState ClientsTypes) { } +func (c ClientsTypes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClientsTypes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -686,6 +725,12 @@ func (newState *CloneCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Clone func (newState *CloneCluster) SyncEffectiveFieldsDuringRead(existingState CloneCluster) { } +func (c CloneCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "source_cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloneCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -727,6 +772,11 @@ func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CloudProviderNodeInfo) SyncEffectiveFieldsDuringRead(existingState CloudProviderNodeInfo) { } +func (c CloudProviderNodeInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloudProviderNodeInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -805,6 +855,11 @@ func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUp func (newState *ClusterAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlRequest) { } +func (c ClusterAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -861,6 +916,12 @@ func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *ClusterAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterAccessControlResponse) { } +func (c ClusterAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1095,6 +1156,19 @@ func (newState *ClusterAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterAttributes) SyncEffectiveFieldsDuringRead(existingState ClusterAttributes) { } +func (c ClusterAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + cs.SetRequired(append(path, "spark_version")...) + WorkloadType{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1517,6 +1591,12 @@ func (newState *ClusterCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterCompliance) SyncEffectiveFieldsDuringRead(existingState ClusterCompliance) { } +func (c ClusterCompliance) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterCompliance. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1830,6 +1910,24 @@ func (newState *ClusterDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan Clu func (newState *ClusterDetails) SyncEffectiveFieldsDuringRead(existingState ClusterDetails) { } +func (c ClusterDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + LogSyncStatus{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_status")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + SparkNode{}.ApplySchemaCustomizations(cs, append(path, "driver")...) + SparkNode{}.ApplySchemaCustomizations(cs, append(path, "executors")...) + GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + TerminationReason{}.ApplySchemaCustomizations(cs, append(path, "termination_reason")...) + WorkloadType{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2499,6 +2597,14 @@ func (newState *ClusterEvent) SyncEffectiveFieldsDuringCreateOrUpdate(plan Clust func (newState *ClusterEvent) SyncEffectiveFieldsDuringRead(existingState ClusterEvent) { } +func (c ClusterEvent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + DataPlaneEventDetails{}.ApplySchemaCustomizations(cs, append(path, "data_plane_event_details")...) + EventDetails{}.ApplySchemaCustomizations(cs, append(path, "details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterEvent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2610,6 +2716,12 @@ func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ClusterLibraryStatuses) SyncEffectiveFieldsDuringRead(existingState ClusterLibraryStatuses) { } +func (c ClusterLibraryStatuses) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LibraryFullStatus{}.ApplySchemaCustomizations(cs, append(path, "library_statuses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLibraryStatuses. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2691,6 +2803,13 @@ func (newState *ClusterLogConf) SyncEffectiveFieldsDuringCreateOrUpdate(plan Clu func (newState *ClusterLogConf) SyncEffectiveFieldsDuringRead(existingState ClusterLogConf) { } +func (c ClusterLogConf) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DbfsStorageInfo{}.ApplySchemaCustomizations(cs, append(path, "dbfs")...) + S3StorageInfo{}.ApplySchemaCustomizations(cs, append(path, "s3")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterLogConf. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2797,6 +2916,11 @@ func (newState *ClusterPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPermission) { } +func (c ClusterPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2876,6 +3000,12 @@ func (newState *ClusterPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterPermissions) SyncEffectiveFieldsDuringRead(existingState ClusterPermissions) { } +func (c ClusterPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2953,6 +3083,11 @@ func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringCreateOr func (newState *ClusterPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsDescription) { } +func (c ClusterPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2998,6 +3133,13 @@ func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ClusterPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPermissionsRequest) { } +func (c ClusterPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3078,6 +3220,11 @@ func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringCrea func (newState *ClusterPolicyAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlRequest) { } +func (c ClusterPolicyAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3134,6 +3281,12 @@ func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringCre func (newState *ClusterPolicyAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyAccessControlResponse) { } +func (c ClusterPolicyAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3217,6 +3370,11 @@ func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ClusterPolicyPermission) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermission) { } +func (c ClusterPolicyPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3296,6 +3454,12 @@ func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ClusterPolicyPermissions) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissions) { } +func (c ClusterPolicyPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3373,6 +3537,11 @@ func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringCr func (newState *ClusterPolicyPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsDescription) { } +func (c ClusterPolicyPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3418,6 +3587,13 @@ func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringCreate func (newState *ClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ClusterPolicyPermissionsRequest) { } +func (c ClusterPolicyPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "cluster_policy_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterPolicyPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3504,6 +3680,11 @@ func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ClusterSettingsChange) SyncEffectiveFieldsDuringRead(existingState ClusterSettingsChange) { } +func (c ClusterSettingsChange) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSettingsChange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3563,6 +3744,12 @@ func (newState *ClusterSize) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cluste func (newState *ClusterSize) SyncEffectiveFieldsDuringRead(existingState ClusterSize) { } +func (c ClusterSize) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSize. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3810,6 +3997,19 @@ func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cluste func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec) { } +func (c ClusterSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + WorkloadType{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4254,12 +4454,6 @@ type ClusterStatus struct { ClusterId types.String `tfsdk:"-"` } -func (newState *ClusterStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan ClusterStatus) { -} - -func (newState *ClusterStatus) SyncEffectiveFieldsDuringRead(existingState ClusterStatus) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4308,6 +4502,11 @@ func (newState *Command) SyncEffectiveFieldsDuringCreateOrUpdate(plan Command) { func (newState *Command) SyncEffectiveFieldsDuringRead(existingState Command) { } +func (c Command) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Command. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4354,12 +4553,6 @@ type CommandStatusRequest struct { ContextId types.String `tfsdk:"-"` } -func (newState *CommandStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CommandStatusRequest) { -} - -func (newState *CommandStatusRequest) SyncEffectiveFieldsDuringRead(existingState CommandStatusRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4409,6 +4602,12 @@ func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CommandStatusResponse) SyncEffectiveFieldsDuringRead(existingState CommandStatusResponse) { } +func (c CommandStatusResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Results{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CommandStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4481,12 +4680,6 @@ type ContextStatusRequest struct { ContextId types.String `tfsdk:"-"` } -func (newState *ContextStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ContextStatusRequest) { -} - -func (newState *ContextStatusRequest) SyncEffectiveFieldsDuringRead(existingState ContextStatusRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4532,6 +4725,11 @@ func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ContextStatusResponse) SyncEffectiveFieldsDuringRead(existingState ContextStatusResponse) { } +func (c ContextStatusResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContextStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4752,6 +4950,21 @@ func (newState *CreateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Crea func (newState *CreateCluster) SyncEffectiveFieldsDuringRead(existingState CreateCluster) { } +func (c CreateCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + CloneCluster{}.ApplySchemaCustomizations(cs, append(path, "clone_from")...) + ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + cs.SetRequired(append(path, "spark_version")...) + WorkloadType{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5231,6 +5444,11 @@ func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateClusterResponse) SyncEffectiveFieldsDuringRead(existingState CreateClusterResponse) { } +func (c CreateClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5275,6 +5493,11 @@ func (newState *CreateContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan Crea func (newState *CreateContext) SyncEffectiveFieldsDuringRead(existingState CreateContext) { } +func (c CreateContext) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateContext. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5371,6 +5594,18 @@ func (newState *CreateInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateInstancePool) SyncEffectiveFieldsDuringRead(existingState CreateInstancePool) { } +func (c CreateInstancePool) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + InstancePoolAzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + DiskSpec{}.ApplySchemaCustomizations(cs, append(path, "disk_spec")...) + InstancePoolGcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + cs.SetRequired(append(path, "instance_pool_name")...) + cs.SetRequired(append(path, "node_type_id")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "preloaded_docker_images")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5641,6 +5876,11 @@ func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState CreateInstancePoolResponse) { } +func (c CreateInstancePoolResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstancePoolResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5714,6 +5954,12 @@ func (newState *CreatePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan Creat func (newState *CreatePolicy) SyncEffectiveFieldsDuringRead(existingState CreatePolicy) { } +func (c CreatePolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5798,6 +6044,11 @@ func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreatePolicyResponse) SyncEffectiveFieldsDuringRead(existingState CreatePolicyResponse) { } +func (c CreatePolicyResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5834,12 +6085,6 @@ type CreateResponse struct { ScriptId types.String `tfsdk:"script_id" tf:"optional"` } -func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse) { -} - -func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5881,6 +6126,11 @@ func (newState *Created) SyncEffectiveFieldsDuringCreateOrUpdate(plan Created) { func (newState *Created) SyncEffectiveFieldsDuringRead(existingState Created) { } +func (c Created) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Created. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5929,6 +6179,11 @@ func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DataPlaneEventDetails) SyncEffectiveFieldsDuringRead(existingState DataPlaneEventDetails) { } +func (c DataPlaneEventDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneEventDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5977,6 +6232,12 @@ func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Db func (newState *DbfsStorageInfo) SyncEffectiveFieldsDuringRead(existingState DbfsStorageInfo) { } +func (c DbfsStorageInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DbfsStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6019,6 +6280,12 @@ func (newState *DeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dele func (newState *DeleteCluster) SyncEffectiveFieldsDuringRead(existingState DeleteCluster) { } +func (c DeleteCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6059,6 +6326,11 @@ func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState DeleteClusterResponse) { } +func (c DeleteClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6092,12 +6364,6 @@ type DeleteGlobalInitScriptRequest struct { ScriptId types.String `tfsdk:"-"` } -func (newState *DeleteGlobalInitScriptRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteGlobalInitScriptRequest) { -} - -func (newState *DeleteGlobalInitScriptRequest) SyncEffectiveFieldsDuringRead(existingState DeleteGlobalInitScriptRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGlobalInitScriptRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6140,6 +6406,12 @@ func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteInstancePool) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePool) { } +func (c DeleteInstancePool) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_pool_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6180,6 +6452,11 @@ func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *DeleteInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState DeleteInstancePoolResponse) { } +func (c DeleteInstancePoolResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstancePoolResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6218,6 +6495,12 @@ func (newState *DeletePolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delet func (newState *DeletePolicy) SyncEffectiveFieldsDuringRead(existingState DeletePolicy) { } +func (c DeletePolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "policy_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6258,6 +6541,11 @@ func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DeletePolicyResponse) SyncEffectiveFieldsDuringRead(existingState DeletePolicyResponse) { } +func (c DeletePolicyResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6288,12 +6576,6 @@ func (o DeletePolicyResponse) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -6333,6 +6615,13 @@ func (newState *DestroyContext) SyncEffectiveFieldsDuringCreateOrUpdate(plan Des func (newState *DestroyContext) SyncEffectiveFieldsDuringRead(existingState DestroyContext) { } +func (c DestroyContext) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "clusterId")...) + cs.SetRequired(append(path, "contextId")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyContext. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6369,12 +6658,6 @@ func (o DestroyContext) Type(ctx context.Context) attr.Type { type DestroyResponse struct { } -func (newState *DestroyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DestroyResponse) { -} - -func (newState *DestroyResponse) SyncEffectiveFieldsDuringRead(existingState DestroyResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DestroyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6443,6 +6726,12 @@ func (newState *DiskSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskSpec) func (newState *DiskSpec) SyncEffectiveFieldsDuringRead(existingState DiskSpec) { } +func (c DiskSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DiskType{}.ApplySchemaCustomizations(cs, append(path, "disk_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6524,6 +6813,11 @@ func (newState *DiskType) SyncEffectiveFieldsDuringCreateOrUpdate(plan DiskType) func (newState *DiskType) SyncEffectiveFieldsDuringRead(existingState DiskType) { } +func (c DiskType) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DiskType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6570,6 +6864,11 @@ func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringCreateOrUpdate(plan Do func (newState *DockerBasicAuth) SyncEffectiveFieldsDuringRead(existingState DockerBasicAuth) { } +func (c DockerBasicAuth) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerBasicAuth. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6615,6 +6914,12 @@ func (newState *DockerImage) SyncEffectiveFieldsDuringCreateOrUpdate(plan Docker func (newState *DockerImage) SyncEffectiveFieldsDuringRead(existingState DockerImage) { } +func (c DockerImage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DockerBasicAuth{}.ApplySchemaCustomizations(cs, append(path, "basic_auth")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DockerImage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6864,6 +7169,21 @@ func (newState *EditCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditCl func (newState *EditCluster) SyncEffectiveFieldsDuringRead(existingState EditCluster) { } +func (c EditCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + cs.SetRequired(append(path, "cluster_id")...) + ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + cs.SetRequired(append(path, "spark_version")...) + WorkloadType{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7313,6 +7633,11 @@ func (newState *EditClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *EditClusterResponse) SyncEffectiveFieldsDuringRead(existingState EditClusterResponse) { } +func (c EditClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7380,6 +7705,14 @@ func (newState *EditInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan E func (newState *EditInstancePool) SyncEffectiveFieldsDuringRead(existingState EditInstancePool) { } +func (c EditInstancePool) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_pool_id")...) + cs.SetRequired(append(path, "instance_pool_name")...) + cs.SetRequired(append(path, "node_type_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7462,6 +7795,11 @@ func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *EditInstancePoolResponse) SyncEffectiveFieldsDuringRead(existingState EditInstancePoolResponse) { } +func (c EditInstancePoolResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditInstancePoolResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7533,6 +7871,13 @@ func (newState *EditPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditPol func (newState *EditPolicy) SyncEffectiveFieldsDuringRead(existingState EditPolicy) { } +func (c EditPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + cs.SetRequired(append(path, "policy_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7617,6 +7962,11 @@ func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EditPolicyResponse) SyncEffectiveFieldsDuringRead(existingState EditPolicyResponse) { } +func (c EditPolicyResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7647,12 +7997,6 @@ func (o EditPolicyResponse) Type(ctx context.Context) attr.Type { type EditResponse struct { } -func (newState *EditResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditResponse) { -} - -func (newState *EditResponse) SyncEffectiveFieldsDuringRead(existingState EditResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7694,6 +8038,12 @@ func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringCreate func (newState *EnforceClusterComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceRequest) { } +func (c EnforceClusterComplianceRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7742,6 +8092,12 @@ func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringCreat func (newState *EnforceClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforceClusterComplianceResponse) { } +func (c EnforceClusterComplianceResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterSettingsChange{}.ApplySchemaCustomizations(cs, append(path, "changes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforceClusterComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7829,6 +8185,12 @@ func (newState *Environment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Enviro func (newState *Environment) SyncEffectiveFieldsDuringRead(existingState Environment) { } +func (c Environment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "client")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Environment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7949,6 +8311,17 @@ func (newState *EventDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan Event func (newState *EventDetails) SyncEffectiveFieldsDuringRead(existingState EventDetails) { } +func (c EventDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAttributes{}.ApplySchemaCustomizations(cs, append(path, "attributes")...) + ClusterSize{}.ApplySchemaCustomizations(cs, append(path, "cluster_size")...) + InitScriptEventDetails{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + ClusterAttributes{}.ApplySchemaCustomizations(cs, append(path, "previous_attributes")...) + ClusterSize{}.ApplySchemaCustomizations(cs, append(path, "previous_cluster_size")...) + TerminationReason{}.ApplySchemaCustomizations(cs, append(path, "reason")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EventDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8233,6 +8606,11 @@ func (newState *GcpAttributes) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpA func (newState *GcpAttributes) SyncEffectiveFieldsDuringRead(existingState GcpAttributes) { } +func (c GcpAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GcpAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8285,6 +8663,12 @@ func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Gcs func (newState *GcsStorageInfo) SyncEffectiveFieldsDuringRead(existingState GcsStorageInfo) { } +func (c GcsStorageInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GcsStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8322,12 +8706,6 @@ type GetClusterComplianceRequest struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterComplianceRequest) { -} - -func (newState *GetClusterComplianceRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8377,6 +8755,11 @@ func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *GetClusterComplianceResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterComplianceResponse) { } +func (c GetClusterComplianceResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8446,12 +8829,6 @@ type GetClusterPermissionLevelsRequest struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionLevelsRequest) { -} - -func (newState *GetClusterPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8494,7 +8871,13 @@ func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringCre func (newState *GetClusterPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionLevelsResponse) { } -// GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. +func (c GetClusterPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + +// GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to // retrieve the type information of the elements in complex fields at runtime. The values of the map @@ -8561,12 +8944,6 @@ type GetClusterPermissionsRequest struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPermissionsRequest) { -} - -func (newState *GetClusterPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8604,12 +8981,6 @@ type GetClusterPolicyPermissionLevelsRequest struct { ClusterPolicyId types.String `tfsdk:"-"` } -func (newState *GetClusterPolicyPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionLevelsRequest) { -} - -func (newState *GetClusterPolicyPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8652,6 +9023,12 @@ func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDur func (newState *GetClusterPolicyPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionLevelsResponse) { } +func (c GetClusterPolicyPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterPolicyPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8719,12 +9096,6 @@ type GetClusterPolicyPermissionsRequest struct { ClusterPolicyId types.String `tfsdk:"-"` } -func (newState *GetClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyPermissionsRequest) { -} - -func (newState *GetClusterPolicyPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8762,12 +9133,6 @@ type GetClusterPolicyRequest struct { PolicyId types.String `tfsdk:"-"` } -func (newState *GetClusterPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterPolicyRequest) { -} - -func (newState *GetClusterPolicyRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8805,12 +9170,6 @@ type GetClusterRequest struct { ClusterId types.String `tfsdk:"-"` } -func (newState *GetClusterRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetClusterRequest) { -} - -func (newState *GetClusterRequest) SyncEffectiveFieldsDuringRead(existingState GetClusterRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetClusterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8871,6 +9230,12 @@ func (newState *GetEvents) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEvent func (newState *GetEvents) SyncEffectiveFieldsDuringRead(existingState GetEvents) { } +func (c GetEvents) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEvents. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8961,6 +9326,13 @@ func (newState *GetEventsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GetEventsResponse) SyncEffectiveFieldsDuringRead(existingState GetEventsResponse) { } +func (c GetEventsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterEvent{}.ApplySchemaCustomizations(cs, append(path, "events")...) + GetEvents{}.ApplySchemaCustomizations(cs, append(path, "next_page")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEventsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9061,12 +9433,6 @@ type GetGlobalInitScriptRequest struct { ScriptId types.String `tfsdk:"-"` } -func (newState *GetGlobalInitScriptRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGlobalInitScriptRequest) { -} - -func (newState *GetGlobalInitScriptRequest) SyncEffectiveFieldsDuringRead(existingState GetGlobalInitScriptRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGlobalInitScriptRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9180,6 +9546,19 @@ func (newState *GetInstancePool) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ge func (newState *GetInstancePool) SyncEffectiveFieldsDuringRead(existingState GetInstancePool) { } +func (c GetInstancePool) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + InstancePoolAzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + DiskSpec{}.ApplySchemaCustomizations(cs, append(path, "disk_spec")...) + InstancePoolGcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + cs.SetRequired(append(path, "instance_pool_id")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "preloaded_docker_images")...) + InstancePoolStats{}.ApplySchemaCustomizations(cs, append(path, "stats")...) + InstancePoolStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePool. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9542,12 +9921,6 @@ type GetInstancePoolPermissionLevelsRequest struct { InstancePoolId types.String `tfsdk:"-"` } -func (newState *GetInstancePoolPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionLevelsRequest) { -} - -func (newState *GetInstancePoolPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9590,6 +9963,12 @@ func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuri func (newState *GetInstancePoolPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionLevelsResponse) { } +func (c GetInstancePoolPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9657,12 +10036,6 @@ type GetInstancePoolPermissionsRequest struct { InstancePoolId types.String `tfsdk:"-"` } -func (newState *GetInstancePoolPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolPermissionsRequest) { -} - -func (newState *GetInstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9700,12 +10073,6 @@ type GetInstancePoolRequest struct { InstancePoolId types.String `tfsdk:"-"` } -func (newState *GetInstancePoolRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetInstancePoolRequest) { -} - -func (newState *GetInstancePoolRequest) SyncEffectiveFieldsDuringRead(existingState GetInstancePoolRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetInstancePoolRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9746,12 +10113,6 @@ type GetPolicyFamilyRequest struct { Version types.Int64 `tfsdk:"-"` } -func (newState *GetPolicyFamilyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyFamilyRequest) { -} - -func (newState *GetPolicyFamilyRequest) SyncEffectiveFieldsDuringRead(existingState GetPolicyFamilyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyFamilyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9796,6 +10157,12 @@ func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *GetSparkVersionsResponse) SyncEffectiveFieldsDuringRead(existingState GetSparkVersionsResponse) { } +func (c GetSparkVersionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparkVersion{}.ApplySchemaCustomizations(cs, append(path, "versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSparkVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9884,6 +10251,13 @@ func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringCreateOr func (newState *GlobalInitScriptCreateRequest) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptCreateRequest) { } +func (c GlobalInitScriptCreateRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "script")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptCreateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9949,6 +10323,11 @@ func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GlobalInitScriptDetails) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetails) { } +func (c GlobalInitScriptDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10024,6 +10403,11 @@ func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringCre func (newState *GlobalInitScriptDetailsWithContent) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptDetailsWithContent) { } +func (c GlobalInitScriptDetailsWithContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptDetailsWithContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10101,6 +10485,14 @@ func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringCreateOr func (newState *GlobalInitScriptUpdateRequest) SyncEffectiveFieldsDuringRead(existingState GlobalInitScriptUpdateRequest) { } +func (c GlobalInitScriptUpdateRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "script")...) + cs.SetRequired(append(path, "script_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GlobalInitScriptUpdateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10155,6 +10547,13 @@ func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *InitScriptEventDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptEventDetails) { } +func (c InitScriptEventDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InitScriptInfoAndExecutionDetails{}.ApplySchemaCustomizations(cs, append(path, "cluster")...) + InitScriptInfoAndExecutionDetails{}.ApplySchemaCustomizations(cs, append(path, "global")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptEventDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10264,6 +10663,11 @@ func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringCreateOrUpd func (newState *InitScriptExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptExecutionDetails) { } +func (c InitScriptExecutionDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptExecutionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10333,6 +10737,18 @@ func (newState *InitScriptInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ini func (newState *InitScriptInfo) SyncEffectiveFieldsDuringRead(existingState InitScriptInfo) { } +func (c InitScriptInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Adlsgen2Info{}.ApplySchemaCustomizations(cs, append(path, "abfss")...) + DbfsStorageInfo{}.ApplySchemaCustomizations(cs, append(path, "dbfs")...) + LocalFileInfo{}.ApplySchemaCustomizations(cs, append(path, "file")...) + GcsStorageInfo{}.ApplySchemaCustomizations(cs, append(path, "gcs")...) + S3StorageInfo{}.ApplySchemaCustomizations(cs, append(path, "s3")...) + VolumesStorageInfo{}.ApplySchemaCustomizations(cs, append(path, "volumes")...) + WorkspaceStorageInfo{}.ApplySchemaCustomizations(cs, append(path, "workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10593,6 +11009,13 @@ func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringCrea func (newState *InitScriptInfoAndExecutionDetails) SyncEffectiveFieldsDuringRead(existingState InitScriptInfoAndExecutionDetails) { } +func (c InitScriptInfoAndExecutionDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InitScriptExecutionDetails{}.ApplySchemaCustomizations(cs, append(path, "execution_details")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "script")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InitScriptInfoAndExecutionDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10698,6 +11121,14 @@ func (newState *InstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan I func (newState *InstallLibraries) SyncEffectiveFieldsDuringRead(existingState InstallLibraries) { } +func (c InstallLibraries) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "libraries")...) + Library{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibraries. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10770,6 +11201,11 @@ func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *InstallLibrariesResponse) SyncEffectiveFieldsDuringRead(existingState InstallLibrariesResponse) { } +func (c InstallLibrariesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallLibrariesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10814,6 +11250,11 @@ func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringCreat func (newState *InstancePoolAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlRequest) { } +func (c InstancePoolAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10870,6 +11311,12 @@ func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringCrea func (newState *InstancePoolAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState InstancePoolAccessControlResponse) { } +func (c InstancePoolAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11021,6 +11468,18 @@ func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *InstancePoolAndStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolAndStats) { } +func (c InstancePoolAndStats) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + InstancePoolAzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + DiskSpec{}.ApplySchemaCustomizations(cs, append(path, "disk_spec")...) + InstancePoolGcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "preloaded_docker_images")...) + InstancePoolStats{}.ApplySchemaCustomizations(cs, append(path, "stats")...) + InstancePoolStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAndStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11415,6 +11874,11 @@ func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpda func (newState *InstancePoolAwsAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolAwsAttributes) { } +func (c InstancePoolAwsAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAwsAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11467,6 +11931,11 @@ func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringCreateOrUp func (newState *InstancePoolAzureAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolAzureAttributes) { } +func (c InstancePoolAzureAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolAzureAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11537,6 +12006,11 @@ func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringCreateOrUpda func (newState *InstancePoolGcpAttributes) SyncEffectiveFieldsDuringRead(existingState InstancePoolGcpAttributes) { } +func (c InstancePoolGcpAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolGcpAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11586,6 +12060,11 @@ func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *InstancePoolPermission) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermission) { } +func (c InstancePoolPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11665,6 +12144,12 @@ func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *InstancePoolPermissions) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissions) { } +func (c InstancePoolPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11742,6 +12227,11 @@ func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringCre func (newState *InstancePoolPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsDescription) { } +func (c InstancePoolPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11787,6 +12277,13 @@ func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringCreateO func (newState *InstancePoolPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState InstancePoolPermissionsRequest) { } +func (c InstancePoolPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "instance_pool_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11867,6 +12364,11 @@ func (newState *InstancePoolStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *InstancePoolStats) SyncEffectiveFieldsDuringRead(existingState InstancePoolStats) { } +func (c InstancePoolStats) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11918,6 +12420,12 @@ func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *InstancePoolStatus) SyncEffectiveFieldsDuringRead(existingState InstancePoolStatus) { } +func (c InstancePoolStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PendingInstanceError{}.ApplySchemaCustomizations(cs, append(path, "pending_instance_errors")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstancePoolStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12006,6 +12514,12 @@ func (newState *InstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan In func (newState *InstanceProfile) SyncEffectiveFieldsDuringRead(existingState InstanceProfile) { } +func (c InstanceProfile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_profile_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstanceProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12083,6 +12597,14 @@ func (newState *Library) SyncEffectiveFieldsDuringCreateOrUpdate(plan Library) { func (newState *Library) SyncEffectiveFieldsDuringRead(existingState Library) { } +func (c Library) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RCranLibrary{}.ApplySchemaCustomizations(cs, append(path, "cran")...) + MavenLibrary{}.ApplySchemaCustomizations(cs, append(path, "maven")...) + PythonPyPiLibrary{}.ApplySchemaCustomizations(cs, append(path, "pypi")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Library. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12234,6 +12756,12 @@ func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *LibraryFullStatus) SyncEffectiveFieldsDuringRead(existingState LibraryFullStatus) { } +func (c LibraryFullStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library{}.ApplySchemaCustomizations(cs, append(path, "library")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LibraryFullStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12341,6 +12869,12 @@ func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuring func (newState *ListAllClusterLibraryStatusesResponse) SyncEffectiveFieldsDuringRead(existingState ListAllClusterLibraryStatusesResponse) { } +func (c ListAllClusterLibraryStatusesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterLibraryStatuses{}.ApplySchemaCustomizations(cs, append(path, "statuses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllClusterLibraryStatusesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12416,6 +12950,11 @@ func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListAvailableZonesResponse) SyncEffectiveFieldsDuringRead(existingState ListAvailableZonesResponse) { } +func (c ListAvailableZonesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAvailableZonesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12492,12 +13031,6 @@ type ListClusterCompliancesRequest struct { PolicyId types.String `tfsdk:"-"` } -func (newState *ListClusterCompliancesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterCompliancesRequest) { -} - -func (newState *ListClusterCompliancesRequest) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12551,6 +13084,12 @@ func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringCreateO func (newState *ListClusterCompliancesResponse) SyncEffectiveFieldsDuringRead(existingState ListClusterCompliancesResponse) { } +func (c ListClusterCompliancesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterCompliance{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterCompliancesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12627,12 +13166,6 @@ type ListClusterPoliciesRequest struct { SortOrder types.String `tfsdk:"-"` } -func (newState *ListClusterPoliciesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClusterPoliciesRequest) { -} - -func (newState *ListClusterPoliciesRequest) SyncEffectiveFieldsDuringRead(existingState ListClusterPoliciesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClusterPoliciesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12683,6 +13216,11 @@ func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListClustersFilterBy) SyncEffectiveFieldsDuringRead(existingState ListClustersFilterBy) { } +func (c ListClustersFilterBy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersFilterBy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12794,12 +13332,6 @@ type ListClustersRequest struct { SortBy types.Object `tfsdk:"-"` } -func (newState *ListClustersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListClustersRequest) { -} - -func (newState *ListClustersRequest) SyncEffectiveFieldsDuringRead(existingState ListClustersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12914,6 +13446,12 @@ func (newState *ListClustersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListClustersResponse) SyncEffectiveFieldsDuringRead(existingState ListClustersResponse) { } +func (c ListClustersResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterDetails{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12994,6 +13532,11 @@ func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListClustersSortBy) SyncEffectiveFieldsDuringRead(existingState ListClustersSortBy) { } +func (c ListClustersSortBy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListClustersSortBy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13037,6 +13580,12 @@ func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringCreateOr func (newState *ListGlobalInitScriptsResponse) SyncEffectiveFieldsDuringRead(existingState ListGlobalInitScriptsResponse) { } +func (c ListGlobalInitScriptsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GlobalInitScriptDetails{}.ApplySchemaCustomizations(cs, append(path, "scripts")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGlobalInitScriptsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13108,6 +13657,12 @@ func (newState *ListInstancePools) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListInstancePools) SyncEffectiveFieldsDuringRead(existingState ListInstancePools) { } +func (c ListInstancePools) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstancePoolAndStats{}.ApplySchemaCustomizations(cs, append(path, "instance_pools")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstancePools. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13180,6 +13735,12 @@ func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *ListInstanceProfilesResponse) SyncEffectiveFieldsDuringRead(existingState ListInstanceProfilesResponse) { } +func (c ListInstanceProfilesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstanceProfile{}.ApplySchemaCustomizations(cs, append(path, "instance_profiles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstanceProfilesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13252,6 +13813,12 @@ func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListNodeTypesResponse) SyncEffectiveFieldsDuringRead(existingState ListNodeTypesResponse) { } +func (c ListNodeTypesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NodeType{}.ApplySchemaCustomizations(cs, append(path, "node_types")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNodeTypesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13324,6 +13891,12 @@ func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListPoliciesResponse) SyncEffectiveFieldsDuringRead(existingState ListPoliciesResponse) { } +func (c ListPoliciesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Policy{}.ApplySchemaCustomizations(cs, append(path, "policies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPoliciesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13393,12 +13966,6 @@ type ListPolicyFamiliesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPolicyFamiliesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPolicyFamiliesRequest) { -} - -func (newState *ListPolicyFamiliesRequest) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13446,6 +14013,12 @@ func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListPolicyFamiliesResponse) SyncEffectiveFieldsDuringRead(existingState ListPolicyFamiliesResponse) { } +func (c ListPolicyFamiliesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PolicyFamily{}.ApplySchemaCustomizations(cs, append(path, "policy_families")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPolicyFamiliesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13520,6 +14093,12 @@ func (newState *LocalFileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Loca func (newState *LocalFileInfo) SyncEffectiveFieldsDuringRead(existingState LocalFileInfo) { } +func (c LocalFileInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LocalFileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13564,6 +14143,11 @@ func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *LogAnalyticsInfo) SyncEffectiveFieldsDuringRead(existingState LogAnalyticsInfo) { } +func (c LogAnalyticsInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogAnalyticsInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13612,6 +14196,11 @@ func (newState *LogSyncStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogS func (newState *LogSyncStatus) SyncEffectiveFieldsDuringRead(existingState LogSyncStatus) { } +func (c LogSyncStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogSyncStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13665,6 +14254,12 @@ func (newState *MavenLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan Maven func (newState *MavenLibrary) SyncEffectiveFieldsDuringRead(existingState MavenLibrary) { } +func (c MavenLibrary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "coordinates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MavenLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13748,6 +14343,11 @@ func (newState *NodeInstanceType) SyncEffectiveFieldsDuringCreateOrUpdate(plan N func (newState *NodeInstanceType) SyncEffectiveFieldsDuringRead(existingState NodeInstanceType) { } +func (c NodeInstanceType) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeInstanceType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13843,6 +14443,18 @@ func (newState *NodeType) SyncEffectiveFieldsDuringCreateOrUpdate(plan NodeType) func (newState *NodeType) SyncEffectiveFieldsDuringRead(existingState NodeType) { } +func (c NodeType) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "description")...) + cs.SetRequired(append(path, "instance_type_id")...) + cs.SetRequired(append(path, "memory_mb")...) + CloudProviderNodeInfo{}.ApplySchemaCustomizations(cs, append(path, "node_info")...) + NodeInstanceType{}.ApplySchemaCustomizations(cs, append(path, "node_instance_type")...) + cs.SetRequired(append(path, "node_type_id")...) + cs.SetRequired(append(path, "num_cores")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NodeType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13985,6 +14597,11 @@ func (newState *PendingInstanceError) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *PendingInstanceError) SyncEffectiveFieldsDuringRead(existingState PendingInstanceError) { } +func (c PendingInstanceError) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PendingInstanceError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14029,6 +14646,12 @@ func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PermanentDeleteCluster) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteCluster) { } +func (c PermanentDeleteCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14069,6 +14692,11 @@ func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringCreateO func (newState *PermanentDeleteClusterResponse) SyncEffectiveFieldsDuringRead(existingState PermanentDeleteClusterResponse) { } +func (c PermanentDeleteClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermanentDeleteClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14107,6 +14735,12 @@ func (newState *PinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan PinClus func (newState *PinCluster) SyncEffectiveFieldsDuringRead(existingState PinCluster) { } +func (c PinCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PinCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14147,6 +14781,11 @@ func (newState *PinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PinClusterResponse) SyncEffectiveFieldsDuringRead(existingState PinClusterResponse) { } +func (c PinClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PinClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14229,6 +14868,12 @@ func (newState *Policy) SyncEffectiveFieldsDuringCreateOrUpdate(plan Policy) { func (newState *Policy) SyncEffectiveFieldsDuringRead(existingState Policy) { } +func (c Policy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Library{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Policy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14330,6 +14975,11 @@ func (newState *PolicyFamily) SyncEffectiveFieldsDuringCreateOrUpdate(plan Polic func (newState *PolicyFamily) SyncEffectiveFieldsDuringRead(existingState PolicyFamily) { } +func (c PolicyFamily) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PolicyFamily. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14383,6 +15033,12 @@ func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PythonPyPiLibrary) SyncEffectiveFieldsDuringRead(existingState PythonPyPiLibrary) { } +func (c PythonPyPiLibrary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "package")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonPyPiLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14430,6 +15086,12 @@ func (newState *RCranLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan RCran func (newState *RCranLibrary) SyncEffectiveFieldsDuringRead(existingState RCranLibrary) { } +func (c RCranLibrary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "package")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RCranLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14474,6 +15136,12 @@ func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *RemoveInstanceProfile) SyncEffectiveFieldsDuringRead(existingState RemoveInstanceProfile) { } +func (c RemoveInstanceProfile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "instance_profile_arn")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveInstanceProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14508,12 +15176,6 @@ func (o RemoveInstanceProfile) Type(ctx context.Context) attr.Type { type RemoveResponse struct { } -func (newState *RemoveResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveResponse) { -} - -func (newState *RemoveResponse) SyncEffectiveFieldsDuringRead(existingState RemoveResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14567,6 +15229,13 @@ func (newState *ResizeCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Resi func (newState *ResizeCluster) SyncEffectiveFieldsDuringRead(existingState ResizeCluster) { } +func (c ResizeCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14641,6 +15310,11 @@ func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ResizeClusterResponse) SyncEffectiveFieldsDuringRead(existingState ResizeClusterResponse) { } +func (c ResizeClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResizeClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14681,6 +15355,12 @@ func (newState *RestartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Res func (newState *RestartCluster) SyncEffectiveFieldsDuringRead(existingState RestartCluster) { } +func (c RestartCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14723,6 +15403,11 @@ func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *RestartClusterResponse) SyncEffectiveFieldsDuringRead(existingState RestartClusterResponse) { } +func (c RestartClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14780,6 +15465,11 @@ func (newState *Results) SyncEffectiveFieldsDuringCreateOrUpdate(plan Results) { func (newState *Results) SyncEffectiveFieldsDuringRead(existingState Results) { } +func (c Results) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Results. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14929,6 +15619,12 @@ func (newState *S3StorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan S3St func (newState *S3StorageInfo) SyncEffectiveFieldsDuringRead(existingState S3StorageInfo) { } +func (c S3StorageInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in S3StorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15006,6 +15702,12 @@ func (newState *SparkNode) SyncEffectiveFieldsDuringCreateOrUpdate(plan SparkNod func (newState *SparkNode) SyncEffectiveFieldsDuringRead(existingState SparkNode) { } +func (c SparkNode) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparkNodeAwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "node_aws_attributes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNode. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15090,6 +15792,11 @@ func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SparkNodeAwsAttributes) SyncEffectiveFieldsDuringRead(existingState SparkNodeAwsAttributes) { } +func (c SparkNodeAwsAttributes) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkNodeAwsAttributes. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15138,6 +15845,11 @@ func (newState *SparkVersion) SyncEffectiveFieldsDuringCreateOrUpdate(plan Spark func (newState *SparkVersion) SyncEffectiveFieldsDuringRead(existingState SparkVersion) { } +func (c SparkVersion) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkVersion. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15182,6 +15894,12 @@ func (newState *StartCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Start func (newState *StartCluster) SyncEffectiveFieldsDuringRead(existingState StartCluster) { } +func (c StartCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15222,6 +15940,11 @@ func (newState *StartClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *StartClusterResponse) SyncEffectiveFieldsDuringRead(existingState StartClusterResponse) { } +func (c StartClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15265,6 +15988,11 @@ func (newState *TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TerminationReason) SyncEffectiveFieldsDuringRead(existingState TerminationReason) { } +func (c TerminationReason) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15343,6 +16071,14 @@ func (newState *UninstallLibraries) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UninstallLibraries) SyncEffectiveFieldsDuringRead(existingState UninstallLibraries) { } +func (c UninstallLibraries) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "libraries")...) + Library{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibraries. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15415,6 +16151,11 @@ func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UninstallLibrariesResponse) SyncEffectiveFieldsDuringRead(existingState UninstallLibrariesResponse) { } +func (c UninstallLibrariesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UninstallLibrariesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15453,6 +16194,12 @@ func (newState *UnpinCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Unpin func (newState *UnpinCluster) SyncEffectiveFieldsDuringRead(existingState UnpinCluster) { } +func (c UnpinCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "cluster_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15493,6 +16240,11 @@ func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *UnpinClusterResponse) SyncEffectiveFieldsDuringRead(existingState UnpinClusterResponse) { } +func (c UnpinClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpinClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15539,6 +16291,14 @@ func (newState *UpdateCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Upda func (newState *UpdateCluster) SyncEffectiveFieldsDuringRead(existingState UpdateCluster) { } +func (c UpdateCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateClusterResource{}.ApplySchemaCustomizations(cs, append(path, "cluster")...) + cs.SetRequired(append(path, "cluster_id")...) + cs.SetRequired(append(path, "update_mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15784,6 +16544,19 @@ func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateClusterResource) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResource) { } +func (c UpdateClusterResource) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoScale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + DockerImage{}.ApplySchemaCustomizations(cs, append(path, "docker_image")...) + GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + InitScriptInfo{}.ApplySchemaCustomizations(cs, append(path, "init_scripts")...) + WorkloadType{}.ApplySchemaCustomizations(cs, append(path, "workload_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16229,6 +17002,11 @@ func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateClusterResponse) SyncEffectiveFieldsDuringRead(existingState UpdateClusterResponse) { } +func (c UpdateClusterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateClusterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16259,12 +17037,6 @@ func (o UpdateClusterResponse) Type(ctx context.Context) attr.Type { type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -16303,6 +17075,12 @@ func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *VolumesStorageInfo) SyncEffectiveFieldsDuringRead(existingState VolumesStorageInfo) { } +func (c VolumesStorageInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VolumesStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16345,6 +17123,13 @@ func (newState *WorkloadType) SyncEffectiveFieldsDuringCreateOrUpdate(plan Workl func (newState *WorkloadType) SyncEffectiveFieldsDuringRead(existingState WorkloadType) { } +func (c WorkloadType) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "clients")...) + ClientsTypes{}.ApplySchemaCustomizations(cs, append(path, "clients")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkloadType. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16418,6 +17203,12 @@ func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *WorkspaceStorageInfo) SyncEffectiveFieldsDuringRead(existingState WorkspaceStorageInfo) { } +func (c WorkspaceStorageInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceStorageInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/dashboards_tf/legacy_model.go b/internal/service/dashboards_tf/legacy_model.go index 5016d5f4b..1f106dc97 100755 --- a/internal/service/dashboards_tf/legacy_model.go +++ b/internal/service/dashboards_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/sql_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -27,12 +28,6 @@ type CreateDashboardRequest_SdkV2 struct { Dashboard types.List `tfsdk:"dashboard" tf:"optional,object"` } -func (newState *CreateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDashboardRequest_SdkV2) { -} - -func (newState *CreateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -102,12 +97,6 @@ type CreateScheduleRequest_SdkV2 struct { Schedule types.List `tfsdk:"schedule" tf:"optional,object"` } -func (newState *CreateScheduleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateScheduleRequest_SdkV2) { -} - -func (newState *CreateScheduleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateScheduleRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -181,12 +170,6 @@ type CreateSubscriptionRequest_SdkV2 struct { Subscription types.List `tfsdk:"subscription" tf:"optional,object"` } -func (newState *CreateSubscriptionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateSubscriptionRequest_SdkV2) { -} - -func (newState *CreateSubscriptionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateSubscriptionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSubscriptionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -271,6 +254,13 @@ func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState CronSchedule_SdkV2) { } +func (c CronSchedule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "quartz_cron_expression")...) + cs.SetRequired(append(path, "timezone_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CronSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -346,6 +336,18 @@ func (newState *Dashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Da func (newState *Dashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState Dashboard_SdkV2) { } +func (c Dashboard_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "dashboard_id")...) + cs.SetComputed(append(path, "etag")...) + cs.SetComputed(append(path, "lifecycle_state")...) + cs.SetComputed(append(path, "parent_path")...) + cs.SetComputed(append(path, "path")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -406,12 +408,6 @@ type DeleteScheduleRequest_SdkV2 struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *DeleteScheduleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScheduleRequest_SdkV2) { -} - -func (newState *DeleteScheduleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteScheduleRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -450,12 +446,6 @@ func (o DeleteScheduleRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteScheduleResponse_SdkV2 struct { } -func (newState *DeleteScheduleResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScheduleResponse_SdkV2) { -} - -func (newState *DeleteScheduleResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteScheduleResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScheduleResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -496,12 +486,6 @@ type DeleteSubscriptionRequest_SdkV2 struct { SubscriptionId types.String `tfsdk:"-"` } -func (newState *DeleteSubscriptionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSubscriptionRequest_SdkV2) { -} - -func (newState *DeleteSubscriptionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteSubscriptionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSubscriptionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -542,12 +526,6 @@ func (o DeleteSubscriptionRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteSubscriptionResponse_SdkV2 struct { } -func (newState *DeleteSubscriptionResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSubscriptionResponse_SdkV2) { -} - -func (newState *DeleteSubscriptionResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteSubscriptionResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSubscriptionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -588,6 +566,13 @@ func (newState *GenieAttachment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *GenieAttachment_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieAttachment_SdkV2) { } +func (c GenieAttachment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryAttachment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query")...) + TextAttachment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "text")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieAttachment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -701,6 +686,15 @@ func (newState *GenieConversation_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GenieConversation_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieConversation_SdkV2) { } +func (c GenieConversation_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "space_id")...) + cs.SetRequired(append(path, "title")...) + cs.SetRequired(append(path, "user_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieConversation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -757,6 +751,14 @@ func (newState *GenieCreateConversationMessageRequest_SdkV2) SyncEffectiveFields func (newState *GenieCreateConversationMessageRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieCreateConversationMessageRequest_SdkV2) { } +func (c GenieCreateConversationMessageRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "content")...) + cs.SetRequired(append(path, "conversation_id")...) + cs.SetRequired(append(path, "space_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieCreateConversationMessageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -802,12 +804,6 @@ type GenieExecuteMessageQueryRequest_SdkV2 struct { SpaceId types.String `tfsdk:"-"` } -func (newState *GenieExecuteMessageQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GenieExecuteMessageQueryRequest_SdkV2) { -} - -func (newState *GenieExecuteMessageQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieExecuteMessageQueryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieExecuteMessageQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -855,12 +851,6 @@ type GenieGetConversationMessageRequest_SdkV2 struct { SpaceId types.String `tfsdk:"-"` } -func (newState *GenieGetConversationMessageRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GenieGetConversationMessageRequest_SdkV2) { -} - -func (newState *GenieGetConversationMessageRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieGetConversationMessageRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieGetConversationMessageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -906,12 +896,6 @@ type GenieGetMessageQueryResultRequest_SdkV2 struct { SpaceId types.String `tfsdk:"-"` } -func (newState *GenieGetMessageQueryResultRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GenieGetMessageQueryResultRequest_SdkV2) { -} - -func (newState *GenieGetMessageQueryResultRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieGetMessageQueryResultRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieGetMessageQueryResultRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -959,6 +943,12 @@ func (newState *GenieGetMessageQueryResultResponse_SdkV2) SyncEffectiveFieldsDur func (newState *GenieGetMessageQueryResultResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieGetMessageQueryResultResponse_SdkV2) { } +func (c GenieGetMessageQueryResultResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + sql_tf.StatementResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "statement_response")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieGetMessageQueryResultResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1066,6 +1056,18 @@ func (newState *GenieMessage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GenieMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieMessage_SdkV2) { } +func (c GenieMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GenieAttachment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "attachments")...) + cs.SetRequired(append(path, "content")...) + cs.SetRequired(append(path, "conversation_id")...) + MessageError_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "error")...) + cs.SetRequired(append(path, "id")...) + Result_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query_result")...) + cs.SetRequired(append(path, "space_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1219,6 +1221,13 @@ func (newState *GenieStartConversationMessageRequest_SdkV2) SyncEffectiveFieldsD func (newState *GenieStartConversationMessageRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieStartConversationMessageRequest_SdkV2) { } +func (c GenieStartConversationMessageRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "content")...) + cs.SetRequired(append(path, "space_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieStartConversationMessageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1268,6 +1277,15 @@ func (newState *GenieStartConversationResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *GenieStartConversationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenieStartConversationResponse_SdkV2) { } +func (c GenieStartConversationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GenieConversation_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "conversation")...) + cs.SetRequired(append(path, "conversation_id")...) + GenieMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "message")...) + cs.SetRequired(append(path, "message_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieStartConversationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1370,12 +1388,6 @@ type GetDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *GetDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDashboardRequest_SdkV2) { -} - -func (newState *GetDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1413,12 +1425,6 @@ type GetPublishedDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *GetPublishedDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPublishedDashboardRequest_SdkV2) { -} - -func (newState *GetPublishedDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPublishedDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1458,12 +1464,6 @@ type GetScheduleRequest_SdkV2 struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *GetScheduleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetScheduleRequest_SdkV2) { -} - -func (newState *GetScheduleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetScheduleRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1507,12 +1507,6 @@ type GetSubscriptionRequest_SdkV2 struct { SubscriptionId types.String `tfsdk:"-"` } -func (newState *GetSubscriptionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSubscriptionRequest_SdkV2) { -} - -func (newState *GetSubscriptionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSubscriptionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSubscriptionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1562,12 +1556,6 @@ type ListDashboardsRequest_SdkV2 struct { View types.String `tfsdk:"-"` } -func (newState *ListDashboardsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDashboardsRequest_SdkV2) { -} - -func (newState *ListDashboardsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListDashboardsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1618,6 +1606,13 @@ func (newState *ListDashboardsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ListDashboardsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListDashboardsResponse_SdkV2) { } +func (c ListDashboardsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Dashboard_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dashboards")...) + cs.SetComputed(append(path, "next_page_token")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1692,12 +1687,6 @@ type ListSchedulesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSchedulesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSchedulesRequest_SdkV2) { -} - -func (newState *ListSchedulesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSchedulesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchedulesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1748,6 +1737,13 @@ func (newState *ListSchedulesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListSchedulesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSchedulesResponse_SdkV2) { } +func (c ListSchedulesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "next_page_token")...) + Schedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchedulesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1824,12 +1820,6 @@ type ListSubscriptionsRequest_SdkV2 struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *ListSubscriptionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSubscriptionsRequest_SdkV2) { -} - -func (newState *ListSubscriptionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSubscriptionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSubscriptionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1882,6 +1872,13 @@ func (newState *ListSubscriptionsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ListSubscriptionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSubscriptionsResponse_SdkV2) { } +func (c ListSubscriptionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "next_page_token")...) + Subscription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "subscriptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSubscriptionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1957,6 +1954,11 @@ func (newState *MessageError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MessageError_SdkV2) SyncEffectiveFieldsDuringRead(existingState MessageError_SdkV2) { } +func (c MessageError_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MessageError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2010,6 +2012,12 @@ func (newState *MigrateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *MigrateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState MigrateDashboardRequest_SdkV2) { } +func (c MigrateDashboardRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "source_dashboard_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MigrateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2065,6 +2073,12 @@ func (newState *PublishRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *PublishRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PublishRequest_SdkV2) { } +func (c PublishRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublishRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2117,6 +2131,13 @@ func (newState *PublishedDashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PublishedDashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState PublishedDashboard_SdkV2) { } +func (c PublishedDashboard_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "display_name")...) + cs.SetComputed(append(path, "revision_create_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublishedDashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2180,6 +2201,12 @@ func (newState *QueryAttachment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *QueryAttachment_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryAttachment_SdkV2) { } +func (c QueryAttachment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuerySchema_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cached_query_schema")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryAttachment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2269,6 +2296,12 @@ func (newState *QuerySchema_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QuerySchema_SdkV2) SyncEffectiveFieldsDuringRead(existingState QuerySchema_SdkV2) { } +func (c QuerySchema_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuerySchemaColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QuerySchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2348,6 +2381,14 @@ func (newState *QuerySchemaColumn_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *QuerySchemaColumn_SdkV2) SyncEffectiveFieldsDuringRead(existingState QuerySchemaColumn_SdkV2) { } +func (c QuerySchemaColumn_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "data_type")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "type_text")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QuerySchemaColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2400,6 +2441,11 @@ func (newState *Result_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Resul func (newState *Result_SdkV2) SyncEffectiveFieldsDuringRead(existingState Result_SdkV2) { } +func (c Result_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Result. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2465,6 +2511,18 @@ func (newState *Schedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sch func (newState *Schedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState Schedule_SdkV2) { } +func (c Schedule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetRequired(append(path, "cron_schedule")...) + CronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cron_schedule")...) + cs.SetComputed(append(path, "dashboard_id")...) + cs.SetComputed(append(path, "etag")...) + cs.SetComputed(append(path, "schedule_id")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Schedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2557,6 +2615,13 @@ func (newState *Subscriber_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *Subscriber_SdkV2) SyncEffectiveFieldsDuringRead(existingState Subscriber_SdkV2) { } +func (c Subscriber_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SubscriptionSubscriberDestination_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "destination_subscriber")...) + SubscriptionSubscriberUser_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "user_subscriber")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Subscriber. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2678,6 +2743,20 @@ func (newState *Subscription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *Subscription_SdkV2) SyncEffectiveFieldsDuringRead(existingState Subscription_SdkV2) { } +func (c Subscription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "created_by_user_id")...) + cs.SetComputed(append(path, "dashboard_id")...) + cs.SetComputed(append(path, "etag")...) + cs.SetComputed(append(path, "schedule_id")...) + cs.SetRequired(append(path, "subscriber")...) + Subscriber_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "subscriber")...) + cs.SetComputed(append(path, "subscription_id")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Subscription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2765,6 +2844,12 @@ func (newState *SubscriptionSubscriberDestination_SdkV2) SyncEffectiveFieldsDuri func (newState *SubscriptionSubscriberDestination_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubscriptionSubscriberDestination_SdkV2) { } +func (c SubscriptionSubscriberDestination_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "destination_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubscriptionSubscriberDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2807,6 +2892,12 @@ func (newState *SubscriptionSubscriberUser_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *SubscriptionSubscriberUser_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubscriptionSubscriberUser_SdkV2) { } +func (c SubscriptionSubscriberUser_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "user_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubscriptionSubscriberUser. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2851,6 +2942,11 @@ func (newState *TextAttachment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *TextAttachment_SdkV2) SyncEffectiveFieldsDuringRead(existingState TextAttachment_SdkV2) { } +func (c TextAttachment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TextAttachment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2890,12 +2986,6 @@ type TrashDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *TrashDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrashDashboardRequest_SdkV2) { -} - -func (newState *TrashDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TrashDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2936,6 +3026,11 @@ func (newState *TrashDashboardResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *TrashDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState TrashDashboardResponse_SdkV2) { } +func (c TrashDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2969,12 +3064,6 @@ type UnpublishDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *UnpublishDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpublishDashboardRequest_SdkV2) { -} - -func (newState *UnpublishDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpublishDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpublishDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3015,6 +3104,11 @@ func (newState *UnpublishDashboardResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UnpublishDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UnpublishDashboardResponse_SdkV2) { } +func (c UnpublishDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpublishDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3049,12 +3143,6 @@ type UpdateDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *UpdateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateDashboardRequest_SdkV2) { -} - -func (newState *UpdateDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3128,12 +3216,6 @@ type UpdateScheduleRequest_SdkV2 struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *UpdateScheduleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateScheduleRequest_SdkV2) { -} - -func (newState *UpdateScheduleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateScheduleRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/dashboards_tf/model.go b/internal/service/dashboards_tf/model.go index 03eaaae88..5ac689b56 100755 --- a/internal/service/dashboards_tf/model.go +++ b/internal/service/dashboards_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/sql_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -27,12 +28,6 @@ type CreateDashboardRequest struct { Dashboard types.Object `tfsdk:"dashboard" tf:"optional,object"` } -func (newState *CreateDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDashboardRequest) { -} - -func (newState *CreateDashboardRequest) SyncEffectiveFieldsDuringRead(existingState CreateDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -102,12 +97,6 @@ type CreateScheduleRequest struct { Schedule types.Object `tfsdk:"schedule" tf:"optional,object"` } -func (newState *CreateScheduleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateScheduleRequest) { -} - -func (newState *CreateScheduleRequest) SyncEffectiveFieldsDuringRead(existingState CreateScheduleRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -181,12 +170,6 @@ type CreateSubscriptionRequest struct { Subscription types.Object `tfsdk:"subscription" tf:"optional,object"` } -func (newState *CreateSubscriptionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateSubscriptionRequest) { -} - -func (newState *CreateSubscriptionRequest) SyncEffectiveFieldsDuringRead(existingState CreateSubscriptionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateSubscriptionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -271,6 +254,13 @@ func (newState *CronSchedule) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronS func (newState *CronSchedule) SyncEffectiveFieldsDuringRead(existingState CronSchedule) { } +func (c CronSchedule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "quartz_cron_expression")...) + cs.SetRequired(append(path, "timezone_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CronSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -346,6 +336,18 @@ func (newState *Dashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dashboar func (newState *Dashboard) SyncEffectiveFieldsDuringRead(existingState Dashboard) { } +func (c Dashboard) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "dashboard_id")...) + cs.SetComputed(append(path, "etag")...) + cs.SetComputed(append(path, "lifecycle_state")...) + cs.SetComputed(append(path, "parent_path")...) + cs.SetComputed(append(path, "path")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -406,12 +408,6 @@ type DeleteScheduleRequest struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *DeleteScheduleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScheduleRequest) { -} - -func (newState *DeleteScheduleRequest) SyncEffectiveFieldsDuringRead(existingState DeleteScheduleRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -450,12 +446,6 @@ func (o DeleteScheduleRequest) Type(ctx context.Context) attr.Type { type DeleteScheduleResponse struct { } -func (newState *DeleteScheduleResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScheduleResponse) { -} - -func (newState *DeleteScheduleResponse) SyncEffectiveFieldsDuringRead(existingState DeleteScheduleResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScheduleResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -496,12 +486,6 @@ type DeleteSubscriptionRequest struct { SubscriptionId types.String `tfsdk:"-"` } -func (newState *DeleteSubscriptionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSubscriptionRequest) { -} - -func (newState *DeleteSubscriptionRequest) SyncEffectiveFieldsDuringRead(existingState DeleteSubscriptionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSubscriptionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -542,12 +526,6 @@ func (o DeleteSubscriptionRequest) Type(ctx context.Context) attr.Type { type DeleteSubscriptionResponse struct { } -func (newState *DeleteSubscriptionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteSubscriptionResponse) { -} - -func (newState *DeleteSubscriptionResponse) SyncEffectiveFieldsDuringRead(existingState DeleteSubscriptionResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSubscriptionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -588,6 +566,13 @@ func (newState *GenieAttachment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ge func (newState *GenieAttachment) SyncEffectiveFieldsDuringRead(existingState GenieAttachment) { } +func (c GenieAttachment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryAttachment{}.ApplySchemaCustomizations(cs, append(path, "query")...) + TextAttachment{}.ApplySchemaCustomizations(cs, append(path, "text")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieAttachment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -701,6 +686,15 @@ func (newState *GenieConversation) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GenieConversation) SyncEffectiveFieldsDuringRead(existingState GenieConversation) { } +func (c GenieConversation) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "space_id")...) + cs.SetRequired(append(path, "title")...) + cs.SetRequired(append(path, "user_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieConversation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -757,6 +751,14 @@ func (newState *GenieCreateConversationMessageRequest) SyncEffectiveFieldsDuring func (newState *GenieCreateConversationMessageRequest) SyncEffectiveFieldsDuringRead(existingState GenieCreateConversationMessageRequest) { } +func (c GenieCreateConversationMessageRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "content")...) + cs.SetRequired(append(path, "conversation_id")...) + cs.SetRequired(append(path, "space_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieCreateConversationMessageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -802,12 +804,6 @@ type GenieExecuteMessageQueryRequest struct { SpaceId types.String `tfsdk:"-"` } -func (newState *GenieExecuteMessageQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GenieExecuteMessageQueryRequest) { -} - -func (newState *GenieExecuteMessageQueryRequest) SyncEffectiveFieldsDuringRead(existingState GenieExecuteMessageQueryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieExecuteMessageQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -855,12 +851,6 @@ type GenieGetConversationMessageRequest struct { SpaceId types.String `tfsdk:"-"` } -func (newState *GenieGetConversationMessageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GenieGetConversationMessageRequest) { -} - -func (newState *GenieGetConversationMessageRequest) SyncEffectiveFieldsDuringRead(existingState GenieGetConversationMessageRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieGetConversationMessageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -906,12 +896,6 @@ type GenieGetMessageQueryResultRequest struct { SpaceId types.String `tfsdk:"-"` } -func (newState *GenieGetMessageQueryResultRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GenieGetMessageQueryResultRequest) { -} - -func (newState *GenieGetMessageQueryResultRequest) SyncEffectiveFieldsDuringRead(existingState GenieGetMessageQueryResultRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieGetMessageQueryResultRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -959,6 +943,12 @@ func (newState *GenieGetMessageQueryResultResponse) SyncEffectiveFieldsDuringCre func (newState *GenieGetMessageQueryResultResponse) SyncEffectiveFieldsDuringRead(existingState GenieGetMessageQueryResultResponse) { } +func (c GenieGetMessageQueryResultResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + sql_tf.StatementResponse{}.ApplySchemaCustomizations(cs, append(path, "statement_response")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieGetMessageQueryResultResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1066,6 +1056,18 @@ func (newState *GenieMessage) SyncEffectiveFieldsDuringCreateOrUpdate(plan Genie func (newState *GenieMessage) SyncEffectiveFieldsDuringRead(existingState GenieMessage) { } +func (c GenieMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GenieAttachment{}.ApplySchemaCustomizations(cs, append(path, "attachments")...) + cs.SetRequired(append(path, "content")...) + cs.SetRequired(append(path, "conversation_id")...) + MessageError{}.ApplySchemaCustomizations(cs, append(path, "error")...) + cs.SetRequired(append(path, "id")...) + Result{}.ApplySchemaCustomizations(cs, append(path, "query_result")...) + cs.SetRequired(append(path, "space_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1219,6 +1221,13 @@ func (newState *GenieStartConversationMessageRequest) SyncEffectiveFieldsDuringC func (newState *GenieStartConversationMessageRequest) SyncEffectiveFieldsDuringRead(existingState GenieStartConversationMessageRequest) { } +func (c GenieStartConversationMessageRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "content")...) + cs.SetRequired(append(path, "space_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieStartConversationMessageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1268,6 +1277,15 @@ func (newState *GenieStartConversationResponse) SyncEffectiveFieldsDuringCreateO func (newState *GenieStartConversationResponse) SyncEffectiveFieldsDuringRead(existingState GenieStartConversationResponse) { } +func (c GenieStartConversationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GenieConversation{}.ApplySchemaCustomizations(cs, append(path, "conversation")...) + cs.SetRequired(append(path, "conversation_id")...) + GenieMessage{}.ApplySchemaCustomizations(cs, append(path, "message")...) + cs.SetRequired(append(path, "message_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenieStartConversationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1370,12 +1388,6 @@ type GetDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *GetDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDashboardRequest) { -} - -func (newState *GetDashboardRequest) SyncEffectiveFieldsDuringRead(existingState GetDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1413,12 +1425,6 @@ type GetPublishedDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *GetPublishedDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPublishedDashboardRequest) { -} - -func (newState *GetPublishedDashboardRequest) SyncEffectiveFieldsDuringRead(existingState GetPublishedDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1458,12 +1464,6 @@ type GetScheduleRequest struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *GetScheduleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetScheduleRequest) { -} - -func (newState *GetScheduleRequest) SyncEffectiveFieldsDuringRead(existingState GetScheduleRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1507,12 +1507,6 @@ type GetSubscriptionRequest struct { SubscriptionId types.String `tfsdk:"-"` } -func (newState *GetSubscriptionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSubscriptionRequest) { -} - -func (newState *GetSubscriptionRequest) SyncEffectiveFieldsDuringRead(existingState GetSubscriptionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSubscriptionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1562,12 +1556,6 @@ type ListDashboardsRequest struct { View types.String `tfsdk:"-"` } -func (newState *ListDashboardsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDashboardsRequest) { -} - -func (newState *ListDashboardsRequest) SyncEffectiveFieldsDuringRead(existingState ListDashboardsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1618,6 +1606,13 @@ func (newState *ListDashboardsResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListDashboardsResponse) SyncEffectiveFieldsDuringRead(existingState ListDashboardsResponse) { } +func (c ListDashboardsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Dashboard{}.ApplySchemaCustomizations(cs, append(path, "dashboards")...) + cs.SetComputed(append(path, "next_page_token")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1692,12 +1687,6 @@ type ListSchedulesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSchedulesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSchedulesRequest) { -} - -func (newState *ListSchedulesRequest) SyncEffectiveFieldsDuringRead(existingState ListSchedulesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchedulesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1748,6 +1737,13 @@ func (newState *ListSchedulesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListSchedulesResponse) SyncEffectiveFieldsDuringRead(existingState ListSchedulesResponse) { } +func (c ListSchedulesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "next_page_token")...) + Schedule{}.ApplySchemaCustomizations(cs, append(path, "schedules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSchedulesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1824,12 +1820,6 @@ type ListSubscriptionsRequest struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *ListSubscriptionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSubscriptionsRequest) { -} - -func (newState *ListSubscriptionsRequest) SyncEffectiveFieldsDuringRead(existingState ListSubscriptionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSubscriptionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1882,6 +1872,13 @@ func (newState *ListSubscriptionsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListSubscriptionsResponse) SyncEffectiveFieldsDuringRead(existingState ListSubscriptionsResponse) { } +func (c ListSubscriptionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "next_page_token")...) + Subscription{}.ApplySchemaCustomizations(cs, append(path, "subscriptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSubscriptionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1957,6 +1954,11 @@ func (newState *MessageError) SyncEffectiveFieldsDuringCreateOrUpdate(plan Messa func (newState *MessageError) SyncEffectiveFieldsDuringRead(existingState MessageError) { } +func (c MessageError) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MessageError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2010,6 +2012,12 @@ func (newState *MigrateDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *MigrateDashboardRequest) SyncEffectiveFieldsDuringRead(existingState MigrateDashboardRequest) { } +func (c MigrateDashboardRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "source_dashboard_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MigrateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2065,6 +2073,12 @@ func (newState *PublishRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pub func (newState *PublishRequest) SyncEffectiveFieldsDuringRead(existingState PublishRequest) { } +func (c PublishRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublishRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2117,6 +2131,13 @@ func (newState *PublishedDashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PublishedDashboard) SyncEffectiveFieldsDuringRead(existingState PublishedDashboard) { } +func (c PublishedDashboard) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "display_name")...) + cs.SetComputed(append(path, "revision_create_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublishedDashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2180,6 +2201,12 @@ func (newState *QueryAttachment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Qu func (newState *QueryAttachment) SyncEffectiveFieldsDuringRead(existingState QueryAttachment) { } +func (c QueryAttachment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuerySchema{}.ApplySchemaCustomizations(cs, append(path, "cached_query_schema")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryAttachment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2269,6 +2296,12 @@ func (newState *QuerySchema) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryS func (newState *QuerySchema) SyncEffectiveFieldsDuringRead(existingState QuerySchema) { } +func (c QuerySchema) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QuerySchemaColumn{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QuerySchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2348,6 +2381,14 @@ func (newState *QuerySchemaColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QuerySchemaColumn) SyncEffectiveFieldsDuringRead(existingState QuerySchemaColumn) { } +func (c QuerySchemaColumn) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "data_type")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "type_text")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QuerySchemaColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2400,6 +2441,11 @@ func (newState *Result) SyncEffectiveFieldsDuringCreateOrUpdate(plan Result) { func (newState *Result) SyncEffectiveFieldsDuringRead(existingState Result) { } +func (c Result) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Result. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2465,6 +2511,18 @@ func (newState *Schedule) SyncEffectiveFieldsDuringCreateOrUpdate(plan Schedule) func (newState *Schedule) SyncEffectiveFieldsDuringRead(existingState Schedule) { } +func (c Schedule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetRequired(append(path, "cron_schedule")...) + CronSchedule{}.ApplySchemaCustomizations(cs, append(path, "cron_schedule")...) + cs.SetComputed(append(path, "dashboard_id")...) + cs.SetComputed(append(path, "etag")...) + cs.SetComputed(append(path, "schedule_id")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Schedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2557,6 +2615,13 @@ func (newState *Subscriber) SyncEffectiveFieldsDuringCreateOrUpdate(plan Subscri func (newState *Subscriber) SyncEffectiveFieldsDuringRead(existingState Subscriber) { } +func (c Subscriber) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SubscriptionSubscriberDestination{}.ApplySchemaCustomizations(cs, append(path, "destination_subscriber")...) + SubscriptionSubscriberUser{}.ApplySchemaCustomizations(cs, append(path, "user_subscriber")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Subscriber. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2678,6 +2743,20 @@ func (newState *Subscription) SyncEffectiveFieldsDuringCreateOrUpdate(plan Subsc func (newState *Subscription) SyncEffectiveFieldsDuringRead(existingState Subscription) { } +func (c Subscription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + cs.SetComputed(append(path, "created_by_user_id")...) + cs.SetComputed(append(path, "dashboard_id")...) + cs.SetComputed(append(path, "etag")...) + cs.SetComputed(append(path, "schedule_id")...) + cs.SetRequired(append(path, "subscriber")...) + Subscriber{}.ApplySchemaCustomizations(cs, append(path, "subscriber")...) + cs.SetComputed(append(path, "subscription_id")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Subscription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2765,6 +2844,12 @@ func (newState *SubscriptionSubscriberDestination) SyncEffectiveFieldsDuringCrea func (newState *SubscriptionSubscriberDestination) SyncEffectiveFieldsDuringRead(existingState SubscriptionSubscriberDestination) { } +func (c SubscriptionSubscriberDestination) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "destination_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubscriptionSubscriberDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2807,6 +2892,12 @@ func (newState *SubscriptionSubscriberUser) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SubscriptionSubscriberUser) SyncEffectiveFieldsDuringRead(existingState SubscriptionSubscriberUser) { } +func (c SubscriptionSubscriberUser) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "user_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubscriptionSubscriberUser. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2851,6 +2942,11 @@ func (newState *TextAttachment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Tex func (newState *TextAttachment) SyncEffectiveFieldsDuringRead(existingState TextAttachment) { } +func (c TextAttachment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TextAttachment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2890,12 +2986,6 @@ type TrashDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *TrashDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrashDashboardRequest) { -} - -func (newState *TrashDashboardRequest) SyncEffectiveFieldsDuringRead(existingState TrashDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2936,6 +3026,11 @@ func (newState *TrashDashboardResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *TrashDashboardResponse) SyncEffectiveFieldsDuringRead(existingState TrashDashboardResponse) { } +func (c TrashDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2969,12 +3064,6 @@ type UnpublishDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *UnpublishDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UnpublishDashboardRequest) { -} - -func (newState *UnpublishDashboardRequest) SyncEffectiveFieldsDuringRead(existingState UnpublishDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpublishDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3015,6 +3104,11 @@ func (newState *UnpublishDashboardResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UnpublishDashboardResponse) SyncEffectiveFieldsDuringRead(existingState UnpublishDashboardResponse) { } +func (c UnpublishDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UnpublishDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3049,12 +3143,6 @@ type UpdateDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *UpdateDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateDashboardRequest) { -} - -func (newState *UpdateDashboardRequest) SyncEffectiveFieldsDuringRead(existingState UpdateDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3128,12 +3216,6 @@ type UpdateScheduleRequest struct { ScheduleId types.String `tfsdk:"-"` } -func (newState *UpdateScheduleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateScheduleRequest) { -} - -func (newState *UpdateScheduleRequest) SyncEffectiveFieldsDuringRead(existingState UpdateScheduleRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateScheduleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/files_tf/legacy_model.go b/internal/service/files_tf/legacy_model.go index 5bd55f77d..355bd57a8 100755 --- a/internal/service/files_tf/legacy_model.go +++ b/internal/service/files_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -35,6 +36,13 @@ func (newState *AddBlock_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Add func (newState *AddBlock_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddBlock_SdkV2) { } +func (c AddBlock_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "data")...) + cs.SetRequired(append(path, "handle")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddBlock. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -77,6 +85,11 @@ func (newState *AddBlockResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *AddBlockResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddBlockResponse_SdkV2) { } +func (c AddBlockResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddBlockResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -115,6 +128,12 @@ func (newState *Close_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Close_ func (newState *Close_SdkV2) SyncEffectiveFieldsDuringRead(existingState Close_SdkV2) { } +func (c Close_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "handle")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Close. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -155,6 +174,11 @@ func (newState *CloseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CloseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloseResponse_SdkV2) { } +func (c CloseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -195,6 +219,12 @@ func (newState *Create_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Creat func (newState *Create_SdkV2) SyncEffectiveFieldsDuringRead(existingState Create_SdkV2) { } +func (c Create_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Create. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -234,12 +264,6 @@ type CreateDirectoryRequest_SdkV2 struct { DirectoryPath types.String `tfsdk:"-"` } -func (newState *CreateDirectoryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryRequest_SdkV2) { -} - -func (newState *CreateDirectoryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDirectoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -274,12 +298,6 @@ func (o CreateDirectoryRequest_SdkV2) Type(ctx context.Context) attr.Type { type CreateDirectoryResponse_SdkV2 struct { } -func (newState *CreateDirectoryResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryResponse_SdkV2) { -} - -func (newState *CreateDirectoryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDirectoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -319,6 +337,11 @@ func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateResponse_SdkV2) { } +func (c CreateResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -365,6 +388,12 @@ func (newState *Delete_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delet func (newState *Delete_SdkV2) SyncEffectiveFieldsDuringRead(existingState Delete_SdkV2) { } +func (c Delete_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Delete. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -404,12 +433,6 @@ type DeleteDirectoryRequest_SdkV2 struct { DirectoryPath types.String `tfsdk:"-"` } -func (newState *DeleteDirectoryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryRequest_SdkV2) { -} - -func (newState *DeleteDirectoryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDirectoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -444,12 +467,6 @@ func (o DeleteDirectoryRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteDirectoryResponse_SdkV2 struct { } -func (newState *DeleteDirectoryResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryResponse_SdkV2) { -} - -func (newState *DeleteDirectoryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDirectoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -483,12 +500,6 @@ type DeleteFileRequest_SdkV2 struct { FilePath types.String `tfsdk:"-"` } -func (newState *DeleteFileRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFileRequest_SdkV2) { -} - -func (newState *DeleteFileRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteFileRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -529,6 +540,11 @@ func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { } +func (c DeleteResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -576,6 +592,11 @@ func (newState *DirectoryEntry_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DirectoryEntry_SdkV2) SyncEffectiveFieldsDuringRead(existingState DirectoryEntry_SdkV2) { } +func (c DirectoryEntry_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DirectoryEntry. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -621,12 +642,6 @@ type DownloadRequest_SdkV2 struct { FilePath types.String `tfsdk:"-"` } -func (newState *DownloadRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadRequest_SdkV2) { -} - -func (newState *DownloadRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DownloadRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -668,12 +683,6 @@ type DownloadResponse_SdkV2 struct { LastModified types.String `tfsdk:"-"` } -func (newState *DownloadResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadResponse_SdkV2) { -} - -func (newState *DownloadResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DownloadResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -728,6 +737,11 @@ func (newState *FileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Fil func (newState *FileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileInfo_SdkV2) { } +func (c FileInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -771,12 +785,6 @@ type GetDirectoryMetadataRequest_SdkV2 struct { DirectoryPath types.String `tfsdk:"-"` } -func (newState *GetDirectoryMetadataRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataRequest_SdkV2) { -} - -func (newState *GetDirectoryMetadataRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDirectoryMetadataRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -811,12 +819,6 @@ func (o GetDirectoryMetadataRequest_SdkV2) Type(ctx context.Context) attr.Type { type GetDirectoryMetadataResponse_SdkV2 struct { } -func (newState *GetDirectoryMetadataResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataResponse_SdkV2) { -} - -func (newState *GetDirectoryMetadataResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDirectoryMetadataResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -850,12 +852,6 @@ type GetMetadataRequest_SdkV2 struct { FilePath types.String `tfsdk:"-"` } -func (newState *GetMetadataRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataRequest_SdkV2) { -} - -func (newState *GetMetadataRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetMetadataRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetadataRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -895,12 +891,6 @@ type GetMetadataResponse_SdkV2 struct { LastModified types.String `tfsdk:"-"` } -func (newState *GetMetadataResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataResponse_SdkV2) { -} - -func (newState *GetMetadataResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetMetadataResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetadataResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -943,12 +933,6 @@ type GetStatusRequest_SdkV2 struct { Path types.String `tfsdk:"-"` } -func (newState *GetStatusRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest_SdkV2) { -} - -func (newState *GetStatusRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -987,12 +971,6 @@ type ListDbfsRequest_SdkV2 struct { Path types.String `tfsdk:"-"` } -func (newState *ListDbfsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDbfsRequest_SdkV2) { -} - -func (newState *ListDbfsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListDbfsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1050,12 +1028,6 @@ type ListDirectoryContentsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListDirectoryContentsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDirectoryContentsRequest_SdkV2) { -} - -func (newState *ListDirectoryContentsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListDirectoryContentsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDirectoryContentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1104,6 +1076,12 @@ func (newState *ListDirectoryResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListDirectoryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListDirectoryResponse_SdkV2) { } +func (c ListDirectoryResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DirectoryEntry_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "contents")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDirectoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1179,6 +1157,12 @@ func (newState *ListStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListStatusResponse_SdkV2) { } +func (c ListStatusResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "files")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1251,6 +1235,12 @@ func (newState *MkDirs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkDir func (newState *MkDirs_SdkV2) SyncEffectiveFieldsDuringRead(existingState MkDirs_SdkV2) { } +func (c MkDirs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MkDirs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1291,6 +1281,11 @@ func (newState *MkDirsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *MkDirsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState MkDirsResponse_SdkV2) { } +func (c MkDirsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MkDirsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1333,6 +1328,13 @@ func (newState *Move_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Move_Sd func (newState *Move_SdkV2) SyncEffectiveFieldsDuringRead(existingState Move_SdkV2) { } +func (c Move_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination_path")...) + cs.SetRequired(append(path, "source_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Move. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1375,6 +1377,11 @@ func (newState *MoveResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MoveResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState MoveResponse_SdkV2) { } +func (c MoveResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MoveResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1417,6 +1424,12 @@ func (newState *Put_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Put_SdkV func (newState *Put_SdkV2) SyncEffectiveFieldsDuringRead(existingState Put_SdkV2) { } +func (c Put_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Put. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1461,6 +1474,11 @@ func (newState *PutResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PutResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutResponse_SdkV2) { } +func (c PutResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1499,12 +1517,6 @@ type ReadDbfsRequest_SdkV2 struct { Path types.String `tfsdk:"-"` } -func (newState *ReadDbfsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadDbfsRequest_SdkV2) { -} - -func (newState *ReadDbfsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReadDbfsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1555,6 +1567,11 @@ func (newState *ReadResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ReadResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReadResponse_SdkV2) { } +func (c ReadResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1597,12 +1614,6 @@ type UploadRequest_SdkV2 struct { Overwrite types.Bool `tfsdk:"-"` } -func (newState *UploadRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadRequest_SdkV2) { -} - -func (newState *UploadRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UploadRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UploadRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1641,12 +1652,6 @@ func (o UploadRequest_SdkV2) Type(ctx context.Context) attr.Type { type UploadResponse_SdkV2 struct { } -func (newState *UploadResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadResponse_SdkV2) { -} - -func (newState *UploadResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UploadResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UploadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/files_tf/model.go b/internal/service/files_tf/model.go index c596edcbf..9e6745fd2 100755 --- a/internal/service/files_tf/model.go +++ b/internal/service/files_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -35,6 +36,13 @@ func (newState *AddBlock) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddBlock) func (newState *AddBlock) SyncEffectiveFieldsDuringRead(existingState AddBlock) { } +func (c AddBlock) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "data")...) + cs.SetRequired(append(path, "handle")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddBlock. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -77,6 +85,11 @@ func (newState *AddBlockResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan A func (newState *AddBlockResponse) SyncEffectiveFieldsDuringRead(existingState AddBlockResponse) { } +func (c AddBlockResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddBlockResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -115,6 +128,12 @@ func (newState *Close) SyncEffectiveFieldsDuringCreateOrUpdate(plan Close) { func (newState *Close) SyncEffectiveFieldsDuringRead(existingState Close) { } +func (c Close) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "handle")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Close. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -155,6 +174,11 @@ func (newState *CloseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Clos func (newState *CloseResponse) SyncEffectiveFieldsDuringRead(existingState CloseResponse) { } +func (c CloseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CloseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -195,6 +219,12 @@ func (newState *Create) SyncEffectiveFieldsDuringCreateOrUpdate(plan Create) { func (newState *Create) SyncEffectiveFieldsDuringRead(existingState Create) { } +func (c Create) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Create. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -234,12 +264,6 @@ type CreateDirectoryRequest struct { DirectoryPath types.String `tfsdk:"-"` } -func (newState *CreateDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryRequest) { -} - -func (newState *CreateDirectoryRequest) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDirectoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -274,12 +298,6 @@ func (o CreateDirectoryRequest) Type(ctx context.Context) attr.Type { type CreateDirectoryResponse struct { } -func (newState *CreateDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryResponse) { -} - -func (newState *CreateDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDirectoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -319,6 +337,11 @@ func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse) { } +func (c CreateResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -365,6 +388,12 @@ func (newState *Delete) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delete) { func (newState *Delete) SyncEffectiveFieldsDuringRead(existingState Delete) { } +func (c Delete) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Delete. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -404,12 +433,6 @@ type DeleteDirectoryRequest struct { DirectoryPath types.String `tfsdk:"-"` } -func (newState *DeleteDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryRequest) { -} - -func (newState *DeleteDirectoryRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDirectoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -444,12 +467,6 @@ func (o DeleteDirectoryRequest) Type(ctx context.Context) attr.Type { type DeleteDirectoryResponse struct { } -func (newState *DeleteDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryResponse) { -} - -func (newState *DeleteDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDirectoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -483,12 +500,6 @@ type DeleteFileRequest struct { FilePath types.String `tfsdk:"-"` } -func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFileRequest) { -} - -func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringRead(existingState DeleteFileRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -529,6 +540,11 @@ func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Del func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { } +func (c DeleteResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -576,6 +592,11 @@ func (newState *DirectoryEntry) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dir func (newState *DirectoryEntry) SyncEffectiveFieldsDuringRead(existingState DirectoryEntry) { } +func (c DirectoryEntry) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DirectoryEntry. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -621,12 +642,6 @@ type DownloadRequest struct { FilePath types.String `tfsdk:"-"` } -func (newState *DownloadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadRequest) { -} - -func (newState *DownloadRequest) SyncEffectiveFieldsDuringRead(existingState DownloadRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -668,12 +683,6 @@ type DownloadResponse struct { LastModified types.String `tfsdk:"-"` } -func (newState *DownloadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadResponse) { -} - -func (newState *DownloadResponse) SyncEffectiveFieldsDuringRead(existingState DownloadResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -728,6 +737,11 @@ func (newState *FileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileInfo) func (newState *FileInfo) SyncEffectiveFieldsDuringRead(existingState FileInfo) { } +func (c FileInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -771,12 +785,6 @@ type GetDirectoryMetadataRequest struct { DirectoryPath types.String `tfsdk:"-"` } -func (newState *GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataRequest) { -} - -func (newState *GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDirectoryMetadataRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -811,12 +819,6 @@ func (o GetDirectoryMetadataRequest) Type(ctx context.Context) attr.Type { type GetDirectoryMetadataResponse struct { } -func (newState *GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataResponse) { -} - -func (newState *GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDirectoryMetadataResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -850,12 +852,6 @@ type GetMetadataRequest struct { FilePath types.String `tfsdk:"-"` } -func (newState *GetMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataRequest) { -} - -func (newState *GetMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetMetadataRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetadataRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -895,12 +891,6 @@ type GetMetadataResponse struct { LastModified types.String `tfsdk:"-"` } -func (newState *GetMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataResponse) { -} - -func (newState *GetMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetMetadataResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetadataResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -943,12 +933,6 @@ type GetStatusRequest struct { Path types.String `tfsdk:"-"` } -func (newState *GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest) { -} - -func (newState *GetStatusRequest) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -987,12 +971,6 @@ type ListDbfsRequest struct { Path types.String `tfsdk:"-"` } -func (newState *ListDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDbfsRequest) { -} - -func (newState *ListDbfsRequest) SyncEffectiveFieldsDuringRead(existingState ListDbfsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1050,12 +1028,6 @@ type ListDirectoryContentsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListDirectoryContentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDirectoryContentsRequest) { -} - -func (newState *ListDirectoryContentsRequest) SyncEffectiveFieldsDuringRead(existingState ListDirectoryContentsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDirectoryContentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1104,6 +1076,12 @@ func (newState *ListDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState ListDirectoryResponse) { } +func (c ListDirectoryResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DirectoryEntry{}.ApplySchemaCustomizations(cs, append(path, "contents")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDirectoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1179,6 +1157,12 @@ func (newState *ListStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListStatusResponse) SyncEffectiveFieldsDuringRead(existingState ListStatusResponse) { } +func (c ListStatusResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo{}.ApplySchemaCustomizations(cs, append(path, "files")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1251,6 +1235,12 @@ func (newState *MkDirs) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkDirs) { func (newState *MkDirs) SyncEffectiveFieldsDuringRead(existingState MkDirs) { } +func (c MkDirs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MkDirs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1291,6 +1281,11 @@ func (newState *MkDirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkD func (newState *MkDirsResponse) SyncEffectiveFieldsDuringRead(existingState MkDirsResponse) { } +func (c MkDirsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MkDirsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1333,6 +1328,13 @@ func (newState *Move) SyncEffectiveFieldsDuringCreateOrUpdate(plan Move) { func (newState *Move) SyncEffectiveFieldsDuringRead(existingState Move) { } +func (c Move) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "destination_path")...) + cs.SetRequired(append(path, "source_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Move. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1375,6 +1377,11 @@ func (newState *MoveResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MoveR func (newState *MoveResponse) SyncEffectiveFieldsDuringRead(existingState MoveResponse) { } +func (c MoveResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MoveResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1417,6 +1424,12 @@ func (newState *Put) SyncEffectiveFieldsDuringCreateOrUpdate(plan Put) { func (newState *Put) SyncEffectiveFieldsDuringRead(existingState Put) { } +func (c Put) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Put. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1461,6 +1474,11 @@ func (newState *PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutRes func (newState *PutResponse) SyncEffectiveFieldsDuringRead(existingState PutResponse) { } +func (c PutResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1499,12 +1517,6 @@ type ReadDbfsRequest struct { Path types.String `tfsdk:"-"` } -func (newState *ReadDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadDbfsRequest) { -} - -func (newState *ReadDbfsRequest) SyncEffectiveFieldsDuringRead(existingState ReadDbfsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1555,6 +1567,11 @@ func (newState *ReadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadR func (newState *ReadResponse) SyncEffectiveFieldsDuringRead(existingState ReadResponse) { } +func (c ReadResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1597,12 +1614,6 @@ type UploadRequest struct { Overwrite types.Bool `tfsdk:"-"` } -func (newState *UploadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadRequest) { -} - -func (newState *UploadRequest) SyncEffectiveFieldsDuringRead(existingState UploadRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UploadRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1641,12 +1652,6 @@ func (o UploadRequest) Type(ctx context.Context) attr.Type { type UploadResponse struct { } -func (newState *UploadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadResponse) { -} - -func (newState *UploadResponse) SyncEffectiveFieldsDuringRead(existingState UploadResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UploadResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/iam_tf/legacy_model.go b/internal/service/iam_tf/legacy_model.go index 27b2d0a18..98a9e540c 100755 --- a/internal/service/iam_tf/legacy_model.go +++ b/internal/service/iam_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -38,6 +39,11 @@ func (newState *AccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *AccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccessControlRequest_SdkV2) { } +func (c AccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -94,6 +100,12 @@ func (newState *AccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *AccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccessControlResponse_SdkV2) { } +func (c AccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Permission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -181,6 +193,11 @@ func (newState *ComplexValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ComplexValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState ComplexValue_SdkV2) { } +func (c ComplexValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplexValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -226,12 +243,6 @@ type DeleteAccountGroupRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteAccountGroupRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountGroupRequest_SdkV2) { -} - -func (newState *DeleteAccountGroupRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountGroupRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -269,12 +280,6 @@ type DeleteAccountServicePrincipalRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteAccountServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountServicePrincipalRequest_SdkV2) { -} - -func (newState *DeleteAccountServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountServicePrincipalRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -312,12 +317,6 @@ type DeleteAccountUserRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteAccountUserRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountUserRequest_SdkV2) { -} - -func (newState *DeleteAccountUserRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountUserRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -355,12 +354,6 @@ type DeleteGroupRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteGroupRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteGroupRequest_SdkV2) { -} - -func (newState *DeleteGroupRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteGroupRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -395,12 +388,6 @@ func (o DeleteGroupRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -434,12 +421,6 @@ type DeleteServicePrincipalRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalRequest_SdkV2) { -} - -func (newState *DeleteServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -477,12 +458,6 @@ type DeleteUserRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteUserRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteUserRequest_SdkV2) { -} - -func (newState *DeleteUserRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteUserRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -522,12 +497,6 @@ type DeleteWorkspaceAssignmentRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *DeleteWorkspaceAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceAssignmentRequest_SdkV2) { -} - -func (newState *DeleteWorkspaceAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceAssignmentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWorkspaceAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -570,6 +539,11 @@ func (newState *DeleteWorkspacePermissionAssignmentResponse_SdkV2) SyncEffective func (newState *DeleteWorkspacePermissionAssignmentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspacePermissionAssignmentResponse_SdkV2) { } +func (c DeleteWorkspacePermissionAssignmentResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWorkspacePermissionAssignmentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -603,12 +577,6 @@ type GetAccountGroupRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetAccountGroupRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountGroupRequest_SdkV2) { -} - -func (newState *GetAccountGroupRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountGroupRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -646,12 +614,6 @@ type GetAccountServicePrincipalRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetAccountServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountServicePrincipalRequest_SdkV2) { -} - -func (newState *GetAccountServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountServicePrincipalRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -710,12 +672,6 @@ type GetAccountUserRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *GetAccountUserRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountUserRequest_SdkV2) { -} - -func (newState *GetAccountUserRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountUserRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -767,12 +723,6 @@ type GetAssignableRolesForResourceRequest_SdkV2 struct { Resource types.String `tfsdk:"-"` } -func (newState *GetAssignableRolesForResourceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAssignableRolesForResourceRequest_SdkV2) { -} - -func (newState *GetAssignableRolesForResourceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssignableRolesForResourceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -814,6 +764,12 @@ func (newState *GetAssignableRolesForResourceResponse_SdkV2) SyncEffectiveFields func (newState *GetAssignableRolesForResourceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceResponse_SdkV2) { } +func (c GetAssignableRolesForResourceResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Role_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssignableRolesForResourceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -881,12 +837,6 @@ type GetGroupRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetGroupRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGroupRequest_SdkV2) { -} - -func (newState *GetGroupRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetGroupRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -929,6 +879,12 @@ func (newState *GetPasswordPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDu func (newState *GetPasswordPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPasswordPermissionLevelsResponse_SdkV2) { } +func (c GetPasswordPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPasswordPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -998,12 +954,6 @@ type GetPermissionLevelsRequest_SdkV2 struct { RequestObjectType types.String `tfsdk:"-"` } -func (newState *GetPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1048,6 +998,12 @@ func (newState *GetPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *GetPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsResponse_SdkV2) { } +func (c GetPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1121,12 +1077,6 @@ type GetPermissionRequest_SdkV2 struct { RequestObjectType types.String `tfsdk:"-"` } -func (newState *GetPermissionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionRequest_SdkV2) { -} - -func (newState *GetPermissionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPermissionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1175,12 +1125,6 @@ type GetRuleSetRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetRuleSetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRuleSetRequest_SdkV2) { -} - -func (newState *GetRuleSetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRuleSetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRuleSetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1220,12 +1164,6 @@ type GetServicePrincipalRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServicePrincipalRequest_SdkV2) { -} - -func (newState *GetServicePrincipalRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetServicePrincipalRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1284,12 +1222,6 @@ type GetUserRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *GetUserRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetUserRequest_SdkV2) { -} - -func (newState *GetUserRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetUserRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1341,12 +1273,6 @@ type GetWorkspaceAssignmentRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetWorkspaceAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceAssignmentRequest_SdkV2) { -} - -func (newState *GetWorkspaceAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceAssignmentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1391,6 +1317,12 @@ func (newState *GrantRule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Gr func (newState *GrantRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState GrantRule_SdkV2) { } +func (c GrantRule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "role")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GrantRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1484,6 +1416,16 @@ func (newState *Group_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Group_ func (newState *Group_SdkV2) SyncEffectiveFieldsDuringRead(existingState Group_SdkV2) { } +func (c Group_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "entitlements")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "groups")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "members")...) + ResourceMeta_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "meta")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Group. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1730,12 +1672,6 @@ type ListAccountGroupsRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListAccountGroupsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountGroupsRequest_SdkV2) { -} - -func (newState *ListAccountGroupsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountGroupsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountGroupsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1803,12 +1739,6 @@ type ListAccountServicePrincipalsRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListAccountServicePrincipalsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountServicePrincipalsRequest_SdkV2) { -} - -func (newState *ListAccountServicePrincipalsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountServicePrincipalsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountServicePrincipalsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1877,12 +1807,6 @@ type ListAccountUsersRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListAccountUsersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountUsersRequest_SdkV2) { -} - -func (newState *ListAccountUsersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountUsersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountUsersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1950,12 +1874,6 @@ type ListGroupsRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListGroupsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGroupsRequest_SdkV2) { -} - -func (newState *ListGroupsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListGroupsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGroupsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2019,6 +1937,12 @@ func (newState *ListGroupsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListGroupsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListGroupsResponse_SdkV2) { } +func (c ListGroupsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Group_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "Resources")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGroupsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2137,6 +2061,12 @@ func (newState *ListServicePrincipalResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ListServicePrincipalResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalResponse_SdkV2) { } +func (c ListServicePrincipalResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServicePrincipal_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "Resources")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2259,12 +2189,6 @@ type ListServicePrincipalsRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListServicePrincipalsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalsRequest_SdkV2) { -} - -func (newState *ListServicePrincipalsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2333,12 +2257,6 @@ type ListUsersRequest_SdkV2 struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListUsersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUsersRequest_SdkV2) { -} - -func (newState *ListUsersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListUsersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUsersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2402,6 +2320,12 @@ func (newState *ListUsersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListUsersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListUsersResponse_SdkV2) { } +func (c ListUsersResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + User_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "Resources")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUsersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2506,12 +2430,6 @@ type ListWorkspaceAssignmentRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *ListWorkspaceAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceAssignmentRequest_SdkV2) { -} - -func (newState *ListWorkspaceAssignmentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceAssignmentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWorkspaceAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2561,6 +2479,14 @@ func (newState *MigratePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *MigratePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsRequest_SdkV2) { } +func (c MigratePermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "from_workspace_group_name")...) + cs.SetRequired(append(path, "to_account_group_name")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MigratePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2609,6 +2535,11 @@ func (newState *MigratePermissionsResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *MigratePermissionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsResponse_SdkV2) { } +func (c MigratePermissionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MigratePermissionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2653,6 +2584,11 @@ func (newState *Name_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Name_Sd func (newState *Name_SdkV2) SyncEffectiveFieldsDuringRead(existingState Name_SdkV2) { } +func (c Name_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Name. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2700,6 +2636,12 @@ func (newState *ObjectPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ObjectPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ObjectPermissions_SdkV2) { } +func (c ObjectPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ObjectPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2781,6 +2723,13 @@ func (newState *PartialUpdate_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *PartialUpdate_SdkV2) SyncEffectiveFieldsDuringRead(existingState PartialUpdate_SdkV2) { } +func (c PartialUpdate_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + Patch_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "Operations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartialUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2892,6 +2841,11 @@ func (newState *PasswordAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *PasswordAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlRequest_SdkV2) { } +func (c PasswordAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2948,6 +2902,12 @@ func (newState *PasswordAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *PasswordAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlResponse_SdkV2) { } +func (c PasswordAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3031,6 +2991,11 @@ func (newState *PasswordPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PasswordPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState PasswordPermission_SdkV2) { } +func (c PasswordPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3110,6 +3075,12 @@ func (newState *PasswordPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *PasswordPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState PasswordPermissions_SdkV2) { } +func (c PasswordPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3187,6 +3158,11 @@ func (newState *PasswordPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringC func (newState *PasswordPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsDescription_SdkV2) { } +func (c PasswordPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3230,6 +3206,12 @@ func (newState *PasswordPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *PasswordPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsRequest_SdkV2) { } +func (c PasswordPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3306,6 +3288,11 @@ func (newState *Patch_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Patch_ func (newState *Patch_SdkV2) SyncEffectiveFieldsDuringRead(existingState Patch_SdkV2) { } +func (c Patch_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Patch. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3344,12 +3331,6 @@ func (o Patch_SdkV2) Type(ctx context.Context) attr.Type { type PatchResponse_SdkV2 struct { } -func (newState *PatchResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchResponse_SdkV2) { -} - -func (newState *PatchResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PatchResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3391,6 +3372,11 @@ func (newState *Permission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan P func (newState *Permission_SdkV2) SyncEffectiveFieldsDuringRead(existingState Permission_SdkV2) { } +func (c Permission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Permission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3473,6 +3459,12 @@ func (newState *PermissionAssignment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *PermissionAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionAssignment_SdkV2) { } +func (c PermissionAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PrincipalOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "principal")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3578,6 +3570,12 @@ func (newState *PermissionAssignments_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *PermissionAssignments_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionAssignments_SdkV2) { } +func (c PermissionAssignments_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionAssignments. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3652,6 +3650,11 @@ func (newState *PermissionOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PermissionOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionOutput_SdkV2) { } +func (c PermissionOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3697,6 +3700,11 @@ func (newState *PermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *PermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionsDescription_SdkV2) { } +func (c PermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3748,6 +3756,14 @@ func (newState *PermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PermissionsRequest_SdkV2) { } +func (c PermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "request_object_id")...) + cs.SetRequired(append(path, "request_object_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3834,6 +3850,11 @@ func (newState *PrincipalOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PrincipalOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState PrincipalOutput_SdkV2) { } +func (c PrincipalOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrincipalOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3885,6 +3906,11 @@ func (newState *ResourceMeta_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ResourceMeta_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResourceMeta_SdkV2) { } +func (c ResourceMeta_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResourceMeta. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3927,6 +3953,12 @@ func (newState *Role_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Role_Sd func (newState *Role_SdkV2) SyncEffectiveFieldsDuringRead(existingState Role_SdkV2) { } +func (c Role_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Role. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3973,6 +4005,12 @@ func (newState *RuleSetResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *RuleSetResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RuleSetResponse_SdkV2) { } +func (c RuleSetResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GrantRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "grant_rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RuleSetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4055,6 +4093,14 @@ func (newState *RuleSetUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *RuleSetUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RuleSetUpdateRequest_SdkV2) { } +func (c RuleSetUpdateRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + GrantRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "grant_rules")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RuleSetUpdateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4150,6 +4196,14 @@ func (newState *ServicePrincipal_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ServicePrincipal_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServicePrincipal_SdkV2) { } +func (c ServicePrincipal_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "entitlements")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "groups")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServicePrincipal. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4317,12 +4371,6 @@ func (o *ServicePrincipal_SdkV2) SetSchemas(ctx context.Context, v []types.Strin type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -4363,6 +4411,14 @@ func (newState *UpdateRuleSetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateRuleSetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRuleSetRequest_SdkV2) { } +func (c UpdateRuleSetRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "rule_set")...) + RuleSetUpdateRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "rule_set")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRuleSetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4446,6 +4502,13 @@ func (newState *UpdateWorkspaceAssignments_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UpdateWorkspaceAssignments_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceAssignments_SdkV2) { } +func (c UpdateWorkspaceAssignments_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "principal_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceAssignments. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4551,6 +4614,16 @@ func (newState *User_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan User_Sd func (newState *User_SdkV2) SyncEffectiveFieldsDuringRead(existingState User_SdkV2) { } +func (c User_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "emails")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "entitlements")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "groups")...) + Name_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "name")...) + ComplexValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in User. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4788,6 +4861,12 @@ func (newState *WorkspacePermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *WorkspacePermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspacePermissions_SdkV2) { } +func (c WorkspacePermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspacePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/iam_tf/model.go b/internal/service/iam_tf/model.go index e70ded669..b0b0e0fc2 100755 --- a/internal/service/iam_tf/model.go +++ b/internal/service/iam_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -38,6 +39,11 @@ func (newState *AccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AccessControlRequest) SyncEffectiveFieldsDuringRead(existingState AccessControlRequest) { } +func (c AccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -94,6 +100,12 @@ func (newState *AccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AccessControlResponse) SyncEffectiveFieldsDuringRead(existingState AccessControlResponse) { } +func (c AccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Permission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -181,6 +193,11 @@ func (newState *ComplexValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan Compl func (newState *ComplexValue) SyncEffectiveFieldsDuringRead(existingState ComplexValue) { } +func (c ComplexValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplexValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -226,12 +243,6 @@ type DeleteAccountGroupRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountGroupRequest) { -} - -func (newState *DeleteAccountGroupRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountGroupRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -269,12 +280,6 @@ type DeleteAccountServicePrincipalRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountServicePrincipalRequest) { -} - -func (newState *DeleteAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountServicePrincipalRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -312,12 +317,6 @@ type DeleteAccountUserRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountUserRequest) { -} - -func (newState *DeleteAccountUserRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountUserRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -355,12 +354,6 @@ type DeleteGroupRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteGroupRequest) { -} - -func (newState *DeleteGroupRequest) SyncEffectiveFieldsDuringRead(existingState DeleteGroupRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -395,12 +388,6 @@ func (o DeleteGroupRequest) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -434,12 +421,6 @@ type DeleteServicePrincipalRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalRequest) { -} - -func (newState *DeleteServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -477,12 +458,6 @@ type DeleteUserRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteUserRequest) { -} - -func (newState *DeleteUserRequest) SyncEffectiveFieldsDuringRead(existingState DeleteUserRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -522,12 +497,6 @@ type DeleteWorkspaceAssignmentRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceAssignmentRequest) { -} - -func (newState *DeleteWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceAssignmentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWorkspaceAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -570,6 +539,11 @@ func (newState *DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFields func (newState *DeleteWorkspacePermissionAssignmentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspacePermissionAssignmentResponse) { } +func (c DeleteWorkspacePermissionAssignmentResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWorkspacePermissionAssignmentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -603,12 +577,6 @@ type GetAccountGroupRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetAccountGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountGroupRequest) { -} - -func (newState *GetAccountGroupRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountGroupRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -646,12 +614,6 @@ type GetAccountServicePrincipalRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountServicePrincipalRequest) { -} - -func (newState *GetAccountServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountServicePrincipalRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -710,12 +672,6 @@ type GetAccountUserRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *GetAccountUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountUserRequest) { -} - -func (newState *GetAccountUserRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountUserRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -767,12 +723,6 @@ type GetAssignableRolesForResourceRequest struct { Resource types.String `tfsdk:"-"` } -func (newState *GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAssignableRolesForResourceRequest) { -} - -func (newState *GetAssignableRolesForResourceRequest) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssignableRolesForResourceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -814,6 +764,12 @@ func (newState *GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuring func (newState *GetAssignableRolesForResourceResponse) SyncEffectiveFieldsDuringRead(existingState GetAssignableRolesForResourceResponse) { } +func (c GetAssignableRolesForResourceResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Role{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAssignableRolesForResourceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -881,12 +837,6 @@ type GetGroupRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetGroupRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetGroupRequest) { -} - -func (newState *GetGroupRequest) SyncEffectiveFieldsDuringRead(existingState GetGroupRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetGroupRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -929,6 +879,12 @@ func (newState *GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringCr func (newState *GetPasswordPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPasswordPermissionLevelsResponse) { } +func (c GetPasswordPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPasswordPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -998,12 +954,6 @@ type GetPermissionLevelsRequest struct { RequestObjectType types.String `tfsdk:"-"` } -func (newState *GetPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionLevelsRequest) { -} - -func (newState *GetPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1048,6 +998,12 @@ func (newState *GetPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *GetPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPermissionLevelsResponse) { } +func (c GetPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1121,12 +1077,6 @@ type GetPermissionRequest struct { RequestObjectType types.String `tfsdk:"-"` } -func (newState *GetPermissionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPermissionRequest) { -} - -func (newState *GetPermissionRequest) SyncEffectiveFieldsDuringRead(existingState GetPermissionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPermissionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1175,12 +1125,6 @@ type GetRuleSetRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRuleSetRequest) { -} - -func (newState *GetRuleSetRequest) SyncEffectiveFieldsDuringRead(existingState GetRuleSetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRuleSetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1220,12 +1164,6 @@ type GetServicePrincipalRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetServicePrincipalRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServicePrincipalRequest) { -} - -func (newState *GetServicePrincipalRequest) SyncEffectiveFieldsDuringRead(existingState GetServicePrincipalRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServicePrincipalRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1284,12 +1222,6 @@ type GetUserRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *GetUserRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetUserRequest) { -} - -func (newState *GetUserRequest) SyncEffectiveFieldsDuringRead(existingState GetUserRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUserRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1341,12 +1273,6 @@ type GetWorkspaceAssignmentRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceAssignmentRequest) { -} - -func (newState *GetWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceAssignmentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1391,6 +1317,12 @@ func (newState *GrantRule) SyncEffectiveFieldsDuringCreateOrUpdate(plan GrantRul func (newState *GrantRule) SyncEffectiveFieldsDuringRead(existingState GrantRule) { } +func (c GrantRule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "role")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GrantRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1484,6 +1416,16 @@ func (newState *Group) SyncEffectiveFieldsDuringCreateOrUpdate(plan Group) { func (newState *Group) SyncEffectiveFieldsDuringRead(existingState Group) { } +func (c Group) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "entitlements")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "groups")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "members")...) + ResourceMeta{}.ApplySchemaCustomizations(cs, append(path, "meta")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Group. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1730,12 +1672,6 @@ type ListAccountGroupsRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListAccountGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountGroupsRequest) { -} - -func (newState *ListAccountGroupsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountGroupsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountGroupsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1803,12 +1739,6 @@ type ListAccountServicePrincipalsRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountServicePrincipalsRequest) { -} - -func (newState *ListAccountServicePrincipalsRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountServicePrincipalsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountServicePrincipalsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1877,12 +1807,6 @@ type ListAccountUsersRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListAccountUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountUsersRequest) { -} - -func (newState *ListAccountUsersRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountUsersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountUsersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1950,12 +1874,6 @@ type ListGroupsRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListGroupsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListGroupsRequest) { -} - -func (newState *ListGroupsRequest) SyncEffectiveFieldsDuringRead(existingState ListGroupsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGroupsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2019,6 +1937,12 @@ func (newState *ListGroupsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListGroupsResponse) SyncEffectiveFieldsDuringRead(existingState ListGroupsResponse) { } +func (c ListGroupsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Group{}.ApplySchemaCustomizations(cs, append(path, "Resources")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListGroupsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2137,6 +2061,12 @@ func (newState *ListServicePrincipalResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *ListServicePrincipalResponse) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalResponse) { } +func (c ListServicePrincipalResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServicePrincipal{}.ApplySchemaCustomizations(cs, append(path, "Resources")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2259,12 +2189,6 @@ type ListServicePrincipalsRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListServicePrincipalsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalsRequest) { -} - -func (newState *ListServicePrincipalsRequest) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2333,12 +2257,6 @@ type ListUsersRequest struct { StartIndex types.Int64 `tfsdk:"-"` } -func (newState *ListUsersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUsersRequest) { -} - -func (newState *ListUsersRequest) SyncEffectiveFieldsDuringRead(existingState ListUsersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUsersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2402,6 +2320,12 @@ func (newState *ListUsersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListUsersResponse) SyncEffectiveFieldsDuringRead(existingState ListUsersResponse) { } +func (c ListUsersResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + User{}.ApplySchemaCustomizations(cs, append(path, "Resources")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUsersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2506,12 +2430,6 @@ type ListWorkspaceAssignmentRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceAssignmentRequest) { -} - -func (newState *ListWorkspaceAssignmentRequest) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceAssignmentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWorkspaceAssignmentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2561,6 +2479,14 @@ func (newState *MigratePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *MigratePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsRequest) { } +func (c MigratePermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "from_workspace_group_name")...) + cs.SetRequired(append(path, "to_account_group_name")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MigratePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2609,6 +2535,11 @@ func (newState *MigratePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *MigratePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState MigratePermissionsResponse) { } +func (c MigratePermissionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MigratePermissionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2653,6 +2584,11 @@ func (newState *Name) SyncEffectiveFieldsDuringCreateOrUpdate(plan Name) { func (newState *Name) SyncEffectiveFieldsDuringRead(existingState Name) { } +func (c Name) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Name. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2700,6 +2636,12 @@ func (newState *ObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ObjectPermissions) SyncEffectiveFieldsDuringRead(existingState ObjectPermissions) { } +func (c ObjectPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ObjectPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2781,6 +2723,13 @@ func (newState *PartialUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(plan Part func (newState *PartialUpdate) SyncEffectiveFieldsDuringRead(existingState PartialUpdate) { } +func (c PartialUpdate) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + Patch{}.ApplySchemaCustomizations(cs, append(path, "Operations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartialUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2892,6 +2841,11 @@ func (newState *PasswordAccessControlRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *PasswordAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlRequest) { } +func (c PasswordAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2948,6 +2902,12 @@ func (newState *PasswordAccessControlResponse) SyncEffectiveFieldsDuringCreateOr func (newState *PasswordAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState PasswordAccessControlResponse) { } +func (c PasswordAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3031,6 +2991,11 @@ func (newState *PasswordPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PasswordPermission) SyncEffectiveFieldsDuringRead(existingState PasswordPermission) { } +func (c PasswordPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3110,6 +3075,12 @@ func (newState *PasswordPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *PasswordPermissions) SyncEffectiveFieldsDuringRead(existingState PasswordPermissions) { } +func (c PasswordPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3187,6 +3158,11 @@ func (newState *PasswordPermissionsDescription) SyncEffectiveFieldsDuringCreateO func (newState *PasswordPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsDescription) { } +func (c PasswordPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3230,6 +3206,12 @@ func (newState *PasswordPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpd func (newState *PasswordPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PasswordPermissionsRequest) { } +func (c PasswordPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PasswordAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PasswordPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3306,6 +3288,11 @@ func (newState *Patch) SyncEffectiveFieldsDuringCreateOrUpdate(plan Patch) { func (newState *Patch) SyncEffectiveFieldsDuringRead(existingState Patch) { } +func (c Patch) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Patch. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3344,12 +3331,6 @@ func (o Patch) Type(ctx context.Context) attr.Type { type PatchResponse struct { } -func (newState *PatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PatchResponse) { -} - -func (newState *PatchResponse) SyncEffectiveFieldsDuringRead(existingState PatchResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3391,6 +3372,11 @@ func (newState *Permission) SyncEffectiveFieldsDuringCreateOrUpdate(plan Permiss func (newState *Permission) SyncEffectiveFieldsDuringRead(existingState Permission) { } +func (c Permission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Permission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3473,6 +3459,12 @@ func (newState *PermissionAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *PermissionAssignment) SyncEffectiveFieldsDuringRead(existingState PermissionAssignment) { } +func (c PermissionAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PrincipalOutput{}.ApplySchemaCustomizations(cs, append(path, "principal")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3578,6 +3570,12 @@ func (newState *PermissionAssignments) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PermissionAssignments) SyncEffectiveFieldsDuringRead(existingState PermissionAssignments) { } +func (c PermissionAssignments) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionAssignment{}.ApplySchemaCustomizations(cs, append(path, "permission_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionAssignments. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3652,6 +3650,11 @@ func (newState *PermissionOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan P func (newState *PermissionOutput) SyncEffectiveFieldsDuringRead(existingState PermissionOutput) { } +func (c PermissionOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3697,6 +3700,11 @@ func (newState *PermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PermissionsDescription) { } +func (c PermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3748,6 +3756,14 @@ func (newState *PermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PermissionsRequest) { } +func (c PermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "request_object_id")...) + cs.SetRequired(append(path, "request_object_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3834,6 +3850,11 @@ func (newState *PrincipalOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pr func (newState *PrincipalOutput) SyncEffectiveFieldsDuringRead(existingState PrincipalOutput) { } +func (c PrincipalOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrincipalOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3885,6 +3906,11 @@ func (newState *ResourceMeta) SyncEffectiveFieldsDuringCreateOrUpdate(plan Resou func (newState *ResourceMeta) SyncEffectiveFieldsDuringRead(existingState ResourceMeta) { } +func (c ResourceMeta) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResourceMeta. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3927,6 +3953,12 @@ func (newState *Role) SyncEffectiveFieldsDuringCreateOrUpdate(plan Role) { func (newState *Role) SyncEffectiveFieldsDuringRead(existingState Role) { } +func (c Role) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Role. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3973,6 +4005,12 @@ func (newState *RuleSetResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ru func (newState *RuleSetResponse) SyncEffectiveFieldsDuringRead(existingState RuleSetResponse) { } +func (c RuleSetResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GrantRule{}.ApplySchemaCustomizations(cs, append(path, "grant_rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RuleSetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4055,6 +4093,14 @@ func (newState *RuleSetUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RuleSetUpdateRequest) SyncEffectiveFieldsDuringRead(existingState RuleSetUpdateRequest) { } +func (c RuleSetUpdateRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + GrantRule{}.ApplySchemaCustomizations(cs, append(path, "grant_rules")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RuleSetUpdateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4150,6 +4196,14 @@ func (newState *ServicePrincipal) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *ServicePrincipal) SyncEffectiveFieldsDuringRead(existingState ServicePrincipal) { } +func (c ServicePrincipal) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "entitlements")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "groups")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServicePrincipal. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4317,12 +4371,6 @@ func (o *ServicePrincipal) SetSchemas(ctx context.Context, v []types.String) { type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -4363,6 +4411,14 @@ func (newState *UpdateRuleSetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *UpdateRuleSetRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRuleSetRequest) { } +func (c UpdateRuleSetRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "rule_set")...) + RuleSetUpdateRequest{}.ApplySchemaCustomizations(cs, append(path, "rule_set")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRuleSetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4446,6 +4502,13 @@ func (newState *UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateWorkspaceAssignments) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceAssignments) { } +func (c UpdateWorkspaceAssignments) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "principal_id")...) + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWorkspaceAssignments. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4551,6 +4614,16 @@ func (newState *User) SyncEffectiveFieldsDuringCreateOrUpdate(plan User) { func (newState *User) SyncEffectiveFieldsDuringRead(existingState User) { } +func (c User) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "emails")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "entitlements")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "groups")...) + Name{}.ApplySchemaCustomizations(cs, append(path, "name")...) + ComplexValue{}.ApplySchemaCustomizations(cs, append(path, "roles")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in User. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4788,6 +4861,12 @@ func (newState *WorkspacePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *WorkspacePermissions) SyncEffectiveFieldsDuringRead(existingState WorkspacePermissions) { } +func (c WorkspacePermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PermissionOutput{}.ApplySchemaCustomizations(cs, append(path, "permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspacePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/jobs_tf/legacy_model.go b/internal/service/jobs_tf/legacy_model.go index 83f1687cd..6d09e4f1e 100755 --- a/internal/service/jobs_tf/legacy_model.go +++ b/internal/service/jobs_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/compute_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -49,6 +50,13 @@ func (newState *BaseJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Base func (newState *BaseJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseJob_SdkV2) { } +func (c BaseJob_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "effective_budget_policy_id")...) + JobSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -256,6 +264,23 @@ func (newState *BaseRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Base func (newState *BaseRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseRun_SdkV2) { } +func (c BaseRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterInstance_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_instance")...) + ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_spec")...) + GitSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_clusters")...) + JobParameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_parameters")...) + RunParameters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "overriding_parameters")...) + RepairHistoryItem_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "repair_history")...) + CronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + RunState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + RunTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tasks")...) + TriggerInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -710,6 +735,11 @@ func (newState *CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CancelAllRuns_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelAllRuns_SdkV2) { } +func (c CancelAllRuns_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -746,12 +776,6 @@ func (o CancelAllRuns_SdkV2) Type(ctx context.Context) attr.Type { type CancelAllRunsResponse_SdkV2 struct { } -func (newState *CancelAllRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelAllRunsResponse_SdkV2) { -} - -func (newState *CancelAllRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelAllRunsResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -790,6 +814,12 @@ func (newState *CancelRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ca func (newState *CancelRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelRun_SdkV2) { } +func (c CancelRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -824,12 +854,6 @@ func (o CancelRun_SdkV2) Type(ctx context.Context) attr.Type { type CancelRunResponse_SdkV2 struct { } -func (newState *CancelRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRunResponse_SdkV2) { -} - -func (newState *CancelRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelRunResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -873,6 +897,11 @@ func (newState *CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CleanRoomTaskRunState_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomTaskRunState_SdkV2) { } +func (c CleanRoomTaskRunState_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomTaskRunState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -925,6 +954,13 @@ func (newState *CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CleanRoomsNotebookTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTask_SdkV2) { } +func (c CleanRoomsNotebookTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "clean_room_name")...) + cs.SetRequired(append(path, "notebook_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomsNotebookTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1019,6 +1055,11 @@ func (newState *ClusterInstance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ClusterInstance_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterInstance_SdkV2) { } +func (c ClusterInstance_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterInstance. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1075,6 +1116,12 @@ func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ClusterSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterSpec_SdkV2) { } +func (c ClusterSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + compute_tf.ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1197,6 +1244,14 @@ func (newState *ConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ConditionTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ConditionTask_SdkV2) { } +func (c ConditionTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "left")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "right")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ConditionTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1244,6 +1299,11 @@ func (newState *Continuous_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *Continuous_SdkV2) SyncEffectiveFieldsDuringRead(existingState Continuous_SdkV2) { } +func (c Continuous_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Continuous. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1386,6 +1446,27 @@ func (newState *CreateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cr func (newState *CreateJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateJob_SdkV2) { } +func (c CreateJob_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + Continuous_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "continuous")...) + JobDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + JobEmailNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + JobEnvironment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "environment")...) + GitSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobsHealthRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + JobCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_cluster")...) + JobNotificationSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + JobParameterDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameter")...) + QueueSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + JobRunAs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_as")...) + CronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + Task_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "task")...) + TriggerSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + WebhookNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1969,6 +2050,11 @@ func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateResponse_SdkV2) { } +func (c CreateResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2021,6 +2107,13 @@ func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CronSchedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState CronSchedule_SdkV2) { } +func (c CronSchedule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "quartz_cron_expression")...) + cs.SetRequired(append(path, "timezone_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CronSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2072,6 +2165,11 @@ func (newState *DbtOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Db func (newState *DbtOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbtOutput_SdkV2) { } +func (c DbtOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2178,6 +2276,12 @@ func (newState *DbtTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtT func (newState *DbtTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState DbtTask_SdkV2) { } +func (c DbtTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "commands")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2262,6 +2366,12 @@ func (newState *DeleteJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan De func (newState *DeleteJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteJob_SdkV2) { } +func (c DeleteJob_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2296,12 +2406,6 @@ func (o DeleteJob_SdkV2) Type(ctx context.Context) attr.Type { type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -2340,6 +2444,12 @@ func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan De func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRun_SdkV2) { } +func (c DeleteRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2374,12 +2484,6 @@ func (o DeleteRun_SdkV2) Type(ctx context.Context) attr.Type { type DeleteRunResponse_SdkV2 struct { } -func (newState *DeleteRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRunResponse_SdkV2) { -} - -func (newState *DeleteRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRunResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2431,6 +2535,11 @@ func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_Sd func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) { } +func (c EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceForJobResponseJobClusterSettingsChange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2480,6 +2589,12 @@ func (newState *EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringC func (newState *EnforcePolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceRequest_SdkV2) { } +func (c EnforcePolicyComplianceRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2536,6 +2651,13 @@ func (newState *EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuring func (newState *EnforcePolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceResponse_SdkV2) { } +func (c EnforcePolicyComplianceResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EnforcePolicyComplianceForJobResponseJobClusterSettingsChange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_cluster_changes")...) + JobSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2646,6 +2768,12 @@ func (newState *ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ExportRunOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportRunOutput_SdkV2) { } +func (c ExportRunOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ViewItem_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "views")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2715,12 +2843,6 @@ type ExportRunRequest_SdkV2 struct { ViewsToExport types.String `tfsdk:"-"` } -func (newState *ExportRunRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRunRequest_SdkV2) { -} - -func (newState *ExportRunRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportRunRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2775,6 +2897,12 @@ func (newState *FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuring func (newState *FileArrivalTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileArrivalTriggerConfiguration_SdkV2) { } +func (c FileArrivalTriggerConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileArrivalTriggerConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2823,6 +2951,13 @@ func (newState *ForEachStats_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ForEachStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachStats_SdkV2) { } +func (c ForEachStats_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ForEachTaskErrorMessageStats_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "error_message_stats")...) + ForEachTaskTaskRunStats_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "task_run_stats")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2933,6 +3068,14 @@ func (newState *ForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ForEachTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTask_SdkV2) { } +func (c ForEachTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "inputs")...) + cs.SetRequired(append(path, "task")...) + Task_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3014,6 +3157,11 @@ func (newState *ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ForEachTaskErrorMessageStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTaskErrorMessageStats_SdkV2) { } +func (c ForEachTaskErrorMessageStats_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskErrorMessageStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3071,6 +3219,11 @@ func (newState *ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ForEachTaskTaskRunStats_SdkV2) SyncEffectiveFieldsDuringRead(existingState ForEachTaskTaskRunStats_SdkV2) { } +func (c ForEachTaskTaskRunStats_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskTaskRunStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3118,12 +3271,6 @@ type GetJobPermissionLevelsRequest_SdkV2 struct { JobId types.String `tfsdk:"-"` } -func (newState *GetJobPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetJobPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3166,6 +3313,12 @@ func (newState *GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *GetJobPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsResponse_SdkV2) { } +func (c GetJobPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3233,12 +3386,6 @@ type GetJobPermissionsRequest_SdkV2 struct { JobId types.String `tfsdk:"-"` } -func (newState *GetJobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionsRequest_SdkV2) { -} - -func (newState *GetJobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3277,12 +3424,6 @@ type GetJobRequest_SdkV2 struct { JobId types.Int64 `tfsdk:"-"` } -func (newState *GetJobRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobRequest_SdkV2) { -} - -func (newState *GetJobRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetJobRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3320,12 +3461,6 @@ type GetPolicyComplianceRequest_SdkV2 struct { JobId types.Int64 `tfsdk:"-"` } -func (newState *GetPolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyComplianceRequest_SdkV2) { -} - -func (newState *GetPolicyComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3377,6 +3512,11 @@ func (newState *GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *GetPolicyComplianceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceResponse_SdkV2) { } +func (c GetPolicyComplianceResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3446,12 +3586,6 @@ type GetRunOutputRequest_SdkV2 struct { RunId types.Int64 `tfsdk:"-"` } -func (newState *GetRunOutputRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunOutputRequest_SdkV2) { -} - -func (newState *GetRunOutputRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRunOutputRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunOutputRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3497,12 +3631,6 @@ type GetRunRequest_SdkV2 struct { RunId types.Int64 `tfsdk:"-"` } -func (newState *GetRunRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunRequest_SdkV2) { -} - -func (newState *GetRunRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRunRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3555,6 +3683,11 @@ func (newState *GitSnapshot_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GitSnapshot_SdkV2) SyncEffectiveFieldsDuringRead(existingState GitSnapshot_SdkV2) { } +func (c GitSnapshot_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSnapshot. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3625,6 +3758,15 @@ func (newState *GitSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Gi func (newState *GitSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState GitSource_SdkV2) { } +func (c GitSource_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "git_provider")...) + GitSnapshot_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_snapshot")...) + cs.SetRequired(append(path, "url")...) + JobSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_source")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3763,6 +3905,13 @@ func (newState *Job_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job_SdkV func (newState *Job_SdkV2) SyncEffectiveFieldsDuringRead(existingState Job_SdkV2) { } +func (c Job_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "effective_budget_policy_id")...) + JobSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Job. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3851,6 +4000,11 @@ func (newState *JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *JobAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobAccessControlRequest_SdkV2) { } +func (c JobAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3907,6 +4061,12 @@ func (newState *JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *JobAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobAccessControlResponse_SdkV2) { } +func (c JobAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3991,6 +4151,14 @@ func (newState *JobCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan J func (newState *JobCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobCluster_SdkV2) { } +func (c JobCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_cluster_key")...) + cs.SetRequired(append(path, "new_cluster")...) + compute_tf.ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4073,6 +4241,12 @@ func (newState *JobCompliance_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *JobCompliance_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobCompliance_SdkV2) { } +func (c JobCompliance_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCompliance. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4153,6 +4327,12 @@ func (newState *JobDeployment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *JobDeployment_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobDeployment_SdkV2) { } +func (c JobDeployment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "kind")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobDeployment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4228,6 +4408,11 @@ func (newState *JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *JobEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobEmailNotifications_SdkV2) { } +func (c JobEmailNotifications_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEmailNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4430,6 +4615,13 @@ func (newState *JobEnvironment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *JobEnvironment_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobEnvironment_SdkV2) { } +func (c JobEnvironment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "environment_key")...) + compute_tf.Environment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEnvironment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4508,6 +4700,11 @@ func (newState *JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *JobNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobNotificationSettings_SdkV2) { } +func (c JobNotificationSettings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobNotificationSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4556,6 +4753,11 @@ func (newState *JobParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *JobParameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobParameter_SdkV2) { } +func (c JobParameter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4605,6 +4807,13 @@ func (newState *JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *JobParameterDefinition_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobParameterDefinition_SdkV2) { } +func (c JobParameterDefinition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "default")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameterDefinition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4652,6 +4861,11 @@ func (newState *JobPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *JobPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermission_SdkV2) { } +func (c JobPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4731,6 +4945,12 @@ func (newState *JobPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *JobPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissions_SdkV2) { } +func (c JobPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4808,6 +5028,11 @@ func (newState *JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *JobPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissionsDescription_SdkV2) { } +func (c JobPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4853,6 +5078,13 @@ func (newState *JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *JobPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobPermissionsRequest_SdkV2) { } +func (c JobPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4936,6 +5168,11 @@ func (newState *JobRunAs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job func (newState *JobRunAs_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobRunAs_SdkV2) { } +func (c JobRunAs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobRunAs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5078,6 +5315,26 @@ func (newState *JobSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *JobSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSettings_SdkV2) { } +func (c JobSettings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Continuous_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "continuous")...) + JobDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + JobEmailNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + JobEnvironment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "environment")...) + GitSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobsHealthRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + JobCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_cluster")...) + JobNotificationSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + JobParameterDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameter")...) + QueueSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + JobRunAs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_as")...) + CronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + Task_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "task")...) + TriggerSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + WebhookNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5643,6 +5900,13 @@ func (newState *JobSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Jo func (newState *JobSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSource_SdkV2) { } +func (c JobSource_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "import_from_git_branch")...) + cs.SetRequired(append(path, "job_config_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5706,6 +5970,14 @@ func (newState *JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *JobsHealthRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobsHealthRule_SdkV2) { } +func (c JobsHealthRule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "metric")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5752,6 +6024,12 @@ func (newState *JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *JobsHealthRules_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobsHealthRules_SdkV2) { } +func (c JobsHealthRules_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobsHealthRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRules. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5832,6 +6110,12 @@ func (newState *ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDur func (newState *ListJobComplianceForPolicyResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceForPolicyResponse_SdkV2) { } +func (c ListJobComplianceForPolicyResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobCompliance_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "jobs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceForPolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5910,12 +6194,6 @@ type ListJobComplianceRequest_SdkV2 struct { PolicyId types.String `tfsdk:"-"` } -func (newState *ListJobComplianceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobComplianceRequest_SdkV2) { -} - -func (newState *ListJobComplianceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5969,12 +6247,6 @@ type ListJobsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListJobsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobsRequest_SdkV2) { -} - -func (newState *ListJobsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6035,6 +6307,12 @@ func (newState *ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListJobsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListJobsResponse_SdkV2) { } +func (c ListJobsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BaseJob_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "jobs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6142,12 +6420,6 @@ type ListRunsRequest_SdkV2 struct { StartTimeTo types.Int64 `tfsdk:"-"` } -func (newState *ListRunsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRunsRequest_SdkV2) { -} - -func (newState *ListRunsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRunsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6218,6 +6490,12 @@ func (newState *ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRunsResponse_SdkV2) { } +func (c ListRunsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BaseRun_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "runs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6303,6 +6581,11 @@ func (newState *NotebookOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *NotebookOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookOutput_SdkV2) { } +func (c NotebookOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6383,6 +6666,12 @@ func (newState *NotebookTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *NotebookTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookTask_SdkV2) { } +func (c NotebookTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "notebook_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6463,6 +6752,13 @@ func (newState *PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringCre func (newState *PeriodicTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState PeriodicTriggerConfiguration_SdkV2) { } +func (c PeriodicTriggerConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "interval")...) + cs.SetRequired(append(path, "unit")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PeriodicTriggerConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6507,6 +6803,11 @@ func (newState *PipelineParams_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *PipelineParams_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineParams_SdkV2) { } +func (c PipelineParams_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineParams. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6551,6 +6852,12 @@ func (newState *PipelineTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PipelineTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineTask_SdkV2) { } +func (c PipelineTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "pipeline_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6606,6 +6913,13 @@ func (newState *PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PythonWheelTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState PythonWheelTask_SdkV2) { } +func (c PythonWheelTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "entry_point")...) + cs.SetRequired(append(path, "package_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonWheelTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6721,6 +7035,11 @@ func (newState *QueueDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QueueDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueueDetails_SdkV2) { } +func (c QueueDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6765,6 +7084,12 @@ func (newState *QueueSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *QueueSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueueSettings_SdkV2) { } +func (c QueueSettings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "enabled")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6822,6 +7147,13 @@ func (newState *RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *RepairHistoryItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairHistoryItem_SdkV2) { } +func (c RepairHistoryItem_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairHistoryItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7062,6 +7394,13 @@ func (newState *RepairRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Re func (newState *RepairRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairRun_SdkV2) { } +func (c RepairRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7423,6 +7762,11 @@ func (newState *RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *RepairRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepairRunResponse_SdkV2) { } +func (c RepairRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7471,6 +7815,14 @@ func (newState *ResetJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Res func (newState *ResetJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResetJob_SdkV2) { } +func (c ResetJob_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + cs.SetRequired(append(path, "new_settings")...) + JobSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7537,12 +7889,6 @@ func (o *ResetJob_SdkV2) SetNewSettings(ctx context.Context, v JobSettings_SdkV2 type ResetResponse_SdkV2 struct { } -func (newState *ResetResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResetResponse_SdkV2) { -} - -func (newState *ResetResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResetResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7582,6 +7928,11 @@ func (newState *ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *ResolvedConditionTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedConditionTaskValues_SdkV2) { } +func (c ResolvedConditionTaskValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedConditionTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7625,6 +7976,11 @@ func (newState *ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ResolvedDbtTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedDbtTaskValues_SdkV2) { } +func (c ResolvedDbtTaskValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedDbtTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7696,6 +8052,11 @@ func (newState *ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ResolvedNotebookTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedNotebookTaskValues_SdkV2) { } +func (c ResolvedNotebookTaskValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedNotebookTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7767,6 +8128,11 @@ func (newState *ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ResolvedParamPairValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedParamPairValues_SdkV2) { } +func (c ResolvedParamPairValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedParamPairValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7840,6 +8206,11 @@ func (newState *ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringCr func (newState *ResolvedPythonWheelTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedPythonWheelTaskValues_SdkV2) { } +func (c ResolvedPythonWheelTaskValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedPythonWheelTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7944,6 +8315,11 @@ func (newState *ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ResolvedRunJobTaskValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedRunJobTaskValues_SdkV2) { } +func (c ResolvedRunJobTaskValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedRunJobTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8046,6 +8422,11 @@ func (newState *ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ResolvedStringParamsValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedStringParamsValues_SdkV2) { } +func (c ResolvedStringParamsValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedStringParamsValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8135,6 +8516,21 @@ func (newState *ResolvedValues_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ResolvedValues_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResolvedValues_SdkV2) { } +func (c ResolvedValues_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ResolvedConditionTaskValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + ResolvedDbtTaskValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + ResolvedNotebookTaskValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + ResolvedPythonWheelTaskValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + ResolvedRunJobTaskValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + ResolvedParamPairValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "simulation_task")...) + ResolvedStringParamsValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + ResolvedStringParamsValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + ResolvedStringParamsValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + ResolvedParamPairValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8619,6 +9015,24 @@ func (newState *Run_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run_SdkV func (newState *Run_SdkV2) SyncEffectiveFieldsDuringRead(existingState Run_SdkV2) { } +func (c Run_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterInstance_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_instance")...) + ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_spec")...) + GitSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + RunTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "iterations")...) + JobCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_clusters")...) + JobParameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_parameters")...) + RunParameters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "overriding_parameters")...) + RepairHistoryItem_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "repair_history")...) + CronSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + RunState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + RunTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tasks")...) + TriggerInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Run. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9121,6 +9535,14 @@ func (newState *RunConditionTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *RunConditionTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunConditionTask_SdkV2) { } +func (c RunConditionTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "left")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "right")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunConditionTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9179,6 +9601,15 @@ func (newState *RunForEachTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RunForEachTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunForEachTask_SdkV2) { } +func (c RunForEachTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "inputs")...) + ForEachStats_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "stats")...) + cs.SetRequired(append(path, "task")...) + Task_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunForEachTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9286,6 +9717,11 @@ func (newState *RunJobOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RunJobOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunJobOutput_SdkV2) { } +func (c RunJobOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9412,6 +9848,13 @@ func (newState *RunJobTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *RunJobTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunJobTask_SdkV2) { } +func (c RunJobTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + PipelineParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9839,6 +10282,14 @@ func (newState *RunNow_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNo func (newState *RunNow_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunNow_SdkV2) { } +func (c RunNow_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + PipelineParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + QueueSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNow. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10229,6 +10680,11 @@ func (newState *RunNowResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RunNowResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunNowResponse_SdkV2) { } +func (c RunNowResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNowResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10308,6 +10764,16 @@ func (newState *RunOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ru func (newState *RunOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunOutput_SdkV2) { } +func (c RunOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DbtOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbt_output")...) + Run_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metadata")...) + NotebookOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook_output")...) + RunJobOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_job_output")...) + SqlOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_output")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10594,6 +11060,12 @@ func (newState *RunParameters_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RunParameters_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunParameters_SdkV2) { } +func (c RunParameters_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunParameters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10896,6 +11368,11 @@ func (newState *RunState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run func (newState *RunState_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunState_SdkV2) { } +func (c RunState_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10952,6 +11429,13 @@ func (newState *RunStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ru func (newState *RunStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunStatus_SdkV2) { } +func (c RunStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueueDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "queue_details")...) + TerminationDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "termination_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11225,6 +11709,34 @@ func (newState *RunTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunT func (newState *RunTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunTask_SdkV2) { } +func (c RunTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomsNotebookTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms_notebook_task")...) + ClusterInstance_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_instance")...) + RunConditionTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + DbtTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + TaskDependency_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "depends_on")...) + JobEmailNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + RunForEachTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "for_each_task")...) + GitSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + compute_tf.ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + NotebookTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + TaskNotificationSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + PipelineTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_task")...) + PythonWheelTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + ResolvedValues_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "resolved_values")...) + RunJobTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + SparkJarTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + SparkPythonTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + SparkSubmitTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + SqlTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + RunState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + cs.SetRequired(append(path, "task_key")...) + WebhookNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12027,6 +12539,11 @@ func (newState *SparkJarTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SparkJarTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkJarTask_SdkV2) { } +func (c SparkJarTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkJarTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12124,6 +12641,12 @@ func (newState *SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *SparkPythonTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkPythonTask_SdkV2) { } +func (c SparkPythonTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "python_file")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkPythonTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12205,6 +12728,11 @@ func (newState *SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *SparkSubmitTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparkSubmitTask_SdkV2) { } +func (c SparkSubmitTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkSubmitTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12290,6 +12818,12 @@ func (newState *SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SqlAlertOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlAlertOutput_SdkV2) { } +func (c SqlAlertOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlStatementOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_statements")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlAlertOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12372,6 +12906,12 @@ func (newState *SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *SqlDashboardOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlDashboardOutput_SdkV2) { } +func (c SqlDashboardOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlDashboardWidgetOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "widgets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12458,6 +12998,12 @@ func (newState *SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *SqlDashboardWidgetOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlDashboardWidgetOutput_SdkV2) { } +func (c SqlDashboardWidgetOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlOutputError_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "error")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardWidgetOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12546,6 +13092,14 @@ func (newState *SqlOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sq func (newState *SqlOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlOutput_SdkV2) { } +func (c SqlOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlAlertOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert_output")...) + SqlDashboardOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dashboard_output")...) + SqlQueryOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query_output")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12680,6 +13234,11 @@ func (newState *SqlOutputError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SqlOutputError_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlOutputError_SdkV2) { } +func (c SqlOutputError_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutputError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12730,6 +13289,12 @@ func (newState *SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SqlQueryOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlQueryOutput_SdkV2) { } +func (c SqlQueryOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlStatementOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_statements")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlQueryOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12810,6 +13375,11 @@ func (newState *SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *SqlStatementOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlStatementOutput_SdkV2) { } +func (c SqlStatementOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlStatementOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12867,6 +13437,16 @@ func (newState *SqlTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlT func (newState *SqlTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTask_SdkV2) { } +func (c SqlTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlTaskAlert_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert")...) + SqlTaskDashboard_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dashboard")...) + SqlTaskFile_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file")...) + SqlTaskQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query")...) + cs.SetRequired(append(path, "warehouse_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13069,6 +13649,13 @@ func (newState *SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SqlTaskAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskAlert_SdkV2) { } +func (c SqlTaskAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "alert_id")...) + SqlTaskSubscription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "subscriptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13152,6 +13739,13 @@ func (newState *SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SqlTaskDashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskDashboard_SdkV2) { } +func (c SqlTaskDashboard_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + SqlTaskSubscription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "subscriptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskDashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13240,6 +13834,12 @@ func (newState *SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SqlTaskFile_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskFile_SdkV2) { } +func (c SqlTaskFile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskFile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13284,6 +13884,12 @@ func (newState *SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SqlTaskQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskQuery_SdkV2) { } +func (c SqlTaskQuery_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13333,6 +13939,11 @@ func (newState *SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *SqlTaskSubscription_SdkV2) SyncEffectiveFieldsDuringRead(existingState SqlTaskSubscription_SdkV2) { } +func (c SqlTaskSubscription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskSubscription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13434,6 +14045,21 @@ func (newState *SubmitRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Su func (newState *SubmitRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitRun_SdkV2) { } +func (c SubmitRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + JobEmailNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + JobEnvironment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "environments")...) + GitSource_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobsHealthRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + JobNotificationSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + QueueSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + JobRunAs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_as")...) + SubmitTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tasks")...) + WebhookNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13794,6 +14420,11 @@ func (newState *SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *SubmitRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitRunResponse_SdkV2) { } +func (c SubmitRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13936,6 +14567,30 @@ func (newState *SubmitTask_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SubmitTask_SdkV2) SyncEffectiveFieldsDuringRead(existingState SubmitTask_SdkV2) { } +func (c SubmitTask_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomsNotebookTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms_notebook_task")...) + ConditionTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + DbtTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + TaskDependency_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "depends_on")...) + JobEmailNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + ForEachTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "for_each_task")...) + JobsHealthRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + compute_tf.ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + NotebookTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + TaskNotificationSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + PipelineTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_task")...) + PythonWheelTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + RunJobTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + SparkJarTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + SparkPythonTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + SparkSubmitTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + SqlTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + cs.SetRequired(append(path, "task_key")...) + WebhookNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14590,6 +15245,11 @@ func (newState *TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuring func (newState *TableUpdateTriggerConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableUpdateTriggerConfiguration_SdkV2) { } +func (c TableUpdateTriggerConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableUpdateTriggerConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14791,6 +15451,30 @@ func (newState *Task_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Task_Sd func (newState *Task_SdkV2) SyncEffectiveFieldsDuringRead(existingState Task_SdkV2) { } +func (c Task_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomsNotebookTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms_notebook_task")...) + ConditionTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + DbtTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + TaskDependency_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "depends_on")...) + TaskEmailNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + ForEachTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "for_each_task")...) + JobsHealthRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + compute_tf.ClusterSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + NotebookTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + TaskNotificationSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + PipelineTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pipeline_task")...) + PythonWheelTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + RunJobTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + SparkJarTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + SparkPythonTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + SparkSubmitTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + SqlTask_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + cs.SetRequired(append(path, "task_key")...) + WebhookNotifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Task. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15446,6 +16130,12 @@ func (newState *TaskDependency_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *TaskDependency_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskDependency_SdkV2) { } +func (c TaskDependency_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "task_key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskDependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15521,6 +16211,11 @@ func (newState *TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *TaskEmailNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskEmailNotifications_SdkV2) { } +func (c TaskEmailNotifications_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskEmailNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15727,6 +16422,11 @@ func (newState *TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *TaskNotificationSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState TaskNotificationSettings_SdkV2) { } +func (c TaskNotificationSettings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskNotificationSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15829,6 +16529,11 @@ func (newState *TerminationDetails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *TerminationDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationDetails_SdkV2) { } +func (c TerminationDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15876,6 +16581,11 @@ func (newState *TriggerInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TriggerInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggerInfo_SdkV2) { } +func (c TriggerInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15926,6 +16636,15 @@ func (newState *TriggerSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *TriggerSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState TriggerSettings_SdkV2) { } +func (c TriggerSettings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileArrivalTriggerConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file_arrival")...) + PeriodicTriggerConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "periodic")...) + TableUpdateTriggerConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table")...) + TableUpdateTriggerConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_update")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16109,6 +16828,13 @@ func (newState *UpdateJob_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Up func (newState *UpdateJob_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateJob_SdkV2) { } +func (c UpdateJob_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + JobSettings_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "new_settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16206,12 +16932,6 @@ func (o *UpdateJob_SdkV2) SetNewSettings(ctx context.Context, v JobSettings_SdkV type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -16256,6 +16976,11 @@ func (newState *ViewItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Vie func (newState *ViewItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState ViewItem_SdkV2) { } +func (c ViewItem_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ViewItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16301,6 +17026,12 @@ func (newState *Webhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Webh func (newState *Webhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState Webhook_SdkV2) { } +func (c Webhook_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Webhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16365,6 +17096,16 @@ func (newState *WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *WebhookNotifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState WebhookNotifications_SdkV2) { } +func (c WebhookNotifications_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Webhook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_duration_warning_threshold_exceeded")...) + Webhook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_failure")...) + Webhook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_start")...) + Webhook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_streaming_backlog_exceeded")...) + Webhook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "on_success")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WebhookNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/jobs_tf/model.go b/internal/service/jobs_tf/model.go index 954b2faec..6bfb54655 100755 --- a/internal/service/jobs_tf/model.go +++ b/internal/service/jobs_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/compute_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -49,6 +50,13 @@ func (newState *BaseJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseJob) { func (newState *BaseJob) SyncEffectiveFieldsDuringRead(existingState BaseJob) { } +func (c BaseJob) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "effective_budget_policy_id")...) + JobSettings{}.ApplySchemaCustomizations(cs, append(path, "settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -256,6 +264,23 @@ func (newState *BaseRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan BaseRun) { func (newState *BaseRun) SyncEffectiveFieldsDuringRead(existingState BaseRun) { } +func (c BaseRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterInstance{}.ApplySchemaCustomizations(cs, append(path, "cluster_instance")...) + ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "cluster_spec")...) + GitSource{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobCluster{}.ApplySchemaCustomizations(cs, append(path, "job_clusters")...) + JobParameter{}.ApplySchemaCustomizations(cs, append(path, "job_parameters")...) + RunParameters{}.ApplySchemaCustomizations(cs, append(path, "overriding_parameters")...) + RepairHistoryItem{}.ApplySchemaCustomizations(cs, append(path, "repair_history")...) + CronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + RunState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + RunTask{}.ApplySchemaCustomizations(cs, append(path, "tasks")...) + TriggerInfo{}.ApplySchemaCustomizations(cs, append(path, "trigger_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -710,6 +735,11 @@ func (newState *CancelAllRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan Canc func (newState *CancelAllRuns) SyncEffectiveFieldsDuringRead(existingState CancelAllRuns) { } +func (c CancelAllRuns) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -746,12 +776,6 @@ func (o CancelAllRuns) Type(ctx context.Context) attr.Type { type CancelAllRunsResponse struct { } -func (newState *CancelAllRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelAllRunsResponse) { -} - -func (newState *CancelAllRunsResponse) SyncEffectiveFieldsDuringRead(existingState CancelAllRunsResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelAllRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -790,6 +814,12 @@ func (newState *CancelRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRu func (newState *CancelRun) SyncEffectiveFieldsDuringRead(existingState CancelRun) { } +func (c CancelRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -824,12 +854,6 @@ func (o CancelRun) Type(ctx context.Context) attr.Type { type CancelRunResponse struct { } -func (newState *CancelRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelRunResponse) { -} - -func (newState *CancelRunResponse) SyncEffectiveFieldsDuringRead(existingState CancelRunResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -873,6 +897,11 @@ func (newState *CleanRoomTaskRunState) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CleanRoomTaskRunState) SyncEffectiveFieldsDuringRead(existingState CleanRoomTaskRunState) { } +func (c CleanRoomTaskRunState) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomTaskRunState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -925,6 +954,13 @@ func (newState *CleanRoomsNotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CleanRoomsNotebookTask) SyncEffectiveFieldsDuringRead(existingState CleanRoomsNotebookTask) { } +func (c CleanRoomsNotebookTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "clean_room_name")...) + cs.SetRequired(append(path, "notebook_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CleanRoomsNotebookTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1019,6 +1055,11 @@ func (newState *ClusterInstance) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cl func (newState *ClusterInstance) SyncEffectiveFieldsDuringRead(existingState ClusterInstance) { } +func (c ClusterInstance) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterInstance. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1075,6 +1116,12 @@ func (newState *ClusterSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cluste func (newState *ClusterSpec) SyncEffectiveFieldsDuringRead(existingState ClusterSpec) { } +func (c ClusterSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + compute_tf.ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1197,6 +1244,14 @@ func (newState *ConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cond func (newState *ConditionTask) SyncEffectiveFieldsDuringRead(existingState ConditionTask) { } +func (c ConditionTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "left")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "right")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ConditionTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1244,6 +1299,11 @@ func (newState *Continuous) SyncEffectiveFieldsDuringCreateOrUpdate(plan Continu func (newState *Continuous) SyncEffectiveFieldsDuringRead(existingState Continuous) { } +func (c Continuous) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Continuous. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1386,6 +1446,27 @@ func (newState *CreateJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateJo func (newState *CreateJob) SyncEffectiveFieldsDuringRead(existingState CreateJob) { } +func (c CreateJob) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + Continuous{}.ApplySchemaCustomizations(cs, append(path, "continuous")...) + JobDeployment{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + JobEmailNotifications{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + JobEnvironment{}.ApplySchemaCustomizations(cs, append(path, "environment")...) + GitSource{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobsHealthRules{}.ApplySchemaCustomizations(cs, append(path, "health")...) + JobCluster{}.ApplySchemaCustomizations(cs, append(path, "job_cluster")...) + JobNotificationSettings{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + JobParameterDefinition{}.ApplySchemaCustomizations(cs, append(path, "parameter")...) + QueueSettings{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + JobRunAs{}.ApplySchemaCustomizations(cs, append(path, "run_as")...) + CronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + Task{}.ApplySchemaCustomizations(cs, append(path, "task")...) + TriggerSettings{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + WebhookNotifications{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1969,6 +2050,11 @@ func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse) { } +func (c CreateResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2021,6 +2107,13 @@ func (newState *CronSchedule) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronS func (newState *CronSchedule) SyncEffectiveFieldsDuringRead(existingState CronSchedule) { } +func (c CronSchedule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "quartz_cron_expression")...) + cs.SetRequired(append(path, "timezone_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CronSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2072,6 +2165,11 @@ func (newState *DbtOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtOutpu func (newState *DbtOutput) SyncEffectiveFieldsDuringRead(existingState DbtOutput) { } +func (c DbtOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2178,6 +2276,12 @@ func (newState *DbtTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan DbtTask) { func (newState *DbtTask) SyncEffectiveFieldsDuringRead(existingState DbtTask) { } +func (c DbtTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "commands")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DbtTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2262,6 +2366,12 @@ func (newState *DeleteJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteJo func (newState *DeleteJob) SyncEffectiveFieldsDuringRead(existingState DeleteJob) { } +func (c DeleteJob) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2296,12 +2406,6 @@ func (o DeleteJob) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -2340,6 +2444,12 @@ func (newState *DeleteRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRu func (newState *DeleteRun) SyncEffectiveFieldsDuringRead(existingState DeleteRun) { } +func (c DeleteRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2374,12 +2484,6 @@ func (o DeleteRun) Type(ctx context.Context) attr.Type { type DeleteRunResponse struct { } -func (newState *DeleteRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRunResponse) { -} - -func (newState *DeleteRunResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRunResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2431,6 +2535,11 @@ func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) S func (newState *EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) { } +func (c EnforcePolicyComplianceForJobResponseJobClusterSettingsChange) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceForJobResponseJobClusterSettingsChange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2480,6 +2589,12 @@ func (newState *EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringCreateO func (newState *EnforcePolicyComplianceRequest) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceRequest) { } +func (c EnforcePolicyComplianceRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2536,6 +2651,13 @@ func (newState *EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringCreate func (newState *EnforcePolicyComplianceResponse) SyncEffectiveFieldsDuringRead(existingState EnforcePolicyComplianceResponse) { } +func (c EnforcePolicyComplianceResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EnforcePolicyComplianceForJobResponseJobClusterSettingsChange{}.ApplySchemaCustomizations(cs, append(path, "job_cluster_changes")...) + JobSettings{}.ApplySchemaCustomizations(cs, append(path, "settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnforcePolicyComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2646,6 +2768,12 @@ func (newState *ExportRunOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ex func (newState *ExportRunOutput) SyncEffectiveFieldsDuringRead(existingState ExportRunOutput) { } +func (c ExportRunOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ViewItem{}.ApplySchemaCustomizations(cs, append(path, "views")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2715,12 +2843,6 @@ type ExportRunRequest struct { ViewsToExport types.String `tfsdk:"-"` } -func (newState *ExportRunRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRunRequest) { -} - -func (newState *ExportRunRequest) SyncEffectiveFieldsDuringRead(existingState ExportRunRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRunRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2775,6 +2897,12 @@ func (newState *FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringCreate func (newState *FileArrivalTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState FileArrivalTriggerConfiguration) { } +func (c FileArrivalTriggerConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileArrivalTriggerConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2823,6 +2951,13 @@ func (newState *ForEachStats) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEa func (newState *ForEachStats) SyncEffectiveFieldsDuringRead(existingState ForEachStats) { } +func (c ForEachStats) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ForEachTaskErrorMessageStats{}.ApplySchemaCustomizations(cs, append(path, "error_message_stats")...) + ForEachTaskTaskRunStats{}.ApplySchemaCustomizations(cs, append(path, "task_run_stats")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2933,6 +3068,14 @@ func (newState *ForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan ForEac func (newState *ForEachTask) SyncEffectiveFieldsDuringRead(existingState ForEachTask) { } +func (c ForEachTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "inputs")...) + cs.SetRequired(append(path, "task")...) + Task{}.ApplySchemaCustomizations(cs, append(path, "task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3014,6 +3157,11 @@ func (newState *ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringCreateOrU func (newState *ForEachTaskErrorMessageStats) SyncEffectiveFieldsDuringRead(existingState ForEachTaskErrorMessageStats) { } +func (c ForEachTaskErrorMessageStats) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskErrorMessageStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3071,6 +3219,11 @@ func (newState *ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ForEachTaskTaskRunStats) SyncEffectiveFieldsDuringRead(existingState ForEachTaskTaskRunStats) { } +func (c ForEachTaskTaskRunStats) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ForEachTaskTaskRunStats. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3118,12 +3271,6 @@ type GetJobPermissionLevelsRequest struct { JobId types.String `tfsdk:"-"` } -func (newState *GetJobPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionLevelsRequest) { -} - -func (newState *GetJobPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3166,6 +3313,12 @@ func (newState *GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringCreateO func (newState *GetJobPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionLevelsResponse) { } +func (c GetJobPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3233,12 +3386,6 @@ type GetJobPermissionsRequest struct { JobId types.String `tfsdk:"-"` } -func (newState *GetJobPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobPermissionsRequest) { -} - -func (newState *GetJobPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetJobPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3277,12 +3424,6 @@ type GetJobRequest struct { JobId types.Int64 `tfsdk:"-"` } -func (newState *GetJobRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetJobRequest) { -} - -func (newState *GetJobRequest) SyncEffectiveFieldsDuringRead(existingState GetJobRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetJobRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3320,12 +3461,6 @@ type GetPolicyComplianceRequest struct { JobId types.Int64 `tfsdk:"-"` } -func (newState *GetPolicyComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPolicyComplianceRequest) { -} - -func (newState *GetPolicyComplianceRequest) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3377,6 +3512,11 @@ func (newState *GetPolicyComplianceResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *GetPolicyComplianceResponse) SyncEffectiveFieldsDuringRead(existingState GetPolicyComplianceResponse) { } +func (c GetPolicyComplianceResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPolicyComplianceResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3446,12 +3586,6 @@ type GetRunOutputRequest struct { RunId types.Int64 `tfsdk:"-"` } -func (newState *GetRunOutputRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunOutputRequest) { -} - -func (newState *GetRunOutputRequest) SyncEffectiveFieldsDuringRead(existingState GetRunOutputRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunOutputRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3497,12 +3631,6 @@ type GetRunRequest struct { RunId types.Int64 `tfsdk:"-"` } -func (newState *GetRunRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunRequest) { -} - -func (newState *GetRunRequest) SyncEffectiveFieldsDuringRead(existingState GetRunRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3555,6 +3683,11 @@ func (newState *GitSnapshot) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSna func (newState *GitSnapshot) SyncEffectiveFieldsDuringRead(existingState GitSnapshot) { } +func (c GitSnapshot) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSnapshot. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3625,6 +3758,15 @@ func (newState *GitSource) SyncEffectiveFieldsDuringCreateOrUpdate(plan GitSourc func (newState *GitSource) SyncEffectiveFieldsDuringRead(existingState GitSource) { } +func (c GitSource) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "git_provider")...) + GitSnapshot{}.ApplySchemaCustomizations(cs, append(path, "git_snapshot")...) + cs.SetRequired(append(path, "url")...) + JobSource{}.ApplySchemaCustomizations(cs, append(path, "job_source")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GitSource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3763,6 +3905,13 @@ func (newState *Job) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job) { func (newState *Job) SyncEffectiveFieldsDuringRead(existingState Job) { } +func (c Job) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "effective_budget_policy_id")...) + JobSettings{}.ApplySchemaCustomizations(cs, append(path, "settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Job. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3851,6 +4000,11 @@ func (newState *JobAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *JobAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState JobAccessControlRequest) { } +func (c JobAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3907,6 +4061,12 @@ func (newState *JobAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *JobAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState JobAccessControlResponse) { } +func (c JobAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3991,6 +4151,14 @@ func (newState *JobCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobClus func (newState *JobCluster) SyncEffectiveFieldsDuringRead(existingState JobCluster) { } +func (c JobCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_cluster_key")...) + cs.SetRequired(append(path, "new_cluster")...) + compute_tf.ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4073,6 +4241,12 @@ func (newState *JobCompliance) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobC func (newState *JobCompliance) SyncEffectiveFieldsDuringRead(existingState JobCompliance) { } +func (c JobCompliance) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobCompliance. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4153,6 +4327,12 @@ func (newState *JobDeployment) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobD func (newState *JobDeployment) SyncEffectiveFieldsDuringRead(existingState JobDeployment) { } +func (c JobDeployment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "kind")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobDeployment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4228,6 +4408,11 @@ func (newState *JobEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *JobEmailNotifications) SyncEffectiveFieldsDuringRead(existingState JobEmailNotifications) { } +func (c JobEmailNotifications) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEmailNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4430,6 +4615,13 @@ func (newState *JobEnvironment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job func (newState *JobEnvironment) SyncEffectiveFieldsDuringRead(existingState JobEnvironment) { } +func (c JobEnvironment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "environment_key")...) + compute_tf.Environment{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobEnvironment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4508,6 +4700,11 @@ func (newState *JobNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *JobNotificationSettings) SyncEffectiveFieldsDuringRead(existingState JobNotificationSettings) { } +func (c JobNotificationSettings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobNotificationSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4556,6 +4753,11 @@ func (newState *JobParameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobPa func (newState *JobParameter) SyncEffectiveFieldsDuringRead(existingState JobParameter) { } +func (c JobParameter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4605,6 +4807,13 @@ func (newState *JobParameterDefinition) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *JobParameterDefinition) SyncEffectiveFieldsDuringRead(existingState JobParameterDefinition) { } +func (c JobParameterDefinition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "default")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobParameterDefinition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4652,6 +4861,11 @@ func (newState *JobPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobP func (newState *JobPermission) SyncEffectiveFieldsDuringRead(existingState JobPermission) { } +func (c JobPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4731,6 +4945,12 @@ func (newState *JobPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job func (newState *JobPermissions) SyncEffectiveFieldsDuringRead(existingState JobPermissions) { } +func (c JobPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4808,6 +5028,11 @@ func (newState *JobPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpda func (newState *JobPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState JobPermissionsDescription) { } +func (c JobPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4853,6 +5078,13 @@ func (newState *JobPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *JobPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState JobPermissionsRequest) { } +func (c JobPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4936,6 +5168,11 @@ func (newState *JobRunAs) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobRunAs) func (newState *JobRunAs) SyncEffectiveFieldsDuringRead(existingState JobRunAs) { } +func (c JobRunAs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobRunAs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5078,6 +5315,26 @@ func (newState *JobSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSet func (newState *JobSettings) SyncEffectiveFieldsDuringRead(existingState JobSettings) { } +func (c JobSettings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Continuous{}.ApplySchemaCustomizations(cs, append(path, "continuous")...) + JobDeployment{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + JobEmailNotifications{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + JobEnvironment{}.ApplySchemaCustomizations(cs, append(path, "environment")...) + GitSource{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobsHealthRules{}.ApplySchemaCustomizations(cs, append(path, "health")...) + JobCluster{}.ApplySchemaCustomizations(cs, append(path, "job_cluster")...) + JobNotificationSettings{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + JobParameterDefinition{}.ApplySchemaCustomizations(cs, append(path, "parameter")...) + QueueSettings{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + JobRunAs{}.ApplySchemaCustomizations(cs, append(path, "run_as")...) + CronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + Task{}.ApplySchemaCustomizations(cs, append(path, "task")...) + TriggerSettings{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + WebhookNotifications{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5643,6 +5900,13 @@ func (newState *JobSource) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSourc func (newState *JobSource) SyncEffectiveFieldsDuringRead(existingState JobSource) { } +func (c JobSource) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "import_from_git_branch")...) + cs.SetRequired(append(path, "job_config_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5706,6 +5970,14 @@ func (newState *JobsHealthRule) SyncEffectiveFieldsDuringCreateOrUpdate(plan Job func (newState *JobsHealthRule) SyncEffectiveFieldsDuringRead(existingState JobsHealthRule) { } +func (c JobsHealthRule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "metric")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5752,6 +6024,12 @@ func (newState *JobsHealthRules) SyncEffectiveFieldsDuringCreateOrUpdate(plan Jo func (newState *JobsHealthRules) SyncEffectiveFieldsDuringRead(existingState JobsHealthRules) { } +func (c JobsHealthRules) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobsHealthRule{}.ApplySchemaCustomizations(cs, append(path, "rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobsHealthRules. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5832,6 +6110,12 @@ func (newState *ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringCre func (newState *ListJobComplianceForPolicyResponse) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceForPolicyResponse) { } +func (c ListJobComplianceForPolicyResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobCompliance{}.ApplySchemaCustomizations(cs, append(path, "jobs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceForPolicyResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5910,12 +6194,6 @@ type ListJobComplianceRequest struct { PolicyId types.String `tfsdk:"-"` } -func (newState *ListJobComplianceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobComplianceRequest) { -} - -func (newState *ListJobComplianceRequest) SyncEffectiveFieldsDuringRead(existingState ListJobComplianceRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobComplianceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5969,12 +6247,6 @@ type ListJobsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListJobsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListJobsRequest) { -} - -func (newState *ListJobsRequest) SyncEffectiveFieldsDuringRead(existingState ListJobsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6035,6 +6307,12 @@ func (newState *ListJobsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *ListJobsResponse) SyncEffectiveFieldsDuringRead(existingState ListJobsResponse) { } +func (c ListJobsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BaseJob{}.ApplySchemaCustomizations(cs, append(path, "jobs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListJobsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6142,12 +6420,6 @@ type ListRunsRequest struct { StartTimeTo types.Int64 `tfsdk:"-"` } -func (newState *ListRunsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRunsRequest) { -} - -func (newState *ListRunsRequest) SyncEffectiveFieldsDuringRead(existingState ListRunsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6218,6 +6490,12 @@ func (newState *ListRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *ListRunsResponse) SyncEffectiveFieldsDuringRead(existingState ListRunsResponse) { } +func (c ListRunsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BaseRun{}.ApplySchemaCustomizations(cs, append(path, "runs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6303,6 +6581,11 @@ func (newState *NotebookOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan Not func (newState *NotebookOutput) SyncEffectiveFieldsDuringRead(existingState NotebookOutput) { } +func (c NotebookOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6383,6 +6666,12 @@ func (newState *NotebookTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Noteb func (newState *NotebookTask) SyncEffectiveFieldsDuringRead(existingState NotebookTask) { } +func (c NotebookTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "notebook_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6463,6 +6752,13 @@ func (newState *PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringCreateOrU func (newState *PeriodicTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState PeriodicTriggerConfiguration) { } +func (c PeriodicTriggerConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "interval")...) + cs.SetRequired(append(path, "unit")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PeriodicTriggerConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6507,6 +6803,11 @@ func (newState *PipelineParams) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pip func (newState *PipelineParams) SyncEffectiveFieldsDuringRead(existingState PipelineParams) { } +func (c PipelineParams) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineParams. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6551,6 +6852,12 @@ func (newState *PipelineTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pipel func (newState *PipelineTask) SyncEffectiveFieldsDuringRead(existingState PipelineTask) { } +func (c PipelineTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "pipeline_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6606,6 +6913,13 @@ func (newState *PythonWheelTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Py func (newState *PythonWheelTask) SyncEffectiveFieldsDuringRead(existingState PythonWheelTask) { } +func (c PythonWheelTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "entry_point")...) + cs.SetRequired(append(path, "package_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PythonWheelTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6721,6 +7035,11 @@ func (newState *QueueDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan Queue func (newState *QueueDetails) SyncEffectiveFieldsDuringRead(existingState QueueDetails) { } +func (c QueueDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6765,6 +7084,12 @@ func (newState *QueueSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan Queu func (newState *QueueSettings) SyncEffectiveFieldsDuringRead(existingState QueueSettings) { } +func (c QueueSettings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "enabled")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueueSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6822,6 +7147,13 @@ func (newState *RepairHistoryItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RepairHistoryItem) SyncEffectiveFieldsDuringRead(existingState RepairHistoryItem) { } +func (c RepairHistoryItem) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairHistoryItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7062,6 +7394,13 @@ func (newState *RepairRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepairRu func (newState *RepairRun) SyncEffectiveFieldsDuringRead(existingState RepairRun) { } +func (c RepairRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineParams{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7423,6 +7762,11 @@ func (newState *RepairRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RepairRunResponse) SyncEffectiveFieldsDuringRead(existingState RepairRunResponse) { } +func (c RepairRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepairRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7471,6 +7815,14 @@ func (newState *ResetJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResetJob) func (newState *ResetJob) SyncEffectiveFieldsDuringRead(existingState ResetJob) { } +func (c ResetJob) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + cs.SetRequired(append(path, "new_settings")...) + JobSettings{}.ApplySchemaCustomizations(cs, append(path, "new_settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7537,12 +7889,6 @@ func (o *ResetJob) SetNewSettings(ctx context.Context, v JobSettings) { type ResetResponse struct { } -func (newState *ResetResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResetResponse) { -} - -func (newState *ResetResponse) SyncEffectiveFieldsDuringRead(existingState ResetResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7582,6 +7928,11 @@ func (newState *ResolvedConditionTaskValues) SyncEffectiveFieldsDuringCreateOrUp func (newState *ResolvedConditionTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedConditionTaskValues) { } +func (c ResolvedConditionTaskValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedConditionTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7625,6 +7976,11 @@ func (newState *ResolvedDbtTaskValues) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ResolvedDbtTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedDbtTaskValues) { } +func (c ResolvedDbtTaskValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedDbtTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7696,6 +8052,11 @@ func (newState *ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ResolvedNotebookTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedNotebookTaskValues) { } +func (c ResolvedNotebookTaskValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedNotebookTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7767,6 +8128,11 @@ func (newState *ResolvedParamPairValues) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ResolvedParamPairValues) SyncEffectiveFieldsDuringRead(existingState ResolvedParamPairValues) { } +func (c ResolvedParamPairValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedParamPairValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7840,6 +8206,11 @@ func (newState *ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringCreateOr func (newState *ResolvedPythonWheelTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedPythonWheelTaskValues) { } +func (c ResolvedPythonWheelTaskValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedPythonWheelTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7944,6 +8315,11 @@ func (newState *ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ResolvedRunJobTaskValues) SyncEffectiveFieldsDuringRead(existingState ResolvedRunJobTaskValues) { } +func (c ResolvedRunJobTaskValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedRunJobTaskValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8046,6 +8422,11 @@ func (newState *ResolvedStringParamsValues) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ResolvedStringParamsValues) SyncEffectiveFieldsDuringRead(existingState ResolvedStringParamsValues) { } +func (c ResolvedStringParamsValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedStringParamsValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8135,6 +8516,21 @@ func (newState *ResolvedValues) SyncEffectiveFieldsDuringCreateOrUpdate(plan Res func (newState *ResolvedValues) SyncEffectiveFieldsDuringRead(existingState ResolvedValues) { } +func (c ResolvedValues) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ResolvedConditionTaskValues{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + ResolvedDbtTaskValues{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + ResolvedNotebookTaskValues{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + ResolvedPythonWheelTaskValues{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + ResolvedRunJobTaskValues{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + ResolvedParamPairValues{}.ApplySchemaCustomizations(cs, append(path, "simulation_task")...) + ResolvedStringParamsValues{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + ResolvedStringParamsValues{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + ResolvedStringParamsValues{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + ResolvedParamPairValues{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResolvedValues. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8619,6 +9015,24 @@ func (newState *Run) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run) { func (newState *Run) SyncEffectiveFieldsDuringRead(existingState Run) { } +func (c Run) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterInstance{}.ApplySchemaCustomizations(cs, append(path, "cluster_instance")...) + ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "cluster_spec")...) + GitSource{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + RunTask{}.ApplySchemaCustomizations(cs, append(path, "iterations")...) + JobCluster{}.ApplySchemaCustomizations(cs, append(path, "job_clusters")...) + JobParameter{}.ApplySchemaCustomizations(cs, append(path, "job_parameters")...) + RunParameters{}.ApplySchemaCustomizations(cs, append(path, "overriding_parameters")...) + RepairHistoryItem{}.ApplySchemaCustomizations(cs, append(path, "repair_history")...) + CronSchedule{}.ApplySchemaCustomizations(cs, append(path, "schedule")...) + RunState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + RunTask{}.ApplySchemaCustomizations(cs, append(path, "tasks")...) + TriggerInfo{}.ApplySchemaCustomizations(cs, append(path, "trigger_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Run. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9121,6 +9535,14 @@ func (newState *RunConditionTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *RunConditionTask) SyncEffectiveFieldsDuringRead(existingState RunConditionTask) { } +func (c RunConditionTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "left")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "right")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunConditionTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9179,6 +9601,15 @@ func (newState *RunForEachTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run func (newState *RunForEachTask) SyncEffectiveFieldsDuringRead(existingState RunForEachTask) { } +func (c RunForEachTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "inputs")...) + ForEachStats{}.ApplySchemaCustomizations(cs, append(path, "stats")...) + cs.SetRequired(append(path, "task")...) + Task{}.ApplySchemaCustomizations(cs, append(path, "task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunForEachTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9286,6 +9717,11 @@ func (newState *RunJobOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJo func (newState *RunJobOutput) SyncEffectiveFieldsDuringRead(existingState RunJobOutput) { } +func (c RunJobOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9412,6 +9848,13 @@ func (newState *RunJobTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunJobT func (newState *RunJobTask) SyncEffectiveFieldsDuringRead(existingState RunJobTask) { } +func (c RunJobTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + PipelineParams{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunJobTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9839,6 +10282,14 @@ func (newState *RunNow) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunNow) { func (newState *RunNow) SyncEffectiveFieldsDuringRead(existingState RunNow) { } +func (c RunNow) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + PipelineParams{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + QueueSettings{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNow. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10229,6 +10680,11 @@ func (newState *RunNowResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run func (newState *RunNowResponse) SyncEffectiveFieldsDuringRead(existingState RunNowResponse) { } +func (c RunNowResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunNowResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10308,6 +10764,16 @@ func (newState *RunOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunOutpu func (newState *RunOutput) SyncEffectiveFieldsDuringRead(existingState RunOutput) { } +func (c RunOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DbtOutput{}.ApplySchemaCustomizations(cs, append(path, "dbt_output")...) + Run{}.ApplySchemaCustomizations(cs, append(path, "metadata")...) + NotebookOutput{}.ApplySchemaCustomizations(cs, append(path, "notebook_output")...) + RunJobOutput{}.ApplySchemaCustomizations(cs, append(path, "run_job_output")...) + SqlOutput{}.ApplySchemaCustomizations(cs, append(path, "sql_output")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10594,6 +11060,12 @@ func (newState *RunParameters) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunP func (newState *RunParameters) SyncEffectiveFieldsDuringRead(existingState RunParameters) { } +func (c RunParameters) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineParams{}.ApplySchemaCustomizations(cs, append(path, "pipeline_params")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunParameters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10896,6 +11368,11 @@ func (newState *RunState) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunState) func (newState *RunState) SyncEffectiveFieldsDuringRead(existingState RunState) { } +func (c RunState) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10952,6 +11429,13 @@ func (newState *RunStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunStatu func (newState *RunStatus) SyncEffectiveFieldsDuringRead(existingState RunStatus) { } +func (c RunStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueueDetails{}.ApplySchemaCustomizations(cs, append(path, "queue_details")...) + TerminationDetails{}.ApplySchemaCustomizations(cs, append(path, "termination_details")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11225,6 +11709,34 @@ func (newState *RunTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunTask) { func (newState *RunTask) SyncEffectiveFieldsDuringRead(existingState RunTask) { } +func (c RunTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomsNotebookTask{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms_notebook_task")...) + ClusterInstance{}.ApplySchemaCustomizations(cs, append(path, "cluster_instance")...) + RunConditionTask{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + DbtTask{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + TaskDependency{}.ApplySchemaCustomizations(cs, append(path, "depends_on")...) + JobEmailNotifications{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + RunForEachTask{}.ApplySchemaCustomizations(cs, append(path, "for_each_task")...) + GitSource{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + compute_tf.ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + NotebookTask{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + TaskNotificationSettings{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + PipelineTask{}.ApplySchemaCustomizations(cs, append(path, "pipeline_task")...) + PythonWheelTask{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + ResolvedValues{}.ApplySchemaCustomizations(cs, append(path, "resolved_values")...) + RunJobTask{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + SparkJarTask{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + SparkPythonTask{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + SparkSubmitTask{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + SqlTask{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + RunState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + RunStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + cs.SetRequired(append(path, "task_key")...) + WebhookNotifications{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12027,6 +12539,11 @@ func (newState *SparkJarTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Spark func (newState *SparkJarTask) SyncEffectiveFieldsDuringRead(existingState SparkJarTask) { } +func (c SparkJarTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkJarTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12124,6 +12641,12 @@ func (newState *SparkPythonTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sp func (newState *SparkPythonTask) SyncEffectiveFieldsDuringRead(existingState SparkPythonTask) { } +func (c SparkPythonTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "python_file")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkPythonTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12205,6 +12728,11 @@ func (newState *SparkSubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sp func (newState *SparkSubmitTask) SyncEffectiveFieldsDuringRead(existingState SparkSubmitTask) { } +func (c SparkSubmitTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparkSubmitTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12290,6 +12818,12 @@ func (newState *SqlAlertOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sql func (newState *SqlAlertOutput) SyncEffectiveFieldsDuringRead(existingState SqlAlertOutput) { } +func (c SqlAlertOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlStatementOutput{}.ApplySchemaCustomizations(cs, append(path, "sql_statements")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlAlertOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12372,6 +12906,12 @@ func (newState *SqlDashboardOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SqlDashboardOutput) SyncEffectiveFieldsDuringRead(existingState SqlDashboardOutput) { } +func (c SqlDashboardOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlDashboardWidgetOutput{}.ApplySchemaCustomizations(cs, append(path, "widgets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12458,6 +12998,12 @@ func (newState *SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *SqlDashboardWidgetOutput) SyncEffectiveFieldsDuringRead(existingState SqlDashboardWidgetOutput) { } +func (c SqlDashboardWidgetOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlOutputError{}.ApplySchemaCustomizations(cs, append(path, "error")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlDashboardWidgetOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12546,6 +13092,14 @@ func (newState *SqlOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlOutpu func (newState *SqlOutput) SyncEffectiveFieldsDuringRead(existingState SqlOutput) { } +func (c SqlOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlAlertOutput{}.ApplySchemaCustomizations(cs, append(path, "alert_output")...) + SqlDashboardOutput{}.ApplySchemaCustomizations(cs, append(path, "dashboard_output")...) + SqlQueryOutput{}.ApplySchemaCustomizations(cs, append(path, "query_output")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12680,6 +13234,11 @@ func (newState *SqlOutputError) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sql func (newState *SqlOutputError) SyncEffectiveFieldsDuringRead(existingState SqlOutputError) { } +func (c SqlOutputError) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlOutputError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12730,6 +13289,12 @@ func (newState *SqlQueryOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sql func (newState *SqlQueryOutput) SyncEffectiveFieldsDuringRead(existingState SqlQueryOutput) { } +func (c SqlQueryOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlStatementOutput{}.ApplySchemaCustomizations(cs, append(path, "sql_statements")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlQueryOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12810,6 +13375,11 @@ func (newState *SqlStatementOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SqlStatementOutput) SyncEffectiveFieldsDuringRead(existingState SqlStatementOutput) { } +func (c SqlStatementOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlStatementOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12867,6 +13437,16 @@ func (newState *SqlTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTask) { func (newState *SqlTask) SyncEffectiveFieldsDuringRead(existingState SqlTask) { } +func (c SqlTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SqlTaskAlert{}.ApplySchemaCustomizations(cs, append(path, "alert")...) + SqlTaskDashboard{}.ApplySchemaCustomizations(cs, append(path, "dashboard")...) + SqlTaskFile{}.ApplySchemaCustomizations(cs, append(path, "file")...) + SqlTaskQuery{}.ApplySchemaCustomizations(cs, append(path, "query")...) + cs.SetRequired(append(path, "warehouse_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13069,6 +13649,13 @@ func (newState *SqlTaskAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTa func (newState *SqlTaskAlert) SyncEffectiveFieldsDuringRead(existingState SqlTaskAlert) { } +func (c SqlTaskAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "alert_id")...) + SqlTaskSubscription{}.ApplySchemaCustomizations(cs, append(path, "subscriptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13152,6 +13739,13 @@ func (newState *SqlTaskDashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SqlTaskDashboard) SyncEffectiveFieldsDuringRead(existingState SqlTaskDashboard) { } +func (c SqlTaskDashboard) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + SqlTaskSubscription{}.ApplySchemaCustomizations(cs, append(path, "subscriptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskDashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13240,6 +13834,12 @@ func (newState *SqlTaskFile) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTas func (newState *SqlTaskFile) SyncEffectiveFieldsDuringRead(existingState SqlTaskFile) { } +func (c SqlTaskFile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskFile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13284,6 +13884,12 @@ func (newState *SqlTaskQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan SqlTa func (newState *SqlTaskQuery) SyncEffectiveFieldsDuringRead(existingState SqlTaskQuery) { } +func (c SqlTaskQuery) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13333,6 +13939,11 @@ func (newState *SqlTaskSubscription) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *SqlTaskSubscription) SyncEffectiveFieldsDuringRead(existingState SqlTaskSubscription) { } +func (c SqlTaskSubscription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SqlTaskSubscription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13434,6 +14045,21 @@ func (newState *SubmitRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitRu func (newState *SubmitRun) SyncEffectiveFieldsDuringRead(existingState SubmitRun) { } +func (c SubmitRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + JobAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + JobEmailNotifications{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + JobEnvironment{}.ApplySchemaCustomizations(cs, append(path, "environments")...) + GitSource{}.ApplySchemaCustomizations(cs, append(path, "git_source")...) + JobsHealthRules{}.ApplySchemaCustomizations(cs, append(path, "health")...) + JobNotificationSettings{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + QueueSettings{}.ApplySchemaCustomizations(cs, append(path, "queue")...) + JobRunAs{}.ApplySchemaCustomizations(cs, append(path, "run_as")...) + SubmitTask{}.ApplySchemaCustomizations(cs, append(path, "tasks")...) + WebhookNotifications{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13794,6 +14420,11 @@ func (newState *SubmitRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SubmitRunResponse) SyncEffectiveFieldsDuringRead(existingState SubmitRunResponse) { } +func (c SubmitRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -13936,6 +14567,30 @@ func (newState *SubmitTask) SyncEffectiveFieldsDuringCreateOrUpdate(plan SubmitT func (newState *SubmitTask) SyncEffectiveFieldsDuringRead(existingState SubmitTask) { } +func (c SubmitTask) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomsNotebookTask{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms_notebook_task")...) + ConditionTask{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + DbtTask{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + TaskDependency{}.ApplySchemaCustomizations(cs, append(path, "depends_on")...) + JobEmailNotifications{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + ForEachTask{}.ApplySchemaCustomizations(cs, append(path, "for_each_task")...) + JobsHealthRules{}.ApplySchemaCustomizations(cs, append(path, "health")...) + compute_tf.ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + NotebookTask{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + TaskNotificationSettings{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + PipelineTask{}.ApplySchemaCustomizations(cs, append(path, "pipeline_task")...) + PythonWheelTask{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + RunJobTask{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + SparkJarTask{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + SparkPythonTask{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + SparkSubmitTask{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + SqlTask{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + cs.SetRequired(append(path, "task_key")...) + WebhookNotifications{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SubmitTask. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14590,6 +15245,11 @@ func (newState *TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringCreate func (newState *TableUpdateTriggerConfiguration) SyncEffectiveFieldsDuringRead(existingState TableUpdateTriggerConfiguration) { } +func (c TableUpdateTriggerConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableUpdateTriggerConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -14791,6 +15451,30 @@ func (newState *Task) SyncEffectiveFieldsDuringCreateOrUpdate(plan Task) { func (newState *Task) SyncEffectiveFieldsDuringRead(existingState Task) { } +func (c Task) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CleanRoomsNotebookTask{}.ApplySchemaCustomizations(cs, append(path, "clean_rooms_notebook_task")...) + ConditionTask{}.ApplySchemaCustomizations(cs, append(path, "condition_task")...) + DbtTask{}.ApplySchemaCustomizations(cs, append(path, "dbt_task")...) + TaskDependency{}.ApplySchemaCustomizations(cs, append(path, "depends_on")...) + TaskEmailNotifications{}.ApplySchemaCustomizations(cs, append(path, "email_notifications")...) + ForEachTask{}.ApplySchemaCustomizations(cs, append(path, "for_each_task")...) + JobsHealthRules{}.ApplySchemaCustomizations(cs, append(path, "health")...) + compute_tf.ClusterSpec{}.ApplySchemaCustomizations(cs, append(path, "new_cluster")...) + NotebookTask{}.ApplySchemaCustomizations(cs, append(path, "notebook_task")...) + TaskNotificationSettings{}.ApplySchemaCustomizations(cs, append(path, "notification_settings")...) + PipelineTask{}.ApplySchemaCustomizations(cs, append(path, "pipeline_task")...) + PythonWheelTask{}.ApplySchemaCustomizations(cs, append(path, "python_wheel_task")...) + RunJobTask{}.ApplySchemaCustomizations(cs, append(path, "run_job_task")...) + SparkJarTask{}.ApplySchemaCustomizations(cs, append(path, "spark_jar_task")...) + SparkPythonTask{}.ApplySchemaCustomizations(cs, append(path, "spark_python_task")...) + SparkSubmitTask{}.ApplySchemaCustomizations(cs, append(path, "spark_submit_task")...) + SqlTask{}.ApplySchemaCustomizations(cs, append(path, "sql_task")...) + cs.SetRequired(append(path, "task_key")...) + WebhookNotifications{}.ApplySchemaCustomizations(cs, append(path, "webhook_notifications")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Task. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15446,6 +16130,12 @@ func (newState *TaskDependency) SyncEffectiveFieldsDuringCreateOrUpdate(plan Tas func (newState *TaskDependency) SyncEffectiveFieldsDuringRead(existingState TaskDependency) { } +func (c TaskDependency) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "task_key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskDependency. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15521,6 +16211,11 @@ func (newState *TaskEmailNotifications) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *TaskEmailNotifications) SyncEffectiveFieldsDuringRead(existingState TaskEmailNotifications) { } +func (c TaskEmailNotifications) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskEmailNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15727,6 +16422,11 @@ func (newState *TaskNotificationSettings) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *TaskNotificationSettings) SyncEffectiveFieldsDuringRead(existingState TaskNotificationSettings) { } +func (c TaskNotificationSettings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TaskNotificationSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15829,6 +16529,11 @@ func (newState *TerminationDetails) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TerminationDetails) SyncEffectiveFieldsDuringRead(existingState TerminationDetails) { } +func (c TerminationDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15876,6 +16581,11 @@ func (newState *TriggerInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Trigge func (newState *TriggerInfo) SyncEffectiveFieldsDuringRead(existingState TriggerInfo) { } +func (c TriggerInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -15926,6 +16636,15 @@ func (newState *TriggerSettings) SyncEffectiveFieldsDuringCreateOrUpdate(plan Tr func (newState *TriggerSettings) SyncEffectiveFieldsDuringRead(existingState TriggerSettings) { } +func (c TriggerSettings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileArrivalTriggerConfiguration{}.ApplySchemaCustomizations(cs, append(path, "file_arrival")...) + PeriodicTriggerConfiguration{}.ApplySchemaCustomizations(cs, append(path, "periodic")...) + TableUpdateTriggerConfiguration{}.ApplySchemaCustomizations(cs, append(path, "table")...) + TableUpdateTriggerConfiguration{}.ApplySchemaCustomizations(cs, append(path, "table_update")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TriggerSettings. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16109,6 +16828,13 @@ func (newState *UpdateJob) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateJo func (newState *UpdateJob) SyncEffectiveFieldsDuringRead(existingState UpdateJob) { } +func (c UpdateJob) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "job_id")...) + JobSettings{}.ApplySchemaCustomizations(cs, append(path, "new_settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateJob. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16206,12 +16932,6 @@ func (o *UpdateJob) SetNewSettings(ctx context.Context, v JobSettings) { type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -16256,6 +16976,11 @@ func (newState *ViewItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan ViewItem) func (newState *ViewItem) SyncEffectiveFieldsDuringRead(existingState ViewItem) { } +func (c ViewItem) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ViewItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16301,6 +17026,12 @@ func (newState *Webhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan Webhook) { func (newState *Webhook) SyncEffectiveFieldsDuringRead(existingState Webhook) { } +func (c Webhook) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Webhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -16365,6 +17096,16 @@ func (newState *WebhookNotifications) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *WebhookNotifications) SyncEffectiveFieldsDuringRead(existingState WebhookNotifications) { } +func (c WebhookNotifications) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Webhook{}.ApplySchemaCustomizations(cs, append(path, "on_duration_warning_threshold_exceeded")...) + Webhook{}.ApplySchemaCustomizations(cs, append(path, "on_failure")...) + Webhook{}.ApplySchemaCustomizations(cs, append(path, "on_start")...) + Webhook{}.ApplySchemaCustomizations(cs, append(path, "on_streaming_backlog_exceeded")...) + Webhook{}.ApplySchemaCustomizations(cs, append(path, "on_success")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WebhookNotifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/marketplace_tf/legacy_model.go b/internal/service/marketplace_tf/legacy_model.go index 98b3310e8..d9fe883a9 100755 --- a/internal/service/marketplace_tf/legacy_model.go +++ b/internal/service/marketplace_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -33,6 +34,13 @@ func (newState *AddExchangeForListingRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *AddExchangeForListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddExchangeForListingRequest_SdkV2) { } +func (c AddExchangeForListingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange_id")...) + cs.SetRequired(append(path, "listing_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddExchangeForListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -76,6 +84,12 @@ func (newState *AddExchangeForListingResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *AddExchangeForListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState AddExchangeForListingResponse_SdkV2) { } +func (c AddExchangeForListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeListing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange_for_listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddExchangeForListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -142,12 +156,6 @@ type BatchGetListingsRequest_SdkV2 struct { Ids types.List `tfsdk:"-"` } -func (newState *BatchGetListingsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BatchGetListingsRequest_SdkV2) { -} - -func (newState *BatchGetListingsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState BatchGetListingsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -219,6 +227,12 @@ func (newState *BatchGetListingsResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *BatchGetListingsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState BatchGetListingsResponse_SdkV2) { } +func (c BatchGetListingsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -285,12 +299,6 @@ type BatchGetProvidersRequest_SdkV2 struct { Ids types.List `tfsdk:"-"` } -func (newState *BatchGetProvidersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BatchGetProvidersRequest_SdkV2) { -} - -func (newState *BatchGetProvidersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState BatchGetProvidersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetProvidersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -362,6 +370,12 @@ func (newState *BatchGetProvidersResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *BatchGetProvidersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState BatchGetProvidersResponse_SdkV2) { } +func (c BatchGetProvidersResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "providers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetProvidersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -433,6 +447,12 @@ func (newState *ConsumerTerms_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ConsumerTerms_SdkV2) SyncEffectiveFieldsDuringRead(existingState ConsumerTerms_SdkV2) { } +func (c ConsumerTerms_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ConsumerTerms. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -482,6 +502,11 @@ func (newState *ContactInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ContactInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ContactInfo_SdkV2) { } +func (c ContactInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContactInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -529,6 +554,13 @@ func (newState *CreateExchangeFilterRequest_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *CreateExchangeFilterRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExchangeFilterRequest_SdkV2) { } +func (c CreateExchangeFilterRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "filter")...) + ExchangeFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeFilterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -600,6 +632,11 @@ func (newState *CreateExchangeFilterResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *CreateExchangeFilterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExchangeFilterResponse_SdkV2) { } +func (c CreateExchangeFilterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeFilterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -641,6 +678,13 @@ func (newState *CreateExchangeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateExchangeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExchangeRequest_SdkV2) { } +func (c CreateExchangeRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange")...) + Exchange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -712,6 +756,11 @@ func (newState *CreateExchangeResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateExchangeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExchangeResponse_SdkV2) { } +func (c CreateExchangeResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -759,6 +808,15 @@ func (newState *CreateFileRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateFileRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateFileRequest_SdkV2) { } +func (c CreateFileRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "file_parent")...) + FileParent_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file_parent")...) + cs.SetRequired(append(path, "marketplace_file_type")...) + cs.SetRequired(append(path, "mime_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -838,6 +896,12 @@ func (newState *CreateFileResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateFileResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateFileResponse_SdkV2) { } +func (c CreateFileResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFileResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -921,6 +985,14 @@ func (newState *CreateInstallationRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *CreateInstallationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateInstallationRequest_SdkV2) { } +func (c CreateInstallationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ConsumerTerms_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "accepted_consumer_terms")...) + cs.SetRequired(append(path, "listing_id")...) + RepoInstallation_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "repo_detail")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstallationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1031,6 +1103,13 @@ func (newState *CreateListingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateListingRequest_SdkV2) { } +func (c CreateListingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "listing")...) + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1102,6 +1181,11 @@ func (newState *CreateListingResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateListingResponse_SdkV2) { } +func (c CreateListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1160,6 +1244,15 @@ func (newState *CreatePersonalizationRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *CreatePersonalizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePersonalizationRequest_SdkV2) { } +func (c CreatePersonalizationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "accepted_consumer_terms")...) + ConsumerTerms_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "accepted_consumer_terms")...) + cs.SetRequired(append(path, "intended_use")...) + cs.SetRequired(append(path, "listing_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePersonalizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1247,6 +1340,11 @@ func (newState *CreatePersonalizationRequestResponse_SdkV2) SyncEffectiveFieldsD func (newState *CreatePersonalizationRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePersonalizationRequestResponse_SdkV2) { } +func (c CreatePersonalizationRequestResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePersonalizationRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1288,6 +1386,13 @@ func (newState *CreateProviderRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateProviderRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateProviderRequest_SdkV2) { } +func (c CreateProviderRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "provider")...) + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1359,6 +1464,11 @@ func (newState *CreateProviderResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateProviderResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateProviderResponse_SdkV2) { } +func (c CreateProviderResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1402,6 +1512,13 @@ func (newState *DataRefreshInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DataRefreshInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataRefreshInfo_SdkV2) { } +func (c DataRefreshInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "interval")...) + cs.SetRequired(append(path, "unit")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataRefreshInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1440,12 +1557,6 @@ type DeleteExchangeFilterRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteExchangeFilterRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExchangeFilterRequest_SdkV2) { -} - -func (newState *DeleteExchangeFilterRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeFilterRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeFilterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1486,6 +1597,11 @@ func (newState *DeleteExchangeFilterResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *DeleteExchangeFilterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeFilterResponse_SdkV2) { } +func (c DeleteExchangeFilterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeFilterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1518,12 +1634,6 @@ type DeleteExchangeRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteExchangeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExchangeRequest_SdkV2) { -} - -func (newState *DeleteExchangeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1564,6 +1674,11 @@ func (newState *DeleteExchangeResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *DeleteExchangeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeResponse_SdkV2) { } +func (c DeleteExchangeResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1596,12 +1711,6 @@ type DeleteFileRequest_SdkV2 struct { FileId types.String `tfsdk:"-"` } -func (newState *DeleteFileRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFileRequest_SdkV2) { -} - -func (newState *DeleteFileRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteFileRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1642,6 +1751,11 @@ func (newState *DeleteFileResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *DeleteFileResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteFileResponse_SdkV2) { } +func (c DeleteFileResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1676,12 +1790,6 @@ type DeleteInstallationRequest_SdkV2 struct { ListingId types.String `tfsdk:"-"` } -func (newState *DeleteInstallationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstallationRequest_SdkV2) { -} - -func (newState *DeleteInstallationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstallationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstallationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1724,6 +1832,11 @@ func (newState *DeleteInstallationResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *DeleteInstallationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteInstallationResponse_SdkV2) { } +func (c DeleteInstallationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstallationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1756,12 +1869,6 @@ type DeleteListingRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteListingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteListingRequest_SdkV2) { -} - -func (newState *DeleteListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteListingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1802,6 +1909,11 @@ func (newState *DeleteListingResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *DeleteListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteListingResponse_SdkV2) { } +func (c DeleteListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1834,12 +1946,6 @@ type DeleteProviderRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteProviderRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteProviderRequest_SdkV2) { -} - -func (newState *DeleteProviderRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteProviderRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1880,6 +1986,11 @@ func (newState *DeleteProviderResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *DeleteProviderResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteProviderResponse_SdkV2) { } +func (c DeleteProviderResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1933,6 +2044,14 @@ func (newState *Exchange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exc func (newState *Exchange_SdkV2) SyncEffectiveFieldsDuringRead(existingState Exchange_SdkV2) { } +func (c Exchange_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + ExchangeListing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "linked_listings")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Exchange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2065,6 +2184,14 @@ func (newState *ExchangeFilter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ExchangeFilter_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExchangeFilter_SdkV2) { } +func (c ExchangeFilter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange_id")...) + cs.SetRequired(append(path, "filter_type")...) + cs.SetRequired(append(path, "filter_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2134,6 +2261,11 @@ func (newState *ExchangeListing_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ExchangeListing_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExchangeListing_SdkV2) { } +func (c ExchangeListing_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeListing. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2206,6 +2338,12 @@ func (newState *FileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Fil func (newState *FileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileInfo_SdkV2) { } +func (c FileInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileParent_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file_parent")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2297,6 +2435,11 @@ func (newState *FileParent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan F func (newState *FileParent_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileParent_SdkV2) { } +func (c FileParent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileParent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2335,12 +2478,6 @@ type GetExchangeRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetExchangeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExchangeRequest_SdkV2) { -} - -func (newState *GetExchangeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExchangeRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2382,6 +2519,12 @@ func (newState *GetExchangeResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *GetExchangeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExchangeResponse_SdkV2) { } +func (c GetExchangeResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Exchange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2448,12 +2591,6 @@ type GetFileRequest_SdkV2 struct { FileId types.String `tfsdk:"-"` } -func (newState *GetFileRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetFileRequest_SdkV2) { -} - -func (newState *GetFileRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetFileRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2495,6 +2632,12 @@ func (newState *GetFileResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *GetFileResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetFileResponse_SdkV2) { } +func (c GetFileResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetFileResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2567,6 +2710,11 @@ func (newState *GetLatestVersionProviderAnalyticsDashboardResponse_SdkV2) SyncEf func (newState *GetLatestVersionProviderAnalyticsDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionProviderAnalyticsDashboardResponse_SdkV2) { } +func (c GetLatestVersionProviderAnalyticsDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLatestVersionProviderAnalyticsDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2607,12 +2755,6 @@ type GetListingContentMetadataRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *GetListingContentMetadataRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetListingContentMetadataRequest_SdkV2) { -} - -func (newState *GetListingContentMetadataRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetListingContentMetadataRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingContentMetadataRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2660,6 +2802,12 @@ func (newState *GetListingContentMetadataResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *GetListingContentMetadataResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetListingContentMetadataResponse_SdkV2) { } +func (c GetListingContentMetadataResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SharedDataObject_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "shared_data_objects")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingContentMetadataResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2728,12 +2876,6 @@ type GetListingRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetListingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetListingRequest_SdkV2) { -} - -func (newState *GetListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetListingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2775,6 +2917,12 @@ func (newState *GetListingResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *GetListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetListingResponse_SdkV2) { } +func (c GetListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2843,12 +2991,6 @@ type GetListingsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *GetListingsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetListingsRequest_SdkV2) { -} - -func (newState *GetListingsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetListingsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2894,6 +3036,12 @@ func (newState *GetListingsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *GetListingsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetListingsResponse_SdkV2) { } +func (c GetListingsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2962,12 +3110,6 @@ type GetPersonalizationRequestRequest_SdkV2 struct { ListingId types.String `tfsdk:"-"` } -func (newState *GetPersonalizationRequestRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPersonalizationRequestRequest_SdkV2) { -} - -func (newState *GetPersonalizationRequestRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPersonalizationRequestRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPersonalizationRequestRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3009,6 +3151,12 @@ func (newState *GetPersonalizationRequestResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *GetPersonalizationRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPersonalizationRequestResponse_SdkV2) { } +func (c GetPersonalizationRequestResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PersonalizationRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "personalization_requests")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPersonalizationRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3075,12 +3223,6 @@ type GetProviderRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetProviderRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetProviderRequest_SdkV2) { -} - -func (newState *GetProviderRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetProviderRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3122,6 +3264,12 @@ func (newState *GetProviderResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *GetProviderResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetProviderResponse_SdkV2) { } +func (c GetProviderResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3193,6 +3341,12 @@ func (newState *Installation_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *Installation_SdkV2) SyncEffectiveFieldsDuringRead(existingState Installation_SdkV2) { } +func (c Installation_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "installation")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Installation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3288,6 +3442,13 @@ func (newState *InstallationDetail_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *InstallationDetail_SdkV2) SyncEffectiveFieldsDuringRead(existingState InstallationDetail_SdkV2) { } +func (c InstallationDetail_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_detail")...) + TokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tokens")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallationDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3409,12 +3570,6 @@ type ListAllInstallationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAllInstallationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllInstallationsRequest_SdkV2) { -} - -func (newState *ListAllInstallationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllInstallationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllInstallationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3460,6 +3615,12 @@ func (newState *ListAllInstallationsResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ListAllInstallationsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllInstallationsResponse_SdkV2) { } +func (c ListAllInstallationsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "installations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllInstallationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3530,12 +3691,6 @@ type ListAllPersonalizationRequestsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAllPersonalizationRequestsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllPersonalizationRequestsRequest_SdkV2) { -} - -func (newState *ListAllPersonalizationRequestsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllPersonalizationRequestsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllPersonalizationRequestsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3581,6 +3736,12 @@ func (newState *ListAllPersonalizationRequestsResponse_SdkV2) SyncEffectiveField func (newState *ListAllPersonalizationRequestsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAllPersonalizationRequestsResponse_SdkV2) { } +func (c ListAllPersonalizationRequestsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PersonalizationRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "personalization_requests")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllPersonalizationRequestsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3653,12 +3814,6 @@ type ListExchangeFiltersRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExchangeFiltersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExchangeFiltersRequest_SdkV2) { -} - -func (newState *ListExchangeFiltersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExchangeFiltersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangeFiltersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3706,6 +3861,12 @@ func (newState *ListExchangeFiltersResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *ListExchangeFiltersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExchangeFiltersResponse_SdkV2) { } +func (c ListExchangeFiltersResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangeFiltersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3778,12 +3939,6 @@ type ListExchangesForListingRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExchangesForListingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExchangesForListingRequest_SdkV2) { -} - -func (newState *ListExchangesForListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExchangesForListingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesForListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3831,6 +3986,12 @@ func (newState *ListExchangesForListingResponse_SdkV2) SyncEffectiveFieldsDuring func (newState *ListExchangesForListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExchangesForListingResponse_SdkV2) { } +func (c ListExchangesForListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeListing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange_listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesForListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3901,12 +4062,6 @@ type ListExchangesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExchangesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExchangesRequest_SdkV2) { -} - -func (newState *ListExchangesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExchangesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3952,6 +4107,12 @@ func (newState *ListExchangesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListExchangesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExchangesResponse_SdkV2) { } +func (c ListExchangesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Exchange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchanges")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4024,12 +4185,6 @@ type ListFilesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListFilesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListFilesRequest_SdkV2) { -} - -func (newState *ListFilesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFilesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFilesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4107,6 +4262,12 @@ func (newState *ListFilesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListFilesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFilesResponse_SdkV2) { } +func (c ListFilesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file_infos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFilesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4179,12 +4340,6 @@ type ListFulfillmentsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListFulfillmentsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListFulfillmentsRequest_SdkV2) { -} - -func (newState *ListFulfillmentsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFulfillmentsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFulfillmentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4232,6 +4387,12 @@ func (newState *ListFulfillmentsResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ListFulfillmentsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFulfillmentsResponse_SdkV2) { } +func (c ListFulfillmentsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListingFulfillment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "fulfillments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFulfillmentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4304,12 +4465,6 @@ type ListInstallationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListInstallationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstallationsRequest_SdkV2) { -} - -func (newState *ListInstallationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstallationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstallationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4357,6 +4512,12 @@ func (newState *ListInstallationsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ListInstallationsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListInstallationsResponse_SdkV2) { } +func (c ListInstallationsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "installations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstallationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4429,12 +4590,6 @@ type ListListingsForExchangeRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListListingsForExchangeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListListingsForExchangeRequest_SdkV2) { -} - -func (newState *ListListingsForExchangeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListListingsForExchangeRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsForExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4482,6 +4637,12 @@ func (newState *ListListingsForExchangeResponse_SdkV2) SyncEffectiveFieldsDuring func (newState *ListListingsForExchangeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListListingsForExchangeResponse_SdkV2) { } +func (c ListListingsForExchangeResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeListing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange_listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsForExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4567,12 +4728,6 @@ type ListListingsRequest_SdkV2 struct { Tags types.List `tfsdk:"-"` } -func (newState *ListListingsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListListingsRequest_SdkV2) { -} - -func (newState *ListListingsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListListingsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4749,6 +4904,12 @@ func (newState *ListListingsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListListingsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListListingsResponse_SdkV2) { } +func (c ListListingsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4827,6 +4988,13 @@ func (newState *ListProviderAnalyticsDashboardResponse_SdkV2) SyncEffectiveField func (newState *ListProviderAnalyticsDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListProviderAnalyticsDashboardResponse_SdkV2) { } +func (c ListProviderAnalyticsDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProviderAnalyticsDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4871,12 +5039,6 @@ type ListProvidersRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListProvidersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProvidersRequest_SdkV2) { -} - -func (newState *ListProvidersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListProvidersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4924,6 +5086,12 @@ func (newState *ListProvidersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListProvidersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListProvidersResponse_SdkV2) { } +func (c ListProvidersResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "providers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5001,6 +5169,14 @@ func (newState *Listing_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan List func (newState *Listing_SdkV2) SyncEffectiveFieldsDuringRead(existingState Listing_SdkV2) { } +func (c Listing_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListingDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "detail")...) + cs.SetRequired(append(path, "summary")...) + ListingSummary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "summary")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Listing. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5152,6 +5328,15 @@ func (newState *ListingDetail_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ListingDetail_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListingDetail_SdkV2) { } +func (c ListingDetail_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DataRefreshInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "collection_granularity")...) + FileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedded_notebook_file_infos")...) + ListingTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + DataRefreshInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "update_frequency")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5412,6 +5597,14 @@ func (newState *ListingFulfillment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListingFulfillment_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListingFulfillment_SdkV2) { } +func (c ListingFulfillment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "listing_id")...) + RepoInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "repo_info")...) + ShareInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "share_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingFulfillment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5520,6 +5713,11 @@ func (newState *ListingSetting_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListingSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListingSetting_SdkV2) { } +func (c ListingSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5599,6 +5797,17 @@ func (newState *ListingSummary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListingSummary_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListingSummary_SdkV2) { } +func (c ListingSummary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "git_repo")...) + cs.SetRequired(append(path, "listingType")...) + cs.SetRequired(append(path, "name")...) + RegionInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provider_region")...) + ListingSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + ShareInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "share")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingSummary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5855,6 +6064,11 @@ func (newState *ListingTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *ListingTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListingTag_SdkV2) { } +func (c ListingTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5959,6 +6173,15 @@ func (newState *PersonalizationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *PersonalizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PersonalizationRequest_SdkV2) { } +func (c PersonalizationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "consumer_region")...) + RegionInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "consumer_region")...) + ContactInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "contact_info")...) + ShareInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "share")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PersonalizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6118,6 +6341,12 @@ func (newState *ProviderAnalyticsDashboard_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ProviderAnalyticsDashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState ProviderAnalyticsDashboard_SdkV2) { } +func (c ProviderAnalyticsDashboard_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderAnalyticsDashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6185,6 +6414,15 @@ func (newState *ProviderInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ProviderInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ProviderInfo_SdkV2) { } +func (c ProviderInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "business_contact_email")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "privacy_policy_link")...) + cs.SetRequired(append(path, "term_of_service_link")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6254,6 +6492,11 @@ func (newState *RegionInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *RegionInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegionInfo_SdkV2) { } +func (c RegionInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6292,12 +6535,6 @@ type RemoveExchangeForListingRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *RemoveExchangeForListingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveExchangeForListingRequest_SdkV2) { -} - -func (newState *RemoveExchangeForListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RemoveExchangeForListingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveExchangeForListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6338,6 +6575,11 @@ func (newState *RemoveExchangeForListingResponse_SdkV2) SyncEffectiveFieldsDurin func (newState *RemoveExchangeForListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RemoveExchangeForListingResponse_SdkV2) { } +func (c RemoveExchangeForListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveExchangeForListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6376,6 +6618,12 @@ func (newState *RepoInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Rep func (newState *RepoInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoInfo_SdkV2) { } +func (c RepoInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "git_repo_url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6422,6 +6670,13 @@ func (newState *RepoInstallation_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *RepoInstallation_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoInstallation_SdkV2) { } +func (c RepoInstallation_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "repo_name")...) + cs.SetRequired(append(path, "repo_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoInstallation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6475,12 +6730,6 @@ type SearchListingsRequest_SdkV2 struct { Query types.String `tfsdk:"-"` } -func (newState *SearchListingsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchListingsRequest_SdkV2) { -} - -func (newState *SearchListingsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchListingsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6626,6 +6875,12 @@ func (newState *SearchListingsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *SearchListingsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchListingsResponse_SdkV2) { } +func (c SearchListingsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6701,6 +6956,13 @@ func (newState *ShareInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sh func (newState *ShareInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ShareInfo_SdkV2) { } +func (c ShareInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6748,6 +7010,11 @@ func (newState *SharedDataObject_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SharedDataObject_SdkV2) SyncEffectiveFieldsDuringRead(existingState SharedDataObject_SdkV2) { } +func (c SharedDataObject_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObject. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6799,6 +7066,11 @@ func (newState *TokenDetail_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TokenDetail_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenDetail_SdkV2) { } +func (c TokenDetail_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6860,6 +7132,11 @@ func (newState *TokenInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan To func (newState *TokenInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenInfo_SdkV2) { } +func (c TokenInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6915,6 +7192,14 @@ func (newState *UpdateExchangeFilterRequest_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *UpdateExchangeFilterRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeFilterRequest_SdkV2) { } +func (c UpdateExchangeFilterRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "filter")...) + ExchangeFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeFilterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6988,6 +7273,12 @@ func (newState *UpdateExchangeFilterResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *UpdateExchangeFilterResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeFilterResponse_SdkV2) { } +func (c UpdateExchangeFilterResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeFilter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeFilterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7061,6 +7352,14 @@ func (newState *UpdateExchangeRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateExchangeRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeRequest_SdkV2) { } +func (c UpdateExchangeRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange")...) + Exchange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7134,6 +7433,12 @@ func (newState *UpdateExchangeResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateExchangeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeResponse_SdkV2) { } +func (c UpdateExchangeResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Exchange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7211,6 +7516,15 @@ func (newState *UpdateInstallationRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *UpdateInstallationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateInstallationRequest_SdkV2) { } +func (c UpdateInstallationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "installation")...) + InstallationDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "installation")...) + cs.SetRequired(append(path, "installation_id")...) + cs.SetRequired(append(path, "listing_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInstallationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7288,6 +7602,12 @@ func (newState *UpdateInstallationResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UpdateInstallationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateInstallationResponse_SdkV2) { } +func (c UpdateInstallationResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "installation")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInstallationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7361,6 +7681,14 @@ func (newState *UpdateListingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateListingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateListingRequest_SdkV2) { } +func (c UpdateListingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "listing")...) + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7434,6 +7762,12 @@ func (newState *UpdateListingResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateListingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateListingResponse_SdkV2) { } +func (c UpdateListingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7513,6 +7847,15 @@ func (newState *UpdatePersonalizationRequestRequest_SdkV2) SyncEffectiveFieldsDu func (newState *UpdatePersonalizationRequestRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePersonalizationRequestRequest_SdkV2) { } +func (c UpdatePersonalizationRequestRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "listing_id")...) + cs.SetRequired(append(path, "request_id")...) + ShareInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "share")...) + cs.SetRequired(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePersonalizationRequestRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7592,6 +7935,12 @@ func (newState *UpdatePersonalizationRequestResponse_SdkV2) SyncEffectiveFieldsD func (newState *UpdatePersonalizationRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePersonalizationRequestResponse_SdkV2) { } +func (c UpdatePersonalizationRequestResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PersonalizationRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "request")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePersonalizationRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7668,6 +8017,12 @@ func (newState *UpdateProviderAnalyticsDashboardRequest_SdkV2) SyncEffectiveFiel func (newState *UpdateProviderAnalyticsDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateProviderAnalyticsDashboardRequest_SdkV2) { } +func (c UpdateProviderAnalyticsDashboardRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderAnalyticsDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7716,6 +8071,13 @@ func (newState *UpdateProviderAnalyticsDashboardResponse_SdkV2) SyncEffectiveFie func (newState *UpdateProviderAnalyticsDashboardResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateProviderAnalyticsDashboardResponse_SdkV2) { } +func (c UpdateProviderAnalyticsDashboardResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderAnalyticsDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7763,6 +8125,14 @@ func (newState *UpdateProviderRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateProviderRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateProviderRequest_SdkV2) { } +func (c UpdateProviderRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "provider")...) + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7836,6 +8206,12 @@ func (newState *UpdateProviderResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateProviderResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateProviderResponse_SdkV2) { } +func (c UpdateProviderResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/marketplace_tf/model.go b/internal/service/marketplace_tf/model.go index dbd7a512c..10e2974cf 100755 --- a/internal/service/marketplace_tf/model.go +++ b/internal/service/marketplace_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -33,6 +34,13 @@ func (newState *AddExchangeForListingRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *AddExchangeForListingRequest) SyncEffectiveFieldsDuringRead(existingState AddExchangeForListingRequest) { } +func (c AddExchangeForListingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange_id")...) + cs.SetRequired(append(path, "listing_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddExchangeForListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -76,6 +84,12 @@ func (newState *AddExchangeForListingResponse) SyncEffectiveFieldsDuringCreateOr func (newState *AddExchangeForListingResponse) SyncEffectiveFieldsDuringRead(existingState AddExchangeForListingResponse) { } +func (c AddExchangeForListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeListing{}.ApplySchemaCustomizations(cs, append(path, "exchange_for_listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AddExchangeForListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -142,12 +156,6 @@ type BatchGetListingsRequest struct { Ids types.List `tfsdk:"-"` } -func (newState *BatchGetListingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan BatchGetListingsRequest) { -} - -func (newState *BatchGetListingsRequest) SyncEffectiveFieldsDuringRead(existingState BatchGetListingsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -219,6 +227,12 @@ func (newState *BatchGetListingsResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *BatchGetListingsResponse) SyncEffectiveFieldsDuringRead(existingState BatchGetListingsResponse) { } +func (c BatchGetListingsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -285,12 +299,6 @@ type BatchGetProvidersRequest struct { Ids types.List `tfsdk:"-"` } -func (newState *BatchGetProvidersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan BatchGetProvidersRequest) { -} - -func (newState *BatchGetProvidersRequest) SyncEffectiveFieldsDuringRead(existingState BatchGetProvidersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetProvidersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -362,6 +370,12 @@ func (newState *BatchGetProvidersResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *BatchGetProvidersResponse) SyncEffectiveFieldsDuringRead(existingState BatchGetProvidersResponse) { } +func (c BatchGetProvidersResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "providers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BatchGetProvidersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -433,6 +447,12 @@ func (newState *ConsumerTerms) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cons func (newState *ConsumerTerms) SyncEffectiveFieldsDuringRead(existingState ConsumerTerms) { } +func (c ConsumerTerms) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ConsumerTerms. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -482,6 +502,11 @@ func (newState *ContactInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Contac func (newState *ContactInfo) SyncEffectiveFieldsDuringRead(existingState ContactInfo) { } +func (c ContactInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ContactInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -529,6 +554,13 @@ func (newState *CreateExchangeFilterRequest) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateExchangeFilterRequest) SyncEffectiveFieldsDuringRead(existingState CreateExchangeFilterRequest) { } +func (c CreateExchangeFilterRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "filter")...) + ExchangeFilter{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeFilterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -600,6 +632,11 @@ func (newState *CreateExchangeFilterResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateExchangeFilterResponse) SyncEffectiveFieldsDuringRead(existingState CreateExchangeFilterResponse) { } +func (c CreateExchangeFilterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeFilterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -641,6 +678,13 @@ func (newState *CreateExchangeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateExchangeRequest) SyncEffectiveFieldsDuringRead(existingState CreateExchangeRequest) { } +func (c CreateExchangeRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange")...) + Exchange{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -712,6 +756,11 @@ func (newState *CreateExchangeResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateExchangeResponse) SyncEffectiveFieldsDuringRead(existingState CreateExchangeResponse) { } +func (c CreateExchangeResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -759,6 +808,15 @@ func (newState *CreateFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateFileRequest) SyncEffectiveFieldsDuringRead(existingState CreateFileRequest) { } +func (c CreateFileRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "file_parent")...) + FileParent{}.ApplySchemaCustomizations(cs, append(path, "file_parent")...) + cs.SetRequired(append(path, "marketplace_file_type")...) + cs.SetRequired(append(path, "mime_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -838,6 +896,12 @@ func (newState *CreateFileResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateFileResponse) SyncEffectiveFieldsDuringRead(existingState CreateFileResponse) { } +func (c CreateFileResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo{}.ApplySchemaCustomizations(cs, append(path, "file_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateFileResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -921,6 +985,14 @@ func (newState *CreateInstallationRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateInstallationRequest) SyncEffectiveFieldsDuringRead(existingState CreateInstallationRequest) { } +func (c CreateInstallationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ConsumerTerms{}.ApplySchemaCustomizations(cs, append(path, "accepted_consumer_terms")...) + cs.SetRequired(append(path, "listing_id")...) + RepoInstallation{}.ApplySchemaCustomizations(cs, append(path, "repo_detail")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateInstallationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1031,6 +1103,13 @@ func (newState *CreateListingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateListingRequest) SyncEffectiveFieldsDuringRead(existingState CreateListingRequest) { } +func (c CreateListingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "listing")...) + Listing{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1102,6 +1181,11 @@ func (newState *CreateListingResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateListingResponse) SyncEffectiveFieldsDuringRead(existingState CreateListingResponse) { } +func (c CreateListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1160,6 +1244,15 @@ func (newState *CreatePersonalizationRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *CreatePersonalizationRequest) SyncEffectiveFieldsDuringRead(existingState CreatePersonalizationRequest) { } +func (c CreatePersonalizationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "accepted_consumer_terms")...) + ConsumerTerms{}.ApplySchemaCustomizations(cs, append(path, "accepted_consumer_terms")...) + cs.SetRequired(append(path, "intended_use")...) + cs.SetRequired(append(path, "listing_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePersonalizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1247,6 +1340,11 @@ func (newState *CreatePersonalizationRequestResponse) SyncEffectiveFieldsDuringC func (newState *CreatePersonalizationRequestResponse) SyncEffectiveFieldsDuringRead(existingState CreatePersonalizationRequestResponse) { } +func (c CreatePersonalizationRequestResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePersonalizationRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1288,6 +1386,13 @@ func (newState *CreateProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateProviderRequest) SyncEffectiveFieldsDuringRead(existingState CreateProviderRequest) { } +func (c CreateProviderRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "provider")...) + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1359,6 +1464,11 @@ func (newState *CreateProviderResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateProviderResponse) SyncEffectiveFieldsDuringRead(existingState CreateProviderResponse) { } +func (c CreateProviderResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1402,6 +1512,13 @@ func (newState *DataRefreshInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Da func (newState *DataRefreshInfo) SyncEffectiveFieldsDuringRead(existingState DataRefreshInfo) { } +func (c DataRefreshInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "interval")...) + cs.SetRequired(append(path, "unit")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataRefreshInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1440,12 +1557,6 @@ type DeleteExchangeFilterRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteExchangeFilterRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExchangeFilterRequest) { -} - -func (newState *DeleteExchangeFilterRequest) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeFilterRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeFilterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1486,6 +1597,11 @@ func (newState *DeleteExchangeFilterResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *DeleteExchangeFilterResponse) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeFilterResponse) { } +func (c DeleteExchangeFilterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeFilterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1518,12 +1634,6 @@ type DeleteExchangeRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteExchangeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteExchangeRequest) { -} - -func (newState *DeleteExchangeRequest) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1564,6 +1674,11 @@ func (newState *DeleteExchangeResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *DeleteExchangeResponse) SyncEffectiveFieldsDuringRead(existingState DeleteExchangeResponse) { } +func (c DeleteExchangeResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1596,12 +1711,6 @@ type DeleteFileRequest struct { FileId types.String `tfsdk:"-"` } -func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFileRequest) { -} - -func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringRead(existingState DeleteFileRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1642,6 +1751,11 @@ func (newState *DeleteFileResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteFileResponse) SyncEffectiveFieldsDuringRead(existingState DeleteFileResponse) { } +func (c DeleteFileResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1676,12 +1790,6 @@ type DeleteInstallationRequest struct { ListingId types.String `tfsdk:"-"` } -func (newState *DeleteInstallationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteInstallationRequest) { -} - -func (newState *DeleteInstallationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteInstallationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstallationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1724,6 +1832,11 @@ func (newState *DeleteInstallationResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *DeleteInstallationResponse) SyncEffectiveFieldsDuringRead(existingState DeleteInstallationResponse) { } +func (c DeleteInstallationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteInstallationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1756,12 +1869,6 @@ type DeleteListingRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteListingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteListingRequest) { -} - -func (newState *DeleteListingRequest) SyncEffectiveFieldsDuringRead(existingState DeleteListingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1802,6 +1909,11 @@ func (newState *DeleteListingResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DeleteListingResponse) SyncEffectiveFieldsDuringRead(existingState DeleteListingResponse) { } +func (c DeleteListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1834,12 +1946,6 @@ type DeleteProviderRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteProviderRequest) { -} - -func (newState *DeleteProviderRequest) SyncEffectiveFieldsDuringRead(existingState DeleteProviderRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1880,6 +1986,11 @@ func (newState *DeleteProviderResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *DeleteProviderResponse) SyncEffectiveFieldsDuringRead(existingState DeleteProviderResponse) { } +func (c DeleteProviderResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1933,6 +2044,14 @@ func (newState *Exchange) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exchange) func (newState *Exchange) SyncEffectiveFieldsDuringRead(existingState Exchange) { } +func (c Exchange) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeFilter{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + ExchangeListing{}.ApplySchemaCustomizations(cs, append(path, "linked_listings")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Exchange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2065,6 +2184,14 @@ func (newState *ExchangeFilter) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exc func (newState *ExchangeFilter) SyncEffectiveFieldsDuringRead(existingState ExchangeFilter) { } +func (c ExchangeFilter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange_id")...) + cs.SetRequired(append(path, "filter_type")...) + cs.SetRequired(append(path, "filter_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2134,6 +2261,11 @@ func (newState *ExchangeListing) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ex func (newState *ExchangeListing) SyncEffectiveFieldsDuringRead(existingState ExchangeListing) { } +func (c ExchangeListing) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeListing. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2206,6 +2338,12 @@ func (newState *FileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileInfo) func (newState *FileInfo) SyncEffectiveFieldsDuringRead(existingState FileInfo) { } +func (c FileInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileParent{}.ApplySchemaCustomizations(cs, append(path, "file_parent")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2297,6 +2435,11 @@ func (newState *FileParent) SyncEffectiveFieldsDuringCreateOrUpdate(plan FilePar func (newState *FileParent) SyncEffectiveFieldsDuringRead(existingState FileParent) { } +func (c FileParent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileParent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2335,12 +2478,6 @@ type GetExchangeRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetExchangeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExchangeRequest) { -} - -func (newState *GetExchangeRequest) SyncEffectiveFieldsDuringRead(existingState GetExchangeRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2382,6 +2519,12 @@ func (newState *GetExchangeResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *GetExchangeResponse) SyncEffectiveFieldsDuringRead(existingState GetExchangeResponse) { } +func (c GetExchangeResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Exchange{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2448,12 +2591,6 @@ type GetFileRequest struct { FileId types.String `tfsdk:"-"` } -func (newState *GetFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetFileRequest) { -} - -func (newState *GetFileRequest) SyncEffectiveFieldsDuringRead(existingState GetFileRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetFileRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2495,6 +2632,12 @@ func (newState *GetFileResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ge func (newState *GetFileResponse) SyncEffectiveFieldsDuringRead(existingState GetFileResponse) { } +func (c GetFileResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo{}.ApplySchemaCustomizations(cs, append(path, "file_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetFileResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2567,6 +2710,11 @@ func (newState *GetLatestVersionProviderAnalyticsDashboardResponse) SyncEffectiv func (newState *GetLatestVersionProviderAnalyticsDashboardResponse) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionProviderAnalyticsDashboardResponse) { } +func (c GetLatestVersionProviderAnalyticsDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLatestVersionProviderAnalyticsDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2607,12 +2755,6 @@ type GetListingContentMetadataRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *GetListingContentMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetListingContentMetadataRequest) { -} - -func (newState *GetListingContentMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetListingContentMetadataRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingContentMetadataRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2660,6 +2802,12 @@ func (newState *GetListingContentMetadataResponse) SyncEffectiveFieldsDuringCrea func (newState *GetListingContentMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetListingContentMetadataResponse) { } +func (c GetListingContentMetadataResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SharedDataObject{}.ApplySchemaCustomizations(cs, append(path, "shared_data_objects")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingContentMetadataResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2728,12 +2876,6 @@ type GetListingRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetListingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetListingRequest) { -} - -func (newState *GetListingRequest) SyncEffectiveFieldsDuringRead(existingState GetListingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2775,6 +2917,12 @@ func (newState *GetListingResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GetListingResponse) SyncEffectiveFieldsDuringRead(existingState GetListingResponse) { } +func (c GetListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2843,12 +2991,6 @@ type GetListingsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *GetListingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetListingsRequest) { -} - -func (newState *GetListingsRequest) SyncEffectiveFieldsDuringRead(existingState GetListingsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2894,6 +3036,12 @@ func (newState *GetListingsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *GetListingsResponse) SyncEffectiveFieldsDuringRead(existingState GetListingsResponse) { } +func (c GetListingsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2962,12 +3110,6 @@ type GetPersonalizationRequestRequest struct { ListingId types.String `tfsdk:"-"` } -func (newState *GetPersonalizationRequestRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPersonalizationRequestRequest) { -} - -func (newState *GetPersonalizationRequestRequest) SyncEffectiveFieldsDuringRead(existingState GetPersonalizationRequestRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPersonalizationRequestRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3009,6 +3151,12 @@ func (newState *GetPersonalizationRequestResponse) SyncEffectiveFieldsDuringCrea func (newState *GetPersonalizationRequestResponse) SyncEffectiveFieldsDuringRead(existingState GetPersonalizationRequestResponse) { } +func (c GetPersonalizationRequestResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PersonalizationRequest{}.ApplySchemaCustomizations(cs, append(path, "personalization_requests")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPersonalizationRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3075,12 +3223,6 @@ type GetProviderRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetProviderRequest) { -} - -func (newState *GetProviderRequest) SyncEffectiveFieldsDuringRead(existingState GetProviderRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3122,6 +3264,12 @@ func (newState *GetProviderResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *GetProviderResponse) SyncEffectiveFieldsDuringRead(existingState GetProviderResponse) { } +func (c GetProviderResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3193,6 +3341,12 @@ func (newState *Installation) SyncEffectiveFieldsDuringCreateOrUpdate(plan Insta func (newState *Installation) SyncEffectiveFieldsDuringRead(existingState Installation) { } +func (c Installation) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail{}.ApplySchemaCustomizations(cs, append(path, "installation")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Installation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3288,6 +3442,13 @@ func (newState *InstallationDetail) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *InstallationDetail) SyncEffectiveFieldsDuringRead(existingState InstallationDetail) { } +func (c InstallationDetail) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenDetail{}.ApplySchemaCustomizations(cs, append(path, "token_detail")...) + TokenInfo{}.ApplySchemaCustomizations(cs, append(path, "tokens")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InstallationDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3409,12 +3570,6 @@ type ListAllInstallationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAllInstallationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllInstallationsRequest) { -} - -func (newState *ListAllInstallationsRequest) SyncEffectiveFieldsDuringRead(existingState ListAllInstallationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllInstallationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3460,6 +3615,12 @@ func (newState *ListAllInstallationsResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *ListAllInstallationsResponse) SyncEffectiveFieldsDuringRead(existingState ListAllInstallationsResponse) { } +func (c ListAllInstallationsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail{}.ApplySchemaCustomizations(cs, append(path, "installations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllInstallationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3530,12 +3691,6 @@ type ListAllPersonalizationRequestsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAllPersonalizationRequestsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAllPersonalizationRequestsRequest) { -} - -func (newState *ListAllPersonalizationRequestsRequest) SyncEffectiveFieldsDuringRead(existingState ListAllPersonalizationRequestsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllPersonalizationRequestsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3581,6 +3736,12 @@ func (newState *ListAllPersonalizationRequestsResponse) SyncEffectiveFieldsDurin func (newState *ListAllPersonalizationRequestsResponse) SyncEffectiveFieldsDuringRead(existingState ListAllPersonalizationRequestsResponse) { } +func (c ListAllPersonalizationRequestsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PersonalizationRequest{}.ApplySchemaCustomizations(cs, append(path, "personalization_requests")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAllPersonalizationRequestsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3653,12 +3814,6 @@ type ListExchangeFiltersRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExchangeFiltersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExchangeFiltersRequest) { -} - -func (newState *ListExchangeFiltersRequest) SyncEffectiveFieldsDuringRead(existingState ListExchangeFiltersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangeFiltersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3706,6 +3861,12 @@ func (newState *ListExchangeFiltersResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListExchangeFiltersResponse) SyncEffectiveFieldsDuringRead(existingState ListExchangeFiltersResponse) { } +func (c ListExchangeFiltersResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeFilter{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangeFiltersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3778,12 +3939,6 @@ type ListExchangesForListingRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExchangesForListingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExchangesForListingRequest) { -} - -func (newState *ListExchangesForListingRequest) SyncEffectiveFieldsDuringRead(existingState ListExchangesForListingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesForListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3831,6 +3986,12 @@ func (newState *ListExchangesForListingResponse) SyncEffectiveFieldsDuringCreate func (newState *ListExchangesForListingResponse) SyncEffectiveFieldsDuringRead(existingState ListExchangesForListingResponse) { } +func (c ListExchangesForListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeListing{}.ApplySchemaCustomizations(cs, append(path, "exchange_listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesForListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3901,12 +4062,6 @@ type ListExchangesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListExchangesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExchangesRequest) { -} - -func (newState *ListExchangesRequest) SyncEffectiveFieldsDuringRead(existingState ListExchangesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3952,6 +4107,12 @@ func (newState *ListExchangesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListExchangesResponse) SyncEffectiveFieldsDuringRead(existingState ListExchangesResponse) { } +func (c ListExchangesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Exchange{}.ApplySchemaCustomizations(cs, append(path, "exchanges")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExchangesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4024,12 +4185,6 @@ type ListFilesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListFilesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListFilesRequest) { -} - -func (newState *ListFilesRequest) SyncEffectiveFieldsDuringRead(existingState ListFilesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFilesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4107,6 +4262,12 @@ func (newState *ListFilesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListFilesResponse) SyncEffectiveFieldsDuringRead(existingState ListFilesResponse) { } +func (c ListFilesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo{}.ApplySchemaCustomizations(cs, append(path, "file_infos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFilesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4179,12 +4340,6 @@ type ListFulfillmentsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListFulfillmentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListFulfillmentsRequest) { -} - -func (newState *ListFulfillmentsRequest) SyncEffectiveFieldsDuringRead(existingState ListFulfillmentsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFulfillmentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4232,6 +4387,12 @@ func (newState *ListFulfillmentsResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListFulfillmentsResponse) SyncEffectiveFieldsDuringRead(existingState ListFulfillmentsResponse) { } +func (c ListFulfillmentsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListingFulfillment{}.ApplySchemaCustomizations(cs, append(path, "fulfillments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFulfillmentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4304,12 +4465,6 @@ type ListInstallationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListInstallationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListInstallationsRequest) { -} - -func (newState *ListInstallationsRequest) SyncEffectiveFieldsDuringRead(existingState ListInstallationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstallationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4357,6 +4512,12 @@ func (newState *ListInstallationsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListInstallationsResponse) SyncEffectiveFieldsDuringRead(existingState ListInstallationsResponse) { } +func (c ListInstallationsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail{}.ApplySchemaCustomizations(cs, append(path, "installations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListInstallationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4429,12 +4590,6 @@ type ListListingsForExchangeRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListListingsForExchangeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListListingsForExchangeRequest) { -} - -func (newState *ListListingsForExchangeRequest) SyncEffectiveFieldsDuringRead(existingState ListListingsForExchangeRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsForExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4482,6 +4637,12 @@ func (newState *ListListingsForExchangeResponse) SyncEffectiveFieldsDuringCreate func (newState *ListListingsForExchangeResponse) SyncEffectiveFieldsDuringRead(existingState ListListingsForExchangeResponse) { } +func (c ListListingsForExchangeResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeListing{}.ApplySchemaCustomizations(cs, append(path, "exchange_listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsForExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4567,12 +4728,6 @@ type ListListingsRequest struct { Tags types.List `tfsdk:"-"` } -func (newState *ListListingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListListingsRequest) { -} - -func (newState *ListListingsRequest) SyncEffectiveFieldsDuringRead(existingState ListListingsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4749,6 +4904,12 @@ func (newState *ListListingsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListListingsResponse) SyncEffectiveFieldsDuringRead(existingState ListListingsResponse) { } +func (c ListListingsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4827,6 +4988,13 @@ func (newState *ListProviderAnalyticsDashboardResponse) SyncEffectiveFieldsDurin func (newState *ListProviderAnalyticsDashboardResponse) SyncEffectiveFieldsDuringRead(existingState ListProviderAnalyticsDashboardResponse) { } +func (c ListProviderAnalyticsDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProviderAnalyticsDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4871,12 +5039,6 @@ type ListProvidersRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListProvidersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProvidersRequest) { -} - -func (newState *ListProvidersRequest) SyncEffectiveFieldsDuringRead(existingState ListProvidersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4924,6 +5086,12 @@ func (newState *ListProvidersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListProvidersResponse) SyncEffectiveFieldsDuringRead(existingState ListProvidersResponse) { } +func (c ListProvidersResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "providers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5001,6 +5169,14 @@ func (newState *Listing) SyncEffectiveFieldsDuringCreateOrUpdate(plan Listing) { func (newState *Listing) SyncEffectiveFieldsDuringRead(existingState Listing) { } +func (c Listing) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListingDetail{}.ApplySchemaCustomizations(cs, append(path, "detail")...) + cs.SetRequired(append(path, "summary")...) + ListingSummary{}.ApplySchemaCustomizations(cs, append(path, "summary")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Listing. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5152,6 +5328,15 @@ func (newState *ListingDetail) SyncEffectiveFieldsDuringCreateOrUpdate(plan List func (newState *ListingDetail) SyncEffectiveFieldsDuringRead(existingState ListingDetail) { } +func (c ListingDetail) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DataRefreshInfo{}.ApplySchemaCustomizations(cs, append(path, "collection_granularity")...) + FileInfo{}.ApplySchemaCustomizations(cs, append(path, "embedded_notebook_file_infos")...) + ListingTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + DataRefreshInfo{}.ApplySchemaCustomizations(cs, append(path, "update_frequency")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5412,6 +5597,14 @@ func (newState *ListingFulfillment) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListingFulfillment) SyncEffectiveFieldsDuringRead(existingState ListingFulfillment) { } +func (c ListingFulfillment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "listing_id")...) + RepoInfo{}.ApplySchemaCustomizations(cs, append(path, "repo_info")...) + ShareInfo{}.ApplySchemaCustomizations(cs, append(path, "share_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingFulfillment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5520,6 +5713,11 @@ func (newState *ListingSetting) SyncEffectiveFieldsDuringCreateOrUpdate(plan Lis func (newState *ListingSetting) SyncEffectiveFieldsDuringRead(existingState ListingSetting) { } +func (c ListingSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5599,6 +5797,17 @@ func (newState *ListingSummary) SyncEffectiveFieldsDuringCreateOrUpdate(plan Lis func (newState *ListingSummary) SyncEffectiveFieldsDuringRead(existingState ListingSummary) { } +func (c ListingSummary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoInfo{}.ApplySchemaCustomizations(cs, append(path, "git_repo")...) + cs.SetRequired(append(path, "listingType")...) + cs.SetRequired(append(path, "name")...) + RegionInfo{}.ApplySchemaCustomizations(cs, append(path, "provider_region")...) + ListingSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + ShareInfo{}.ApplySchemaCustomizations(cs, append(path, "share")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingSummary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5855,6 +6064,11 @@ func (newState *ListingTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan Listing func (newState *ListingTag) SyncEffectiveFieldsDuringRead(existingState ListingTag) { } +func (c ListingTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListingTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5959,6 +6173,15 @@ func (newState *PersonalizationRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PersonalizationRequest) SyncEffectiveFieldsDuringRead(existingState PersonalizationRequest) { } +func (c PersonalizationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "consumer_region")...) + RegionInfo{}.ApplySchemaCustomizations(cs, append(path, "consumer_region")...) + ContactInfo{}.ApplySchemaCustomizations(cs, append(path, "contact_info")...) + ShareInfo{}.ApplySchemaCustomizations(cs, append(path, "share")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PersonalizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6118,6 +6341,12 @@ func (newState *ProviderAnalyticsDashboard) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ProviderAnalyticsDashboard) SyncEffectiveFieldsDuringRead(existingState ProviderAnalyticsDashboard) { } +func (c ProviderAnalyticsDashboard) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderAnalyticsDashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6185,6 +6414,15 @@ func (newState *ProviderInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Provi func (newState *ProviderInfo) SyncEffectiveFieldsDuringRead(existingState ProviderInfo) { } +func (c ProviderInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "business_contact_email")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "privacy_policy_link")...) + cs.SetRequired(append(path, "term_of_service_link")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6254,6 +6492,11 @@ func (newState *RegionInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RegionI func (newState *RegionInfo) SyncEffectiveFieldsDuringRead(existingState RegionInfo) { } +func (c RegionInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegionInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6292,12 +6535,6 @@ type RemoveExchangeForListingRequest struct { Id types.String `tfsdk:"-"` } -func (newState *RemoveExchangeForListingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RemoveExchangeForListingRequest) { -} - -func (newState *RemoveExchangeForListingRequest) SyncEffectiveFieldsDuringRead(existingState RemoveExchangeForListingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveExchangeForListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6338,6 +6575,11 @@ func (newState *RemoveExchangeForListingResponse) SyncEffectiveFieldsDuringCreat func (newState *RemoveExchangeForListingResponse) SyncEffectiveFieldsDuringRead(existingState RemoveExchangeForListingResponse) { } +func (c RemoveExchangeForListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RemoveExchangeForListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6376,6 +6618,12 @@ func (newState *RepoInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoInfo) func (newState *RepoInfo) SyncEffectiveFieldsDuringRead(existingState RepoInfo) { } +func (c RepoInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "git_repo_url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6422,6 +6670,13 @@ func (newState *RepoInstallation) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *RepoInstallation) SyncEffectiveFieldsDuringRead(existingState RepoInstallation) { } +func (c RepoInstallation) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "repo_name")...) + cs.SetRequired(append(path, "repo_path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoInstallation. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6475,12 +6730,6 @@ type SearchListingsRequest struct { Query types.String `tfsdk:"-"` } -func (newState *SearchListingsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchListingsRequest) { -} - -func (newState *SearchListingsRequest) SyncEffectiveFieldsDuringRead(existingState SearchListingsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchListingsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6626,6 +6875,12 @@ func (newState *SearchListingsResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SearchListingsResponse) SyncEffectiveFieldsDuringRead(existingState SearchListingsResponse) { } +func (c SearchListingsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing{}.ApplySchemaCustomizations(cs, append(path, "listings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchListingsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6701,6 +6956,13 @@ func (newState *ShareInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ShareInf func (newState *ShareInfo) SyncEffectiveFieldsDuringRead(existingState ShareInfo) { } +func (c ShareInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6748,6 +7010,11 @@ func (newState *SharedDataObject) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SharedDataObject) SyncEffectiveFieldsDuringRead(existingState SharedDataObject) { } +func (c SharedDataObject) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObject. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6799,6 +7066,11 @@ func (newState *TokenDetail) SyncEffectiveFieldsDuringCreateOrUpdate(plan TokenD func (newState *TokenDetail) SyncEffectiveFieldsDuringRead(existingState TokenDetail) { } +func (c TokenDetail) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6860,6 +7132,11 @@ func (newState *TokenInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan TokenInf func (newState *TokenInfo) SyncEffectiveFieldsDuringRead(existingState TokenInfo) { } +func (c TokenInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6915,6 +7192,14 @@ func (newState *UpdateExchangeFilterRequest) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateExchangeFilterRequest) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeFilterRequest) { } +func (c UpdateExchangeFilterRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "filter")...) + ExchangeFilter{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeFilterRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6988,6 +7273,12 @@ func (newState *UpdateExchangeFilterResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateExchangeFilterResponse) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeFilterResponse) { } +func (c UpdateExchangeFilterResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeFilter{}.ApplySchemaCustomizations(cs, append(path, "filter")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeFilterResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7061,6 +7352,14 @@ func (newState *UpdateExchangeRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateExchangeRequest) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeRequest) { } +func (c UpdateExchangeRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "exchange")...) + Exchange{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7134,6 +7433,12 @@ func (newState *UpdateExchangeResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateExchangeResponse) SyncEffectiveFieldsDuringRead(existingState UpdateExchangeResponse) { } +func (c UpdateExchangeResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Exchange{}.ApplySchemaCustomizations(cs, append(path, "exchange")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExchangeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7211,6 +7516,15 @@ func (newState *UpdateInstallationRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *UpdateInstallationRequest) SyncEffectiveFieldsDuringRead(existingState UpdateInstallationRequest) { } +func (c UpdateInstallationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "installation")...) + InstallationDetail{}.ApplySchemaCustomizations(cs, append(path, "installation")...) + cs.SetRequired(append(path, "installation_id")...) + cs.SetRequired(append(path, "listing_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInstallationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7288,6 +7602,12 @@ func (newState *UpdateInstallationResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateInstallationResponse) SyncEffectiveFieldsDuringRead(existingState UpdateInstallationResponse) { } +func (c UpdateInstallationResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + InstallationDetail{}.ApplySchemaCustomizations(cs, append(path, "installation")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInstallationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7361,6 +7681,14 @@ func (newState *UpdateListingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *UpdateListingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateListingRequest) { } +func (c UpdateListingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "listing")...) + Listing{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateListingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7434,6 +7762,12 @@ func (newState *UpdateListingResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateListingResponse) SyncEffectiveFieldsDuringRead(existingState UpdateListingResponse) { } +func (c UpdateListingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Listing{}.ApplySchemaCustomizations(cs, append(path, "listing")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateListingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7513,6 +7847,15 @@ func (newState *UpdatePersonalizationRequestRequest) SyncEffectiveFieldsDuringCr func (newState *UpdatePersonalizationRequestRequest) SyncEffectiveFieldsDuringRead(existingState UpdatePersonalizationRequestRequest) { } +func (c UpdatePersonalizationRequestRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "listing_id")...) + cs.SetRequired(append(path, "request_id")...) + ShareInfo{}.ApplySchemaCustomizations(cs, append(path, "share")...) + cs.SetRequired(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePersonalizationRequestRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7592,6 +7935,12 @@ func (newState *UpdatePersonalizationRequestResponse) SyncEffectiveFieldsDuringC func (newState *UpdatePersonalizationRequestResponse) SyncEffectiveFieldsDuringRead(existingState UpdatePersonalizationRequestResponse) { } +func (c UpdatePersonalizationRequestResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PersonalizationRequest{}.ApplySchemaCustomizations(cs, append(path, "request")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePersonalizationRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7668,6 +8017,12 @@ func (newState *UpdateProviderAnalyticsDashboardRequest) SyncEffectiveFieldsDuri func (newState *UpdateProviderAnalyticsDashboardRequest) SyncEffectiveFieldsDuringRead(existingState UpdateProviderAnalyticsDashboardRequest) { } +func (c UpdateProviderAnalyticsDashboardRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderAnalyticsDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7716,6 +8071,13 @@ func (newState *UpdateProviderAnalyticsDashboardResponse) SyncEffectiveFieldsDur func (newState *UpdateProviderAnalyticsDashboardResponse) SyncEffectiveFieldsDuringRead(existingState UpdateProviderAnalyticsDashboardResponse) { } +func (c UpdateProviderAnalyticsDashboardResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderAnalyticsDashboardResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7763,6 +8125,14 @@ func (newState *UpdateProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateProviderRequest) SyncEffectiveFieldsDuringRead(existingState UpdateProviderRequest) { } +func (c UpdateProviderRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "provider")...) + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7836,6 +8206,12 @@ func (newState *UpdateProviderResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateProviderResponse) SyncEffectiveFieldsDuringRead(existingState UpdateProviderResponse) { } +func (c UpdateProviderResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProviderResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/ml_tf/legacy_model.go b/internal/service/ml_tf/legacy_model.go index 1a2925293..22d93c082 100755 --- a/internal/service/ml_tf/legacy_model.go +++ b/internal/service/ml_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -83,6 +84,11 @@ func (newState *Activity_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Act func (newState *Activity_SdkV2) SyncEffectiveFieldsDuringRead(existingState Activity_SdkV2) { } +func (c Activity_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Activity. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -158,6 +164,15 @@ func (newState *ApproveTransitionRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ApproveTransitionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ApproveTransitionRequest_SdkV2) { } +func (c ApproveTransitionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "archive_existing_versions")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ApproveTransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -202,12 +217,6 @@ type ApproveTransitionRequestResponse_SdkV2 struct { Activity types.List `tfsdk:"activity" tf:"optional,object"` } -func (newState *ApproveTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ApproveTransitionRequestResponse_SdkV2) { -} - -func (newState *ApproveTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ApproveTransitionRequestResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ApproveTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -291,6 +300,11 @@ func (newState *CommentObject_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CommentObject_SdkV2) SyncEffectiveFieldsDuringRead(existingState CommentObject_SdkV2) { } +func (c CommentObject_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CommentObject. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -377,6 +391,14 @@ func (newState *CreateComment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateComment_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateComment_SdkV2) { } +func (c CreateComment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "comment")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateComment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -417,12 +439,6 @@ type CreateCommentResponse_SdkV2 struct { Comment types.List `tfsdk:"comment" tf:"optional,object"` } -func (newState *CreateCommentResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCommentResponse_SdkV2) { -} - -func (newState *CreateCommentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCommentResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCommentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -504,6 +520,13 @@ func (newState *CreateExperiment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateExperiment_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExperiment_SdkV2) { } +func (c CreateExperiment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + ExperimentTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -580,6 +603,11 @@ func (newState *CreateExperimentResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *CreateExperimentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateExperimentResponse_SdkV2) { } +func (c CreateExperimentResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -626,6 +654,13 @@ func (newState *CreateModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateModelRequest_SdkV2) { } +func (c CreateModelRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + ModelTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -701,6 +736,12 @@ func (newState *CreateModelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateModelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateModelResponse_SdkV2) { } +func (c CreateModelResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "registered_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -785,6 +826,14 @@ func (newState *CreateModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *CreateModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateModelVersionRequest_SdkV2) { } +func (c CreateModelVersionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "source")...) + ModelVersionTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -867,6 +916,12 @@ func (newState *CreateModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CreateModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateModelVersionResponse_SdkV2) { } +func (c CreateModelVersionResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "model_version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -988,6 +1043,14 @@ func (newState *CreateRegistryWebhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateRegistryWebhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRegistryWebhook_SdkV2) { } +func (c CreateRegistryWebhook_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "events")...) + HttpUrlSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "http_url_spec")...) + JobSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1136,6 +1199,12 @@ func (newState *CreateRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cr func (newState *CreateRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRun_SdkV2) { } +func (c CreateRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1214,6 +1283,12 @@ func (newState *CreateRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRunResponse_SdkV2) { } +func (c CreateRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Run_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1300,6 +1375,14 @@ func (newState *CreateTransitionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateTransitionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateTransitionRequest_SdkV2) { } +func (c CreateTransitionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1342,12 +1425,6 @@ type CreateTransitionRequestResponse_SdkV2 struct { Request types.List `tfsdk:"request" tf:"optional,object"` } -func (newState *CreateTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateTransitionRequestResponse_SdkV2) { -} - -func (newState *CreateTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateTransitionRequestResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1413,12 +1490,6 @@ type CreateWebhookResponse_SdkV2 struct { Webhook types.List `tfsdk:"webhook" tf:"optional,object"` } -func (newState *CreateWebhookResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWebhookResponse_SdkV2) { -} - -func (newState *CreateWebhookResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateWebhookResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1509,6 +1580,11 @@ func (newState *Dataset_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Data func (newState *Dataset_SdkV2) SyncEffectiveFieldsDuringRead(existingState Dataset_SdkV2) { } +func (c Dataset_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dataset. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1564,6 +1640,13 @@ func (newState *DatasetInput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DatasetInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DatasetInput_SdkV2) { } +func (c DatasetInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Dataset_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dataset")...) + InputTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatasetInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1661,12 +1744,6 @@ type DeleteCommentRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteCommentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCommentRequest_SdkV2) { -} - -func (newState *DeleteCommentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCommentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCommentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1701,12 +1778,6 @@ func (o DeleteCommentRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteCommentResponse_SdkV2 struct { } -func (newState *DeleteCommentResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCommentResponse_SdkV2) { -} - -func (newState *DeleteCommentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCommentResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCommentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1745,6 +1816,12 @@ func (newState *DeleteExperiment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *DeleteExperiment_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExperiment_SdkV2) { } +func (c DeleteExperiment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1785,6 +1862,11 @@ func (newState *DeleteExperimentResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *DeleteExperimentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteExperimentResponse_SdkV2) { } +func (c DeleteExperimentResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1818,12 +1900,6 @@ type DeleteModelRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelRequest_SdkV2) { -} - -func (newState *DeleteModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1858,12 +1934,6 @@ func (o DeleteModelRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteModelResponse_SdkV2 struct { } -func (newState *DeleteModelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelResponse_SdkV2) { -} - -func (newState *DeleteModelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1900,12 +1970,6 @@ type DeleteModelTagRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteModelTagRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelTagRequest_SdkV2) { -} - -func (newState *DeleteModelTagRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelTagRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1942,12 +2006,6 @@ func (o DeleteModelTagRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteModelTagResponse_SdkV2 struct { } -func (newState *DeleteModelTagResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelTagResponse_SdkV2) { -} - -func (newState *DeleteModelTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelTagResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1983,12 +2041,6 @@ type DeleteModelVersionRequest_SdkV2 struct { Version types.String `tfsdk:"-"` } -func (newState *DeleteModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionRequest_SdkV2) { -} - -func (newState *DeleteModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2025,12 +2077,6 @@ func (o DeleteModelVersionRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteModelVersionResponse_SdkV2 struct { } -func (newState *DeleteModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionResponse_SdkV2) { -} - -func (newState *DeleteModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2069,12 +2115,6 @@ type DeleteModelVersionTagRequest_SdkV2 struct { Version types.String `tfsdk:"-"` } -func (newState *DeleteModelVersionTagRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionTagRequest_SdkV2) { -} - -func (newState *DeleteModelVersionTagRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionTagRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2113,12 +2153,6 @@ func (o DeleteModelVersionTagRequest_SdkV2) Type(ctx context.Context) attr.Type type DeleteModelVersionTagResponse_SdkV2 struct { } -func (newState *DeleteModelVersionTagResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionTagResponse_SdkV2) { -} - -func (newState *DeleteModelVersionTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionTagResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2157,6 +2191,12 @@ func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan De func (newState *DeleteRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRun_SdkV2) { } +func (c DeleteRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2197,6 +2237,11 @@ func (newState *DeleteRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *DeleteRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRunResponse_SdkV2) { } +func (c DeleteRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2242,6 +2287,13 @@ func (newState *DeleteRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan D func (newState *DeleteRuns_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRuns_SdkV2) { } +func (c DeleteRuns_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + cs.SetRequired(append(path, "max_timestamp_millis")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2288,6 +2340,11 @@ func (newState *DeleteRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *DeleteRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRunsResponse_SdkV2) { } +func (c DeleteRunsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2332,6 +2389,13 @@ func (newState *DeleteTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan De func (newState *DeleteTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTag_SdkV2) { } +func (c DeleteTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2374,6 +2438,11 @@ func (newState *DeleteTagResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *DeleteTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTagResponse_SdkV2) { } +func (c DeleteTagResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2425,12 +2494,6 @@ type DeleteTransitionRequestRequest_SdkV2 struct { Version types.String `tfsdk:"-"` } -func (newState *DeleteTransitionRequestRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTransitionRequestRequest_SdkV2) { -} - -func (newState *DeleteTransitionRequestRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTransitionRequestRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTransitionRequestRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2473,12 +2536,6 @@ func (o DeleteTransitionRequestRequest_SdkV2) Type(ctx context.Context) attr.Typ type DeleteTransitionRequestResponse_SdkV2 struct { } -func (newState *DeleteTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTransitionRequestResponse_SdkV2) { -} - -func (newState *DeleteTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTransitionRequestResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2512,12 +2569,6 @@ type DeleteWebhookRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteWebhookRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWebhookRequest_SdkV2) { -} - -func (newState *DeleteWebhookRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWebhookRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWebhookRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2552,12 +2603,6 @@ func (o DeleteWebhookRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteWebhookResponse_SdkV2 struct { } -func (newState *DeleteWebhookResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWebhookResponse_SdkV2) { -} - -func (newState *DeleteWebhookResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWebhookResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2609,6 +2654,12 @@ func (newState *Experiment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan E func (newState *Experiment_SdkV2) SyncEffectiveFieldsDuringRead(existingState Experiment_SdkV2) { } +func (c Experiment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Experiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2699,6 +2750,11 @@ func (newState *ExperimentAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringC func (newState *ExperimentAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentAccessControlRequest_SdkV2) { } +func (c ExperimentAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2755,6 +2811,12 @@ func (newState *ExperimentAccessControlResponse_SdkV2) SyncEffectiveFieldsDuring func (newState *ExperimentAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentAccessControlResponse_SdkV2) { } +func (c ExperimentAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2838,6 +2900,11 @@ func (newState *ExperimentPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ExperimentPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentPermission_SdkV2) { } +func (c ExperimentPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2917,6 +2984,12 @@ func (newState *ExperimentPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ExperimentPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissions_SdkV2) { } +func (c ExperimentPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2994,6 +3067,11 @@ func (newState *ExperimentPermissionsDescription_SdkV2) SyncEffectiveFieldsDurin func (newState *ExperimentPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissionsDescription_SdkV2) { } +func (c ExperimentPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3039,6 +3117,13 @@ func (newState *ExperimentPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *ExperimentPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissionsRequest_SdkV2) { } +func (c ExperimentPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3115,6 +3200,11 @@ func (newState *ExperimentTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ExperimentTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExperimentTag_SdkV2) { } +func (c ExperimentTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3163,6 +3253,11 @@ func (newState *FileInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Fil func (newState *FileInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileInfo_SdkV2) { } +func (c FileInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3204,12 +3299,6 @@ type GetByNameRequest_SdkV2 struct { ExperimentName types.String `tfsdk:"-"` } -func (newState *GetByNameRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetByNameRequest_SdkV2) { -} - -func (newState *GetByNameRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetByNameRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetByNameRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3247,12 +3336,6 @@ type GetExperimentPermissionLevelsRequest_SdkV2 struct { ExperimentId types.String `tfsdk:"-"` } -func (newState *GetExperimentPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetExperimentPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3295,6 +3378,12 @@ func (newState *GetExperimentPermissionLevelsResponse_SdkV2) SyncEffectiveFields func (newState *GetExperimentPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionLevelsResponse_SdkV2) { } +func (c GetExperimentPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3362,12 +3451,6 @@ type GetExperimentPermissionsRequest_SdkV2 struct { ExperimentId types.String `tfsdk:"-"` } -func (newState *GetExperimentPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionsRequest_SdkV2) { -} - -func (newState *GetExperimentPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3405,12 +3488,6 @@ type GetExperimentRequest_SdkV2 struct { ExperimentId types.String `tfsdk:"-"` } -func (newState *GetExperimentRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentRequest_SdkV2) { -} - -func (newState *GetExperimentRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExperimentRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3453,6 +3530,12 @@ func (newState *GetExperimentResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *GetExperimentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetExperimentResponse_SdkV2) { } +func (c GetExperimentResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Experiment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "experiment")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3531,12 +3614,6 @@ type GetHistoryRequest_SdkV2 struct { RunUuid types.String `tfsdk:"-"` } -func (newState *GetHistoryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetHistoryRequest_SdkV2) { -} - -func (newState *GetHistoryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetHistoryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetHistoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3589,6 +3666,12 @@ func (newState *GetLatestVersionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *GetLatestVersionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionsRequest_SdkV2) { } +func (c GetLatestVersionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLatestVersionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3665,6 +3748,12 @@ func (newState *GetLatestVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *GetLatestVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionsResponse_SdkV2) { } +func (c GetLatestVersionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "model_versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLatestVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3740,6 +3829,12 @@ func (newState *GetMetricHistoryResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *GetMetricHistoryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetMetricHistoryResponse_SdkV2) { } +func (c GetMetricHistoryResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Metric_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetricHistoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3809,12 +3904,6 @@ type GetModelRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelRequest_SdkV2) { -} - -func (newState *GetModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3850,12 +3939,6 @@ type GetModelResponse_SdkV2 struct { RegisteredModelDatabricks types.List `tfsdk:"registered_model_databricks" tf:"optional,object"` } -func (newState *GetModelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelResponse_SdkV2) { -} - -func (newState *GetModelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3925,12 +4008,6 @@ type GetModelVersionDownloadUriRequest_SdkV2 struct { Version types.String `tfsdk:"-"` } -func (newState *GetModelVersionDownloadUriRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionDownloadUriRequest_SdkV2) { -} - -func (newState *GetModelVersionDownloadUriRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelVersionDownloadUriRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionDownloadUriRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3975,6 +4052,11 @@ func (newState *GetModelVersionDownloadUriResponse_SdkV2) SyncEffectiveFieldsDur func (newState *GetModelVersionDownloadUriResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelVersionDownloadUriResponse_SdkV2) { } +func (c GetModelVersionDownloadUriResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionDownloadUriResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4014,12 +4096,6 @@ type GetModelVersionRequest_SdkV2 struct { Version types.String `tfsdk:"-"` } -func (newState *GetModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionRequest_SdkV2) { -} - -func (newState *GetModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelVersionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4063,6 +4139,12 @@ func (newState *GetModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *GetModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetModelVersionResponse_SdkV2) { } +func (c GetModelVersionResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "model_version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4130,12 +4212,6 @@ type GetRegisteredModelPermissionLevelsRequest_SdkV2 struct { RegisteredModelId types.String `tfsdk:"-"` } -func (newState *GetRegisteredModelPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetRegisteredModelPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4178,6 +4254,12 @@ func (newState *GetRegisteredModelPermissionLevelsResponse_SdkV2) SyncEffectiveF func (newState *GetRegisteredModelPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionLevelsResponse_SdkV2) { } +func (c GetRegisteredModelPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4245,12 +4327,6 @@ type GetRegisteredModelPermissionsRequest_SdkV2 struct { RegisteredModelId types.String `tfsdk:"-"` } -func (newState *GetRegisteredModelPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionsRequest_SdkV2) { -} - -func (newState *GetRegisteredModelPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4291,12 +4367,6 @@ type GetRunRequest_SdkV2 struct { RunUuid types.String `tfsdk:"-"` } -func (newState *GetRunRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunRequest_SdkV2) { -} - -func (newState *GetRunRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRunRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4342,6 +4412,12 @@ func (newState *GetRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *GetRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRunResponse_SdkV2) { } +func (c GetRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Run_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4431,6 +4507,12 @@ func (newState *HttpUrlSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *HttpUrlSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState HttpUrlSpec_SdkV2) { } +func (c HttpUrlSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in HttpUrlSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4487,6 +4569,11 @@ func (newState *HttpUrlSpecWithoutSecret_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *HttpUrlSpecWithoutSecret_SdkV2) SyncEffectiveFieldsDuringRead(existingState HttpUrlSpecWithoutSecret_SdkV2) { } +func (c HttpUrlSpecWithoutSecret_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in HttpUrlSpecWithoutSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4533,6 +4620,11 @@ func (newState *InputTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Inp func (newState *InputTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState InputTag_SdkV2) { } +func (c InputTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InputTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4583,6 +4675,13 @@ func (newState *JobSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobS func (newState *JobSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSpec_SdkV2) { } +func (c JobSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_token")...) + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4633,6 +4732,11 @@ func (newState *JobSpecWithoutSecret_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *JobSpecWithoutSecret_SdkV2) SyncEffectiveFieldsDuringRead(existingState JobSpecWithoutSecret_SdkV2) { } +func (c JobSpecWithoutSecret_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSpecWithoutSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4685,12 +4789,6 @@ type ListArtifactsRequest_SdkV2 struct { RunUuid types.String `tfsdk:"-"` } -func (newState *ListArtifactsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListArtifactsRequest_SdkV2) { -} - -func (newState *ListArtifactsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListArtifactsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListArtifactsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4743,6 +4841,12 @@ func (newState *ListArtifactsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListArtifactsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListArtifactsResponse_SdkV2) { } +func (c ListArtifactsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "files")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListArtifactsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4823,12 +4927,6 @@ type ListExperimentsRequest_SdkV2 struct { ViewType types.String `tfsdk:"-"` } -func (newState *ListExperimentsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExperimentsRequest_SdkV2) { -} - -func (newState *ListExperimentsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExperimentsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExperimentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4879,6 +4977,12 @@ func (newState *ListExperimentsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ListExperimentsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListExperimentsResponse_SdkV2) { } +func (c ListExperimentsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Experiment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "experiments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExperimentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4950,12 +5054,6 @@ type ListModelsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListModelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListModelsRequest_SdkV2) { -} - -func (newState *ListModelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListModelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5002,6 +5100,12 @@ func (newState *ListModelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListModelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListModelsResponse_SdkV2) { } +func (c ListModelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "registered_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5078,6 +5182,12 @@ func (newState *ListRegistryWebhooks_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListRegistryWebhooks_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRegistryWebhooks_SdkV2) { } +func (c ListRegistryWebhooks_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegistryWebhook_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "webhooks")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRegistryWebhooks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5149,12 +5259,6 @@ type ListTransitionRequestsRequest_SdkV2 struct { Version types.String `tfsdk:"-"` } -func (newState *ListTransitionRequestsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTransitionRequestsRequest_SdkV2) { -} - -func (newState *ListTransitionRequestsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTransitionRequestsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTransitionRequestsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5193,12 +5297,6 @@ type ListTransitionRequestsResponse_SdkV2 struct { Requests types.List `tfsdk:"requests" tf:"optional"` } -func (newState *ListTransitionRequestsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTransitionRequestsResponse_SdkV2) { -} - -func (newState *ListTransitionRequestsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTransitionRequestsResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTransitionRequestsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5273,12 +5371,6 @@ type ListWebhooksRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListWebhooksRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWebhooksRequest_SdkV2) { -} - -func (newState *ListWebhooksRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListWebhooksRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWebhooksRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5364,6 +5456,14 @@ func (newState *LogBatch_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Log func (newState *LogBatch_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogBatch_SdkV2) { } +func (c LogBatch_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Metric_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + Param_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "params")...) + RunTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogBatch. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5498,6 +5598,11 @@ func (newState *LogBatchResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *LogBatchResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogBatchResponse_SdkV2) { } +func (c LogBatchResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogBatchResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5538,6 +5643,12 @@ func (newState *LogInputs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Lo func (newState *LogInputs_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogInputs_SdkV2) { } +func (c LogInputs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DatasetInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "datasets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogInputs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5610,6 +5721,11 @@ func (newState *LogInputsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *LogInputsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogInputsResponse_SdkV2) { } +func (c LogInputsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogInputsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5659,6 +5775,14 @@ func (newState *LogMetric_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Lo func (newState *LogMetric_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogMetric_SdkV2) { } +func (c LogMetric_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "timestamp")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogMetric. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5709,6 +5833,11 @@ func (newState *LogMetricResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *LogMetricResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogMetricResponse_SdkV2) { } +func (c LogMetricResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogMetricResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5749,6 +5878,11 @@ func (newState *LogModel_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Log func (newState *LogModel_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogModel_SdkV2) { } +func (c LogModel_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogModel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5791,6 +5925,11 @@ func (newState *LogModelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *LogModelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogModelResponse_SdkV2) { } +func (c LogModelResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5836,6 +5975,13 @@ func (newState *LogParam_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Log func (newState *LogParam_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogParam_SdkV2) { } +func (c LogParam_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogParam. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5882,6 +6028,11 @@ func (newState *LogParamResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *LogParamResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogParamResponse_SdkV2) { } +func (c LogParamResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogParamResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5926,6 +6077,11 @@ func (newState *Metric_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Metri func (newState *Metric_SdkV2) SyncEffectiveFieldsDuringRead(existingState Metric_SdkV2) { } +func (c Metric_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Metric. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5988,6 +6144,13 @@ func (newState *Model_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Model_ func (newState *Model_SdkV2) SyncEffectiveFieldsDuringRead(existingState Model_SdkV2) { } +func (c Model_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "latest_versions")...) + ModelTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Model. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6118,6 +6281,13 @@ func (newState *ModelDatabricks_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ModelDatabricks_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelDatabricks_SdkV2) { } +func (c ModelDatabricks_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "latest_versions")...) + ModelTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelDatabricks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6237,6 +6407,11 @@ func (newState *ModelTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mod func (newState *ModelTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelTag_SdkV2) { } +func (c ModelTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6308,6 +6483,12 @@ func (newState *ModelVersion_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ModelVersion_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelVersion_SdkV2) { } +func (c ModelVersion_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersionTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersion. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6450,6 +6631,12 @@ func (newState *ModelVersionDatabricks_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ModelVersionDatabricks_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelVersionDatabricks_SdkV2) { } +func (c ModelVersionDatabricks_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersionTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersionDatabricks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6550,6 +6737,11 @@ func (newState *ModelVersionTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ModelVersionTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelVersionTag_SdkV2) { } +func (c ModelVersionTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersionTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6596,6 +6788,11 @@ func (newState *Param_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Param_ func (newState *Param_SdkV2) SyncEffectiveFieldsDuringRead(existingState Param_SdkV2) { } +func (c Param_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Param. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6646,6 +6843,11 @@ func (newState *RegisteredModelAccessControlRequest_SdkV2) SyncEffectiveFieldsDu func (newState *RegisteredModelAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAccessControlRequest_SdkV2) { } +func (c RegisteredModelAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6702,6 +6904,12 @@ func (newState *RegisteredModelAccessControlResponse_SdkV2) SyncEffectiveFieldsD func (newState *RegisteredModelAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAccessControlResponse_SdkV2) { } +func (c RegisteredModelAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6785,6 +6993,11 @@ func (newState *RegisteredModelPermission_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *RegisteredModelPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermission_SdkV2) { } +func (c RegisteredModelPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6864,6 +7077,12 @@ func (newState *RegisteredModelPermissions_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *RegisteredModelPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissions_SdkV2) { } +func (c RegisteredModelPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6941,6 +7160,11 @@ func (newState *RegisteredModelPermissionsDescription_SdkV2) SyncEffectiveFields func (newState *RegisteredModelPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissionsDescription_SdkV2) { } +func (c RegisteredModelPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6986,6 +7210,13 @@ func (newState *RegisteredModelPermissionsRequest_SdkV2) SyncEffectiveFieldsDuri func (newState *RegisteredModelPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissionsRequest_SdkV2) { } +func (c RegisteredModelPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "registered_model_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7115,6 +7346,13 @@ func (newState *RegistryWebhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *RegistryWebhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState RegistryWebhook_SdkV2) { } +func (c RegistryWebhook_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + HttpUrlSpecWithoutSecret_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "http_url_spec")...) + JobSpecWithoutSecret_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7275,6 +7513,14 @@ func (newState *RejectTransitionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *RejectTransitionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RejectTransitionRequest_SdkV2) { } +func (c RejectTransitionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RejectTransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7317,12 +7563,6 @@ type RejectTransitionRequestResponse_SdkV2 struct { Activity types.List `tfsdk:"activity" tf:"optional,object"` } -func (newState *RejectTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RejectTransitionRequestResponse_SdkV2) { -} - -func (newState *RejectTransitionRequestResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RejectTransitionRequestResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RejectTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7397,6 +7637,12 @@ func (newState *RenameModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *RenameModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RenameModelRequest_SdkV2) { } +func (c RenameModelRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RenameModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7440,6 +7686,12 @@ func (newState *RenameModelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RenameModelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RenameModelResponse_SdkV2) { } +func (c RenameModelResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "registered_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RenameModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7512,6 +7764,12 @@ func (newState *RestoreExperiment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *RestoreExperiment_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreExperiment_SdkV2) { } +func (c RestoreExperiment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7552,6 +7810,11 @@ func (newState *RestoreExperimentResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *RestoreExperimentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreExperimentResponse_SdkV2) { } +func (c RestoreExperimentResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7590,6 +7853,12 @@ func (newState *RestoreRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *RestoreRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreRun_SdkV2) { } +func (c RestoreRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7630,6 +7899,11 @@ func (newState *RestoreRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *RestoreRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreRunResponse_SdkV2) { } +func (c RestoreRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7675,6 +7949,13 @@ func (newState *RestoreRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RestoreRuns_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreRuns_SdkV2) { } +func (c RestoreRuns_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + cs.SetRequired(append(path, "min_timestamp_millis")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7721,6 +8002,11 @@ func (newState *RestoreRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RestoreRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreRunsResponse_SdkV2) { } +func (c RestoreRunsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7767,6 +8053,14 @@ func (newState *Run_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run_SdkV func (newState *Run_SdkV2) SyncEffectiveFieldsDuringRead(existingState Run_SdkV2) { } +func (c Run_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunData_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data")...) + RunInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "info")...) + RunInputs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "inputs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Run. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7905,6 +8199,14 @@ func (newState *RunData_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunD func (newState *RunData_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunData_SdkV2) { } +func (c RunData_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Metric_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + Param_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "params")...) + RunTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunData. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8061,6 +8363,11 @@ func (newState *RunInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunI func (newState *RunInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunInfo_SdkV2) { } +func (c RunInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8119,6 +8426,12 @@ func (newState *RunInputs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ru func (newState *RunInputs_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunInputs_SdkV2) { } +func (c RunInputs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DatasetInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dataset_inputs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunInputs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8193,6 +8506,11 @@ func (newState *RunTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunTa func (newState *RunTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState RunTag_SdkV2) { } +func (c RunTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8250,6 +8568,11 @@ func (newState *SearchExperiments_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *SearchExperiments_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchExperiments_SdkV2) { } +func (c SearchExperiments_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchExperiments. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8333,6 +8656,12 @@ func (newState *SearchExperimentsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *SearchExperimentsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchExperimentsResponse_SdkV2) { } +func (c SearchExperimentsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Experiment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "experiments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchExperimentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8412,12 +8741,6 @@ type SearchModelVersionsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *SearchModelVersionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelVersionsRequest_SdkV2) { -} - -func (newState *SearchModelVersionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchModelVersionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelVersionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8499,6 +8822,12 @@ func (newState *SearchModelVersionsResponse_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *SearchModelVersionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchModelVersionsResponse_SdkV2) { } +func (c SearchModelVersionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "model_versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8578,12 +8907,6 @@ type SearchModelsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *SearchModelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelsRequest_SdkV2) { -} - -func (newState *SearchModelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchModelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8664,6 +8987,12 @@ func (newState *SearchModelsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SearchModelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchModelsResponse_SdkV2) { } +func (c SearchModelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "registered_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8765,6 +9094,11 @@ func (newState *SearchRuns_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SearchRuns_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchRuns_SdkV2) { } +func (c SearchRuns_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8878,6 +9212,12 @@ func (newState *SearchRunsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *SearchRunsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SearchRunsResponse_SdkV2) { } +func (c SearchRunsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Run_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "runs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8959,6 +9299,14 @@ func (newState *SetExperimentTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SetExperimentTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetExperimentTag_SdkV2) { } +func (c SetExperimentTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetExperimentTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9003,6 +9351,11 @@ func (newState *SetExperimentTagResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *SetExperimentTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetExperimentTagResponse_SdkV2) { } +func (c SetExperimentTagResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetExperimentTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9050,6 +9403,14 @@ func (newState *SetModelTagRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *SetModelTagRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetModelTagRequest_SdkV2) { } +func (c SetModelTagRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9094,6 +9455,11 @@ func (newState *SetModelTagResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *SetModelTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetModelTagResponse_SdkV2) { } +func (c SetModelTagResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9143,6 +9509,15 @@ func (newState *SetModelVersionTagRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *SetModelVersionTagRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetModelVersionTagRequest_SdkV2) { } +func (c SetModelVersionTagRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "value")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelVersionTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9189,6 +9564,11 @@ func (newState *SetModelVersionTagResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *SetModelVersionTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetModelVersionTagResponse_SdkV2) { } +func (c SetModelVersionTagResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelVersionTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9237,6 +9617,13 @@ func (newState *SetTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetTa func (newState *SetTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetTag_SdkV2) { } +func (c SetTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9283,6 +9670,11 @@ func (newState *SetTagResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SetTagResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetTagResponse_SdkV2) { } +func (c SetTagResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9324,6 +9716,11 @@ func (newState *TestRegistryWebhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *TestRegistryWebhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhook_SdkV2) { } +func (c TestRegistryWebhook_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TestRegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9372,6 +9769,12 @@ func (newState *TestRegistryWebhookRequest_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *TestRegistryWebhookRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhookRequest_SdkV2) { } +func (c TestRegistryWebhookRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TestRegistryWebhookRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9410,12 +9813,6 @@ type TestRegistryWebhookResponse_SdkV2 struct { Webhook types.List `tfsdk:"webhook" tf:"optional,object"` } -func (newState *TestRegistryWebhookResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TestRegistryWebhookResponse_SdkV2) { -} - -func (newState *TestRegistryWebhookResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhookResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TestRegistryWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9505,6 +9902,15 @@ func (newState *TransitionModelVersionStageDatabricks_SdkV2) SyncEffectiveFields func (newState *TransitionModelVersionStageDatabricks_SdkV2) SyncEffectiveFieldsDuringRead(existingState TransitionModelVersionStageDatabricks_SdkV2) { } +func (c TransitionModelVersionStageDatabricks_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "archive_existing_versions")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransitionModelVersionStageDatabricks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9573,6 +9979,11 @@ func (newState *TransitionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *TransitionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TransitionRequest_SdkV2) { } +func (c TransitionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9646,12 +10057,6 @@ type TransitionStageResponse_SdkV2 struct { ModelVersion types.List `tfsdk:"model_version" tf:"optional,object"` } -func (newState *TransitionStageResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransitionStageResponse_SdkV2) { -} - -func (newState *TransitionStageResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState TransitionStageResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransitionStageResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9726,6 +10131,13 @@ func (newState *UpdateComment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *UpdateComment_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateComment_SdkV2) { } +func (c UpdateComment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "comment")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateComment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9764,12 +10176,6 @@ type UpdateCommentResponse_SdkV2 struct { Comment types.List `tfsdk:"comment" tf:"optional,object"` } -func (newState *UpdateCommentResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCommentResponse_SdkV2) { -} - -func (newState *UpdateCommentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCommentResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCommentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9845,6 +10251,12 @@ func (newState *UpdateExperiment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateExperiment_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExperiment_SdkV2) { } +func (c UpdateExperiment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9887,6 +10299,11 @@ func (newState *UpdateExperimentResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *UpdateExperimentResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateExperimentResponse_SdkV2) { } +func (c UpdateExperimentResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9927,6 +10344,12 @@ func (newState *UpdateModelRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateModelRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateModelRequest_SdkV2) { } +func (c UpdateModelRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9963,12 +10386,6 @@ func (o UpdateModelRequest_SdkV2) Type(ctx context.Context) attr.Type { type UpdateModelResponse_SdkV2 struct { } -func (newState *UpdateModelResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelResponse_SdkV2) { -} - -func (newState *UpdateModelResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateModelResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10011,6 +10428,13 @@ func (newState *UpdateModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *UpdateModelVersionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionRequest_SdkV2) { } +func (c UpdateModelVersionRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10049,12 +10473,6 @@ func (o UpdateModelVersionRequest_SdkV2) Type(ctx context.Context) attr.Type { type UpdateModelVersionResponse_SdkV2 struct { } -func (newState *UpdateModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelVersionResponse_SdkV2) { -} - -func (newState *UpdateModelVersionResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10142,6 +10560,14 @@ func (newState *UpdateRegistryWebhook_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *UpdateRegistryWebhook_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRegistryWebhook_SdkV2) { } +func (c UpdateRegistryWebhook_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + HttpUrlSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "http_url_spec")...) + cs.SetRequired(append(path, "id")...) + JobSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "job_spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10289,6 +10715,11 @@ func (newState *UpdateRun_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Up func (newState *UpdateRun_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRun_SdkV2) { } +func (c UpdateRun_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10337,6 +10768,12 @@ func (newState *UpdateRunResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateRunResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRunResponse_SdkV2) { } +func (c UpdateRunResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "run_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10401,12 +10838,6 @@ func (o *UpdateRunResponse_SdkV2) SetRunInfo(ctx context.Context, v RunInfo_SdkV type UpdateWebhookResponse_SdkV2 struct { } -func (newState *UpdateWebhookResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateWebhookResponse_SdkV2) { -} - -func (newState *UpdateWebhookResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateWebhookResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/ml_tf/model.go b/internal/service/ml_tf/model.go index 12c5b7079..80b631a61 100755 --- a/internal/service/ml_tf/model.go +++ b/internal/service/ml_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -83,6 +84,11 @@ func (newState *Activity) SyncEffectiveFieldsDuringCreateOrUpdate(plan Activity) func (newState *Activity) SyncEffectiveFieldsDuringRead(existingState Activity) { } +func (c Activity) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Activity. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -158,6 +164,15 @@ func (newState *ApproveTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ApproveTransitionRequest) SyncEffectiveFieldsDuringRead(existingState ApproveTransitionRequest) { } +func (c ApproveTransitionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "archive_existing_versions")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ApproveTransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -202,12 +217,6 @@ type ApproveTransitionRequestResponse struct { Activity types.Object `tfsdk:"activity" tf:"optional,object"` } -func (newState *ApproveTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ApproveTransitionRequestResponse) { -} - -func (newState *ApproveTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState ApproveTransitionRequestResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ApproveTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -291,6 +300,11 @@ func (newState *CommentObject) SyncEffectiveFieldsDuringCreateOrUpdate(plan Comm func (newState *CommentObject) SyncEffectiveFieldsDuringRead(existingState CommentObject) { } +func (c CommentObject) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CommentObject. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -377,6 +391,14 @@ func (newState *CreateComment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Crea func (newState *CreateComment) SyncEffectiveFieldsDuringRead(existingState CreateComment) { } +func (c CreateComment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "comment")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateComment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -417,12 +439,6 @@ type CreateCommentResponse struct { Comment types.Object `tfsdk:"comment" tf:"optional,object"` } -func (newState *CreateCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateCommentResponse) { -} - -func (newState *CreateCommentResponse) SyncEffectiveFieldsDuringRead(existingState CreateCommentResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCommentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -504,6 +520,13 @@ func (newState *CreateExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *CreateExperiment) SyncEffectiveFieldsDuringRead(existingState CreateExperiment) { } +func (c CreateExperiment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + ExperimentTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -580,6 +603,11 @@ func (newState *CreateExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateExperimentResponse) SyncEffectiveFieldsDuringRead(existingState CreateExperimentResponse) { } +func (c CreateExperimentResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -626,6 +654,13 @@ func (newState *CreateModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateModelRequest) SyncEffectiveFieldsDuringRead(existingState CreateModelRequest) { } +func (c CreateModelRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + ModelTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -701,6 +736,12 @@ func (newState *CreateModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateModelResponse) SyncEffectiveFieldsDuringRead(existingState CreateModelResponse) { } +func (c CreateModelResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model{}.ApplySchemaCustomizations(cs, append(path, "registered_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -785,6 +826,14 @@ func (newState *CreateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState CreateModelVersionRequest) { } +func (c CreateModelVersionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "source")...) + ModelVersionTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -867,6 +916,12 @@ func (newState *CreateModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState CreateModelVersionResponse) { } +func (c CreateModelVersionResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion{}.ApplySchemaCustomizations(cs, append(path, "model_version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -988,6 +1043,14 @@ func (newState *CreateRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateRegistryWebhook) SyncEffectiveFieldsDuringRead(existingState CreateRegistryWebhook) { } +func (c CreateRegistryWebhook) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "events")...) + HttpUrlSpec{}.ApplySchemaCustomizations(cs, append(path, "http_url_spec")...) + JobSpec{}.ApplySchemaCustomizations(cs, append(path, "job_spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1136,6 +1199,12 @@ func (newState *CreateRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateRu func (newState *CreateRun) SyncEffectiveFieldsDuringRead(existingState CreateRun) { } +func (c CreateRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1214,6 +1283,12 @@ func (newState *CreateRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateRunResponse) SyncEffectiveFieldsDuringRead(existingState CreateRunResponse) { } +func (c CreateRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Run{}.ApplySchemaCustomizations(cs, append(path, "run")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1300,6 +1375,14 @@ func (newState *CreateTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateTransitionRequest) SyncEffectiveFieldsDuringRead(existingState CreateTransitionRequest) { } +func (c CreateTransitionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1342,12 +1425,6 @@ type CreateTransitionRequestResponse struct { Request types.Object `tfsdk:"request" tf:"optional,object"` } -func (newState *CreateTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateTransitionRequestResponse) { -} - -func (newState *CreateTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState CreateTransitionRequestResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1413,12 +1490,6 @@ type CreateWebhookResponse struct { Webhook types.Object `tfsdk:"webhook" tf:"optional,object"` } -func (newState *CreateWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateWebhookResponse) { -} - -func (newState *CreateWebhookResponse) SyncEffectiveFieldsDuringRead(existingState CreateWebhookResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1509,6 +1580,11 @@ func (newState *Dataset) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dataset) { func (newState *Dataset) SyncEffectiveFieldsDuringRead(existingState Dataset) { } +func (c Dataset) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dataset. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1564,6 +1640,13 @@ func (newState *DatasetInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan Datas func (newState *DatasetInput) SyncEffectiveFieldsDuringRead(existingState DatasetInput) { } +func (c DatasetInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Dataset{}.ApplySchemaCustomizations(cs, append(path, "dataset")...) + InputTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatasetInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1661,12 +1744,6 @@ type DeleteCommentRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteCommentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCommentRequest) { -} - -func (newState *DeleteCommentRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCommentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCommentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1701,12 +1778,6 @@ func (o DeleteCommentRequest) Type(ctx context.Context) attr.Type { type DeleteCommentResponse struct { } -func (newState *DeleteCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCommentResponse) { -} - -func (newState *DeleteCommentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteCommentResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCommentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1745,6 +1816,12 @@ func (newState *DeleteExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan D func (newState *DeleteExperiment) SyncEffectiveFieldsDuringRead(existingState DeleteExperiment) { } +func (c DeleteExperiment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1785,6 +1862,11 @@ func (newState *DeleteExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *DeleteExperimentResponse) SyncEffectiveFieldsDuringRead(existingState DeleteExperimentResponse) { } +func (c DeleteExperimentResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1818,12 +1900,6 @@ type DeleteModelRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelRequest) { -} - -func (newState *DeleteModelRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1858,12 +1934,6 @@ func (o DeleteModelRequest) Type(ctx context.Context) attr.Type { type DeleteModelResponse struct { } -func (newState *DeleteModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelResponse) { -} - -func (newState *DeleteModelResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1900,12 +1970,6 @@ type DeleteModelTagRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteModelTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelTagRequest) { -} - -func (newState *DeleteModelTagRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelTagRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1942,12 +2006,6 @@ func (o DeleteModelTagRequest) Type(ctx context.Context) attr.Type { type DeleteModelTagResponse struct { } -func (newState *DeleteModelTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelTagResponse) { -} - -func (newState *DeleteModelTagResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelTagResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1983,12 +2041,6 @@ type DeleteModelVersionRequest struct { Version types.String `tfsdk:"-"` } -func (newState *DeleteModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionRequest) { -} - -func (newState *DeleteModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2025,12 +2077,6 @@ func (o DeleteModelVersionRequest) Type(ctx context.Context) attr.Type { type DeleteModelVersionResponse struct { } -func (newState *DeleteModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionResponse) { -} - -func (newState *DeleteModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2069,12 +2115,6 @@ type DeleteModelVersionTagRequest struct { Version types.String `tfsdk:"-"` } -func (newState *DeleteModelVersionTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionTagRequest) { -} - -func (newState *DeleteModelVersionTagRequest) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionTagRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2113,12 +2153,6 @@ func (o DeleteModelVersionTagRequest) Type(ctx context.Context) attr.Type { type DeleteModelVersionTagResponse struct { } -func (newState *DeleteModelVersionTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteModelVersionTagResponse) { -} - -func (newState *DeleteModelVersionTagResponse) SyncEffectiveFieldsDuringRead(existingState DeleteModelVersionTagResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteModelVersionTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2157,6 +2191,12 @@ func (newState *DeleteRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRu func (newState *DeleteRun) SyncEffectiveFieldsDuringRead(existingState DeleteRun) { } +func (c DeleteRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2197,6 +2237,11 @@ func (newState *DeleteRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteRunResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRunResponse) { } +func (c DeleteRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2242,6 +2287,13 @@ func (newState *DeleteRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteR func (newState *DeleteRuns) SyncEffectiveFieldsDuringRead(existingState DeleteRuns) { } +func (c DeleteRuns) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + cs.SetRequired(append(path, "max_timestamp_millis")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2288,6 +2340,11 @@ func (newState *DeleteRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteRunsResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRunsResponse) { } +func (c DeleteRunsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2332,6 +2389,13 @@ func (newState *DeleteTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTa func (newState *DeleteTag) SyncEffectiveFieldsDuringRead(existingState DeleteTag) { } +func (c DeleteTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2374,6 +2438,11 @@ func (newState *DeleteTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteTagResponse) SyncEffectiveFieldsDuringRead(existingState DeleteTagResponse) { } +func (c DeleteTagResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2425,12 +2494,6 @@ type DeleteTransitionRequestRequest struct { Version types.String `tfsdk:"-"` } -func (newState *DeleteTransitionRequestRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTransitionRequestRequest) { -} - -func (newState *DeleteTransitionRequestRequest) SyncEffectiveFieldsDuringRead(existingState DeleteTransitionRequestRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTransitionRequestRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2473,12 +2536,6 @@ func (o DeleteTransitionRequestRequest) Type(ctx context.Context) attr.Type { type DeleteTransitionRequestResponse struct { } -func (newState *DeleteTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTransitionRequestResponse) { -} - -func (newState *DeleteTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState DeleteTransitionRequestResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2512,12 +2569,6 @@ type DeleteWebhookRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteWebhookRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWebhookRequest) { -} - -func (newState *DeleteWebhookRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWebhookRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWebhookRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2552,12 +2603,6 @@ func (o DeleteWebhookRequest) Type(ctx context.Context) attr.Type { type DeleteWebhookResponse struct { } -func (newState *DeleteWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWebhookResponse) { -} - -func (newState *DeleteWebhookResponse) SyncEffectiveFieldsDuringRead(existingState DeleteWebhookResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2609,6 +2654,12 @@ func (newState *Experiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Experim func (newState *Experiment) SyncEffectiveFieldsDuringRead(existingState Experiment) { } +func (c Experiment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Experiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2699,6 +2750,11 @@ func (newState *ExperimentAccessControlRequest) SyncEffectiveFieldsDuringCreateO func (newState *ExperimentAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ExperimentAccessControlRequest) { } +func (c ExperimentAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2755,6 +2811,12 @@ func (newState *ExperimentAccessControlResponse) SyncEffectiveFieldsDuringCreate func (newState *ExperimentAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ExperimentAccessControlResponse) { } +func (c ExperimentAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2838,6 +2900,11 @@ func (newState *ExperimentPermission) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ExperimentPermission) SyncEffectiveFieldsDuringRead(existingState ExperimentPermission) { } +func (c ExperimentPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2917,6 +2984,12 @@ func (newState *ExperimentPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ExperimentPermissions) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissions) { } +func (c ExperimentPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2994,6 +3067,11 @@ func (newState *ExperimentPermissionsDescription) SyncEffectiveFieldsDuringCreat func (newState *ExperimentPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissionsDescription) { } +func (c ExperimentPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3039,6 +3117,13 @@ func (newState *ExperimentPermissionsRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *ExperimentPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ExperimentPermissionsRequest) { } +func (c ExperimentPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3115,6 +3200,11 @@ func (newState *ExperimentTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan Expe func (newState *ExperimentTag) SyncEffectiveFieldsDuringRead(existingState ExperimentTag) { } +func (c ExperimentTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExperimentTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3163,6 +3253,11 @@ func (newState *FileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileInfo) func (newState *FileInfo) SyncEffectiveFieldsDuringRead(existingState FileInfo) { } +func (c FileInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3204,12 +3299,6 @@ type GetByNameRequest struct { ExperimentName types.String `tfsdk:"-"` } -func (newState *GetByNameRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetByNameRequest) { -} - -func (newState *GetByNameRequest) SyncEffectiveFieldsDuringRead(existingState GetByNameRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetByNameRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3247,12 +3336,6 @@ type GetExperimentPermissionLevelsRequest struct { ExperimentId types.String `tfsdk:"-"` } -func (newState *GetExperimentPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionLevelsRequest) { -} - -func (newState *GetExperimentPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3295,6 +3378,12 @@ func (newState *GetExperimentPermissionLevelsResponse) SyncEffectiveFieldsDuring func (newState *GetExperimentPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionLevelsResponse) { } +func (c GetExperimentPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExperimentPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3362,12 +3451,6 @@ type GetExperimentPermissionsRequest struct { ExperimentId types.String `tfsdk:"-"` } -func (newState *GetExperimentPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentPermissionsRequest) { -} - -func (newState *GetExperimentPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetExperimentPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3405,12 +3488,6 @@ type GetExperimentRequest struct { ExperimentId types.String `tfsdk:"-"` } -func (newState *GetExperimentRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetExperimentRequest) { -} - -func (newState *GetExperimentRequest) SyncEffectiveFieldsDuringRead(existingState GetExperimentRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3453,6 +3530,12 @@ func (newState *GetExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *GetExperimentResponse) SyncEffectiveFieldsDuringRead(existingState GetExperimentResponse) { } +func (c GetExperimentResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Experiment{}.ApplySchemaCustomizations(cs, append(path, "experiment")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3531,12 +3614,6 @@ type GetHistoryRequest struct { RunUuid types.String `tfsdk:"-"` } -func (newState *GetHistoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetHistoryRequest) { -} - -func (newState *GetHistoryRequest) SyncEffectiveFieldsDuringRead(existingState GetHistoryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetHistoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3589,6 +3666,12 @@ func (newState *GetLatestVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *GetLatestVersionsRequest) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionsRequest) { } +func (c GetLatestVersionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLatestVersionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3665,6 +3748,12 @@ func (newState *GetLatestVersionsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *GetLatestVersionsResponse) SyncEffectiveFieldsDuringRead(existingState GetLatestVersionsResponse) { } +func (c GetLatestVersionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion{}.ApplySchemaCustomizations(cs, append(path, "model_versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetLatestVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3740,6 +3829,12 @@ func (newState *GetMetricHistoryResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *GetMetricHistoryResponse) SyncEffectiveFieldsDuringRead(existingState GetMetricHistoryResponse) { } +func (c GetMetricHistoryResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Metric{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetricHistoryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3809,12 +3904,6 @@ type GetModelRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelRequest) { -} - -func (newState *GetModelRequest) SyncEffectiveFieldsDuringRead(existingState GetModelRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3850,12 +3939,6 @@ type GetModelResponse struct { RegisteredModelDatabricks types.Object `tfsdk:"registered_model_databricks" tf:"optional,object"` } -func (newState *GetModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelResponse) { -} - -func (newState *GetModelResponse) SyncEffectiveFieldsDuringRead(existingState GetModelResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3925,12 +4008,6 @@ type GetModelVersionDownloadUriRequest struct { Version types.String `tfsdk:"-"` } -func (newState *GetModelVersionDownloadUriRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionDownloadUriRequest) { -} - -func (newState *GetModelVersionDownloadUriRequest) SyncEffectiveFieldsDuringRead(existingState GetModelVersionDownloadUriRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionDownloadUriRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3975,6 +4052,11 @@ func (newState *GetModelVersionDownloadUriResponse) SyncEffectiveFieldsDuringCre func (newState *GetModelVersionDownloadUriResponse) SyncEffectiveFieldsDuringRead(existingState GetModelVersionDownloadUriResponse) { } +func (c GetModelVersionDownloadUriResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionDownloadUriResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4014,12 +4096,6 @@ type GetModelVersionRequest struct { Version types.String `tfsdk:"-"` } -func (newState *GetModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetModelVersionRequest) { -} - -func (newState *GetModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState GetModelVersionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4063,6 +4139,12 @@ func (newState *GetModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GetModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState GetModelVersionResponse) { } +func (c GetModelVersionResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion{}.ApplySchemaCustomizations(cs, append(path, "model_version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4130,12 +4212,6 @@ type GetRegisteredModelPermissionLevelsRequest struct { RegisteredModelId types.String `tfsdk:"-"` } -func (newState *GetRegisteredModelPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionLevelsRequest) { -} - -func (newState *GetRegisteredModelPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4178,6 +4254,12 @@ func (newState *GetRegisteredModelPermissionLevelsResponse) SyncEffectiveFieldsD func (newState *GetRegisteredModelPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionLevelsResponse) { } +func (c GetRegisteredModelPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4245,12 +4327,6 @@ type GetRegisteredModelPermissionsRequest struct { RegisteredModelId types.String `tfsdk:"-"` } -func (newState *GetRegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRegisteredModelPermissionsRequest) { -} - -func (newState *GetRegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetRegisteredModelPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRegisteredModelPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4291,12 +4367,6 @@ type GetRunRequest struct { RunUuid types.String `tfsdk:"-"` } -func (newState *GetRunRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRunRequest) { -} - -func (newState *GetRunRequest) SyncEffectiveFieldsDuringRead(existingState GetRunRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4342,6 +4412,12 @@ func (newState *GetRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Get func (newState *GetRunResponse) SyncEffectiveFieldsDuringRead(existingState GetRunResponse) { } +func (c GetRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Run{}.ApplySchemaCustomizations(cs, append(path, "run")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4431,6 +4507,12 @@ func (newState *HttpUrlSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan HttpUr func (newState *HttpUrlSpec) SyncEffectiveFieldsDuringRead(existingState HttpUrlSpec) { } +func (c HttpUrlSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in HttpUrlSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4487,6 +4569,11 @@ func (newState *HttpUrlSpecWithoutSecret) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *HttpUrlSpecWithoutSecret) SyncEffectiveFieldsDuringRead(existingState HttpUrlSpecWithoutSecret) { } +func (c HttpUrlSpecWithoutSecret) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in HttpUrlSpecWithoutSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4533,6 +4620,11 @@ func (newState *InputTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan InputTag) func (newState *InputTag) SyncEffectiveFieldsDuringRead(existingState InputTag) { } +func (c InputTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in InputTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4583,6 +4675,13 @@ func (newState *JobSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan JobSpec) { func (newState *JobSpec) SyncEffectiveFieldsDuringRead(existingState JobSpec) { } +func (c JobSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_token")...) + cs.SetRequired(append(path, "job_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4633,6 +4732,11 @@ func (newState *JobSpecWithoutSecret) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *JobSpecWithoutSecret) SyncEffectiveFieldsDuringRead(existingState JobSpecWithoutSecret) { } +func (c JobSpecWithoutSecret) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in JobSpecWithoutSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4685,12 +4789,6 @@ type ListArtifactsRequest struct { RunUuid types.String `tfsdk:"-"` } -func (newState *ListArtifactsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListArtifactsRequest) { -} - -func (newState *ListArtifactsRequest) SyncEffectiveFieldsDuringRead(existingState ListArtifactsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListArtifactsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4743,6 +4841,12 @@ func (newState *ListArtifactsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListArtifactsResponse) SyncEffectiveFieldsDuringRead(existingState ListArtifactsResponse) { } +func (c ListArtifactsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileInfo{}.ApplySchemaCustomizations(cs, append(path, "files")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListArtifactsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4823,12 +4927,6 @@ type ListExperimentsRequest struct { ViewType types.String `tfsdk:"-"` } -func (newState *ListExperimentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListExperimentsRequest) { -} - -func (newState *ListExperimentsRequest) SyncEffectiveFieldsDuringRead(existingState ListExperimentsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExperimentsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4879,6 +4977,12 @@ func (newState *ListExperimentsResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListExperimentsResponse) SyncEffectiveFieldsDuringRead(existingState ListExperimentsResponse) { } +func (c ListExperimentsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Experiment{}.ApplySchemaCustomizations(cs, append(path, "experiments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListExperimentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4950,12 +5054,6 @@ type ListModelsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListModelsRequest) { -} - -func (newState *ListModelsRequest) SyncEffectiveFieldsDuringRead(existingState ListModelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5002,6 +5100,12 @@ func (newState *ListModelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListModelsResponse) SyncEffectiveFieldsDuringRead(existingState ListModelsResponse) { } +func (c ListModelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model{}.ApplySchemaCustomizations(cs, append(path, "registered_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListModelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5078,6 +5182,12 @@ func (newState *ListRegistryWebhooks) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListRegistryWebhooks) SyncEffectiveFieldsDuringRead(existingState ListRegistryWebhooks) { } +func (c ListRegistryWebhooks) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegistryWebhook{}.ApplySchemaCustomizations(cs, append(path, "webhooks")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRegistryWebhooks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5149,12 +5259,6 @@ type ListTransitionRequestsRequest struct { Version types.String `tfsdk:"-"` } -func (newState *ListTransitionRequestsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTransitionRequestsRequest) { -} - -func (newState *ListTransitionRequestsRequest) SyncEffectiveFieldsDuringRead(existingState ListTransitionRequestsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTransitionRequestsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5193,12 +5297,6 @@ type ListTransitionRequestsResponse struct { Requests types.List `tfsdk:"requests" tf:"optional"` } -func (newState *ListTransitionRequestsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTransitionRequestsResponse) { -} - -func (newState *ListTransitionRequestsResponse) SyncEffectiveFieldsDuringRead(existingState ListTransitionRequestsResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTransitionRequestsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5273,12 +5371,6 @@ type ListWebhooksRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListWebhooksRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWebhooksRequest) { -} - -func (newState *ListWebhooksRequest) SyncEffectiveFieldsDuringRead(existingState ListWebhooksRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWebhooksRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5364,6 +5456,14 @@ func (newState *LogBatch) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogBatch) func (newState *LogBatch) SyncEffectiveFieldsDuringRead(existingState LogBatch) { } +func (c LogBatch) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Metric{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + Param{}.ApplySchemaCustomizations(cs, append(path, "params")...) + RunTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogBatch. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5498,6 +5598,11 @@ func (newState *LogBatchResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *LogBatchResponse) SyncEffectiveFieldsDuringRead(existingState LogBatchResponse) { } +func (c LogBatchResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogBatchResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5538,6 +5643,12 @@ func (newState *LogInputs) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogInput func (newState *LogInputs) SyncEffectiveFieldsDuringRead(existingState LogInputs) { } +func (c LogInputs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DatasetInput{}.ApplySchemaCustomizations(cs, append(path, "datasets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogInputs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5610,6 +5721,11 @@ func (newState *LogInputsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *LogInputsResponse) SyncEffectiveFieldsDuringRead(existingState LogInputsResponse) { } +func (c LogInputsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogInputsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5659,6 +5775,14 @@ func (newState *LogMetric) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogMetri func (newState *LogMetric) SyncEffectiveFieldsDuringRead(existingState LogMetric) { } +func (c LogMetric) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "timestamp")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogMetric. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5709,6 +5833,11 @@ func (newState *LogMetricResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *LogMetricResponse) SyncEffectiveFieldsDuringRead(existingState LogMetricResponse) { } +func (c LogMetricResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogMetricResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5749,6 +5878,11 @@ func (newState *LogModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogModel) func (newState *LogModel) SyncEffectiveFieldsDuringRead(existingState LogModel) { } +func (c LogModel) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogModel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5791,6 +5925,11 @@ func (newState *LogModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *LogModelResponse) SyncEffectiveFieldsDuringRead(existingState LogModelResponse) { } +func (c LogModelResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5836,6 +5975,13 @@ func (newState *LogParam) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogParam) func (newState *LogParam) SyncEffectiveFieldsDuringRead(existingState LogParam) { } +func (c LogParam) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogParam. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5882,6 +6028,11 @@ func (newState *LogParamResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *LogParamResponse) SyncEffectiveFieldsDuringRead(existingState LogParamResponse) { } +func (c LogParamResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogParamResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5926,6 +6077,11 @@ func (newState *Metric) SyncEffectiveFieldsDuringCreateOrUpdate(plan Metric) { func (newState *Metric) SyncEffectiveFieldsDuringRead(existingState Metric) { } +func (c Metric) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Metric. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5988,6 +6144,13 @@ func (newState *Model) SyncEffectiveFieldsDuringCreateOrUpdate(plan Model) { func (newState *Model) SyncEffectiveFieldsDuringRead(existingState Model) { } +func (c Model) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion{}.ApplySchemaCustomizations(cs, append(path, "latest_versions")...) + ModelTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Model. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6118,6 +6281,13 @@ func (newState *ModelDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mo func (newState *ModelDatabricks) SyncEffectiveFieldsDuringRead(existingState ModelDatabricks) { } +func (c ModelDatabricks) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion{}.ApplySchemaCustomizations(cs, append(path, "latest_versions")...) + ModelTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelDatabricks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6237,6 +6407,11 @@ func (newState *ModelTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan ModelTag) func (newState *ModelTag) SyncEffectiveFieldsDuringRead(existingState ModelTag) { } +func (c ModelTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6308,6 +6483,12 @@ func (newState *ModelVersion) SyncEffectiveFieldsDuringCreateOrUpdate(plan Model func (newState *ModelVersion) SyncEffectiveFieldsDuringRead(existingState ModelVersion) { } +func (c ModelVersion) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersionTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersion. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6450,6 +6631,12 @@ func (newState *ModelVersionDatabricks) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ModelVersionDatabricks) SyncEffectiveFieldsDuringRead(existingState ModelVersionDatabricks) { } +func (c ModelVersionDatabricks) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersionTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersionDatabricks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6550,6 +6737,11 @@ func (newState *ModelVersionTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mo func (newState *ModelVersionTag) SyncEffectiveFieldsDuringRead(existingState ModelVersionTag) { } +func (c ModelVersionTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelVersionTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6596,6 +6788,11 @@ func (newState *Param) SyncEffectiveFieldsDuringCreateOrUpdate(plan Param) { func (newState *Param) SyncEffectiveFieldsDuringRead(existingState Param) { } +func (c Param) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Param. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6646,6 +6843,11 @@ func (newState *RegisteredModelAccessControlRequest) SyncEffectiveFieldsDuringCr func (newState *RegisteredModelAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAccessControlRequest) { } +func (c RegisteredModelAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6702,6 +6904,12 @@ func (newState *RegisteredModelAccessControlResponse) SyncEffectiveFieldsDuringC func (newState *RegisteredModelAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState RegisteredModelAccessControlResponse) { } +func (c RegisteredModelAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6785,6 +6993,11 @@ func (newState *RegisteredModelPermission) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RegisteredModelPermission) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermission) { } +func (c RegisteredModelPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6864,6 +7077,12 @@ func (newState *RegisteredModelPermissions) SyncEffectiveFieldsDuringCreateOrUpd func (newState *RegisteredModelPermissions) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissions) { } +func (c RegisteredModelPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6941,6 +7160,11 @@ func (newState *RegisteredModelPermissionsDescription) SyncEffectiveFieldsDuring func (newState *RegisteredModelPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissionsDescription) { } +func (c RegisteredModelPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6986,6 +7210,13 @@ func (newState *RegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringCrea func (newState *RegisteredModelPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState RegisteredModelPermissionsRequest) { } +func (c RegisteredModelPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RegisteredModelAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "registered_model_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegisteredModelPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7115,6 +7346,13 @@ func (newState *RegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(plan Re func (newState *RegistryWebhook) SyncEffectiveFieldsDuringRead(existingState RegistryWebhook) { } +func (c RegistryWebhook) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + HttpUrlSpecWithoutSecret{}.ApplySchemaCustomizations(cs, append(path, "http_url_spec")...) + JobSpecWithoutSecret{}.ApplySchemaCustomizations(cs, append(path, "job_spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7275,6 +7513,14 @@ func (newState *RejectTransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *RejectTransitionRequest) SyncEffectiveFieldsDuringRead(existingState RejectTransitionRequest) { } +func (c RejectTransitionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RejectTransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7317,12 +7563,6 @@ type RejectTransitionRequestResponse struct { Activity types.Object `tfsdk:"activity" tf:"optional,object"` } -func (newState *RejectTransitionRequestResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RejectTransitionRequestResponse) { -} - -func (newState *RejectTransitionRequestResponse) SyncEffectiveFieldsDuringRead(existingState RejectTransitionRequestResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RejectTransitionRequestResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7397,6 +7637,12 @@ func (newState *RenameModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RenameModelRequest) SyncEffectiveFieldsDuringRead(existingState RenameModelRequest) { } +func (c RenameModelRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RenameModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7440,6 +7686,12 @@ func (newState *RenameModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RenameModelResponse) SyncEffectiveFieldsDuringRead(existingState RenameModelResponse) { } +func (c RenameModelResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model{}.ApplySchemaCustomizations(cs, append(path, "registered_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RenameModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7512,6 +7764,12 @@ func (newState *RestoreExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RestoreExperiment) SyncEffectiveFieldsDuringRead(existingState RestoreExperiment) { } +func (c RestoreExperiment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7552,6 +7810,11 @@ func (newState *RestoreExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RestoreExperimentResponse) SyncEffectiveFieldsDuringRead(existingState RestoreExperimentResponse) { } +func (c RestoreExperimentResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7590,6 +7853,12 @@ func (newState *RestoreRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan Restore func (newState *RestoreRun) SyncEffectiveFieldsDuringRead(existingState RestoreRun) { } +func (c RestoreRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "run_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7630,6 +7899,11 @@ func (newState *RestoreRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RestoreRunResponse) SyncEffectiveFieldsDuringRead(existingState RestoreRunResponse) { } +func (c RestoreRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7675,6 +7949,13 @@ func (newState *RestoreRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan Restor func (newState *RestoreRuns) SyncEffectiveFieldsDuringRead(existingState RestoreRuns) { } +func (c RestoreRuns) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + cs.SetRequired(append(path, "min_timestamp_millis")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7721,6 +8002,11 @@ func (newState *RestoreRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RestoreRunsResponse) SyncEffectiveFieldsDuringRead(existingState RestoreRunsResponse) { } +func (c RestoreRunsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7767,6 +8053,14 @@ func (newState *Run) SyncEffectiveFieldsDuringCreateOrUpdate(plan Run) { func (newState *Run) SyncEffectiveFieldsDuringRead(existingState Run) { } +func (c Run) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunData{}.ApplySchemaCustomizations(cs, append(path, "data")...) + RunInfo{}.ApplySchemaCustomizations(cs, append(path, "info")...) + RunInputs{}.ApplySchemaCustomizations(cs, append(path, "inputs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Run. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7905,6 +8199,14 @@ func (newState *RunData) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunData) { func (newState *RunData) SyncEffectiveFieldsDuringRead(existingState RunData) { } +func (c RunData) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Metric{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + Param{}.ApplySchemaCustomizations(cs, append(path, "params")...) + RunTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunData. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8061,6 +8363,11 @@ func (newState *RunInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunInfo) { func (newState *RunInfo) SyncEffectiveFieldsDuringRead(existingState RunInfo) { } +func (c RunInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8119,6 +8426,12 @@ func (newState *RunInputs) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunInput func (newState *RunInputs) SyncEffectiveFieldsDuringRead(existingState RunInputs) { } +func (c RunInputs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DatasetInput{}.ApplySchemaCustomizations(cs, append(path, "dataset_inputs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunInputs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8193,6 +8506,11 @@ func (newState *RunTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan RunTag) { func (newState *RunTag) SyncEffectiveFieldsDuringRead(existingState RunTag) { } +func (c RunTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RunTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8250,6 +8568,11 @@ func (newState *SearchExperiments) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SearchExperiments) SyncEffectiveFieldsDuringRead(existingState SearchExperiments) { } +func (c SearchExperiments) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchExperiments. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8333,6 +8656,12 @@ func (newState *SearchExperimentsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *SearchExperimentsResponse) SyncEffectiveFieldsDuringRead(existingState SearchExperimentsResponse) { } +func (c SearchExperimentsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Experiment{}.ApplySchemaCustomizations(cs, append(path, "experiments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchExperimentsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8412,12 +8741,6 @@ type SearchModelVersionsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *SearchModelVersionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelVersionsRequest) { -} - -func (newState *SearchModelVersionsRequest) SyncEffectiveFieldsDuringRead(existingState SearchModelVersionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelVersionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8499,6 +8822,12 @@ func (newState *SearchModelVersionsResponse) SyncEffectiveFieldsDuringCreateOrUp func (newState *SearchModelVersionsResponse) SyncEffectiveFieldsDuringRead(existingState SearchModelVersionsResponse) { } +func (c SearchModelVersionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ModelVersion{}.ApplySchemaCustomizations(cs, append(path, "model_versions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelVersionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8578,12 +8907,6 @@ type SearchModelsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *SearchModelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchModelsRequest) { -} - -func (newState *SearchModelsRequest) SyncEffectiveFieldsDuringRead(existingState SearchModelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8664,6 +8987,12 @@ func (newState *SearchModelsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SearchModelsResponse) SyncEffectiveFieldsDuringRead(existingState SearchModelsResponse) { } +func (c SearchModelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Model{}.ApplySchemaCustomizations(cs, append(path, "registered_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchModelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8765,6 +9094,11 @@ func (newState *SearchRuns) SyncEffectiveFieldsDuringCreateOrUpdate(plan SearchR func (newState *SearchRuns) SyncEffectiveFieldsDuringRead(existingState SearchRuns) { } +func (c SearchRuns) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchRuns. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8878,6 +9212,12 @@ func (newState *SearchRunsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SearchRunsResponse) SyncEffectiveFieldsDuringRead(existingState SearchRunsResponse) { } +func (c SearchRunsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Run{}.ApplySchemaCustomizations(cs, append(path, "runs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SearchRunsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8959,6 +9299,14 @@ func (newState *SetExperimentTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SetExperimentTag) SyncEffectiveFieldsDuringRead(existingState SetExperimentTag) { } +func (c SetExperimentTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetExperimentTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9003,6 +9351,11 @@ func (newState *SetExperimentTagResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *SetExperimentTagResponse) SyncEffectiveFieldsDuringRead(existingState SetExperimentTagResponse) { } +func (c SetExperimentTagResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetExperimentTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9050,6 +9403,14 @@ func (newState *SetModelTagRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SetModelTagRequest) SyncEffectiveFieldsDuringRead(existingState SetModelTagRequest) { } +func (c SetModelTagRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9094,6 +9455,11 @@ func (newState *SetModelTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *SetModelTagResponse) SyncEffectiveFieldsDuringRead(existingState SetModelTagResponse) { } +func (c SetModelTagResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9143,6 +9509,15 @@ func (newState *SetModelVersionTagRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *SetModelVersionTagRequest) SyncEffectiveFieldsDuringRead(existingState SetModelVersionTagRequest) { } +func (c SetModelVersionTagRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "value")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelVersionTagRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9189,6 +9564,11 @@ func (newState *SetModelVersionTagResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SetModelVersionTagResponse) SyncEffectiveFieldsDuringRead(existingState SetModelVersionTagResponse) { } +func (c SetModelVersionTagResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetModelVersionTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9237,6 +9617,13 @@ func (newState *SetTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetTag) { func (newState *SetTag) SyncEffectiveFieldsDuringRead(existingState SetTag) { } +func (c SetTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9283,6 +9670,11 @@ func (newState *SetTagResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Set func (newState *SetTagResponse) SyncEffectiveFieldsDuringRead(existingState SetTagResponse) { } +func (c SetTagResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetTagResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9324,6 +9716,11 @@ func (newState *TestRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *TestRegistryWebhook) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhook) { } +func (c TestRegistryWebhook) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TestRegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9372,6 +9769,12 @@ func (newState *TestRegistryWebhookRequest) SyncEffectiveFieldsDuringCreateOrUpd func (newState *TestRegistryWebhookRequest) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhookRequest) { } +func (c TestRegistryWebhookRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TestRegistryWebhookRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9410,12 +9813,6 @@ type TestRegistryWebhookResponse struct { Webhook types.Object `tfsdk:"webhook" tf:"optional,object"` } -func (newState *TestRegistryWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan TestRegistryWebhookResponse) { -} - -func (newState *TestRegistryWebhookResponse) SyncEffectiveFieldsDuringRead(existingState TestRegistryWebhookResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TestRegistryWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9505,6 +9902,15 @@ func (newState *TransitionModelVersionStageDatabricks) SyncEffectiveFieldsDuring func (newState *TransitionModelVersionStageDatabricks) SyncEffectiveFieldsDuringRead(existingState TransitionModelVersionStageDatabricks) { } +func (c TransitionModelVersionStageDatabricks) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "archive_existing_versions")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "stage")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransitionModelVersionStageDatabricks. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9573,6 +9979,11 @@ func (newState *TransitionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TransitionRequest) SyncEffectiveFieldsDuringRead(existingState TransitionRequest) { } +func (c TransitionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransitionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9646,12 +10057,6 @@ type TransitionStageResponse struct { ModelVersion types.Object `tfsdk:"model_version" tf:"optional,object"` } -func (newState *TransitionStageResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransitionStageResponse) { -} - -func (newState *TransitionStageResponse) SyncEffectiveFieldsDuringRead(existingState TransitionStageResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransitionStageResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9726,6 +10131,13 @@ func (newState *UpdateComment) SyncEffectiveFieldsDuringCreateOrUpdate(plan Upda func (newState *UpdateComment) SyncEffectiveFieldsDuringRead(existingState UpdateComment) { } +func (c UpdateComment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "comment")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateComment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9764,12 +10176,6 @@ type UpdateCommentResponse struct { Comment types.Object `tfsdk:"comment" tf:"optional,object"` } -func (newState *UpdateCommentResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateCommentResponse) { -} - -func (newState *UpdateCommentResponse) SyncEffectiveFieldsDuringRead(existingState UpdateCommentResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCommentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9845,6 +10251,12 @@ func (newState *UpdateExperiment) SyncEffectiveFieldsDuringCreateOrUpdate(plan U func (newState *UpdateExperiment) SyncEffectiveFieldsDuringRead(existingState UpdateExperiment) { } +func (c UpdateExperiment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "experiment_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExperiment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9887,6 +10299,11 @@ func (newState *UpdateExperimentResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateExperimentResponse) SyncEffectiveFieldsDuringRead(existingState UpdateExperimentResponse) { } +func (c UpdateExperimentResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateExperimentResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9927,6 +10344,12 @@ func (newState *UpdateModelRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateModelRequest) SyncEffectiveFieldsDuringRead(existingState UpdateModelRequest) { } +func (c UpdateModelRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9963,12 +10386,6 @@ func (o UpdateModelRequest) Type(ctx context.Context) attr.Type { type UpdateModelResponse struct { } -func (newState *UpdateModelResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelResponse) { -} - -func (newState *UpdateModelResponse) SyncEffectiveFieldsDuringRead(existingState UpdateModelResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10011,6 +10428,13 @@ func (newState *UpdateModelVersionRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *UpdateModelVersionRequest) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionRequest) { } +func (c UpdateModelVersionRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "version")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelVersionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10049,12 +10473,6 @@ func (o UpdateModelVersionRequest) Type(ctx context.Context) attr.Type { type UpdateModelVersionResponse struct { } -func (newState *UpdateModelVersionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateModelVersionResponse) { -} - -func (newState *UpdateModelVersionResponse) SyncEffectiveFieldsDuringRead(existingState UpdateModelVersionResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateModelVersionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10142,6 +10560,14 @@ func (newState *UpdateRegistryWebhook) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateRegistryWebhook) SyncEffectiveFieldsDuringRead(existingState UpdateRegistryWebhook) { } +func (c UpdateRegistryWebhook) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + HttpUrlSpec{}.ApplySchemaCustomizations(cs, append(path, "http_url_spec")...) + cs.SetRequired(append(path, "id")...) + JobSpec{}.ApplySchemaCustomizations(cs, append(path, "job_spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRegistryWebhook. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10289,6 +10715,11 @@ func (newState *UpdateRun) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateRu func (newState *UpdateRun) SyncEffectiveFieldsDuringRead(existingState UpdateRun) { } +func (c UpdateRun) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRun. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10337,6 +10768,12 @@ func (newState *UpdateRunResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateRunResponse) SyncEffectiveFieldsDuringRead(existingState UpdateRunResponse) { } +func (c UpdateRunResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RunInfo{}.ApplySchemaCustomizations(cs, append(path, "run_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRunResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10401,12 +10838,6 @@ func (o *UpdateRunResponse) SetRunInfo(ctx context.Context, v RunInfo) { type UpdateWebhookResponse struct { } -func (newState *UpdateWebhookResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateWebhookResponse) { -} - -func (newState *UpdateWebhookResponse) SyncEffectiveFieldsDuringRead(existingState UpdateWebhookResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateWebhookResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/oauth2_tf/legacy_model.go b/internal/service/oauth2_tf/legacy_model.go index a11894aa5..4b0a8d0bf 100755 --- a/internal/service/oauth2_tf/legacy_model.go +++ b/internal/service/oauth2_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -29,12 +30,6 @@ type CreateAccountFederationPolicyRequest_SdkV2 struct { PolicyId types.String `tfsdk:"-"` } -func (newState *CreateAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAccountFederationPolicyRequest_SdkV2) { -} - -func (newState *CreateAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAccountFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -119,6 +114,12 @@ func (newState *CreateCustomAppIntegration_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CreateCustomAppIntegration_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCustomAppIntegration_SdkV2) { } +func (c CreateCustomAppIntegration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCustomAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -262,6 +263,11 @@ func (newState *CreateCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDurin func (newState *CreateCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCustomAppIntegrationOutput_SdkV2) { } +func (c CreateCustomAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -311,6 +317,12 @@ func (newState *CreatePublishedAppIntegration_SdkV2) SyncEffectiveFieldsDuringCr func (newState *CreatePublishedAppIntegration_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePublishedAppIntegration_SdkV2) { } +func (c CreatePublishedAppIntegration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePublishedAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -385,6 +397,11 @@ func (newState *CreatePublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDu func (newState *CreatePublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePublishedAppIntegrationOutput_SdkV2) { } +func (c CreatePublishedAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -426,12 +443,6 @@ type CreateServicePrincipalFederationPolicyRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *CreateServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateServicePrincipalFederationPolicyRequest_SdkV2) { -} - -func (newState *CreateServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateServicePrincipalFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -503,12 +514,6 @@ type CreateServicePrincipalSecretRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *CreateServicePrincipalSecretRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateServicePrincipalSecretRequest_SdkV2) { -} - -func (newState *CreateServicePrincipalSecretRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateServicePrincipalSecretRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServicePrincipalSecretRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -561,6 +566,11 @@ func (newState *CreateServicePrincipalSecretResponse_SdkV2) SyncEffectiveFieldsD func (newState *CreateServicePrincipalSecretResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateServicePrincipalSecretResponse_SdkV2) { } +func (c CreateServicePrincipalSecretResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServicePrincipalSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -615,6 +625,11 @@ func (newState *DataPlaneInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *DataPlaneInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataPlaneInfo_SdkV2) { } +func (c DataPlaneInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -653,12 +668,6 @@ type DeleteAccountFederationPolicyRequest_SdkV2 struct { PolicyId types.String `tfsdk:"-"` } -func (newState *DeleteAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountFederationPolicyRequest_SdkV2) { -} - -func (newState *DeleteAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -699,6 +708,11 @@ func (newState *DeleteCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDurin func (newState *DeleteCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCustomAppIntegrationOutput_SdkV2) { } +func (c DeleteCustomAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -731,12 +745,6 @@ type DeleteCustomAppIntegrationRequest_SdkV2 struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *DeleteCustomAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCustomAppIntegrationRequest_SdkV2) { -} - -func (newState *DeleteCustomAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCustomAppIntegrationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCustomAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -777,6 +785,11 @@ func (newState *DeletePublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDu func (newState *DeletePublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePublishedAppIntegrationOutput_SdkV2) { } +func (c DeletePublishedAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -809,12 +822,6 @@ type DeletePublishedAppIntegrationRequest_SdkV2 struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *DeletePublishedAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePublishedAppIntegrationRequest_SdkV2) { -} - -func (newState *DeletePublishedAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePublishedAppIntegrationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePublishedAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -849,12 +856,6 @@ func (o DeletePublishedAppIntegrationRequest_SdkV2) Type(ctx context.Context) at type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -889,12 +890,6 @@ type DeleteServicePrincipalFederationPolicyRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *DeleteServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalFederationPolicyRequest_SdkV2) { -} - -func (newState *DeleteServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -936,12 +931,6 @@ type DeleteServicePrincipalSecretRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *DeleteServicePrincipalSecretRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalSecretRequest_SdkV2) { -} - -func (newState *DeleteServicePrincipalSecretRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalSecretRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalSecretRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -999,6 +988,15 @@ func (newState *FederationPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *FederationPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState FederationPolicy_SdkV2) { } +func (c FederationPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + OidcFederationPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "oidc_policy")...) + cs.SetComputed(append(path, "uid")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FederationPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1075,12 +1073,6 @@ type GetAccountFederationPolicyRequest_SdkV2 struct { PolicyId types.String `tfsdk:"-"` } -func (newState *GetAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountFederationPolicyRequest_SdkV2) { -} - -func (newState *GetAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1142,6 +1134,12 @@ func (newState *GetCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringCr func (newState *GetCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCustomAppIntegrationOutput_SdkV2) { } +func (c GetCustomAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1285,12 +1283,6 @@ type GetCustomAppIntegrationRequest_SdkV2 struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *GetCustomAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCustomAppIntegrationRequest_SdkV2) { -} - -func (newState *GetCustomAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCustomAppIntegrationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1335,6 +1327,12 @@ func (newState *GetCustomAppIntegrationsOutput_SdkV2) SyncEffectiveFieldsDuringC func (newState *GetCustomAppIntegrationsOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCustomAppIntegrationsOutput_SdkV2) { } +func (c GetCustomAppIntegrationsOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GetCustomAppIntegrationOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomAppIntegrationsOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1419,6 +1417,12 @@ func (newState *GetPublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDurin func (newState *GetPublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppIntegrationOutput_SdkV2) { } +func (c GetPublishedAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1495,12 +1499,6 @@ type GetPublishedAppIntegrationRequest_SdkV2 struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *GetPublishedAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPublishedAppIntegrationRequest_SdkV2) { -} - -func (newState *GetPublishedAppIntegrationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppIntegrationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1545,6 +1543,12 @@ func (newState *GetPublishedAppIntegrationsOutput_SdkV2) SyncEffectiveFieldsDuri func (newState *GetPublishedAppIntegrationsOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppIntegrationsOutput_SdkV2) { } +func (c GetPublishedAppIntegrationsOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GetPublishedAppIntegrationOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppIntegrationsOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1622,6 +1626,12 @@ func (newState *GetPublishedAppsOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *GetPublishedAppsOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppsOutput_SdkV2) { } +func (c GetPublishedAppsOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PublishedAppOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppsOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1692,12 +1702,6 @@ type GetServicePrincipalFederationPolicyRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *GetServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServicePrincipalFederationPolicyRequest_SdkV2) { -} - -func (newState *GetServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetServicePrincipalFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1738,12 +1742,6 @@ type ListAccountFederationPoliciesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAccountFederationPoliciesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountFederationPoliciesRequest_SdkV2) { -} - -func (newState *ListAccountFederationPoliciesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAccountFederationPoliciesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountFederationPoliciesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1786,12 +1784,6 @@ type ListCustomAppIntegrationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCustomAppIntegrationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCustomAppIntegrationsRequest_SdkV2) { -} - -func (newState *ListCustomAppIntegrationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCustomAppIntegrationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCustomAppIntegrationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1839,6 +1831,12 @@ func (newState *ListFederationPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *ListFederationPoliciesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListFederationPoliciesResponse_SdkV2) { } +func (c ListFederationPoliciesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FederationPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "policies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFederationPoliciesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1910,12 +1908,6 @@ type ListOAuthPublishedAppsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListOAuthPublishedAppsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListOAuthPublishedAppsRequest_SdkV2) { -} - -func (newState *ListOAuthPublishedAppsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListOAuthPublishedAppsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListOAuthPublishedAppsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1956,12 +1948,6 @@ type ListPublishedAppIntegrationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPublishedAppIntegrationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPublishedAppIntegrationsRequest_SdkV2) { -} - -func (newState *ListPublishedAppIntegrationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPublishedAppIntegrationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPublishedAppIntegrationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2004,12 +1990,6 @@ type ListServicePrincipalFederationPoliciesRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *ListServicePrincipalFederationPoliciesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalFederationPoliciesRequest_SdkV2) { -} - -func (newState *ListServicePrincipalFederationPoliciesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalFederationPoliciesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalFederationPoliciesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2061,12 +2041,6 @@ type ListServicePrincipalSecretsRequest_SdkV2 struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *ListServicePrincipalSecretsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalSecretsRequest_SdkV2) { -} - -func (newState *ListServicePrincipalSecretsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalSecretsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalSecretsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2113,6 +2087,12 @@ func (newState *ListServicePrincipalSecretsResponse_SdkV2) SyncEffectiveFieldsDu func (newState *ListServicePrincipalSecretsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalSecretsResponse_SdkV2) { } +func (c ListServicePrincipalSecretsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SecretInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "secrets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalSecretsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2210,6 +2190,11 @@ func (newState *OidcFederationPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *OidcFederationPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState OidcFederationPolicy_SdkV2) { } +func (c OidcFederationPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OidcFederationPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2304,6 +2289,11 @@ func (newState *PublishedAppOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PublishedAppOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState PublishedAppOutput_SdkV2) { } +func (c PublishedAppOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublishedAppOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2425,6 +2415,11 @@ func (newState *SecretInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SecretInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState SecretInfo_SdkV2) { } +func (c SecretInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecretInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2477,6 +2472,11 @@ func (newState *TokenAccessPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *TokenAccessPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenAccessPolicy_SdkV2) { } +func (c TokenAccessPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenAccessPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2522,12 +2522,6 @@ type UpdateAccountFederationPolicyRequest_SdkV2 struct { UpdateMask types.String `tfsdk:"-"` } -func (newState *UpdateAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAccountFederationPolicyRequest_SdkV2) { -} - -func (newState *UpdateAccountFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAccountFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2608,6 +2602,13 @@ func (newState *UpdateCustomAppIntegration_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UpdateCustomAppIntegration_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCustomAppIntegration_SdkV2) { } +func (c UpdateCustomAppIntegration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "integration_id")...) + TokenAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCustomAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2711,6 +2712,11 @@ func (newState *UpdateCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDurin func (newState *UpdateCustomAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCustomAppIntegrationOutput_SdkV2) { } +func (c UpdateCustomAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2750,6 +2756,13 @@ func (newState *UpdatePublishedAppIntegration_SdkV2) SyncEffectiveFieldsDuringCr func (newState *UpdatePublishedAppIntegration_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePublishedAppIntegration_SdkV2) { } +func (c UpdatePublishedAppIntegration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "integration_id")...) + TokenAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePublishedAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2822,6 +2835,11 @@ func (newState *UpdatePublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDu func (newState *UpdatePublishedAppIntegrationOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePublishedAppIntegrationOutput_SdkV2) { } +func (c UpdatePublishedAppIntegrationOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2863,12 +2881,6 @@ type UpdateServicePrincipalFederationPolicyRequest_SdkV2 struct { UpdateMask types.String `tfsdk:"-"` } -func (newState *UpdateServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateServicePrincipalFederationPolicyRequest_SdkV2) { -} - -func (newState *UpdateServicePrincipalFederationPolicyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateServicePrincipalFederationPolicyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/oauth2_tf/model.go b/internal/service/oauth2_tf/model.go index 6f63b32b0..221b6ddbd 100755 --- a/internal/service/oauth2_tf/model.go +++ b/internal/service/oauth2_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -29,12 +30,6 @@ type CreateAccountFederationPolicyRequest struct { PolicyId types.String `tfsdk:"-"` } -func (newState *CreateAccountFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateAccountFederationPolicyRequest) { -} - -func (newState *CreateAccountFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState CreateAccountFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -119,6 +114,12 @@ func (newState *CreateCustomAppIntegration) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateCustomAppIntegration) SyncEffectiveFieldsDuringRead(existingState CreateCustomAppIntegration) { } +func (c CreateCustomAppIntegration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCustomAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -262,6 +263,11 @@ func (newState *CreateCustomAppIntegrationOutput) SyncEffectiveFieldsDuringCreat func (newState *CreateCustomAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState CreateCustomAppIntegrationOutput) { } +func (c CreateCustomAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -311,6 +317,12 @@ func (newState *CreatePublishedAppIntegration) SyncEffectiveFieldsDuringCreateOr func (newState *CreatePublishedAppIntegration) SyncEffectiveFieldsDuringRead(existingState CreatePublishedAppIntegration) { } +func (c CreatePublishedAppIntegration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePublishedAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -385,6 +397,11 @@ func (newState *CreatePublishedAppIntegrationOutput) SyncEffectiveFieldsDuringCr func (newState *CreatePublishedAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState CreatePublishedAppIntegrationOutput) { } +func (c CreatePublishedAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -426,12 +443,6 @@ type CreateServicePrincipalFederationPolicyRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *CreateServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateServicePrincipalFederationPolicyRequest) { -} - -func (newState *CreateServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState CreateServicePrincipalFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -503,12 +514,6 @@ type CreateServicePrincipalSecretRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *CreateServicePrincipalSecretRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateServicePrincipalSecretRequest) { -} - -func (newState *CreateServicePrincipalSecretRequest) SyncEffectiveFieldsDuringRead(existingState CreateServicePrincipalSecretRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServicePrincipalSecretRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -561,6 +566,11 @@ func (newState *CreateServicePrincipalSecretResponse) SyncEffectiveFieldsDuringC func (newState *CreateServicePrincipalSecretResponse) SyncEffectiveFieldsDuringRead(existingState CreateServicePrincipalSecretResponse) { } +func (c CreateServicePrincipalSecretResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServicePrincipalSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -615,6 +625,11 @@ func (newState *DataPlaneInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Data func (newState *DataPlaneInfo) SyncEffectiveFieldsDuringRead(existingState DataPlaneInfo) { } +func (c DataPlaneInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -653,12 +668,6 @@ type DeleteAccountFederationPolicyRequest struct { PolicyId types.String `tfsdk:"-"` } -func (newState *DeleteAccountFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountFederationPolicyRequest) { -} - -func (newState *DeleteAccountFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -699,6 +708,11 @@ func (newState *DeleteCustomAppIntegrationOutput) SyncEffectiveFieldsDuringCreat func (newState *DeleteCustomAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState DeleteCustomAppIntegrationOutput) { } +func (c DeleteCustomAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -731,12 +745,6 @@ type DeleteCustomAppIntegrationRequest struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *DeleteCustomAppIntegrationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCustomAppIntegrationRequest) { -} - -func (newState *DeleteCustomAppIntegrationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCustomAppIntegrationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCustomAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -777,6 +785,11 @@ func (newState *DeletePublishedAppIntegrationOutput) SyncEffectiveFieldsDuringCr func (newState *DeletePublishedAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState DeletePublishedAppIntegrationOutput) { } +func (c DeletePublishedAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -809,12 +822,6 @@ type DeletePublishedAppIntegrationRequest struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *DeletePublishedAppIntegrationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePublishedAppIntegrationRequest) { -} - -func (newState *DeletePublishedAppIntegrationRequest) SyncEffectiveFieldsDuringRead(existingState DeletePublishedAppIntegrationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePublishedAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -849,12 +856,6 @@ func (o DeletePublishedAppIntegrationRequest) Type(ctx context.Context) attr.Typ type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -889,12 +890,6 @@ type DeleteServicePrincipalFederationPolicyRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *DeleteServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalFederationPolicyRequest) { -} - -func (newState *DeleteServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -936,12 +931,6 @@ type DeleteServicePrincipalSecretRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *DeleteServicePrincipalSecretRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServicePrincipalSecretRequest) { -} - -func (newState *DeleteServicePrincipalSecretRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServicePrincipalSecretRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServicePrincipalSecretRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -999,6 +988,15 @@ func (newState *FederationPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan F func (newState *FederationPolicy) SyncEffectiveFieldsDuringRead(existingState FederationPolicy) { } +func (c FederationPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "create_time")...) + OidcFederationPolicy{}.ApplySchemaCustomizations(cs, append(path, "oidc_policy")...) + cs.SetComputed(append(path, "uid")...) + cs.SetComputed(append(path, "update_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FederationPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1075,12 +1073,6 @@ type GetAccountFederationPolicyRequest struct { PolicyId types.String `tfsdk:"-"` } -func (newState *GetAccountFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountFederationPolicyRequest) { -} - -func (newState *GetAccountFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1142,6 +1134,12 @@ func (newState *GetCustomAppIntegrationOutput) SyncEffectiveFieldsDuringCreateOr func (newState *GetCustomAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState GetCustomAppIntegrationOutput) { } +func (c GetCustomAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1285,12 +1283,6 @@ type GetCustomAppIntegrationRequest struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *GetCustomAppIntegrationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCustomAppIntegrationRequest) { -} - -func (newState *GetCustomAppIntegrationRequest) SyncEffectiveFieldsDuringRead(existingState GetCustomAppIntegrationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1335,6 +1327,12 @@ func (newState *GetCustomAppIntegrationsOutput) SyncEffectiveFieldsDuringCreateO func (newState *GetCustomAppIntegrationsOutput) SyncEffectiveFieldsDuringRead(existingState GetCustomAppIntegrationsOutput) { } +func (c GetCustomAppIntegrationsOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GetCustomAppIntegrationOutput{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCustomAppIntegrationsOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1419,6 +1417,12 @@ func (newState *GetPublishedAppIntegrationOutput) SyncEffectiveFieldsDuringCreat func (newState *GetPublishedAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppIntegrationOutput) { } +func (c GetPublishedAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1495,12 +1499,6 @@ type GetPublishedAppIntegrationRequest struct { IntegrationId types.String `tfsdk:"-"` } -func (newState *GetPublishedAppIntegrationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPublishedAppIntegrationRequest) { -} - -func (newState *GetPublishedAppIntegrationRequest) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppIntegrationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppIntegrationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1545,6 +1543,12 @@ func (newState *GetPublishedAppIntegrationsOutput) SyncEffectiveFieldsDuringCrea func (newState *GetPublishedAppIntegrationsOutput) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppIntegrationsOutput) { } +func (c GetPublishedAppIntegrationsOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GetPublishedAppIntegrationOutput{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppIntegrationsOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1622,6 +1626,12 @@ func (newState *GetPublishedAppsOutput) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *GetPublishedAppsOutput) SyncEffectiveFieldsDuringRead(existingState GetPublishedAppsOutput) { } +func (c GetPublishedAppsOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PublishedAppOutput{}.ApplySchemaCustomizations(cs, append(path, "apps")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPublishedAppsOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1692,12 +1702,6 @@ type GetServicePrincipalFederationPolicyRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *GetServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServicePrincipalFederationPolicyRequest) { -} - -func (newState *GetServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState GetServicePrincipalFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1738,12 +1742,6 @@ type ListAccountFederationPoliciesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAccountFederationPoliciesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAccountFederationPoliciesRequest) { -} - -func (newState *ListAccountFederationPoliciesRequest) SyncEffectiveFieldsDuringRead(existingState ListAccountFederationPoliciesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAccountFederationPoliciesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1786,12 +1784,6 @@ type ListCustomAppIntegrationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListCustomAppIntegrationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListCustomAppIntegrationsRequest) { -} - -func (newState *ListCustomAppIntegrationsRequest) SyncEffectiveFieldsDuringRead(existingState ListCustomAppIntegrationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCustomAppIntegrationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1839,6 +1831,12 @@ func (newState *ListFederationPoliciesResponse) SyncEffectiveFieldsDuringCreateO func (newState *ListFederationPoliciesResponse) SyncEffectiveFieldsDuringRead(existingState ListFederationPoliciesResponse) { } +func (c ListFederationPoliciesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FederationPolicy{}.ApplySchemaCustomizations(cs, append(path, "policies")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListFederationPoliciesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1910,12 +1908,6 @@ type ListOAuthPublishedAppsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListOAuthPublishedAppsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListOAuthPublishedAppsRequest) { -} - -func (newState *ListOAuthPublishedAppsRequest) SyncEffectiveFieldsDuringRead(existingState ListOAuthPublishedAppsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListOAuthPublishedAppsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1956,12 +1948,6 @@ type ListPublishedAppIntegrationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPublishedAppIntegrationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPublishedAppIntegrationsRequest) { -} - -func (newState *ListPublishedAppIntegrationsRequest) SyncEffectiveFieldsDuringRead(existingState ListPublishedAppIntegrationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPublishedAppIntegrationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2004,12 +1990,6 @@ type ListServicePrincipalFederationPoliciesRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *ListServicePrincipalFederationPoliciesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalFederationPoliciesRequest) { -} - -func (newState *ListServicePrincipalFederationPoliciesRequest) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalFederationPoliciesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalFederationPoliciesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2061,12 +2041,6 @@ type ListServicePrincipalSecretsRequest struct { ServicePrincipalId types.Int64 `tfsdk:"-"` } -func (newState *ListServicePrincipalSecretsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListServicePrincipalSecretsRequest) { -} - -func (newState *ListServicePrincipalSecretsRequest) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalSecretsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalSecretsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2113,6 +2087,12 @@ func (newState *ListServicePrincipalSecretsResponse) SyncEffectiveFieldsDuringCr func (newState *ListServicePrincipalSecretsResponse) SyncEffectiveFieldsDuringRead(existingState ListServicePrincipalSecretsResponse) { } +func (c ListServicePrincipalSecretsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SecretInfo{}.ApplySchemaCustomizations(cs, append(path, "secrets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListServicePrincipalSecretsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2210,6 +2190,11 @@ func (newState *OidcFederationPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *OidcFederationPolicy) SyncEffectiveFieldsDuringRead(existingState OidcFederationPolicy) { } +func (c OidcFederationPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OidcFederationPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2304,6 +2289,11 @@ func (newState *PublishedAppOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PublishedAppOutput) SyncEffectiveFieldsDuringRead(existingState PublishedAppOutput) { } +func (c PublishedAppOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublishedAppOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2425,6 +2415,11 @@ func (newState *SecretInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan SecretI func (newState *SecretInfo) SyncEffectiveFieldsDuringRead(existingState SecretInfo) { } +func (c SecretInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecretInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2477,6 +2472,11 @@ func (newState *TokenAccessPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TokenAccessPolicy) SyncEffectiveFieldsDuringRead(existingState TokenAccessPolicy) { } +func (c TokenAccessPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenAccessPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2522,12 +2522,6 @@ type UpdateAccountFederationPolicyRequest struct { UpdateMask types.String `tfsdk:"-"` } -func (newState *UpdateAccountFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateAccountFederationPolicyRequest) { -} - -func (newState *UpdateAccountFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAccountFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAccountFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2608,6 +2602,13 @@ func (newState *UpdateCustomAppIntegration) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateCustomAppIntegration) SyncEffectiveFieldsDuringRead(existingState UpdateCustomAppIntegration) { } +func (c UpdateCustomAppIntegration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "integration_id")...) + TokenAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCustomAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2711,6 +2712,11 @@ func (newState *UpdateCustomAppIntegrationOutput) SyncEffectiveFieldsDuringCreat func (newState *UpdateCustomAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState UpdateCustomAppIntegrationOutput) { } +func (c UpdateCustomAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCustomAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2750,6 +2756,13 @@ func (newState *UpdatePublishedAppIntegration) SyncEffectiveFieldsDuringCreateOr func (newState *UpdatePublishedAppIntegration) SyncEffectiveFieldsDuringRead(existingState UpdatePublishedAppIntegration) { } +func (c UpdatePublishedAppIntegration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "integration_id")...) + TokenAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "token_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePublishedAppIntegration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2822,6 +2835,11 @@ func (newState *UpdatePublishedAppIntegrationOutput) SyncEffectiveFieldsDuringCr func (newState *UpdatePublishedAppIntegrationOutput) SyncEffectiveFieldsDuringRead(existingState UpdatePublishedAppIntegrationOutput) { } +func (c UpdatePublishedAppIntegrationOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePublishedAppIntegrationOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2863,12 +2881,6 @@ type UpdateServicePrincipalFederationPolicyRequest struct { UpdateMask types.String `tfsdk:"-"` } -func (newState *UpdateServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateServicePrincipalFederationPolicyRequest) { -} - -func (newState *UpdateServicePrincipalFederationPolicyRequest) SyncEffectiveFieldsDuringRead(existingState UpdateServicePrincipalFederationPolicyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateServicePrincipalFederationPolicyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/pipelines_tf/legacy_model.go b/internal/service/pipelines_tf/legacy_model.go index 35df38afc..f560f71d4 100755 --- a/internal/service/pipelines_tf/legacy_model.go +++ b/internal/service/pipelines_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/compute_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -91,6 +92,20 @@ func (newState *CreatePipeline_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreatePipeline_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePipeline_SdkV2) { } +func (c CreatePipeline_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + PipelineDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + Filters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + IngestionGatewayPipelineDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gateway_definition")...) + IngestionPipelineDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ingestion_definition")...) + PipelineLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + Notifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + RestartWindow_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "restart_window")...) + PipelineTrigger_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePipeline. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -475,6 +490,12 @@ func (newState *CreatePipelineResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreatePipelineResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePipelineResponse_SdkV2) { } +func (c CreatePipelineResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "effective_settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -550,6 +571,11 @@ func (newState *CronTrigger_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CronTrigger_SdkV2) SyncEffectiveFieldsDuringRead(existingState CronTrigger_SdkV2) { } +func (c CronTrigger_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CronTrigger. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -596,6 +622,11 @@ func (newState *DataPlaneId_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DataPlaneId_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataPlaneId_SdkV2) { } +func (c DataPlaneId_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneId. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -634,12 +665,6 @@ type DeletePipelineRequest_SdkV2 struct { PipelineId types.String `tfsdk:"-"` } -func (newState *DeletePipelineRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePipelineRequest_SdkV2) { -} - -func (newState *DeletePipelineRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePipelineRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePipelineRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -680,6 +705,11 @@ func (newState *DeletePipelineResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *DeletePipelineResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePipelineResponse_SdkV2) { } +func (c DeletePipelineResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -780,6 +810,20 @@ func (newState *EditPipeline_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EditPipeline_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPipeline_SdkV2) { } +func (c EditPipeline_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + PipelineDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + Filters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + IngestionGatewayPipelineDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gateway_definition")...) + IngestionPipelineDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ingestion_definition")...) + PipelineLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + Notifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + RestartWindow_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "restart_window")...) + PipelineTrigger_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPipeline. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1161,6 +1205,11 @@ func (newState *EditPipelineResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *EditPipelineResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditPipelineResponse_SdkV2) { } +func (c EditPipelineResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1201,6 +1250,12 @@ func (newState *ErrorDetail_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ErrorDetail_SdkV2) SyncEffectiveFieldsDuringRead(existingState ErrorDetail_SdkV2) { } +func (c ErrorDetail_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SerializedException_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "exceptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ErrorDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1275,6 +1330,11 @@ func (newState *FileLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *FileLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState FileLibrary_SdkV2) { } +func (c FileLibrary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1319,6 +1379,11 @@ func (newState *Filters_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Filt func (newState *Filters_SdkV2) SyncEffectiveFieldsDuringRead(existingState Filters_SdkV2) { } +func (c Filters_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Filters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1417,12 +1482,6 @@ type GetPipelinePermissionLevelsRequest_SdkV2 struct { PipelineId types.String `tfsdk:"-"` } -func (newState *GetPipelinePermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPipelinePermissionLevelsRequest_SdkV2) { -} - -func (newState *GetPipelinePermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPipelinePermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelinePermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1465,6 +1524,12 @@ func (newState *GetPipelinePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDu func (newState *GetPipelinePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPipelinePermissionLevelsResponse_SdkV2) { } +func (c GetPipelinePermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelinePermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelinePermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1532,12 +1597,6 @@ type GetPipelinePermissionsRequest_SdkV2 struct { PipelineId types.String `tfsdk:"-"` } -func (newState *GetPipelinePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPipelinePermissionsRequest_SdkV2) { -} - -func (newState *GetPipelinePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPipelinePermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelinePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1574,12 +1633,6 @@ type GetPipelineRequest_SdkV2 struct { PipelineId types.String `tfsdk:"-"` } -func (newState *GetPipelineRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPipelineRequest_SdkV2) { -} - -func (newState *GetPipelineRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPipelineRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelineRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1646,6 +1699,13 @@ func (newState *GetPipelineResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *GetPipelineResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPipelineResponse_SdkV2) { } +func (c GetPipelineResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateStateInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "latest_updates")...) + PipelineSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1766,12 +1826,6 @@ type GetUpdateRequest_SdkV2 struct { UpdateId types.String `tfsdk:"-"` } -func (newState *GetUpdateRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetUpdateRequest_SdkV2) { -} - -func (newState *GetUpdateRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetUpdateRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUpdateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1816,6 +1870,12 @@ func (newState *GetUpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GetUpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetUpdateResponse_SdkV2) { } +func (c GetUpdateResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "update")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUpdateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1892,6 +1952,14 @@ func (newState *IngestionConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *IngestionConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState IngestionConfig_SdkV2) { } +func (c IngestionConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ReportSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "report")...) + SchemaSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schema")...) + TableSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IngestionConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2042,6 +2110,11 @@ func (newState *IngestionGatewayPipelineDefinition_SdkV2) SyncEffectiveFieldsDur func (newState *IngestionGatewayPipelineDefinition_SdkV2) SyncEffectiveFieldsDuringRead(existingState IngestionGatewayPipelineDefinition_SdkV2) { } +func (c IngestionGatewayPipelineDefinition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IngestionGatewayPipelineDefinition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2104,6 +2177,13 @@ func (newState *IngestionPipelineDefinition_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *IngestionPipelineDefinition_SdkV2) SyncEffectiveFieldsDuringRead(existingState IngestionPipelineDefinition_SdkV2) { } +func (c IngestionPipelineDefinition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IngestionConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "objects")...) + TableSpecificConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IngestionPipelineDefinition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2227,12 +2307,6 @@ type ListPipelineEventsRequest_SdkV2 struct { PipelineId types.String `tfsdk:"-"` } -func (newState *ListPipelineEventsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPipelineEventsRequest_SdkV2) { -} - -func (newState *ListPipelineEventsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPipelineEventsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelineEventsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2317,6 +2391,12 @@ func (newState *ListPipelineEventsResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ListPipelineEventsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPipelineEventsResponse_SdkV2) { } +func (c ListPipelineEventsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineEvent_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "events")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelineEventsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2407,12 +2487,6 @@ type ListPipelinesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPipelinesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPipelinesRequest_SdkV2) { -} - -func (newState *ListPipelinesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPipelinesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelinesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2493,6 +2567,12 @@ func (newState *ListPipelinesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListPipelinesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPipelinesResponse_SdkV2) { } +func (c ListPipelinesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineStateInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "statuses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelinesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2568,12 +2648,6 @@ type ListUpdatesRequest_SdkV2 struct { UntilUpdateId types.String `tfsdk:"-"` } -func (newState *ListUpdatesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUpdatesRequest_SdkV2) { -} - -func (newState *ListUpdatesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListUpdatesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUpdatesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2628,6 +2702,12 @@ func (newState *ListUpdatesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListUpdatesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListUpdatesResponse_SdkV2) { } +func (c ListUpdatesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "updates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUpdatesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2702,6 +2782,11 @@ func (newState *ManualTrigger_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ManualTrigger_SdkV2) SyncEffectiveFieldsDuringRead(existingState ManualTrigger_SdkV2) { } +func (c ManualTrigger_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ManualTrigger. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2740,6 +2825,11 @@ func (newState *NotebookLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *NotebookLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotebookLibrary_SdkV2) { } +func (c NotebookLibrary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2790,6 +2880,11 @@ func (newState *Notifications_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *Notifications_SdkV2) SyncEffectiveFieldsDuringRead(existingState Notifications_SdkV2) { } +func (c Notifications_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Notifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2926,6 +3021,11 @@ func (newState *Origin_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Origi func (newState *Origin_SdkV2) SyncEffectiveFieldsDuringRead(existingState Origin_SdkV2) { } +func (c Origin_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Origin. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3006,6 +3106,11 @@ func (newState *PipelineAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *PipelineAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineAccessControlRequest_SdkV2) { } +func (c PipelineAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3062,6 +3167,12 @@ func (newState *PipelineAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *PipelineAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineAccessControlResponse_SdkV2) { } +func (c PipelineAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelinePermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3234,6 +3345,16 @@ func (newState *PipelineCluster_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PipelineCluster_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineCluster_SdkV2) { } +func (c PipelineCluster_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineClusterAutoscale_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + compute_tf.AwsAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + compute_tf.AzureAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + compute_tf.ClusterLogConf_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + compute_tf.GcpAttributes_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3614,6 +3735,13 @@ func (newState *PipelineClusterAutoscale_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *PipelineClusterAutoscale_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineClusterAutoscale_SdkV2) { } +func (c PipelineClusterAutoscale_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "max_workers")...) + cs.SetRequired(append(path, "min_workers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineClusterAutoscale. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3662,6 +3790,11 @@ func (newState *PipelineDeployment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PipelineDeployment_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineDeployment_SdkV2) { } +func (c PipelineDeployment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineDeployment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3722,6 +3855,14 @@ func (newState *PipelineEvent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *PipelineEvent_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineEvent_SdkV2) { } +func (c PipelineEvent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ErrorDetail_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "error")...) + Origin_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "origin")...) + Sequencing_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sequence")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineEvent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3878,6 +4019,14 @@ func (newState *PipelineLibrary_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PipelineLibrary_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineLibrary_SdkV2) { } +func (c PipelineLibrary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "file")...) + compute_tf.MavenLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "maven")...) + NotebookLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notebook")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4019,6 +4168,11 @@ func (newState *PipelinePermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PipelinePermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelinePermission_SdkV2) { } +func (c PipelinePermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4098,6 +4252,12 @@ func (newState *PipelinePermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *PipelinePermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelinePermissions_SdkV2) { } +func (c PipelinePermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4175,6 +4335,11 @@ func (newState *PipelinePermissionsDescription_SdkV2) SyncEffectiveFieldsDuringC func (newState *PipelinePermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelinePermissionsDescription_SdkV2) { } +func (c PipelinePermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4220,6 +4385,13 @@ func (newState *PipelinePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *PipelinePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelinePermissionsRequest_SdkV2) { } +func (c PipelinePermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "pipeline_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4347,6 +4519,20 @@ func (newState *PipelineSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PipelineSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineSpec_SdkV2) { } +func (c PipelineSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineCluster_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + PipelineDeployment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + Filters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + IngestionGatewayPipelineDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gateway_definition")...) + IngestionPipelineDefinition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ingestion_definition")...) + PipelineLibrary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + Notifications_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + RestartWindow_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "restart_window")...) + PipelineTrigger_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4740,6 +4926,12 @@ func (newState *PipelineStateInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *PipelineStateInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineStateInfo_SdkV2) { } +func (c PipelineStateInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateStateInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "latest_updates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineStateInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4827,6 +5019,13 @@ func (newState *PipelineTrigger_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PipelineTrigger_SdkV2) SyncEffectiveFieldsDuringRead(existingState PipelineTrigger_SdkV2) { } +func (c PipelineTrigger_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CronTrigger_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cron")...) + ManualTrigger_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "manual")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineTrigger. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4941,6 +5140,12 @@ func (newState *ReportSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *ReportSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReportSpec_SdkV2) { } +func (c ReportSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSpecificConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReportSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5031,6 +5236,12 @@ func (newState *RestartWindow_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RestartWindow_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestartWindow_SdkV2) { } +func (c RestartWindow_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "start_hour")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartWindow. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5120,6 +5331,12 @@ func (newState *SchemaSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *SchemaSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState SchemaSpec_SdkV2) { } +func (c SchemaSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSpecificConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SchemaSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5202,6 +5419,12 @@ func (newState *Sequencing_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *Sequencing_SdkV2) SyncEffectiveFieldsDuringRead(existingState Sequencing_SdkV2) { } +func (c Sequencing_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DataPlaneId_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_plane_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Sequencing. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5280,6 +5503,12 @@ func (newState *SerializedException_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *SerializedException_SdkV2) SyncEffectiveFieldsDuringRead(existingState SerializedException_SdkV2) { } +func (c SerializedException_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StackFrame_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "stack")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SerializedException. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5362,6 +5591,11 @@ func (newState *StackFrame_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *StackFrame_SdkV2) SyncEffectiveFieldsDuringRead(existingState StackFrame_SdkV2) { } +func (c StackFrame_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StackFrame. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5426,6 +5660,12 @@ func (newState *StartUpdate_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *StartUpdate_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartUpdate_SdkV2) { } +func (c StartUpdate_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "pipeline_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5536,6 +5776,11 @@ func (newState *StartUpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *StartUpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartUpdateResponse_SdkV2) { } +func (c StartUpdateResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartUpdateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5576,6 +5821,11 @@ func (newState *StopPipelineResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *StopPipelineResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StopPipelineResponse_SdkV2) { } +func (c StopPipelineResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopPipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5608,12 +5858,6 @@ type StopRequest_SdkV2 struct { PipelineId types.String `tfsdk:"-"` } -func (newState *StopRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopRequest_SdkV2) { -} - -func (newState *StopRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState StopRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5672,6 +5916,12 @@ func (newState *TableSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ta func (newState *TableSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableSpec_SdkV2) { } +func (c TableSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSpecificConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5765,6 +6015,11 @@ func (newState *TableSpecificConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *TableSpecificConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState TableSpecificConfig_SdkV2) { } +func (c TableSpecificConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableSpecificConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5900,6 +6155,12 @@ func (newState *UpdateInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan U func (newState *UpdateInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateInfo_SdkV2) { } +func (c UpdateInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6053,6 +6314,11 @@ func (newState *UpdateStateInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateStateInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateStateInfo_SdkV2) { } +func (c UpdateStateInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateStateInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/pipelines_tf/model.go b/internal/service/pipelines_tf/model.go index 780d60e4f..04c87e9ae 100755 --- a/internal/service/pipelines_tf/model.go +++ b/internal/service/pipelines_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/compute_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -91,6 +92,20 @@ func (newState *CreatePipeline) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CreatePipeline) SyncEffectiveFieldsDuringRead(existingState CreatePipeline) { } +func (c CreatePipeline) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineCluster{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + PipelineDeployment{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + Filters{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + IngestionGatewayPipelineDefinition{}.ApplySchemaCustomizations(cs, append(path, "gateway_definition")...) + IngestionPipelineDefinition{}.ApplySchemaCustomizations(cs, append(path, "ingestion_definition")...) + PipelineLibrary{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + Notifications{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + RestartWindow{}.ApplySchemaCustomizations(cs, append(path, "restart_window")...) + PipelineTrigger{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePipeline. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -475,6 +490,12 @@ func (newState *CreatePipelineResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreatePipelineResponse) SyncEffectiveFieldsDuringRead(existingState CreatePipelineResponse) { } +func (c CreatePipelineResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineSpec{}.ApplySchemaCustomizations(cs, append(path, "effective_settings")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -550,6 +571,11 @@ func (newState *CronTrigger) SyncEffectiveFieldsDuringCreateOrUpdate(plan CronTr func (newState *CronTrigger) SyncEffectiveFieldsDuringRead(existingState CronTrigger) { } +func (c CronTrigger) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CronTrigger. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -596,6 +622,11 @@ func (newState *DataPlaneId) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataPl func (newState *DataPlaneId) SyncEffectiveFieldsDuringRead(existingState DataPlaneId) { } +func (c DataPlaneId) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataPlaneId. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -634,12 +665,6 @@ type DeletePipelineRequest struct { PipelineId types.String `tfsdk:"-"` } -func (newState *DeletePipelineRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePipelineRequest) { -} - -func (newState *DeletePipelineRequest) SyncEffectiveFieldsDuringRead(existingState DeletePipelineRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePipelineRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -680,6 +705,11 @@ func (newState *DeletePipelineResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *DeletePipelineResponse) SyncEffectiveFieldsDuringRead(existingState DeletePipelineResponse) { } +func (c DeletePipelineResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -780,6 +810,20 @@ func (newState *EditPipeline) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditP func (newState *EditPipeline) SyncEffectiveFieldsDuringRead(existingState EditPipeline) { } +func (c EditPipeline) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineCluster{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + PipelineDeployment{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + Filters{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + IngestionGatewayPipelineDefinition{}.ApplySchemaCustomizations(cs, append(path, "gateway_definition")...) + IngestionPipelineDefinition{}.ApplySchemaCustomizations(cs, append(path, "ingestion_definition")...) + PipelineLibrary{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + Notifications{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + RestartWindow{}.ApplySchemaCustomizations(cs, append(path, "restart_window")...) + PipelineTrigger{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPipeline. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1161,6 +1205,11 @@ func (newState *EditPipelineResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *EditPipelineResponse) SyncEffectiveFieldsDuringRead(existingState EditPipelineResponse) { } +func (c EditPipelineResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditPipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1201,6 +1250,12 @@ func (newState *ErrorDetail) SyncEffectiveFieldsDuringCreateOrUpdate(plan ErrorD func (newState *ErrorDetail) SyncEffectiveFieldsDuringRead(existingState ErrorDetail) { } +func (c ErrorDetail) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SerializedException{}.ApplySchemaCustomizations(cs, append(path, "exceptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ErrorDetail. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1275,6 +1330,11 @@ func (newState *FileLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileLi func (newState *FileLibrary) SyncEffectiveFieldsDuringRead(existingState FileLibrary) { } +func (c FileLibrary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FileLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1319,6 +1379,11 @@ func (newState *Filters) SyncEffectiveFieldsDuringCreateOrUpdate(plan Filters) { func (newState *Filters) SyncEffectiveFieldsDuringRead(existingState Filters) { } +func (c Filters) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Filters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1417,12 +1482,6 @@ type GetPipelinePermissionLevelsRequest struct { PipelineId types.String `tfsdk:"-"` } -func (newState *GetPipelinePermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPipelinePermissionLevelsRequest) { -} - -func (newState *GetPipelinePermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetPipelinePermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelinePermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1465,6 +1524,12 @@ func (newState *GetPipelinePermissionLevelsResponse) SyncEffectiveFieldsDuringCr func (newState *GetPipelinePermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetPipelinePermissionLevelsResponse) { } +func (c GetPipelinePermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelinePermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelinePermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1532,12 +1597,6 @@ type GetPipelinePermissionsRequest struct { PipelineId types.String `tfsdk:"-"` } -func (newState *GetPipelinePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPipelinePermissionsRequest) { -} - -func (newState *GetPipelinePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetPipelinePermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelinePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1574,12 +1633,6 @@ type GetPipelineRequest struct { PipelineId types.String `tfsdk:"-"` } -func (newState *GetPipelineRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPipelineRequest) { -} - -func (newState *GetPipelineRequest) SyncEffectiveFieldsDuringRead(existingState GetPipelineRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelineRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1646,6 +1699,13 @@ func (newState *GetPipelineResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *GetPipelineResponse) SyncEffectiveFieldsDuringRead(existingState GetPipelineResponse) { } +func (c GetPipelineResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateStateInfo{}.ApplySchemaCustomizations(cs, append(path, "latest_updates")...) + PipelineSpec{}.ApplySchemaCustomizations(cs, append(path, "spec")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1766,12 +1826,6 @@ type GetUpdateRequest struct { UpdateId types.String `tfsdk:"-"` } -func (newState *GetUpdateRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetUpdateRequest) { -} - -func (newState *GetUpdateRequest) SyncEffectiveFieldsDuringRead(existingState GetUpdateRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUpdateRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1816,6 +1870,12 @@ func (newState *GetUpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GetUpdateResponse) SyncEffectiveFieldsDuringRead(existingState GetUpdateResponse) { } +func (c GetUpdateResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateInfo{}.ApplySchemaCustomizations(cs, append(path, "update")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetUpdateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1892,6 +1952,14 @@ func (newState *IngestionConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan In func (newState *IngestionConfig) SyncEffectiveFieldsDuringRead(existingState IngestionConfig) { } +func (c IngestionConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ReportSpec{}.ApplySchemaCustomizations(cs, append(path, "report")...) + SchemaSpec{}.ApplySchemaCustomizations(cs, append(path, "schema")...) + TableSpec{}.ApplySchemaCustomizations(cs, append(path, "table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IngestionConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2042,6 +2110,11 @@ func (newState *IngestionGatewayPipelineDefinition) SyncEffectiveFieldsDuringCre func (newState *IngestionGatewayPipelineDefinition) SyncEffectiveFieldsDuringRead(existingState IngestionGatewayPipelineDefinition) { } +func (c IngestionGatewayPipelineDefinition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IngestionGatewayPipelineDefinition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2104,6 +2177,13 @@ func (newState *IngestionPipelineDefinition) SyncEffectiveFieldsDuringCreateOrUp func (newState *IngestionPipelineDefinition) SyncEffectiveFieldsDuringRead(existingState IngestionPipelineDefinition) { } +func (c IngestionPipelineDefinition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IngestionConfig{}.ApplySchemaCustomizations(cs, append(path, "objects")...) + TableSpecificConfig{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IngestionPipelineDefinition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2227,12 +2307,6 @@ type ListPipelineEventsRequest struct { PipelineId types.String `tfsdk:"-"` } -func (newState *ListPipelineEventsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPipelineEventsRequest) { -} - -func (newState *ListPipelineEventsRequest) SyncEffectiveFieldsDuringRead(existingState ListPipelineEventsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelineEventsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2317,6 +2391,12 @@ func (newState *ListPipelineEventsResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListPipelineEventsResponse) SyncEffectiveFieldsDuringRead(existingState ListPipelineEventsResponse) { } +func (c ListPipelineEventsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineEvent{}.ApplySchemaCustomizations(cs, append(path, "events")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelineEventsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2407,12 +2487,6 @@ type ListPipelinesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPipelinesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPipelinesRequest) { -} - -func (newState *ListPipelinesRequest) SyncEffectiveFieldsDuringRead(existingState ListPipelinesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelinesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2493,6 +2567,12 @@ func (newState *ListPipelinesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListPipelinesResponse) SyncEffectiveFieldsDuringRead(existingState ListPipelinesResponse) { } +func (c ListPipelinesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineStateInfo{}.ApplySchemaCustomizations(cs, append(path, "statuses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPipelinesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2568,12 +2648,6 @@ type ListUpdatesRequest struct { UntilUpdateId types.String `tfsdk:"-"` } -func (newState *ListUpdatesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListUpdatesRequest) { -} - -func (newState *ListUpdatesRequest) SyncEffectiveFieldsDuringRead(existingState ListUpdatesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUpdatesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2628,6 +2702,12 @@ func (newState *ListUpdatesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ListUpdatesResponse) SyncEffectiveFieldsDuringRead(existingState ListUpdatesResponse) { } +func (c ListUpdatesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateInfo{}.ApplySchemaCustomizations(cs, append(path, "updates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListUpdatesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2702,6 +2782,11 @@ func (newState *ManualTrigger) SyncEffectiveFieldsDuringCreateOrUpdate(plan Manu func (newState *ManualTrigger) SyncEffectiveFieldsDuringRead(existingState ManualTrigger) { } +func (c ManualTrigger) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ManualTrigger. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2740,6 +2825,11 @@ func (newState *NotebookLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan No func (newState *NotebookLibrary) SyncEffectiveFieldsDuringRead(existingState NotebookLibrary) { } +func (c NotebookLibrary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotebookLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2790,6 +2880,11 @@ func (newState *Notifications) SyncEffectiveFieldsDuringCreateOrUpdate(plan Noti func (newState *Notifications) SyncEffectiveFieldsDuringRead(existingState Notifications) { } +func (c Notifications) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Notifications. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2926,6 +3021,11 @@ func (newState *Origin) SyncEffectiveFieldsDuringCreateOrUpdate(plan Origin) { func (newState *Origin) SyncEffectiveFieldsDuringRead(existingState Origin) { } +func (c Origin) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Origin. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3006,6 +3106,11 @@ func (newState *PipelineAccessControlRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *PipelineAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState PipelineAccessControlRequest) { } +func (c PipelineAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3062,6 +3167,12 @@ func (newState *PipelineAccessControlResponse) SyncEffectiveFieldsDuringCreateOr func (newState *PipelineAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState PipelineAccessControlResponse) { } +func (c PipelineAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelinePermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3234,6 +3345,16 @@ func (newState *PipelineCluster) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pi func (newState *PipelineCluster) SyncEffectiveFieldsDuringRead(existingState PipelineCluster) { } +func (c PipelineCluster) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineClusterAutoscale{}.ApplySchemaCustomizations(cs, append(path, "autoscale")...) + compute_tf.AwsAttributes{}.ApplySchemaCustomizations(cs, append(path, "aws_attributes")...) + compute_tf.AzureAttributes{}.ApplySchemaCustomizations(cs, append(path, "azure_attributes")...) + compute_tf.ClusterLogConf{}.ApplySchemaCustomizations(cs, append(path, "cluster_log_conf")...) + compute_tf.GcpAttributes{}.ApplySchemaCustomizations(cs, append(path, "gcp_attributes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineCluster. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3614,6 +3735,13 @@ func (newState *PipelineClusterAutoscale) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PipelineClusterAutoscale) SyncEffectiveFieldsDuringRead(existingState PipelineClusterAutoscale) { } +func (c PipelineClusterAutoscale) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "max_workers")...) + cs.SetRequired(append(path, "min_workers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineClusterAutoscale. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3662,6 +3790,11 @@ func (newState *PipelineDeployment) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PipelineDeployment) SyncEffectiveFieldsDuringRead(existingState PipelineDeployment) { } +func (c PipelineDeployment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineDeployment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3722,6 +3855,14 @@ func (newState *PipelineEvent) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pipe func (newState *PipelineEvent) SyncEffectiveFieldsDuringRead(existingState PipelineEvent) { } +func (c PipelineEvent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ErrorDetail{}.ApplySchemaCustomizations(cs, append(path, "error")...) + Origin{}.ApplySchemaCustomizations(cs, append(path, "origin")...) + Sequencing{}.ApplySchemaCustomizations(cs, append(path, "sequence")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineEvent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3878,6 +4019,14 @@ func (newState *PipelineLibrary) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pi func (newState *PipelineLibrary) SyncEffectiveFieldsDuringRead(existingState PipelineLibrary) { } +func (c PipelineLibrary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + FileLibrary{}.ApplySchemaCustomizations(cs, append(path, "file")...) + compute_tf.MavenLibrary{}.ApplySchemaCustomizations(cs, append(path, "maven")...) + NotebookLibrary{}.ApplySchemaCustomizations(cs, append(path, "notebook")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineLibrary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4019,6 +4168,11 @@ func (newState *PipelinePermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PipelinePermission) SyncEffectiveFieldsDuringRead(existingState PipelinePermission) { } +func (c PipelinePermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4098,6 +4252,12 @@ func (newState *PipelinePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *PipelinePermissions) SyncEffectiveFieldsDuringRead(existingState PipelinePermissions) { } +func (c PipelinePermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4175,6 +4335,11 @@ func (newState *PipelinePermissionsDescription) SyncEffectiveFieldsDuringCreateO func (newState *PipelinePermissionsDescription) SyncEffectiveFieldsDuringRead(existingState PipelinePermissionsDescription) { } +func (c PipelinePermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4220,6 +4385,13 @@ func (newState *PipelinePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpd func (newState *PipelinePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState PipelinePermissionsRequest) { } +func (c PipelinePermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "pipeline_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelinePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4347,6 +4519,20 @@ func (newState *PipelineSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pipel func (newState *PipelineSpec) SyncEffectiveFieldsDuringRead(existingState PipelineSpec) { } +func (c PipelineSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineCluster{}.ApplySchemaCustomizations(cs, append(path, "clusters")...) + PipelineDeployment{}.ApplySchemaCustomizations(cs, append(path, "deployment")...) + Filters{}.ApplySchemaCustomizations(cs, append(path, "filters")...) + IngestionGatewayPipelineDefinition{}.ApplySchemaCustomizations(cs, append(path, "gateway_definition")...) + IngestionPipelineDefinition{}.ApplySchemaCustomizations(cs, append(path, "ingestion_definition")...) + PipelineLibrary{}.ApplySchemaCustomizations(cs, append(path, "libraries")...) + Notifications{}.ApplySchemaCustomizations(cs, append(path, "notifications")...) + RestartWindow{}.ApplySchemaCustomizations(cs, append(path, "restart_window")...) + PipelineTrigger{}.ApplySchemaCustomizations(cs, append(path, "trigger")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4740,6 +4926,12 @@ func (newState *PipelineStateInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PipelineStateInfo) SyncEffectiveFieldsDuringRead(existingState PipelineStateInfo) { } +func (c PipelineStateInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateStateInfo{}.ApplySchemaCustomizations(cs, append(path, "latest_updates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineStateInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4827,6 +5019,13 @@ func (newState *PipelineTrigger) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pi func (newState *PipelineTrigger) SyncEffectiveFieldsDuringRead(existingState PipelineTrigger) { } +func (c PipelineTrigger) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CronTrigger{}.ApplySchemaCustomizations(cs, append(path, "cron")...) + ManualTrigger{}.ApplySchemaCustomizations(cs, append(path, "manual")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PipelineTrigger. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4941,6 +5140,12 @@ func (newState *ReportSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReportS func (newState *ReportSpec) SyncEffectiveFieldsDuringRead(existingState ReportSpec) { } +func (c ReportSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSpecificConfig{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReportSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5031,6 +5236,12 @@ func (newState *RestartWindow) SyncEffectiveFieldsDuringCreateOrUpdate(plan Rest func (newState *RestartWindow) SyncEffectiveFieldsDuringRead(existingState RestartWindow) { } +func (c RestartWindow) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "start_hour")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestartWindow. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5120,6 +5331,12 @@ func (newState *SchemaSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan SchemaS func (newState *SchemaSpec) SyncEffectiveFieldsDuringRead(existingState SchemaSpec) { } +func (c SchemaSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSpecificConfig{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SchemaSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5202,6 +5419,12 @@ func (newState *Sequencing) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sequenc func (newState *Sequencing) SyncEffectiveFieldsDuringRead(existingState Sequencing) { } +func (c Sequencing) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DataPlaneId{}.ApplySchemaCustomizations(cs, append(path, "data_plane_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Sequencing. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5280,6 +5503,12 @@ func (newState *SerializedException) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *SerializedException) SyncEffectiveFieldsDuringRead(existingState SerializedException) { } +func (c SerializedException) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StackFrame{}.ApplySchemaCustomizations(cs, append(path, "stack")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SerializedException. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5362,6 +5591,11 @@ func (newState *StackFrame) SyncEffectiveFieldsDuringCreateOrUpdate(plan StackFr func (newState *StackFrame) SyncEffectiveFieldsDuringRead(existingState StackFrame) { } +func (c StackFrame) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StackFrame. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5426,6 +5660,12 @@ func (newState *StartUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartU func (newState *StartUpdate) SyncEffectiveFieldsDuringRead(existingState StartUpdate) { } +func (c StartUpdate) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "pipeline_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5536,6 +5776,11 @@ func (newState *StartUpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *StartUpdateResponse) SyncEffectiveFieldsDuringRead(existingState StartUpdateResponse) { } +func (c StartUpdateResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartUpdateResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5576,6 +5821,11 @@ func (newState *StopPipelineResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *StopPipelineResponse) SyncEffectiveFieldsDuringRead(existingState StopPipelineResponse) { } +func (c StopPipelineResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopPipelineResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5608,12 +5858,6 @@ type StopRequest struct { PipelineId types.String `tfsdk:"-"` } -func (newState *StopRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopRequest) { -} - -func (newState *StopRequest) SyncEffectiveFieldsDuringRead(existingState StopRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5672,6 +5916,12 @@ func (newState *TableSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan TableSpe func (newState *TableSpec) SyncEffectiveFieldsDuringRead(existingState TableSpec) { } +func (c TableSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TableSpecificConfig{}.ApplySchemaCustomizations(cs, append(path, "table_configuration")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5765,6 +6015,11 @@ func (newState *TableSpecificConfig) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *TableSpecificConfig) SyncEffectiveFieldsDuringRead(existingState TableSpecificConfig) { } +func (c TableSpecificConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TableSpecificConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5900,6 +6155,12 @@ func (newState *UpdateInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateI func (newState *UpdateInfo) SyncEffectiveFieldsDuringRead(existingState UpdateInfo) { } +func (c UpdateInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PipelineSpec{}.ApplySchemaCustomizations(cs, append(path, "config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6053,6 +6314,11 @@ func (newState *UpdateStateInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Up func (newState *UpdateStateInfo) SyncEffectiveFieldsDuringRead(existingState UpdateStateInfo) { } +func (c UpdateStateInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateStateInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/provisioning_tf/legacy_model.go b/internal/service/provisioning_tf/legacy_model.go index 0acd5d338..a58ed978a 100755 --- a/internal/service/provisioning_tf/legacy_model.go +++ b/internal/service/provisioning_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -31,6 +32,12 @@ func (newState *AwsCredentials_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AwsCredentials_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsCredentials_SdkV2) { } +func (c AwsCredentials_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StsRole_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sts_role")...) + + return cs +} + // 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 @@ -112,6 +119,13 @@ func (newState *AwsKeyInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan A func (newState *AwsKeyInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState AwsKeyInfo_SdkV2) { } +func (c AwsKeyInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key_arn")...) + cs.SetRequired(append(path, "key_region")...) + + return cs +} + // 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 @@ -162,6 +176,11 @@ func (newState *AzureWorkspaceInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AzureWorkspaceInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureWorkspaceInfo_SdkV2) { } +func (c AzureWorkspaceInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -207,6 +226,12 @@ func (newState *CloudResourceContainer_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CloudResourceContainer_SdkV2) SyncEffectiveFieldsDuringRead(existingState CloudResourceContainer_SdkV2) { } +func (c CloudResourceContainer_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CustomerFacingGcpCloudResourceContainer_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp")...) + + return cs +} + // 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 @@ -287,6 +312,12 @@ func (newState *CreateAwsKeyInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateAwsKeyInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAwsKeyInfo_SdkV2) { } +func (c CreateAwsKeyInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key_arn")...) + + return cs +} + // 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 @@ -332,6 +363,12 @@ func (newState *CreateCredentialAwsCredentials_SdkV2) SyncEffectiveFieldsDuringC func (newState *CreateCredentialAwsCredentials_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCredentialAwsCredentials_SdkV2) { } +func (c CreateCredentialAwsCredentials_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateCredentialStsRole_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sts_role")...) + + return cs +} + // 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 @@ -405,6 +442,14 @@ func (newState *CreateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCredentialRequest_SdkV2) { } +func (c CreateCredentialRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aws_credentials")...) + CreateCredentialAwsCredentials_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_credentials")...) + cs.SetRequired(append(path, "credentials_name")...) + + return cs +} + // 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 @@ -479,6 +524,11 @@ func (newState *CreateCredentialStsRole_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateCredentialStsRole_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCredentialStsRole_SdkV2) { } +func (c CreateCredentialStsRole_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -524,6 +574,14 @@ func (newState *CreateCustomerManagedKeyRequest_SdkV2) SyncEffectiveFieldsDuring func (newState *CreateCustomerManagedKeyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCustomerManagedKeyRequest_SdkV2) { } +func (c CreateCustomerManagedKeyRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateAwsKeyInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_key_info")...) + CreateGcpKeyInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_key_info")...) + cs.SetRequired(append(path, "use_cases")...) + + return cs +} + // 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 @@ -658,6 +716,12 @@ func (newState *CreateGcpKeyInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateGcpKeyInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateGcpKeyInfo_SdkV2) { } +func (c CreateGcpKeyInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "kms_key_id")...) + + return cs +} + // 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 @@ -717,6 +781,14 @@ func (newState *CreateNetworkRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateNetworkRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateNetworkRequest_SdkV2) { } +func (c CreateNetworkRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GcpNetworkInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_network_info")...) + cs.SetRequired(append(path, "network_name")...) + NetworkVpcEndpoints_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "vpc_endpoints")...) + + return cs +} + // 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 @@ -888,6 +960,14 @@ func (newState *CreateStorageConfigurationRequest_SdkV2) SyncEffectiveFieldsDuri func (newState *CreateStorageConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateStorageConfigurationRequest_SdkV2) { } +func (c CreateStorageConfigurationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "root_bucket_info")...) + RootBucketInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "root_bucket_info")...) + cs.SetRequired(append(path, "storage_configuration_name")...) + + return cs +} + // 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 @@ -969,6 +1049,13 @@ func (newState *CreateVpcEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *CreateVpcEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVpcEndpointRequest_SdkV2) { } +func (c CreateVpcEndpointRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GcpVpcEndpointInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_vpc_endpoint_info")...) + cs.SetRequired(append(path, "vpc_endpoint_name")...) + + return cs +} + // 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 @@ -1155,6 +1242,15 @@ func (newState *CreateWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateWorkspaceRequest_SdkV2) { } +func (c CreateWorkspaceRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CloudResourceContainer_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cloud_resource_container")...) + GcpManagedNetworkConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_managed_network_config")...) + GkeConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gke_config")...) + cs.SetRequired(append(path, "workspace_name")...) + + return cs +} + // 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 @@ -1354,6 +1450,13 @@ func (newState *Credential_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *Credential_SdkV2) SyncEffectiveFieldsDuringRead(existingState Credential_SdkV2) { } +func (c Credential_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsCredentials_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_credentials")...) + cs.SetComputed(append(path, "creation_time")...) + + return cs +} + // 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 @@ -1436,6 +1539,11 @@ func (newState *CustomerFacingGcpCloudResourceContainer_SdkV2) SyncEffectiveFiel func (newState *CustomerFacingGcpCloudResourceContainer_SdkV2) SyncEffectiveFieldsDuringRead(existingState CustomerFacingGcpCloudResourceContainer_SdkV2) { } +func (c CustomerFacingGcpCloudResourceContainer_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -1488,6 +1596,14 @@ func (newState *CustomerManagedKey_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CustomerManagedKey_SdkV2) SyncEffectiveFieldsDuringRead(existingState CustomerManagedKey_SdkV2) { } +func (c CustomerManagedKey_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsKeyInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_key_info")...) + cs.SetComputed(append(path, "creation_time")...) + GcpKeyInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_key_info")...) + + return cs +} + // 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 @@ -1623,12 +1739,6 @@ type DeleteCredentialRequest_SdkV2 struct { CredentialsId types.String `tfsdk:"-"` } -func (newState *DeleteCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialRequest_SdkV2) { -} - -func (newState *DeleteCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialRequest_SdkV2) { -} - // 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 @@ -1666,12 +1776,6 @@ type DeleteEncryptionKeyRequest_SdkV2 struct { CustomerManagedKeyId types.String `tfsdk:"-"` } -func (newState *DeleteEncryptionKeyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEncryptionKeyRequest_SdkV2) { -} - -func (newState *DeleteEncryptionKeyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteEncryptionKeyRequest_SdkV2) { -} - // 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 @@ -1709,12 +1813,6 @@ type DeleteNetworkRequest_SdkV2 struct { NetworkId types.String `tfsdk:"-"` } -func (newState *DeleteNetworkRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkRequest_SdkV2) { -} - -func (newState *DeleteNetworkRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkRequest_SdkV2) { -} - // 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 @@ -1752,12 +1850,6 @@ type DeletePrivateAccesRequest_SdkV2 struct { PrivateAccessSettingsId types.String `tfsdk:"-"` } -func (newState *DeletePrivateAccesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePrivateAccesRequest_SdkV2) { -} - -func (newState *DeletePrivateAccesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePrivateAccesRequest_SdkV2) { -} - // 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 @@ -1792,12 +1884,6 @@ func (o DeletePrivateAccesRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -1831,12 +1917,6 @@ type DeleteStorageRequest_SdkV2 struct { StorageConfigurationId types.String `tfsdk:"-"` } -func (newState *DeleteStorageRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteStorageRequest_SdkV2) { -} - -func (newState *DeleteStorageRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteStorageRequest_SdkV2) { -} - // 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 @@ -1874,12 +1954,6 @@ type DeleteVpcEndpointRequest_SdkV2 struct { VpcEndpointId types.String `tfsdk:"-"` } -func (newState *DeleteVpcEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVpcEndpointRequest_SdkV2) { -} - -func (newState *DeleteVpcEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteVpcEndpointRequest_SdkV2) { -} - // 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 @@ -1917,12 +1991,6 @@ type DeleteWorkspaceRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *DeleteWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceRequest_SdkV2) { -} - -func (newState *DeleteWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceRequest_SdkV2) { -} - // 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 @@ -1969,6 +2037,11 @@ func (newState *ExternalCustomerInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ExternalCustomerInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExternalCustomerInfo_SdkV2) { } +func (c ExternalCustomerInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2015,6 +2088,12 @@ func (newState *GcpKeyInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan G func (newState *GcpKeyInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpKeyInfo_SdkV2) { } +func (c GcpKeyInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "kms_key_id")...) + + return cs +} + // 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 @@ -2087,6 +2166,11 @@ func (newState *GcpManagedNetworkConfig_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *GcpManagedNetworkConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpManagedNetworkConfig_SdkV2) { } +func (c GcpManagedNetworkConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2151,6 +2235,17 @@ func (newState *GcpNetworkInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *GcpNetworkInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpNetworkInfo_SdkV2) { } +func (c GcpNetworkInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "network_project_id")...) + cs.SetRequired(append(path, "pod_ip_range_name")...) + cs.SetRequired(append(path, "service_ip_range_name")...) + cs.SetRequired(append(path, "subnet_id")...) + cs.SetRequired(append(path, "subnet_region")...) + cs.SetRequired(append(path, "vpc_id")...) + + return cs +} + // 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 @@ -2214,6 +2309,14 @@ func (newState *GcpVpcEndpointInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *GcpVpcEndpointInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState GcpVpcEndpointInfo_SdkV2) { } +func (c GcpVpcEndpointInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "endpoint_region")...) + cs.SetRequired(append(path, "project_id")...) + cs.SetRequired(append(path, "psc_endpoint_name")...) + + return cs +} + // 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 @@ -2259,12 +2362,6 @@ type GetCredentialRequest_SdkV2 struct { CredentialsId types.String `tfsdk:"-"` } -func (newState *GetCredentialRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialRequest_SdkV2) { -} - -func (newState *GetCredentialRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCredentialRequest_SdkV2) { -} - // 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 @@ -2302,12 +2399,6 @@ type GetEncryptionKeyRequest_SdkV2 struct { CustomerManagedKeyId types.String `tfsdk:"-"` } -func (newState *GetEncryptionKeyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEncryptionKeyRequest_SdkV2) { -} - -func (newState *GetEncryptionKeyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEncryptionKeyRequest_SdkV2) { -} - // 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 @@ -2345,12 +2436,6 @@ type GetNetworkRequest_SdkV2 struct { NetworkId types.String `tfsdk:"-"` } -func (newState *GetNetworkRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNetworkRequest_SdkV2) { -} - -func (newState *GetNetworkRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetNetworkRequest_SdkV2) { -} - // 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 @@ -2388,12 +2473,6 @@ type GetPrivateAccesRequest_SdkV2 struct { PrivateAccessSettingsId types.String `tfsdk:"-"` } -func (newState *GetPrivateAccesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPrivateAccesRequest_SdkV2) { -} - -func (newState *GetPrivateAccesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPrivateAccesRequest_SdkV2) { -} - // 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 @@ -2431,12 +2510,6 @@ type GetStorageRequest_SdkV2 struct { StorageConfigurationId types.String `tfsdk:"-"` } -func (newState *GetStorageRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStorageRequest_SdkV2) { -} - -func (newState *GetStorageRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStorageRequest_SdkV2) { -} - // 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 @@ -2474,12 +2547,6 @@ type GetVpcEndpointRequest_SdkV2 struct { VpcEndpointId types.String `tfsdk:"-"` } -func (newState *GetVpcEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetVpcEndpointRequest_SdkV2) { -} - -func (newState *GetVpcEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetVpcEndpointRequest_SdkV2) { -} - // 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 @@ -2517,12 +2584,6 @@ type GetWorkspaceRequest_SdkV2 struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceRequest_SdkV2) { -} - -func (newState *GetWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceRequest_SdkV2) { -} - // 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 @@ -2578,6 +2639,11 @@ func (newState *GkeConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Gk func (newState *GkeConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState GkeConfig_SdkV2) { } +func (c GkeConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2653,6 +2719,19 @@ func (newState *Network_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Netw func (newState *Network_SdkV2) SyncEffectiveFieldsDuringRead(existingState Network_SdkV2) { } +func (c Network_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "creation_time")...) + cs.SetComputed(append(path, "error_messages")...) + NetworkHealth_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "error_messages")...) + GcpNetworkInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_network_info")...) + NetworkVpcEndpoints_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "vpc_endpoints")...) + cs.SetComputed(append(path, "vpc_status")...) + cs.SetComputed(append(path, "warning_messages")...) + NetworkWarning_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "warning_messages")...) + + return cs +} + // 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 @@ -2897,6 +2976,11 @@ func (newState *NetworkHealth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *NetworkHealth_SdkV2) SyncEffectiveFieldsDuringRead(existingState NetworkHealth_SdkV2) { } +func (c NetworkHealth_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2949,6 +3033,13 @@ func (newState *NetworkVpcEndpoints_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *NetworkVpcEndpoints_SdkV2) SyncEffectiveFieldsDuringRead(existingState NetworkVpcEndpoints_SdkV2) { } +func (c NetworkVpcEndpoints_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dataplane_relay")...) + cs.SetRequired(append(path, "rest_api")...) + + return cs +} + // 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 @@ -3055,6 +3146,11 @@ func (newState *NetworkWarning_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *NetworkWarning_SdkV2) SyncEffectiveFieldsDuringRead(existingState NetworkWarning_SdkV2) { } +func (c NetworkWarning_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3121,6 +3217,11 @@ func (newState *PrivateAccessSettings_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *PrivateAccessSettings_SdkV2) SyncEffectiveFieldsDuringRead(existingState PrivateAccessSettings_SdkV2) { } +func (c PrivateAccessSettings_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3197,12 +3298,6 @@ func (o *PrivateAccessSettings_SdkV2) SetAllowedVpcEndpointIds(ctx context.Conte type ReplaceResponse_SdkV2 struct { } -func (newState *ReplaceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReplaceResponse_SdkV2) { -} - -func (newState *ReplaceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReplaceResponse_SdkV2) { -} - // 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 @@ -3242,6 +3337,11 @@ func (newState *RootBucketInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RootBucketInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RootBucketInfo_SdkV2) { } +func (c RootBucketInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3292,6 +3392,14 @@ func (newState *StorageConfiguration_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *StorageConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState StorageConfiguration_SdkV2) { } +func (c StorageConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "account_id")...) + cs.SetComputed(append(path, "creation_time")...) + RootBucketInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "root_bucket_info")...) + + return cs +} + // 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 @@ -3375,6 +3483,11 @@ func (newState *StsRole_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StsR func (newState *StsRole_SdkV2) SyncEffectiveFieldsDuringRead(existingState StsRole_SdkV2) { } +func (c StsRole_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3411,12 +3524,6 @@ func (o StsRole_SdkV2) Type(ctx context.Context) attr.Type { type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -3485,6 +3592,12 @@ func (newState *UpdateWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceRequest_SdkV2) { } +func (c UpdateWorkspaceRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // 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 @@ -3608,6 +3721,14 @@ func (newState *UpsertPrivateAccessSettingsRequest_SdkV2) SyncEffectiveFieldsDur func (newState *UpsertPrivateAccessSettingsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpsertPrivateAccessSettingsRequest_SdkV2) { } +func (c UpsertPrivateAccessSettingsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "private_access_settings_id")...) + cs.SetRequired(append(path, "private_access_settings_name")...) + cs.SetRequired(append(path, "region")...) + + return cs +} + // 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 @@ -3723,6 +3844,12 @@ func (newState *VpcEndpoint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *VpcEndpoint_SdkV2) SyncEffectiveFieldsDuringRead(existingState VpcEndpoint_SdkV2) { } +func (c VpcEndpoint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GcpVpcEndpointInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_vpc_endpoint_info")...) + + return cs +} + // 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 @@ -3908,6 +4035,19 @@ func (newState *Workspace_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Wo func (newState *Workspace_SdkV2) SyncEffectiveFieldsDuringRead(existingState Workspace_SdkV2) { } +func (c Workspace_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AzureWorkspaceInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_workspace_info")...) + CloudResourceContainer_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cloud_resource_container")...) + cs.SetComputed(append(path, "creation_time")...) + ExternalCustomerInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "external_customer_info")...) + GcpManagedNetworkConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gcp_managed_network_config")...) + GkeConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "gke_config")...) + cs.SetComputed(append(path, "workspace_status")...) + cs.SetComputed(append(path, "workspace_status_message")...) + + return cs +} + // 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 diff --git a/internal/service/provisioning_tf/model.go b/internal/service/provisioning_tf/model.go index 2f59ce068..12fff7798 100755 --- a/internal/service/provisioning_tf/model.go +++ b/internal/service/provisioning_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -31,6 +32,12 @@ func (newState *AwsCredentials) SyncEffectiveFieldsDuringCreateOrUpdate(plan Aws func (newState *AwsCredentials) SyncEffectiveFieldsDuringRead(existingState AwsCredentials) { } +func (c AwsCredentials) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StsRole{}.ApplySchemaCustomizations(cs, append(path, "sts_role")...) + + return cs +} + // 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 @@ -112,6 +119,13 @@ func (newState *AwsKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan AwsKeyI func (newState *AwsKeyInfo) SyncEffectiveFieldsDuringRead(existingState AwsKeyInfo) { } +func (c AwsKeyInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key_arn")...) + cs.SetRequired(append(path, "key_region")...) + + return cs +} + // 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 @@ -162,6 +176,11 @@ func (newState *AzureWorkspaceInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AzureWorkspaceInfo) SyncEffectiveFieldsDuringRead(existingState AzureWorkspaceInfo) { } +func (c AzureWorkspaceInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -207,6 +226,12 @@ func (newState *CloudResourceContainer) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CloudResourceContainer) SyncEffectiveFieldsDuringRead(existingState CloudResourceContainer) { } +func (c CloudResourceContainer) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CustomerFacingGcpCloudResourceContainer{}.ApplySchemaCustomizations(cs, append(path, "gcp")...) + + return cs +} + // 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 @@ -287,6 +312,12 @@ func (newState *CreateAwsKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *CreateAwsKeyInfo) SyncEffectiveFieldsDuringRead(existingState CreateAwsKeyInfo) { } +func (c CreateAwsKeyInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key_arn")...) + + return cs +} + // 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 @@ -332,6 +363,12 @@ func (newState *CreateCredentialAwsCredentials) SyncEffectiveFieldsDuringCreateO func (newState *CreateCredentialAwsCredentials) SyncEffectiveFieldsDuringRead(existingState CreateCredentialAwsCredentials) { } +func (c CreateCredentialAwsCredentials) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateCredentialStsRole{}.ApplySchemaCustomizations(cs, append(path, "sts_role")...) + + return cs +} + // 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 @@ -405,6 +442,14 @@ func (newState *CreateCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateCredentialRequest) SyncEffectiveFieldsDuringRead(existingState CreateCredentialRequest) { } +func (c CreateCredentialRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aws_credentials")...) + CreateCredentialAwsCredentials{}.ApplySchemaCustomizations(cs, append(path, "aws_credentials")...) + cs.SetRequired(append(path, "credentials_name")...) + + return cs +} + // 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 @@ -479,6 +524,11 @@ func (newState *CreateCredentialStsRole) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateCredentialStsRole) SyncEffectiveFieldsDuringRead(existingState CreateCredentialStsRole) { } +func (c CreateCredentialStsRole) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -524,6 +574,14 @@ func (newState *CreateCustomerManagedKeyRequest) SyncEffectiveFieldsDuringCreate func (newState *CreateCustomerManagedKeyRequest) SyncEffectiveFieldsDuringRead(existingState CreateCustomerManagedKeyRequest) { } +func (c CreateCustomerManagedKeyRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateAwsKeyInfo{}.ApplySchemaCustomizations(cs, append(path, "aws_key_info")...) + CreateGcpKeyInfo{}.ApplySchemaCustomizations(cs, append(path, "gcp_key_info")...) + cs.SetRequired(append(path, "use_cases")...) + + return cs +} + // 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 @@ -658,6 +716,12 @@ func (newState *CreateGcpKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *CreateGcpKeyInfo) SyncEffectiveFieldsDuringRead(existingState CreateGcpKeyInfo) { } +func (c CreateGcpKeyInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "kms_key_id")...) + + return cs +} + // 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 @@ -717,6 +781,14 @@ func (newState *CreateNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateNetworkRequest) SyncEffectiveFieldsDuringRead(existingState CreateNetworkRequest) { } +func (c CreateNetworkRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GcpNetworkInfo{}.ApplySchemaCustomizations(cs, append(path, "gcp_network_info")...) + cs.SetRequired(append(path, "network_name")...) + NetworkVpcEndpoints{}.ApplySchemaCustomizations(cs, append(path, "vpc_endpoints")...) + + return cs +} + // 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 @@ -888,6 +960,14 @@ func (newState *CreateStorageConfigurationRequest) SyncEffectiveFieldsDuringCrea func (newState *CreateStorageConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState CreateStorageConfigurationRequest) { } +func (c CreateStorageConfigurationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "root_bucket_info")...) + RootBucketInfo{}.ApplySchemaCustomizations(cs, append(path, "root_bucket_info")...) + cs.SetRequired(append(path, "storage_configuration_name")...) + + return cs +} + // 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 @@ -969,6 +1049,13 @@ func (newState *CreateVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateVpcEndpointRequest) SyncEffectiveFieldsDuringRead(existingState CreateVpcEndpointRequest) { } +func (c CreateVpcEndpointRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GcpVpcEndpointInfo{}.ApplySchemaCustomizations(cs, append(path, "gcp_vpc_endpoint_info")...) + cs.SetRequired(append(path, "vpc_endpoint_name")...) + + return cs +} + // 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 @@ -1155,6 +1242,15 @@ func (newState *CreateWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState CreateWorkspaceRequest) { } +func (c CreateWorkspaceRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CloudResourceContainer{}.ApplySchemaCustomizations(cs, append(path, "cloud_resource_container")...) + GcpManagedNetworkConfig{}.ApplySchemaCustomizations(cs, append(path, "gcp_managed_network_config")...) + GkeConfig{}.ApplySchemaCustomizations(cs, append(path, "gke_config")...) + cs.SetRequired(append(path, "workspace_name")...) + + return cs +} + // 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 @@ -1354,6 +1450,13 @@ func (newState *Credential) SyncEffectiveFieldsDuringCreateOrUpdate(plan Credent func (newState *Credential) SyncEffectiveFieldsDuringRead(existingState Credential) { } +func (c Credential) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsCredentials{}.ApplySchemaCustomizations(cs, append(path, "aws_credentials")...) + cs.SetComputed(append(path, "creation_time")...) + + return cs +} + // 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 @@ -1436,6 +1539,11 @@ func (newState *CustomerFacingGcpCloudResourceContainer) SyncEffectiveFieldsDuri func (newState *CustomerFacingGcpCloudResourceContainer) SyncEffectiveFieldsDuringRead(existingState CustomerFacingGcpCloudResourceContainer) { } +func (c CustomerFacingGcpCloudResourceContainer) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -1488,6 +1596,14 @@ func (newState *CustomerManagedKey) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CustomerManagedKey) SyncEffectiveFieldsDuringRead(existingState CustomerManagedKey) { } +func (c CustomerManagedKey) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AwsKeyInfo{}.ApplySchemaCustomizations(cs, append(path, "aws_key_info")...) + cs.SetComputed(append(path, "creation_time")...) + GcpKeyInfo{}.ApplySchemaCustomizations(cs, append(path, "gcp_key_info")...) + + return cs +} + // 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 @@ -1623,12 +1739,6 @@ type DeleteCredentialRequest struct { CredentialsId types.String `tfsdk:"-"` } -func (newState *DeleteCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialRequest) { -} - -func (newState *DeleteCredentialRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialRequest) { -} - // 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 @@ -1666,12 +1776,6 @@ type DeleteEncryptionKeyRequest struct { CustomerManagedKeyId types.String `tfsdk:"-"` } -func (newState *DeleteEncryptionKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEncryptionKeyRequest) { -} - -func (newState *DeleteEncryptionKeyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteEncryptionKeyRequest) { -} - // 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 @@ -1709,12 +1813,6 @@ type DeleteNetworkRequest struct { NetworkId types.String `tfsdk:"-"` } -func (newState *DeleteNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkRequest) { -} - -func (newState *DeleteNetworkRequest) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkRequest) { -} - // 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 @@ -1752,12 +1850,6 @@ type DeletePrivateAccesRequest struct { PrivateAccessSettingsId types.String `tfsdk:"-"` } -func (newState *DeletePrivateAccesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePrivateAccesRequest) { -} - -func (newState *DeletePrivateAccesRequest) SyncEffectiveFieldsDuringRead(existingState DeletePrivateAccesRequest) { -} - // 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 @@ -1792,12 +1884,6 @@ func (o DeletePrivateAccesRequest) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -1831,12 +1917,6 @@ type DeleteStorageRequest struct { StorageConfigurationId types.String `tfsdk:"-"` } -func (newState *DeleteStorageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteStorageRequest) { -} - -func (newState *DeleteStorageRequest) SyncEffectiveFieldsDuringRead(existingState DeleteStorageRequest) { -} - // 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 @@ -1874,12 +1954,6 @@ type DeleteVpcEndpointRequest struct { VpcEndpointId types.String `tfsdk:"-"` } -func (newState *DeleteVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVpcEndpointRequest) { -} - -func (newState *DeleteVpcEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteVpcEndpointRequest) { -} - // 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 @@ -1917,12 +1991,6 @@ type DeleteWorkspaceRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *DeleteWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWorkspaceRequest) { -} - -func (newState *DeleteWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWorkspaceRequest) { -} - // 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 @@ -1969,6 +2037,11 @@ func (newState *ExternalCustomerInfo) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ExternalCustomerInfo) SyncEffectiveFieldsDuringRead(existingState ExternalCustomerInfo) { } +func (c ExternalCustomerInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2015,6 +2088,12 @@ func (newState *GcpKeyInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan GcpKeyI func (newState *GcpKeyInfo) SyncEffectiveFieldsDuringRead(existingState GcpKeyInfo) { } +func (c GcpKeyInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "kms_key_id")...) + + return cs +} + // 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 @@ -2087,6 +2166,11 @@ func (newState *GcpManagedNetworkConfig) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GcpManagedNetworkConfig) SyncEffectiveFieldsDuringRead(existingState GcpManagedNetworkConfig) { } +func (c GcpManagedNetworkConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2151,6 +2235,17 @@ func (newState *GcpNetworkInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Gcp func (newState *GcpNetworkInfo) SyncEffectiveFieldsDuringRead(existingState GcpNetworkInfo) { } +func (c GcpNetworkInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "network_project_id")...) + cs.SetRequired(append(path, "pod_ip_range_name")...) + cs.SetRequired(append(path, "service_ip_range_name")...) + cs.SetRequired(append(path, "subnet_id")...) + cs.SetRequired(append(path, "subnet_region")...) + cs.SetRequired(append(path, "vpc_id")...) + + return cs +} + // 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 @@ -2214,6 +2309,14 @@ func (newState *GcpVpcEndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GcpVpcEndpointInfo) SyncEffectiveFieldsDuringRead(existingState GcpVpcEndpointInfo) { } +func (c GcpVpcEndpointInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "endpoint_region")...) + cs.SetRequired(append(path, "project_id")...) + cs.SetRequired(append(path, "psc_endpoint_name")...) + + return cs +} + // 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 @@ -2259,12 +2362,6 @@ type GetCredentialRequest struct { CredentialsId types.String `tfsdk:"-"` } -func (newState *GetCredentialRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialRequest) { -} - -func (newState *GetCredentialRequest) SyncEffectiveFieldsDuringRead(existingState GetCredentialRequest) { -} - // 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 @@ -2302,12 +2399,6 @@ type GetEncryptionKeyRequest struct { CustomerManagedKeyId types.String `tfsdk:"-"` } -func (newState *GetEncryptionKeyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEncryptionKeyRequest) { -} - -func (newState *GetEncryptionKeyRequest) SyncEffectiveFieldsDuringRead(existingState GetEncryptionKeyRequest) { -} - // 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 @@ -2345,12 +2436,6 @@ type GetNetworkRequest struct { NetworkId types.String `tfsdk:"-"` } -func (newState *GetNetworkRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNetworkRequest) { -} - -func (newState *GetNetworkRequest) SyncEffectiveFieldsDuringRead(existingState GetNetworkRequest) { -} - // 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 @@ -2388,12 +2473,6 @@ type GetPrivateAccesRequest struct { PrivateAccessSettingsId types.String `tfsdk:"-"` } -func (newState *GetPrivateAccesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPrivateAccesRequest) { -} - -func (newState *GetPrivateAccesRequest) SyncEffectiveFieldsDuringRead(existingState GetPrivateAccesRequest) { -} - // 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 @@ -2431,12 +2510,6 @@ type GetStorageRequest struct { StorageConfigurationId types.String `tfsdk:"-"` } -func (newState *GetStorageRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStorageRequest) { -} - -func (newState *GetStorageRequest) SyncEffectiveFieldsDuringRead(existingState GetStorageRequest) { -} - // 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 @@ -2474,12 +2547,6 @@ type GetVpcEndpointRequest struct { VpcEndpointId types.String `tfsdk:"-"` } -func (newState *GetVpcEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetVpcEndpointRequest) { -} - -func (newState *GetVpcEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetVpcEndpointRequest) { -} - // 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 @@ -2517,12 +2584,6 @@ type GetWorkspaceRequest struct { WorkspaceId types.Int64 `tfsdk:"-"` } -func (newState *GetWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceRequest) { -} - -func (newState *GetWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceRequest) { -} - // 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 @@ -2578,6 +2639,11 @@ func (newState *GkeConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan GkeConfi func (newState *GkeConfig) SyncEffectiveFieldsDuringRead(existingState GkeConfig) { } +func (c GkeConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2653,6 +2719,19 @@ func (newState *Network) SyncEffectiveFieldsDuringCreateOrUpdate(plan Network) { func (newState *Network) SyncEffectiveFieldsDuringRead(existingState Network) { } +func (c Network) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "creation_time")...) + cs.SetComputed(append(path, "error_messages")...) + NetworkHealth{}.ApplySchemaCustomizations(cs, append(path, "error_messages")...) + GcpNetworkInfo{}.ApplySchemaCustomizations(cs, append(path, "gcp_network_info")...) + NetworkVpcEndpoints{}.ApplySchemaCustomizations(cs, append(path, "vpc_endpoints")...) + cs.SetComputed(append(path, "vpc_status")...) + cs.SetComputed(append(path, "warning_messages")...) + NetworkWarning{}.ApplySchemaCustomizations(cs, append(path, "warning_messages")...) + + return cs +} + // 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 @@ -2897,6 +2976,11 @@ func (newState *NetworkHealth) SyncEffectiveFieldsDuringCreateOrUpdate(plan Netw func (newState *NetworkHealth) SyncEffectiveFieldsDuringRead(existingState NetworkHealth) { } +func (c NetworkHealth) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -2949,6 +3033,13 @@ func (newState *NetworkVpcEndpoints) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *NetworkVpcEndpoints) SyncEffectiveFieldsDuringRead(existingState NetworkVpcEndpoints) { } +func (c NetworkVpcEndpoints) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dataplane_relay")...) + cs.SetRequired(append(path, "rest_api")...) + + return cs +} + // 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 @@ -3055,6 +3146,11 @@ func (newState *NetworkWarning) SyncEffectiveFieldsDuringCreateOrUpdate(plan Net func (newState *NetworkWarning) SyncEffectiveFieldsDuringRead(existingState NetworkWarning) { } +func (c NetworkWarning) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3121,6 +3217,11 @@ func (newState *PrivateAccessSettings) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PrivateAccessSettings) SyncEffectiveFieldsDuringRead(existingState PrivateAccessSettings) { } +func (c PrivateAccessSettings) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3197,12 +3298,6 @@ func (o *PrivateAccessSettings) SetAllowedVpcEndpointIds(ctx context.Context, v type ReplaceResponse struct { } -func (newState *ReplaceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReplaceResponse) { -} - -func (newState *ReplaceResponse) SyncEffectiveFieldsDuringRead(existingState ReplaceResponse) { -} - // 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 @@ -3242,6 +3337,11 @@ func (newState *RootBucketInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Roo func (newState *RootBucketInfo) SyncEffectiveFieldsDuringRead(existingState RootBucketInfo) { } +func (c RootBucketInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3292,6 +3392,14 @@ func (newState *StorageConfiguration) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *StorageConfiguration) SyncEffectiveFieldsDuringRead(existingState StorageConfiguration) { } +func (c StorageConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "account_id")...) + cs.SetComputed(append(path, "creation_time")...) + RootBucketInfo{}.ApplySchemaCustomizations(cs, append(path, "root_bucket_info")...) + + return cs +} + // 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 @@ -3375,6 +3483,11 @@ func (newState *StsRole) SyncEffectiveFieldsDuringCreateOrUpdate(plan StsRole) { func (newState *StsRole) SyncEffectiveFieldsDuringRead(existingState StsRole) { } +func (c StsRole) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -3411,12 +3524,6 @@ func (o StsRole) Type(ctx context.Context) attr.Type { type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -3485,6 +3592,12 @@ func (newState *UpdateWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState UpdateWorkspaceRequest) { } +func (c UpdateWorkspaceRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "workspace_id")...) + + return cs +} + // 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 @@ -3608,6 +3721,14 @@ func (newState *UpsertPrivateAccessSettingsRequest) SyncEffectiveFieldsDuringCre func (newState *UpsertPrivateAccessSettingsRequest) SyncEffectiveFieldsDuringRead(existingState UpsertPrivateAccessSettingsRequest) { } +func (c UpsertPrivateAccessSettingsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "private_access_settings_id")...) + cs.SetRequired(append(path, "private_access_settings_name")...) + cs.SetRequired(append(path, "region")...) + + return cs +} + // 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 @@ -3723,6 +3844,12 @@ func (newState *VpcEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan VpcEnd func (newState *VpcEndpoint) SyncEffectiveFieldsDuringRead(existingState VpcEndpoint) { } +func (c VpcEndpoint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + GcpVpcEndpointInfo{}.ApplySchemaCustomizations(cs, append(path, "gcp_vpc_endpoint_info")...) + + return cs +} + // 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 @@ -3908,6 +4035,19 @@ func (newState *Workspace) SyncEffectiveFieldsDuringCreateOrUpdate(plan Workspac func (newState *Workspace) SyncEffectiveFieldsDuringRead(existingState Workspace) { } +func (c Workspace) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AzureWorkspaceInfo{}.ApplySchemaCustomizations(cs, append(path, "azure_workspace_info")...) + CloudResourceContainer{}.ApplySchemaCustomizations(cs, append(path, "cloud_resource_container")...) + cs.SetComputed(append(path, "creation_time")...) + ExternalCustomerInfo{}.ApplySchemaCustomizations(cs, append(path, "external_customer_info")...) + GcpManagedNetworkConfig{}.ApplySchemaCustomizations(cs, append(path, "gcp_managed_network_config")...) + GkeConfig{}.ApplySchemaCustomizations(cs, append(path, "gke_config")...) + cs.SetComputed(append(path, "workspace_status")...) + cs.SetComputed(append(path, "workspace_status_message")...) + + return cs +} + // 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 diff --git a/internal/service/serving_tf/legacy_model.go b/internal/service/serving_tf/legacy_model.go index faa0dbe8e..9ebb753aa 100755 --- a/internal/service/serving_tf/legacy_model.go +++ b/internal/service/serving_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/oauth2_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -41,6 +42,11 @@ func (newState *Ai21LabsConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *Ai21LabsConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState Ai21LabsConfig_SdkV2) { } +func (c Ai21LabsConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Ai21LabsConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -96,6 +102,15 @@ func (newState *AiGatewayConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AiGatewayConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayConfig_SdkV2) { } +func (c AiGatewayConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayGuardrails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "guardrails")...) + AiGatewayInferenceTableConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "inference_table_config")...) + AiGatewayRateLimit_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "rate_limits")...) + AiGatewayUsageTrackingConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "usage_tracking_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -269,6 +284,12 @@ func (newState *AiGatewayGuardrailParameters_SdkV2) SyncEffectiveFieldsDuringCre func (newState *AiGatewayGuardrailParameters_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailParameters_SdkV2) { } +func (c AiGatewayGuardrailParameters_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayGuardrailPiiBehavior_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pii")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrailParameters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -410,6 +431,12 @@ func (newState *AiGatewayGuardrailPiiBehavior_SdkV2) SyncEffectiveFieldsDuringCr func (newState *AiGatewayGuardrailPiiBehavior_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailPiiBehavior_SdkV2) { } +func (c AiGatewayGuardrailPiiBehavior_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "behavior")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrailPiiBehavior. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -454,6 +481,13 @@ func (newState *AiGatewayGuardrails_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *AiGatewayGuardrails_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrails_SdkV2) { } +func (c AiGatewayGuardrails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayGuardrailParameters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "input")...) + AiGatewayGuardrailParameters_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "output")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -568,6 +602,11 @@ func (newState *AiGatewayInferenceTableConfig_SdkV2) SyncEffectiveFieldsDuringCr func (newState *AiGatewayInferenceTableConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayInferenceTableConfig_SdkV2) { } +func (c AiGatewayInferenceTableConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayInferenceTableConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -623,6 +662,13 @@ func (newState *AiGatewayRateLimit_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AiGatewayRateLimit_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayRateLimit_SdkV2) { } +func (c AiGatewayRateLimit_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "calls")...) + cs.SetRequired(append(path, "renewal_period")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayRateLimit. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -669,6 +715,11 @@ func (newState *AiGatewayUsageTrackingConfig_SdkV2) SyncEffectiveFieldsDuringCre func (newState *AiGatewayUsageTrackingConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState AiGatewayUsageTrackingConfig_SdkV2) { } +func (c AiGatewayUsageTrackingConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayUsageTrackingConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -740,6 +791,13 @@ func (newState *AmazonBedrockConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *AmazonBedrockConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState AmazonBedrockConfig_SdkV2) { } +func (c AmazonBedrockConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aws_region")...) + cs.SetRequired(append(path, "bedrock_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AmazonBedrockConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -800,6 +858,11 @@ func (newState *AnthropicConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AnthropicConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState AnthropicConfig_SdkV2) { } +func (c AnthropicConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AnthropicConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -853,6 +916,11 @@ func (newState *AutoCaptureConfigInput_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *AutoCaptureConfigInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigInput_SdkV2) { } +func (c AutoCaptureConfigInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureConfigInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -909,6 +977,12 @@ func (newState *AutoCaptureConfigOutput_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *AutoCaptureConfigOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigOutput_SdkV2) { } +func (c AutoCaptureConfigOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureConfigOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -988,6 +1062,12 @@ func (newState *AutoCaptureState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *AutoCaptureState_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutoCaptureState_SdkV2) { } +func (c AutoCaptureState_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PayloadTable_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "payload_table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1059,12 +1139,6 @@ type BuildLogsRequest_SdkV2 struct { ServedModelName types.String `tfsdk:"-"` } -func (newState *BuildLogsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan BuildLogsRequest_SdkV2) { -} - -func (newState *BuildLogsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState BuildLogsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in BuildLogsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1109,6 +1183,12 @@ func (newState *BuildLogsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *BuildLogsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState BuildLogsResponse_SdkV2) { } +func (c BuildLogsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "logs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BuildLogsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1153,6 +1233,11 @@ func (newState *ChatMessage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ChatMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChatMessage_SdkV2) { } +func (c ChatMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChatMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1208,6 +1293,11 @@ func (newState *CohereConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CohereConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState CohereConfig_SdkV2) { } +func (c CohereConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CohereConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1269,6 +1359,17 @@ func (newState *CreateServingEndpoint_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateServingEndpoint_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateServingEndpoint_SdkV2) { } +func (c CreateServingEndpoint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ai_gateway")...) + cs.SetRequired(append(path, "config")...) + EndpointCoreConfigInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + cs.SetRequired(append(path, "name")...) + RateLimit_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "rate_limits")...) + EndpointTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServingEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1453,6 +1554,12 @@ func (newState *DatabricksModelServingConfig_SdkV2) SyncEffectiveFieldsDuringCre func (newState *DatabricksModelServingConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState DatabricksModelServingConfig_SdkV2) { } +func (c DatabricksModelServingConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "databricks_workspace_url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksModelServingConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1502,6 +1609,11 @@ func (newState *DataframeSplitInput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *DataframeSplitInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataframeSplitInput_SdkV2) { } +func (c DataframeSplitInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataframeSplitInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1628,12 +1740,6 @@ func (o *DataframeSplitInput_SdkV2) SetIndex(ctx context.Context, v []types.Int6 type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -1667,12 +1773,6 @@ type DeleteServingEndpointRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteServingEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServingEndpointRequest_SdkV2) { -} - -func (newState *DeleteServingEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteServingEndpointRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServingEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1718,6 +1818,11 @@ func (newState *EmbeddingsV1ResponseEmbeddingElement_SdkV2) SyncEffectiveFieldsD func (newState *EmbeddingsV1ResponseEmbeddingElement_SdkV2) SyncEffectiveFieldsDuringRead(existingState EmbeddingsV1ResponseEmbeddingElement_SdkV2) { } +func (c EmbeddingsV1ResponseEmbeddingElement_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingsV1ResponseEmbeddingElement. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1806,6 +1911,16 @@ func (newState *EndpointCoreConfigInput_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *EndpointCoreConfigInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigInput_SdkV2) { } +func (c EndpointCoreConfigInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureConfigInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "auto_capture_config")...) + cs.SetRequired(append(path, "name")...) + ServedEntityInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + TrafficConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "traffic_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1983,6 +2098,15 @@ func (newState *EndpointCoreConfigOutput_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *EndpointCoreConfigOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigOutput_SdkV2) { } +func (c EndpointCoreConfigOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureConfigOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "auto_capture_config")...) + ServedEntityOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + TrafficConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "traffic_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2153,6 +2277,13 @@ func (newState *EndpointCoreConfigSummary_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *EndpointCoreConfigSummary_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigSummary_SdkV2) { } +func (c EndpointCoreConfigSummary_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServedEntitySpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigSummary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2270,6 +2401,15 @@ func (newState *EndpointPendingConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *EndpointPendingConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointPendingConfig_SdkV2) { } +func (c EndpointPendingConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureConfigOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "auto_capture_config")...) + ServedEntityOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + TrafficConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "traffic_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointPendingConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2448,6 +2588,11 @@ func (newState *EndpointState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *EndpointState_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointState_SdkV2) { } +func (c EndpointState_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2494,6 +2639,12 @@ func (newState *EndpointTag_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EndpointTag_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointTag_SdkV2) { } +func (c EndpointTag_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2534,12 +2685,6 @@ type ExportMetricsRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *ExportMetricsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsRequest_SdkV2) { -} - -func (newState *ExportMetricsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportMetricsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportMetricsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2575,12 +2720,6 @@ type ExportMetricsResponse_SdkV2 struct { Contents types.Object `tfsdk:"-"` } -func (newState *ExportMetricsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsResponse_SdkV2) { -} - -func (newState *ExportMetricsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportMetricsResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportMetricsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2648,6 +2787,22 @@ func (newState *ExternalModel_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ExternalModel_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExternalModel_SdkV2) { } +func (c ExternalModel_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Ai21LabsConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ai21labs_config")...) + AmazonBedrockConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "amazon_bedrock_config")...) + AnthropicConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "anthropic_config")...) + CohereConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "cohere_config")...) + DatabricksModelServingConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "databricks_model_serving_config")...) + GoogleCloudVertexAiConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "google_cloud_vertex_ai_config")...) + cs.SetRequired(append(path, "name")...) + OpenAiConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "openai_config")...) + PaLmConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "palm_config")...) + cs.SetRequired(append(path, "provider")...) + cs.SetRequired(append(path, "task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalModel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2947,6 +3102,11 @@ func (newState *ExternalModelUsageElement_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ExternalModelUsageElement_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExternalModelUsageElement_SdkV2) { } +func (c ExternalModelUsageElement_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalModelUsageElement. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2999,6 +3159,11 @@ func (newState *FoundationModel_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *FoundationModel_SdkV2) SyncEffectiveFieldsDuringRead(existingState FoundationModel_SdkV2) { } +func (c FoundationModel_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FoundationModel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3043,12 +3208,6 @@ type GetOpenApiRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetOpenApiRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiRequest_SdkV2) { -} - -func (newState *GetOpenApiRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetOpenApiRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOpenApiRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3085,12 +3244,6 @@ func (o GetOpenApiRequest_SdkV2) Type(ctx context.Context) attr.Type { type GetOpenApiResponse_SdkV2 struct { } -func (newState *GetOpenApiResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiResponse_SdkV2) { -} - -func (newState *GetOpenApiResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetOpenApiResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOpenApiResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3124,12 +3277,6 @@ type GetServingEndpointPermissionLevelsRequest_SdkV2 struct { ServingEndpointId types.String `tfsdk:"-"` } -func (newState *GetServingEndpointPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetServingEndpointPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3172,6 +3319,12 @@ func (newState *GetServingEndpointPermissionLevelsResponse_SdkV2) SyncEffectiveF func (newState *GetServingEndpointPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsResponse_SdkV2) { } +func (c GetServingEndpointPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3239,12 +3392,6 @@ type GetServingEndpointPermissionsRequest_SdkV2 struct { ServingEndpointId types.String `tfsdk:"-"` } -func (newState *GetServingEndpointPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionsRequest_SdkV2) { -} - -func (newState *GetServingEndpointPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3282,12 +3429,6 @@ type GetServingEndpointRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetServingEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointRequest_SdkV2) { -} - -func (newState *GetServingEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3355,6 +3496,11 @@ func (newState *GoogleCloudVertexAiConfig_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *GoogleCloudVertexAiConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState GoogleCloudVertexAiConfig_SdkV2) { } +func (c GoogleCloudVertexAiConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GoogleCloudVertexAiConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3403,6 +3549,12 @@ func (newState *ListEndpointsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListEndpointsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListEndpointsResponse_SdkV2) { } +func (c ListEndpointsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpoint_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "endpoints")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3474,12 +3626,6 @@ type LogsRequest_SdkV2 struct { ServedModelName types.String `tfsdk:"-"` } -func (newState *LogsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogsRequest_SdkV2) { -} - -func (newState *LogsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState LogsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3524,6 +3670,12 @@ func (newState *ModelDataPlaneInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ModelDataPlaneInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ModelDataPlaneInfo_SdkV2) { } +func (c ModelDataPlaneInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + oauth2_tf.DataPlaneInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelDataPlaneInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3645,6 +3797,11 @@ func (newState *OpenAiConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *OpenAiConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState OpenAiConfig_SdkV2) { } +func (c OpenAiConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OpenAiConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3715,6 +3872,11 @@ func (newState *PaLmConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan P func (newState *PaLmConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState PaLmConfig_SdkV2) { } +func (c PaLmConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PaLmConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3764,6 +3926,13 @@ func (newState *PatchServingEndpointTags_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *PatchServingEndpointTags_SdkV2) SyncEffectiveFieldsDuringRead(existingState PatchServingEndpointTags_SdkV2) { } +func (c PatchServingEndpointTags_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "add_tags")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchServingEndpointTags. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3873,6 +4042,11 @@ func (newState *PayloadTable_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PayloadTable_SdkV2) SyncEffectiveFieldsDuringRead(existingState PayloadTable_SdkV2) { } +func (c PayloadTable_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PayloadTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3928,12 +4102,6 @@ type PutAiGatewayRequest_SdkV2 struct { UsageTrackingConfig types.List `tfsdk:"usage_tracking_config" tf:"optional,object"` } -func (newState *PutAiGatewayRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayRequest_SdkV2) { -} - -func (newState *PutAiGatewayRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAiGatewayRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4106,12 +4274,6 @@ type PutAiGatewayResponse_SdkV2 struct { UsageTrackingConfig types.List `tfsdk:"usage_tracking_config" tf:"optional,object"` } -func (newState *PutAiGatewayResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayResponse_SdkV2) { -} - -func (newState *PutAiGatewayResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAiGatewayResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4275,12 +4437,6 @@ type PutRequest_SdkV2 struct { RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` } -func (newState *PutRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutRequest_SdkV2) { -} - -func (newState *PutRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4349,12 +4505,6 @@ type PutResponse_SdkV2 struct { RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` } -func (newState *PutResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutResponse_SdkV2) { -} - -func (newState *PutResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4474,6 +4624,14 @@ func (newState *QueryEndpointInput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *QueryEndpointInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryEndpointInput_SdkV2) { } +func (c QueryEndpointInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DataframeSplitInput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "dataframe_split")...) + ChatMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "messages")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEndpointInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4743,6 +4901,14 @@ func (newState *QueryEndpointResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *QueryEndpointResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryEndpointResponse_SdkV2) { } +func (c QueryEndpointResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + V1ResponseChoiceElement_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "choices")...) + EmbeddingsV1ResponseEmbeddingElement_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data")...) + ExternalModelUsageElement_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "usage")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEndpointResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4926,6 +5092,13 @@ func (newState *RateLimit_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ra func (newState *RateLimit_SdkV2) SyncEffectiveFieldsDuringRead(existingState RateLimit_SdkV2) { } +func (c RateLimit_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "calls")...) + cs.SetRequired(append(path, "renewal_period")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RateLimit. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4975,6 +5148,13 @@ func (newState *Route_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Route_ func (newState *Route_SdkV2) SyncEffectiveFieldsDuringRead(existingState Route_SdkV2) { } +func (c Route_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "served_model_name")...) + cs.SetRequired(append(path, "traffic_percentage")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Route. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5075,6 +5255,12 @@ func (newState *ServedEntityInput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ServedEntityInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedEntityInput_SdkV2) { } +func (c ServedEntityInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalModel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "external_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntityInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5254,6 +5440,14 @@ func (newState *ServedEntityOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ServedEntityOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedEntityOutput_SdkV2) { } +func (c ServedEntityOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalModel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "external_model")...) + FoundationModel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "foundation_model")...) + ServedModelState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntityOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5458,6 +5652,13 @@ func (newState *ServedEntitySpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ServedEntitySpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedEntitySpec_SdkV2) { } +func (c ServedEntitySpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalModel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "external_model")...) + FoundationModel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "foundation_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntitySpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5610,6 +5811,14 @@ func (newState *ServedModelInput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ServedModelInput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedModelInput_SdkV2) { } +func (c ServedModelInput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "model_name")...) + cs.SetRequired(append(path, "model_version")...) + cs.SetRequired(append(path, "scale_to_zero_enabled")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5741,6 +5950,12 @@ func (newState *ServedModelOutput_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ServedModelOutput_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedModelOutput_SdkV2) { } +func (c ServedModelOutput_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServedModelState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5868,6 +6083,11 @@ func (newState *ServedModelSpec_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ServedModelSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedModelSpec_SdkV2) { } +func (c ServedModelSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5927,6 +6147,11 @@ func (newState *ServedModelState_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ServedModelState_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServedModelState_SdkV2) { } +func (c ServedModelState_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5972,6 +6197,12 @@ func (newState *ServerLogsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ServerLogsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServerLogsResponse_SdkV2) { } +func (c ServerLogsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "logs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServerLogsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6034,6 +6265,15 @@ func (newState *ServingEndpoint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ServingEndpoint_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpoint_SdkV2) { } +func (c ServingEndpoint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ai_gateway")...) + EndpointCoreConfigSummary_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + EndpointState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + EndpointTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6217,6 +6457,11 @@ func (newState *ServingEndpointAccessControlRequest_SdkV2) SyncEffectiveFieldsDu func (newState *ServingEndpointAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlRequest_SdkV2) { } +func (c ServingEndpointAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6273,6 +6518,12 @@ func (newState *ServingEndpointAccessControlResponse_SdkV2) SyncEffectiveFieldsD func (newState *ServingEndpointAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlResponse_SdkV2) { } +func (c ServingEndpointAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6384,6 +6635,17 @@ func (newState *ServingEndpointDetailed_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ServingEndpointDetailed_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointDetailed_SdkV2) { } +func (c ServingEndpointDetailed_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ai_gateway")...) + EndpointCoreConfigOutput_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + ModelDataPlaneInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_plane_info")...) + EndpointPendingConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pending_config")...) + EndpointState_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "state")...) + EndpointTag_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointDetailed. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6632,6 +6894,11 @@ func (newState *ServingEndpointPermission_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ServingEndpointPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermission_SdkV2) { } +func (c ServingEndpointPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6711,6 +6978,12 @@ func (newState *ServingEndpointPermissions_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ServingEndpointPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissions_SdkV2) { } +func (c ServingEndpointPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6788,6 +7061,11 @@ func (newState *ServingEndpointPermissionsDescription_SdkV2) SyncEffectiveFields func (newState *ServingEndpointPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsDescription_SdkV2) { } +func (c ServingEndpointPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6833,6 +7111,13 @@ func (newState *ServingEndpointPermissionsRequest_SdkV2) SyncEffectiveFieldsDuri func (newState *ServingEndpointPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsRequest_SdkV2) { } +func (c ServingEndpointPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "serving_endpoint_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6907,6 +7192,12 @@ func (newState *TrafficConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *TrafficConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState TrafficConfig_SdkV2) { } +func (c TrafficConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Route_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "routes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrafficConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6987,6 +7278,12 @@ func (newState *V1ResponseChoiceElement_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *V1ResponseChoiceElement_SdkV2) SyncEffectiveFieldsDuringRead(existingState V1ResponseChoiceElement_SdkV2) { } +func (c V1ResponseChoiceElement_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ChatMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "message")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in V1ResponseChoiceElement. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/serving_tf/model.go b/internal/service/serving_tf/model.go index f9bf0ddbb..1e6fd5655 100755 --- a/internal/service/serving_tf/model.go +++ b/internal/service/serving_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/oauth2_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -41,6 +42,11 @@ func (newState *Ai21LabsConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ai2 func (newState *Ai21LabsConfig) SyncEffectiveFieldsDuringRead(existingState Ai21LabsConfig) { } +func (c Ai21LabsConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Ai21LabsConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -96,6 +102,15 @@ func (newState *AiGatewayConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ai func (newState *AiGatewayConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayConfig) { } +func (c AiGatewayConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayGuardrails{}.ApplySchemaCustomizations(cs, append(path, "guardrails")...) + AiGatewayInferenceTableConfig{}.ApplySchemaCustomizations(cs, append(path, "inference_table_config")...) + AiGatewayRateLimit{}.ApplySchemaCustomizations(cs, append(path, "rate_limits")...) + AiGatewayUsageTrackingConfig{}.ApplySchemaCustomizations(cs, append(path, "usage_tracking_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -269,6 +284,12 @@ func (newState *AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringCreateOrU func (newState *AiGatewayGuardrailParameters) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailParameters) { } +func (c AiGatewayGuardrailParameters) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayGuardrailPiiBehavior{}.ApplySchemaCustomizations(cs, append(path, "pii")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrailParameters. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -410,6 +431,12 @@ func (newState *AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringCreateOr func (newState *AiGatewayGuardrailPiiBehavior) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrailPiiBehavior) { } +func (c AiGatewayGuardrailPiiBehavior) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "behavior")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrailPiiBehavior. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -454,6 +481,13 @@ func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringRead(existingState AiGatewayGuardrails) { } +func (c AiGatewayGuardrails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayGuardrailParameters{}.ApplySchemaCustomizations(cs, append(path, "input")...) + AiGatewayGuardrailParameters{}.ApplySchemaCustomizations(cs, append(path, "output")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayGuardrails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -568,6 +602,11 @@ func (newState *AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringCreateOr func (newState *AiGatewayInferenceTableConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayInferenceTableConfig) { } +func (c AiGatewayInferenceTableConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayInferenceTableConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -623,6 +662,13 @@ func (newState *AiGatewayRateLimit) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AiGatewayRateLimit) SyncEffectiveFieldsDuringRead(existingState AiGatewayRateLimit) { } +func (c AiGatewayRateLimit) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "calls")...) + cs.SetRequired(append(path, "renewal_period")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayRateLimit. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -669,6 +715,11 @@ func (newState *AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringCreateOrU func (newState *AiGatewayUsageTrackingConfig) SyncEffectiveFieldsDuringRead(existingState AiGatewayUsageTrackingConfig) { } +func (c AiGatewayUsageTrackingConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AiGatewayUsageTrackingConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -740,6 +791,13 @@ func (newState *AmazonBedrockConfig) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AmazonBedrockConfig) SyncEffectiveFieldsDuringRead(existingState AmazonBedrockConfig) { } +func (c AmazonBedrockConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aws_region")...) + cs.SetRequired(append(path, "bedrock_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AmazonBedrockConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -800,6 +858,11 @@ func (newState *AnthropicConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan An func (newState *AnthropicConfig) SyncEffectiveFieldsDuringRead(existingState AnthropicConfig) { } +func (c AnthropicConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AnthropicConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -853,6 +916,11 @@ func (newState *AutoCaptureConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *AutoCaptureConfigInput) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigInput) { } +func (c AutoCaptureConfigInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureConfigInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -909,6 +977,12 @@ func (newState *AutoCaptureConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AutoCaptureConfigOutput) SyncEffectiveFieldsDuringRead(existingState AutoCaptureConfigOutput) { } +func (c AutoCaptureConfigOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureConfigOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -988,6 +1062,12 @@ func (newState *AutoCaptureState) SyncEffectiveFieldsDuringCreateOrUpdate(plan A func (newState *AutoCaptureState) SyncEffectiveFieldsDuringRead(existingState AutoCaptureState) { } +func (c AutoCaptureState) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PayloadTable{}.ApplySchemaCustomizations(cs, append(path, "payload_table")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutoCaptureState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1059,12 +1139,6 @@ type BuildLogsRequest struct { ServedModelName types.String `tfsdk:"-"` } -func (newState *BuildLogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan BuildLogsRequest) { -} - -func (newState *BuildLogsRequest) SyncEffectiveFieldsDuringRead(existingState BuildLogsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in BuildLogsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1109,6 +1183,12 @@ func (newState *BuildLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *BuildLogsResponse) SyncEffectiveFieldsDuringRead(existingState BuildLogsResponse) { } +func (c BuildLogsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "logs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BuildLogsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1153,6 +1233,11 @@ func (newState *ChatMessage) SyncEffectiveFieldsDuringCreateOrUpdate(plan ChatMe func (newState *ChatMessage) SyncEffectiveFieldsDuringRead(existingState ChatMessage) { } +func (c ChatMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChatMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1208,6 +1293,11 @@ func (newState *CohereConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Coher func (newState *CohereConfig) SyncEffectiveFieldsDuringRead(existingState CohereConfig) { } +func (c CohereConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CohereConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1269,6 +1359,17 @@ func (newState *CreateServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateServingEndpoint) SyncEffectiveFieldsDuringRead(existingState CreateServingEndpoint) { } +func (c CreateServingEndpoint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayConfig{}.ApplySchemaCustomizations(cs, append(path, "ai_gateway")...) + cs.SetRequired(append(path, "config")...) + EndpointCoreConfigInput{}.ApplySchemaCustomizations(cs, append(path, "config")...) + cs.SetRequired(append(path, "name")...) + RateLimit{}.ApplySchemaCustomizations(cs, append(path, "rate_limits")...) + EndpointTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateServingEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1453,6 +1554,12 @@ func (newState *DatabricksModelServingConfig) SyncEffectiveFieldsDuringCreateOrU func (newState *DatabricksModelServingConfig) SyncEffectiveFieldsDuringRead(existingState DatabricksModelServingConfig) { } +func (c DatabricksModelServingConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "databricks_workspace_url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DatabricksModelServingConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1502,6 +1609,11 @@ func (newState *DataframeSplitInput) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *DataframeSplitInput) SyncEffectiveFieldsDuringRead(existingState DataframeSplitInput) { } +func (c DataframeSplitInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataframeSplitInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1628,12 +1740,6 @@ func (o *DataframeSplitInput) SetIndex(ctx context.Context, v []types.Int64) { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -1667,12 +1773,6 @@ type DeleteServingEndpointRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteServingEndpointRequest) { -} - -func (newState *DeleteServingEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteServingEndpointRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteServingEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1718,6 +1818,11 @@ func (newState *EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringC func (newState *EmbeddingsV1ResponseEmbeddingElement) SyncEffectiveFieldsDuringRead(existingState EmbeddingsV1ResponseEmbeddingElement) { } +func (c EmbeddingsV1ResponseEmbeddingElement) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingsV1ResponseEmbeddingElement. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1806,6 +1911,16 @@ func (newState *EndpointCoreConfigInput) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *EndpointCoreConfigInput) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigInput) { } +func (c EndpointCoreConfigInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureConfigInput{}.ApplySchemaCustomizations(cs, append(path, "auto_capture_config")...) + cs.SetRequired(append(path, "name")...) + ServedEntityInput{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelInput{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + TrafficConfig{}.ApplySchemaCustomizations(cs, append(path, "traffic_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1983,6 +2098,15 @@ func (newState *EndpointCoreConfigOutput) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *EndpointCoreConfigOutput) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigOutput) { } +func (c EndpointCoreConfigOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureConfigOutput{}.ApplySchemaCustomizations(cs, append(path, "auto_capture_config")...) + ServedEntityOutput{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelOutput{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + TrafficConfig{}.ApplySchemaCustomizations(cs, append(path, "traffic_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2153,6 +2277,13 @@ func (newState *EndpointCoreConfigSummary) SyncEffectiveFieldsDuringCreateOrUpda func (newState *EndpointCoreConfigSummary) SyncEffectiveFieldsDuringRead(existingState EndpointCoreConfigSummary) { } +func (c EndpointCoreConfigSummary) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServedEntitySpec{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelSpec{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointCoreConfigSummary. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2270,6 +2401,15 @@ func (newState *EndpointPendingConfig) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *EndpointPendingConfig) SyncEffectiveFieldsDuringRead(existingState EndpointPendingConfig) { } +func (c EndpointPendingConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AutoCaptureConfigOutput{}.ApplySchemaCustomizations(cs, append(path, "auto_capture_config")...) + ServedEntityOutput{}.ApplySchemaCustomizations(cs, append(path, "served_entities")...) + ServedModelOutput{}.ApplySchemaCustomizations(cs, append(path, "served_models")...) + TrafficConfig{}.ApplySchemaCustomizations(cs, append(path, "traffic_config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointPendingConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2448,6 +2588,11 @@ func (newState *EndpointState) SyncEffectiveFieldsDuringCreateOrUpdate(plan Endp func (newState *EndpointState) SyncEffectiveFieldsDuringRead(existingState EndpointState) { } +func (c EndpointState) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2494,6 +2639,12 @@ func (newState *EndpointTag) SyncEffectiveFieldsDuringCreateOrUpdate(plan Endpoi func (newState *EndpointTag) SyncEffectiveFieldsDuringRead(existingState EndpointTag) { } +func (c EndpointTag) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTag. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2534,12 +2685,6 @@ type ExportMetricsRequest struct { Name types.String `tfsdk:"-"` } -func (newState *ExportMetricsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsRequest) { -} - -func (newState *ExportMetricsRequest) SyncEffectiveFieldsDuringRead(existingState ExportMetricsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportMetricsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2575,12 +2720,6 @@ type ExportMetricsResponse struct { Contents types.Object `tfsdk:"-"` } -func (newState *ExportMetricsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportMetricsResponse) { -} - -func (newState *ExportMetricsResponse) SyncEffectiveFieldsDuringRead(existingState ExportMetricsResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportMetricsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2648,6 +2787,22 @@ func (newState *ExternalModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exte func (newState *ExternalModel) SyncEffectiveFieldsDuringRead(existingState ExternalModel) { } +func (c ExternalModel) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Ai21LabsConfig{}.ApplySchemaCustomizations(cs, append(path, "ai21labs_config")...) + AmazonBedrockConfig{}.ApplySchemaCustomizations(cs, append(path, "amazon_bedrock_config")...) + AnthropicConfig{}.ApplySchemaCustomizations(cs, append(path, "anthropic_config")...) + CohereConfig{}.ApplySchemaCustomizations(cs, append(path, "cohere_config")...) + DatabricksModelServingConfig{}.ApplySchemaCustomizations(cs, append(path, "databricks_model_serving_config")...) + GoogleCloudVertexAiConfig{}.ApplySchemaCustomizations(cs, append(path, "google_cloud_vertex_ai_config")...) + cs.SetRequired(append(path, "name")...) + OpenAiConfig{}.ApplySchemaCustomizations(cs, append(path, "openai_config")...) + PaLmConfig{}.ApplySchemaCustomizations(cs, append(path, "palm_config")...) + cs.SetRequired(append(path, "provider")...) + cs.SetRequired(append(path, "task")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalModel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2947,6 +3102,11 @@ func (newState *ExternalModelUsageElement) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ExternalModelUsageElement) SyncEffectiveFieldsDuringRead(existingState ExternalModelUsageElement) { } +func (c ExternalModelUsageElement) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalModelUsageElement. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2999,6 +3159,11 @@ func (newState *FoundationModel) SyncEffectiveFieldsDuringCreateOrUpdate(plan Fo func (newState *FoundationModel) SyncEffectiveFieldsDuringRead(existingState FoundationModel) { } +func (c FoundationModel) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FoundationModel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3043,12 +3208,6 @@ type GetOpenApiRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetOpenApiRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiRequest) { -} - -func (newState *GetOpenApiRequest) SyncEffectiveFieldsDuringRead(existingState GetOpenApiRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOpenApiRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3085,12 +3244,6 @@ func (o GetOpenApiRequest) Type(ctx context.Context) attr.Type { type GetOpenApiResponse struct { } -func (newState *GetOpenApiResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetOpenApiResponse) { -} - -func (newState *GetOpenApiResponse) SyncEffectiveFieldsDuringRead(existingState GetOpenApiResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetOpenApiResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3124,12 +3277,6 @@ type GetServingEndpointPermissionLevelsRequest struct { ServingEndpointId types.String `tfsdk:"-"` } -func (newState *GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionLevelsRequest) { -} - -func (newState *GetServingEndpointPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3172,6 +3319,12 @@ func (newState *GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsD func (newState *GetServingEndpointPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionLevelsResponse) { } +func (c GetServingEndpointPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3239,12 +3392,6 @@ type GetServingEndpointPermissionsRequest struct { ServingEndpointId types.String `tfsdk:"-"` } -func (newState *GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointPermissionsRequest) { -} - -func (newState *GetServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3282,12 +3429,6 @@ type GetServingEndpointRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetServingEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetServingEndpointRequest) { -} - -func (newState *GetServingEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetServingEndpointRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetServingEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3355,6 +3496,11 @@ func (newState *GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringCreateOrUpda func (newState *GoogleCloudVertexAiConfig) SyncEffectiveFieldsDuringRead(existingState GoogleCloudVertexAiConfig) { } +func (c GoogleCloudVertexAiConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GoogleCloudVertexAiConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3403,6 +3549,12 @@ func (newState *ListEndpointsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListEndpointsResponse) SyncEffectiveFieldsDuringRead(existingState ListEndpointsResponse) { } +func (c ListEndpointsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpoint{}.ApplySchemaCustomizations(cs, append(path, "endpoints")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3474,12 +3626,6 @@ type LogsRequest struct { ServedModelName types.String `tfsdk:"-"` } -func (newState *LogsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan LogsRequest) { -} - -func (newState *LogsRequest) SyncEffectiveFieldsDuringRead(existingState LogsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in LogsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3524,6 +3670,12 @@ func (newState *ModelDataPlaneInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ModelDataPlaneInfo) SyncEffectiveFieldsDuringRead(existingState ModelDataPlaneInfo) { } +func (c ModelDataPlaneInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + oauth2_tf.DataPlaneInfo{}.ApplySchemaCustomizations(cs, append(path, "query_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ModelDataPlaneInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3645,6 +3797,11 @@ func (newState *OpenAiConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan OpenA func (newState *OpenAiConfig) SyncEffectiveFieldsDuringRead(existingState OpenAiConfig) { } +func (c OpenAiConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OpenAiConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3715,6 +3872,11 @@ func (newState *PaLmConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan PaLmCon func (newState *PaLmConfig) SyncEffectiveFieldsDuringRead(existingState PaLmConfig) { } +func (c PaLmConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PaLmConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3764,6 +3926,13 @@ func (newState *PatchServingEndpointTags) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *PatchServingEndpointTags) SyncEffectiveFieldsDuringRead(existingState PatchServingEndpointTags) { } +func (c PatchServingEndpointTags) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointTag{}.ApplySchemaCustomizations(cs, append(path, "add_tags")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PatchServingEndpointTags. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3873,6 +4042,11 @@ func (newState *PayloadTable) SyncEffectiveFieldsDuringCreateOrUpdate(plan Paylo func (newState *PayloadTable) SyncEffectiveFieldsDuringRead(existingState PayloadTable) { } +func (c PayloadTable) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PayloadTable. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3928,12 +4102,6 @@ type PutAiGatewayRequest struct { UsageTrackingConfig types.Object `tfsdk:"usage_tracking_config" tf:"optional,object"` } -func (newState *PutAiGatewayRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayRequest) { -} - -func (newState *PutAiGatewayRequest) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAiGatewayRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4106,12 +4274,6 @@ type PutAiGatewayResponse struct { UsageTrackingConfig types.Object `tfsdk:"usage_tracking_config" tf:"optional,object"` } -func (newState *PutAiGatewayResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAiGatewayResponse) { -} - -func (newState *PutAiGatewayResponse) SyncEffectiveFieldsDuringRead(existingState PutAiGatewayResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAiGatewayResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4275,12 +4437,6 @@ type PutRequest struct { RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` } -func (newState *PutRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutRequest) { -} - -func (newState *PutRequest) SyncEffectiveFieldsDuringRead(existingState PutRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4349,12 +4505,6 @@ type PutResponse struct { RateLimits types.List `tfsdk:"rate_limits" tf:"optional"` } -func (newState *PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutResponse) { -} - -func (newState *PutResponse) SyncEffectiveFieldsDuringRead(existingState PutResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4474,6 +4624,14 @@ func (newState *QueryEndpointInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QueryEndpointInput) SyncEffectiveFieldsDuringRead(existingState QueryEndpointInput) { } +func (c QueryEndpointInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DataframeSplitInput{}.ApplySchemaCustomizations(cs, append(path, "dataframe_split")...) + ChatMessage{}.ApplySchemaCustomizations(cs, append(path, "messages")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEndpointInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4743,6 +4901,14 @@ func (newState *QueryEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *QueryEndpointResponse) SyncEffectiveFieldsDuringRead(existingState QueryEndpointResponse) { } +func (c QueryEndpointResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + V1ResponseChoiceElement{}.ApplySchemaCustomizations(cs, append(path, "choices")...) + EmbeddingsV1ResponseEmbeddingElement{}.ApplySchemaCustomizations(cs, append(path, "data")...) + ExternalModelUsageElement{}.ApplySchemaCustomizations(cs, append(path, "usage")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEndpointResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4926,6 +5092,13 @@ func (newState *RateLimit) SyncEffectiveFieldsDuringCreateOrUpdate(plan RateLimi func (newState *RateLimit) SyncEffectiveFieldsDuringRead(existingState RateLimit) { } +func (c RateLimit) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "calls")...) + cs.SetRequired(append(path, "renewal_period")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RateLimit. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4975,6 +5148,13 @@ func (newState *Route) SyncEffectiveFieldsDuringCreateOrUpdate(plan Route) { func (newState *Route) SyncEffectiveFieldsDuringRead(existingState Route) { } +func (c Route) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "served_model_name")...) + cs.SetRequired(append(path, "traffic_percentage")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Route. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5075,6 +5255,12 @@ func (newState *ServedEntityInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ServedEntityInput) SyncEffectiveFieldsDuringRead(existingState ServedEntityInput) { } +func (c ServedEntityInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalModel{}.ApplySchemaCustomizations(cs, append(path, "external_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntityInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5254,6 +5440,14 @@ func (newState *ServedEntityOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ServedEntityOutput) SyncEffectiveFieldsDuringRead(existingState ServedEntityOutput) { } +func (c ServedEntityOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalModel{}.ApplySchemaCustomizations(cs, append(path, "external_model")...) + FoundationModel{}.ApplySchemaCustomizations(cs, append(path, "foundation_model")...) + ServedModelState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntityOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5458,6 +5652,13 @@ func (newState *ServedEntitySpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *ServedEntitySpec) SyncEffectiveFieldsDuringRead(existingState ServedEntitySpec) { } +func (c ServedEntitySpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalModel{}.ApplySchemaCustomizations(cs, append(path, "external_model")...) + FoundationModel{}.ApplySchemaCustomizations(cs, append(path, "foundation_model")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedEntitySpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5610,6 +5811,14 @@ func (newState *ServedModelInput) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *ServedModelInput) SyncEffectiveFieldsDuringRead(existingState ServedModelInput) { } +func (c ServedModelInput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "model_name")...) + cs.SetRequired(append(path, "model_version")...) + cs.SetRequired(append(path, "scale_to_zero_enabled")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelInput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5741,6 +5950,12 @@ func (newState *ServedModelOutput) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ServedModelOutput) SyncEffectiveFieldsDuringRead(existingState ServedModelOutput) { } +func (c ServedModelOutput) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServedModelState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelOutput. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5868,6 +6083,11 @@ func (newState *ServedModelSpec) SyncEffectiveFieldsDuringCreateOrUpdate(plan Se func (newState *ServedModelSpec) SyncEffectiveFieldsDuringRead(existingState ServedModelSpec) { } +func (c ServedModelSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5927,6 +6147,11 @@ func (newState *ServedModelState) SyncEffectiveFieldsDuringCreateOrUpdate(plan S func (newState *ServedModelState) SyncEffectiveFieldsDuringRead(existingState ServedModelState) { } +func (c ServedModelState) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServedModelState. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5972,6 +6197,12 @@ func (newState *ServerLogsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ServerLogsResponse) SyncEffectiveFieldsDuringRead(existingState ServerLogsResponse) { } +func (c ServerLogsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "logs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServerLogsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6034,6 +6265,15 @@ func (newState *ServingEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan Se func (newState *ServingEndpoint) SyncEffectiveFieldsDuringRead(existingState ServingEndpoint) { } +func (c ServingEndpoint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayConfig{}.ApplySchemaCustomizations(cs, append(path, "ai_gateway")...) + EndpointCoreConfigSummary{}.ApplySchemaCustomizations(cs, append(path, "config")...) + EndpointState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + EndpointTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6217,6 +6457,11 @@ func (newState *ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringCr func (newState *ServingEndpointAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlRequest) { } +func (c ServingEndpointAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6273,6 +6518,12 @@ func (newState *ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringC func (newState *ServingEndpointAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState ServingEndpointAccessControlResponse) { } +func (c ServingEndpointAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6384,6 +6635,17 @@ func (newState *ServingEndpointDetailed) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ServingEndpointDetailed) SyncEffectiveFieldsDuringRead(existingState ServingEndpointDetailed) { } +func (c ServingEndpointDetailed) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AiGatewayConfig{}.ApplySchemaCustomizations(cs, append(path, "ai_gateway")...) + EndpointCoreConfigOutput{}.ApplySchemaCustomizations(cs, append(path, "config")...) + ModelDataPlaneInfo{}.ApplySchemaCustomizations(cs, append(path, "data_plane_info")...) + EndpointPendingConfig{}.ApplySchemaCustomizations(cs, append(path, "pending_config")...) + EndpointState{}.ApplySchemaCustomizations(cs, append(path, "state")...) + EndpointTag{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointDetailed. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6632,6 +6894,11 @@ func (newState *ServingEndpointPermission) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ServingEndpointPermission) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermission) { } +func (c ServingEndpointPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6711,6 +6978,12 @@ func (newState *ServingEndpointPermissions) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ServingEndpointPermissions) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissions) { } +func (c ServingEndpointPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6788,6 +7061,11 @@ func (newState *ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuring func (newState *ServingEndpointPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsDescription) { } +func (c ServingEndpointPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6833,6 +7111,13 @@ func (newState *ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringCrea func (newState *ServingEndpointPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState ServingEndpointPermissionsRequest) { } +func (c ServingEndpointPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServingEndpointAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "serving_endpoint_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServingEndpointPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6907,6 +7192,12 @@ func (newState *TrafficConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Traf func (newState *TrafficConfig) SyncEffectiveFieldsDuringRead(existingState TrafficConfig) { } +func (c TrafficConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Route{}.ApplySchemaCustomizations(cs, append(path, "routes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrafficConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6987,6 +7278,12 @@ func (newState *V1ResponseChoiceElement) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *V1ResponseChoiceElement) SyncEffectiveFieldsDuringRead(existingState V1ResponseChoiceElement) { } +func (c V1ResponseChoiceElement) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ChatMessage{}.ApplySchemaCustomizations(cs, append(path, "message")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in V1ResponseChoiceElement. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/settings_tf/legacy_model.go b/internal/service/settings_tf/legacy_model.go index 15b2e7a38..23ffc3960 100755 --- a/internal/service/settings_tf/legacy_model.go +++ b/internal/service/settings_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -31,6 +32,12 @@ func (newState *AibiDashboardEmbeddingAccessPolicy_SdkV2) SyncEffectiveFieldsDur func (newState *AibiDashboardEmbeddingAccessPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingAccessPolicy_SdkV2) { } +func (c AibiDashboardEmbeddingAccessPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_policy_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingAccessPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -86,6 +93,13 @@ func (newState *AibiDashboardEmbeddingAccessPolicySetting_SdkV2) SyncEffectiveFi func (newState *AibiDashboardEmbeddingAccessPolicySetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingAccessPolicySetting_SdkV2) { } +func (c AibiDashboardEmbeddingAccessPolicySetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aibi_dashboard_embedding_access_policy")...) + AibiDashboardEmbeddingAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aibi_dashboard_embedding_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingAccessPolicySetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -161,6 +175,11 @@ func (newState *AibiDashboardEmbeddingApprovedDomains_SdkV2) SyncEffectiveFields func (newState *AibiDashboardEmbeddingApprovedDomains_SdkV2) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingApprovedDomains_SdkV2) { } +func (c AibiDashboardEmbeddingApprovedDomains_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingApprovedDomains. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -246,6 +265,13 @@ func (newState *AibiDashboardEmbeddingApprovedDomainsSetting_SdkV2) SyncEffectiv func (newState *AibiDashboardEmbeddingApprovedDomainsSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingApprovedDomainsSetting_SdkV2) { } +func (c AibiDashboardEmbeddingApprovedDomainsSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aibi_dashboard_embedding_approved_domains")...) + AibiDashboardEmbeddingApprovedDomains_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aibi_dashboard_embedding_approved_domains")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingApprovedDomainsSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -335,6 +361,13 @@ func (newState *AutomaticClusterUpdateSetting_SdkV2) SyncEffectiveFieldsDuringCr func (newState *AutomaticClusterUpdateSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState AutomaticClusterUpdateSetting_SdkV2) { } +func (c AutomaticClusterUpdateSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "automatic_cluster_update_workspace")...) + ClusterAutoRestartMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "automatic_cluster_update_workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutomaticClusterUpdateSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -410,6 +443,11 @@ func (newState *BooleanMessage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *BooleanMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState BooleanMessage_SdkV2) { } +func (c BooleanMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BooleanMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -464,6 +502,13 @@ func (newState *ClusterAutoRestartMessage_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ClusterAutoRestartMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessage_SdkV2) { } +func (c ClusterAutoRestartMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAutoRestartMessageEnablementDetails_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "enablement_details")...) + ClusterAutoRestartMessageMaintenanceWindow_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "maintenance_window")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -584,6 +629,11 @@ func (newState *ClusterAutoRestartMessageEnablementDetails_SdkV2) SyncEffectiveF func (newState *ClusterAutoRestartMessageEnablementDetails_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageEnablementDetails_SdkV2) { } +func (c ClusterAutoRestartMessageEnablementDetails_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageEnablementDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -629,6 +679,12 @@ func (newState *ClusterAutoRestartMessageMaintenanceWindow_SdkV2) SyncEffectiveF func (newState *ClusterAutoRestartMessageMaintenanceWindow_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageMaintenanceWindow_SdkV2) { } +func (c ClusterAutoRestartMessageMaintenanceWindow_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "week_day_based_schedule")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageMaintenanceWindow. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -704,6 +760,12 @@ func (newState *ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule_S func (newState *ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule_SdkV2) { } +func (c ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAutoRestartMessageMaintenanceWindowWindowStartTime_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "window_start_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -781,6 +843,11 @@ func (newState *ClusterAutoRestartMessageMaintenanceWindowWindowStartTime_SdkV2) func (newState *ClusterAutoRestartMessageMaintenanceWindowWindowStartTime_SdkV2) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageMaintenanceWindowWindowStartTime_SdkV2) { } +func (c ClusterAutoRestartMessageMaintenanceWindowWindowStartTime_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageMaintenanceWindowWindowStartTime. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -828,6 +895,11 @@ func (newState *ComplianceSecurityProfile_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ComplianceSecurityProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState ComplianceSecurityProfile_SdkV2) { } +func (c ComplianceSecurityProfile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplianceSecurityProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -916,6 +988,13 @@ func (newState *ComplianceSecurityProfileSetting_SdkV2) SyncEffectiveFieldsDurin func (newState *ComplianceSecurityProfileSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState ComplianceSecurityProfileSetting_SdkV2) { } +func (c ComplianceSecurityProfileSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "compliance_security_profile_workspace")...) + ComplianceSecurityProfile_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "compliance_security_profile_workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplianceSecurityProfileSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -999,6 +1078,16 @@ func (newState *Config_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Confi func (newState *Config_SdkV2) SyncEffectiveFieldsDuringRead(existingState Config_SdkV2) { } +func (c Config_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmailConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "email")...) + GenericWebhookConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "generic_webhook")...) + MicrosoftTeamsConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "microsoft_teams")...) + PagerdutyConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "pagerduty")...) + SlackConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "slack")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Config. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1204,6 +1293,13 @@ func (newState *CreateIpAccessList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateIpAccessList_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateIpAccessList_SdkV2) { } +func (c CreateIpAccessList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "label")...) + cs.SetRequired(append(path, "list_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateIpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1281,6 +1377,12 @@ func (newState *CreateIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CreateIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateIpAccessListResponse_SdkV2) { } +func (c CreateIpAccessListResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1360,6 +1462,13 @@ func (newState *CreateNetworkConnectivityConfigRequest_SdkV2) SyncEffectiveField func (newState *CreateNetworkConnectivityConfigRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateNetworkConnectivityConfigRequest_SdkV2) { } +func (c CreateNetworkConnectivityConfigRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "region")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateNetworkConnectivityConfigRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1407,6 +1516,12 @@ func (newState *CreateNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsD func (newState *CreateNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateNotificationDestinationRequest_SdkV2) { } +func (c CreateNotificationDestinationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Config_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1486,6 +1601,12 @@ func (newState *CreateOboTokenRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *CreateOboTokenRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateOboTokenRequest_SdkV2) { } +func (c CreateOboTokenRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "application_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateOboTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1534,6 +1655,12 @@ func (newState *CreateOboTokenResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateOboTokenResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateOboTokenResponse_SdkV2) { } +func (c CreateOboTokenResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateOboTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1614,6 +1741,14 @@ func (newState *CreatePrivateEndpointRuleRequest_SdkV2) SyncEffectiveFieldsDurin func (newState *CreatePrivateEndpointRuleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreatePrivateEndpointRuleRequest_SdkV2) { } +func (c CreatePrivateEndpointRuleRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "group_id")...) + cs.SetRequired(append(path, "network_connectivity_config_id")...) + cs.SetRequired(append(path, "resource_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePrivateEndpointRuleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1664,6 +1799,11 @@ func (newState *CreateTokenRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateTokenRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateTokenRequest_SdkV2) { } +func (c CreateTokenRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1710,6 +1850,12 @@ func (newState *CreateTokenResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateTokenResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateTokenResponse_SdkV2) { } +func (c CreateTokenResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PublicTokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1788,6 +1934,11 @@ func (newState *CspEnablementAccount_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CspEnablementAccount_SdkV2) SyncEffectiveFieldsDuringRead(existingState CspEnablementAccount_SdkV2) { } +func (c CspEnablementAccount_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CspEnablementAccount. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1876,6 +2027,13 @@ func (newState *CspEnablementAccountSetting_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *CspEnablementAccountSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState CspEnablementAccountSetting_SdkV2) { } +func (c CspEnablementAccountSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "csp_enablement_account")...) + CspEnablementAccount_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "csp_enablement_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CspEnablementAccountSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1975,6 +2133,13 @@ func (newState *DefaultNamespaceSetting_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *DefaultNamespaceSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState DefaultNamespaceSetting_SdkV2) { } +func (c DefaultNamespaceSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "namespace")...) + StringMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "namespace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DefaultNamespaceSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2046,12 +2211,6 @@ type DeleteAccountIpAccessListRequest_SdkV2 struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *DeleteAccountIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountIpAccessListRequest_SdkV2) { -} - -func (newState *DeleteAccountIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAccountIpAccessListRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2095,12 +2254,6 @@ type DeleteAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) { -} - -func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingAccessPolicySettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2150,6 +2303,12 @@ func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingResponse_SdkV2) S func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingAccessPolicySettingResponse_SdkV2) { } +func (c DeleteAibiDashboardEmbeddingAccessPolicySettingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingAccessPolicySettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2193,12 +2352,6 @@ type DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) { -} - -func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2248,6 +2401,12 @@ func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse_SdkV2 func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse_SdkV2) { } +func (c DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2291,12 +2450,6 @@ type DeleteDefaultNamespaceSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDefaultNamespaceSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDefaultNamespaceSettingRequest_SdkV2) { -} - -func (newState *DeleteDefaultNamespaceSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDefaultNamespaceSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDefaultNamespaceSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2346,6 +2499,12 @@ func (newState *DeleteDefaultNamespaceSettingResponse_SdkV2) SyncEffectiveFields func (newState *DeleteDefaultNamespaceSettingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDefaultNamespaceSettingResponse_SdkV2) { } +func (c DeleteDefaultNamespaceSettingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDefaultNamespaceSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2389,12 +2548,6 @@ type DeleteDisableLegacyAccessRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDisableLegacyAccessRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDisableLegacyAccessRequest_SdkV2) { -} - -func (newState *DeleteDisableLegacyAccessRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyAccessRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyAccessRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2444,6 +2597,12 @@ func (newState *DeleteDisableLegacyAccessResponse_SdkV2) SyncEffectiveFieldsDuri func (newState *DeleteDisableLegacyAccessResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyAccessResponse_SdkV2) { } +func (c DeleteDisableLegacyAccessResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyAccessResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2487,12 +2646,6 @@ type DeleteDisableLegacyDbfsRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDisableLegacyDbfsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDisableLegacyDbfsRequest_SdkV2) { -} - -func (newState *DeleteDisableLegacyDbfsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyDbfsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2542,6 +2695,12 @@ func (newState *DeleteDisableLegacyDbfsResponse_SdkV2) SyncEffectiveFieldsDuring func (newState *DeleteDisableLegacyDbfsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyDbfsResponse_SdkV2) { } +func (c DeleteDisableLegacyDbfsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyDbfsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2585,12 +2744,6 @@ type DeleteDisableLegacyFeaturesRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDisableLegacyFeaturesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDisableLegacyFeaturesRequest_SdkV2) { -} - -func (newState *DeleteDisableLegacyFeaturesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyFeaturesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyFeaturesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2640,6 +2793,12 @@ func (newState *DeleteDisableLegacyFeaturesResponse_SdkV2) SyncEffectiveFieldsDu func (newState *DeleteDisableLegacyFeaturesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyFeaturesResponse_SdkV2) { } +func (c DeleteDisableLegacyFeaturesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyFeaturesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2677,12 +2836,6 @@ type DeleteIpAccessListRequest_SdkV2 struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *DeleteIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIpAccessListRequest_SdkV2) { -} - -func (newState *DeleteIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteIpAccessListRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2720,12 +2873,6 @@ type DeleteNetworkConnectivityConfigurationRequest_SdkV2 struct { NetworkConnectivityConfigId types.String `tfsdk:"-"` } -func (newState *DeleteNetworkConnectivityConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkConnectivityConfigurationRequest_SdkV2) { -} - -func (newState *DeleteNetworkConnectivityConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkConnectivityConfigurationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteNetworkConnectivityConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2760,12 +2907,6 @@ func (o DeleteNetworkConnectivityConfigurationRequest_SdkV2) Type(ctx context.Co type DeleteNetworkConnectivityConfigurationResponse_SdkV2 struct { } -func (newState *DeleteNetworkConnectivityConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkConnectivityConfigurationResponse_SdkV2) { -} - -func (newState *DeleteNetworkConnectivityConfigurationResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkConnectivityConfigurationResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteNetworkConnectivityConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2798,12 +2939,6 @@ type DeleteNotificationDestinationRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNotificationDestinationRequest_SdkV2) { -} - -func (newState *DeleteNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteNotificationDestinationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2847,12 +2982,6 @@ type DeletePersonalComputeSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeletePersonalComputeSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePersonalComputeSettingRequest_SdkV2) { -} - -func (newState *DeletePersonalComputeSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePersonalComputeSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePersonalComputeSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2902,6 +3031,12 @@ func (newState *DeletePersonalComputeSettingResponse_SdkV2) SyncEffectiveFieldsD func (newState *DeletePersonalComputeSettingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePersonalComputeSettingResponse_SdkV2) { } +func (c DeletePersonalComputeSettingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePersonalComputeSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2941,12 +3076,6 @@ type DeletePrivateEndpointRuleRequest_SdkV2 struct { PrivateEndpointRuleId types.String `tfsdk:"-"` } -func (newState *DeletePrivateEndpointRuleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePrivateEndpointRuleRequest_SdkV2) { -} - -func (newState *DeletePrivateEndpointRuleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeletePrivateEndpointRuleRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePrivateEndpointRuleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2983,12 +3112,6 @@ func (o DeletePrivateEndpointRuleRequest_SdkV2) Type(ctx context.Context) attr.T type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -3028,12 +3151,6 @@ type DeleteRestrictWorkspaceAdminsSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteRestrictWorkspaceAdminsSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRestrictWorkspaceAdminsSettingRequest_SdkV2) { -} - -func (newState *DeleteRestrictWorkspaceAdminsSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRestrictWorkspaceAdminsSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRestrictWorkspaceAdminsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3083,6 +3200,12 @@ func (newState *DeleteRestrictWorkspaceAdminsSettingResponse_SdkV2) SyncEffectiv func (newState *DeleteRestrictWorkspaceAdminsSettingResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRestrictWorkspaceAdminsSettingResponse_SdkV2) { } +func (c DeleteRestrictWorkspaceAdminsSettingResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRestrictWorkspaceAdminsSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3120,12 +3243,6 @@ type DeleteTokenManagementRequest_SdkV2 struct { TokenId types.String `tfsdk:"-"` } -func (newState *DeleteTokenManagementRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTokenManagementRequest_SdkV2) { -} - -func (newState *DeleteTokenManagementRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteTokenManagementRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTokenManagementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3181,6 +3298,13 @@ func (newState *DisableLegacyAccess_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *DisableLegacyAccess_SdkV2) SyncEffectiveFieldsDuringRead(existingState DisableLegacyAccess_SdkV2) { } +func (c DisableLegacyAccess_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "disable_legacy_access")...) + BooleanMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disable_legacy_access")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableLegacyAccess. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3270,6 +3394,13 @@ func (newState *DisableLegacyDbfs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *DisableLegacyDbfs_SdkV2) SyncEffectiveFieldsDuringRead(existingState DisableLegacyDbfs_SdkV2) { } +func (c DisableLegacyDbfs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "disable_legacy_dbfs")...) + BooleanMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disable_legacy_dbfs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableLegacyDbfs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3359,6 +3490,13 @@ func (newState *DisableLegacyFeatures_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *DisableLegacyFeatures_SdkV2) SyncEffectiveFieldsDuringRead(existingState DisableLegacyFeatures_SdkV2) { } +func (c DisableLegacyFeatures_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "disable_legacy_features")...) + BooleanMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "disable_legacy_features")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableLegacyFeatures. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3439,6 +3577,12 @@ func (newState *EgressNetworkPolicy_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *EgressNetworkPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicy_SdkV2) { } +func (c EgressNetworkPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EgressNetworkPolicyInternetAccessPolicy_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "internet_access")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3522,6 +3666,14 @@ func (newState *EgressNetworkPolicyInternetAccessPolicy_SdkV2) SyncEffectiveFiel func (newState *EgressNetworkPolicyInternetAccessPolicy_SdkV2) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicy_SdkV2) { } +func (c EgressNetworkPolicyInternetAccessPolicy_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EgressNetworkPolicyInternetAccessPolicyInternetDestination_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "allowed_internet_destinations")...) + EgressNetworkPolicyInternetAccessPolicyStorageDestination_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "allowed_storage_destinations")...) + EgressNetworkPolicyInternetAccessPolicyLogOnlyMode_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "log_only_mode")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3668,6 +3820,11 @@ func (newState *EgressNetworkPolicyInternetAccessPolicyInternetDestination_SdkV2 func (newState *EgressNetworkPolicyInternetAccessPolicyInternetDestination_SdkV2) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicyInternetDestination_SdkV2) { } +func (c EgressNetworkPolicyInternetAccessPolicyInternetDestination_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicyInternetDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3715,6 +3872,11 @@ func (newState *EgressNetworkPolicyInternetAccessPolicyLogOnlyMode_SdkV2) SyncEf func (newState *EgressNetworkPolicyInternetAccessPolicyLogOnlyMode_SdkV2) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicyLogOnlyMode_SdkV2) { } +func (c EgressNetworkPolicyInternetAccessPolicyLogOnlyMode_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicyLogOnlyMode. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3803,6 +3965,11 @@ func (newState *EgressNetworkPolicyInternetAccessPolicyStorageDestination_SdkV2) func (newState *EgressNetworkPolicyInternetAccessPolicyStorageDestination_SdkV2) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicyStorageDestination_SdkV2) { } +func (c EgressNetworkPolicyInternetAccessPolicyStorageDestination_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicyStorageDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3889,6 +4056,11 @@ func (newState *EmailConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EmailConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState EmailConfig_SdkV2) { } +func (c EmailConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmailConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3959,6 +4131,11 @@ func (newState *Empty_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Empty_ func (newState *Empty_SdkV2) SyncEffectiveFieldsDuringRead(existingState Empty_SdkV2) { } +func (c Empty_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Empty. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3997,6 +4174,11 @@ func (newState *EnhancedSecurityMonitoring_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *EnhancedSecurityMonitoring_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnhancedSecurityMonitoring_SdkV2) { } +func (c EnhancedSecurityMonitoring_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnhancedSecurityMonitoring. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4053,6 +4235,13 @@ func (newState *EnhancedSecurityMonitoringSetting_SdkV2) SyncEffectiveFieldsDuri func (newState *EnhancedSecurityMonitoringSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnhancedSecurityMonitoringSetting_SdkV2) { } +func (c EnhancedSecurityMonitoringSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "enhanced_security_monitoring_workspace")...) + EnhancedSecurityMonitoring_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "enhanced_security_monitoring_workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnhancedSecurityMonitoringSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4129,6 +4318,11 @@ func (newState *EsmEnablementAccount_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *EsmEnablementAccount_SdkV2) SyncEffectiveFieldsDuringRead(existingState EsmEnablementAccount_SdkV2) { } +func (c EsmEnablementAccount_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EsmEnablementAccount. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4185,6 +4379,13 @@ func (newState *EsmEnablementAccountSetting_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *EsmEnablementAccountSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState EsmEnablementAccountSetting_SdkV2) { } +func (c EsmEnablementAccountSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "esm_enablement_account")...) + EsmEnablementAccount_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "esm_enablement_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EsmEnablementAccountSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4271,6 +4472,11 @@ func (newState *ExchangeToken_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ExchangeToken_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExchangeToken_SdkV2) { } +func (c ExchangeToken_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4356,6 +4562,15 @@ func (newState *ExchangeTokenRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ExchangeTokenRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExchangeTokenRequest_SdkV2) { } +func (c ExchangeTokenRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "partitionId")...) + PartitionId_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "partitionId")...) + cs.SetRequired(append(path, "scopes")...) + cs.SetRequired(append(path, "tokenType")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4490,6 +4705,12 @@ func (newState *ExchangeTokenResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ExchangeTokenResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExchangeTokenResponse_SdkV2) { } +func (c ExchangeTokenResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeToken_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "values")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4563,6 +4784,12 @@ func (newState *FetchIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *FetchIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState FetchIpAccessListResponse_SdkV2) { } +func (c FetchIpAccessListResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FetchIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4645,6 +4872,11 @@ func (newState *GenericWebhookConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *GenericWebhookConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState GenericWebhookConfig_SdkV2) { } +func (c GenericWebhookConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenericWebhookConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4692,12 +4924,6 @@ type GetAccountIpAccessListRequest_SdkV2 struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *GetAccountIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountIpAccessListRequest_SdkV2) { -} - -func (newState *GetAccountIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAccountIpAccessListRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4741,12 +4967,6 @@ type GetAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) { -} - -func (newState *GetAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAibiDashboardEmbeddingAccessPolicySettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4790,12 +5010,6 @@ type GetAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) { -} - -func (newState *GetAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAibiDashboardEmbeddingApprovedDomainsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4839,12 +5053,6 @@ type GetAutomaticClusterUpdateSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetAutomaticClusterUpdateSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAutomaticClusterUpdateSettingRequest_SdkV2) { -} - -func (newState *GetAutomaticClusterUpdateSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAutomaticClusterUpdateSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAutomaticClusterUpdateSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4888,12 +5096,6 @@ type GetComplianceSecurityProfileSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetComplianceSecurityProfileSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetComplianceSecurityProfileSettingRequest_SdkV2) { -} - -func (newState *GetComplianceSecurityProfileSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetComplianceSecurityProfileSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetComplianceSecurityProfileSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4937,12 +5139,6 @@ type GetCspEnablementAccountSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetCspEnablementAccountSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCspEnablementAccountSettingRequest_SdkV2) { -} - -func (newState *GetCspEnablementAccountSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCspEnablementAccountSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCspEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4986,12 +5182,6 @@ type GetDefaultNamespaceSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDefaultNamespaceSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDefaultNamespaceSettingRequest_SdkV2) { -} - -func (newState *GetDefaultNamespaceSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDefaultNamespaceSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDefaultNamespaceSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5035,12 +5225,6 @@ type GetDisableLegacyAccessRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDisableLegacyAccessRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDisableLegacyAccessRequest_SdkV2) { -} - -func (newState *GetDisableLegacyAccessRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDisableLegacyAccessRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDisableLegacyAccessRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5084,12 +5268,6 @@ type GetDisableLegacyDbfsRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDisableLegacyDbfsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDisableLegacyDbfsRequest_SdkV2) { -} - -func (newState *GetDisableLegacyDbfsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDisableLegacyDbfsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDisableLegacyDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5133,12 +5311,6 @@ type GetDisableLegacyFeaturesRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDisableLegacyFeaturesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDisableLegacyFeaturesRequest_SdkV2) { -} - -func (newState *GetDisableLegacyFeaturesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDisableLegacyFeaturesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDisableLegacyFeaturesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5182,12 +5354,6 @@ type GetEnhancedSecurityMonitoringSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetEnhancedSecurityMonitoringSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEnhancedSecurityMonitoringSettingRequest_SdkV2) { -} - -func (newState *GetEnhancedSecurityMonitoringSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEnhancedSecurityMonitoringSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEnhancedSecurityMonitoringSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5231,12 +5397,6 @@ type GetEsmEnablementAccountSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetEsmEnablementAccountSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEsmEnablementAccountSettingRequest_SdkV2) { -} - -func (newState *GetEsmEnablementAccountSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEsmEnablementAccountSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEsmEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5274,12 +5434,6 @@ type GetIpAccessListRequest_SdkV2 struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *GetIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetIpAccessListRequest_SdkV2) { -} - -func (newState *GetIpAccessListRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetIpAccessListRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5322,6 +5476,12 @@ func (newState *GetIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *GetIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetIpAccessListResponse_SdkV2) { } +func (c GetIpAccessListResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5394,6 +5554,12 @@ func (newState *GetIpAccessListsResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *GetIpAccessListsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetIpAccessListsResponse_SdkV2) { } +func (c GetIpAccessListsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_lists")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIpAccessListsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5461,12 +5627,6 @@ type GetNetworkConnectivityConfigurationRequest_SdkV2 struct { NetworkConnectivityConfigId types.String `tfsdk:"-"` } -func (newState *GetNetworkConnectivityConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNetworkConnectivityConfigurationRequest_SdkV2) { -} - -func (newState *GetNetworkConnectivityConfigurationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetNetworkConnectivityConfigurationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetNetworkConnectivityConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5503,12 +5663,6 @@ type GetNotificationDestinationRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNotificationDestinationRequest_SdkV2) { -} - -func (newState *GetNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetNotificationDestinationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5552,12 +5706,6 @@ type GetPersonalComputeSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetPersonalComputeSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPersonalComputeSettingRequest_SdkV2) { -} - -func (newState *GetPersonalComputeSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPersonalComputeSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPersonalComputeSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5597,12 +5745,6 @@ type GetPrivateEndpointRuleRequest_SdkV2 struct { PrivateEndpointRuleId types.String `tfsdk:"-"` } -func (newState *GetPrivateEndpointRuleRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPrivateEndpointRuleRequest_SdkV2) { -} - -func (newState *GetPrivateEndpointRuleRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetPrivateEndpointRuleRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPrivateEndpointRuleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5648,12 +5790,6 @@ type GetRestrictWorkspaceAdminsSettingRequest_SdkV2 struct { Etag types.String `tfsdk:"-"` } -func (newState *GetRestrictWorkspaceAdminsSettingRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRestrictWorkspaceAdminsSettingRequest_SdkV2) { -} - -func (newState *GetRestrictWorkspaceAdminsSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRestrictWorkspaceAdminsSettingRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRestrictWorkspaceAdminsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5690,12 +5826,6 @@ type GetStatusRequest_SdkV2 struct { Keys types.String `tfsdk:"-"` } -func (newState *GetStatusRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest_SdkV2) { -} - -func (newState *GetStatusRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5733,12 +5863,6 @@ type GetTokenManagementRequest_SdkV2 struct { TokenId types.String `tfsdk:"-"` } -func (newState *GetTokenManagementRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetTokenManagementRequest_SdkV2) { -} - -func (newState *GetTokenManagementRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetTokenManagementRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTokenManagementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5781,6 +5905,12 @@ func (newState *GetTokenPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDurin func (newState *GetTokenPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetTokenPermissionLevelsResponse_SdkV2) { } +func (c GetTokenPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTokenPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5853,6 +5983,12 @@ func (newState *GetTokenResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *GetTokenResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetTokenResponse_SdkV2) { } +func (c GetTokenResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5949,6 +6085,11 @@ func (newState *IpAccessListInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *IpAccessListInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState IpAccessListInfo_SdkV2) { } +func (c IpAccessListInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IpAccessListInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6039,6 +6180,12 @@ func (newState *ListIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ListIpAccessListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListIpAccessListResponse_SdkV2) { } +func (c ListIpAccessListResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_lists")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6113,6 +6260,12 @@ func (newState *ListNccAzurePrivateEndpointRulesResponse_SdkV2) SyncEffectiveFie func (newState *ListNccAzurePrivateEndpointRulesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNccAzurePrivateEndpointRulesResponse_SdkV2) { } +func (c ListNccAzurePrivateEndpointRulesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NccAzurePrivateEndpointRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "items")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNccAzurePrivateEndpointRulesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6182,12 +6335,6 @@ type ListNetworkConnectivityConfigurationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListNetworkConnectivityConfigurationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNetworkConnectivityConfigurationsRequest_SdkV2) { -} - -func (newState *ListNetworkConnectivityConfigurationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNetworkConnectivityConfigurationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNetworkConnectivityConfigurationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6232,6 +6379,12 @@ func (newState *ListNetworkConnectivityConfigurationsResponse_SdkV2) SyncEffecti func (newState *ListNetworkConnectivityConfigurationsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNetworkConnectivityConfigurationsResponse_SdkV2) { } +func (c ListNetworkConnectivityConfigurationsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NetworkConnectivityConfiguration_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "items")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNetworkConnectivityConfigurationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6302,12 +6455,6 @@ type ListNotificationDestinationsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListNotificationDestinationsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNotificationDestinationsRequest_SdkV2) { -} - -func (newState *ListNotificationDestinationsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNotificationDestinationsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNotificationDestinationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6354,6 +6501,12 @@ func (newState *ListNotificationDestinationsResponse_SdkV2) SyncEffectiveFieldsD func (newState *ListNotificationDestinationsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNotificationDestinationsResponse_SdkV2) { } +func (c ListNotificationDestinationsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListNotificationDestinationsResult_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNotificationDestinationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6433,6 +6586,11 @@ func (newState *ListNotificationDestinationsResult_SdkV2) SyncEffectiveFieldsDur func (newState *ListNotificationDestinationsResult_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListNotificationDestinationsResult_SdkV2) { } +func (c ListNotificationDestinationsResult_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNotificationDestinationsResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6476,12 +6634,6 @@ type ListPrivateEndpointRulesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPrivateEndpointRulesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPrivateEndpointRulesRequest_SdkV2) { -} - -func (newState *ListPrivateEndpointRulesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPrivateEndpointRulesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPrivateEndpointRulesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6526,6 +6678,12 @@ func (newState *ListPublicTokensResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ListPublicTokensResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListPublicTokensResponse_SdkV2) { } +func (c ListPublicTokensResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PublicTokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_infos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPublicTokensResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6595,12 +6753,6 @@ type ListTokenManagementRequest_SdkV2 struct { CreatedByUsername types.String `tfsdk:"-"` } -func (newState *ListTokenManagementRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTokenManagementRequest_SdkV2) { -} - -func (newState *ListTokenManagementRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTokenManagementRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTokenManagementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6646,6 +6798,12 @@ func (newState *ListTokensResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListTokensResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListTokensResponse_SdkV2) { } +func (c ListTokensResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "token_infos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTokensResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6720,6 +6878,11 @@ func (newState *MicrosoftTeamsConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *MicrosoftTeamsConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState MicrosoftTeamsConfig_SdkV2) { } +func (c MicrosoftTeamsConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MicrosoftTeamsConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6767,6 +6930,11 @@ func (newState *NccAwsStableIpRule_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *NccAwsStableIpRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState NccAwsStableIpRule_SdkV2) { } +func (c NccAwsStableIpRule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccAwsStableIpRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6872,6 +7040,17 @@ func (newState *NccAzurePrivateEndpointRule_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *NccAzurePrivateEndpointRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState NccAzurePrivateEndpointRule_SdkV2) { } +func (c NccAzurePrivateEndpointRule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "creation_time")...) + cs.SetComputed(append(path, "deactivated")...) + cs.SetComputed(append(path, "deactivated_at")...) + cs.SetComputed(append(path, "endpoint_name")...) + cs.SetComputed(append(path, "rule_id")...) + cs.SetComputed(append(path, "updated_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccAzurePrivateEndpointRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6940,6 +7119,11 @@ func (newState *NccAzureServiceEndpointRule_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *NccAzureServiceEndpointRule_SdkV2) SyncEffectiveFieldsDuringRead(existingState NccAzureServiceEndpointRule_SdkV2) { } +func (c NccAzureServiceEndpointRule_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccAzureServiceEndpointRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7052,6 +7236,14 @@ func (newState *NccEgressConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *NccEgressConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState NccEgressConfig_SdkV2) { } +func (c NccEgressConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "default_rules")...) + NccEgressDefaultRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "default_rules")...) + NccEgressTargetRules_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "target_rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccEgressConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7164,6 +7356,13 @@ func (newState *NccEgressDefaultRules_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *NccEgressDefaultRules_SdkV2) SyncEffectiveFieldsDuringRead(existingState NccEgressDefaultRules_SdkV2) { } +func (c NccEgressDefaultRules_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NccAwsStableIpRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "aws_stable_ip_rule")...) + NccAzureServiceEndpointRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_service_endpoint_rule")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccEgressDefaultRules. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7268,6 +7467,12 @@ func (newState *NccEgressTargetRules_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *NccEgressTargetRules_SdkV2) SyncEffectiveFieldsDuringRead(existingState NccEgressTargetRules_SdkV2) { } +func (c NccEgressTargetRules_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NccAzurePrivateEndpointRule_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "azure_private_endpoint_rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccEgressTargetRules. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7358,6 +7563,15 @@ func (newState *NetworkConnectivityConfiguration_SdkV2) SyncEffectiveFieldsDurin func (newState *NetworkConnectivityConfiguration_SdkV2) SyncEffectiveFieldsDuringRead(existingState NetworkConnectivityConfiguration_SdkV2) { } +func (c NetworkConnectivityConfiguration_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "creation_time")...) + NccEgressConfig_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "egress_config")...) + cs.SetComputed(append(path, "network_connectivity_config_id")...) + cs.SetComputed(append(path, "updated_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NetworkConnectivityConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7451,6 +7665,12 @@ func (newState *NotificationDestination_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *NotificationDestination_SdkV2) SyncEffectiveFieldsDuringRead(existingState NotificationDestination_SdkV2) { } +func (c NotificationDestination_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Config_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotificationDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7531,6 +7751,11 @@ func (newState *PagerdutyConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PagerdutyConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState PagerdutyConfig_SdkV2) { } +func (c PagerdutyConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PagerdutyConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7576,6 +7801,11 @@ func (newState *PartitionId_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *PartitionId_SdkV2) SyncEffectiveFieldsDuringRead(existingState PartitionId_SdkV2) { } +func (c PartitionId_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionId. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7624,6 +7854,12 @@ func (newState *PersonalComputeMessage_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *PersonalComputeMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState PersonalComputeMessage_SdkV2) { } +func (c PersonalComputeMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PersonalComputeMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7680,6 +7916,13 @@ func (newState *PersonalComputeSetting_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *PersonalComputeSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState PersonalComputeSetting_SdkV2) { } +func (c PersonalComputeSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "personal_compute")...) + PersonalComputeMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "personal_compute")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PersonalComputeSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7763,6 +8006,11 @@ func (newState *PublicTokenInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *PublicTokenInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState PublicTokenInfo_SdkV2) { } +func (c PublicTokenInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublicTokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7825,6 +8073,15 @@ func (newState *ReplaceIpAccessList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ReplaceIpAccessList_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReplaceIpAccessList_SdkV2) { } +func (c ReplaceIpAccessList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "enabled")...) + cs.SetRequired(append(path, "ip_access_list_id")...) + cs.SetRequired(append(path, "label")...) + cs.SetRequired(append(path, "list_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReplaceIpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7897,12 +8154,6 @@ func (o *ReplaceIpAccessList_SdkV2) SetIpAddresses(ctx context.Context, v []type type ReplaceResponse_SdkV2 struct { } -func (newState *ReplaceResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReplaceResponse_SdkV2) { -} - -func (newState *ReplaceResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ReplaceResponse_SdkV2) { -} - // 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 @@ -7940,6 +8191,12 @@ func (newState *RestrictWorkspaceAdminsMessage_SdkV2) SyncEffectiveFieldsDuringC func (newState *RestrictWorkspaceAdminsMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestrictWorkspaceAdminsMessage_SdkV2) { } +func (c RestrictWorkspaceAdminsMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestrictWorkspaceAdminsMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7996,6 +8253,13 @@ func (newState *RestrictWorkspaceAdminsSetting_SdkV2) SyncEffectiveFieldsDuringC func (newState *RestrictWorkspaceAdminsSetting_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestrictWorkspaceAdminsSetting_SdkV2) { } +func (c RestrictWorkspaceAdminsSetting_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "restrict_workspace_admins")...) + RestrictWorkspaceAdminsMessage_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "restrict_workspace_admins")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestrictWorkspaceAdminsSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8072,6 +8336,12 @@ func (newState *RevokeTokenRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *RevokeTokenRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RevokeTokenRequest_SdkV2) { } +func (c RevokeTokenRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "token_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RevokeTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8112,6 +8382,11 @@ func (newState *RevokeTokenResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RevokeTokenResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RevokeTokenResponse_SdkV2) { } +func (c RevokeTokenResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RevokeTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8142,12 +8417,6 @@ func (o RevokeTokenResponse_SdkV2) Type(ctx context.Context) attr.Type { type SetStatusResponse_SdkV2 struct { } -func (newState *SetStatusResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetStatusResponse_SdkV2) { -} - -func (newState *SetStatusResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetStatusResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8188,6 +8457,11 @@ func (newState *SlackConfig_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SlackConfig_SdkV2) SyncEffectiveFieldsDuringRead(existingState SlackConfig_SdkV2) { } +func (c SlackConfig_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SlackConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8232,6 +8506,11 @@ func (newState *StringMessage_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *StringMessage_SdkV2) SyncEffectiveFieldsDuringRead(existingState StringMessage_SdkV2) { } +func (c StringMessage_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StringMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8280,6 +8559,11 @@ func (newState *TokenAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *TokenAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenAccessControlRequest_SdkV2) { } +func (c TokenAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8336,6 +8620,12 @@ func (newState *TokenAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *TokenAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenAccessControlResponse_SdkV2) { } +func (c TokenAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8434,6 +8724,11 @@ func (newState *TokenInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan To func (newState *TokenInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenInfo_SdkV2) { } +func (c TokenInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8495,6 +8790,11 @@ func (newState *TokenPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *TokenPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenPermission_SdkV2) { } +func (c TokenPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8574,6 +8874,12 @@ func (newState *TokenPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *TokenPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenPermissions_SdkV2) { } +func (c TokenPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8651,6 +8957,11 @@ func (newState *TokenPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *TokenPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenPermissionsDescription_SdkV2) { } +func (c TokenPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8694,6 +9005,12 @@ func (newState *TokenPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *TokenPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TokenPermissionsRequest_SdkV2) { } +func (c TokenPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8775,6 +9092,15 @@ func (newState *UpdateAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) Sy func (newState *UpdateAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) { } +func (c UpdateAibiDashboardEmbeddingAccessPolicySettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + AibiDashboardEmbeddingAccessPolicySetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAibiDashboardEmbeddingAccessPolicySettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8860,6 +9186,15 @@ func (newState *UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) func (newState *UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) { } +func (c UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + AibiDashboardEmbeddingApprovedDomainsSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8945,6 +9280,15 @@ func (newState *UpdateAutomaticClusterUpdateSettingRequest_SdkV2) SyncEffectiveF func (newState *UpdateAutomaticClusterUpdateSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAutomaticClusterUpdateSettingRequest_SdkV2) { } +func (c UpdateAutomaticClusterUpdateSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + AutomaticClusterUpdateSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAutomaticClusterUpdateSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9030,6 +9374,15 @@ func (newState *UpdateComplianceSecurityProfileSettingRequest_SdkV2) SyncEffecti func (newState *UpdateComplianceSecurityProfileSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateComplianceSecurityProfileSettingRequest_SdkV2) { } +func (c UpdateComplianceSecurityProfileSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + ComplianceSecurityProfileSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateComplianceSecurityProfileSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9115,6 +9468,15 @@ func (newState *UpdateCspEnablementAccountSettingRequest_SdkV2) SyncEffectiveFie func (newState *UpdateCspEnablementAccountSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCspEnablementAccountSettingRequest_SdkV2) { } +func (c UpdateCspEnablementAccountSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + CspEnablementAccountSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCspEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9208,6 +9570,15 @@ func (newState *UpdateDefaultNamespaceSettingRequest_SdkV2) SyncEffectiveFieldsD func (newState *UpdateDefaultNamespaceSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateDefaultNamespaceSettingRequest_SdkV2) { } +func (c UpdateDefaultNamespaceSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DefaultNamespaceSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDefaultNamespaceSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9293,6 +9664,15 @@ func (newState *UpdateDisableLegacyAccessRequest_SdkV2) SyncEffectiveFieldsDurin func (newState *UpdateDisableLegacyAccessRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateDisableLegacyAccessRequest_SdkV2) { } +func (c UpdateDisableLegacyAccessRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DisableLegacyAccess_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDisableLegacyAccessRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9378,6 +9758,15 @@ func (newState *UpdateDisableLegacyDbfsRequest_SdkV2) SyncEffectiveFieldsDuringC func (newState *UpdateDisableLegacyDbfsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateDisableLegacyDbfsRequest_SdkV2) { } +func (c UpdateDisableLegacyDbfsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DisableLegacyDbfs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDisableLegacyDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9463,6 +9852,15 @@ func (newState *UpdateDisableLegacyFeaturesRequest_SdkV2) SyncEffectiveFieldsDur func (newState *UpdateDisableLegacyFeaturesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateDisableLegacyFeaturesRequest_SdkV2) { } +func (c UpdateDisableLegacyFeaturesRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DisableLegacyFeatures_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDisableLegacyFeaturesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9548,6 +9946,15 @@ func (newState *UpdateEnhancedSecurityMonitoringSettingRequest_SdkV2) SyncEffect func (newState *UpdateEnhancedSecurityMonitoringSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateEnhancedSecurityMonitoringSettingRequest_SdkV2) { } +func (c UpdateEnhancedSecurityMonitoringSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + EnhancedSecurityMonitoringSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateEnhancedSecurityMonitoringSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9633,6 +10040,15 @@ func (newState *UpdateEsmEnablementAccountSettingRequest_SdkV2) SyncEffectiveFie func (newState *UpdateEsmEnablementAccountSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateEsmEnablementAccountSettingRequest_SdkV2) { } +func (c UpdateEsmEnablementAccountSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + EsmEnablementAccountSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateEsmEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9723,6 +10139,12 @@ func (newState *UpdateIpAccessList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateIpAccessList_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateIpAccessList_SdkV2) { } +func (c UpdateIpAccessList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "ip_access_list_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateIpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9808,6 +10230,13 @@ func (newState *UpdateNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsD func (newState *UpdateNotificationDestinationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateNotificationDestinationRequest_SdkV2) { } +func (c UpdateNotificationDestinationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Config_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9893,6 +10322,15 @@ func (newState *UpdatePersonalComputeSettingRequest_SdkV2) SyncEffectiveFieldsDu func (newState *UpdatePersonalComputeSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePersonalComputeSettingRequest_SdkV2) { } +func (c UpdatePersonalComputeSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + PersonalComputeSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePersonalComputeSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9961,12 +10399,6 @@ func (o *UpdatePersonalComputeSettingRequest_SdkV2) SetSetting(ctx context.Conte type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -10014,6 +10446,15 @@ func (newState *UpdateRestrictWorkspaceAdminsSettingRequest_SdkV2) SyncEffective func (newState *UpdateRestrictWorkspaceAdminsSettingRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRestrictWorkspaceAdminsSettingRequest_SdkV2) { } +func (c UpdateRestrictWorkspaceAdminsSettingRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + RestrictWorkspaceAdminsSetting_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRestrictWorkspaceAdminsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/settings_tf/model.go b/internal/service/settings_tf/model.go index 14010b78d..98f5c2404 100755 --- a/internal/service/settings_tf/model.go +++ b/internal/service/settings_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -31,6 +32,12 @@ func (newState *AibiDashboardEmbeddingAccessPolicy) SyncEffectiveFieldsDuringCre func (newState *AibiDashboardEmbeddingAccessPolicy) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingAccessPolicy) { } +func (c AibiDashboardEmbeddingAccessPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "access_policy_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingAccessPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -86,6 +93,13 @@ func (newState *AibiDashboardEmbeddingAccessPolicySetting) SyncEffectiveFieldsDu func (newState *AibiDashboardEmbeddingAccessPolicySetting) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingAccessPolicySetting) { } +func (c AibiDashboardEmbeddingAccessPolicySetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aibi_dashboard_embedding_access_policy")...) + AibiDashboardEmbeddingAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "aibi_dashboard_embedding_access_policy")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingAccessPolicySetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -161,6 +175,11 @@ func (newState *AibiDashboardEmbeddingApprovedDomains) SyncEffectiveFieldsDuring func (newState *AibiDashboardEmbeddingApprovedDomains) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingApprovedDomains) { } +func (c AibiDashboardEmbeddingApprovedDomains) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingApprovedDomains. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -246,6 +265,13 @@ func (newState *AibiDashboardEmbeddingApprovedDomainsSetting) SyncEffectiveField func (newState *AibiDashboardEmbeddingApprovedDomainsSetting) SyncEffectiveFieldsDuringRead(existingState AibiDashboardEmbeddingApprovedDomainsSetting) { } +func (c AibiDashboardEmbeddingApprovedDomainsSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "aibi_dashboard_embedding_approved_domains")...) + AibiDashboardEmbeddingApprovedDomains{}.ApplySchemaCustomizations(cs, append(path, "aibi_dashboard_embedding_approved_domains")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AibiDashboardEmbeddingApprovedDomainsSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -335,6 +361,13 @@ func (newState *AutomaticClusterUpdateSetting) SyncEffectiveFieldsDuringCreateOr func (newState *AutomaticClusterUpdateSetting) SyncEffectiveFieldsDuringRead(existingState AutomaticClusterUpdateSetting) { } +func (c AutomaticClusterUpdateSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "automatic_cluster_update_workspace")...) + ClusterAutoRestartMessage{}.ApplySchemaCustomizations(cs, append(path, "automatic_cluster_update_workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AutomaticClusterUpdateSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -410,6 +443,11 @@ func (newState *BooleanMessage) SyncEffectiveFieldsDuringCreateOrUpdate(plan Boo func (newState *BooleanMessage) SyncEffectiveFieldsDuringRead(existingState BooleanMessage) { } +func (c BooleanMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BooleanMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -464,6 +502,13 @@ func (newState *ClusterAutoRestartMessage) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ClusterAutoRestartMessage) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessage) { } +func (c ClusterAutoRestartMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAutoRestartMessageEnablementDetails{}.ApplySchemaCustomizations(cs, append(path, "enablement_details")...) + ClusterAutoRestartMessageMaintenanceWindow{}.ApplySchemaCustomizations(cs, append(path, "maintenance_window")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -584,6 +629,11 @@ func (newState *ClusterAutoRestartMessageEnablementDetails) SyncEffectiveFieldsD func (newState *ClusterAutoRestartMessageEnablementDetails) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageEnablementDetails) { } +func (c ClusterAutoRestartMessageEnablementDetails) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageEnablementDetails. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -629,6 +679,12 @@ func (newState *ClusterAutoRestartMessageMaintenanceWindow) SyncEffectiveFieldsD func (newState *ClusterAutoRestartMessageMaintenanceWindow) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageMaintenanceWindow) { } +func (c ClusterAutoRestartMessageMaintenanceWindow) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule{}.ApplySchemaCustomizations(cs, append(path, "week_day_based_schedule")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageMaintenanceWindow. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -704,6 +760,12 @@ func (newState *ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule) func (newState *ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule) { } +func (c ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ClusterAutoRestartMessageMaintenanceWindowWindowStartTime{}.ApplySchemaCustomizations(cs, append(path, "window_start_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -781,6 +843,11 @@ func (newState *ClusterAutoRestartMessageMaintenanceWindowWindowStartTime) SyncE func (newState *ClusterAutoRestartMessageMaintenanceWindowWindowStartTime) SyncEffectiveFieldsDuringRead(existingState ClusterAutoRestartMessageMaintenanceWindowWindowStartTime) { } +func (c ClusterAutoRestartMessageMaintenanceWindowWindowStartTime) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ClusterAutoRestartMessageMaintenanceWindowWindowStartTime. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -828,6 +895,11 @@ func (newState *ComplianceSecurityProfile) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ComplianceSecurityProfile) SyncEffectiveFieldsDuringRead(existingState ComplianceSecurityProfile) { } +func (c ComplianceSecurityProfile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplianceSecurityProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -916,6 +988,13 @@ func (newState *ComplianceSecurityProfileSetting) SyncEffectiveFieldsDuringCreat func (newState *ComplianceSecurityProfileSetting) SyncEffectiveFieldsDuringRead(existingState ComplianceSecurityProfileSetting) { } +func (c ComplianceSecurityProfileSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "compliance_security_profile_workspace")...) + ComplianceSecurityProfile{}.ApplySchemaCustomizations(cs, append(path, "compliance_security_profile_workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ComplianceSecurityProfileSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -999,6 +1078,16 @@ func (newState *Config) SyncEffectiveFieldsDuringCreateOrUpdate(plan Config) { func (newState *Config) SyncEffectiveFieldsDuringRead(existingState Config) { } +func (c Config) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmailConfig{}.ApplySchemaCustomizations(cs, append(path, "email")...) + GenericWebhookConfig{}.ApplySchemaCustomizations(cs, append(path, "generic_webhook")...) + MicrosoftTeamsConfig{}.ApplySchemaCustomizations(cs, append(path, "microsoft_teams")...) + PagerdutyConfig{}.ApplySchemaCustomizations(cs, append(path, "pagerduty")...) + SlackConfig{}.ApplySchemaCustomizations(cs, append(path, "slack")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Config. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1204,6 +1293,13 @@ func (newState *CreateIpAccessList) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateIpAccessList) SyncEffectiveFieldsDuringRead(existingState CreateIpAccessList) { } +func (c CreateIpAccessList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "label")...) + cs.SetRequired(append(path, "list_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateIpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1281,6 +1377,12 @@ func (newState *CreateIpAccessListResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateIpAccessListResponse) SyncEffectiveFieldsDuringRead(existingState CreateIpAccessListResponse) { } +func (c CreateIpAccessListResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1360,6 +1462,13 @@ func (newState *CreateNetworkConnectivityConfigRequest) SyncEffectiveFieldsDurin func (newState *CreateNetworkConnectivityConfigRequest) SyncEffectiveFieldsDuringRead(existingState CreateNetworkConnectivityConfigRequest) { } +func (c CreateNetworkConnectivityConfigRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "region")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateNetworkConnectivityConfigRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1407,6 +1516,12 @@ func (newState *CreateNotificationDestinationRequest) SyncEffectiveFieldsDuringC func (newState *CreateNotificationDestinationRequest) SyncEffectiveFieldsDuringRead(existingState CreateNotificationDestinationRequest) { } +func (c CreateNotificationDestinationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Config{}.ApplySchemaCustomizations(cs, append(path, "config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1486,6 +1601,12 @@ func (newState *CreateOboTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateOboTokenRequest) SyncEffectiveFieldsDuringRead(existingState CreateOboTokenRequest) { } +func (c CreateOboTokenRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "application_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateOboTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1534,6 +1655,12 @@ func (newState *CreateOboTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateOboTokenResponse) SyncEffectiveFieldsDuringRead(existingState CreateOboTokenResponse) { } +func (c CreateOboTokenResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenInfo{}.ApplySchemaCustomizations(cs, append(path, "token_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateOboTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1614,6 +1741,14 @@ func (newState *CreatePrivateEndpointRuleRequest) SyncEffectiveFieldsDuringCreat func (newState *CreatePrivateEndpointRuleRequest) SyncEffectiveFieldsDuringRead(existingState CreatePrivateEndpointRuleRequest) { } +func (c CreatePrivateEndpointRuleRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "group_id")...) + cs.SetRequired(append(path, "network_connectivity_config_id")...) + cs.SetRequired(append(path, "resource_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreatePrivateEndpointRuleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1664,6 +1799,11 @@ func (newState *CreateTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateTokenRequest) SyncEffectiveFieldsDuringRead(existingState CreateTokenRequest) { } +func (c CreateTokenRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1710,6 +1850,12 @@ func (newState *CreateTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *CreateTokenResponse) SyncEffectiveFieldsDuringRead(existingState CreateTokenResponse) { } +func (c CreateTokenResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PublicTokenInfo{}.ApplySchemaCustomizations(cs, append(path, "token_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1788,6 +1934,11 @@ func (newState *CspEnablementAccount) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CspEnablementAccount) SyncEffectiveFieldsDuringRead(existingState CspEnablementAccount) { } +func (c CspEnablementAccount) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CspEnablementAccount. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1876,6 +2027,13 @@ func (newState *CspEnablementAccountSetting) SyncEffectiveFieldsDuringCreateOrUp func (newState *CspEnablementAccountSetting) SyncEffectiveFieldsDuringRead(existingState CspEnablementAccountSetting) { } +func (c CspEnablementAccountSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "csp_enablement_account")...) + CspEnablementAccount{}.ApplySchemaCustomizations(cs, append(path, "csp_enablement_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CspEnablementAccountSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1975,6 +2133,13 @@ func (newState *DefaultNamespaceSetting) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *DefaultNamespaceSetting) SyncEffectiveFieldsDuringRead(existingState DefaultNamespaceSetting) { } +func (c DefaultNamespaceSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "namespace")...) + StringMessage{}.ApplySchemaCustomizations(cs, append(path, "namespace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DefaultNamespaceSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2046,12 +2211,6 @@ type DeleteAccountIpAccessListRequest struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *DeleteAccountIpAccessListRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAccountIpAccessListRequest) { -} - -func (newState *DeleteAccountIpAccessListRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAccountIpAccessListRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAccountIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2095,12 +2254,6 @@ type DeleteAibiDashboardEmbeddingAccessPolicySettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAibiDashboardEmbeddingAccessPolicySettingRequest) { -} - -func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingAccessPolicySettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingAccessPolicySettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2150,6 +2303,12 @@ func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingResponse) SyncEff func (newState *DeleteAibiDashboardEmbeddingAccessPolicySettingResponse) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingAccessPolicySettingResponse) { } +func (c DeleteAibiDashboardEmbeddingAccessPolicySettingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingAccessPolicySettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2193,12 +2352,6 @@ type DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest) { -} - -func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingApprovedDomainsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2248,6 +2401,12 @@ func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse) Sync func (newState *DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse) SyncEffectiveFieldsDuringRead(existingState DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse) { } +func (c DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAibiDashboardEmbeddingApprovedDomainsSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2291,12 +2450,6 @@ type DeleteDefaultNamespaceSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDefaultNamespaceSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDefaultNamespaceSettingRequest) { -} - -func (newState *DeleteDefaultNamespaceSettingRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDefaultNamespaceSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDefaultNamespaceSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2346,6 +2499,12 @@ func (newState *DeleteDefaultNamespaceSettingResponse) SyncEffectiveFieldsDuring func (newState *DeleteDefaultNamespaceSettingResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDefaultNamespaceSettingResponse) { } +func (c DeleteDefaultNamespaceSettingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDefaultNamespaceSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2389,12 +2548,6 @@ type DeleteDisableLegacyAccessRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDisableLegacyAccessRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDisableLegacyAccessRequest) { -} - -func (newState *DeleteDisableLegacyAccessRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyAccessRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyAccessRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2444,6 +2597,12 @@ func (newState *DeleteDisableLegacyAccessResponse) SyncEffectiveFieldsDuringCrea func (newState *DeleteDisableLegacyAccessResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyAccessResponse) { } +func (c DeleteDisableLegacyAccessResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyAccessResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2487,12 +2646,6 @@ type DeleteDisableLegacyDbfsRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDisableLegacyDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDisableLegacyDbfsRequest) { -} - -func (newState *DeleteDisableLegacyDbfsRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyDbfsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2542,6 +2695,12 @@ func (newState *DeleteDisableLegacyDbfsResponse) SyncEffectiveFieldsDuringCreate func (newState *DeleteDisableLegacyDbfsResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyDbfsResponse) { } +func (c DeleteDisableLegacyDbfsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyDbfsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2585,12 +2744,6 @@ type DeleteDisableLegacyFeaturesRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteDisableLegacyFeaturesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDisableLegacyFeaturesRequest) { -} - -func (newState *DeleteDisableLegacyFeaturesRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyFeaturesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyFeaturesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2640,6 +2793,12 @@ func (newState *DeleteDisableLegacyFeaturesResponse) SyncEffectiveFieldsDuringCr func (newState *DeleteDisableLegacyFeaturesResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDisableLegacyFeaturesResponse) { } +func (c DeleteDisableLegacyFeaturesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDisableLegacyFeaturesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2677,12 +2836,6 @@ type DeleteIpAccessListRequest struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *DeleteIpAccessListRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIpAccessListRequest) { -} - -func (newState *DeleteIpAccessListRequest) SyncEffectiveFieldsDuringRead(existingState DeleteIpAccessListRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2720,12 +2873,6 @@ type DeleteNetworkConnectivityConfigurationRequest struct { NetworkConnectivityConfigId types.String `tfsdk:"-"` } -func (newState *DeleteNetworkConnectivityConfigurationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkConnectivityConfigurationRequest) { -} - -func (newState *DeleteNetworkConnectivityConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkConnectivityConfigurationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteNetworkConnectivityConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2760,12 +2907,6 @@ func (o DeleteNetworkConnectivityConfigurationRequest) Type(ctx context.Context) type DeleteNetworkConnectivityConfigurationResponse struct { } -func (newState *DeleteNetworkConnectivityConfigurationResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNetworkConnectivityConfigurationResponse) { -} - -func (newState *DeleteNetworkConnectivityConfigurationResponse) SyncEffectiveFieldsDuringRead(existingState DeleteNetworkConnectivityConfigurationResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteNetworkConnectivityConfigurationResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2798,12 +2939,6 @@ type DeleteNotificationDestinationRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteNotificationDestinationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteNotificationDestinationRequest) { -} - -func (newState *DeleteNotificationDestinationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteNotificationDestinationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2847,12 +2982,6 @@ type DeletePersonalComputeSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeletePersonalComputeSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePersonalComputeSettingRequest) { -} - -func (newState *DeletePersonalComputeSettingRequest) SyncEffectiveFieldsDuringRead(existingState DeletePersonalComputeSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePersonalComputeSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2902,6 +3031,12 @@ func (newState *DeletePersonalComputeSettingResponse) SyncEffectiveFieldsDuringC func (newState *DeletePersonalComputeSettingResponse) SyncEffectiveFieldsDuringRead(existingState DeletePersonalComputeSettingResponse) { } +func (c DeletePersonalComputeSettingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePersonalComputeSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2941,12 +3076,6 @@ type DeletePrivateEndpointRuleRequest struct { PrivateEndpointRuleId types.String `tfsdk:"-"` } -func (newState *DeletePrivateEndpointRuleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeletePrivateEndpointRuleRequest) { -} - -func (newState *DeletePrivateEndpointRuleRequest) SyncEffectiveFieldsDuringRead(existingState DeletePrivateEndpointRuleRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeletePrivateEndpointRuleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2983,12 +3112,6 @@ func (o DeletePrivateEndpointRuleRequest) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -3028,12 +3151,6 @@ type DeleteRestrictWorkspaceAdminsSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *DeleteRestrictWorkspaceAdminsSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRestrictWorkspaceAdminsSettingRequest) { -} - -func (newState *DeleteRestrictWorkspaceAdminsSettingRequest) SyncEffectiveFieldsDuringRead(existingState DeleteRestrictWorkspaceAdminsSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRestrictWorkspaceAdminsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3083,6 +3200,12 @@ func (newState *DeleteRestrictWorkspaceAdminsSettingResponse) SyncEffectiveField func (newState *DeleteRestrictWorkspaceAdminsSettingResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRestrictWorkspaceAdminsSettingResponse) { } +func (c DeleteRestrictWorkspaceAdminsSettingResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "etag")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRestrictWorkspaceAdminsSettingResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3120,12 +3243,6 @@ type DeleteTokenManagementRequest struct { TokenId types.String `tfsdk:"-"` } -func (newState *DeleteTokenManagementRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteTokenManagementRequest) { -} - -func (newState *DeleteTokenManagementRequest) SyncEffectiveFieldsDuringRead(existingState DeleteTokenManagementRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteTokenManagementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3181,6 +3298,13 @@ func (newState *DisableLegacyAccess) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *DisableLegacyAccess) SyncEffectiveFieldsDuringRead(existingState DisableLegacyAccess) { } +func (c DisableLegacyAccess) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "disable_legacy_access")...) + BooleanMessage{}.ApplySchemaCustomizations(cs, append(path, "disable_legacy_access")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableLegacyAccess. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3270,6 +3394,13 @@ func (newState *DisableLegacyDbfs) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DisableLegacyDbfs) SyncEffectiveFieldsDuringRead(existingState DisableLegacyDbfs) { } +func (c DisableLegacyDbfs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "disable_legacy_dbfs")...) + BooleanMessage{}.ApplySchemaCustomizations(cs, append(path, "disable_legacy_dbfs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableLegacyDbfs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3359,6 +3490,13 @@ func (newState *DisableLegacyFeatures) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *DisableLegacyFeatures) SyncEffectiveFieldsDuringRead(existingState DisableLegacyFeatures) { } +func (c DisableLegacyFeatures) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "disable_legacy_features")...) + BooleanMessage{}.ApplySchemaCustomizations(cs, append(path, "disable_legacy_features")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DisableLegacyFeatures. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3439,6 +3577,12 @@ func (newState *EgressNetworkPolicy) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *EgressNetworkPolicy) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicy) { } +func (c EgressNetworkPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EgressNetworkPolicyInternetAccessPolicy{}.ApplySchemaCustomizations(cs, append(path, "internet_access")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3522,6 +3666,14 @@ func (newState *EgressNetworkPolicyInternetAccessPolicy) SyncEffectiveFieldsDuri func (newState *EgressNetworkPolicyInternetAccessPolicy) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicy) { } +func (c EgressNetworkPolicyInternetAccessPolicy) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EgressNetworkPolicyInternetAccessPolicyInternetDestination{}.ApplySchemaCustomizations(cs, append(path, "allowed_internet_destinations")...) + EgressNetworkPolicyInternetAccessPolicyStorageDestination{}.ApplySchemaCustomizations(cs, append(path, "allowed_storage_destinations")...) + EgressNetworkPolicyInternetAccessPolicyLogOnlyMode{}.ApplySchemaCustomizations(cs, append(path, "log_only_mode")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicy. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3668,6 +3820,11 @@ func (newState *EgressNetworkPolicyInternetAccessPolicyInternetDestination) Sync func (newState *EgressNetworkPolicyInternetAccessPolicyInternetDestination) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicyInternetDestination) { } +func (c EgressNetworkPolicyInternetAccessPolicyInternetDestination) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicyInternetDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3715,6 +3872,11 @@ func (newState *EgressNetworkPolicyInternetAccessPolicyLogOnlyMode) SyncEffectiv func (newState *EgressNetworkPolicyInternetAccessPolicyLogOnlyMode) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicyLogOnlyMode) { } +func (c EgressNetworkPolicyInternetAccessPolicyLogOnlyMode) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicyLogOnlyMode. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3803,6 +3965,11 @@ func (newState *EgressNetworkPolicyInternetAccessPolicyStorageDestination) SyncE func (newState *EgressNetworkPolicyInternetAccessPolicyStorageDestination) SyncEffectiveFieldsDuringRead(existingState EgressNetworkPolicyInternetAccessPolicyStorageDestination) { } +func (c EgressNetworkPolicyInternetAccessPolicyStorageDestination) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EgressNetworkPolicyInternetAccessPolicyStorageDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3889,6 +4056,11 @@ func (newState *EmailConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan EmailC func (newState *EmailConfig) SyncEffectiveFieldsDuringRead(existingState EmailConfig) { } +func (c EmailConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmailConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3959,6 +4131,11 @@ func (newState *Empty) SyncEffectiveFieldsDuringCreateOrUpdate(plan Empty) { func (newState *Empty) SyncEffectiveFieldsDuringRead(existingState Empty) { } +func (c Empty) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Empty. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3997,6 +4174,11 @@ func (newState *EnhancedSecurityMonitoring) SyncEffectiveFieldsDuringCreateOrUpd func (newState *EnhancedSecurityMonitoring) SyncEffectiveFieldsDuringRead(existingState EnhancedSecurityMonitoring) { } +func (c EnhancedSecurityMonitoring) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnhancedSecurityMonitoring. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4053,6 +4235,13 @@ func (newState *EnhancedSecurityMonitoringSetting) SyncEffectiveFieldsDuringCrea func (newState *EnhancedSecurityMonitoringSetting) SyncEffectiveFieldsDuringRead(existingState EnhancedSecurityMonitoringSetting) { } +func (c EnhancedSecurityMonitoringSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "enhanced_security_monitoring_workspace")...) + EnhancedSecurityMonitoring{}.ApplySchemaCustomizations(cs, append(path, "enhanced_security_monitoring_workspace")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnhancedSecurityMonitoringSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4129,6 +4318,11 @@ func (newState *EsmEnablementAccount) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *EsmEnablementAccount) SyncEffectiveFieldsDuringRead(existingState EsmEnablementAccount) { } +func (c EsmEnablementAccount) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EsmEnablementAccount. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4185,6 +4379,13 @@ func (newState *EsmEnablementAccountSetting) SyncEffectiveFieldsDuringCreateOrUp func (newState *EsmEnablementAccountSetting) SyncEffectiveFieldsDuringRead(existingState EsmEnablementAccountSetting) { } +func (c EsmEnablementAccountSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "esm_enablement_account")...) + EsmEnablementAccount{}.ApplySchemaCustomizations(cs, append(path, "esm_enablement_account")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EsmEnablementAccountSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4271,6 +4472,11 @@ func (newState *ExchangeToken) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exch func (newState *ExchangeToken) SyncEffectiveFieldsDuringRead(existingState ExchangeToken) { } +func (c ExchangeToken) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4356,6 +4562,15 @@ func (newState *ExchangeTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ExchangeTokenRequest) SyncEffectiveFieldsDuringRead(existingState ExchangeTokenRequest) { } +func (c ExchangeTokenRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "partitionId")...) + PartitionId{}.ApplySchemaCustomizations(cs, append(path, "partitionId")...) + cs.SetRequired(append(path, "scopes")...) + cs.SetRequired(append(path, "tokenType")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4490,6 +4705,12 @@ func (newState *ExchangeTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ExchangeTokenResponse) SyncEffectiveFieldsDuringRead(existingState ExchangeTokenResponse) { } +func (c ExchangeTokenResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExchangeToken{}.ApplySchemaCustomizations(cs, append(path, "values")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExchangeTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4563,6 +4784,12 @@ func (newState *FetchIpAccessListResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *FetchIpAccessListResponse) SyncEffectiveFieldsDuringRead(existingState FetchIpAccessListResponse) { } +func (c FetchIpAccessListResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in FetchIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4645,6 +4872,11 @@ func (newState *GenericWebhookConfig) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *GenericWebhookConfig) SyncEffectiveFieldsDuringRead(existingState GenericWebhookConfig) { } +func (c GenericWebhookConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GenericWebhookConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4692,12 +4924,6 @@ type GetAccountIpAccessListRequest struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *GetAccountIpAccessListRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAccountIpAccessListRequest) { -} - -func (newState *GetAccountIpAccessListRequest) SyncEffectiveFieldsDuringRead(existingState GetAccountIpAccessListRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAccountIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4741,12 +4967,6 @@ type GetAibiDashboardEmbeddingAccessPolicySettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetAibiDashboardEmbeddingAccessPolicySettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAibiDashboardEmbeddingAccessPolicySettingRequest) { -} - -func (newState *GetAibiDashboardEmbeddingAccessPolicySettingRequest) SyncEffectiveFieldsDuringRead(existingState GetAibiDashboardEmbeddingAccessPolicySettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAibiDashboardEmbeddingAccessPolicySettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4790,12 +5010,6 @@ type GetAibiDashboardEmbeddingApprovedDomainsSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetAibiDashboardEmbeddingApprovedDomainsSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAibiDashboardEmbeddingApprovedDomainsSettingRequest) { -} - -func (newState *GetAibiDashboardEmbeddingApprovedDomainsSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetAibiDashboardEmbeddingApprovedDomainsSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAibiDashboardEmbeddingApprovedDomainsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4839,12 +5053,6 @@ type GetAutomaticClusterUpdateSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetAutomaticClusterUpdateSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAutomaticClusterUpdateSettingRequest) { -} - -func (newState *GetAutomaticClusterUpdateSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetAutomaticClusterUpdateSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAutomaticClusterUpdateSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4888,12 +5096,6 @@ type GetComplianceSecurityProfileSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetComplianceSecurityProfileSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetComplianceSecurityProfileSettingRequest) { -} - -func (newState *GetComplianceSecurityProfileSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetComplianceSecurityProfileSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetComplianceSecurityProfileSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4937,12 +5139,6 @@ type GetCspEnablementAccountSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetCspEnablementAccountSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCspEnablementAccountSettingRequest) { -} - -func (newState *GetCspEnablementAccountSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetCspEnablementAccountSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCspEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4986,12 +5182,6 @@ type GetDefaultNamespaceSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDefaultNamespaceSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDefaultNamespaceSettingRequest) { -} - -func (newState *GetDefaultNamespaceSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetDefaultNamespaceSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDefaultNamespaceSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5035,12 +5225,6 @@ type GetDisableLegacyAccessRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDisableLegacyAccessRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDisableLegacyAccessRequest) { -} - -func (newState *GetDisableLegacyAccessRequest) SyncEffectiveFieldsDuringRead(existingState GetDisableLegacyAccessRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDisableLegacyAccessRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5084,12 +5268,6 @@ type GetDisableLegacyDbfsRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDisableLegacyDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDisableLegacyDbfsRequest) { -} - -func (newState *GetDisableLegacyDbfsRequest) SyncEffectiveFieldsDuringRead(existingState GetDisableLegacyDbfsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDisableLegacyDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5133,12 +5311,6 @@ type GetDisableLegacyFeaturesRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetDisableLegacyFeaturesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDisableLegacyFeaturesRequest) { -} - -func (newState *GetDisableLegacyFeaturesRequest) SyncEffectiveFieldsDuringRead(existingState GetDisableLegacyFeaturesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDisableLegacyFeaturesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5182,12 +5354,6 @@ type GetEnhancedSecurityMonitoringSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetEnhancedSecurityMonitoringSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEnhancedSecurityMonitoringSettingRequest) { -} - -func (newState *GetEnhancedSecurityMonitoringSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetEnhancedSecurityMonitoringSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEnhancedSecurityMonitoringSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5231,12 +5397,6 @@ type GetEsmEnablementAccountSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetEsmEnablementAccountSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEsmEnablementAccountSettingRequest) { -} - -func (newState *GetEsmEnablementAccountSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetEsmEnablementAccountSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEsmEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5274,12 +5434,6 @@ type GetIpAccessListRequest struct { IpAccessListId types.String `tfsdk:"-"` } -func (newState *GetIpAccessListRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetIpAccessListRequest) { -} - -func (newState *GetIpAccessListRequest) SyncEffectiveFieldsDuringRead(existingState GetIpAccessListRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIpAccessListRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5322,6 +5476,12 @@ func (newState *GetIpAccessListResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GetIpAccessListResponse) SyncEffectiveFieldsDuringRead(existingState GetIpAccessListResponse) { } +func (c GetIpAccessListResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5394,6 +5554,12 @@ func (newState *GetIpAccessListsResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *GetIpAccessListsResponse) SyncEffectiveFieldsDuringRead(existingState GetIpAccessListsResponse) { } +func (c GetIpAccessListsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo{}.ApplySchemaCustomizations(cs, append(path, "ip_access_lists")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIpAccessListsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5461,12 +5627,6 @@ type GetNetworkConnectivityConfigurationRequest struct { NetworkConnectivityConfigId types.String `tfsdk:"-"` } -func (newState *GetNetworkConnectivityConfigurationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNetworkConnectivityConfigurationRequest) { -} - -func (newState *GetNetworkConnectivityConfigurationRequest) SyncEffectiveFieldsDuringRead(existingState GetNetworkConnectivityConfigurationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetNetworkConnectivityConfigurationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5503,12 +5663,6 @@ type GetNotificationDestinationRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetNotificationDestinationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetNotificationDestinationRequest) { -} - -func (newState *GetNotificationDestinationRequest) SyncEffectiveFieldsDuringRead(existingState GetNotificationDestinationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5552,12 +5706,6 @@ type GetPersonalComputeSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetPersonalComputeSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPersonalComputeSettingRequest) { -} - -func (newState *GetPersonalComputeSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetPersonalComputeSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPersonalComputeSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5597,12 +5745,6 @@ type GetPrivateEndpointRuleRequest struct { PrivateEndpointRuleId types.String `tfsdk:"-"` } -func (newState *GetPrivateEndpointRuleRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetPrivateEndpointRuleRequest) { -} - -func (newState *GetPrivateEndpointRuleRequest) SyncEffectiveFieldsDuringRead(existingState GetPrivateEndpointRuleRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetPrivateEndpointRuleRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5648,12 +5790,6 @@ type GetRestrictWorkspaceAdminsSettingRequest struct { Etag types.String `tfsdk:"-"` } -func (newState *GetRestrictWorkspaceAdminsSettingRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRestrictWorkspaceAdminsSettingRequest) { -} - -func (newState *GetRestrictWorkspaceAdminsSettingRequest) SyncEffectiveFieldsDuringRead(existingState GetRestrictWorkspaceAdminsSettingRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRestrictWorkspaceAdminsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5690,12 +5826,6 @@ type GetStatusRequest struct { Keys types.String `tfsdk:"-"` } -func (newState *GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest) { -} - -func (newState *GetStatusRequest) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5733,12 +5863,6 @@ type GetTokenManagementRequest struct { TokenId types.String `tfsdk:"-"` } -func (newState *GetTokenManagementRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetTokenManagementRequest) { -} - -func (newState *GetTokenManagementRequest) SyncEffectiveFieldsDuringRead(existingState GetTokenManagementRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTokenManagementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5781,6 +5905,12 @@ func (newState *GetTokenPermissionLevelsResponse) SyncEffectiveFieldsDuringCreat func (newState *GetTokenPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetTokenPermissionLevelsResponse) { } +func (c GetTokenPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTokenPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5853,6 +5983,12 @@ func (newState *GetTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan G func (newState *GetTokenResponse) SyncEffectiveFieldsDuringRead(existingState GetTokenResponse) { } +func (c GetTokenResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenInfo{}.ApplySchemaCustomizations(cs, append(path, "token_info")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5949,6 +6085,11 @@ func (newState *IpAccessListInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan I func (newState *IpAccessListInfo) SyncEffectiveFieldsDuringRead(existingState IpAccessListInfo) { } +func (c IpAccessListInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IpAccessListInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6039,6 +6180,12 @@ func (newState *ListIpAccessListResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListIpAccessListResponse) SyncEffectiveFieldsDuringRead(existingState ListIpAccessListResponse) { } +func (c ListIpAccessListResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessListInfo{}.ApplySchemaCustomizations(cs, append(path, "ip_access_lists")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListIpAccessListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6113,6 +6260,12 @@ func (newState *ListNccAzurePrivateEndpointRulesResponse) SyncEffectiveFieldsDur func (newState *ListNccAzurePrivateEndpointRulesResponse) SyncEffectiveFieldsDuringRead(existingState ListNccAzurePrivateEndpointRulesResponse) { } +func (c ListNccAzurePrivateEndpointRulesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NccAzurePrivateEndpointRule{}.ApplySchemaCustomizations(cs, append(path, "items")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNccAzurePrivateEndpointRulesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6182,12 +6335,6 @@ type ListNetworkConnectivityConfigurationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListNetworkConnectivityConfigurationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNetworkConnectivityConfigurationsRequest) { -} - -func (newState *ListNetworkConnectivityConfigurationsRequest) SyncEffectiveFieldsDuringRead(existingState ListNetworkConnectivityConfigurationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNetworkConnectivityConfigurationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6232,6 +6379,12 @@ func (newState *ListNetworkConnectivityConfigurationsResponse) SyncEffectiveFiel func (newState *ListNetworkConnectivityConfigurationsResponse) SyncEffectiveFieldsDuringRead(existingState ListNetworkConnectivityConfigurationsResponse) { } +func (c ListNetworkConnectivityConfigurationsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NetworkConnectivityConfiguration{}.ApplySchemaCustomizations(cs, append(path, "items")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNetworkConnectivityConfigurationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6302,12 +6455,6 @@ type ListNotificationDestinationsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListNotificationDestinationsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListNotificationDestinationsRequest) { -} - -func (newState *ListNotificationDestinationsRequest) SyncEffectiveFieldsDuringRead(existingState ListNotificationDestinationsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNotificationDestinationsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6354,6 +6501,12 @@ func (newState *ListNotificationDestinationsResponse) SyncEffectiveFieldsDuringC func (newState *ListNotificationDestinationsResponse) SyncEffectiveFieldsDuringRead(existingState ListNotificationDestinationsResponse) { } +func (c ListNotificationDestinationsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListNotificationDestinationsResult{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNotificationDestinationsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6433,6 +6586,11 @@ func (newState *ListNotificationDestinationsResult) SyncEffectiveFieldsDuringCre func (newState *ListNotificationDestinationsResult) SyncEffectiveFieldsDuringRead(existingState ListNotificationDestinationsResult) { } +func (c ListNotificationDestinationsResult) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListNotificationDestinationsResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6476,12 +6634,6 @@ type ListPrivateEndpointRulesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListPrivateEndpointRulesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListPrivateEndpointRulesRequest) { -} - -func (newState *ListPrivateEndpointRulesRequest) SyncEffectiveFieldsDuringRead(existingState ListPrivateEndpointRulesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPrivateEndpointRulesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6526,6 +6678,12 @@ func (newState *ListPublicTokensResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListPublicTokensResponse) SyncEffectiveFieldsDuringRead(existingState ListPublicTokensResponse) { } +func (c ListPublicTokensResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PublicTokenInfo{}.ApplySchemaCustomizations(cs, append(path, "token_infos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListPublicTokensResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6595,12 +6753,6 @@ type ListTokenManagementRequest struct { CreatedByUsername types.String `tfsdk:"-"` } -func (newState *ListTokenManagementRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListTokenManagementRequest) { -} - -func (newState *ListTokenManagementRequest) SyncEffectiveFieldsDuringRead(existingState ListTokenManagementRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTokenManagementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6646,6 +6798,12 @@ func (newState *ListTokensResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListTokensResponse) SyncEffectiveFieldsDuringRead(existingState ListTokensResponse) { } +func (c ListTokensResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenInfo{}.ApplySchemaCustomizations(cs, append(path, "token_infos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListTokensResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6720,6 +6878,11 @@ func (newState *MicrosoftTeamsConfig) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *MicrosoftTeamsConfig) SyncEffectiveFieldsDuringRead(existingState MicrosoftTeamsConfig) { } +func (c MicrosoftTeamsConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MicrosoftTeamsConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6767,6 +6930,11 @@ func (newState *NccAwsStableIpRule) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *NccAwsStableIpRule) SyncEffectiveFieldsDuringRead(existingState NccAwsStableIpRule) { } +func (c NccAwsStableIpRule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccAwsStableIpRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6872,6 +7040,17 @@ func (newState *NccAzurePrivateEndpointRule) SyncEffectiveFieldsDuringCreateOrUp func (newState *NccAzurePrivateEndpointRule) SyncEffectiveFieldsDuringRead(existingState NccAzurePrivateEndpointRule) { } +func (c NccAzurePrivateEndpointRule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "creation_time")...) + cs.SetComputed(append(path, "deactivated")...) + cs.SetComputed(append(path, "deactivated_at")...) + cs.SetComputed(append(path, "endpoint_name")...) + cs.SetComputed(append(path, "rule_id")...) + cs.SetComputed(append(path, "updated_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccAzurePrivateEndpointRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6940,6 +7119,11 @@ func (newState *NccAzureServiceEndpointRule) SyncEffectiveFieldsDuringCreateOrUp func (newState *NccAzureServiceEndpointRule) SyncEffectiveFieldsDuringRead(existingState NccAzureServiceEndpointRule) { } +func (c NccAzureServiceEndpointRule) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccAzureServiceEndpointRule. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7052,6 +7236,14 @@ func (newState *NccEgressConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Nc func (newState *NccEgressConfig) SyncEffectiveFieldsDuringRead(existingState NccEgressConfig) { } +func (c NccEgressConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "default_rules")...) + NccEgressDefaultRules{}.ApplySchemaCustomizations(cs, append(path, "default_rules")...) + NccEgressTargetRules{}.ApplySchemaCustomizations(cs, append(path, "target_rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccEgressConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7164,6 +7356,13 @@ func (newState *NccEgressDefaultRules) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *NccEgressDefaultRules) SyncEffectiveFieldsDuringRead(existingState NccEgressDefaultRules) { } +func (c NccEgressDefaultRules) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NccAwsStableIpRule{}.ApplySchemaCustomizations(cs, append(path, "aws_stable_ip_rule")...) + NccAzureServiceEndpointRule{}.ApplySchemaCustomizations(cs, append(path, "azure_service_endpoint_rule")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccEgressDefaultRules. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7268,6 +7467,12 @@ func (newState *NccEgressTargetRules) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *NccEgressTargetRules) SyncEffectiveFieldsDuringRead(existingState NccEgressTargetRules) { } +func (c NccEgressTargetRules) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + NccAzurePrivateEndpointRule{}.ApplySchemaCustomizations(cs, append(path, "azure_private_endpoint_rules")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NccEgressTargetRules. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7358,6 +7563,15 @@ func (newState *NetworkConnectivityConfiguration) SyncEffectiveFieldsDuringCreat func (newState *NetworkConnectivityConfiguration) SyncEffectiveFieldsDuringRead(existingState NetworkConnectivityConfiguration) { } +func (c NetworkConnectivityConfiguration) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "creation_time")...) + NccEgressConfig{}.ApplySchemaCustomizations(cs, append(path, "egress_config")...) + cs.SetComputed(append(path, "network_connectivity_config_id")...) + cs.SetComputed(append(path, "updated_time")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NetworkConnectivityConfiguration. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7451,6 +7665,12 @@ func (newState *NotificationDestination) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *NotificationDestination) SyncEffectiveFieldsDuringRead(existingState NotificationDestination) { } +func (c NotificationDestination) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Config{}.ApplySchemaCustomizations(cs, append(path, "config")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NotificationDestination. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7531,6 +7751,11 @@ func (newState *PagerdutyConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pa func (newState *PagerdutyConfig) SyncEffectiveFieldsDuringRead(existingState PagerdutyConfig) { } +func (c PagerdutyConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PagerdutyConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7576,6 +7801,11 @@ func (newState *PartitionId) SyncEffectiveFieldsDuringCreateOrUpdate(plan Partit func (newState *PartitionId) SyncEffectiveFieldsDuringRead(existingState PartitionId) { } +func (c PartitionId) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionId. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7624,6 +7854,12 @@ func (newState *PersonalComputeMessage) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PersonalComputeMessage) SyncEffectiveFieldsDuringRead(existingState PersonalComputeMessage) { } +func (c PersonalComputeMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PersonalComputeMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7680,6 +7916,13 @@ func (newState *PersonalComputeSetting) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *PersonalComputeSetting) SyncEffectiveFieldsDuringRead(existingState PersonalComputeSetting) { } +func (c PersonalComputeSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "personal_compute")...) + PersonalComputeMessage{}.ApplySchemaCustomizations(cs, append(path, "personal_compute")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PersonalComputeSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7763,6 +8006,11 @@ func (newState *PublicTokenInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pu func (newState *PublicTokenInfo) SyncEffectiveFieldsDuringRead(existingState PublicTokenInfo) { } +func (c PublicTokenInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PublicTokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7825,6 +8073,15 @@ func (newState *ReplaceIpAccessList) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ReplaceIpAccessList) SyncEffectiveFieldsDuringRead(existingState ReplaceIpAccessList) { } +func (c ReplaceIpAccessList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "enabled")...) + cs.SetRequired(append(path, "ip_access_list_id")...) + cs.SetRequired(append(path, "label")...) + cs.SetRequired(append(path, "list_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ReplaceIpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7897,12 +8154,6 @@ func (o *ReplaceIpAccessList) SetIpAddresses(ctx context.Context, v []types.Stri type ReplaceResponse struct { } -func (newState *ReplaceResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReplaceResponse) { -} - -func (newState *ReplaceResponse) SyncEffectiveFieldsDuringRead(existingState ReplaceResponse) { -} - // 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 @@ -7940,6 +8191,12 @@ func (newState *RestrictWorkspaceAdminsMessage) SyncEffectiveFieldsDuringCreateO func (newState *RestrictWorkspaceAdminsMessage) SyncEffectiveFieldsDuringRead(existingState RestrictWorkspaceAdminsMessage) { } +func (c RestrictWorkspaceAdminsMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestrictWorkspaceAdminsMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7996,6 +8253,13 @@ func (newState *RestrictWorkspaceAdminsSetting) SyncEffectiveFieldsDuringCreateO func (newState *RestrictWorkspaceAdminsSetting) SyncEffectiveFieldsDuringRead(existingState RestrictWorkspaceAdminsSetting) { } +func (c RestrictWorkspaceAdminsSetting) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "restrict_workspace_admins")...) + RestrictWorkspaceAdminsMessage{}.ApplySchemaCustomizations(cs, append(path, "restrict_workspace_admins")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestrictWorkspaceAdminsSetting. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8072,6 +8336,12 @@ func (newState *RevokeTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RevokeTokenRequest) SyncEffectiveFieldsDuringRead(existingState RevokeTokenRequest) { } +func (c RevokeTokenRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "token_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RevokeTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8112,6 +8382,11 @@ func (newState *RevokeTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RevokeTokenResponse) SyncEffectiveFieldsDuringRead(existingState RevokeTokenResponse) { } +func (c RevokeTokenResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RevokeTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8142,12 +8417,6 @@ func (o RevokeTokenResponse) Type(ctx context.Context) attr.Type { type SetStatusResponse struct { } -func (newState *SetStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetStatusResponse) { -} - -func (newState *SetStatusResponse) SyncEffectiveFieldsDuringRead(existingState SetStatusResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetStatusResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8188,6 +8457,11 @@ func (newState *SlackConfig) SyncEffectiveFieldsDuringCreateOrUpdate(plan SlackC func (newState *SlackConfig) SyncEffectiveFieldsDuringRead(existingState SlackConfig) { } +func (c SlackConfig) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SlackConfig. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8232,6 +8506,11 @@ func (newState *StringMessage) SyncEffectiveFieldsDuringCreateOrUpdate(plan Stri func (newState *StringMessage) SyncEffectiveFieldsDuringRead(existingState StringMessage) { } +func (c StringMessage) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StringMessage. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8280,6 +8559,11 @@ func (newState *TokenAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpda func (newState *TokenAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState TokenAccessControlRequest) { } +func (c TokenAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8336,6 +8620,12 @@ func (newState *TokenAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *TokenAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState TokenAccessControlResponse) { } +func (c TokenAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8434,6 +8724,11 @@ func (newState *TokenInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan TokenInf func (newState *TokenInfo) SyncEffectiveFieldsDuringRead(existingState TokenInfo) { } +func (c TokenInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8495,6 +8790,11 @@ func (newState *TokenPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan To func (newState *TokenPermission) SyncEffectiveFieldsDuringRead(existingState TokenPermission) { } +func (c TokenPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8574,6 +8874,12 @@ func (newState *TokenPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan T func (newState *TokenPermissions) SyncEffectiveFieldsDuringRead(existingState TokenPermissions) { } +func (c TokenPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8651,6 +8957,11 @@ func (newState *TokenPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUp func (newState *TokenPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState TokenPermissionsDescription) { } +func (c TokenPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8694,6 +9005,12 @@ func (newState *TokenPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *TokenPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState TokenPermissionsRequest) { } +func (c TokenPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TokenAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TokenPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8775,6 +9092,15 @@ func (newState *UpdateAibiDashboardEmbeddingAccessPolicySettingRequest) SyncEffe func (newState *UpdateAibiDashboardEmbeddingAccessPolicySettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAibiDashboardEmbeddingAccessPolicySettingRequest) { } +func (c UpdateAibiDashboardEmbeddingAccessPolicySettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + AibiDashboardEmbeddingAccessPolicySetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAibiDashboardEmbeddingAccessPolicySettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8860,6 +9186,15 @@ func (newState *UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest) SyncE func (newState *UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest) { } +func (c UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + AibiDashboardEmbeddingApprovedDomainsSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAibiDashboardEmbeddingApprovedDomainsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8945,6 +9280,15 @@ func (newState *UpdateAutomaticClusterUpdateSettingRequest) SyncEffectiveFieldsD func (newState *UpdateAutomaticClusterUpdateSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAutomaticClusterUpdateSettingRequest) { } +func (c UpdateAutomaticClusterUpdateSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + AutomaticClusterUpdateSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAutomaticClusterUpdateSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9030,6 +9374,15 @@ func (newState *UpdateComplianceSecurityProfileSettingRequest) SyncEffectiveFiel func (newState *UpdateComplianceSecurityProfileSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateComplianceSecurityProfileSettingRequest) { } +func (c UpdateComplianceSecurityProfileSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + ComplianceSecurityProfileSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateComplianceSecurityProfileSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9115,6 +9468,15 @@ func (newState *UpdateCspEnablementAccountSettingRequest) SyncEffectiveFieldsDur func (newState *UpdateCspEnablementAccountSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateCspEnablementAccountSettingRequest) { } +func (c UpdateCspEnablementAccountSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + CspEnablementAccountSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCspEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9208,6 +9570,15 @@ func (newState *UpdateDefaultNamespaceSettingRequest) SyncEffectiveFieldsDuringC func (newState *UpdateDefaultNamespaceSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateDefaultNamespaceSettingRequest) { } +func (c UpdateDefaultNamespaceSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DefaultNamespaceSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDefaultNamespaceSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9293,6 +9664,15 @@ func (newState *UpdateDisableLegacyAccessRequest) SyncEffectiveFieldsDuringCreat func (newState *UpdateDisableLegacyAccessRequest) SyncEffectiveFieldsDuringRead(existingState UpdateDisableLegacyAccessRequest) { } +func (c UpdateDisableLegacyAccessRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DisableLegacyAccess{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDisableLegacyAccessRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9378,6 +9758,15 @@ func (newState *UpdateDisableLegacyDbfsRequest) SyncEffectiveFieldsDuringCreateO func (newState *UpdateDisableLegacyDbfsRequest) SyncEffectiveFieldsDuringRead(existingState UpdateDisableLegacyDbfsRequest) { } +func (c UpdateDisableLegacyDbfsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DisableLegacyDbfs{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDisableLegacyDbfsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9463,6 +9852,15 @@ func (newState *UpdateDisableLegacyFeaturesRequest) SyncEffectiveFieldsDuringCre func (newState *UpdateDisableLegacyFeaturesRequest) SyncEffectiveFieldsDuringRead(existingState UpdateDisableLegacyFeaturesRequest) { } +func (c UpdateDisableLegacyFeaturesRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + DisableLegacyFeatures{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateDisableLegacyFeaturesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9548,6 +9946,15 @@ func (newState *UpdateEnhancedSecurityMonitoringSettingRequest) SyncEffectiveFie func (newState *UpdateEnhancedSecurityMonitoringSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateEnhancedSecurityMonitoringSettingRequest) { } +func (c UpdateEnhancedSecurityMonitoringSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + EnhancedSecurityMonitoringSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateEnhancedSecurityMonitoringSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9633,6 +10040,15 @@ func (newState *UpdateEsmEnablementAccountSettingRequest) SyncEffectiveFieldsDur func (newState *UpdateEsmEnablementAccountSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateEsmEnablementAccountSettingRequest) { } +func (c UpdateEsmEnablementAccountSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + EsmEnablementAccountSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateEsmEnablementAccountSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9723,6 +10139,12 @@ func (newState *UpdateIpAccessList) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateIpAccessList) SyncEffectiveFieldsDuringRead(existingState UpdateIpAccessList) { } +func (c UpdateIpAccessList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "ip_access_list_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateIpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9808,6 +10230,13 @@ func (newState *UpdateNotificationDestinationRequest) SyncEffectiveFieldsDuringC func (newState *UpdateNotificationDestinationRequest) SyncEffectiveFieldsDuringRead(existingState UpdateNotificationDestinationRequest) { } +func (c UpdateNotificationDestinationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Config{}.ApplySchemaCustomizations(cs, append(path, "config")...) + cs.SetRequired(append(path, "id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateNotificationDestinationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9893,6 +10322,15 @@ func (newState *UpdatePersonalComputeSettingRequest) SyncEffectiveFieldsDuringCr func (newState *UpdatePersonalComputeSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdatePersonalComputeSettingRequest) { } +func (c UpdatePersonalComputeSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + PersonalComputeSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePersonalComputeSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9961,12 +10399,6 @@ func (o *UpdatePersonalComputeSettingRequest) SetSetting(ctx context.Context, v type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -10014,6 +10446,15 @@ func (newState *UpdateRestrictWorkspaceAdminsSettingRequest) SyncEffectiveFields func (newState *UpdateRestrictWorkspaceAdminsSettingRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRestrictWorkspaceAdminsSettingRequest) { } +func (c UpdateRestrictWorkspaceAdminsSettingRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "allow_missing")...) + cs.SetRequired(append(path, "field_mask")...) + cs.SetRequired(append(path, "setting")...) + RestrictWorkspaceAdminsSetting{}.ApplySchemaCustomizations(cs, append(path, "setting")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRestrictWorkspaceAdminsSettingRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/sharing_tf/legacy_model.go b/internal/service/sharing_tf/legacy_model.go index 6bbf36a8e..fe90a39db 100755 --- a/internal/service/sharing_tf/legacy_model.go +++ b/internal/service/sharing_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/catalog_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -40,6 +41,13 @@ func (newState *CreateProvider_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateProvider_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateProvider_SdkV2) { } +func (c CreateProvider_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "authentication_type")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProvider. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -108,6 +116,15 @@ func (newState *CreateRecipient_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *CreateRecipient_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRecipient_SdkV2) { } +func (c CreateRecipient_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "authentication_type")...) + IpAccessList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + cs.SetRequired(append(path, "name")...) + SecurablePropertiesKvPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "properties_kvpairs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRecipient. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -229,6 +246,12 @@ func (newState *CreateShare_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateShare_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateShare_SdkV2) { } +func (c CreateShare_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateShare. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -270,12 +293,6 @@ type DeleteProviderRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteProviderRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteProviderRequest_SdkV2) { -} - -func (newState *DeleteProviderRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteProviderRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -313,12 +330,6 @@ type DeleteRecipientRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteRecipientRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRecipientRequest_SdkV2) { -} - -func (newState *DeleteRecipientRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRecipientRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRecipientRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -353,12 +364,6 @@ func (o DeleteRecipientRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -392,12 +397,6 @@ type DeleteShareRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteShareRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteShareRequest_SdkV2) { -} - -func (newState *DeleteShareRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteShareRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteShareRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -435,12 +434,6 @@ type GetActivationUrlInfoRequest_SdkV2 struct { ActivationUrl types.String `tfsdk:"-"` } -func (newState *GetActivationUrlInfoRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetActivationUrlInfoRequest_SdkV2) { -} - -func (newState *GetActivationUrlInfoRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetActivationUrlInfoRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetActivationUrlInfoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -481,6 +474,11 @@ func (newState *GetActivationUrlInfoResponse_SdkV2) SyncEffectiveFieldsDuringCre func (newState *GetActivationUrlInfoResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetActivationUrlInfoResponse_SdkV2) { } +func (c GetActivationUrlInfoResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetActivationUrlInfoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -514,12 +512,6 @@ type GetProviderRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetProviderRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetProviderRequest_SdkV2) { -} - -func (newState *GetProviderRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetProviderRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -557,12 +549,6 @@ type GetRecipientRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetRecipientRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRecipientRequest_SdkV2) { -} - -func (newState *GetRecipientRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRecipientRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRecipientRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -609,6 +595,12 @@ func (newState *GetRecipientSharePermissionsResponse_SdkV2) SyncEffectiveFieldsD func (newState *GetRecipientSharePermissionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRecipientSharePermissionsResponse_SdkV2) { } +func (c GetRecipientSharePermissionsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ShareToPrivilegeAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permissions_out")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRecipientSharePermissionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -680,12 +672,6 @@ type GetShareRequest_SdkV2 struct { Name types.String `tfsdk:"-"` } -func (newState *GetShareRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetShareRequest_SdkV2) { -} - -func (newState *GetShareRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetShareRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetShareRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -730,6 +716,11 @@ func (newState *IpAccessList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *IpAccessList_SdkV2) SyncEffectiveFieldsDuringRead(existingState IpAccessList_SdkV2) { } +func (c IpAccessList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -806,6 +797,12 @@ func (newState *ListProviderSharesResponse_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ListProviderSharesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListProviderSharesResponse_SdkV2) { } +func (c ListProviderSharesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderShare_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "shares")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProviderSharesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -888,12 +885,6 @@ type ListProvidersRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListProvidersRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProvidersRequest_SdkV2) { -} - -func (newState *ListProvidersRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListProvidersRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -944,6 +935,12 @@ func (newState *ListProvidersResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *ListProvidersResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListProvidersResponse_SdkV2) { } +func (c ListProvidersResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "providers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1026,12 +1023,6 @@ type ListRecipientsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListRecipientsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRecipientsRequest_SdkV2) { -} - -func (newState *ListRecipientsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRecipientsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRecipientsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1082,6 +1073,12 @@ func (newState *ListRecipientsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ListRecipientsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListRecipientsResponse_SdkV2) { } +func (c ListRecipientsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RecipientInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "recipients")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRecipientsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1163,12 +1160,6 @@ type ListSharesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSharesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSharesRequest_SdkV2) { -} - -func (newState *ListSharesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSharesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSharesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1219,6 +1210,12 @@ func (newState *ListSharesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListSharesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSharesResponse_SdkV2) { } +func (c ListSharesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ShareInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "shares")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSharesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1293,6 +1290,12 @@ func (newState *Partition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pa func (newState *Partition_SdkV2) SyncEffectiveFieldsDuringRead(existingState Partition_SdkV2) { } +func (c Partition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PartitionValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Partition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1365,6 +1368,12 @@ func (newState *PartitionSpecificationPartition_SdkV2) SyncEffectiveFieldsDuring func (newState *PartitionSpecificationPartition_SdkV2) SyncEffectiveFieldsDuringRead(existingState PartitionSpecificationPartition_SdkV2) { } +func (c PartitionSpecificationPartition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PartitionValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionSpecificationPartition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1447,6 +1456,11 @@ func (newState *PartitionValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *PartitionValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState PartitionValue_SdkV2) { } +func (c PartitionValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1497,6 +1511,11 @@ func (newState *PrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *PrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState PrivilegeAssignment_SdkV2) { } +func (c PrivilegeAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1604,6 +1623,12 @@ func (newState *ProviderInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ProviderInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ProviderInfo_SdkV2) { } +func (c ProviderInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RecipientProfile_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "recipient_profile")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1702,6 +1727,11 @@ func (newState *ProviderShare_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ProviderShare_SdkV2) SyncEffectiveFieldsDuringRead(existingState ProviderShare_SdkV2) { } +func (c ProviderShare_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderShare. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1787,6 +1817,14 @@ func (newState *RecipientInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *RecipientInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RecipientInfo_SdkV2) { } +func (c RecipientInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + SecurablePropertiesKvPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "properties_kvpairs")...) + RecipientTokenInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tokens")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1955,6 +1993,11 @@ func (newState *RecipientProfile_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *RecipientProfile_SdkV2) SyncEffectiveFieldsDuringRead(existingState RecipientProfile_SdkV2) { } +func (c RecipientProfile_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2014,6 +2057,11 @@ func (newState *RecipientTokenInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *RecipientTokenInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RecipientTokenInfo_SdkV2) { } +func (c RecipientTokenInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientTokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2063,12 +2111,6 @@ type RetrieveTokenRequest_SdkV2 struct { ActivationUrl types.String `tfsdk:"-"` } -func (newState *RetrieveTokenRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RetrieveTokenRequest_SdkV2) { -} - -func (newState *RetrieveTokenRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RetrieveTokenRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RetrieveTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2117,6 +2159,11 @@ func (newState *RetrieveTokenResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *RetrieveTokenResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RetrieveTokenResponse_SdkV2) { } +func (c RetrieveTokenResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RetrieveTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2170,6 +2217,13 @@ func (newState *RotateRecipientToken_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *RotateRecipientToken_SdkV2) SyncEffectiveFieldsDuringRead(existingState RotateRecipientToken_SdkV2) { } +func (c RotateRecipientToken_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "existing_token_expire_in_seconds")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RotateRecipientToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2216,6 +2270,12 @@ func (newState *SecurablePropertiesKvPairs_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *SecurablePropertiesKvPairs_SdkV2) SyncEffectiveFieldsDuringRead(existingState SecurablePropertiesKvPairs_SdkV2) { } +func (c SecurablePropertiesKvPairs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "properties")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecurablePropertiesKvPairs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2306,6 +2366,17 @@ func (newState *ShareInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sh func (newState *ShareInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ShareInfo_SdkV2) { } +func (c ShareInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "created_at")...) + cs.SetComputed(append(path, "created_by")...) + SharedDataObject_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "object")...) + cs.SetComputed(append(path, "owner")...) + cs.SetComputed(append(path, "updated_at")...) + cs.SetComputed(append(path, "updated_by")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2403,12 +2474,6 @@ type SharePermissionsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *SharePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SharePermissionsRequest_SdkV2) { -} - -func (newState *SharePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SharePermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2457,6 +2522,12 @@ func (newState *ShareToPrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *ShareToPrivilegeAssignment_SdkV2) SyncEffectiveFieldsDuringRead(existingState ShareToPrivilegeAssignment_SdkV2) { } +func (c ShareToPrivilegeAssignment_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PrivilegeAssignment_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "privilege_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareToPrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2604,6 +2675,20 @@ func (newState *SharedDataObject_SdkV2) SyncEffectiveFieldsDuringRead(existingSt } } +func (c SharedDataObject_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "added_at")...) + cs.SetComputed(append(path, "added_by")...) + cs.SetComputed(append(path, "effective_cdf_enabled")...) + cs.SetComputed(append(path, "effective_history_data_sharing_status")...) + cs.SetRequired(append(path, "name")...) + Partition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "partition")...) + cs.SetComputed(append(path, "effective_shared_as")...) + cs.SetComputed(append(path, "effective_start_version")...) + cs.SetComputed(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObject. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2710,6 +2795,12 @@ func (newState *SharedDataObjectUpdate_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *SharedDataObjectUpdate_SdkV2) SyncEffectiveFieldsDuringRead(existingState SharedDataObjectUpdate_SdkV2) { } +func (c SharedDataObjectUpdate_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SharedDataObject_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_object")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObjectUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2776,12 +2867,6 @@ func (o *SharedDataObjectUpdate_SdkV2) SetDataObject(ctx context.Context, v Shar type UpdatePermissionsResponse_SdkV2 struct { } -func (newState *UpdatePermissionsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdatePermissionsResponse_SdkV2) { -} - -func (newState *UpdatePermissionsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdatePermissionsResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePermissionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2829,6 +2914,12 @@ func (newState *UpdateProvider_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *UpdateProvider_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateProvider_SdkV2) { } +func (c UpdateProvider_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProvider. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2894,6 +2985,14 @@ func (newState *UpdateRecipient_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *UpdateRecipient_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRecipient_SdkV2) { } +func (c UpdateRecipient_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessList_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + cs.SetRequired(append(path, "name")...) + SecurablePropertiesKvPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "properties_kvpairs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRecipient. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2999,12 +3098,6 @@ func (o *UpdateRecipient_SdkV2) SetPropertiesKvpairs(ctx context.Context, v Secu type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -3053,6 +3146,14 @@ func (newState *UpdateShare_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateShare_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateShare_SdkV2) { } +func (c UpdateShare_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetComputed(append(path, "owner")...) + SharedDataObjectUpdate_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "updates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateShare. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3149,6 +3250,12 @@ func (newState *UpdateSharePermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *UpdateSharePermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateSharePermissions_SdkV2) { } +func (c UpdateSharePermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSharePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/sharing_tf/model.go b/internal/service/sharing_tf/model.go index d1918325e..da6d4d56f 100755 --- a/internal/service/sharing_tf/model.go +++ b/internal/service/sharing_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/databricks/terraform-provider-databricks/internal/service/catalog_tf" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -40,6 +41,13 @@ func (newState *CreateProvider) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CreateProvider) SyncEffectiveFieldsDuringRead(existingState CreateProvider) { } +func (c CreateProvider) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "authentication_type")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateProvider. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -108,6 +116,15 @@ func (newState *CreateRecipient) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cr func (newState *CreateRecipient) SyncEffectiveFieldsDuringRead(existingState CreateRecipient) { } +func (c CreateRecipient) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "authentication_type")...) + IpAccessList{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + cs.SetRequired(append(path, "name")...) + SecurablePropertiesKvPairs{}.ApplySchemaCustomizations(cs, append(path, "properties_kvpairs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRecipient. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -229,6 +246,12 @@ func (newState *CreateShare) SyncEffectiveFieldsDuringCreateOrUpdate(plan Create func (newState *CreateShare) SyncEffectiveFieldsDuringRead(existingState CreateShare) { } +func (c CreateShare) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateShare. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -270,12 +293,6 @@ type DeleteProviderRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteProviderRequest) { -} - -func (newState *DeleteProviderRequest) SyncEffectiveFieldsDuringRead(existingState DeleteProviderRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -313,12 +330,6 @@ type DeleteRecipientRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteRecipientRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRecipientRequest) { -} - -func (newState *DeleteRecipientRequest) SyncEffectiveFieldsDuringRead(existingState DeleteRecipientRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRecipientRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -353,12 +364,6 @@ func (o DeleteRecipientRequest) Type(ctx context.Context) attr.Type { type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -392,12 +397,6 @@ type DeleteShareRequest struct { Name types.String `tfsdk:"-"` } -func (newState *DeleteShareRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteShareRequest) { -} - -func (newState *DeleteShareRequest) SyncEffectiveFieldsDuringRead(existingState DeleteShareRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteShareRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -435,12 +434,6 @@ type GetActivationUrlInfoRequest struct { ActivationUrl types.String `tfsdk:"-"` } -func (newState *GetActivationUrlInfoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetActivationUrlInfoRequest) { -} - -func (newState *GetActivationUrlInfoRequest) SyncEffectiveFieldsDuringRead(existingState GetActivationUrlInfoRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetActivationUrlInfoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -481,6 +474,11 @@ func (newState *GetActivationUrlInfoResponse) SyncEffectiveFieldsDuringCreateOrU func (newState *GetActivationUrlInfoResponse) SyncEffectiveFieldsDuringRead(existingState GetActivationUrlInfoResponse) { } +func (c GetActivationUrlInfoResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetActivationUrlInfoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -514,12 +512,6 @@ type GetProviderRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetProviderRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetProviderRequest) { -} - -func (newState *GetProviderRequest) SyncEffectiveFieldsDuringRead(existingState GetProviderRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetProviderRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -557,12 +549,6 @@ type GetRecipientRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetRecipientRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRecipientRequest) { -} - -func (newState *GetRecipientRequest) SyncEffectiveFieldsDuringRead(existingState GetRecipientRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRecipientRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -609,6 +595,12 @@ func (newState *GetRecipientSharePermissionsResponse) SyncEffectiveFieldsDuringC func (newState *GetRecipientSharePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState GetRecipientSharePermissionsResponse) { } +func (c GetRecipientSharePermissionsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ShareToPrivilegeAssignment{}.ApplySchemaCustomizations(cs, append(path, "permissions_out")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRecipientSharePermissionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -680,12 +672,6 @@ type GetShareRequest struct { Name types.String `tfsdk:"-"` } -func (newState *GetShareRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetShareRequest) { -} - -func (newState *GetShareRequest) SyncEffectiveFieldsDuringRead(existingState GetShareRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetShareRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -730,6 +716,11 @@ func (newState *IpAccessList) SyncEffectiveFieldsDuringCreateOrUpdate(plan IpAcc func (newState *IpAccessList) SyncEffectiveFieldsDuringRead(existingState IpAccessList) { } +func (c IpAccessList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in IpAccessList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -806,6 +797,12 @@ func (newState *ListProviderSharesResponse) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListProviderSharesResponse) SyncEffectiveFieldsDuringRead(existingState ListProviderSharesResponse) { } +func (c ListProviderSharesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderShare{}.ApplySchemaCustomizations(cs, append(path, "shares")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProviderSharesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -888,12 +885,6 @@ type ListProvidersRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListProvidersRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListProvidersRequest) { -} - -func (newState *ListProvidersRequest) SyncEffectiveFieldsDuringRead(existingState ListProvidersRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -944,6 +935,12 @@ func (newState *ListProvidersResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *ListProvidersResponse) SyncEffectiveFieldsDuringRead(existingState ListProvidersResponse) { } +func (c ListProvidersResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ProviderInfo{}.ApplySchemaCustomizations(cs, append(path, "providers")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListProvidersResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1026,12 +1023,6 @@ type ListRecipientsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListRecipientsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListRecipientsRequest) { -} - -func (newState *ListRecipientsRequest) SyncEffectiveFieldsDuringRead(existingState ListRecipientsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRecipientsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1082,6 +1073,12 @@ func (newState *ListRecipientsResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListRecipientsResponse) SyncEffectiveFieldsDuringRead(existingState ListRecipientsResponse) { } +func (c ListRecipientsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RecipientInfo{}.ApplySchemaCustomizations(cs, append(path, "recipients")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListRecipientsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1163,12 +1160,6 @@ type ListSharesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListSharesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSharesRequest) { -} - -func (newState *ListSharesRequest) SyncEffectiveFieldsDuringRead(existingState ListSharesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSharesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1219,6 +1210,12 @@ func (newState *ListSharesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListSharesResponse) SyncEffectiveFieldsDuringRead(existingState ListSharesResponse) { } +func (c ListSharesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ShareInfo{}.ApplySchemaCustomizations(cs, append(path, "shares")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSharesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1293,6 +1290,12 @@ func (newState *Partition) SyncEffectiveFieldsDuringCreateOrUpdate(plan Partitio func (newState *Partition) SyncEffectiveFieldsDuringRead(existingState Partition) { } +func (c Partition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PartitionValue{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Partition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1365,6 +1368,12 @@ func (newState *PartitionSpecificationPartition) SyncEffectiveFieldsDuringCreate func (newState *PartitionSpecificationPartition) SyncEffectiveFieldsDuringRead(existingState PartitionSpecificationPartition) { } +func (c PartitionSpecificationPartition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PartitionValue{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionSpecificationPartition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1447,6 +1456,11 @@ func (newState *PartitionValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan Par func (newState *PartitionValue) SyncEffectiveFieldsDuringRead(existingState PartitionValue) { } +func (c PartitionValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PartitionValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1497,6 +1511,11 @@ func (newState *PrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *PrivilegeAssignment) SyncEffectiveFieldsDuringRead(existingState PrivilegeAssignment) { } +func (c PrivilegeAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1604,6 +1623,12 @@ func (newState *ProviderInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Provi func (newState *ProviderInfo) SyncEffectiveFieldsDuringRead(existingState ProviderInfo) { } +func (c ProviderInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RecipientProfile{}.ApplySchemaCustomizations(cs, append(path, "recipient_profile")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1702,6 +1727,11 @@ func (newState *ProviderShare) SyncEffectiveFieldsDuringCreateOrUpdate(plan Prov func (newState *ProviderShare) SyncEffectiveFieldsDuringRead(existingState ProviderShare) { } +func (c ProviderShare) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ProviderShare. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1787,6 +1817,14 @@ func (newState *RecipientInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Reci func (newState *RecipientInfo) SyncEffectiveFieldsDuringRead(existingState RecipientInfo) { } +func (c RecipientInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessList{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + SecurablePropertiesKvPairs{}.ApplySchemaCustomizations(cs, append(path, "properties_kvpairs")...) + RecipientTokenInfo{}.ApplySchemaCustomizations(cs, append(path, "tokens")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1955,6 +1993,11 @@ func (newState *RecipientProfile) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *RecipientProfile) SyncEffectiveFieldsDuringRead(existingState RecipientProfile) { } +func (c RecipientProfile) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientProfile. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2014,6 +2057,11 @@ func (newState *RecipientTokenInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *RecipientTokenInfo) SyncEffectiveFieldsDuringRead(existingState RecipientTokenInfo) { } +func (c RecipientTokenInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RecipientTokenInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2063,12 +2111,6 @@ type RetrieveTokenRequest struct { ActivationUrl types.String `tfsdk:"-"` } -func (newState *RetrieveTokenRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RetrieveTokenRequest) { -} - -func (newState *RetrieveTokenRequest) SyncEffectiveFieldsDuringRead(existingState RetrieveTokenRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RetrieveTokenRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2117,6 +2159,11 @@ func (newState *RetrieveTokenResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *RetrieveTokenResponse) SyncEffectiveFieldsDuringRead(existingState RetrieveTokenResponse) { } +func (c RetrieveTokenResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RetrieveTokenResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2170,6 +2217,13 @@ func (newState *RotateRecipientToken) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RotateRecipientToken) SyncEffectiveFieldsDuringRead(existingState RotateRecipientToken) { } +func (c RotateRecipientToken) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "existing_token_expire_in_seconds")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RotateRecipientToken. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2216,6 +2270,12 @@ func (newState *SecurablePropertiesKvPairs) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SecurablePropertiesKvPairs) SyncEffectiveFieldsDuringRead(existingState SecurablePropertiesKvPairs) { } +func (c SecurablePropertiesKvPairs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "properties")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecurablePropertiesKvPairs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2306,6 +2366,17 @@ func (newState *ShareInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ShareInf func (newState *ShareInfo) SyncEffectiveFieldsDuringRead(existingState ShareInfo) { } +func (c ShareInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "created_at")...) + cs.SetComputed(append(path, "created_by")...) + SharedDataObject{}.ApplySchemaCustomizations(cs, append(path, "object")...) + cs.SetComputed(append(path, "owner")...) + cs.SetComputed(append(path, "updated_at")...) + cs.SetComputed(append(path, "updated_by")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2403,12 +2474,6 @@ type SharePermissionsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *SharePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SharePermissionsRequest) { -} - -func (newState *SharePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState SharePermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2457,6 +2522,12 @@ func (newState *ShareToPrivilegeAssignment) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ShareToPrivilegeAssignment) SyncEffectiveFieldsDuringRead(existingState ShareToPrivilegeAssignment) { } +func (c ShareToPrivilegeAssignment) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + PrivilegeAssignment{}.ApplySchemaCustomizations(cs, append(path, "privilege_assignments")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ShareToPrivilegeAssignment. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2604,6 +2675,20 @@ func (newState *SharedDataObject) SyncEffectiveFieldsDuringRead(existingState Sh } } +func (c SharedDataObject) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetComputed(append(path, "added_at")...) + cs.SetComputed(append(path, "added_by")...) + cs.SetComputed(append(path, "effective_cdf_enabled")...) + cs.SetComputed(append(path, "effective_history_data_sharing_status")...) + cs.SetRequired(append(path, "name")...) + Partition{}.ApplySchemaCustomizations(cs, append(path, "partition")...) + cs.SetComputed(append(path, "effective_shared_as")...) + cs.SetComputed(append(path, "effective_start_version")...) + cs.SetComputed(append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObject. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2710,6 +2795,12 @@ func (newState *SharedDataObjectUpdate) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *SharedDataObjectUpdate) SyncEffectiveFieldsDuringRead(existingState SharedDataObjectUpdate) { } +func (c SharedDataObjectUpdate) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SharedDataObject{}.ApplySchemaCustomizations(cs, append(path, "data_object")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SharedDataObjectUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2776,12 +2867,6 @@ func (o *SharedDataObjectUpdate) SetDataObject(ctx context.Context, v SharedData type UpdatePermissionsResponse struct { } -func (newState *UpdatePermissionsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdatePermissionsResponse) { -} - -func (newState *UpdatePermissionsResponse) SyncEffectiveFieldsDuringRead(existingState UpdatePermissionsResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdatePermissionsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2829,6 +2914,12 @@ func (newState *UpdateProvider) SyncEffectiveFieldsDuringCreateOrUpdate(plan Upd func (newState *UpdateProvider) SyncEffectiveFieldsDuringRead(existingState UpdateProvider) { } +func (c UpdateProvider) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateProvider. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2894,6 +2985,14 @@ func (newState *UpdateRecipient) SyncEffectiveFieldsDuringCreateOrUpdate(plan Up func (newState *UpdateRecipient) SyncEffectiveFieldsDuringRead(existingState UpdateRecipient) { } +func (c UpdateRecipient) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + IpAccessList{}.ApplySchemaCustomizations(cs, append(path, "ip_access_list")...) + cs.SetRequired(append(path, "name")...) + SecurablePropertiesKvPairs{}.ApplySchemaCustomizations(cs, append(path, "properties_kvpairs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRecipient. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2999,12 +3098,6 @@ func (o *UpdateRecipient) SetPropertiesKvpairs(ctx context.Context, v SecurableP type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -3053,6 +3146,14 @@ func (newState *UpdateShare) SyncEffectiveFieldsDuringCreateOrUpdate(plan Update func (newState *UpdateShare) SyncEffectiveFieldsDuringRead(existingState UpdateShare) { } +func (c UpdateShare) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetComputed(append(path, "owner")...) + SharedDataObjectUpdate{}.ApplySchemaCustomizations(cs, append(path, "updates")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateShare. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3149,6 +3250,12 @@ func (newState *UpdateSharePermissions) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpdateSharePermissions) SyncEffectiveFieldsDuringRead(existingState UpdateSharePermissions) { } +func (c UpdateSharePermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateSharePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/sql_tf/legacy_model.go b/internal/service/sql_tf/legacy_model.go index 38e1e401f..92d1a357d 100755 --- a/internal/service/sql_tf/legacy_model.go +++ b/internal/service/sql_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -36,6 +37,11 @@ func (newState *AccessControl_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *AccessControl_SdkV2) SyncEffectiveFieldsDuringRead(existingState AccessControl_SdkV2) { } +func (c AccessControl_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControl. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -123,6 +129,12 @@ func (newState *Alert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Alert_ func (newState *Alert_SdkV2) SyncEffectiveFieldsDuringRead(existingState Alert_SdkV2) { } +func (c Alert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Alert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -230,6 +242,13 @@ func (newState *AlertCondition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *AlertCondition_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertCondition_SdkV2) { } +func (c AlertCondition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertConditionOperand_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "operand")...) + AlertConditionThreshold_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "threshold")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertCondition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -336,6 +355,12 @@ func (newState *AlertConditionOperand_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *AlertConditionOperand_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertConditionOperand_SdkV2) { } +func (c AlertConditionOperand_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertOperandColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "column")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConditionOperand. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -407,6 +432,12 @@ func (newState *AlertConditionThreshold_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *AlertConditionThreshold_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertConditionThreshold_SdkV2) { } +func (c AlertConditionThreshold_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertOperandValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConditionThreshold. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -478,6 +509,11 @@ func (newState *AlertOperandColumn_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *AlertOperandColumn_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertOperandColumn_SdkV2) { } +func (c AlertOperandColumn_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertOperandColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -523,6 +559,11 @@ func (newState *AlertOperandValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AlertOperandValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertOperandValue_SdkV2) { } +func (c AlertOperandValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertOperandValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -592,6 +633,14 @@ func (newState *AlertOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AlertOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertOptions_SdkV2) { } +func (c AlertOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "column")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -683,6 +732,12 @@ func (newState *AlertQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan A func (newState *AlertQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState AlertQuery_SdkV2) { } +func (c AlertQuery_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -818,6 +873,11 @@ func (newState *BaseChunkInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *BaseChunkInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState BaseChunkInfo_SdkV2) { } +func (c BaseChunkInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseChunkInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -862,12 +922,6 @@ type CancelExecutionRequest_SdkV2 struct { StatementId types.String `tfsdk:"-"` } -func (newState *CancelExecutionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelExecutionRequest_SdkV2) { -} - -func (newState *CancelExecutionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelExecutionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelExecutionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -902,12 +956,6 @@ func (o CancelExecutionRequest_SdkV2) Type(ctx context.Context) attr.Type { type CancelExecutionResponse_SdkV2 struct { } -func (newState *CancelExecutionResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelExecutionResponse_SdkV2) { -} - -func (newState *CancelExecutionResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CancelExecutionResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelExecutionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -949,6 +997,11 @@ func (newState *Channel_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Chan func (newState *Channel_SdkV2) SyncEffectiveFieldsDuringRead(existingState Channel_SdkV2) { } +func (c Channel_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Channel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -996,6 +1049,11 @@ func (newState *ChannelInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ChannelInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ChannelInfo_SdkV2) { } +func (c ChannelInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChannelInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1055,6 +1113,11 @@ func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ColumnInfo_SdkV2) { } +func (c ColumnInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1119,6 +1182,15 @@ func (newState *CreateAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAlert_SdkV2) { } +func (c CreateAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + AlertOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1198,6 +1270,12 @@ func (newState *CreateAlertRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAlertRequest_SdkV2) { } +func (c CreateAlertRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateAlertRequestAlert_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1293,6 +1371,12 @@ func (newState *CreateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateAlertRequestAlert_SdkV2) { } +func (c CreateAlertRequestAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertRequestAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1378,6 +1462,12 @@ func (newState *CreateQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateQueryRequest_SdkV2) { } +func (c CreateQueryRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateQueryRequestQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1472,6 +1562,12 @@ func (newState *CreateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateQueryRequestQuery_SdkV2) { } +func (c CreateQueryRequestQuery_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryRequestQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1600,12 +1696,6 @@ type CreateQueryVisualizationsLegacyRequest_SdkV2 struct { Type_ types.String `tfsdk:"type" tf:""` } -func (newState *CreateQueryVisualizationsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateQueryVisualizationsLegacyRequest_SdkV2) { -} - -func (newState *CreateQueryVisualizationsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateQueryVisualizationsLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryVisualizationsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1655,6 +1745,12 @@ func (newState *CreateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *CreateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequest_SdkV2) { } +func (c CreateVisualizationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateVisualizationRequestVisualization_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "visualization")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVisualizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1739,6 +1835,11 @@ func (newState *CreateVisualizationRequestVisualization_SdkV2) SyncEffectiveFiel func (newState *CreateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequestVisualization_SdkV2) { } +func (c CreateVisualizationRequestVisualization_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVisualizationRequestVisualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1848,6 +1949,13 @@ func (newState *CreateWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *CreateWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateWarehouseRequest_SdkV2) { } +func (c CreateWarehouseRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + EndpointTags_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1973,6 +2081,11 @@ func (newState *CreateWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *CreateWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateWarehouseResponse_SdkV2) { } +func (c CreateWarehouseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2027,6 +2140,16 @@ func (newState *CreateWidget_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateWidget_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateWidget_SdkV2) { } +func (c CreateWidget_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "options")...) + WidgetOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + cs.SetRequired(append(path, "width")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWidget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2153,6 +2276,14 @@ func (newState *Dashboard_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Da func (newState *Dashboard_SdkV2) SyncEffectiveFieldsDuringRead(existingState Dashboard_SdkV2) { } +func (c Dashboard_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DashboardOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + User_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "user")...) + Widget_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "widgets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2352,6 +2483,12 @@ func (newState *DashboardEditContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *DashboardEditContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState DashboardEditContent_SdkV2) { } +func (c DashboardEditContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardEditContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2432,6 +2569,11 @@ func (newState *DashboardOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *DashboardOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState DashboardOptions_SdkV2) { } +func (c DashboardOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2488,6 +2630,12 @@ func (newState *DashboardPostContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *DashboardPostContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState DashboardPostContent_SdkV2) { } +func (c DashboardPostContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardPostContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2593,6 +2741,11 @@ func (newState *DataSource_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan D func (newState *DataSource_SdkV2) SyncEffectiveFieldsDuringRead(existingState DataSource_SdkV2) { } +func (c DataSource_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataSource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2652,6 +2805,13 @@ func (newState *DateRange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Da func (newState *DateRange_SdkV2) SyncEffectiveFieldsDuringRead(existingState DateRange_SdkV2) { } +func (c DateRange_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "end")...) + cs.SetRequired(append(path, "start")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DateRange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2703,6 +2863,12 @@ func (newState *DateRangeValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DateRangeValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState DateRangeValue_SdkV2) { } +func (c DateRangeValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DateRange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "date_range_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DateRangeValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2786,6 +2952,11 @@ func (newState *DateValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Da func (newState *DateValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState DateValue_SdkV2) { } +func (c DateValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DateValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2826,12 +2997,6 @@ type DeleteAlertsLegacyRequest_SdkV2 struct { AlertId types.String `tfsdk:"-"` } -func (newState *DeleteAlertsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAlertsLegacyRequest_SdkV2) { -} - -func (newState *DeleteAlertsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAlertsLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAlertsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2868,12 +3033,6 @@ type DeleteDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *DeleteDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDashboardRequest_SdkV2) { -} - -func (newState *DeleteDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2911,12 +3070,6 @@ type DeleteDashboardWidgetRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteDashboardWidgetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDashboardWidgetRequest_SdkV2) { -} - -func (newState *DeleteDashboardWidgetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDashboardWidgetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDashboardWidgetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2953,12 +3106,6 @@ type DeleteQueriesLegacyRequest_SdkV2 struct { QueryId types.String `tfsdk:"-"` } -func (newState *DeleteQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteQueriesLegacyRequest_SdkV2) { -} - -func (newState *DeleteQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteQueriesLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2996,12 +3143,6 @@ type DeleteQueryVisualizationsLegacyRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteQueryVisualizationsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteQueryVisualizationsLegacyRequest_SdkV2) { -} - -func (newState *DeleteQueryVisualizationsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteQueryVisualizationsLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteQueryVisualizationsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3036,12 +3177,6 @@ func (o DeleteQueryVisualizationsLegacyRequest_SdkV2) Type(ctx context.Context) type DeleteResponse_SdkV2 struct { } -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse_SdkV2) { -} - -func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { -} - // 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 @@ -3074,12 +3209,6 @@ type DeleteVisualizationRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVisualizationRequest_SdkV2) { -} - -func (newState *DeleteVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteVisualizationRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteVisualizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3117,12 +3246,6 @@ type DeleteWarehouseRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWarehouseRequest_SdkV2) { -} - -func (newState *DeleteWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWarehouseRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3163,6 +3286,11 @@ func (newState *DeleteWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *DeleteWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteWarehouseResponse_SdkV2) { } +func (c DeleteWarehouseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3210,6 +3338,16 @@ func (newState *EditAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ed func (newState *EditAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditAlert_SdkV2) { } +func (c EditAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "alert_id")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + AlertOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3349,6 +3487,14 @@ func (newState *EditWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *EditWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditWarehouseRequest_SdkV2) { } +func (c EditWarehouseRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + cs.SetRequired(append(path, "id")...) + EndpointTags_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3474,6 +3620,11 @@ func (newState *EditWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *EditWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState EditWarehouseResponse_SdkV2) { } +func (c EditWarehouseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3512,6 +3663,11 @@ func (newState *Empty_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Empty_ func (newState *Empty_SdkV2) SyncEffectiveFieldsDuringRead(existingState Empty_SdkV2) { } +func (c Empty_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Empty. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3551,6 +3707,11 @@ func (newState *EndpointConfPair_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *EndpointConfPair_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointConfPair_SdkV2) { } +func (c EndpointConfPair_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointConfPair. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3605,6 +3766,12 @@ func (newState *EndpointHealth_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *EndpointHealth_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointHealth_SdkV2) { } +func (c EndpointHealth_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TerminationReason_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "failure_reason")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointHealth. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3757,6 +3924,15 @@ func (newState *EndpointInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EndpointInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointInfo_SdkV2) { } +func (c EndpointInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + EndpointHealth_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + OdbcParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "odbc_params")...) + EndpointTags_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3955,6 +4131,11 @@ func (newState *EndpointTagPair_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *EndpointTagPair_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointTagPair_SdkV2) { } +func (c EndpointTagPair_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTagPair. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3998,6 +4179,12 @@ func (newState *EndpointTags_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EndpointTags_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointTags_SdkV2) { } +func (c EndpointTags_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointTagPair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "custom_tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTags. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4074,6 +4261,12 @@ func (newState *EnumValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan En func (newState *EnumValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState EnumValue_SdkV2) { } +func (c EnumValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MultiValuesOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "multi_values_options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnumValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4300,6 +4493,14 @@ func (newState *ExecuteStatementRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ExecuteStatementRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExecuteStatementRequest_SdkV2) { } +func (c ExecuteStatementRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StatementParameterListItem_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + cs.SetRequired(append(path, "statement")...) + cs.SetRequired(append(path, "warehouse_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExecuteStatementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4420,6 +4621,11 @@ func (newState *ExternalLink_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ExternalLink_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExternalLink_SdkV2) { } +func (c ExternalLink_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalLink. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4502,12 +4708,6 @@ type GetAlertRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetAlertRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAlertRequest_SdkV2) { -} - -func (newState *GetAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAlertRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4544,12 +4744,6 @@ type GetAlertsLegacyRequest_SdkV2 struct { AlertId types.String `tfsdk:"-"` } -func (newState *GetAlertsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAlertsLegacyRequest_SdkV2) { -} - -func (newState *GetAlertsLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAlertsLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAlertsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4586,12 +4780,6 @@ type GetDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *GetDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDashboardRequest_SdkV2) { -} - -func (newState *GetDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4631,12 +4819,6 @@ type GetDbsqlPermissionRequest_SdkV2 struct { ObjectType types.String `tfsdk:"-"` } -func (newState *GetDbsqlPermissionRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDbsqlPermissionRequest_SdkV2) { -} - -func (newState *GetDbsqlPermissionRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetDbsqlPermissionRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDbsqlPermissionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4675,12 +4857,6 @@ type GetQueriesLegacyRequest_SdkV2 struct { QueryId types.String `tfsdk:"-"` } -func (newState *GetQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQueriesLegacyRequest_SdkV2) { -} - -func (newState *GetQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetQueriesLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4717,12 +4893,6 @@ type GetQueryRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQueryRequest_SdkV2) { -} - -func (newState *GetQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetQueryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4762,12 +4932,6 @@ type GetResponse_SdkV2 struct { ObjectType types.String `tfsdk:"object_type" tf:"optional"` } -func (newState *GetResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetResponse_SdkV2) { -} - -func (newState *GetResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4840,12 +5004,6 @@ type GetStatementRequest_SdkV2 struct { StatementId types.String `tfsdk:"-"` } -func (newState *GetStatementRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatementRequest_SdkV2) { -} - -func (newState *GetStatementRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStatementRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4885,12 +5043,6 @@ type GetStatementResultChunkNRequest_SdkV2 struct { StatementId types.String `tfsdk:"-"` } -func (newState *GetStatementResultChunkNRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatementResultChunkNRequest_SdkV2) { -} - -func (newState *GetStatementResultChunkNRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStatementResultChunkNRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementResultChunkNRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4930,12 +5082,6 @@ type GetWarehousePermissionLevelsRequest_SdkV2 struct { WarehouseId types.String `tfsdk:"-"` } -func (newState *GetWarehousePermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehousePermissionLevelsRequest_SdkV2) { -} - -func (newState *GetWarehousePermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4978,6 +5124,12 @@ func (newState *GetWarehousePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsD func (newState *GetWarehousePermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionLevelsResponse_SdkV2) { } +func (c GetWarehousePermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehousePermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5045,12 +5197,6 @@ type GetWarehousePermissionsRequest_SdkV2 struct { WarehouseId types.String `tfsdk:"-"` } -func (newState *GetWarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehousePermissionsRequest_SdkV2) { -} - -func (newState *GetWarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5088,12 +5234,6 @@ type GetWarehouseRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *GetWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehouseRequest_SdkV2) { -} - -func (newState *GetWarehouseRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWarehouseRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5208,6 +5348,15 @@ func (newState *GetWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *GetWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWarehouseResponse_SdkV2) { } +func (c GetWarehouseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + EndpointHealth_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "health")...) + OdbcParams_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "odbc_params")...) + EndpointTags_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5428,6 +5577,17 @@ func (newState *GetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDu func (newState *GetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceWarehouseConfigResponse_SdkV2) { } +func (c GetWorkspaceWarehouseConfigResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + RepeatedEndpointConfPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config_param")...) + EndpointConfPair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_access_config")...) + WarehouseTypePair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "enabled_warehouse_types")...) + RepeatedEndpointConfPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "global_param")...) + RepeatedEndpointConfPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_configuration_parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceWarehouseConfigResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5685,6 +5845,14 @@ func (newState *LegacyAlert_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *LegacyAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState LegacyAlert_SdkV2) { } +func (c LegacyAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + AlertQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query")...) + User_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "user")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5901,6 +6069,15 @@ func (newState *LegacyQuery_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *LegacyQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState LegacyQuery_SdkV2) { } +func (c LegacyQuery_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + User_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "last_modified_by")...) + QueryOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + User_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "user")...) + LegacyVisualization_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "visualizations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6157,6 +6334,12 @@ func (newState *LegacyVisualization_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *LegacyVisualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState LegacyVisualization_SdkV2) { } +func (c LegacyVisualization_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LegacyQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyVisualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6239,12 +6422,6 @@ type ListAlertsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAlertsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAlertsRequest_SdkV2) { -} - -func (newState *ListAlertsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAlertsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6290,6 +6467,12 @@ func (newState *ListAlertsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListAlertsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAlertsResponse_SdkV2) { } +func (c ListAlertsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListAlertsResponseAlert_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6403,6 +6586,12 @@ func (newState *ListAlertsResponseAlert_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ListAlertsResponseAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAlertsResponseAlert_SdkV2) { } +func (c ListAlertsResponseAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponseAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6502,12 +6691,6 @@ type ListDashboardsRequest_SdkV2 struct { Q types.String `tfsdk:"-"` } -func (newState *ListDashboardsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDashboardsRequest_SdkV2) { -} - -func (newState *ListDashboardsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListDashboardsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6570,12 +6753,6 @@ type ListQueriesLegacyRequest_SdkV2 struct { Q types.String `tfsdk:"-"` } -func (newState *ListQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueriesLegacyRequest_SdkV2) { -} - -func (newState *ListQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueriesLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6620,12 +6797,6 @@ type ListQueriesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListQueriesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueriesRequest_SdkV2) { -} - -func (newState *ListQueriesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueriesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6674,6 +6845,12 @@ func (newState *ListQueriesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListQueriesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueriesResponse_SdkV2) { } +func (c ListQueriesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "res")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6756,12 +6933,6 @@ type ListQueryHistoryRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListQueryHistoryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueryHistoryRequest_SdkV2) { -} - -func (newState *ListQueryHistoryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueryHistoryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryHistoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6841,6 +7012,12 @@ func (newState *ListQueryObjectsResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *ListQueryObjectsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueryObjectsResponse_SdkV2) { } +func (c ListQueryObjectsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListQueryObjectsResponseQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6947,6 +7124,12 @@ func (newState *ListQueryObjectsResponseQuery_SdkV2) SyncEffectiveFieldsDuringCr func (newState *ListQueryObjectsResponseQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListQueryObjectsResponseQuery_SdkV2) { } +func (c ListQueryObjectsResponseQuery_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponseQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7078,12 +7261,6 @@ type ListResponse_SdkV2 struct { Results types.List `tfsdk:"results" tf:"optional"` } -func (newState *ListResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListResponse_SdkV2) { -} - -func (newState *ListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7160,12 +7337,6 @@ type ListVisualizationsForQueryRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListVisualizationsForQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVisualizationsForQueryRequest_SdkV2) { -} - -func (newState *ListVisualizationsForQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListVisualizationsForQueryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7213,6 +7384,12 @@ func (newState *ListVisualizationsForQueryResponse_SdkV2) SyncEffectiveFieldsDur func (newState *ListVisualizationsForQueryResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListVisualizationsForQueryResponse_SdkV2) { } +func (c ListVisualizationsForQueryResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Visualization_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7283,12 +7460,6 @@ type ListWarehousesRequest_SdkV2 struct { RunAsUserId types.Int64 `tfsdk:"-"` } -func (newState *ListWarehousesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWarehousesRequest_SdkV2) { -} - -func (newState *ListWarehousesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListWarehousesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7331,6 +7502,12 @@ func (newState *ListWarehousesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ListWarehousesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListWarehousesResponse_SdkV2) { } +func (c ListWarehousesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "warehouses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7408,6 +7585,11 @@ func (newState *MultiValuesOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *MultiValuesOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState MultiValuesOptions_SdkV2) { } +func (c MultiValuesOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MultiValuesOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7453,6 +7635,11 @@ func (newState *NumericValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *NumericValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState NumericValue_SdkV2) { } +func (c NumericValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NumericValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7500,6 +7687,11 @@ func (newState *OdbcParams_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan O func (newState *OdbcParams_SdkV2) SyncEffectiveFieldsDuringRead(existingState OdbcParams_SdkV2) { } +func (c OdbcParams_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OdbcParams. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7564,6 +7756,12 @@ func (newState *Parameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pa func (newState *Parameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState Parameter_SdkV2) { } +func (c Parameter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MultiValuesOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "multiValuesOptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Parameter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7682,6 +7880,12 @@ func (newState *Query_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Query_ func (newState *Query_SdkV2) SyncEffectiveFieldsDuringRead(existingState Query_SdkV2) { } +func (c Query_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Query. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7819,6 +8023,12 @@ func (newState *QueryBackedValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *QueryBackedValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryBackedValue_SdkV2) { } +func (c QueryBackedValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MultiValuesOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "multi_values_options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryBackedValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7947,6 +8157,12 @@ func (newState *QueryEditContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *QueryEditContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryEditContent_SdkV2) { } +func (c QueryEditContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEditContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8042,6 +8258,12 @@ func (newState *QueryFilter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QueryFilter_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryFilter_SdkV2) { } +func (c QueryFilter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TimeRange_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query_start_time_range")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8285,6 +8507,13 @@ func (newState *QueryInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Qu func (newState *QueryInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryInfo_SdkV2) { } +func (c QueryInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ChannelInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel_used")...) + QueryMetrics_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8434,6 +8663,12 @@ func (newState *QueryList_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Qu func (newState *QueryList_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryList_SdkV2) { } +func (c QueryList_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LegacyQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8568,6 +8803,11 @@ func (newState *QueryMetrics_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QueryMetrics_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryMetrics_SdkV2) { } +func (c QueryMetrics_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryMetrics. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8660,6 +8900,12 @@ func (newState *QueryOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *QueryOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryOptions_SdkV2) { } +func (c QueryOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Parameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8755,6 +9001,17 @@ func (newState *QueryParameter_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *QueryParameter_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryParameter_SdkV2) { } +func (c QueryParameter_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DateRangeValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "date_range_value")...) + DateValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "date_value")...) + EnumValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "enum_value")...) + NumericValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "numeric_value")...) + QueryBackedValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query_backed_value")...) + TextValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "text_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryParameter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9009,6 +9266,11 @@ func (newState *QueryPostContent_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *QueryPostContent_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryPostContent_SdkV2) { } +func (c QueryPostContent_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryPostContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9097,6 +9359,13 @@ func (newState *RepeatedEndpointConfPairs_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *RepeatedEndpointConfPairs_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepeatedEndpointConfPairs_SdkV2) { } +func (c RepeatedEndpointConfPairs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointConfPair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config_pair")...) + EndpointConfPair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "configuration_pairs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepeatedEndpointConfPairs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9194,12 +9463,6 @@ type RestoreDashboardRequest_SdkV2 struct { DashboardId types.String `tfsdk:"-"` } -func (newState *RestoreDashboardRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreDashboardRequest_SdkV2) { -} - -func (newState *RestoreDashboardRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreDashboardRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9236,12 +9499,6 @@ type RestoreQueriesLegacyRequest_SdkV2 struct { QueryId types.String `tfsdk:"-"` } -func (newState *RestoreQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreQueriesLegacyRequest_SdkV2) { -} - -func (newState *RestoreQueriesLegacyRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreQueriesLegacyRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9276,12 +9533,6 @@ func (o RestoreQueriesLegacyRequest_SdkV2) Type(ctx context.Context) attr.Type { type RestoreResponse_SdkV2 struct { } -func (newState *RestoreResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreResponse_SdkV2) { -} - -func (newState *RestoreResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RestoreResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9342,6 +9593,12 @@ func (newState *ResultData_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *ResultData_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResultData_SdkV2) { } +func (c ResultData_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalLink_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "external_links")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9474,6 +9731,13 @@ func (newState *ResultManifest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ResultManifest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResultManifest_SdkV2) { } +func (c ResultManifest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BaseChunkInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "chunks")...) + ResultSchema_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "schema")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9589,6 +9853,12 @@ func (newState *ResultSchema_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ResultSchema_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResultSchema_SdkV2) { } +func (c ResultSchema_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultSchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9664,6 +9934,11 @@ func (newState *ServiceError_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ServiceError_SdkV2) SyncEffectiveFieldsDuringRead(existingState ServiceError_SdkV2) { } +func (c ServiceError_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServiceError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9707,12 +9982,6 @@ type SetRequest_SdkV2 struct { ObjectType types.String `tfsdk:"-"` } -func (newState *SetRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetRequest_SdkV2) { -} - -func (newState *SetRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9786,12 +10055,6 @@ type SetResponse_SdkV2 struct { ObjectType types.String `tfsdk:"object_type" tf:"optional"` } -func (newState *SetResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetResponse_SdkV2) { -} - -func (newState *SetResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9891,6 +10154,17 @@ func (newState *SetWorkspaceWarehouseConfigRequest_SdkV2) SyncEffectiveFieldsDur func (newState *SetWorkspaceWarehouseConfigRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigRequest_SdkV2) { } +func (c SetWorkspaceWarehouseConfigRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + RepeatedEndpointConfPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "config_param")...) + EndpointConfPair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data_access_config")...) + WarehouseTypePair_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "enabled_warehouse_types")...) + RepeatedEndpointConfPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "global_param")...) + RepeatedEndpointConfPairs_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sql_configuration_parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10122,6 +10396,11 @@ func (newState *SetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDu func (newState *SetWorkspaceWarehouseConfigResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigResponse_SdkV2) { } +func (c SetWorkspaceWarehouseConfigResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10155,12 +10434,6 @@ type StartRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *StartRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartRequest_SdkV2) { -} - -func (newState *StartRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10201,6 +10474,11 @@ func (newState *StartWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *StartWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StartWarehouseResponse_SdkV2) { } +func (c StartWarehouseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10250,6 +10528,12 @@ func (newState *StatementParameterListItem_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *StatementParameterListItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState StatementParameterListItem_SdkV2) { } +func (c StatementParameterListItem_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementParameterListItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10304,6 +10588,14 @@ func (newState *StatementResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *StatementResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StatementResponse_SdkV2) { } +func (c StatementResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ResultManifest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "manifest")...) + ResultData_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "result")...) + StatementStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10449,6 +10741,12 @@ func (newState *StatementStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *StatementStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState StatementStatus_SdkV2) { } +func (c StatementStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServiceError_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "error")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10518,12 +10816,6 @@ type StopRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *StopRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopRequest_SdkV2) { -} - -func (newState *StopRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState StopRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10564,6 +10856,11 @@ func (newState *StopWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *StopWarehouseResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState StopWarehouseResponse_SdkV2) { } +func (c StopWarehouseResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10601,6 +10898,11 @@ func (newState *Success_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Succ func (newState *Success_SdkV2) SyncEffectiveFieldsDuringRead(existingState Success_SdkV2) { } +func (c Success_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Success. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10648,6 +10950,11 @@ func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *TerminationReason_SdkV2) SyncEffectiveFieldsDuringRead(existingState TerminationReason_SdkV2) { } +func (c TerminationReason_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10723,6 +11030,11 @@ func (newState *TextValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Te func (newState *TextValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState TextValue_SdkV2) { } +func (c TextValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TextValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10767,6 +11079,11 @@ func (newState *TimeRange_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ti func (newState *TimeRange_SdkV2) SyncEffectiveFieldsDuringRead(existingState TimeRange_SdkV2) { } +func (c TimeRange_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TimeRange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10811,6 +11128,11 @@ func (newState *TransferOwnershipObjectId_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *TransferOwnershipObjectId_SdkV2) SyncEffectiveFieldsDuringRead(existingState TransferOwnershipObjectId_SdkV2) { } +func (c TransferOwnershipObjectId_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipObjectId. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10852,12 +11174,6 @@ type TransferOwnershipRequest_SdkV2 struct { ObjectType types.String `tfsdk:"-"` } -func (newState *TransferOwnershipRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransferOwnershipRequest_SdkV2) { -} - -func (newState *TransferOwnershipRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TransferOwnershipRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10928,12 +11244,6 @@ type TrashAlertRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *TrashAlertRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrashAlertRequest_SdkV2) { -} - -func (newState *TrashAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TrashAlertRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10970,12 +11280,6 @@ type TrashQueryRequest_SdkV2 struct { Id types.String `tfsdk:"-"` } -func (newState *TrashQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrashQueryRequest_SdkV2) { -} - -func (newState *TrashQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState TrashQueryRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11024,6 +11328,14 @@ func (newState *UpdateAlertRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateAlertRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAlertRequest_SdkV2) { } +func (c UpdateAlertRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateAlertRequestAlert_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "alert")...) + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "update_mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11124,6 +11436,12 @@ func (newState *UpdateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *UpdateAlertRequestAlert_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateAlertRequestAlert_SdkV2) { } +func (c UpdateAlertRequestAlert_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequestAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11216,6 +11534,14 @@ func (newState *UpdateQueryRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateQueryRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateQueryRequest_SdkV2) { } +func (c UpdateQueryRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + UpdateQueryRequestQuery_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "query")...) + cs.SetRequired(append(path, "update_mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11314,6 +11640,12 @@ func (newState *UpdateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *UpdateQueryRequestQuery_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateQueryRequestQuery_SdkV2) { } +func (c UpdateQueryRequestQuery_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequestQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11427,12 +11759,6 @@ func (o *UpdateQueryRequestQuery_SdkV2) SetTags(ctx context.Context, v []types.S type UpdateResponse_SdkV2 struct { } -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse_SdkV2) { -} - -func (newState *UpdateResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateResponse_SdkV2) { -} - // 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 @@ -11477,6 +11803,14 @@ func (newState *UpdateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *UpdateVisualizationRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequest_SdkV2) { } +func (c UpdateVisualizationRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "update_mask")...) + UpdateVisualizationRequestVisualization_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "visualization")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11563,6 +11897,11 @@ func (newState *UpdateVisualizationRequestVisualization_SdkV2) SyncEffectiveFiel func (newState *UpdateVisualizationRequestVisualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequestVisualization_SdkV2) { } +func (c UpdateVisualizationRequestVisualization_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequestVisualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11614,6 +11953,11 @@ func (newState *User_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan User_Sd func (newState *User_SdkV2) SyncEffectiveFieldsDuringRead(existingState User_SdkV2) { } +func (c User_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in User. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11678,6 +12022,11 @@ func (newState *Visualization_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *Visualization_SdkV2) SyncEffectiveFieldsDuringRead(existingState Visualization_SdkV2) { } +func (c Visualization_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Visualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11740,6 +12089,11 @@ func (newState *WarehouseAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCr func (newState *WarehouseAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlRequest_SdkV2) { } +func (c WarehouseAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11796,6 +12150,12 @@ func (newState *WarehouseAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringC func (newState *WarehouseAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlResponse_SdkV2) { } +func (c WarehouseAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehousePermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11879,6 +12239,11 @@ func (newState *WarehousePermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *WarehousePermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehousePermission_SdkV2) { } +func (c WarehousePermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11958,6 +12323,12 @@ func (newState *WarehousePermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *WarehousePermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehousePermissions_SdkV2) { } +func (c WarehousePermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehouseAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12035,6 +12406,11 @@ func (newState *WarehousePermissionsDescription_SdkV2) SyncEffectiveFieldsDuring func (newState *WarehousePermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsDescription_SdkV2) { } +func (c WarehousePermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12080,6 +12456,13 @@ func (newState *WarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *WarehousePermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsRequest_SdkV2) { } +func (c WarehousePermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehouseAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "warehouse_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12157,6 +12540,11 @@ func (newState *WarehouseTypePair_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *WarehouseTypePair_SdkV2) SyncEffectiveFieldsDuringRead(existingState WarehouseTypePair_SdkV2) { } +func (c WarehouseTypePair_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseTypePair. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12211,6 +12599,13 @@ func (newState *Widget_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Widge func (newState *Widget_SdkV2) SyncEffectiveFieldsDuringRead(existingState Widget_SdkV2) { } +func (c Widget_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WidgetOptions_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "options")...) + LegacyVisualization_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "visualization")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Widget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12333,6 +12728,12 @@ func (newState *WidgetOptions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *WidgetOptions_SdkV2) SyncEffectiveFieldsDuringRead(existingState WidgetOptions_SdkV2) { } +func (c WidgetOptions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WidgetPosition_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "position")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12427,6 +12828,11 @@ func (newState *WidgetPosition_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *WidgetPosition_SdkV2) SyncEffectiveFieldsDuringRead(existingState WidgetPosition_SdkV2) { } +func (c WidgetPosition_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetPosition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/sql_tf/model.go b/internal/service/sql_tf/model.go index e204a761c..34b9598d9 100755 --- a/internal/service/sql_tf/model.go +++ b/internal/service/sql_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -36,6 +37,11 @@ func (newState *AccessControl) SyncEffectiveFieldsDuringCreateOrUpdate(plan Acce func (newState *AccessControl) SyncEffectiveFieldsDuringRead(existingState AccessControl) { } +func (c AccessControl) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AccessControl. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -123,6 +129,12 @@ func (newState *Alert) SyncEffectiveFieldsDuringCreateOrUpdate(plan Alert) { func (newState *Alert) SyncEffectiveFieldsDuringRead(existingState Alert) { } +func (c Alert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Alert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -230,6 +242,13 @@ func (newState *AlertCondition) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ale func (newState *AlertCondition) SyncEffectiveFieldsDuringRead(existingState AlertCondition) { } +func (c AlertCondition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertConditionOperand{}.ApplySchemaCustomizations(cs, append(path, "operand")...) + AlertConditionThreshold{}.ApplySchemaCustomizations(cs, append(path, "threshold")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertCondition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -336,6 +355,12 @@ func (newState *AlertConditionOperand) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *AlertConditionOperand) SyncEffectiveFieldsDuringRead(existingState AlertConditionOperand) { } +func (c AlertConditionOperand) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertOperandColumn{}.ApplySchemaCustomizations(cs, append(path, "column")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConditionOperand. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -407,6 +432,12 @@ func (newState *AlertConditionThreshold) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *AlertConditionThreshold) SyncEffectiveFieldsDuringRead(existingState AlertConditionThreshold) { } +func (c AlertConditionThreshold) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertOperandValue{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertConditionThreshold. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -478,6 +509,11 @@ func (newState *AlertOperandColumn) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AlertOperandColumn) SyncEffectiveFieldsDuringRead(existingState AlertOperandColumn) { } +func (c AlertOperandColumn) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertOperandColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -523,6 +559,11 @@ func (newState *AlertOperandValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *AlertOperandValue) SyncEffectiveFieldsDuringRead(existingState AlertOperandValue) { } +func (c AlertOperandValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertOperandValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -592,6 +633,14 @@ func (newState *AlertOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan Alert func (newState *AlertOptions) SyncEffectiveFieldsDuringRead(existingState AlertOptions) { } +func (c AlertOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "column")...) + cs.SetRequired(append(path, "op")...) + cs.SetRequired(append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -683,6 +732,12 @@ func (newState *AlertQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan AlertQu func (newState *AlertQuery) SyncEffectiveFieldsDuringRead(existingState AlertQuery) { } +func (c AlertQuery) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AlertQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -818,6 +873,11 @@ func (newState *BaseChunkInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Base func (newState *BaseChunkInfo) SyncEffectiveFieldsDuringRead(existingState BaseChunkInfo) { } +func (c BaseChunkInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in BaseChunkInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -862,12 +922,6 @@ type CancelExecutionRequest struct { StatementId types.String `tfsdk:"-"` } -func (newState *CancelExecutionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelExecutionRequest) { -} - -func (newState *CancelExecutionRequest) SyncEffectiveFieldsDuringRead(existingState CancelExecutionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelExecutionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -902,12 +956,6 @@ func (o CancelExecutionRequest) Type(ctx context.Context) attr.Type { type CancelExecutionResponse struct { } -func (newState *CancelExecutionResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CancelExecutionResponse) { -} - -func (newState *CancelExecutionResponse) SyncEffectiveFieldsDuringRead(existingState CancelExecutionResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CancelExecutionResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -949,6 +997,11 @@ func (newState *Channel) SyncEffectiveFieldsDuringCreateOrUpdate(plan Channel) { func (newState *Channel) SyncEffectiveFieldsDuringRead(existingState Channel) { } +func (c Channel) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Channel. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -996,6 +1049,11 @@ func (newState *ChannelInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Channe func (newState *ChannelInfo) SyncEffectiveFieldsDuringRead(existingState ChannelInfo) { } +func (c ChannelInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ChannelInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1055,6 +1113,11 @@ func (newState *ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnI func (newState *ColumnInfo) SyncEffectiveFieldsDuringRead(existingState ColumnInfo) { } +func (c ColumnInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1119,6 +1182,15 @@ func (newState *CreateAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan Create func (newState *CreateAlert) SyncEffectiveFieldsDuringRead(existingState CreateAlert) { } +func (c CreateAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + AlertOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1198,6 +1270,12 @@ func (newState *CreateAlertRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateAlertRequest) SyncEffectiveFieldsDuringRead(existingState CreateAlertRequest) { } +func (c CreateAlertRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateAlertRequestAlert{}.ApplySchemaCustomizations(cs, append(path, "alert")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1293,6 +1371,12 @@ func (newState *CreateAlertRequestAlert) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateAlertRequestAlert) SyncEffectiveFieldsDuringRead(existingState CreateAlertRequestAlert) { } +func (c CreateAlertRequestAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateAlertRequestAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1378,6 +1462,12 @@ func (newState *CreateQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateQueryRequest) SyncEffectiveFieldsDuringRead(existingState CreateQueryRequest) { } +func (c CreateQueryRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateQueryRequestQuery{}.ApplySchemaCustomizations(cs, append(path, "query")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1472,6 +1562,12 @@ func (newState *CreateQueryRequestQuery) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateQueryRequestQuery) SyncEffectiveFieldsDuringRead(existingState CreateQueryRequestQuery) { } +func (c CreateQueryRequestQuery) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryRequestQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1600,12 +1696,6 @@ type CreateQueryVisualizationsLegacyRequest struct { Type_ types.String `tfsdk:"type" tf:""` } -func (newState *CreateQueryVisualizationsLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateQueryVisualizationsLegacyRequest) { -} - -func (newState *CreateQueryVisualizationsLegacyRequest) SyncEffectiveFieldsDuringRead(existingState CreateQueryVisualizationsLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateQueryVisualizationsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1655,6 +1745,12 @@ func (newState *CreateVisualizationRequest) SyncEffectiveFieldsDuringCreateOrUpd func (newState *CreateVisualizationRequest) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequest) { } +func (c CreateVisualizationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CreateVisualizationRequestVisualization{}.ApplySchemaCustomizations(cs, append(path, "visualization")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVisualizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1739,6 +1835,11 @@ func (newState *CreateVisualizationRequestVisualization) SyncEffectiveFieldsDuri func (newState *CreateVisualizationRequestVisualization) SyncEffectiveFieldsDuringRead(existingState CreateVisualizationRequestVisualization) { } +func (c CreateVisualizationRequestVisualization) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVisualizationRequestVisualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1848,6 +1949,13 @@ func (newState *CreateWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *CreateWarehouseRequest) SyncEffectiveFieldsDuringRead(existingState CreateWarehouseRequest) { } +func (c CreateWarehouseRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + EndpointTags{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1973,6 +2081,11 @@ func (newState *CreateWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState CreateWarehouseResponse) { } +func (c CreateWarehouseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2027,6 +2140,16 @@ func (newState *CreateWidget) SyncEffectiveFieldsDuringCreateOrUpdate(plan Creat func (newState *CreateWidget) SyncEffectiveFieldsDuringRead(existingState CreateWidget) { } +func (c CreateWidget) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "options")...) + WidgetOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + cs.SetRequired(append(path, "width")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateWidget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2153,6 +2276,14 @@ func (newState *Dashboard) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dashboar func (newState *Dashboard) SyncEffectiveFieldsDuringRead(existingState Dashboard) { } +func (c Dashboard) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DashboardOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + User{}.ApplySchemaCustomizations(cs, append(path, "user")...) + Widget{}.ApplySchemaCustomizations(cs, append(path, "widgets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Dashboard. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2352,6 +2483,12 @@ func (newState *DashboardEditContent) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DashboardEditContent) SyncEffectiveFieldsDuringRead(existingState DashboardEditContent) { } +func (c DashboardEditContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dashboard_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardEditContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2432,6 +2569,11 @@ func (newState *DashboardOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan D func (newState *DashboardOptions) SyncEffectiveFieldsDuringRead(existingState DashboardOptions) { } +func (c DashboardOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2488,6 +2630,12 @@ func (newState *DashboardPostContent) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DashboardPostContent) SyncEffectiveFieldsDuringRead(existingState DashboardPostContent) { } +func (c DashboardPostContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DashboardPostContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2593,6 +2741,11 @@ func (newState *DataSource) SyncEffectiveFieldsDuringCreateOrUpdate(plan DataSou func (newState *DataSource) SyncEffectiveFieldsDuringRead(existingState DataSource) { } +func (c DataSource) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DataSource. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2652,6 +2805,13 @@ func (newState *DateRange) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateRang func (newState *DateRange) SyncEffectiveFieldsDuringRead(existingState DateRange) { } +func (c DateRange) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "end")...) + cs.SetRequired(append(path, "start")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DateRange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2703,6 +2863,12 @@ func (newState *DateRangeValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan Dat func (newState *DateRangeValue) SyncEffectiveFieldsDuringRead(existingState DateRangeValue) { } +func (c DateRangeValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DateRange{}.ApplySchemaCustomizations(cs, append(path, "date_range_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DateRangeValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2786,6 +2952,11 @@ func (newState *DateValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan DateValu func (newState *DateValue) SyncEffectiveFieldsDuringRead(existingState DateValue) { } +func (c DateValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DateValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2826,12 +2997,6 @@ type DeleteAlertsLegacyRequest struct { AlertId types.String `tfsdk:"-"` } -func (newState *DeleteAlertsLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAlertsLegacyRequest) { -} - -func (newState *DeleteAlertsLegacyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteAlertsLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAlertsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2868,12 +3033,6 @@ type DeleteDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *DeleteDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDashboardRequest) { -} - -func (newState *DeleteDashboardRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2911,12 +3070,6 @@ type DeleteDashboardWidgetRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteDashboardWidgetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDashboardWidgetRequest) { -} - -func (newState *DeleteDashboardWidgetRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDashboardWidgetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDashboardWidgetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2953,12 +3106,6 @@ type DeleteQueriesLegacyRequest struct { QueryId types.String `tfsdk:"-"` } -func (newState *DeleteQueriesLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteQueriesLegacyRequest) { -} - -func (newState *DeleteQueriesLegacyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteQueriesLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2996,12 +3143,6 @@ type DeleteQueryVisualizationsLegacyRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteQueryVisualizationsLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteQueryVisualizationsLegacyRequest) { -} - -func (newState *DeleteQueryVisualizationsLegacyRequest) SyncEffectiveFieldsDuringRead(existingState DeleteQueryVisualizationsLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteQueryVisualizationsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3036,12 +3177,6 @@ func (o DeleteQueryVisualizationsLegacyRequest) Type(ctx context.Context) attr.T type DeleteResponse struct { } -func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse) { -} - -func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { -} - // 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 @@ -3074,12 +3209,6 @@ type DeleteVisualizationRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteVisualizationRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteVisualizationRequest) { -} - -func (newState *DeleteVisualizationRequest) SyncEffectiveFieldsDuringRead(existingState DeleteVisualizationRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteVisualizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3117,12 +3246,6 @@ type DeleteWarehouseRequest struct { Id types.String `tfsdk:"-"` } -func (newState *DeleteWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteWarehouseRequest) { -} - -func (newState *DeleteWarehouseRequest) SyncEffectiveFieldsDuringRead(existingState DeleteWarehouseRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3163,6 +3286,11 @@ func (newState *DeleteWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *DeleteWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState DeleteWarehouseResponse) { } +func (c DeleteWarehouseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3210,6 +3338,16 @@ func (newState *EditAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan EditAler func (newState *EditAlert) SyncEffectiveFieldsDuringRead(existingState EditAlert) { } +func (c EditAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "alert_id")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "options")...) + AlertOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3349,6 +3487,14 @@ func (newState *EditWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *EditWarehouseRequest) SyncEffectiveFieldsDuringRead(existingState EditWarehouseRequest) { } +func (c EditWarehouseRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + cs.SetRequired(append(path, "id")...) + EndpointTags{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3474,6 +3620,11 @@ func (newState *EditWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *EditWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState EditWarehouseResponse) { } +func (c EditWarehouseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EditWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3512,6 +3663,11 @@ func (newState *Empty) SyncEffectiveFieldsDuringCreateOrUpdate(plan Empty) { func (newState *Empty) SyncEffectiveFieldsDuringRead(existingState Empty) { } +func (c Empty) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Empty. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3551,6 +3707,11 @@ func (newState *EndpointConfPair) SyncEffectiveFieldsDuringCreateOrUpdate(plan E func (newState *EndpointConfPair) SyncEffectiveFieldsDuringRead(existingState EndpointConfPair) { } +func (c EndpointConfPair) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointConfPair. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3605,6 +3766,12 @@ func (newState *EndpointHealth) SyncEffectiveFieldsDuringCreateOrUpdate(plan End func (newState *EndpointHealth) SyncEffectiveFieldsDuringRead(existingState EndpointHealth) { } +func (c EndpointHealth) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TerminationReason{}.ApplySchemaCustomizations(cs, append(path, "failure_reason")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointHealth. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3757,6 +3924,15 @@ func (newState *EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Endpo func (newState *EndpointInfo) SyncEffectiveFieldsDuringRead(existingState EndpointInfo) { } +func (c EndpointInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + EndpointHealth{}.ApplySchemaCustomizations(cs, append(path, "health")...) + OdbcParams{}.ApplySchemaCustomizations(cs, append(path, "odbc_params")...) + EndpointTags{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3955,6 +4131,11 @@ func (newState *EndpointTagPair) SyncEffectiveFieldsDuringCreateOrUpdate(plan En func (newState *EndpointTagPair) SyncEffectiveFieldsDuringRead(existingState EndpointTagPair) { } +func (c EndpointTagPair) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTagPair. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3998,6 +4179,12 @@ func (newState *EndpointTags) SyncEffectiveFieldsDuringCreateOrUpdate(plan Endpo func (newState *EndpointTags) SyncEffectiveFieldsDuringRead(existingState EndpointTags) { } +func (c EndpointTags) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointTagPair{}.ApplySchemaCustomizations(cs, append(path, "custom_tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointTags. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4074,6 +4261,12 @@ func (newState *EnumValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan EnumValu func (newState *EnumValue) SyncEffectiveFieldsDuringRead(existingState EnumValue) { } +func (c EnumValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MultiValuesOptions{}.ApplySchemaCustomizations(cs, append(path, "multi_values_options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EnumValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4300,6 +4493,14 @@ func (newState *ExecuteStatementRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ExecuteStatementRequest) SyncEffectiveFieldsDuringRead(existingState ExecuteStatementRequest) { } +func (c ExecuteStatementRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + StatementParameterListItem{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + cs.SetRequired(append(path, "statement")...) + cs.SetRequired(append(path, "warehouse_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExecuteStatementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4420,6 +4621,11 @@ func (newState *ExternalLink) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exter func (newState *ExternalLink) SyncEffectiveFieldsDuringRead(existingState ExternalLink) { } +func (c ExternalLink) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExternalLink. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4502,12 +4708,6 @@ type GetAlertRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetAlertRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAlertRequest) { -} - -func (newState *GetAlertRequest) SyncEffectiveFieldsDuringRead(existingState GetAlertRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4544,12 +4744,6 @@ type GetAlertsLegacyRequest struct { AlertId types.String `tfsdk:"-"` } -func (newState *GetAlertsLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAlertsLegacyRequest) { -} - -func (newState *GetAlertsLegacyRequest) SyncEffectiveFieldsDuringRead(existingState GetAlertsLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAlertsLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4586,12 +4780,6 @@ type GetDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *GetDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDashboardRequest) { -} - -func (newState *GetDashboardRequest) SyncEffectiveFieldsDuringRead(existingState GetDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4631,12 +4819,6 @@ type GetDbsqlPermissionRequest struct { ObjectType types.String `tfsdk:"-"` } -func (newState *GetDbsqlPermissionRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDbsqlPermissionRequest) { -} - -func (newState *GetDbsqlPermissionRequest) SyncEffectiveFieldsDuringRead(existingState GetDbsqlPermissionRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDbsqlPermissionRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4675,12 +4857,6 @@ type GetQueriesLegacyRequest struct { QueryId types.String `tfsdk:"-"` } -func (newState *GetQueriesLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQueriesLegacyRequest) { -} - -func (newState *GetQueriesLegacyRequest) SyncEffectiveFieldsDuringRead(existingState GetQueriesLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4717,12 +4893,6 @@ type GetQueryRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetQueryRequest) { -} - -func (newState *GetQueryRequest) SyncEffectiveFieldsDuringRead(existingState GetQueryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4762,12 +4932,6 @@ type GetResponse struct { ObjectType types.String `tfsdk:"object_type" tf:"optional"` } -func (newState *GetResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetResponse) { -} - -func (newState *GetResponse) SyncEffectiveFieldsDuringRead(existingState GetResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4840,12 +5004,6 @@ type GetStatementRequest struct { StatementId types.String `tfsdk:"-"` } -func (newState *GetStatementRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatementRequest) { -} - -func (newState *GetStatementRequest) SyncEffectiveFieldsDuringRead(existingState GetStatementRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4885,12 +5043,6 @@ type GetStatementResultChunkNRequest struct { StatementId types.String `tfsdk:"-"` } -func (newState *GetStatementResultChunkNRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatementResultChunkNRequest) { -} - -func (newState *GetStatementResultChunkNRequest) SyncEffectiveFieldsDuringRead(existingState GetStatementResultChunkNRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatementResultChunkNRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4930,12 +5082,6 @@ type GetWarehousePermissionLevelsRequest struct { WarehouseId types.String `tfsdk:"-"` } -func (newState *GetWarehousePermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehousePermissionLevelsRequest) { -} - -func (newState *GetWarehousePermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4978,6 +5124,12 @@ func (newState *GetWarehousePermissionLevelsResponse) SyncEffectiveFieldsDuringC func (newState *GetWarehousePermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionLevelsResponse) { } +func (c GetWarehousePermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehousePermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5045,12 +5197,6 @@ type GetWarehousePermissionsRequest struct { WarehouseId types.String `tfsdk:"-"` } -func (newState *GetWarehousePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehousePermissionsRequest) { -} - -func (newState *GetWarehousePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetWarehousePermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehousePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5088,12 +5234,6 @@ type GetWarehouseRequest struct { Id types.String `tfsdk:"-"` } -func (newState *GetWarehouseRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWarehouseRequest) { -} - -func (newState *GetWarehouseRequest) SyncEffectiveFieldsDuringRead(existingState GetWarehouseRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5208,6 +5348,15 @@ func (newState *GetWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *GetWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState GetWarehouseResponse) { } +func (c GetWarehouseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + EndpointHealth{}.ApplySchemaCustomizations(cs, append(path, "health")...) + OdbcParams{}.ApplySchemaCustomizations(cs, append(path, "odbc_params")...) + EndpointTags{}.ApplySchemaCustomizations(cs, append(path, "tags")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5428,6 +5577,17 @@ func (newState *GetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringCr func (newState *GetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceWarehouseConfigResponse) { } +func (c GetWorkspaceWarehouseConfigResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + RepeatedEndpointConfPairs{}.ApplySchemaCustomizations(cs, append(path, "config_param")...) + EndpointConfPair{}.ApplySchemaCustomizations(cs, append(path, "data_access_config")...) + WarehouseTypePair{}.ApplySchemaCustomizations(cs, append(path, "enabled_warehouse_types")...) + RepeatedEndpointConfPairs{}.ApplySchemaCustomizations(cs, append(path, "global_param")...) + RepeatedEndpointConfPairs{}.ApplySchemaCustomizations(cs, append(path, "sql_configuration_parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceWarehouseConfigResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5685,6 +5845,14 @@ func (newState *LegacyAlert) SyncEffectiveFieldsDuringCreateOrUpdate(plan Legacy func (newState *LegacyAlert) SyncEffectiveFieldsDuringRead(existingState LegacyAlert) { } +func (c LegacyAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + AlertQuery{}.ApplySchemaCustomizations(cs, append(path, "query")...) + User{}.ApplySchemaCustomizations(cs, append(path, "user")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -5901,6 +6069,15 @@ func (newState *LegacyQuery) SyncEffectiveFieldsDuringCreateOrUpdate(plan Legacy func (newState *LegacyQuery) SyncEffectiveFieldsDuringRead(existingState LegacyQuery) { } +func (c LegacyQuery) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + User{}.ApplySchemaCustomizations(cs, append(path, "last_modified_by")...) + QueryOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + User{}.ApplySchemaCustomizations(cs, append(path, "user")...) + LegacyVisualization{}.ApplySchemaCustomizations(cs, append(path, "visualizations")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6157,6 +6334,12 @@ func (newState *LegacyVisualization) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *LegacyVisualization) SyncEffectiveFieldsDuringRead(existingState LegacyVisualization) { } +func (c LegacyVisualization) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LegacyQuery{}.ApplySchemaCustomizations(cs, append(path, "query")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in LegacyVisualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6239,12 +6422,6 @@ type ListAlertsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListAlertsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAlertsRequest) { -} - -func (newState *ListAlertsRequest) SyncEffectiveFieldsDuringRead(existingState ListAlertsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6290,6 +6467,12 @@ func (newState *ListAlertsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListAlertsResponse) SyncEffectiveFieldsDuringRead(existingState ListAlertsResponse) { } +func (c ListAlertsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListAlertsResponseAlert{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6403,6 +6586,12 @@ func (newState *ListAlertsResponseAlert) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListAlertsResponseAlert) SyncEffectiveFieldsDuringRead(existingState ListAlertsResponseAlert) { } +func (c ListAlertsResponseAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAlertsResponseAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6502,12 +6691,6 @@ type ListDashboardsRequest struct { Q types.String `tfsdk:"-"` } -func (newState *ListDashboardsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDashboardsRequest) { -} - -func (newState *ListDashboardsRequest) SyncEffectiveFieldsDuringRead(existingState ListDashboardsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDashboardsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6570,12 +6753,6 @@ type ListQueriesLegacyRequest struct { Q types.String `tfsdk:"-"` } -func (newState *ListQueriesLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueriesLegacyRequest) { -} - -func (newState *ListQueriesLegacyRequest) SyncEffectiveFieldsDuringRead(existingState ListQueriesLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6620,12 +6797,6 @@ type ListQueriesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListQueriesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueriesRequest) { -} - -func (newState *ListQueriesRequest) SyncEffectiveFieldsDuringRead(existingState ListQueriesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6674,6 +6845,12 @@ func (newState *ListQueriesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ListQueriesResponse) SyncEffectiveFieldsDuringRead(existingState ListQueriesResponse) { } +func (c ListQueriesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryInfo{}.ApplySchemaCustomizations(cs, append(path, "res")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueriesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6756,12 +6933,6 @@ type ListQueryHistoryRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListQueryHistoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListQueryHistoryRequest) { -} - -func (newState *ListQueryHistoryRequest) SyncEffectiveFieldsDuringRead(existingState ListQueryHistoryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryHistoryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6841,6 +7012,12 @@ func (newState *ListQueryObjectsResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListQueryObjectsResponse) SyncEffectiveFieldsDuringRead(existingState ListQueryObjectsResponse) { } +func (c ListQueryObjectsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListQueryObjectsResponseQuery{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -6947,6 +7124,12 @@ func (newState *ListQueryObjectsResponseQuery) SyncEffectiveFieldsDuringCreateOr func (newState *ListQueryObjectsResponseQuery) SyncEffectiveFieldsDuringRead(existingState ListQueryObjectsResponseQuery) { } +func (c ListQueryObjectsResponseQuery) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListQueryObjectsResponseQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7078,12 +7261,6 @@ type ListResponse struct { Results types.List `tfsdk:"results" tf:"optional"` } -func (newState *ListResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListResponse) { -} - -func (newState *ListResponse) SyncEffectiveFieldsDuringRead(existingState ListResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7160,12 +7337,6 @@ type ListVisualizationsForQueryRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListVisualizationsForQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListVisualizationsForQueryRequest) { -} - -func (newState *ListVisualizationsForQueryRequest) SyncEffectiveFieldsDuringRead(existingState ListVisualizationsForQueryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7213,6 +7384,12 @@ func (newState *ListVisualizationsForQueryResponse) SyncEffectiveFieldsDuringCre func (newState *ListVisualizationsForQueryResponse) SyncEffectiveFieldsDuringRead(existingState ListVisualizationsForQueryResponse) { } +func (c ListVisualizationsForQueryResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Visualization{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVisualizationsForQueryResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7283,12 +7460,6 @@ type ListWarehousesRequest struct { RunAsUserId types.Int64 `tfsdk:"-"` } -func (newState *ListWarehousesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWarehousesRequest) { -} - -func (newState *ListWarehousesRequest) SyncEffectiveFieldsDuringRead(existingState ListWarehousesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7331,6 +7502,12 @@ func (newState *ListWarehousesResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListWarehousesResponse) SyncEffectiveFieldsDuringRead(existingState ListWarehousesResponse) { } +func (c ListWarehousesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointInfo{}.ApplySchemaCustomizations(cs, append(path, "warehouses")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWarehousesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7408,6 +7585,11 @@ func (newState *MultiValuesOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *MultiValuesOptions) SyncEffectiveFieldsDuringRead(existingState MultiValuesOptions) { } +func (c MultiValuesOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MultiValuesOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7453,6 +7635,11 @@ func (newState *NumericValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan Numer func (newState *NumericValue) SyncEffectiveFieldsDuringRead(existingState NumericValue) { } +func (c NumericValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in NumericValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7500,6 +7687,11 @@ func (newState *OdbcParams) SyncEffectiveFieldsDuringCreateOrUpdate(plan OdbcPar func (newState *OdbcParams) SyncEffectiveFieldsDuringRead(existingState OdbcParams) { } +func (c OdbcParams) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in OdbcParams. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7564,6 +7756,12 @@ func (newState *Parameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan Paramete func (newState *Parameter) SyncEffectiveFieldsDuringRead(existingState Parameter) { } +func (c Parameter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MultiValuesOptions{}.ApplySchemaCustomizations(cs, append(path, "multiValuesOptions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Parameter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7682,6 +7880,12 @@ func (newState *Query) SyncEffectiveFieldsDuringCreateOrUpdate(plan Query) { func (newState *Query) SyncEffectiveFieldsDuringRead(existingState Query) { } +func (c Query) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Query. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7819,6 +8023,12 @@ func (newState *QueryBackedValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan Q func (newState *QueryBackedValue) SyncEffectiveFieldsDuringRead(existingState QueryBackedValue) { } +func (c QueryBackedValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MultiValuesOptions{}.ApplySchemaCustomizations(cs, append(path, "multi_values_options")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryBackedValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -7947,6 +8157,12 @@ func (newState *QueryEditContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan Q func (newState *QueryEditContent) SyncEffectiveFieldsDuringRead(existingState QueryEditContent) { } +func (c QueryEditContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "query_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryEditContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8042,6 +8258,12 @@ func (newState *QueryFilter) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryF func (newState *QueryFilter) SyncEffectiveFieldsDuringRead(existingState QueryFilter) { } +func (c QueryFilter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + TimeRange{}.ApplySchemaCustomizations(cs, append(path, "query_start_time_range")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryFilter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8285,6 +8507,13 @@ func (newState *QueryInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryInf func (newState *QueryInfo) SyncEffectiveFieldsDuringRead(existingState QueryInfo) { } +func (c QueryInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ChannelInfo{}.ApplySchemaCustomizations(cs, append(path, "channel_used")...) + QueryMetrics{}.ApplySchemaCustomizations(cs, append(path, "metrics")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8434,6 +8663,12 @@ func (newState *QueryList) SyncEffectiveFieldsDuringCreateOrUpdate(plan QueryLis func (newState *QueryList) SyncEffectiveFieldsDuringRead(existingState QueryList) { } +func (c QueryList) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + LegacyQuery{}.ApplySchemaCustomizations(cs, append(path, "results")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryList. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8568,6 +8803,11 @@ func (newState *QueryMetrics) SyncEffectiveFieldsDuringCreateOrUpdate(plan Query func (newState *QueryMetrics) SyncEffectiveFieldsDuringRead(existingState QueryMetrics) { } +func (c QueryMetrics) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryMetrics. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8660,6 +8900,12 @@ func (newState *QueryOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan Query func (newState *QueryOptions) SyncEffectiveFieldsDuringRead(existingState QueryOptions) { } +func (c QueryOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Parameter{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -8755,6 +9001,17 @@ func (newState *QueryParameter) SyncEffectiveFieldsDuringCreateOrUpdate(plan Que func (newState *QueryParameter) SyncEffectiveFieldsDuringRead(existingState QueryParameter) { } +func (c QueryParameter) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DateRangeValue{}.ApplySchemaCustomizations(cs, append(path, "date_range_value")...) + DateValue{}.ApplySchemaCustomizations(cs, append(path, "date_value")...) + EnumValue{}.ApplySchemaCustomizations(cs, append(path, "enum_value")...) + NumericValue{}.ApplySchemaCustomizations(cs, append(path, "numeric_value")...) + QueryBackedValue{}.ApplySchemaCustomizations(cs, append(path, "query_backed_value")...) + TextValue{}.ApplySchemaCustomizations(cs, append(path, "text_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryParameter. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9009,6 +9266,11 @@ func (newState *QueryPostContent) SyncEffectiveFieldsDuringCreateOrUpdate(plan Q func (newState *QueryPostContent) SyncEffectiveFieldsDuringRead(existingState QueryPostContent) { } +func (c QueryPostContent) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryPostContent. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9097,6 +9359,13 @@ func (newState *RepeatedEndpointConfPairs) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RepeatedEndpointConfPairs) SyncEffectiveFieldsDuringRead(existingState RepeatedEndpointConfPairs) { } +func (c RepeatedEndpointConfPairs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointConfPair{}.ApplySchemaCustomizations(cs, append(path, "config_pair")...) + EndpointConfPair{}.ApplySchemaCustomizations(cs, append(path, "configuration_pairs")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepeatedEndpointConfPairs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9194,12 +9463,6 @@ type RestoreDashboardRequest struct { DashboardId types.String `tfsdk:"-"` } -func (newState *RestoreDashboardRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreDashboardRequest) { -} - -func (newState *RestoreDashboardRequest) SyncEffectiveFieldsDuringRead(existingState RestoreDashboardRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreDashboardRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9236,12 +9499,6 @@ type RestoreQueriesLegacyRequest struct { QueryId types.String `tfsdk:"-"` } -func (newState *RestoreQueriesLegacyRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreQueriesLegacyRequest) { -} - -func (newState *RestoreQueriesLegacyRequest) SyncEffectiveFieldsDuringRead(existingState RestoreQueriesLegacyRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreQueriesLegacyRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9276,12 +9533,6 @@ func (o RestoreQueriesLegacyRequest) Type(ctx context.Context) attr.Type { type RestoreResponse struct { } -func (newState *RestoreResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan RestoreResponse) { -} - -func (newState *RestoreResponse) SyncEffectiveFieldsDuringRead(existingState RestoreResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in RestoreResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9342,6 +9593,12 @@ func (newState *ResultData) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultD func (newState *ResultData) SyncEffectiveFieldsDuringRead(existingState ResultData) { } +func (c ResultData) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ExternalLink{}.ApplySchemaCustomizations(cs, append(path, "external_links")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9474,6 +9731,13 @@ func (newState *ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate(plan Res func (newState *ResultManifest) SyncEffectiveFieldsDuringRead(existingState ResultManifest) { } +func (c ResultManifest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + BaseChunkInfo{}.ApplySchemaCustomizations(cs, append(path, "chunks")...) + ResultSchema{}.ApplySchemaCustomizations(cs, append(path, "schema")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9589,6 +9853,12 @@ func (newState *ResultSchema) SyncEffectiveFieldsDuringCreateOrUpdate(plan Resul func (newState *ResultSchema) SyncEffectiveFieldsDuringRead(existingState ResultSchema) { } +func (c ResultSchema) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnInfo{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultSchema. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9664,6 +9934,11 @@ func (newState *ServiceError) SyncEffectiveFieldsDuringCreateOrUpdate(plan Servi func (newState *ServiceError) SyncEffectiveFieldsDuringRead(existingState ServiceError) { } +func (c ServiceError) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ServiceError. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9707,12 +9982,6 @@ type SetRequest struct { ObjectType types.String `tfsdk:"-"` } -func (newState *SetRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetRequest) { -} - -func (newState *SetRequest) SyncEffectiveFieldsDuringRead(existingState SetRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9786,12 +10055,6 @@ type SetResponse struct { ObjectType types.String `tfsdk:"object_type" tf:"optional"` } -func (newState *SetResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SetResponse) { -} - -func (newState *SetResponse) SyncEffectiveFieldsDuringRead(existingState SetResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -9891,6 +10154,17 @@ func (newState *SetWorkspaceWarehouseConfigRequest) SyncEffectiveFieldsDuringCre func (newState *SetWorkspaceWarehouseConfigRequest) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigRequest) { } +func (c SetWorkspaceWarehouseConfigRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Channel{}.ApplySchemaCustomizations(cs, append(path, "channel")...) + RepeatedEndpointConfPairs{}.ApplySchemaCustomizations(cs, append(path, "config_param")...) + EndpointConfPair{}.ApplySchemaCustomizations(cs, append(path, "data_access_config")...) + WarehouseTypePair{}.ApplySchemaCustomizations(cs, append(path, "enabled_warehouse_types")...) + RepeatedEndpointConfPairs{}.ApplySchemaCustomizations(cs, append(path, "global_param")...) + RepeatedEndpointConfPairs{}.ApplySchemaCustomizations(cs, append(path, "sql_configuration_parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10122,6 +10396,11 @@ func (newState *SetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringCr func (newState *SetWorkspaceWarehouseConfigResponse) SyncEffectiveFieldsDuringRead(existingState SetWorkspaceWarehouseConfigResponse) { } +func (c SetWorkspaceWarehouseConfigResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SetWorkspaceWarehouseConfigResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10155,12 +10434,6 @@ type StartRequest struct { Id types.String `tfsdk:"-"` } -func (newState *StartRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan StartRequest) { -} - -func (newState *StartRequest) SyncEffectiveFieldsDuringRead(existingState StartRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10201,6 +10474,11 @@ func (newState *StartWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *StartWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState StartWarehouseResponse) { } +func (c StartWarehouseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StartWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10250,6 +10528,12 @@ func (newState *StatementParameterListItem) SyncEffectiveFieldsDuringCreateOrUpd func (newState *StatementParameterListItem) SyncEffectiveFieldsDuringRead(existingState StatementParameterListItem) { } +func (c StatementParameterListItem) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementParameterListItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10304,6 +10588,14 @@ func (newState *StatementResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *StatementResponse) SyncEffectiveFieldsDuringRead(existingState StatementResponse) { } +func (c StatementResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ResultManifest{}.ApplySchemaCustomizations(cs, append(path, "manifest")...) + ResultData{}.ApplySchemaCustomizations(cs, append(path, "result")...) + StatementStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10449,6 +10741,12 @@ func (newState *StatementStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan St func (newState *StatementStatus) SyncEffectiveFieldsDuringRead(existingState StatementStatus) { } +func (c StatementStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ServiceError{}.ApplySchemaCustomizations(cs, append(path, "error")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StatementStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10518,12 +10816,6 @@ type StopRequest struct { Id types.String `tfsdk:"-"` } -func (newState *StopRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan StopRequest) { -} - -func (newState *StopRequest) SyncEffectiveFieldsDuringRead(existingState StopRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10564,6 +10856,11 @@ func (newState *StopWarehouseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *StopWarehouseResponse) SyncEffectiveFieldsDuringRead(existingState StopWarehouseResponse) { } +func (c StopWarehouseResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in StopWarehouseResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10601,6 +10898,11 @@ func (newState *Success) SyncEffectiveFieldsDuringCreateOrUpdate(plan Success) { func (newState *Success) SyncEffectiveFieldsDuringRead(existingState Success) { } +func (c Success) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Success. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10648,6 +10950,11 @@ func (newState *TerminationReason) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *TerminationReason) SyncEffectiveFieldsDuringRead(existingState TerminationReason) { } +func (c TerminationReason) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TerminationReason. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10723,6 +11030,11 @@ func (newState *TextValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan TextValu func (newState *TextValue) SyncEffectiveFieldsDuringRead(existingState TextValue) { } +func (c TextValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TextValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10767,6 +11079,11 @@ func (newState *TimeRange) SyncEffectiveFieldsDuringCreateOrUpdate(plan TimeRang func (newState *TimeRange) SyncEffectiveFieldsDuringRead(existingState TimeRange) { } +func (c TimeRange) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TimeRange. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10811,6 +11128,11 @@ func (newState *TransferOwnershipObjectId) SyncEffectiveFieldsDuringCreateOrUpda func (newState *TransferOwnershipObjectId) SyncEffectiveFieldsDuringRead(existingState TransferOwnershipObjectId) { } +func (c TransferOwnershipObjectId) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipObjectId. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10852,12 +11174,6 @@ type TransferOwnershipRequest struct { ObjectType types.String `tfsdk:"-"` } -func (newState *TransferOwnershipRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan TransferOwnershipRequest) { -} - -func (newState *TransferOwnershipRequest) SyncEffectiveFieldsDuringRead(existingState TransferOwnershipRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TransferOwnershipRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10928,12 +11244,6 @@ type TrashAlertRequest struct { Id types.String `tfsdk:"-"` } -func (newState *TrashAlertRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrashAlertRequest) { -} - -func (newState *TrashAlertRequest) SyncEffectiveFieldsDuringRead(existingState TrashAlertRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -10970,12 +11280,6 @@ type TrashQueryRequest struct { Id types.String `tfsdk:"-"` } -func (newState *TrashQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan TrashQueryRequest) { -} - -func (newState *TrashQueryRequest) SyncEffectiveFieldsDuringRead(existingState TrashQueryRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in TrashQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11024,6 +11328,14 @@ func (newState *UpdateAlertRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateAlertRequest) SyncEffectiveFieldsDuringRead(existingState UpdateAlertRequest) { } +func (c UpdateAlertRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpdateAlertRequestAlert{}.ApplySchemaCustomizations(cs, append(path, "alert")...) + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "update_mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11124,6 +11436,12 @@ func (newState *UpdateAlertRequestAlert) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateAlertRequestAlert) SyncEffectiveFieldsDuringRead(existingState UpdateAlertRequestAlert) { } +func (c UpdateAlertRequestAlert) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AlertCondition{}.ApplySchemaCustomizations(cs, append(path, "condition")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateAlertRequestAlert. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11216,6 +11534,14 @@ func (newState *UpdateQueryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateQueryRequest) SyncEffectiveFieldsDuringRead(existingState UpdateQueryRequest) { } +func (c UpdateQueryRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + UpdateQueryRequestQuery{}.ApplySchemaCustomizations(cs, append(path, "query")...) + cs.SetRequired(append(path, "update_mask")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11314,6 +11640,12 @@ func (newState *UpdateQueryRequestQuery) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateQueryRequestQuery) SyncEffectiveFieldsDuringRead(existingState UpdateQueryRequestQuery) { } +func (c UpdateQueryRequestQuery) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + QueryParameter{}.ApplySchemaCustomizations(cs, append(path, "parameters")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateQueryRequestQuery. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11427,12 +11759,6 @@ func (o *UpdateQueryRequestQuery) SetTags(ctx context.Context, v []types.String) type UpdateResponse struct { } -func (newState *UpdateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UpdateResponse) { -} - -func (newState *UpdateResponse) SyncEffectiveFieldsDuringRead(existingState UpdateResponse) { -} - // 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 @@ -11477,6 +11803,14 @@ func (newState *UpdateVisualizationRequest) SyncEffectiveFieldsDuringCreateOrUpd func (newState *UpdateVisualizationRequest) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequest) { } +func (c UpdateVisualizationRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "id")...) + cs.SetRequired(append(path, "update_mask")...) + UpdateVisualizationRequestVisualization{}.ApplySchemaCustomizations(cs, append(path, "visualization")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11563,6 +11897,11 @@ func (newState *UpdateVisualizationRequestVisualization) SyncEffectiveFieldsDuri func (newState *UpdateVisualizationRequestVisualization) SyncEffectiveFieldsDuringRead(existingState UpdateVisualizationRequestVisualization) { } +func (c UpdateVisualizationRequestVisualization) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateVisualizationRequestVisualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11614,6 +11953,11 @@ func (newState *User) SyncEffectiveFieldsDuringCreateOrUpdate(plan User) { func (newState *User) SyncEffectiveFieldsDuringRead(existingState User) { } +func (c User) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in User. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11678,6 +12022,11 @@ func (newState *Visualization) SyncEffectiveFieldsDuringCreateOrUpdate(plan Visu func (newState *Visualization) SyncEffectiveFieldsDuringRead(existingState Visualization) { } +func (c Visualization) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Visualization. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11740,6 +12089,11 @@ func (newState *WarehouseAccessControlRequest) SyncEffectiveFieldsDuringCreateOr func (newState *WarehouseAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlRequest) { } +func (c WarehouseAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11796,6 +12150,12 @@ func (newState *WarehouseAccessControlResponse) SyncEffectiveFieldsDuringCreateO func (newState *WarehouseAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState WarehouseAccessControlResponse) { } +func (c WarehouseAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehousePermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11879,6 +12239,11 @@ func (newState *WarehousePermission) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *WarehousePermission) SyncEffectiveFieldsDuringRead(existingState WarehousePermission) { } +func (c WarehousePermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -11958,6 +12323,12 @@ func (newState *WarehousePermissions) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *WarehousePermissions) SyncEffectiveFieldsDuringRead(existingState WarehousePermissions) { } +func (c WarehousePermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehouseAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12035,6 +12406,11 @@ func (newState *WarehousePermissionsDescription) SyncEffectiveFieldsDuringCreate func (newState *WarehousePermissionsDescription) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsDescription) { } +func (c WarehousePermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12080,6 +12456,13 @@ func (newState *WarehousePermissionsRequest) SyncEffectiveFieldsDuringCreateOrUp func (newState *WarehousePermissionsRequest) SyncEffectiveFieldsDuringRead(existingState WarehousePermissionsRequest) { } +func (c WarehousePermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WarehouseAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "warehouse_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehousePermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12157,6 +12540,11 @@ func (newState *WarehouseTypePair) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *WarehouseTypePair) SyncEffectiveFieldsDuringRead(existingState WarehouseTypePair) { } +func (c WarehouseTypePair) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WarehouseTypePair. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12211,6 +12599,13 @@ func (newState *Widget) SyncEffectiveFieldsDuringCreateOrUpdate(plan Widget) { func (newState *Widget) SyncEffectiveFieldsDuringRead(existingState Widget) { } +func (c Widget) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WidgetOptions{}.ApplySchemaCustomizations(cs, append(path, "options")...) + LegacyVisualization{}.ApplySchemaCustomizations(cs, append(path, "visualization")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Widget. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12333,6 +12728,12 @@ func (newState *WidgetOptions) SyncEffectiveFieldsDuringCreateOrUpdate(plan Widg func (newState *WidgetOptions) SyncEffectiveFieldsDuringRead(existingState WidgetOptions) { } +func (c WidgetOptions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WidgetPosition{}.ApplySchemaCustomizations(cs, append(path, "position")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetOptions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -12427,6 +12828,11 @@ func (newState *WidgetPosition) SyncEffectiveFieldsDuringCreateOrUpdate(plan Wid func (newState *WidgetPosition) SyncEffectiveFieldsDuringRead(existingState WidgetPosition) { } +func (c WidgetPosition) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WidgetPosition. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/vectorsearch_tf/legacy_model.go b/internal/service/vectorsearch_tf/legacy_model.go index 27e70adf8..4a5dcee86 100755 --- a/internal/service/vectorsearch_tf/legacy_model.go +++ b/internal/service/vectorsearch_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -32,6 +33,11 @@ func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan C func (newState *ColumnInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ColumnInfo_SdkV2) { } +func (c ColumnInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -76,6 +82,13 @@ func (newState *CreateEndpoint_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CreateEndpoint_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateEndpoint_SdkV2) { } +func (c CreateEndpoint_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "endpoint_type")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -138,6 +151,17 @@ func (newState *CreateVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *CreateVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexRequest_SdkV2) { } +func (c CreateVectorIndexRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DeltaSyncVectorIndexSpecRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "delta_sync_index_spec")...) + DirectAccessVectorIndexSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "direct_access_index_spec")...) + cs.SetRequired(append(path, "endpoint_name")...) + cs.SetRequired(append(path, "index_type")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "primary_key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -248,6 +272,12 @@ func (newState *CreateVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *CreateVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexResponse_SdkV2) { } +func (c CreateVectorIndexResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + VectorIndex_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "vector_index")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -323,6 +353,11 @@ func (newState *DeleteDataResult_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *DeleteDataResult_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDataResult_SdkV2) { } +func (c DeleteDataResult_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -401,6 +436,13 @@ func (newState *DeleteDataVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *DeleteDataVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexRequest_SdkV2) { } +func (c DeleteDataVectorIndexRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + cs.SetRequired(append(path, "primary_keys")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -478,6 +520,12 @@ func (newState *DeleteDataVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *DeleteDataVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexResponse_SdkV2) { } +func (c DeleteDataVectorIndexResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DeleteDataResult_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "result")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -547,12 +595,6 @@ type DeleteEndpointRequest_SdkV2 struct { EndpointName types.String `tfsdk:"-"` } -func (newState *DeleteEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointRequest_SdkV2) { -} - -func (newState *DeleteEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -587,12 +629,6 @@ func (o DeleteEndpointRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteEndpointResponse_SdkV2 struct { } -func (newState *DeleteEndpointResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointResponse_SdkV2) { -} - -func (newState *DeleteEndpointResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteEndpointResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -626,12 +662,6 @@ type DeleteIndexRequest_SdkV2 struct { IndexName types.String `tfsdk:"-"` } -func (newState *DeleteIndexRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexRequest_SdkV2) { -} - -func (newState *DeleteIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteIndexRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -666,12 +696,6 @@ func (o DeleteIndexRequest_SdkV2) Type(ctx context.Context) attr.Type { type DeleteIndexResponse_SdkV2 struct { } -func (newState *DeleteIndexResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexResponse_SdkV2) { -} - -func (newState *DeleteIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteIndexResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -733,6 +757,13 @@ func (newState *DeltaSyncVectorIndexSpecRequest_SdkV2) SyncEffectiveFieldsDuring func (newState *DeltaSyncVectorIndexSpecRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecRequest_SdkV2) { } +func (c DeltaSyncVectorIndexSpecRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmbeddingSourceColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedding_source_columns")...) + EmbeddingVectorColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedding_vector_columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaSyncVectorIndexSpecRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -891,6 +922,13 @@ func (newState *DeltaSyncVectorIndexSpecResponse_SdkV2) SyncEffectiveFieldsDurin func (newState *DeltaSyncVectorIndexSpecResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecResponse_SdkV2) { } +func (c DeltaSyncVectorIndexSpecResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmbeddingSourceColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedding_source_columns")...) + EmbeddingVectorColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedding_vector_columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaSyncVectorIndexSpecResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1011,6 +1049,13 @@ func (newState *DirectAccessVectorIndexSpec_SdkV2) SyncEffectiveFieldsDuringCrea func (newState *DirectAccessVectorIndexSpec_SdkV2) SyncEffectiveFieldsDuringRead(existingState DirectAccessVectorIndexSpec_SdkV2) { } +func (c DirectAccessVectorIndexSpec_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmbeddingSourceColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedding_source_columns")...) + EmbeddingVectorColumn_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "embedding_vector_columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DirectAccessVectorIndexSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1118,6 +1163,11 @@ func (newState *EmbeddingSourceColumn_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *EmbeddingSourceColumn_SdkV2) SyncEffectiveFieldsDuringRead(existingState EmbeddingSourceColumn_SdkV2) { } +func (c EmbeddingSourceColumn_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingSourceColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1164,6 +1214,11 @@ func (newState *EmbeddingVectorColumn_SdkV2) SyncEffectiveFieldsDuringCreateOrUp func (newState *EmbeddingVectorColumn_SdkV2) SyncEffectiveFieldsDuringRead(existingState EmbeddingVectorColumn_SdkV2) { } +func (c EmbeddingVectorColumn_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingVectorColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1224,6 +1279,12 @@ func (newState *EndpointInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *EndpointInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointInfo_SdkV2) { } +func (c EndpointInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "endpoint_status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1315,6 +1376,11 @@ func (newState *EndpointStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *EndpointStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState EndpointStatus_SdkV2) { } +func (c EndpointStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1354,12 +1420,6 @@ type GetEndpointRequest_SdkV2 struct { EndpointName types.String `tfsdk:"-"` } -func (newState *GetEndpointRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEndpointRequest_SdkV2) { -} - -func (newState *GetEndpointRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetEndpointRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1397,12 +1457,6 @@ type GetIndexRequest_SdkV2 struct { IndexName types.String `tfsdk:"-"` } -func (newState *GetIndexRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetIndexRequest_SdkV2) { -} - -func (newState *GetIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetIndexRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1448,6 +1502,12 @@ func (newState *ListEndpointResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *ListEndpointResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListEndpointResponse_SdkV2) { } +func (c ListEndpointResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "endpoints")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1517,12 +1577,6 @@ type ListEndpointsRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListEndpointsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointsRequest_SdkV2) { -} - -func (newState *ListEndpointsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListEndpointsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1562,12 +1616,6 @@ type ListIndexesRequest_SdkV2 struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListIndexesRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListIndexesRequest_SdkV2) { -} - -func (newState *ListIndexesRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListIndexesRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListIndexesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1611,6 +1659,12 @@ func (newState *ListValue_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Li func (newState *ListValue_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListValue_SdkV2) { } +func (c ListValue_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Value_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "values")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1686,6 +1740,12 @@ func (newState *ListVectorIndexesResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *ListVectorIndexesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListVectorIndexesResponse_SdkV2) { } +func (c ListVectorIndexesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MiniVectorIndex_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "vector_indexes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVectorIndexesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1763,6 +1823,12 @@ func (newState *MapStringValueEntry_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *MapStringValueEntry_SdkV2) SyncEffectiveFieldsDuringRead(existingState MapStringValueEntry_SdkV2) { } +func (c MapStringValueEntry_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Value_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MapStringValueEntry. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1851,6 +1917,11 @@ func (newState *MiniVectorIndex_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *MiniVectorIndex_SdkV2) SyncEffectiveFieldsDuringRead(existingState MiniVectorIndex_SdkV2) { } +func (c MiniVectorIndex_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MiniVectorIndex. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1907,6 +1978,12 @@ func (newState *QueryVectorIndexNextPageRequest_SdkV2) SyncEffectiveFieldsDuring func (newState *QueryVectorIndexNextPageRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexNextPageRequest_SdkV2) { } +func (c QueryVectorIndexNextPageRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexNextPageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1973,6 +2050,13 @@ func (newState *QueryVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *QueryVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexRequest_SdkV2) { } +func (c QueryVectorIndexRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "columns")...) + cs.SetRequired(append(path, "index_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2094,6 +2178,13 @@ func (newState *QueryVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *QueryVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexResponse_SdkV2) { } +func (c QueryVectorIndexResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ResultManifest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "manifest")...) + ResultData_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "result")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2202,6 +2293,11 @@ func (newState *ResultData_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan R func (newState *ResultData_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResultData_SdkV2) { } +func (c ResultData_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2281,6 +2377,12 @@ func (newState *ResultManifest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ResultManifest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ResultManifest_SdkV2) { } +func (c ResultManifest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2360,6 +2462,12 @@ func (newState *ScanVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *ScanVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexRequest_SdkV2) { } +func (c ScanVectorIndexRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ScanVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2409,6 +2517,12 @@ func (newState *ScanVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ScanVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexResponse_SdkV2) { } +func (c ScanVectorIndexResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Struct_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "data")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ScanVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2483,6 +2597,12 @@ func (newState *Struct_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Struc func (newState *Struct_SdkV2) SyncEffectiveFieldsDuringRead(existingState Struct_SdkV2) { } +func (c Struct_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MapStringValueEntry_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "fields")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Struct. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2550,12 +2670,6 @@ type SyncIndexRequest_SdkV2 struct { IndexName types.String `tfsdk:"-"` } -func (newState *SyncIndexRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexRequest_SdkV2) { -} - -func (newState *SyncIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState SyncIndexRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2590,12 +2704,6 @@ func (o SyncIndexRequest_SdkV2) Type(ctx context.Context) attr.Type { type SyncIndexResponse_SdkV2 struct { } -func (newState *SyncIndexResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexResponse_SdkV2) { -} - -func (newState *SyncIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState SyncIndexResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2637,6 +2745,11 @@ func (newState *UpsertDataResult_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *UpsertDataResult_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpsertDataResult_SdkV2) { } +func (c UpsertDataResult_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2715,6 +2828,13 @@ func (newState *UpsertDataVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringCre func (newState *UpsertDataVectorIndexRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexRequest_SdkV2) { } +func (c UpsertDataVectorIndexRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + cs.SetRequired(append(path, "inputs_json")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2762,6 +2882,12 @@ func (newState *UpsertDataVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringCr func (newState *UpsertDataVectorIndexResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexResponse_SdkV2) { } +func (c UpsertDataVectorIndexResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpsertDataResult_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "result")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2845,6 +2971,13 @@ func (newState *Value_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Value_ func (newState *Value_SdkV2) SyncEffectiveFieldsDuringRead(existingState Value_SdkV2) { } +func (c Value_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListValue_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "list_value")...) + Struct_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "struct_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Value. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2976,6 +3109,14 @@ func (newState *VectorIndex_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *VectorIndex_SdkV2) SyncEffectiveFieldsDuringRead(existingState VectorIndex_SdkV2) { } +func (c VectorIndex_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DeltaSyncVectorIndexSpecResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "delta_sync_index_spec")...) + DirectAccessVectorIndexSpec_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "direct_access_index_spec")...) + VectorIndexStatus_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VectorIndex. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3126,6 +3267,11 @@ func (newState *VectorIndexStatus_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *VectorIndexStatus_SdkV2) SyncEffectiveFieldsDuringRead(existingState VectorIndexStatus_SdkV2) { } +func (c VectorIndexStatus_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VectorIndexStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/vectorsearch_tf/model.go b/internal/service/vectorsearch_tf/model.go index ae0141c7f..93f12278a 100755 --- a/internal/service/vectorsearch_tf/model.go +++ b/internal/service/vectorsearch_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -32,6 +33,11 @@ func (newState *ColumnInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ColumnI func (newState *ColumnInfo) SyncEffectiveFieldsDuringRead(existingState ColumnInfo) { } +func (c ColumnInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ColumnInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -76,6 +82,13 @@ func (newState *CreateEndpoint) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CreateEndpoint) SyncEffectiveFieldsDuringRead(existingState CreateEndpoint) { } +func (c CreateEndpoint) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "endpoint_type")...) + cs.SetRequired(append(path, "name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateEndpoint. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -138,6 +151,17 @@ func (newState *CreateVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexRequest) { } +func (c CreateVectorIndexRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DeltaSyncVectorIndexSpecRequest{}.ApplySchemaCustomizations(cs, append(path, "delta_sync_index_spec")...) + DirectAccessVectorIndexSpec{}.ApplySchemaCustomizations(cs, append(path, "direct_access_index_spec")...) + cs.SetRequired(append(path, "endpoint_name")...) + cs.SetRequired(append(path, "index_type")...) + cs.SetRequired(append(path, "name")...) + cs.SetRequired(append(path, "primary_key")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -248,6 +272,12 @@ func (newState *CreateVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState CreateVectorIndexResponse) { } +func (c CreateVectorIndexResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + VectorIndex{}.ApplySchemaCustomizations(cs, append(path, "vector_index")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -323,6 +353,11 @@ func (newState *DeleteDataResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan D func (newState *DeleteDataResult) SyncEffectiveFieldsDuringRead(existingState DeleteDataResult) { } +func (c DeleteDataResult) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -401,6 +436,13 @@ func (newState *DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *DeleteDataVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexRequest) { } +func (c DeleteDataVectorIndexRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + cs.SetRequired(append(path, "primary_keys")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -478,6 +520,12 @@ func (newState *DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOr func (newState *DeleteDataVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDataVectorIndexResponse) { } +func (c DeleteDataVectorIndexResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DeleteDataResult{}.ApplySchemaCustomizations(cs, append(path, "result")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDataVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -547,12 +595,6 @@ type DeleteEndpointRequest struct { EndpointName types.String `tfsdk:"-"` } -func (newState *DeleteEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointRequest) { -} - -func (newState *DeleteEndpointRequest) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -587,12 +629,6 @@ func (o DeleteEndpointRequest) Type(ctx context.Context) attr.Type { type DeleteEndpointResponse struct { } -func (newState *DeleteEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteEndpointResponse) { -} - -func (newState *DeleteEndpointResponse) SyncEffectiveFieldsDuringRead(existingState DeleteEndpointResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteEndpointResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -626,12 +662,6 @@ type DeleteIndexRequest struct { IndexName types.String `tfsdk:"-"` } -func (newState *DeleteIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexRequest) { -} - -func (newState *DeleteIndexRequest) SyncEffectiveFieldsDuringRead(existingState DeleteIndexRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -666,12 +696,6 @@ func (o DeleteIndexRequest) Type(ctx context.Context) attr.Type { type DeleteIndexResponse struct { } -func (newState *DeleteIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteIndexResponse) { -} - -func (newState *DeleteIndexResponse) SyncEffectiveFieldsDuringRead(existingState DeleteIndexResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -733,6 +757,13 @@ func (newState *DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringCreate func (newState *DeltaSyncVectorIndexSpecRequest) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecRequest) { } +func (c DeltaSyncVectorIndexSpecRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmbeddingSourceColumn{}.ApplySchemaCustomizations(cs, append(path, "embedding_source_columns")...) + EmbeddingVectorColumn{}.ApplySchemaCustomizations(cs, append(path, "embedding_vector_columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaSyncVectorIndexSpecRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -891,6 +922,13 @@ func (newState *DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringCreat func (newState *DeltaSyncVectorIndexSpecResponse) SyncEffectiveFieldsDuringRead(existingState DeltaSyncVectorIndexSpecResponse) { } +func (c DeltaSyncVectorIndexSpecResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmbeddingSourceColumn{}.ApplySchemaCustomizations(cs, append(path, "embedding_source_columns")...) + EmbeddingVectorColumn{}.ApplySchemaCustomizations(cs, append(path, "embedding_vector_columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeltaSyncVectorIndexSpecResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1011,6 +1049,13 @@ func (newState *DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringCreateOrUp func (newState *DirectAccessVectorIndexSpec) SyncEffectiveFieldsDuringRead(existingState DirectAccessVectorIndexSpec) { } +func (c DirectAccessVectorIndexSpec) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EmbeddingSourceColumn{}.ApplySchemaCustomizations(cs, append(path, "embedding_source_columns")...) + EmbeddingVectorColumn{}.ApplySchemaCustomizations(cs, append(path, "embedding_vector_columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DirectAccessVectorIndexSpec. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1118,6 +1163,11 @@ func (newState *EmbeddingSourceColumn) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *EmbeddingSourceColumn) SyncEffectiveFieldsDuringRead(existingState EmbeddingSourceColumn) { } +func (c EmbeddingSourceColumn) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingSourceColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1164,6 +1214,11 @@ func (newState *EmbeddingVectorColumn) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *EmbeddingVectorColumn) SyncEffectiveFieldsDuringRead(existingState EmbeddingVectorColumn) { } +func (c EmbeddingVectorColumn) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EmbeddingVectorColumn. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1224,6 +1279,12 @@ func (newState *EndpointInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Endpo func (newState *EndpointInfo) SyncEffectiveFieldsDuringRead(existingState EndpointInfo) { } +func (c EndpointInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointStatus{}.ApplySchemaCustomizations(cs, append(path, "endpoint_status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1315,6 +1376,11 @@ func (newState *EndpointStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan End func (newState *EndpointStatus) SyncEffectiveFieldsDuringRead(existingState EndpointStatus) { } +func (c EndpointStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in EndpointStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1354,12 +1420,6 @@ type GetEndpointRequest struct { EndpointName types.String `tfsdk:"-"` } -func (newState *GetEndpointRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetEndpointRequest) { -} - -func (newState *GetEndpointRequest) SyncEffectiveFieldsDuringRead(existingState GetEndpointRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetEndpointRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1397,12 +1457,6 @@ type GetIndexRequest struct { IndexName types.String `tfsdk:"-"` } -func (newState *GetIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetIndexRequest) { -} - -func (newState *GetIndexRequest) SyncEffectiveFieldsDuringRead(existingState GetIndexRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1448,6 +1502,12 @@ func (newState *ListEndpointResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ListEndpointResponse) SyncEffectiveFieldsDuringRead(existingState ListEndpointResponse) { } +func (c ListEndpointResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + EndpointInfo{}.ApplySchemaCustomizations(cs, append(path, "endpoints")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1517,12 +1577,6 @@ type ListEndpointsRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListEndpointsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListEndpointsRequest) { -} - -func (newState *ListEndpointsRequest) SyncEffectiveFieldsDuringRead(existingState ListEndpointsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListEndpointsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1562,12 +1616,6 @@ type ListIndexesRequest struct { PageToken types.String `tfsdk:"-"` } -func (newState *ListIndexesRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListIndexesRequest) { -} - -func (newState *ListIndexesRequest) SyncEffectiveFieldsDuringRead(existingState ListIndexesRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListIndexesRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1611,6 +1659,12 @@ func (newState *ListValue) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListValu func (newState *ListValue) SyncEffectiveFieldsDuringRead(existingState ListValue) { } +func (c ListValue) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Value{}.ApplySchemaCustomizations(cs, append(path, "values")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListValue. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1686,6 +1740,12 @@ func (newState *ListVectorIndexesResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListVectorIndexesResponse) SyncEffectiveFieldsDuringRead(existingState ListVectorIndexesResponse) { } +func (c ListVectorIndexesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MiniVectorIndex{}.ApplySchemaCustomizations(cs, append(path, "vector_indexes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListVectorIndexesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1763,6 +1823,12 @@ func (newState *MapStringValueEntry) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *MapStringValueEntry) SyncEffectiveFieldsDuringRead(existingState MapStringValueEntry) { } +func (c MapStringValueEntry) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Value{}.ApplySchemaCustomizations(cs, append(path, "value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MapStringValueEntry. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1851,6 +1917,11 @@ func (newState *MiniVectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mi func (newState *MiniVectorIndex) SyncEffectiveFieldsDuringRead(existingState MiniVectorIndex) { } +func (c MiniVectorIndex) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MiniVectorIndex. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1907,6 +1978,12 @@ func (newState *QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringCreate func (newState *QueryVectorIndexNextPageRequest) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexNextPageRequest) { } +func (c QueryVectorIndexNextPageRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexNextPageRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1973,6 +2050,13 @@ func (newState *QueryVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *QueryVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexRequest) { } +func (c QueryVectorIndexRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "columns")...) + cs.SetRequired(append(path, "index_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2094,6 +2178,13 @@ func (newState *QueryVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *QueryVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState QueryVectorIndexResponse) { } +func (c QueryVectorIndexResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ResultManifest{}.ApplySchemaCustomizations(cs, append(path, "manifest")...) + ResultData{}.ApplySchemaCustomizations(cs, append(path, "result")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in QueryVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2202,6 +2293,11 @@ func (newState *ResultData) SyncEffectiveFieldsDuringCreateOrUpdate(plan ResultD func (newState *ResultData) SyncEffectiveFieldsDuringRead(existingState ResultData) { } +func (c ResultData) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultData. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2281,6 +2377,12 @@ func (newState *ResultManifest) SyncEffectiveFieldsDuringCreateOrUpdate(plan Res func (newState *ResultManifest) SyncEffectiveFieldsDuringRead(existingState ResultManifest) { } +func (c ResultManifest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ColumnInfo{}.ApplySchemaCustomizations(cs, append(path, "columns")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ResultManifest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2360,6 +2462,12 @@ func (newState *ScanVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ScanVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexRequest) { } +func (c ScanVectorIndexRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ScanVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2409,6 +2517,12 @@ func (newState *ScanVectorIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ScanVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState ScanVectorIndexResponse) { } +func (c ScanVectorIndexResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + Struct{}.ApplySchemaCustomizations(cs, append(path, "data")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ScanVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2483,6 +2597,12 @@ func (newState *Struct) SyncEffectiveFieldsDuringCreateOrUpdate(plan Struct) { func (newState *Struct) SyncEffectiveFieldsDuringRead(existingState Struct) { } +func (c Struct) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + MapStringValueEntry{}.ApplySchemaCustomizations(cs, append(path, "fields")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Struct. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2550,12 +2670,6 @@ type SyncIndexRequest struct { IndexName types.String `tfsdk:"-"` } -func (newState *SyncIndexRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexRequest) { -} - -func (newState *SyncIndexRequest) SyncEffectiveFieldsDuringRead(existingState SyncIndexRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2590,12 +2704,6 @@ func (o SyncIndexRequest) Type(ctx context.Context) attr.Type { type SyncIndexResponse struct { } -func (newState *SyncIndexResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan SyncIndexResponse) { -} - -func (newState *SyncIndexResponse) SyncEffectiveFieldsDuringRead(existingState SyncIndexResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in SyncIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2637,6 +2745,11 @@ func (newState *UpsertDataResult) SyncEffectiveFieldsDuringCreateOrUpdate(plan U func (newState *UpsertDataResult) SyncEffectiveFieldsDuringRead(existingState UpsertDataResult) { } +func (c UpsertDataResult) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataResult. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2715,6 +2828,13 @@ func (newState *UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringCreateOrU func (newState *UpsertDataVectorIndexRequest) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexRequest) { } +func (c UpsertDataVectorIndexRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "index_name")...) + cs.SetRequired(append(path, "inputs_json")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataVectorIndexRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2762,6 +2882,12 @@ func (newState *UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringCreateOr func (newState *UpsertDataVectorIndexResponse) SyncEffectiveFieldsDuringRead(existingState UpsertDataVectorIndexResponse) { } +func (c UpsertDataVectorIndexResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + UpsertDataResult{}.ApplySchemaCustomizations(cs, append(path, "result")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpsertDataVectorIndexResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2845,6 +2971,13 @@ func (newState *Value) SyncEffectiveFieldsDuringCreateOrUpdate(plan Value) { func (newState *Value) SyncEffectiveFieldsDuringRead(existingState Value) { } +func (c Value) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ListValue{}.ApplySchemaCustomizations(cs, append(path, "list_value")...) + Struct{}.ApplySchemaCustomizations(cs, append(path, "struct_value")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Value. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2976,6 +3109,14 @@ func (newState *VectorIndex) SyncEffectiveFieldsDuringCreateOrUpdate(plan Vector func (newState *VectorIndex) SyncEffectiveFieldsDuringRead(existingState VectorIndex) { } +func (c VectorIndex) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + DeltaSyncVectorIndexSpecResponse{}.ApplySchemaCustomizations(cs, append(path, "delta_sync_index_spec")...) + DirectAccessVectorIndexSpec{}.ApplySchemaCustomizations(cs, append(path, "direct_access_index_spec")...) + VectorIndexStatus{}.ApplySchemaCustomizations(cs, append(path, "status")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VectorIndex. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3126,6 +3267,11 @@ func (newState *VectorIndexStatus) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *VectorIndexStatus) SyncEffectiveFieldsDuringRead(existingState VectorIndexStatus) { } +func (c VectorIndexStatus) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in VectorIndexStatus. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/workspace_tf/legacy_model.go b/internal/service/workspace_tf/legacy_model.go index 676ad91b7..f03d556bb 100755 --- a/internal/service/workspace_tf/legacy_model.go +++ b/internal/service/workspace_tf/legacy_model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -34,6 +35,13 @@ func (newState *AclItem_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan AclI func (newState *AclItem_SdkV2) SyncEffectiveFieldsDuringRead(existingState AclItem_SdkV2) { } +func (c AclItem_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "permission")...) + cs.SetRequired(append(path, "principal")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AclItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -81,6 +89,13 @@ func (newState *AzureKeyVaultSecretScopeMetadata_SdkV2) SyncEffectiveFieldsDurin func (newState *AzureKeyVaultSecretScopeMetadata_SdkV2) SyncEffectiveFieldsDuringRead(existingState AzureKeyVaultSecretScopeMetadata_SdkV2) { } +func (c AzureKeyVaultSecretScopeMetadata_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dns_name")...) + cs.SetRequired(append(path, "resource_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureKeyVaultSecretScopeMetadata. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -142,6 +157,12 @@ func (newState *CreateCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *CreateCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCredentialsRequest_SdkV2) { } +func (c CreateCredentialsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "git_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -193,6 +214,13 @@ func (newState *CreateCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *CreateCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateCredentialsResponse_SdkV2) { } +func (c CreateCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + cs.SetRequired(append(path, "git_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -251,6 +279,14 @@ func (newState *CreateRepoRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *CreateRepoRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRepoRequest_SdkV2) { } +func (c CreateRepoRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "provider")...) + SparseCheckout_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -342,6 +378,12 @@ func (newState *CreateRepoResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateRepoResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateRepoResponse_SdkV2) { } +func (c CreateRepoResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparseCheckout_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -434,6 +476,13 @@ func (newState *CreateScope_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateScope_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateScope_SdkV2) { } +func (c CreateScope_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AzureKeyVaultSecretScopeMetadata_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "backend_azure_keyvault")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateScope. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -504,12 +553,6 @@ func (o *CreateScope_SdkV2) SetBackendAzureKeyvault(ctx context.Context, v Azure type CreateScopeResponse_SdkV2 struct { } -func (newState *CreateScopeResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateScopeResponse_SdkV2) { -} - -func (newState *CreateScopeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState CreateScopeResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateScopeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -553,6 +596,12 @@ func (newState *CredentialInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *CredentialInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState CredentialInfo_SdkV2) { } +func (c CredentialInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -604,6 +653,12 @@ func (newState *Delete_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delet func (newState *Delete_SdkV2) SyncEffectiveFieldsDuringRead(existingState Delete_SdkV2) { } +func (c Delete_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Delete. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -650,6 +705,13 @@ func (newState *DeleteAcl_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan De func (newState *DeleteAcl_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAcl_SdkV2) { } +func (c DeleteAcl_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "principal")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAcl. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -686,12 +748,6 @@ func (o DeleteAcl_SdkV2) Type(ctx context.Context) attr.Type { type DeleteAclResponse_SdkV2 struct { } -func (newState *DeleteAclResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAclResponse_SdkV2) { -} - -func (newState *DeleteAclResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteAclResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAclResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -725,12 +781,6 @@ type DeleteCredentialsRequest_SdkV2 struct { CredentialId types.Int64 `tfsdk:"-"` } -func (newState *DeleteCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialsRequest_SdkV2) { -} - -func (newState *DeleteCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -771,6 +821,11 @@ func (newState *DeleteCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *DeleteCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialsResponse_SdkV2) { } +func (c DeleteCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -804,12 +859,6 @@ type DeleteRepoRequest_SdkV2 struct { RepoId types.Int64 `tfsdk:"-"` } -func (newState *DeleteRepoRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRepoRequest_SdkV2) { -} - -func (newState *DeleteRepoRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRepoRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -850,6 +899,11 @@ func (newState *DeleteRepoResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *DeleteRepoResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteRepoResponse_SdkV2) { } +func (c DeleteRepoResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -886,6 +940,11 @@ func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DeleteResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteResponse_SdkV2) { } +func (c DeleteResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -924,6 +983,12 @@ func (newState *DeleteScope_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteScope_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteScope_SdkV2) { } +func (c DeleteScope_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScope. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -958,12 +1023,6 @@ func (o DeleteScope_SdkV2) Type(ctx context.Context) attr.Type { type DeleteScopeResponse_SdkV2 struct { } -func (newState *DeleteScopeResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScopeResponse_SdkV2) { -} - -func (newState *DeleteScopeResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteScopeResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScopeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1004,6 +1063,13 @@ func (newState *DeleteSecret_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteSecret_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteSecret_SdkV2) { } +func (c DeleteSecret_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1046,6 +1112,11 @@ func (newState *DeleteSecretResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *DeleteSecretResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState DeleteSecretResponse_SdkV2) { } +func (c DeleteSecretResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1095,12 +1166,6 @@ type ExportRequest_SdkV2 struct { Path types.String `tfsdk:"-"` } -func (newState *ExportRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRequest_SdkV2) { -} - -func (newState *ExportRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1148,6 +1213,11 @@ func (newState *ExportResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ExportResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ExportResponse_SdkV2) { } +func (c ExportResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1189,12 +1259,6 @@ type GetAclRequest_SdkV2 struct { Scope types.String `tfsdk:"-"` } -func (newState *GetAclRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAclRequest_SdkV2) { -} - -func (newState *GetAclRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetAclRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAclRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1234,12 +1298,6 @@ type GetCredentialsRequest_SdkV2 struct { CredentialId types.Int64 `tfsdk:"-"` } -func (newState *GetCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialsRequest_SdkV2) { -} - -func (newState *GetCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCredentialsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1287,6 +1345,12 @@ func (newState *GetCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *GetCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetCredentialsResponse_SdkV2) { } +func (c GetCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1328,12 +1392,6 @@ type GetRepoPermissionLevelsRequest_SdkV2 struct { RepoId types.String `tfsdk:"-"` } -func (newState *GetRepoPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetRepoPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1376,6 +1434,12 @@ func (newState *GetRepoPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuring func (newState *GetRepoPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionLevelsResponse_SdkV2) { } +func (c GetRepoPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1443,12 +1507,6 @@ type GetRepoPermissionsRequest_SdkV2 struct { RepoId types.String `tfsdk:"-"` } -func (newState *GetRepoPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionsRequest_SdkV2) { -} - -func (newState *GetRepoPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1486,12 +1544,6 @@ type GetRepoRequest_SdkV2 struct { RepoId types.Int64 `tfsdk:"-"` } -func (newState *GetRepoRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoRequest_SdkV2) { -} - -func (newState *GetRepoRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRepoRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1546,6 +1598,12 @@ func (newState *GetRepoResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *GetRepoResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetRepoResponse_SdkV2) { } +func (c GetRepoResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparseCheckout_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1627,12 +1685,6 @@ type GetSecretRequest_SdkV2 struct { Scope types.String `tfsdk:"-"` } -func (newState *GetSecretRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSecretRequest_SdkV2) { -} - -func (newState *GetSecretRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSecretRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSecretRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1679,6 +1731,11 @@ func (newState *GetSecretResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *GetSecretResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetSecretResponse_SdkV2) { } +func (c GetSecretResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1718,12 +1775,6 @@ type GetStatusRequest_SdkV2 struct { Path types.String `tfsdk:"-"` } -func (newState *GetStatusRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest_SdkV2) { -} - -func (newState *GetStatusRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1763,12 +1814,6 @@ type GetWorkspaceObjectPermissionLevelsRequest_SdkV2 struct { WorkspaceObjectType types.String `tfsdk:"-"` } -func (newState *GetWorkspaceObjectPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionLevelsRequest_SdkV2) { -} - -func (newState *GetWorkspaceObjectPermissionLevelsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionLevelsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceObjectPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1813,6 +1858,12 @@ func (newState *GetWorkspaceObjectPermissionLevelsResponse_SdkV2) SyncEffectiveF func (newState *GetWorkspaceObjectPermissionLevelsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionLevelsResponse_SdkV2) { } +func (c GetWorkspaceObjectPermissionLevelsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectPermissionsDescription_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceObjectPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1882,12 +1933,6 @@ type GetWorkspaceObjectPermissionsRequest_SdkV2 struct { WorkspaceObjectType types.String `tfsdk:"-"` } -func (newState *GetWorkspaceObjectPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionsRequest_SdkV2) { -} - -func (newState *GetWorkspaceObjectPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceObjectPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1960,6 +2005,12 @@ func (newState *Import_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Impor func (newState *Import_SdkV2) SyncEffectiveFieldsDuringRead(existingState Import_SdkV2) { } +func (c Import_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Import. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2008,6 +2059,11 @@ func (newState *ImportResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *ImportResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ImportResponse_SdkV2) { } +func (c ImportResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ImportResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2041,12 +2097,6 @@ type ListAclsRequest_SdkV2 struct { Scope types.String `tfsdk:"-"` } -func (newState *ListAclsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAclsRequest_SdkV2) { -} - -func (newState *ListAclsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAclsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAclsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2089,6 +2139,12 @@ func (newState *ListAclsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *ListAclsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListAclsResponse_SdkV2) { } +func (c ListAclsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AclItem_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "items")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAclsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2161,6 +2217,12 @@ func (newState *ListCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOr func (newState *ListCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListCredentialsResponse_SdkV2) { } +func (c ListCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CredentialInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2234,12 +2296,6 @@ type ListReposRequest_SdkV2 struct { PathPrefix types.String `tfsdk:"-"` } -func (newState *ListReposRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListReposRequest_SdkV2) { -} - -func (newState *ListReposRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListReposRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListReposRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2287,6 +2343,12 @@ func (newState *ListReposResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListReposResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListReposResponse_SdkV2) { } +func (c ListReposResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "repos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListReposResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2361,6 +2423,12 @@ func (newState *ListResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListResponse_SdkV2) { } +func (c ListResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ObjectInfo_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "objects")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2433,6 +2501,12 @@ func (newState *ListScopesResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *ListScopesResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListScopesResponse_SdkV2) { } +func (c ListScopesResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SecretScope_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "scopes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListScopesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2500,12 +2574,6 @@ type ListSecretsRequest_SdkV2 struct { Scope types.String `tfsdk:"-"` } -func (newState *ListSecretsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSecretsRequest_SdkV2) { -} - -func (newState *ListSecretsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSecretsRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSecretsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2548,6 +2616,12 @@ func (newState *ListSecretsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpda func (newState *ListSecretsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListSecretsResponse_SdkV2) { } +func (c ListSecretsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SecretMetadata_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "secrets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSecretsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2617,12 +2691,6 @@ type ListWorkspaceRequest_SdkV2 struct { Path types.String `tfsdk:"-"` } -func (newState *ListWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceRequest_SdkV2) { -} - -func (newState *ListWorkspaceRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceRequest_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWorkspaceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2669,6 +2737,12 @@ func (newState *Mkdirs_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mkdir func (newState *Mkdirs_SdkV2) SyncEffectiveFieldsDuringRead(existingState Mkdirs_SdkV2) { } +func (c Mkdirs_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Mkdirs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2709,6 +2783,11 @@ func (newState *MkdirsResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *MkdirsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState MkdirsResponse_SdkV2) { } +func (c MkdirsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MkdirsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2767,6 +2846,11 @@ func (newState *ObjectInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan O func (newState *ObjectInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState ObjectInfo_SdkV2) { } +func (c ObjectInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ObjectInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2827,6 +2911,14 @@ func (newState *PutAcl_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAc func (newState *PutAcl_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutAcl_SdkV2) { } +func (c PutAcl_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "permission")...) + cs.SetRequired(append(path, "principal")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAcl. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2865,12 +2957,6 @@ func (o PutAcl_SdkV2) Type(ctx context.Context) attr.Type { type PutAclResponse_SdkV2 struct { } -func (newState *PutAclResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAclResponse_SdkV2) { -} - -func (newState *PutAclResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutAclResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAclResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2915,6 +3001,13 @@ func (newState *PutSecret_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Pu func (newState *PutSecret_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutSecret_SdkV2) { } +func (c PutSecret_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2955,12 +3048,6 @@ func (o PutSecret_SdkV2) Type(ctx context.Context) attr.Type { type PutSecretResponse_SdkV2 struct { } -func (newState *PutSecretResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutSecretResponse_SdkV2) { -} - -func (newState *PutSecretResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState PutSecretResponse_SdkV2) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3005,6 +3092,11 @@ func (newState *RepoAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *RepoAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoAccessControlRequest_SdkV2) { } +func (c RepoAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3061,6 +3153,12 @@ func (newState *RepoAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *RepoAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoAccessControlResponse_SdkV2) { } +func (c RepoAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3154,6 +3252,12 @@ func (newState *RepoInfo_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan Rep func (newState *RepoInfo_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoInfo_SdkV2) { } +func (c RepoInfo_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparseCheckout_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3241,6 +3345,11 @@ func (newState *RepoPermission_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *RepoPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoPermission_SdkV2) { } +func (c RepoPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3320,6 +3429,12 @@ func (newState *RepoPermissions_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(p func (newState *RepoPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoPermissions_SdkV2) { } +func (c RepoPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3397,6 +3512,11 @@ func (newState *RepoPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *RepoPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoPermissionsDescription_SdkV2) { } +func (c RepoPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3442,6 +3562,13 @@ func (newState *RepoPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrU func (newState *RepoPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState RepoPermissionsRequest_SdkV2) { } +func (c RepoPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "repo_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3518,6 +3645,11 @@ func (newState *SecretMetadata_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SecretMetadata_SdkV2) SyncEffectiveFieldsDuringRead(existingState SecretMetadata_SdkV2) { } +func (c SecretMetadata_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecretMetadata. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3566,6 +3698,12 @@ func (newState *SecretScope_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *SecretScope_SdkV2) SyncEffectiveFieldsDuringRead(existingState SecretScope_SdkV2) { } +func (c SecretScope_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AzureKeyVaultSecretScopeMetadata_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "keyvault_metadata")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecretScope. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3646,6 +3784,11 @@ func (newState *SparseCheckout_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SparseCheckout_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparseCheckout_SdkV2) { } +func (c SparseCheckout_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparseCheckout. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3722,6 +3865,11 @@ func (newState *SparseCheckoutUpdate_SdkV2) SyncEffectiveFieldsDuringCreateOrUpd func (newState *SparseCheckoutUpdate_SdkV2) SyncEffectiveFieldsDuringRead(existingState SparseCheckoutUpdate_SdkV2) { } +func (c SparseCheckoutUpdate_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparseCheckoutUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3813,6 +3961,13 @@ func (newState *UpdateCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringCreateO func (newState *UpdateCredentialsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialsRequest_SdkV2) { } +func (c UpdateCredentialsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + cs.SetRequired(append(path, "git_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3859,6 +4014,11 @@ func (newState *UpdateCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *UpdateCredentialsResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialsResponse_SdkV2) { } +func (c UpdateCredentialsResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3907,6 +4067,13 @@ func (newState *UpdateRepoRequest_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *UpdateRepoRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRepoRequest_SdkV2) { } +func (c UpdateRepoRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "repo_id")...) + SparseCheckoutUpdate_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3983,6 +4150,11 @@ func (newState *UpdateRepoResponse_SdkV2) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateRepoResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState UpdateRepoResponse_SdkV2) { } +func (c UpdateRepoResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4027,6 +4199,11 @@ func (newState *WorkspaceObjectAccessControlRequest_SdkV2) SyncEffectiveFieldsDu func (newState *WorkspaceObjectAccessControlRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectAccessControlRequest_SdkV2) { } +func (c WorkspaceObjectAccessControlRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4083,6 +4260,12 @@ func (newState *WorkspaceObjectAccessControlResponse_SdkV2) SyncEffectiveFieldsD func (newState *WorkspaceObjectAccessControlResponse_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectAccessControlResponse_SdkV2) { } +func (c WorkspaceObjectAccessControlResponse_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectPermission_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4166,6 +4349,11 @@ func (newState *WorkspaceObjectPermission_SdkV2) SyncEffectiveFieldsDuringCreate func (newState *WorkspaceObjectPermission_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermission_SdkV2) { } +func (c WorkspaceObjectPermission_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4245,6 +4433,12 @@ func (newState *WorkspaceObjectPermissions_SdkV2) SyncEffectiveFieldsDuringCreat func (newState *WorkspaceObjectPermissions_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissions_SdkV2) { } +func (c WorkspaceObjectPermissions_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectAccessControlResponse_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4322,6 +4516,11 @@ func (newState *WorkspaceObjectPermissionsDescription_SdkV2) SyncEffectiveFields func (newState *WorkspaceObjectPermissionsDescription_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissionsDescription_SdkV2) { } +func (c WorkspaceObjectPermissionsDescription_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4369,6 +4568,14 @@ func (newState *WorkspaceObjectPermissionsRequest_SdkV2) SyncEffectiveFieldsDuri func (newState *WorkspaceObjectPermissionsRequest_SdkV2) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissionsRequest_SdkV2) { } +func (c WorkspaceObjectPermissionsRequest_SdkV2) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectAccessControlRequest_SdkV2{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "workspace_object_id")...) + cs.SetRequired(append(path, "workspace_object_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to diff --git a/internal/service/workspace_tf/model.go b/internal/service/workspace_tf/model.go index 17d354dc5..87bb9504a 100755 --- a/internal/service/workspace_tf/model.go +++ b/internal/service/workspace_tf/model.go @@ -15,6 +15,7 @@ import ( "reflect" pluginfwcommon "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/common" + "github.com/databricks/terraform-provider-databricks/internal/providers/pluginfw/tfschema" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" @@ -34,6 +35,13 @@ func (newState *AclItem) SyncEffectiveFieldsDuringCreateOrUpdate(plan AclItem) { func (newState *AclItem) SyncEffectiveFieldsDuringRead(existingState AclItem) { } +func (c AclItem) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "permission")...) + cs.SetRequired(append(path, "principal")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AclItem. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -81,6 +89,13 @@ func (newState *AzureKeyVaultSecretScopeMetadata) SyncEffectiveFieldsDuringCreat func (newState *AzureKeyVaultSecretScopeMetadata) SyncEffectiveFieldsDuringRead(existingState AzureKeyVaultSecretScopeMetadata) { } +func (c AzureKeyVaultSecretScopeMetadata) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "dns_name")...) + cs.SetRequired(append(path, "resource_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in AzureKeyVaultSecretScopeMetadata. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -142,6 +157,12 @@ func (newState *CreateCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *CreateCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState CreateCredentialsRequest) { } +func (c CreateCredentialsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "git_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -193,6 +214,13 @@ func (newState *CreateCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *CreateCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState CreateCredentialsResponse) { } +func (c CreateCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + cs.SetRequired(append(path, "git_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -251,6 +279,14 @@ func (newState *CreateRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateRepoRequest) SyncEffectiveFieldsDuringRead(existingState CreateRepoRequest) { } +func (c CreateRepoRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "provider")...) + SparseCheckout{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + cs.SetRequired(append(path, "url")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -342,6 +378,12 @@ func (newState *CreateRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *CreateRepoResponse) SyncEffectiveFieldsDuringRead(existingState CreateRepoResponse) { } +func (c CreateRepoResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparseCheckout{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -434,6 +476,13 @@ func (newState *CreateScope) SyncEffectiveFieldsDuringCreateOrUpdate(plan Create func (newState *CreateScope) SyncEffectiveFieldsDuringRead(existingState CreateScope) { } +func (c CreateScope) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AzureKeyVaultSecretScopeMetadata{}.ApplySchemaCustomizations(cs, append(path, "backend_azure_keyvault")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateScope. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -504,12 +553,6 @@ func (o *CreateScope) SetBackendAzureKeyvault(ctx context.Context, v AzureKeyVau type CreateScopeResponse struct { } -func (newState *CreateScopeResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateScopeResponse) { -} - -func (newState *CreateScopeResponse) SyncEffectiveFieldsDuringRead(existingState CreateScopeResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateScopeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -553,6 +596,12 @@ func (newState *CredentialInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan Cre func (newState *CredentialInfo) SyncEffectiveFieldsDuringRead(existingState CredentialInfo) { } +func (c CredentialInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in CredentialInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -604,6 +653,12 @@ func (newState *Delete) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delete) { func (newState *Delete) SyncEffectiveFieldsDuringRead(existingState Delete) { } +func (c Delete) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Delete. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -650,6 +705,13 @@ func (newState *DeleteAcl) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAc func (newState *DeleteAcl) SyncEffectiveFieldsDuringRead(existingState DeleteAcl) { } +func (c DeleteAcl) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "principal")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAcl. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -686,12 +748,6 @@ func (o DeleteAcl) Type(ctx context.Context) attr.Type { type DeleteAclResponse struct { } -func (newState *DeleteAclResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteAclResponse) { -} - -func (newState *DeleteAclResponse) SyncEffectiveFieldsDuringRead(existingState DeleteAclResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteAclResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -725,12 +781,6 @@ type DeleteCredentialsRequest struct { CredentialId types.Int64 `tfsdk:"-"` } -func (newState *DeleteCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteCredentialsRequest) { -} - -func (newState *DeleteCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -771,6 +821,11 @@ func (newState *DeleteCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *DeleteCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState DeleteCredentialsResponse) { } +func (c DeleteCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -804,12 +859,6 @@ type DeleteRepoRequest struct { RepoId types.Int64 `tfsdk:"-"` } -func (newState *DeleteRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteRepoRequest) { -} - -func (newState *DeleteRepoRequest) SyncEffectiveFieldsDuringRead(existingState DeleteRepoRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -850,6 +899,11 @@ func (newState *DeleteRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *DeleteRepoResponse) SyncEffectiveFieldsDuringRead(existingState DeleteRepoResponse) { } +func (c DeleteRepoResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -886,6 +940,11 @@ func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Del func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse) { } +func (c DeleteResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // 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 @@ -924,6 +983,12 @@ func (newState *DeleteScope) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delete func (newState *DeleteScope) SyncEffectiveFieldsDuringRead(existingState DeleteScope) { } +func (c DeleteScope) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScope. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -958,12 +1023,6 @@ func (o DeleteScope) Type(ctx context.Context) attr.Type { type DeleteScopeResponse struct { } -func (newState *DeleteScopeResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteScopeResponse) { -} - -func (newState *DeleteScopeResponse) SyncEffectiveFieldsDuringRead(existingState DeleteScopeResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteScopeResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1004,6 +1063,13 @@ func (newState *DeleteSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delet func (newState *DeleteSecret) SyncEffectiveFieldsDuringRead(existingState DeleteSecret) { } +func (c DeleteSecret) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1046,6 +1112,11 @@ func (newState *DeleteSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *DeleteSecretResponse) SyncEffectiveFieldsDuringRead(existingState DeleteSecretResponse) { } +func (c DeleteSecretResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1095,12 +1166,6 @@ type ExportRequest struct { Path types.String `tfsdk:"-"` } -func (newState *ExportRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ExportRequest) { -} - -func (newState *ExportRequest) SyncEffectiveFieldsDuringRead(existingState ExportRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1148,6 +1213,11 @@ func (newState *ExportResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Exp func (newState *ExportResponse) SyncEffectiveFieldsDuringRead(existingState ExportResponse) { } +func (c ExportResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ExportResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1189,12 +1259,6 @@ type GetAclRequest struct { Scope types.String `tfsdk:"-"` } -func (newState *GetAclRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetAclRequest) { -} - -func (newState *GetAclRequest) SyncEffectiveFieldsDuringRead(existingState GetAclRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetAclRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1234,12 +1298,6 @@ type GetCredentialsRequest struct { CredentialId types.Int64 `tfsdk:"-"` } -func (newState *GetCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetCredentialsRequest) { -} - -func (newState *GetCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState GetCredentialsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1287,6 +1345,12 @@ func (newState *GetCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *GetCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState GetCredentialsResponse) { } +func (c GetCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1328,12 +1392,6 @@ type GetRepoPermissionLevelsRequest struct { RepoId types.String `tfsdk:"-"` } -func (newState *GetRepoPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionLevelsRequest) { -} - -func (newState *GetRepoPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1376,6 +1434,12 @@ func (newState *GetRepoPermissionLevelsResponse) SyncEffectiveFieldsDuringCreate func (newState *GetRepoPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionLevelsResponse) { } +func (c GetRepoPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1443,12 +1507,6 @@ type GetRepoPermissionsRequest struct { RepoId types.String `tfsdk:"-"` } -func (newState *GetRepoPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoPermissionsRequest) { -} - -func (newState *GetRepoPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetRepoPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1486,12 +1544,6 @@ type GetRepoRequest struct { RepoId types.Int64 `tfsdk:"-"` } -func (newState *GetRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetRepoRequest) { -} - -func (newState *GetRepoRequest) SyncEffectiveFieldsDuringRead(existingState GetRepoRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1546,6 +1598,12 @@ func (newState *GetRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Ge func (newState *GetRepoResponse) SyncEffectiveFieldsDuringRead(existingState GetRepoResponse) { } +func (c GetRepoResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparseCheckout{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1627,12 +1685,6 @@ type GetSecretRequest struct { Scope types.String `tfsdk:"-"` } -func (newState *GetSecretRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetSecretRequest) { -} - -func (newState *GetSecretRequest) SyncEffectiveFieldsDuringRead(existingState GetSecretRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSecretRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1679,6 +1731,11 @@ func (newState *GetSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *GetSecretResponse) SyncEffectiveFieldsDuringRead(existingState GetSecretResponse) { } +func (c GetSecretResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1718,12 +1775,6 @@ type GetStatusRequest struct { Path types.String `tfsdk:"-"` } -func (newState *GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest) { -} - -func (newState *GetStatusRequest) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1763,12 +1814,6 @@ type GetWorkspaceObjectPermissionLevelsRequest struct { WorkspaceObjectType types.String `tfsdk:"-"` } -func (newState *GetWorkspaceObjectPermissionLevelsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionLevelsRequest) { -} - -func (newState *GetWorkspaceObjectPermissionLevelsRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionLevelsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceObjectPermissionLevelsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1813,6 +1858,12 @@ func (newState *GetWorkspaceObjectPermissionLevelsResponse) SyncEffectiveFieldsD func (newState *GetWorkspaceObjectPermissionLevelsResponse) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionLevelsResponse) { } +func (c GetWorkspaceObjectPermissionLevelsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectPermissionsDescription{}.ApplySchemaCustomizations(cs, append(path, "permission_levels")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceObjectPermissionLevelsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1882,12 +1933,6 @@ type GetWorkspaceObjectPermissionsRequest struct { WorkspaceObjectType types.String `tfsdk:"-"` } -func (newState *GetWorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetWorkspaceObjectPermissionsRequest) { -} - -func (newState *GetWorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState GetWorkspaceObjectPermissionsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in GetWorkspaceObjectPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -1960,6 +2005,12 @@ func (newState *Import) SyncEffectiveFieldsDuringCreateOrUpdate(plan Import) { func (newState *Import) SyncEffectiveFieldsDuringRead(existingState Import) { } +func (c Import) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Import. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2008,6 +2059,11 @@ func (newState *ImportResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Imp func (newState *ImportResponse) SyncEffectiveFieldsDuringRead(existingState ImportResponse) { } +func (c ImportResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ImportResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2041,12 +2097,6 @@ type ListAclsRequest struct { Scope types.String `tfsdk:"-"` } -func (newState *ListAclsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListAclsRequest) { -} - -func (newState *ListAclsRequest) SyncEffectiveFieldsDuringRead(existingState ListAclsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAclsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2089,6 +2139,12 @@ func (newState *ListAclsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan L func (newState *ListAclsResponse) SyncEffectiveFieldsDuringRead(existingState ListAclsResponse) { } +func (c ListAclsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AclItem{}.ApplySchemaCustomizations(cs, append(path, "items")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListAclsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2161,6 +2217,12 @@ func (newState *ListCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpdate func (newState *ListCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState ListCredentialsResponse) { } +func (c ListCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + CredentialInfo{}.ApplySchemaCustomizations(cs, append(path, "credentials")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2234,12 +2296,6 @@ type ListReposRequest struct { PathPrefix types.String `tfsdk:"-"` } -func (newState *ListReposRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListReposRequest) { -} - -func (newState *ListReposRequest) SyncEffectiveFieldsDuringRead(existingState ListReposRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListReposRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2287,6 +2343,12 @@ func (newState *ListReposResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListReposResponse) SyncEffectiveFieldsDuringRead(existingState ListReposResponse) { } +func (c ListReposResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoInfo{}.ApplySchemaCustomizations(cs, append(path, "repos")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListReposResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2361,6 +2423,12 @@ func (newState *ListResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListR func (newState *ListResponse) SyncEffectiveFieldsDuringRead(existingState ListResponse) { } +func (c ListResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + ObjectInfo{}.ApplySchemaCustomizations(cs, append(path, "objects")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2433,6 +2501,12 @@ func (newState *ListScopesResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *ListScopesResponse) SyncEffectiveFieldsDuringRead(existingState ListScopesResponse) { } +func (c ListScopesResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SecretScope{}.ApplySchemaCustomizations(cs, append(path, "scopes")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListScopesResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2500,12 +2574,6 @@ type ListSecretsRequest struct { Scope types.String `tfsdk:"-"` } -func (newState *ListSecretsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListSecretsRequest) { -} - -func (newState *ListSecretsRequest) SyncEffectiveFieldsDuringRead(existingState ListSecretsRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSecretsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2548,6 +2616,12 @@ func (newState *ListSecretsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(pla func (newState *ListSecretsResponse) SyncEffectiveFieldsDuringRead(existingState ListSecretsResponse) { } +func (c ListSecretsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SecretMetadata{}.ApplySchemaCustomizations(cs, append(path, "secrets")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListSecretsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2617,12 +2691,6 @@ type ListWorkspaceRequest struct { Path types.String `tfsdk:"-"` } -func (newState *ListWorkspaceRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListWorkspaceRequest) { -} - -func (newState *ListWorkspaceRequest) SyncEffectiveFieldsDuringRead(existingState ListWorkspaceRequest) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in ListWorkspaceRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2669,6 +2737,12 @@ func (newState *Mkdirs) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mkdirs) { func (newState *Mkdirs) SyncEffectiveFieldsDuringRead(existingState Mkdirs) { } +func (c Mkdirs) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "path")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in Mkdirs. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2709,6 +2783,11 @@ func (newState *MkdirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan Mkd func (newState *MkdirsResponse) SyncEffectiveFieldsDuringRead(existingState MkdirsResponse) { } +func (c MkdirsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in MkdirsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2767,6 +2846,11 @@ func (newState *ObjectInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan ObjectI func (newState *ObjectInfo) SyncEffectiveFieldsDuringRead(existingState ObjectInfo) { } +func (c ObjectInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in ObjectInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2827,6 +2911,14 @@ func (newState *PutAcl) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAcl) { func (newState *PutAcl) SyncEffectiveFieldsDuringRead(existingState PutAcl) { } +func (c PutAcl) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "permission")...) + cs.SetRequired(append(path, "principal")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAcl. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2865,12 +2957,6 @@ func (o PutAcl) Type(ctx context.Context) attr.Type { type PutAclResponse struct { } -func (newState *PutAclResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutAclResponse) { -} - -func (newState *PutAclResponse) SyncEffectiveFieldsDuringRead(existingState PutAclResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutAclResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2915,6 +3001,13 @@ func (newState *PutSecret) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutSecre func (newState *PutSecret) SyncEffectiveFieldsDuringRead(existingState PutSecret) { } +func (c PutSecret) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "key")...) + cs.SetRequired(append(path, "scope")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutSecret. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -2955,12 +3048,6 @@ func (o PutSecret) Type(ctx context.Context) attr.Type { type PutSecretResponse struct { } -func (newState *PutSecretResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutSecretResponse) { -} - -func (newState *PutSecretResponse) SyncEffectiveFieldsDuringRead(existingState PutSecretResponse) { -} - // GetComplexFieldTypes returns a map of the types of elements in complex fields in PutSecretResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3005,6 +3092,11 @@ func (newState *RepoAccessControlRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *RepoAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState RepoAccessControlRequest) { } +func (c RepoAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3061,6 +3153,12 @@ func (newState *RepoAccessControlResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *RepoAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState RepoAccessControlResponse) { } +func (c RepoAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3154,6 +3252,12 @@ func (newState *RepoInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan RepoInfo) func (newState *RepoInfo) SyncEffectiveFieldsDuringRead(existingState RepoInfo) { } +func (c RepoInfo) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + SparseCheckout{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoInfo. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3241,6 +3345,11 @@ func (newState *RepoPermission) SyncEffectiveFieldsDuringCreateOrUpdate(plan Rep func (newState *RepoPermission) SyncEffectiveFieldsDuringRead(existingState RepoPermission) { } +func (c RepoPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3320,6 +3429,12 @@ func (newState *RepoPermissions) SyncEffectiveFieldsDuringCreateOrUpdate(plan Re func (newState *RepoPermissions) SyncEffectiveFieldsDuringRead(existingState RepoPermissions) { } +func (c RepoPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3397,6 +3512,11 @@ func (newState *RepoPermissionsDescription) SyncEffectiveFieldsDuringCreateOrUpd func (newState *RepoPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState RepoPermissionsDescription) { } +func (c RepoPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3442,6 +3562,13 @@ func (newState *RepoPermissionsRequest) SyncEffectiveFieldsDuringCreateOrUpdate( func (newState *RepoPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState RepoPermissionsRequest) { } +func (c RepoPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + RepoAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "repo_id")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in RepoPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3518,6 +3645,11 @@ func (newState *SecretMetadata) SyncEffectiveFieldsDuringCreateOrUpdate(plan Sec func (newState *SecretMetadata) SyncEffectiveFieldsDuringRead(existingState SecretMetadata) { } +func (c SecretMetadata) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecretMetadata. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3566,6 +3698,12 @@ func (newState *SecretScope) SyncEffectiveFieldsDuringCreateOrUpdate(plan Secret func (newState *SecretScope) SyncEffectiveFieldsDuringRead(existingState SecretScope) { } +func (c SecretScope) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + AzureKeyVaultSecretScopeMetadata{}.ApplySchemaCustomizations(cs, append(path, "keyvault_metadata")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SecretScope. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3646,6 +3784,11 @@ func (newState *SparseCheckout) SyncEffectiveFieldsDuringCreateOrUpdate(plan Spa func (newState *SparseCheckout) SyncEffectiveFieldsDuringRead(existingState SparseCheckout) { } +func (c SparseCheckout) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparseCheckout. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3722,6 +3865,11 @@ func (newState *SparseCheckoutUpdate) SyncEffectiveFieldsDuringCreateOrUpdate(pl func (newState *SparseCheckoutUpdate) SyncEffectiveFieldsDuringRead(existingState SparseCheckoutUpdate) { } +func (c SparseCheckoutUpdate) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in SparseCheckoutUpdate. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3813,6 +3961,13 @@ func (newState *UpdateCredentialsRequest) SyncEffectiveFieldsDuringCreateOrUpdat func (newState *UpdateCredentialsRequest) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialsRequest) { } +func (c UpdateCredentialsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "credential_id")...) + cs.SetRequired(append(path, "git_provider")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCredentialsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3859,6 +4014,11 @@ func (newState *UpdateCredentialsResponse) SyncEffectiveFieldsDuringCreateOrUpda func (newState *UpdateCredentialsResponse) SyncEffectiveFieldsDuringRead(existingState UpdateCredentialsResponse) { } +func (c UpdateCredentialsResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateCredentialsResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3907,6 +4067,13 @@ func (newState *UpdateRepoRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateRepoRequest) SyncEffectiveFieldsDuringRead(existingState UpdateRepoRequest) { } +func (c UpdateRepoRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + cs.SetRequired(append(path, "repo_id")...) + SparseCheckoutUpdate{}.ApplySchemaCustomizations(cs, append(path, "sparse_checkout")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRepoRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -3983,6 +4150,11 @@ func (newState *UpdateRepoResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan func (newState *UpdateRepoResponse) SyncEffectiveFieldsDuringRead(existingState UpdateRepoResponse) { } +func (c UpdateRepoResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in UpdateRepoResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4027,6 +4199,11 @@ func (newState *WorkspaceObjectAccessControlRequest) SyncEffectiveFieldsDuringCr func (newState *WorkspaceObjectAccessControlRequest) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectAccessControlRequest) { } +func (c WorkspaceObjectAccessControlRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectAccessControlRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4083,6 +4260,12 @@ func (newState *WorkspaceObjectAccessControlResponse) SyncEffectiveFieldsDuringC func (newState *WorkspaceObjectAccessControlResponse) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectAccessControlResponse) { } +func (c WorkspaceObjectAccessControlResponse) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectPermission{}.ApplySchemaCustomizations(cs, append(path, "all_permissions")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectAccessControlResponse. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4166,6 +4349,11 @@ func (newState *WorkspaceObjectPermission) SyncEffectiveFieldsDuringCreateOrUpda func (newState *WorkspaceObjectPermission) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermission) { } +func (c WorkspaceObjectPermission) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermission. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4245,6 +4433,12 @@ func (newState *WorkspaceObjectPermissions) SyncEffectiveFieldsDuringCreateOrUpd func (newState *WorkspaceObjectPermissions) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissions) { } +func (c WorkspaceObjectPermissions) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectAccessControlResponse{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermissions. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4322,6 +4516,11 @@ func (newState *WorkspaceObjectPermissionsDescription) SyncEffectiveFieldsDuring func (newState *WorkspaceObjectPermissionsDescription) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissionsDescription) { } +func (c WorkspaceObjectPermissionsDescription) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermissionsDescription. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to @@ -4369,6 +4568,14 @@ func (newState *WorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringCrea func (newState *WorkspaceObjectPermissionsRequest) SyncEffectiveFieldsDuringRead(existingState WorkspaceObjectPermissionsRequest) { } +func (c WorkspaceObjectPermissionsRequest) ApplySchemaCustomizations(cs tfschema.CustomizableSchema, path ...string) tfschema.CustomizableSchema { + WorkspaceObjectAccessControlRequest{}.ApplySchemaCustomizations(cs, append(path, "access_control_list")...) + cs.SetRequired(append(path, "workspace_object_id")...) + cs.SetRequired(append(path, "workspace_object_type")...) + + return cs +} + // GetComplexFieldTypes returns a map of the types of elements in complex fields in WorkspaceObjectPermissionsRequest. // Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry // the type information of their elements in the Go type system. This function provides a way to