Skip to content

Commit 8ba7332

Browse files
authored
Upgrade Go SDK to 0.81.0 (#3449)
## Changes <!-- Brief summary of your changes that is easy to understand --> Upgrade Go SDK to 0.81.0
1 parent 767958d commit 8ba7332

File tree

31 files changed

+2450
-65
lines changed

31 files changed

+2450
-65
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3ae6f76120079424c8654263eafbc30ec0551854
1+
6701524136501ef070774942ef5d6e01cfaafb88

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ cmd/account/published-app-integration/published-app-integration.go linguist-gene
2828
cmd/account/service-principal-federation-policy/service-principal-federation-policy.go linguist-generated=true
2929
cmd/account/service-principal-secrets/service-principal-secrets.go linguist-generated=true
3030
cmd/account/service-principals/service-principals.go linguist-generated=true
31+
cmd/account/settings-v2/settings-v2.go linguist-generated=true
3132
cmd/account/settings/settings.go linguist-generated=true
3233
cmd/account/storage-credentials/storage-credentials.go linguist-generated=true
3334
cmd/account/storage/storage.go linguist-generated=true
@@ -44,6 +45,7 @@ cmd/workspace/aibi-dashboard-embedding-approved-domains/aibi-dashboard-embedding
4445
cmd/workspace/alerts-legacy/alerts-legacy.go linguist-generated=true
4546
cmd/workspace/alerts-v2/alerts-v2.go linguist-generated=true
4647
cmd/workspace/alerts/alerts.go linguist-generated=true
48+
cmd/workspace/apps-settings/apps-settings.go linguist-generated=true
4749
cmd/workspace/apps/apps.go linguist-generated=true
4850
cmd/workspace/artifact-allowlists/artifact-allowlists.go linguist-generated=true
4951
cmd/workspace/automatic-cluster-update/automatic-cluster-update.go linguist-generated=true
@@ -79,6 +81,7 @@ cmd/workspace/enable-export-notebook/enable-export-notebook.go linguist-generate
7981
cmd/workspace/enable-notebook-table-clipboard/enable-notebook-table-clipboard.go linguist-generated=true
8082
cmd/workspace/enable-results-downloading/enable-results-downloading.go linguist-generated=true
8183
cmd/workspace/enhanced-security-monitoring/enhanced-security-monitoring.go linguist-generated=true
84+
cmd/workspace/entity-tag-assignments/entity-tag-assignments.go linguist-generated=true
8285
cmd/workspace/experiments/experiments.go linguist-generated=true
8386
cmd/workspace/external-lineage/external-lineage.go linguist-generated=true
8487
cmd/workspace/external-locations/external-locations.go linguist-generated=true
@@ -135,6 +138,7 @@ cmd/workspace/registered-models/registered-models.go linguist-generated=true
135138
cmd/workspace/repos/repos.go linguist-generated=true
136139
cmd/workspace/resource-quotas/resource-quotas.go linguist-generated=true
137140
cmd/workspace/restrict-workspace-admins/restrict-workspace-admins.go linguist-generated=true
141+
cmd/workspace/rfa/rfa.go linguist-generated=true
138142
cmd/workspace/schemas/schemas.go linguist-generated=true
139143
cmd/workspace/secrets/secrets.go linguist-generated=true
140144
cmd/workspace/service-principal-secrets-proxy/service-principal-secrets-proxy.go linguist-generated=true
@@ -147,6 +151,7 @@ cmd/workspace/storage-credentials/storage-credentials.go linguist-generated=true
147151
cmd/workspace/system-schemas/system-schemas.go linguist-generated=true
148152
cmd/workspace/table-constraints/table-constraints.go linguist-generated=true
149153
cmd/workspace/tables/tables.go linguist-generated=true
154+
cmd/workspace/tag-policies/tag-policies.go linguist-generated=true
150155
cmd/workspace/temporary-path-credentials/temporary-path-credentials.go linguist-generated=true
151156
cmd/workspace/temporary-table-credentials/temporary-table-credentials.go linguist-generated=true
152157
cmd/workspace/token-management/token-management.go linguist-generated=true
@@ -158,4 +163,5 @@ cmd/workspace/volumes/volumes.go linguist-generated=true
158163
cmd/workspace/warehouses/warehouses.go linguist-generated=true
159164
cmd/workspace/workspace-bindings/workspace-bindings.go linguist-generated=true
160165
cmd/workspace/workspace-conf/workspace-conf.go linguist-generated=true
166+
cmd/workspace/workspace-settings-v2/workspace-settings-v2.go linguist-generated=true
161167
cmd/workspace/workspace/workspace.go linguist-generated=true

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
### Dependency updates
99
* Upgrade TF provider to 1.87.0 ([#3430](https://github.com/databricks/cli/pull/3430))
10+
* Upgrade Go SDK to 0.81.0 ([#3449](https://github.com/databricks/cli/pull/3449))
1011

1112
### CLI
1213

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Local = true
2+
Cloud = false
3+
4+
[EnvMatrix]
5+
DATABRICKS_CLI_DEPLOYMENT = ["terraform", "direct-exp"]
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
>>> [CLI] account --help
3+
Databricks Account Commands
4+
5+
Usage:
6+
databricks account [command]
7+
8+
Identity and Access Management
9+
access-control These APIs manage access rules on resources in an account.
10+
groups Groups simplify identity management, making it easier to assign access to Databricks account, data, and other securable objects.
11+
service-principals Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms.
12+
users User identities recognized by Databricks and represented by email addresses.
13+
workspace-assignment The Workspace Permission Assignment API allows you to manage workspace permissions for principals in your account.
14+
15+
Unity Catalog
16+
metastore-assignments These APIs manage metastore assignments to a workspace.
17+
metastores These APIs manage Unity Catalog metastores for an account.
18+
storage-credentials These APIs manage storage credentials for a particular metastore.
19+
20+
Settings
21+
ip-access-lists The Accounts IP Access List API enables account admins to configure IP access lists for access to the account console.
22+
network-connectivity These APIs provide configurations for the network connectivity of your workspaces for serverless compute resources.
23+
network-policies These APIs manage network policies for this account.
24+
settings Accounts Settings API allows users to manage settings at the account level.
25+
workspace-network-configuration These APIs allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace.
26+
27+
Provisioning
28+
credentials These APIs manage credential configurations for this workspace.
29+
encryption-keys These APIs manage encryption key configurations for this workspace (optional).
30+
networks These APIs manage network configurations for customer-managed VPCs (optional).
31+
private-access These APIs manage private access settings for this account.
32+
storage These APIs manage storage configurations for this workspace.
33+
vpc-endpoints These APIs manage VPC endpoint configurations for this account.
34+
workspaces These APIs manage workspaces for this account.
35+
36+
Billing
37+
billable-usage This API allows you to download billable usage logs for the specified account and date range.
38+
budget-policy A service serves REST API about Budget policies.
39+
budgets These APIs manage budget configurations for this account.
40+
log-delivery These APIs manage log delivery configurations for this account.
41+
usage-dashboards These APIs manage usage dashboards for this account.
42+
43+
OAuth
44+
custom-app-integration These APIs enable administrators to manage custom OAuth app integrations, which is required for adding/using Custom OAuth App Integration like Tableau Cloud for Databricks in AWS cloud.
45+
federation-policy These APIs manage account federation policies.
46+
o-auth-published-apps These APIs enable administrators to view all the available published OAuth applications in Databricks.
47+
published-app-integration These APIs enable administrators to manage published OAuth app integrations, which is required for adding/using Published OAuth App Integration like Tableau Desktop for Databricks in AWS cloud.
48+
service-principal-federation-policy These APIs manage service principal federation policies.
49+
service-principal-secrets These APIs enable administrators to manage service principal secrets.
50+
51+
Flags:
52+
-h, --help help for account
53+
54+
Global Flags:
55+
--debug enable debug logging
56+
-o, --output type output type: text or json (default text)
57+
-p, --profile string ~/.databrickscfg profile
58+
-t, --target string bundle target to use (if applicable)
59+
60+
Use "databricks account [command] --help" for more information about a command.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
trace $CLI account --help

acceptance/help/output.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Unity Catalog
5757
catalogs A catalog is the first layer of Unity Catalog’s three-level namespace.
5858
connections Connections allow for creating a connection to an external data source.
5959
credentials A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant.
60+
entity-tag-assignments Tags are attributes that include keys and optional values that you can use to organize and categorize entities in Unity Catalog.
6061
external-lineage External Lineage APIs enable defining and managing lineage relationships between Databricks objects and external systems.
6162
external-locations An external location is an object that combines a cloud storage path with a storage credential that authorizes access to the cloud storage path.
6263
external-metadata External Metadata objects enable customers to register and manage metadata about external systems within Unity Catalog.
@@ -65,9 +66,11 @@ Unity Catalog
6566
metastores A metastore is the top-level container of objects in Unity Catalog.
6667
model-versions Databricks provides a hosted version of MLflow Model Registry in Unity Catalog.
6768
online-tables Online tables provide lower latency and higher QPS access to data from Delta tables.
69+
policies Attribute-Based Access Control (ABAC) provides high leverage governance for enforcing compliance policies in Unity Catalog.
6870
quality-monitors A monitor computes and monitors data or model quality metrics for a table over time.
6971
registered-models Databricks provides a hosted version of MLflow Model Registry in Unity Catalog.
7072
resource-quotas Unity Catalog enforces resource quotas on all securable objects, which limits the number of resources that can be created.
73+
rfa Request for Access enables customers to request access to and manage access request destinations for Unity Catalog securables.
7174
schemas A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace.
7275
storage-credentials A storage credential represents an authentication and authorization mechanism for accessing data stored on your cloud tenant.
7376
system-schemas A system schema is a schema that lives within the system catalog.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Local = true
2+
Cloud = false
3+
4+
[EnvMatrix]
5+
DATABRICKS_CLI_DEPLOYMENT = ["terraform", "direct-exp"]

bundle/internal/schema/annotations_openapi.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,18 @@ github.com/databricks/cli/bundle/config/resources.Cluster:
246246
"workload_type":
247247
"description": |-
248248
Cluster Attributes showing for clusters workload types.
249+
github.com/databricks/cli/bundle/config/resources.DatabaseCatalog:
250+
"create_database_if_not_exists": {}
251+
"database_instance_name":
252+
"description": |-
253+
The name of the DatabaseInstance housing the database.
254+
"database_name":
255+
"description": |-
256+
The name of the database (in a instance) associated with the catalog.
257+
"name":
258+
"description": |-
259+
The name of the catalog in UC.
260+
"uid": {}
249261
github.com/databricks/cli/bundle/config/resources.DatabaseInstance:
250262
"_":
251263
"description": |-
@@ -423,7 +435,7 @@ github.com/databricks/cli/bundle/config/resources.Job:
423435
"description": |-
424436
The id of the user specified usage policy to use for this job.
425437
If not specified, a default usage policy may be applied when creating or modifying the job.
426-
See `effective_budget_policy_id` for the budget policy used by this workload.
438+
See `effective_usage_policy_id` for the usage policy used by this workload.
427439
"x-databricks-preview": |-
428440
PRIVATE
429441
"webhook_notifications":
@@ -3604,6 +3616,9 @@ github.com/databricks/databricks-sdk-go/service/serving.AiGatewayRateLimit:
36043616
"renewal_period":
36053617
"description": |-
36063618
Renewal period field for a rate limit. Currently, only 'minute' is supported.
3619+
"tokens":
3620+
"description": |-
3621+
Used to specify how many tokens are allowed for a key within the renewal_period.
36073622
github.com/databricks/databricks-sdk-go/service/serving.AiGatewayRateLimitKey:
36083623
"_":
36093624
"enum":

bundle/internal/validation/generated/required_fields.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)