Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3ae6f76120079424c8654263eafbc30ec0551854
6701524136501ef070774942ef5d6e01cfaafb88
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cmd/account/published-app-integration/published-app-integration.go linguist-gene
cmd/account/service-principal-federation-policy/service-principal-federation-policy.go linguist-generated=true
cmd/account/service-principal-secrets/service-principal-secrets.go linguist-generated=true
cmd/account/service-principals/service-principals.go linguist-generated=true
cmd/account/settings-v2/settings-v2.go linguist-generated=true
cmd/account/settings/settings.go linguist-generated=true
cmd/account/storage-credentials/storage-credentials.go linguist-generated=true
cmd/account/storage/storage.go linguist-generated=true
Expand All @@ -44,6 +45,7 @@ cmd/workspace/aibi-dashboard-embedding-approved-domains/aibi-dashboard-embedding
cmd/workspace/alerts-legacy/alerts-legacy.go linguist-generated=true
cmd/workspace/alerts-v2/alerts-v2.go linguist-generated=true
cmd/workspace/alerts/alerts.go linguist-generated=true
cmd/workspace/apps-settings/apps-settings.go linguist-generated=true
cmd/workspace/apps/apps.go linguist-generated=true
cmd/workspace/artifact-allowlists/artifact-allowlists.go linguist-generated=true
cmd/workspace/automatic-cluster-update/automatic-cluster-update.go linguist-generated=true
Expand Down Expand Up @@ -79,6 +81,7 @@ cmd/workspace/enable-export-notebook/enable-export-notebook.go linguist-generate
cmd/workspace/enable-notebook-table-clipboard/enable-notebook-table-clipboard.go linguist-generated=true
cmd/workspace/enable-results-downloading/enable-results-downloading.go linguist-generated=true
cmd/workspace/enhanced-security-monitoring/enhanced-security-monitoring.go linguist-generated=true
cmd/workspace/entity-tag-assignments/entity-tag-assignments.go linguist-generated=true
cmd/workspace/experiments/experiments.go linguist-generated=true
cmd/workspace/external-lineage/external-lineage.go linguist-generated=true
cmd/workspace/external-locations/external-locations.go linguist-generated=true
Expand Down Expand Up @@ -135,6 +138,7 @@ cmd/workspace/registered-models/registered-models.go linguist-generated=true
cmd/workspace/repos/repos.go linguist-generated=true
cmd/workspace/resource-quotas/resource-quotas.go linguist-generated=true
cmd/workspace/restrict-workspace-admins/restrict-workspace-admins.go linguist-generated=true
cmd/workspace/rfa/rfa.go linguist-generated=true
cmd/workspace/schemas/schemas.go linguist-generated=true
cmd/workspace/secrets/secrets.go linguist-generated=true
cmd/workspace/service-principal-secrets-proxy/service-principal-secrets-proxy.go linguist-generated=true
Expand All @@ -147,6 +151,7 @@ cmd/workspace/storage-credentials/storage-credentials.go linguist-generated=true
cmd/workspace/system-schemas/system-schemas.go linguist-generated=true
cmd/workspace/table-constraints/table-constraints.go linguist-generated=true
cmd/workspace/tables/tables.go linguist-generated=true
cmd/workspace/tag-policies/tag-policies.go linguist-generated=true
cmd/workspace/temporary-path-credentials/temporary-path-credentials.go linguist-generated=true
cmd/workspace/temporary-table-credentials/temporary-table-credentials.go linguist-generated=true
cmd/workspace/token-management/token-management.go linguist-generated=true
Expand All @@ -158,4 +163,5 @@ cmd/workspace/volumes/volumes.go linguist-generated=true
cmd/workspace/warehouses/warehouses.go linguist-generated=true
cmd/workspace/workspace-bindings/workspace-bindings.go linguist-generated=true
cmd/workspace/workspace-conf/workspace-conf.go linguist-generated=true
cmd/workspace/workspace-settings-v2/workspace-settings-v2.go linguist-generated=true
cmd/workspace/workspace/workspace.go linguist-generated=true
1 change: 1 addition & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

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

### CLI

Expand Down
5 changes: 5 additions & 0 deletions acceptance/cmd/account/account-help/out.test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Local = true
Cloud = false

[EnvMatrix]
DATABRICKS_CLI_DEPLOYMENT = ["terraform", "direct-exp"]
60 changes: 60 additions & 0 deletions acceptance/cmd/account/account-help/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

>>> [CLI] account --help
Databricks Account Commands

Usage:
databricks account [command]

Identity and Access Management
access-control These APIs manage access rules on resources in an account.
groups Groups simplify identity management, making it easier to assign access to Databricks account, data, and other securable objects.
service-principals Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms.
users User identities recognized by Databricks and represented by email addresses.
workspace-assignment The Workspace Permission Assignment API allows you to manage workspace permissions for principals in your account.

Unity Catalog
metastore-assignments These APIs manage metastore assignments to a workspace.
metastores These APIs manage Unity Catalog metastores for an account.
storage-credentials These APIs manage storage credentials for a particular metastore.

Settings
ip-access-lists The Accounts IP Access List API enables account admins to configure IP access lists for access to the account console.
network-connectivity These APIs provide configurations for the network connectivity of your workspaces for serverless compute resources.
network-policies These APIs manage network policies for this account.
settings Accounts Settings API allows users to manage settings at the account level.
workspace-network-configuration These APIs allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace.

