Skip to content

Commit e2e452c

Browse files
update-api
1 parent 4f60813 commit e2e452c

File tree

158 files changed

+208
-1684
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+208
-1684
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
07d1b7f422d74bd84d82bf4557427f1308158396
1+
95e08d8bc631ac93d68e3846aea3cb04a2913495

docs/account/billing/billable_usage.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
2121
resp = a.billable_usage.download(start_month="2024-08", end_month="2024-09")
2222
23-
Return billable usage logs.
24-
2523
Returns billable usage logs in CSV format for the specified account and date range. For the data
2624
schema, see [CSV file schema]. Note that this method might take multiple minutes to complete.
2725

docs/account/billing/budget_policy.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
.. py:method:: create( [, policy: Optional[BudgetPolicy], request_id: Optional[str]]) -> BudgetPolicy
1010
11-
Create a budget policy.
12-
1311
Creates a new policy.
1412

1513
:param policy: :class:`BudgetPolicy` (optional)
@@ -25,8 +23,6 @@
2523

2624
.. py:method:: delete(policy_id: str)
2725
28-
Delete a budget policy.
29-
3026
Deletes a policy
3127

3228
:param policy_id: str
@@ -37,8 +33,6 @@
3733

3834
.. py:method:: get(policy_id: str) -> BudgetPolicy
3935
40-
Get a budget policy.
41-
4236
Retrieves a policy by it's ID.
4337

4438
:param policy_id: str
@@ -49,8 +43,6 @@
4943

5044
.. py:method:: list( [, filter_by: Optional[Filter], page_size: Optional[int], page_token: Optional[str], sort_spec: Optional[SortSpec]]) -> Iterator[BudgetPolicy]
5145
52-
List policies.
53-
5446
Lists all policies. Policies are returned in the alphabetically ascending order of their names.
5547

5648
:param filter_by: :class:`Filter` (optional)
@@ -72,8 +64,6 @@
7264

7365
.. py:method:: update(policy_id: str, policy: BudgetPolicy [, limit_config: Optional[LimitConfig]]) -> BudgetPolicy
7466
75-
Update a budget policy.
76-
7767
Updates a policy
7868

7969
:param policy_id: str

docs/account/billing/budgets.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
# cleanup
5757
a.budgets.delete(budget_id=created.budget.budget_configuration_id)
5858
59-
Create new budget.
60-
6159
Create a new budget configuration for an account. For full details, see
6260
https://docs.databricks.com/en/admin/account-settings/budgets.html.
6361

@@ -69,8 +67,6 @@
6967

7068
.. py:method:: delete(budget_id: str)
7169
72-
Delete budget.
73-
7470
Deletes a budget configuration for an account. Both account and budget configuration are specified by
7571
ID. This cannot be undone.
7672

@@ -130,8 +126,6 @@
130126
# cleanup
131127
a.budgets.delete(budget_id=created.budget.budget_configuration_id)
132128
133-
Get budget.
134-
135129
Gets a budget configuration for an account. Both account and budget configuration are specified by ID.
136130

137131
:param budget_id: str
@@ -154,8 +148,6 @@
154148
155149
all = a.budgets.list(billing.ListBudgetConfigurationsRequest())
156150
157-
Get all budgets.
158-
159151
Gets all budgets associated with this account.
160152

161153
:param page_token: str (optional)
@@ -242,8 +234,6 @@
242234
# cleanup
243235
a.budgets.delete(budget_id=created.budget.budget_configuration_id)
244236
245-
Modify budget.
246-
247237
Updates a budget configuration for an account. Both account and budget configuration are specified by
248238
ID.
249239

docs/account/billing/log_delivery.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
status=billing.LogDeliveryConfigStatus.DISABLED,
5353
)
5454
55-
Create a new log delivery configuration.
56-
5755
Creates a new Databricks log delivery configuration to enable delivery of the specified type of logs
5856
to your storage location. This requires that you already created a [credential
5957
object](:method:Credentials/Create) (which encapsulates a cross-account service IAM role) and a
@@ -128,8 +126,6 @@
128126
status=billing.LogDeliveryConfigStatus.DISABLED,
129127
)
130128
131-
Get log delivery configuration.
132-
133129
Gets a Databricks log delivery configuration object for an account, both specified by ID.
134130

