diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index e66f5e65372..60205f80aa8 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -6fdee6b2790c8a487592a5371b478d55b4c9f185 \ No newline at end of file +0a8a9c3e98b49cbd21bb5d6c859971d0406d2267 \ No newline at end of file diff --git a/.codegen/cli.json b/.codegen/cli.json index daad408e81f..603802a304a 100644 --- a/.codegen/cli.json +++ b/.codegen/cli.json @@ -40125,20 +40125,6 @@ "lakewatch.CommonConfig": { "description": "Catch-all per-catalog config — settings that don't belong to any one\nresource family. Singleton. Name format: `catalogs/{catalog}/commonConfig`.", "fields": { - "custom_content_pack_path": { - "description": "UC volume path holding user-authored custom content packs, e.g.\n`/Volumes/{catalog}/{schema}/{volume}`. User-provided with no default:\nwhen unset, custom content packs are unavailable (referencing one is\nrejected) and only built-in content packs apply.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] - }, - "custom_presets_path": { - "description": "UC volume path holding user-authored custom presets, e.g.\n`/Volumes/{catalog}/{schema}/{volume}`. User-provided with no default:\nwhen unset, custom presets are unavailable and only built-in presets apply.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] - }, "etag": { "description": "Opaque entity tag for optimistic concurrency. Returned on every read;\npass it back as the Update request's `etag` to make the update\nconditional on the resource being unchanged.", "launch_stage": "PUBLIC_BETA", @@ -41146,7 +41132,7 @@ ] }, "runbook": { - "description": "Long-form operational guidance carried from the authored rule metadata. Supports up to 4096\ncharacters. Requests exceeding this limit are rejected.", + "description": "Long-form operational guidance carried from the authored rule metadata. Supports up to 4096\ncharacters. Requests exceeding this limit are rejected. Supports Markdown; analysts and the\ninvestigation agent follow it when triaging this rule's alerts.", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" @@ -44248,7 +44234,7 @@ "ml.CreateMaterializationSetRequest": { "fields": { "materialization_set": { - "description": "The materialization set to create. Supply materialization_set_id to choose the identifier;\nleave it unset to have one assigned.", + "description": "The materialization set to create. Set `materialization_set_id` to\nchoose the identifier, or omit it to have one assigned.\n\nMembers with a cron schedule or table trigger must request the same\n`paused` value. An omitted `paused` defaults to `false`.\nA set can be created paused only if all members are batch materializations.", "ref": "ml.MaterializationSet", "launch_stage": "PRIVATE_PREVIEW" }, @@ -47264,7 +47250,7 @@ } }, "ml.MaterializationNotifications": { - "description": "Notifications for the jobs and pipelines that materialize the features in a set, one field per\ntrigger.", + "description": "Notifications for the jobs and pipelines that materialize features, one field per trigger.", "fields": { "on_failure": { "description": "Who to notify when a run fails, and on which attempts.", @@ -47572,11 +47558,11 @@ ] }, "notifications": { - "description": "Notification configuration for the jobs and pipelines that materialize this feature.", + "description": "Notification configuration around the lifecycle of the job or pipeline that materializes\nthis feature. Features which are materialized in the same pipeline will share the same\nnotification.", "ref": "ml.MaterializationNotifications", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ - "OUTPUT_ONLY" + "OPTIONAL" ] }, "offline_store_config": { @@ -55468,7 +55454,6 @@ "ref": "postgres.BranchSpec", "launch_stage": "GA", "behaviors": [ - "INPUT_ONLY", "OPTIONAL" ] }, @@ -55525,6 +55510,7 @@ "launch_stage": "GA", "behaviors": [ "IMMUTABLE", + "INPUT_ONLY", "OPTIONAL" ] }, @@ -55533,6 +55519,7 @@ "launch_stage": "GA", "behaviors": [ "IMMUTABLE", + "INPUT_ONLY", "OPTIONAL" ] }, @@ -55541,6 +55528,7 @@ "launch_stage": "GA", "behaviors": [ "IMMUTABLE", + "INPUT_ONLY", "OPTIONAL" ] }, @@ -56342,7 +56330,6 @@ "ref": "postgres.DatabaseDatabaseSpec", "launch_stage": "GA", "behaviors": [ - "INPUT_ONLY", "OPTIONAL" ] }, @@ -56591,7 +56578,6 @@ "ref": "postgres.EndpointSpec", "launch_stage": "GA", "behaviors": [ - "INPUT_ONLY", "OPTIONAL" ] }, @@ -57781,7 +57767,6 @@ "ref": "postgres.ProjectSpec", "launch_stage": "GA", "behaviors": [ - "INPUT_ONLY", "OPTIONAL" ] }, @@ -57918,6 +57903,7 @@ "launch_stage": "GA", "behaviors": [ "IMMUTABLE", + "INPUT_ONLY", "OPTIONAL" ] } @@ -58124,7 +58110,6 @@ "ref": "postgres.RoleRoleSpec", "launch_stage": "GA", "behaviors": [ - "INPUT_ONLY", "OPTIONAL" ] }, @@ -58218,6 +58203,7 @@ "ref": "postgres.RoleAuthMethod", "launch_stage": "GA", "behaviors": [ + "INPUT_ONLY", "OPTIONAL" ] }, @@ -58226,6 +58212,7 @@ "ref": "postgres.RoleIdentityType", "launch_stage": "GA", "behaviors": [ + "INPUT_ONLY", "OPTIONAL" ] }, @@ -58240,6 +58227,7 @@ "description": "The name of the Postgres role.\n\nThis expects a valid Postgres identifier as specified in the link below.\nhttps://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS\n\nRequired when creating the Role.\n\nIf you wish to create a Postgres Role backed by a managed Databricks identity, then postgres_role\nmust be one of the following:\n\n1. user email for IdentityType.USER\n2. app ID for IdentityType.SERVICE_PRINCIPAL\n2. group name for IdentityType.GROUP\n\nThis field is set when the role is created and cannot be changed.\nWhen replacing an existing role with replace_existing=true, omit this\nfield or supply its current value. A differing value returns\nINVALID_PARAMETER_VALUE and rejects the entire request, including changes\nto mutable fields.\nWith `*` or masks containing only mutable fields, supplied values are ignored.\nIncluding this field as an explicit path in update_mask returns\nINVALID_PARAMETER_VALUE.", "launch_stage": "GA", "behaviors": [ + "INPUT_ONLY", "OPTIONAL" ] } @@ -61253,6 +61241,29 @@ } } }, + "serving.CommitmentTerm": { + "description": "The commitment term length for a Provisioned Throughput pool.", + "enum": [ + "COMMITMENT_TERM_1_MONTH", + "COMMITMENT_TERM_3_MONTHS", + "COMMITMENT_TERM_1_HOUR", + "COMMITMENT_TERM_12_HOURS", + "COMMITMENT_TERM_1_DAY", + "COMMITMENT_TERM_1_WEEK", + "COMMITMENT_TERM_6_MONTHS", + "COMMITMENT_TERM_1_YEAR" + ], + "enum_launch_stages": { + "COMMITMENT_TERM_12_HOURS": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_1_DAY": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_1_HOUR": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_1_MONTH": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_1_WEEK": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_1_YEAR": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_3_MONTHS": "PRIVATE_PREVIEW", + "COMMITMENT_TERM_6_MONTHS": "PRIVATE_PREVIEW" + } + }, "serving.CreatePtEndpointRequest": { "fields": { "ai_gateway": { @@ -61979,6 +61990,11 @@ "provisioned_model_units": { "description": "The number of model units to be provisioned. Dedicated inference requires positive fixed\ncapacity and does not support scale-to-zero.", "launch_stage": "PUBLIC_PREVIEW" + }, + "pt_term": { + "description": "Commitment term to purchase for this served entity; its presence marks the entity as reserved\n(vs on-demand) PT. Valid on create and on update (purchases a commitment for a scale-up).", + "ref": "serving.CommitmentTerm", + "launch_stage": "PRIVATE_PREVIEW" } } }, @@ -70400,7 +70416,7 @@ "custom_template_format": { "description": "The format used to interpret the `custom_summary` and `custom_description` templates.\n\n`HTML` treats both templates as HTML with Mustache `{{VARIABLE_NAME}}` placeholders.\n`MARKDOWN` treats them as Markdown with allowlisted `@VARIABLE_NAME` placeholders and converts\nthem to the format each notification destination expects, so a single template renders\ncorrectly in email, Slack, and Microsoft Teams.\n\nWhen unset, the API applies no default. Responses omit the field unless a format is stored,\nand a template with no format is rendered as HTML.", "ref": "sql.CustomTemplateFormat", - "launch_stage": "PUBLIC_BETA", + "launch_stage": "PUBLIC_PREVIEW", "behaviors": [ "OPTIONAL" ] @@ -71225,8 +71241,8 @@ "MARKDOWN" ], "enum_launch_stages": { - "HTML": "PUBLIC_BETA", - "MARKDOWN": "PUBLIC_BETA" + "HTML": "PUBLIC_PREVIEW", + "MARKDOWN": "PUBLIC_PREVIEW" } }, "sql.Dashboard": { @@ -75571,6 +75587,7 @@ "description": "Timestamp when the tag policy was created", "launch_stage": "GA", "behaviors": [ + "IMMUTABLE", "OUTPUT_ONLY" ] }, @@ -75583,6 +75600,7 @@ "id": { "launch_stage": "GA", "behaviors": [ + "IMMUTABLE", "OUTPUT_ONLY" ] }, @@ -144123,7 +144141,7 @@ "required_fields": [ { "name": "materialization_set", - "description": "The materialization set to create. Supply materialization_set_id to choose the identifier;\nleave it unset to have one assigned.", + "description": "The materialization set to create. Set `materialization_set_id` to\nchoose the identifier, or omit it to have one assigned.\n\nMembers with a cron schedule or table trigger must request the same\n`paused` value. An omitted `paused` defaults to `false`.\nA set can be created paused only if all members are batch materializations.", "required": true, "is_request_body_field": true, "entity": { @@ -144135,7 +144153,7 @@ "required_request_body_fields": [ { "name": "materialization_set", - "description": "The materialization set to create. Supply materialization_set_id to choose the identifier;\nleave it unset to have one assigned.", + "description": "The materialization set to create. Set `materialization_set_id` to\nchoose the identifier, or omit it to have one assigned.\n\nMembers with a cron schedule or table trigger must request the same\n`paused` value. An omitted `paused` defaults to `false`.\nA set can be created paused only if all members are batch materializations.", "required": true, "is_request_body_field": true, "entity": { @@ -144147,7 +144165,7 @@ }, "request_body_field": { "name": "materialization_set", - "description": "The materialization set to create. Supply materialization_set_id to choose the identifier;\nleave it unset to have one assigned.", + "description": "The materialization set to create. Set `materialization_set_id` to\nchoose the identifier, or omit it to have one assigned.\n\nMembers with a cron schedule or table trigger must request the same\n`paused` value. An omitted `paused` defaults to `false`.\nA set can be created paused only if all members are batch materializations.", "required": true, "is_request_body_field": true, "entity": { @@ -144162,7 +144180,7 @@ "all_fields": [ { "name": "materialization_set", - "description": "The materialization set to create. Supply materialization_set_id to choose the identifier;\nleave it unset to have one assigned.", + "description": "The materialization set to create. Set `materialization_set_id` to\nchoose the identifier, or omit it to have one assigned.\n\nMembers with a cron schedule or table trigger must request the same\n`paused` value. An omitted `paused` defaults to `false`.\nA set can be created paused only if all members are batch materializations.", "required": true, "is_request_body_field": true, "entity": { @@ -144452,8 +144470,7 @@ }, { "name": "notifications", - "description": "Notification configuration for the jobs and pipelines that materialize this feature.", - "is_output_only": true, + "description": "Notification configuration around the lifecycle of the job or pipeline that materializes\nthis feature. Features which are materialized in the same pipeline will share the same\nnotification.", "is_request_body_field": true, "is_optional_object": true, "entity": { @@ -148242,8 +148259,7 @@ }, { "name": "notifications", - "description": "Notification configuration for the jobs and pipelines that materialize this feature.", - "is_output_only": true, + "description": "Notification configuration around the lifecycle of the job or pipeline that materializes\nthis feature. Features which are materialized in the same pipeline will share the same\nnotification.", "is_request_body_field": true, "is_optional_object": true, "entity": { @@ -178583,7 +178599,7 @@ }, { "name": "runbook", - "description": "Long-form operational guidance carried from the authored rule metadata. Supports up to 4096\ncharacters. Requests exceeding this limit are rejected.", + "description": "Long-form operational guidance carried from the authored rule metadata. Supports up to 4096\ncharacters. Requests exceeding this limit are rejected. Supports Markdown; analysts and the\ninvestigation agent follow it when triaging this rule's alerts.", "is_request_body_field": true, "entity": { "is_string": true @@ -180095,22 +180111,6 @@ "is_field_mask": true } }, - { - "name": "custom_content_pack_path", - "description": "UC volume path holding user-authored custom content packs, e.g.\n`/Volumes/{catalog}/{schema}/{volume}`. User-provided with no default:\nwhen unset, custom content packs are unavailable (referencing one is\nrejected) and only built-in content packs apply.", - "is_request_body_field": true, - "entity": { - "is_string": true - } - }, - { - "name": "custom_presets_path", - "description": "UC volume path holding user-authored custom presets, e.g.\n`/Volumes/{catalog}/{schema}/{volume}`. User-provided with no default:\nwhen unset, custom presets are unavailable and only built-in presets apply.", - "is_request_body_field": true, - "entity": { - "is_string": true - } - }, { "name": "etag", "description": "Opaque entity tag for optimistic concurrency. Returned on every read;\npass it back as the Update request's `etag` to make the update\nconditional on the resource being unchanged.", @@ -181989,7 +181989,7 @@ }, { "name": "runbook", - "description": "Long-form operational guidance carried from the authored rule metadata. Supports up to 4096\ncharacters. Requests exceeding this limit are rejected.", + "description": "Long-form operational guidance carried from the authored rule metadata. Supports up to 4096\ncharacters. Requests exceeding this limit are rejected. Supports Markdown; analysts and the\ninvestigation agent follow it when triaging this rule's alerts.", "is_request_body_field": true, "entity": { "is_string": true @@ -220863,7 +220863,7 @@ }, { "name": "UpdateAccessRequestDestinations", - "description": "Updates the access request destinations for the given securable.\nThe caller must be a metastore admin, the owner of the securable, or a user that has the **MANAGE** privilege on the securable in order to assign destinations.\nA maximum of 5 emails and 5 external notification destinations (Slack, Microsoft Teams, Generic Webhook, and Databricks App Slack/Teams destinations) can be assigned to a securable.\nIf a URL destination is assigned, no other destinations can be set.\n\nThe supported securable types are: \"metastore\", \"catalog\", \"schema\", \"table\",\n\"external_location\", \"connection\", \"credential\", \"function\", \"registered_model\", and \"volume\".", + "description": "Updates the access request destinations for the given securable.\nThe caller must be a metastore admin, the owner of the securable, or a user that has the **MANAGE** privilege on the securable in order to assign destinations.\nA maximum of 5 emails and 5 external notification destinations (Slack, Microsoft Teams, Generic Webhook, Databricks App Slack/Teams, Asana, ServiceNow, and EventBridge destinations) can be assigned to a securable.\nIf a URL destination is assigned, no other destinations can be set.\n\nThe supported securable types are: \"metastore\", \"catalog\", \"schema\", \"table\",\n\"external_location\", \"connection\", \"credential\", \"function\", \"registered_model\", and \"volume\".", "summary": "Update Access Request Destinations.", "path": "/api/3.0/rfa/destinations", "can_use_json": true, diff --git a/.nextchanges/dependency-updates/go-sdk-v0.198.0.md b/.nextchanges/dependency-updates/go-sdk-v0.198.0.md new file mode 100644 index 00000000000..bb983d4803b --- /dev/null +++ b/.nextchanges/dependency-updates/go-sdk-v0.198.0.md @@ -0,0 +1 @@ +* Update the Go SDK to [v0.198.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.198.0). ([#7530](https://github.com/databricks/cli/pull/7530)) diff --git a/bundle/direct/dresources/configs/materialization_sets.generated.yml b/bundle/direct/dresources/configs/materialization_sets.generated.yml index 7c7f1478caa..a4e314a2921 100644 --- a/bundle/direct/dresources/configs/materialization_sets.generated.yml +++ b/bundle/direct/dresources/configs/materialization_sets.generated.yml @@ -30,8 +30,6 @@ ignore_remote_changes: reason: spec:output_only - field: materialized_features[*].materialization_set_id reason: spec:output_only - - field: materialized_features[*].notifications - reason: spec:output_only - field: materialized_features[*].pipeline_id reason: spec:output_only - field: materialized_features[*].table_name diff --git a/bundle/direct/dresources/configs/materialization_sets.yml b/bundle/direct/dresources/configs/materialization_sets.yml index b0386bb3d00..86cb9432f51 100644 --- a/bundle/direct/dresources/configs/materialization_sets.yml +++ b/bundle/direct/dresources/configs/materialization_sets.yml @@ -17,6 +17,8 @@ recreate_on_changes: reason: immutable - field: materialized_features[*].budget_policy_id reason: immutable + - field: materialized_features[*].notifications + reason: immutable - field: notifications reason: immutable diff --git a/bundle/direct/dresources/configs/postgres_branches.generated.yml b/bundle/direct/dresources/configs/postgres_branches.generated.yml index 07e938094ce..acba37aaccc 100644 --- a/bundle/direct/dresources/configs/postgres_branches.generated.yml +++ b/bundle/direct/dresources/configs/postgres_branches.generated.yml @@ -11,19 +11,9 @@ recreate_on_changes: reason: spec:immutable ignore_remote_changes: - - field: expire_time - reason: spec:input_only - - field: is_protected - reason: spec:input_only - - field: no_expiry - reason: spec:input_only - field: source_branch reason: spec:input_only - field: source_branch_lsn reason: spec:input_only - field: source_branch_time reason: spec:input_only - - field: source_snapshot - reason: spec:input_only - - field: ttl - reason: spec:input_only diff --git a/bundle/direct/dresources/configs/postgres_databases.generated.yml b/bundle/direct/dresources/configs/postgres_databases.generated.yml deleted file mode 100644 index 9a9eb664188..00000000000 --- a/bundle/direct/dresources/configs/postgres_databases.generated.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Generated, do not edit. - -ignore_remote_changes: - - field: postgres_database - reason: spec:input_only - - field: role - reason: spec:input_only diff --git a/bundle/direct/dresources/configs/postgres_endpoints.generated.yml b/bundle/direct/dresources/configs/postgres_endpoints.generated.yml index 2560c7f5ef7..3591135a92a 100644 --- a/bundle/direct/dresources/configs/postgres_endpoints.generated.yml +++ b/bundle/direct/dresources/configs/postgres_endpoints.generated.yml @@ -3,21 +3,3 @@ recreate_on_changes: - field: endpoint_type reason: spec:immutable - -ignore_remote_changes: - - field: autoscaling_limit_max_cu - reason: spec:input_only - - field: autoscaling_limit_min_cu - reason: spec:input_only - - field: disabled - reason: spec:input_only - - field: endpoint_type - reason: spec:input_only - - field: group - reason: spec:input_only - - field: no_suspension - reason: spec:input_only - - field: settings - reason: spec:input_only - - field: suspend_timeout_duration - reason: spec:input_only diff --git a/bundle/direct/dresources/configs/postgres_projects.generated.yml b/bundle/direct/dresources/configs/postgres_projects.generated.yml index cf29cbf156a..6ea37907495 100644 --- a/bundle/direct/dresources/configs/postgres_projects.generated.yml +++ b/bundle/direct/dresources/configs/postgres_projects.generated.yml @@ -5,23 +5,5 @@ recreate_on_changes: reason: spec:immutable ignore_remote_changes: - - field: budget_policy_id - reason: spec:input_only - - field: custom_tags - reason: spec:input_only - - field: custom_tags[*].key - reason: spec:input_only - - field: custom_tags[*].value - reason: spec:input_only - - field: default_branch - reason: spec:input_only - - field: default_endpoint_settings - reason: spec:input_only - - field: display_name - reason: spec:input_only - - field: enable_pg_native_login - reason: spec:input_only - - field: history_retention_duration - reason: spec:input_only - field: pg_version reason: spec:input_only diff --git a/bundle/direct/dresources/configs/postgres_roles.generated.yml b/bundle/direct/dresources/configs/postgres_roles.generated.yml index d5b37104344..8c54e16218a 100644 --- a/bundle/direct/dresources/configs/postgres_roles.generated.yml +++ b/bundle/direct/dresources/configs/postgres_roles.generated.yml @@ -1,13 +1,9 @@ # Generated, do not edit. ignore_remote_changes: - - field: attributes - reason: spec:input_only - field: auth_method reason: spec:input_only - field: identity_type reason: spec:input_only - - field: membership_roles - reason: spec:input_only - field: postgres_role reason: spec:input_only diff --git a/bundle/schema/jsonschema.json b/bundle/schema/jsonschema.json index afb5a80db72..ecfcd2180a2 100644 --- a/bundle/schema/jsonschema.json +++ b/bundle/schema/jsonschema.json @@ -92,9 +92,9 @@ "x-databricks-launch-stage": "GA" }, "custom_template_format": { - "description": "[Beta] The format used to interpret the `custom_summary` and `custom_description` templates.\n\n`HTML` treats both templates as HTML with Mustache `{{VARIABLE_NAME}}` placeholders.\n`MARKDOWN` treats them as Markdown with allowlisted `@VARIABLE_NAME` placeholders and converts\nthem to the format each notification destination expects, so a single template renders\ncorrectly in email, Slack, and Microsoft Teams.\n\nWhen unset, the API applies no default. Responses omit the field unless a format is stored,\nand a template with no format is rendered as HTML.", + "description": "[Public Preview] The format used to interpret the `custom_summary` and `custom_description` templates.\n\n`HTML` treats both templates as HTML with Mustache `{{VARIABLE_NAME}}` placeholders.\n`MARKDOWN` treats them as Markdown with allowlisted `@VARIABLE_NAME` placeholders and converts\nthem to the format each notification destination expects, so a single template renders\ncorrectly in email, Slack, and Microsoft Teams.\n\nWhen unset, the API applies no default. Responses omit the field unless a format is stored,\nand a template with no format is rendered as HTML.", "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/sql.CustomTemplateFormat", - "x-databricks-launch-stage": "PUBLIC_BETA" + "x-databricks-launch-stage": "PUBLIC_PREVIEW" }, "display_name": { "description": "The display name of the alert.", @@ -15034,7 +15034,7 @@ "oneOf": [ { "type": "object", - "description": "Notifications for the jobs and pipelines that materialize the features in a set, one field per\ntrigger.", + "description": "Notifications for the jobs and pipelines that materialize features, one field per trigger.", "properties": { "on_failure": { "description": "[Private Preview] Who to notify when a run fails, and on which attempts.", @@ -15125,6 +15125,12 @@ "$ref": "#/$defs/string", "x-databricks-launch-stage": "GA" }, + "notifications": { + "description": "[Private Preview] Notification configuration around the lifecycle of the job or pipeline that materializes\nthis feature. Features which are materialized in the same pipeline will share the same\nnotification.", + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/ml.MaterializationNotifications", + "x-databricks-launch-stage": "PRIVATE_PREVIEW", + "doNotSuggest": true + }, "offline_store_config": { "description": "Destination for writing feature values to an offline Delta table. The resulting table is\nreturned as `table_name`.", "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/ml.OfflineStoreConfig", @@ -21477,8 +21483,8 @@ "MARKDOWN" ], "enumDescriptions": [ - "[Beta]", - "[Beta]" + "[Public Preview]", + "[Public Preview]" ] }, { diff --git a/cmd/workspace/lakewatch/lakewatch.go b/cmd/workspace/lakewatch/lakewatch.go index 511c70d4f28..892165a8ec2 100644 --- a/cmd/workspace/lakewatch/lakewatch.go +++ b/cmd/workspace/lakewatch/lakewatch.go @@ -1108,8 +1108,6 @@ func newUpdateCommonConfig() *cobra.Command { cmd.Flags().Var(&updateCommonConfigJson, "json", `either inline JSON string or @path/to/file.json with request body`) cmd.Flags().StringVar(&updateCommonConfigReq.Etag, "etag", updateCommonConfigReq.Etag, `Optimistic-concurrency precondition: if set and it does not match the resource's current etag, the update is rejected as a conflict (HTTP 409).`) - cmd.Flags().StringVar(&updateCommonConfigReq.CommonConfig.CustomContentPackPath, "custom-content-pack-path", updateCommonConfigReq.CommonConfig.CustomContentPackPath, `UC volume path holding user-authored custom content packs, e.g.`) - cmd.Flags().StringVar(&updateCommonConfigReq.CommonConfig.CustomPresetsPath, "custom-presets-path", updateCommonConfigReq.CommonConfig.CustomPresetsPath, `UC volume path holding user-authored custom presets, e.g.`) cmd.Flags().StringVar(&updateCommonConfigReq.CommonConfig.Name, "name", updateCommonConfigReq.CommonConfig.Name, ``) cmd.Flags().BoolVar(&updateCommonConfigReq.CommonConfig.PerResourcePermissionsEnabled, "per-resource-permissions-enabled", updateCommonConfigReq.CommonConfig.PerResourcePermissionsEnabled, `Whether users may grant permissions on individual resources rather than only at the Folder level.`) // TODO: complex arg: updated_by diff --git a/cmd/workspace/rfa/rfa.go b/cmd/workspace/rfa/rfa.go index 75bfec74dd4..01bf7808b1d 100644 --- a/cmd/workspace/rfa/rfa.go +++ b/cmd/workspace/rfa/rfa.go @@ -233,9 +233,9 @@ Update Access Request Destinations. must be a metastore admin, the owner of the securable, or a user that has the **MANAGE** privilege on the securable in order to assign destinations. A maximum of 5 emails and 5 external notification destinations (Slack, Microsoft - Teams, Generic Webhook, and Databricks App Slack/Teams destinations) can be - assigned to a securable. If a URL destination is assigned, no other - destinations can be set. + Teams, Generic Webhook, Databricks App Slack/Teams, Asana, ServiceNow, and + EventBridge destinations) can be assigned to a securable. If a URL destination + is assigned, no other destinations can be set. The supported securable types are: "metastore", "catalog", "schema", "table", "external_location", "connection", "credential", "function", diff --git a/go.mod b/go.mod index a27f30aa0e8..ccf1f4e96be 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/charmbracelet/huh v1.0.0 // MIT github.com/charmbracelet/lipgloss v1.1.0 // MIT github.com/charmbracelet/x/ansi v0.11.9 // MIT - github.com/databricks/databricks-sdk-go v0.197.0 // Apache-2.0 + github.com/databricks/databricks-sdk-go v0.198.0 // Apache-2.0 github.com/databricks/sdk-go/auth v0.2.0 // Apache-2.0 github.com/databricks/sdk-go/core v0.1.0 // Apache-2.0 github.com/databricks/sdk-go/files v0.3.0 // Apache-2.0 diff --git a/go.sum b/go.sum index 3d06610180a..ab021a2a1a8 100644 --- a/go.sum +++ b/go.sum @@ -60,8 +60,8 @@ github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ= github.com/danieljoos/wincred v1.2.3/go.mod h1:6qqX0WNrS4RzPZ1tnroDzq9kY3fu1KwE7MRLQK4X0bs= -github.com/databricks/databricks-sdk-go v0.197.0 h1:t6dlDpzvJ2Cb8ts+sZqeZ2sxqaYMvN0cq+VF+hI5aMM= -github.com/databricks/databricks-sdk-go v0.197.0/go.mod h1:udBw6nxkaqa0fgPQ7ZW1kGFkltQncYx+qFJeVFmxtz8= +github.com/databricks/databricks-sdk-go v0.198.0 h1:Ij8sxkRLyUUc6uTeB4rooAnlJm8DOb0vBDC1ZXHqQXA= +github.com/databricks/databricks-sdk-go v0.198.0/go.mod h1:udBw6nxkaqa0fgPQ7ZW1kGFkltQncYx+qFJeVFmxtz8= github.com/databricks/sdk-go/auth v0.2.0 h1:543fVMvJ6pVxBymfjGGkkmfiHDbUqX7y9lZseEcE4tQ= github.com/databricks/sdk-go/auth v0.2.0/go.mod h1:eNJdFzBAfu1y32a3wPcTnjaUkjhS9VfyCNblKFPIPEo= github.com/databricks/sdk-go/core v0.1.0 h1:ZolzW/KVIJy1xXQ0zTsu/QYsEB4vQAEApbbq4D3RGHc= diff --git a/python/databricks/bundles/alerts/_models/alert.py b/python/databricks/bundles/alerts/_models/alert.py index 1924b0f035a..931aee97f3d 100644 --- a/python/databricks/bundles/alerts/_models/alert.py +++ b/python/databricks/bundles/alerts/_models/alert.py @@ -73,9 +73,7 @@ class Alert(Resource): custom_template_format: VariableOrOptional[CustomTemplateFormat] = None """ - :meta private: [EXPERIMENTAL] - - [Beta] The format used to interpret the `custom_summary` and `custom_description` templates. + [Public Preview] The format used to interpret the `custom_summary` and `custom_description` templates. `HTML` treats both templates as HTML with Mustache `{{VARIABLE_NAME}}` placeholders. `MARKDOWN` treats them as Markdown with allowlisted `@VARIABLE_NAME` placeholders and converts @@ -178,9 +176,7 @@ class AlertDict(TypedDict, total=False): custom_template_format: VariableOrOptional[CustomTemplateFormatParam] """ - :meta private: [EXPERIMENTAL] - - [Beta] The format used to interpret the `custom_summary` and `custom_description` templates. + [Public Preview] The format used to interpret the `custom_summary` and `custom_description` templates. `HTML` treats both templates as HTML with Mustache `{{VARIABLE_NAME}}` placeholders. `MARKDOWN` treats them as Markdown with allowlisted `@VARIABLE_NAME` placeholders and converts diff --git a/python/databricks/bundles/materialization_sets/_models/materialization_notifications.py b/python/databricks/bundles/materialization_sets/_models/materialization_notifications.py index d44d96567da..8e31dca4d72 100644 --- a/python/databricks/bundles/materialization_sets/_models/materialization_notifications.py +++ b/python/databricks/bundles/materialization_sets/_models/materialization_notifications.py @@ -24,8 +24,7 @@ class MaterializationNotifications: """ :meta private: [EXPERIMENTAL] - Notifications for the jobs and pipelines that materialize the features in a set, one field per - trigger. + Notifications for the jobs and pipelines that materialize features, one field per trigger. """ on_failure: VariableOrOptional[MaterializationFailureNotification] = None diff --git a/python/databricks/bundles/materialization_sets/_models/materialized_feature.py b/python/databricks/bundles/materialization_sets/_models/materialized_feature.py index b94699ef880..91c1be93f19 100644 --- a/python/databricks/bundles/materialization_sets/_models/materialized_feature.py +++ b/python/databricks/bundles/materialization_sets/_models/materialized_feature.py @@ -18,6 +18,10 @@ ExternalTrigger, ExternalTriggerParam, ) +from databricks.bundles.materialization_sets._models.materialization_notifications import ( + MaterializationNotifications, + MaterializationNotificationsParam, +) from databricks.bundles.materialization_sets._models.offline_store_config import ( OfflineStoreConfig, OfflineStoreConfigParam, @@ -79,6 +83,15 @@ class MaterializedFeature: Server-assigned unique identifier for the materialized feature. """ + notifications: VariableOrOptional[MaterializationNotifications] = None + """ + :meta private: [EXPERIMENTAL] + + [Private Preview] Notification configuration around the lifecycle of the job or pipeline that materializes + this feature. Features which are materialized in the same pipeline will share the same + notification. + """ + offline_store_config: VariableOrOptional[OfflineStoreConfig] = None """ Destination for writing feature values to an offline Delta table. The resulting table is @@ -159,6 +172,15 @@ class MaterializedFeatureDict(TypedDict, total=False): Server-assigned unique identifier for the materialized feature. """ + notifications: VariableOrOptional[MaterializationNotificationsParam] + """ + :meta private: [EXPERIMENTAL] + + [Private Preview] Notification configuration around the lifecycle of the job or pipeline that materializes + this feature. Features which are materialized in the same pipeline will share the same + notification. + """ + offline_store_config: VariableOrOptional[OfflineStoreConfigParam] """ Destination for writing feature values to an offline Delta table. The resulting table is diff --git a/python/databricks_tests/core/_generated/alerts.py b/python/databricks_tests/core/_generated/alerts.py index 2d8e117c99c..ca997fed2bc 100644 --- a/python/databricks_tests/core/_generated/alerts.py +++ b/python/databricks_tests/core/_generated/alerts.py @@ -8,6 +8,9 @@ from databricks.bundles.alerts._models.alert_v2_run_as import AlertV2RunAs from databricks.bundles.alerts._models.comparison_operator import ComparisonOperator from databricks.bundles.alerts._models.cron_schedule import CronSchedule +from databricks.bundles.alerts._models.custom_template_format import ( + CustomTemplateFormat, +) from databricks.bundles.alerts._models.lifecycle import Lifecycle from databricks.bundles.alerts._models.permission import Permission from databricks.bundles.alerts._models.permission_level import PermissionLevel @@ -21,6 +24,7 @@ def _test_case(): ResourceTestCase( add_resource=Resources.add_alert, dict_example={ + "custom_template_format": "HTML", "display_name": "display_name", "evaluation": { "comparison_operator": "LESS_THAN", @@ -37,6 +41,7 @@ def _test_case(): "warehouse_id": "warehouse_id", }, dataclass_example=Alert( + custom_template_format=CustomTemplateFormat.HTML, display_name="display_name", evaluation=AlertV2Evaluation( comparison_operator=ComparisonOperator.LESS_THAN,