Provisioning
credentials These APIs manage credential configurations for this workspace.
encryption-keys These APIs manage encryption key configurations for this workspace (optional).
networks These APIs manage network configurations for customer-managed VPCs (optional).
private-access These APIs manage private access settings for this account.
storage These APIs manage storage configurations for this workspace.
vpc-endpoints These APIs manage VPC endpoint configurations for this account.
workspaces These APIs manage workspaces for this account.

Billing
billable-usage This API allows you to download billable usage logs for the specified account and date range.
budget-policy A service serves REST API about Budget policies.
budgets These APIs manage budget configurations for this account.
log-delivery These APIs manage log delivery configurations for this account.
usage-dashboards These APIs manage usage dashboards for this account.

OAuth
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.
federation-policy These APIs manage account federation policies.
o-auth-published-apps These APIs enable administrators to view all the available published OAuth applications in Databricks.
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.
service-principal-federation-policy These APIs manage service principal federation policies.
service-principal-secrets These APIs enable administrators to manage service principal secrets.

Flags:
-h, --help help for account

Global Flags:
--debug enable debug logging
-o, --output type output type: text or json (default text)
-p, --profile string ~/.databrickscfg profile
-t, --target string bundle target to use (if applicable)

Use "databricks account [command] --help" for more information about a command.
1 change: 1 addition & 0 deletions acceptance/cmd/account/account-help/script
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trace $CLI account --help
3 changes: 3 additions & 0 deletions acceptance/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Unity Catalog
catalogs A catalog is the first layer of Unity Catalog’s three-level namespace.
connections Connections allow for creating a connection to an external data source.
credentials A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant.
entity-tag-assignments Tags are attributes that include keys and optional values that you can use to organize and categorize entities in Unity Catalog.
external-lineage External Lineage APIs enable defining and managing lineage relationships between Databricks objects and external systems.
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.
external-metadata External Metadata objects enable customers to register and manage metadata about external systems within Unity Catalog.
Expand All @@ -65,9 +66,11 @@ Unity Catalog
metastores A metastore is the top-level container of objects in Unity Catalog.
model-versions Databricks provides a hosted version of MLflow Model Registry in Unity Catalog.
online-tables Online tables provide lower latency and higher QPS access to data from Delta tables.
policies Attribute-Based Access Control (ABAC) provides high leverage governance for enforcing compliance policies in Unity Catalog.
quality-monitors A monitor computes and monitors data or model quality metrics for a table over time.
registered-models Databricks provides a hosted version of MLflow Model Registry in Unity Catalog.
resource-quotas Unity Catalog enforces resource quotas on all securable objects, which limits the number of resources that can be created.
rfa Request for Access enables customers to request access to and manage access request destinations for Unity Catalog securables.
schemas A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace.
storage-credentials A storage credential represents an authentication and authorization mechanism for accessing data stored on your cloud tenant.
system-schemas A system schema is a schema that lives within the system catalog.
Expand Down
5 changes: 5 additions & 0 deletions acceptance/selftest/skip/out.test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Local = true
Cloud = false

[EnvMatrix]
DATABRICKS_CLI_DEPLOYMENT = ["terraform", "direct-exp"]
17 changes: 16 additions & 1 deletion bundle/internal/schema/annotations_openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,18 @@ github.com/databricks/cli/bundle/config/resources.Cluster:
"workload_type":
"description": |-
Cluster Attributes showing for clusters workload types.
github.com/databricks/cli/bundle/config/resources.DatabaseCatalog:
"create_database_if_not_exists": {}
"database_instance_name":
"description": |-
The name of the DatabaseInstance housing the database.
"database_name":
"description": |-
The name of the database (in a instance) associated with the catalog.
"name":
"description": |-
The name of the catalog in UC.
"uid": {}
github.com/databricks/cli/bundle/config/resources.DatabaseInstance:
"_":
"description": |-
Expand Down Expand Up @@ -423,7 +435,7 @@ github.com/databricks/cli/bundle/config/resources.Job:
"description": |-
The id of the user specified usage policy to use for this job.
If not specified, a default usage policy may be applied when creating or modifying the job.
See `effective_budget_policy_id` for the budget policy used by this workload.
See `effective_usage_policy_id` for the usage policy used by this workload.
"x-databricks-preview": |-
PRIVATE
"webhook_notifications":
Expand Down Expand Up @@ -3604,6 +3616,9 @@ github.com/databricks/databricks-sdk-go/service/serving.AiGatewayRateLimit:
"renewal_period":
"description": |-
Renewal period field for a rate limit. Currently, only 'minute' is supported.
"tokens":
"description": |-
Used to specify how many tokens are allowed for a key within the renewal_period.
github.com/databricks/databricks-sdk-go/service/serving.AiGatewayRateLimitKey:
"_":
"enum":
Expand Down
2 changes: 2 additions & 0 deletions bundle/internal/validation/generated/required_fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion bundle/schema/jsonschema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions cmd/account/cmd.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cmd/account/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ func Groups() []cobra.Group {
ID: "settings",
Title: "Settings",
},
{
ID: "settingsv2",
Title: "Settings (v2)",
},
{
ID: "provisioning",
Title: "Provisioning",
Expand Down
Loading
Loading