135131
:param log_delivery_configuration_id: str
@@ -152,8 +148,6 @@
152148
153149
all = a.log_delivery.list(billing.ListLogDeliveryRequest())
154150
155-
Get all log delivery configurations.
156-
157151
Gets all Databricks log delivery configurations associated with an account specified by ID.
158152

159153
:param credentials_id: str (optional)
@@ -171,8 +165,6 @@
171165

172166
.. py:method:: patch_status(log_delivery_configuration_id: str, status: LogDeliveryConfigStatus)
173167
174-
Enable or disable log delivery configuration.
175-
176168
Enables or disables a log delivery configuration. Deletion of delivery configurations is not
177169
supported, so disable log delivery configurations that are no longer needed. Note that you can't
178170
re-enable a delivery configuration if this would violate the delivery configuration limits described

docs/account/billing/usage_dashboards.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
.. py:method:: create( [, dashboard_type: Optional[UsageDashboardType], workspace_id: Optional[int]]) -> CreateBillingUsageDashboardResponse
1212
13-
Create new usage dashboard.
14-
1513
Create a usage dashboard specified by workspaceId, accountId, and dashboard type.
1614

1715
:param dashboard_type: :class:`UsageDashboardType` (optional)
@@ -25,8 +23,6 @@
2523

2624
.. py:method:: get( [, dashboard_type: Optional[UsageDashboardType], workspace_id: Optional[int]]) -> GetBillingUsageDashboardResponse
2725
28-
Get usage dashboard.
29-
3026
Get a usage dashboard specified by workspaceId, accountId, and dashboard type.
3127

3228
:param dashboard_type: :class:`UsageDashboardType` (optional)

docs/account/catalog/metastore_assignments.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
.. py:method:: create(workspace_id: int, metastore_id: str [, metastore_assignment: Optional[CreateMetastoreAssignment]])
1010
11-
Assigns a workspace to a metastore.
12-
1311
Creates an assignment to a metastore for a workspace
1412

1513
:param workspace_id: int
@@ -23,8 +21,6 @@
2321

2422
.. py:method:: delete(workspace_id: int, metastore_id: str)
2523
26-
Delete a metastore assignment.
27-
2824
Deletes a metastore assignment to a workspace, leaving the workspace with no metastore.
2925

3026
:param workspace_id: int
@@ -37,8 +33,6 @@
3733

3834
.. py:method:: get(workspace_id: int) -> AccountsMetastoreAssignment
3935
40-
Gets the metastore assignment for a workspace.
41-
4236
Gets the metastore assignment, if any, for the workspace specified by ID. If the workspace is assigned
4337
a metastore, the mappig will be returned. If no metastore is assigned to the workspace, the assignment
4438
will not be found and a 404 returned.
@@ -64,8 +58,6 @@
6458
6559
ws = a.metastore_assignments.list(metastore_id=os.environ["TEST_METASTORE_ID"])
6660
67-
Get all workspaces assigned to a metastore.
68-
6961
Gets a list of all Databricks workspace IDs that have been assigned to given metastore.
7062

7163
:param metastore_id: str
@@ -76,8 +68,6 @@
7668

7769
.. py:method:: update(workspace_id: int, metastore_id: str [, metastore_assignment: Optional[UpdateMetastoreAssignment]])
7870
79-
Updates a metastore assignment to a workspaces.
80-
8171
Updates an assignment to a metastore for a workspace. Currently, only the default catalog may be
8272
updated.
8373

docs/account/catalog/metastores.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
.. py:method:: create( [, metastore_info: Optional[CreateMetastore]]) -> AccountsMetastoreInfo
1111
12-
Create metastore.
13-
1412
Creates a Unity Catalog metastore.
1513

1614
:param metastore_info: :class:`CreateMetastore` (optional)
@@ -20,8 +18,6 @@
2018

2119
.. py:method:: delete(metastore_id: str [, force: Optional[bool]])
2220
23-
Delete a metastore.
24-
2521
Deletes a Unity Catalog metastore for an account, both specified by ID.
2622

2723
:param metastore_id: str
@@ -34,8 +30,6 @@
3430

3531
.. py:method:: get(metastore_id: str) -> AccountsMetastoreInfo
3632
37-
Get a metastore.
38-
3933
Gets a Unity Catalog metastore from an account, both specified by ID.
4034

4135
:param metastore_id: str
@@ -46,17 +40,13 @@
4640

4741
.. py:method:: list() -> Iterator[MetastoreInfo]
4842
49-
Get all metastores associated with an account.
50-
5143
Gets all Unity Catalog metastores associated with an account specified by ID.
5244

5345
:returns: Iterator over :class:`MetastoreInfo`
5446

5547

5648
.. py:method:: update(metastore_id: str [, metastore_info: Optional[UpdateMetastore]]) -> AccountsMetastoreInfo
5749
58-
Update a metastore.
59-
6050
Updates an existing Unity Catalog metastore.
6151

6252
:param metastore_id: str

docs/account/catalog/storage_credentials.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
.. py:method:: create(metastore_id: str [, credential_info: Optional[CreateStorageCredential]]) -> AccountsStorageCredentialInfo
1010
11-
Create a storage credential.
12-
1311
Creates a new storage credential. The request object is specific to the cloud:
1412

1513
* **AwsIamRole** for AWS credentials * **AzureServicePrincipal** for Azure credentials *
@@ -27,8 +25,6 @@
2725

2826
.. py:method:: delete(metastore_id: str, storage_credential_name: str [, force: Optional[bool]])
2927
30-
Delete a storage credential.
31-
3228
Deletes a storage credential from the metastore. The caller must be an owner of the storage
3329
credential.
3430

@@ -44,8 +40,6 @@
4440

4541
.. py:method:: get(metastore_id: str, storage_credential_name: str) -> AccountsStorageCredentialInfo
4642
47-
Gets the named storage credential.
48-
4943
Gets a storage credential from the metastore. The caller must be a metastore admin, the owner of the
5044
storage credential, or have a level of privilege on the storage credential.
5145

@@ -59,8 +53,6 @@
5953

6054
.. py:method:: list(metastore_id: str) -> Iterator[StorageCredentialInfo]
6155
62-
Get all storage credentials assigned to a metastore.
63-
6456
Gets a list of all storage credentials that have been assigned to given metastore.
6557

6658
:param metastore_id: str
@@ -71,8 +63,6 @@
7163

7264
.. py:method:: update(metastore_id: str, storage_credential_name: str [, credential_info: Optional[UpdateStorageCredential]]) -> AccountsStorageCredentialInfo
7365
74-
Updates a storage credential.
75-
7666
Updates a storage credential on the metastore. The caller must be the owner of the storage credential.
7767
If the caller is a metastore admin, only the __owner__ credential can be changed.
7868

docs/account/iam/access_control.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
.. py:method:: get_assignable_roles_for_resource(resource: str) -> GetAssignableRolesForResourceResponse
1212
13-
Get assignable roles for a resource.
14-
1513
Gets all the roles that can be granted on an account level resource. A role is grantable if the rule
1614
set on the resource can contain an access rule of the role.
1715

@@ -28,8 +26,6 @@
2826

2927
.. py:method:: get_rule_set(name: str, etag: str) -> RuleSetResponse
3028
31-
Get a rule set.
32-
3329
Get a rule set by its name. A rule set is always attached to a resource and contains a list of access
3430
rules on the said resource. Currently only a default rule set for each resource is supported.
3531

@@ -58,8 +54,6 @@
5854

5955
.. py:method:: update_rule_set(name: str, rule_set: RuleSetUpdateRequest) -> RuleSetResponse
6056
61-
Update a rule set.
62-
6357
Replace the rules of a rule set. First, use get to read the current version of the rule set before
6458
modifying it. This pattern helps prevent conflicts between concurrent updates.
6559

0 commit comments

Comments
 (0)