databricks-sdk 0.53.0__py3-none-any.whl → 0.55.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of databricks-sdk might be problematic. Click here for more details.
- databricks/sdk/__init__.py +298 -255
- databricks/sdk/config.py +15 -4
- databricks/sdk/credentials_provider.py +101 -55
- databricks/sdk/errors/base.py +1 -30
- databricks/sdk/oauth.py +0 -5
- databricks/sdk/oidc.py +206 -0
- databricks/sdk/service/apps.py +58 -0
- databricks/sdk/service/catalog.py +1198 -181
- databricks/sdk/service/cleanrooms.py +116 -1
- databricks/sdk/service/compute.py +33 -68
- databricks/sdk/service/dashboards.py +7 -0
- databricks/sdk/service/iam.py +167 -103
- databricks/sdk/service/jobs.py +7 -6
- databricks/sdk/service/ml.py +1230 -55
- databricks/sdk/service/oauth2.py +17 -0
- databricks/sdk/service/pipelines.py +105 -0
- databricks/sdk/service/serving.py +314 -0
- databricks/sdk/service/settings.py +1284 -59
- databricks/sdk/service/sharing.py +388 -2
- databricks/sdk/service/sql.py +53 -84
- databricks/sdk/service/vectorsearch.py +0 -28
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.53.0.dist-info → databricks_sdk-0.55.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.53.0.dist-info → databricks_sdk-0.55.0.dist-info}/RECORD +28 -27
- {databricks_sdk-0.53.0.dist-info → databricks_sdk-0.55.0.dist-info}/WHEEL +1 -1
- {databricks_sdk-0.53.0.dist-info → databricks_sdk-0.55.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.53.0.dist-info → databricks_sdk-0.55.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.53.0.dist-info → databricks_sdk-0.55.0.dist-info}/top_level.txt +0 -0
databricks/sdk/__init__.py
CHANGED
|
@@ -5,7 +5,6 @@ from typing import Optional
|
|
|
5
5
|
|
|
6
6
|
import databricks.sdk.core as client
|
|
7
7
|
import databricks.sdk.dbutils as dbutils
|
|
8
|
-
import databricks.sdk.service as service
|
|
9
8
|
from databricks.sdk import azure
|
|
10
9
|
from databricks.sdk.credentials_provider import CredentialsStrategy
|
|
11
10
|
from databricks.sdk.data_plane import DataPlaneTokenSource
|
|
@@ -14,6 +13,26 @@ from databricks.sdk.mixins.files import DbfsExt, FilesExt
|
|
|
14
13
|
from databricks.sdk.mixins.jobs import JobsExt
|
|
15
14
|
from databricks.sdk.mixins.open_ai_client import ServingEndpointsExt
|
|
16
15
|
from databricks.sdk.mixins.workspace import WorkspaceExt
|
|
16
|
+
from databricks.sdk.service import apps as pkg_apps
|
|
17
|
+
from databricks.sdk.service import billing as pkg_billing
|
|
18
|
+
from databricks.sdk.service import catalog as pkg_catalog
|
|
19
|
+
from databricks.sdk.service import cleanrooms as pkg_cleanrooms
|
|
20
|
+
from databricks.sdk.service import compute as pkg_compute
|
|
21
|
+
from databricks.sdk.service import dashboards as pkg_dashboards
|
|
22
|
+
from databricks.sdk.service import files as pkg_files
|
|
23
|
+
from databricks.sdk.service import iam as pkg_iam
|
|
24
|
+
from databricks.sdk.service import jobs as pkg_jobs
|
|
25
|
+
from databricks.sdk.service import marketplace as pkg_marketplace
|
|
26
|
+
from databricks.sdk.service import ml as pkg_ml
|
|
27
|
+
from databricks.sdk.service import oauth2 as pkg_oauth2
|
|
28
|
+
from databricks.sdk.service import pipelines as pkg_pipelines
|
|
29
|
+
from databricks.sdk.service import provisioning as pkg_provisioning
|
|
30
|
+
from databricks.sdk.service import serving as pkg_serving
|
|
31
|
+
from databricks.sdk.service import settings as pkg_settings
|
|
32
|
+
from databricks.sdk.service import sharing as pkg_sharing
|
|
33
|
+
from databricks.sdk.service import sql as pkg_sql
|
|
34
|
+
from databricks.sdk.service import vectorsearch as pkg_vectorsearch
|
|
35
|
+
from databricks.sdk.service import workspace as pkg_workspace
|
|
17
36
|
from databricks.sdk.service.apps import AppsAPI
|
|
18
37
|
from databricks.sdk.service.billing import (BillableUsageAPI, BudgetPolicyAPI,
|
|
19
38
|
BudgetsAPI, LogDeliveryAPI,
|
|
@@ -23,6 +42,7 @@ from databricks.sdk.service.catalog import (AccountMetastoreAssignmentsAPI,
|
|
|
23
42
|
AccountStorageCredentialsAPI,
|
|
24
43
|
ArtifactAllowlistsAPI, CatalogsAPI,
|
|
25
44
|
ConnectionsAPI, CredentialsAPI,
|
|
45
|
+
DatabaseInstancesAPI,
|
|
26
46
|
ExternalLocationsAPI, FunctionsAPI,
|
|
27
47
|
GrantsAPI, MetastoresAPI,
|
|
28
48
|
ModelVersionsAPI, OnlineTablesAPI,
|
|
@@ -89,12 +109,15 @@ from databricks.sdk.service.settings import (
|
|
|
89
109
|
DisableLegacyDbfsAPI, DisableLegacyFeaturesAPI, EnableExportNotebookAPI,
|
|
90
110
|
EnableIpAccessListsAPI, EnableNotebookTableClipboardAPI,
|
|
91
111
|
EnableResultsDownloadingAPI, EnhancedSecurityMonitoringAPI,
|
|
92
|
-
EsmEnablementAccountAPI, IpAccessListsAPI,
|
|
93
|
-
|
|
112
|
+
EsmEnablementAccountAPI, IpAccessListsAPI,
|
|
113
|
+
LlmProxyPartnerPoweredAccountAPI, LlmProxyPartnerPoweredEnforceAPI,
|
|
114
|
+
LlmProxyPartnerPoweredWorkspaceAPI, NetworkConnectivityAPI,
|
|
115
|
+
NetworkPoliciesAPI, NotificationDestinationsAPI, PersonalComputeAPI,
|
|
94
116
|
RestrictWorkspaceAdminsAPI, SettingsAPI, TokenManagementAPI, TokensAPI,
|
|
95
|
-
WorkspaceConfAPI)
|
|
117
|
+
WorkspaceConfAPI, WorkspaceNetworkConfigurationAPI)
|
|
96
118
|
from databricks.sdk.service.sharing import (ProvidersAPI,
|
|
97
119
|
RecipientActivationAPI,
|
|
120
|
+
RecipientFederationPoliciesAPI,
|
|
98
121
|
RecipientsAPI, SharesAPI)
|
|
99
122
|
from databricks.sdk.service.sql import (AlertsAPI, AlertsLegacyAPI,
|
|
100
123
|
AlertsV2API, DashboardsAPI,
|
|
@@ -205,117 +228,115 @@ class WorkspaceClient:
|
|
|
205
228
|
self._dbutils = _make_dbutils(self._config)
|
|
206
229
|
self._api_client = client.ApiClient(self._config)
|
|
207
230
|
serving_endpoints = ServingEndpointsExt(self._api_client)
|
|
208
|
-
self._access_control =
|
|
209
|
-
self._account_access_control_proxy =
|
|
210
|
-
self._alerts =
|
|
211
|
-
self._alerts_legacy =
|
|
212
|
-
self._alerts_v2 =
|
|
213
|
-
self._apps =
|
|
214
|
-
self._artifact_allowlists =
|
|
215
|
-
self._catalogs =
|
|
216
|
-
self._clean_room_assets =
|
|
217
|
-
self._clean_room_task_runs =
|
|
218
|
-
self._clean_rooms =
|
|
219
|
-
self._cluster_policies =
|
|
231
|
+
self._access_control = pkg_iam.AccessControlAPI(self._api_client)
|
|
232
|
+
self._account_access_control_proxy = pkg_iam.AccountAccessControlProxyAPI(self._api_client)
|
|
233
|
+
self._alerts = pkg_sql.AlertsAPI(self._api_client)
|
|
234
|
+
self._alerts_legacy = pkg_sql.AlertsLegacyAPI(self._api_client)
|
|
235
|
+
self._alerts_v2 = pkg_sql.AlertsV2API(self._api_client)
|
|
236
|
+
self._apps = pkg_apps.AppsAPI(self._api_client)
|
|
237
|
+
self._artifact_allowlists = pkg_catalog.ArtifactAllowlistsAPI(self._api_client)
|
|
238
|
+
self._catalogs = pkg_catalog.CatalogsAPI(self._api_client)
|
|
239
|
+
self._clean_room_assets = pkg_cleanrooms.CleanRoomAssetsAPI(self._api_client)
|
|
240
|
+
self._clean_room_task_runs = pkg_cleanrooms.CleanRoomTaskRunsAPI(self._api_client)
|
|
241
|
+
self._clean_rooms = pkg_cleanrooms.CleanRoomsAPI(self._api_client)
|
|
242
|
+
self._cluster_policies = pkg_compute.ClusterPoliciesAPI(self._api_client)
|
|
220
243
|
self._clusters = ClustersExt(self._api_client)
|
|
221
|
-
self._command_execution =
|
|
222
|
-
self._connections =
|
|
223
|
-
self._consumer_fulfillments =
|
|
224
|
-
self._consumer_installations =
|
|
225
|
-
self._consumer_listings =
|
|
226
|
-
self._consumer_personalization_requests =
|
|
227
|
-
|
|
228
|
-
)
|
|
229
|
-
self.
|
|
230
|
-
self.
|
|
231
|
-
self.
|
|
232
|
-
self.
|
|
233
|
-
self.
|
|
234
|
-
self.
|
|
235
|
-
self._data_sources = service.sql.DataSourcesAPI(self._api_client)
|
|
244
|
+
self._command_execution = pkg_compute.CommandExecutionAPI(self._api_client)
|
|
245
|
+
self._connections = pkg_catalog.ConnectionsAPI(self._api_client)
|
|
246
|
+
self._consumer_fulfillments = pkg_marketplace.ConsumerFulfillmentsAPI(self._api_client)
|
|
247
|
+
self._consumer_installations = pkg_marketplace.ConsumerInstallationsAPI(self._api_client)
|
|
248
|
+
self._consumer_listings = pkg_marketplace.ConsumerListingsAPI(self._api_client)
|
|
249
|
+
self._consumer_personalization_requests = pkg_marketplace.ConsumerPersonalizationRequestsAPI(self._api_client)
|
|
250
|
+
self._consumer_providers = pkg_marketplace.ConsumerProvidersAPI(self._api_client)
|
|
251
|
+
self._credentials = pkg_catalog.CredentialsAPI(self._api_client)
|
|
252
|
+
self._credentials_manager = pkg_settings.CredentialsManagerAPI(self._api_client)
|
|
253
|
+
self._current_user = pkg_iam.CurrentUserAPI(self._api_client)
|
|
254
|
+
self._dashboard_widgets = pkg_sql.DashboardWidgetsAPI(self._api_client)
|
|
255
|
+
self._dashboards = pkg_sql.DashboardsAPI(self._api_client)
|
|
256
|
+
self._data_sources = pkg_sql.DataSourcesAPI(self._api_client)
|
|
257
|
+
self._database_instances = pkg_catalog.DatabaseInstancesAPI(self._api_client)
|
|
236
258
|
self._dbfs = DbfsExt(self._api_client)
|
|
237
|
-
self._dbsql_permissions =
|
|
238
|
-
self._experiments =
|
|
239
|
-
self._external_locations =
|
|
259
|
+
self._dbsql_permissions = pkg_sql.DbsqlPermissionsAPI(self._api_client)
|
|
260
|
+
self._experiments = pkg_ml.ExperimentsAPI(self._api_client)
|
|
261
|
+
self._external_locations = pkg_catalog.ExternalLocationsAPI(self._api_client)
|
|
240
262
|
self._files = _make_files_client(self._api_client, self._config)
|
|
241
|
-
self._functions =
|
|
242
|
-
self._genie =
|
|
243
|
-
self._git_credentials =
|
|
244
|
-
self._global_init_scripts =
|
|
245
|
-
self._grants =
|
|
246
|
-
self._groups =
|
|
247
|
-
self._instance_pools =
|
|
248
|
-
self._instance_profiles =
|
|
249
|
-
self._ip_access_lists =
|
|
263
|
+
self._functions = pkg_catalog.FunctionsAPI(self._api_client)
|
|
264
|
+
self._genie = pkg_dashboards.GenieAPI(self._api_client)
|
|
265
|
+
self._git_credentials = pkg_workspace.GitCredentialsAPI(self._api_client)
|
|
266
|
+
self._global_init_scripts = pkg_compute.GlobalInitScriptsAPI(self._api_client)
|
|
267
|
+
self._grants = pkg_catalog.GrantsAPI(self._api_client)
|
|
268
|
+
self._groups = pkg_iam.GroupsAPI(self._api_client)
|
|
269
|
+
self._instance_pools = pkg_compute.InstancePoolsAPI(self._api_client)
|
|
270
|
+
self._instance_profiles = pkg_compute.InstanceProfilesAPI(self._api_client)
|
|
271
|
+
self._ip_access_lists = pkg_settings.IpAccessListsAPI(self._api_client)
|
|
250
272
|
self._jobs = JobsExt(self._api_client)
|
|
251
|
-
self._lakeview =
|
|
252
|
-
self._lakeview_embedded =
|
|
253
|
-
self._libraries =
|
|
254
|
-
self._metastores =
|
|
255
|
-
self._model_registry =
|
|
256
|
-
self._model_versions =
|
|
257
|
-
self._notification_destinations =
|
|
258
|
-
self._online_tables =
|
|
259
|
-
self._permission_migration =
|
|
260
|
-
self._permissions =
|
|
261
|
-
self._pipelines =
|
|
262
|
-
self._policy_compliance_for_clusters =
|
|
263
|
-
self._policy_compliance_for_jobs =
|
|
264
|
-
self._policy_families =
|
|
265
|
-
self._provider_exchange_filters =
|
|
266
|
-
self._provider_exchanges =
|
|
267
|
-
self._provider_files =
|
|
268
|
-
self._provider_listings =
|
|
269
|
-
self._provider_personalization_requests =
|
|
270
|
-
|
|
271
|
-
)
|
|
272
|
-
self._provider_provider_analytics_dashboards = service.marketplace.ProviderProviderAnalyticsDashboardsAPI(
|
|
273
|
+
self._lakeview = pkg_dashboards.LakeviewAPI(self._api_client)
|
|
274
|
+
self._lakeview_embedded = pkg_dashboards.LakeviewEmbeddedAPI(self._api_client)
|
|
275
|
+
self._libraries = pkg_compute.LibrariesAPI(self._api_client)
|
|
276
|
+
self._metastores = pkg_catalog.MetastoresAPI(self._api_client)
|
|
277
|
+
self._model_registry = pkg_ml.ModelRegistryAPI(self._api_client)
|
|
278
|
+
self._model_versions = pkg_catalog.ModelVersionsAPI(self._api_client)
|
|
279
|
+
self._notification_destinations = pkg_settings.NotificationDestinationsAPI(self._api_client)
|
|
280
|
+
self._online_tables = pkg_catalog.OnlineTablesAPI(self._api_client)
|
|
281
|
+
self._permission_migration = pkg_iam.PermissionMigrationAPI(self._api_client)
|
|
282
|
+
self._permissions = pkg_iam.PermissionsAPI(self._api_client)
|
|
283
|
+
self._pipelines = pkg_pipelines.PipelinesAPI(self._api_client)
|
|
284
|
+
self._policy_compliance_for_clusters = pkg_compute.PolicyComplianceForClustersAPI(self._api_client)
|
|
285
|
+
self._policy_compliance_for_jobs = pkg_jobs.PolicyComplianceForJobsAPI(self._api_client)
|
|
286
|
+
self._policy_families = pkg_compute.PolicyFamiliesAPI(self._api_client)
|
|
287
|
+
self._provider_exchange_filters = pkg_marketplace.ProviderExchangeFiltersAPI(self._api_client)
|
|
288
|
+
self._provider_exchanges = pkg_marketplace.ProviderExchangesAPI(self._api_client)
|
|
289
|
+
self._provider_files = pkg_marketplace.ProviderFilesAPI(self._api_client)
|
|
290
|
+
self._provider_listings = pkg_marketplace.ProviderListingsAPI(self._api_client)
|
|
291
|
+
self._provider_personalization_requests = pkg_marketplace.ProviderPersonalizationRequestsAPI(self._api_client)
|
|
292
|
+
self._provider_provider_analytics_dashboards = pkg_marketplace.ProviderProviderAnalyticsDashboardsAPI(
|
|
273
293
|
self._api_client
|
|
274
294
|
)
|
|
275
|
-
self._provider_providers =
|
|
276
|
-
self._providers =
|
|
277
|
-
self._quality_monitors =
|
|
278
|
-
self._queries =
|
|
279
|
-
self._queries_legacy =
|
|
280
|
-
self._query_execution =
|
|
281
|
-
self._query_history =
|
|
282
|
-
self._query_visualizations =
|
|
283
|
-
self._query_visualizations_legacy =
|
|
284
|
-
self._recipient_activation =
|
|
285
|
-
self.
|
|
286
|
-
self.
|
|
287
|
-
self.
|
|
288
|
-
self.
|
|
289
|
-
self.
|
|
290
|
-
self.
|
|
291
|
-
self.
|
|
292
|
-
self.
|
|
295
|
+
self._provider_providers = pkg_marketplace.ProviderProvidersAPI(self._api_client)
|
|
296
|
+
self._providers = pkg_sharing.ProvidersAPI(self._api_client)
|
|
297
|
+
self._quality_monitors = pkg_catalog.QualityMonitorsAPI(self._api_client)
|
|
298
|
+
self._queries = pkg_sql.QueriesAPI(self._api_client)
|
|
299
|
+
self._queries_legacy = pkg_sql.QueriesLegacyAPI(self._api_client)
|
|
300
|
+
self._query_execution = pkg_dashboards.QueryExecutionAPI(self._api_client)
|
|
301
|
+
self._query_history = pkg_sql.QueryHistoryAPI(self._api_client)
|
|
302
|
+
self._query_visualizations = pkg_sql.QueryVisualizationsAPI(self._api_client)
|
|
303
|
+
self._query_visualizations_legacy = pkg_sql.QueryVisualizationsLegacyAPI(self._api_client)
|
|
304
|
+
self._recipient_activation = pkg_sharing.RecipientActivationAPI(self._api_client)
|
|
305
|
+
self._recipient_federation_policies = pkg_sharing.RecipientFederationPoliciesAPI(self._api_client)
|
|
306
|
+
self._recipients = pkg_sharing.RecipientsAPI(self._api_client)
|
|
307
|
+
self._redash_config = pkg_sql.RedashConfigAPI(self._api_client)
|
|
308
|
+
self._registered_models = pkg_catalog.RegisteredModelsAPI(self._api_client)
|
|
309
|
+
self._repos = pkg_workspace.ReposAPI(self._api_client)
|
|
310
|
+
self._resource_quotas = pkg_catalog.ResourceQuotasAPI(self._api_client)
|
|
311
|
+
self._schemas = pkg_catalog.SchemasAPI(self._api_client)
|
|
312
|
+
self._secrets = pkg_workspace.SecretsAPI(self._api_client)
|
|
313
|
+
self._service_principals = pkg_iam.ServicePrincipalsAPI(self._api_client)
|
|
293
314
|
self._serving_endpoints = serving_endpoints
|
|
294
315
|
serving_endpoints_data_plane_token_source = DataPlaneTokenSource(
|
|
295
316
|
self._config.host, self._config.oauth_token, self._config.disable_async_token_refresh
|
|
296
317
|
)
|
|
297
|
-
self._serving_endpoints_data_plane =
|
|
318
|
+
self._serving_endpoints_data_plane = pkg_serving.ServingEndpointsDataPlaneAPI(
|
|
298
319
|
self._api_client, serving_endpoints, serving_endpoints_data_plane_token_source
|
|
299
320
|
)
|
|
300
|
-
self._settings =
|
|
301
|
-
self._shares =
|
|
302
|
-
self._statement_execution =
|
|
303
|
-
self._storage_credentials =
|
|
304
|
-
self._system_schemas =
|
|
305
|
-
self._table_constraints =
|
|
306
|
-
self._tables =
|
|
307
|
-
self._temporary_table_credentials =
|
|
308
|
-
self._token_management =
|
|
309
|
-
self._tokens =
|
|
310
|
-
self._users =
|
|
311
|
-
self._vector_search_endpoints =
|
|
312
|
-
self._vector_search_indexes =
|
|
313
|
-
self._volumes =
|
|
314
|
-
self._warehouses =
|
|
321
|
+
self._settings = pkg_settings.SettingsAPI(self._api_client)
|
|
322
|
+
self._shares = pkg_sharing.SharesAPI(self._api_client)
|
|
323
|
+
self._statement_execution = pkg_sql.StatementExecutionAPI(self._api_client)
|
|
324
|
+
self._storage_credentials = pkg_catalog.StorageCredentialsAPI(self._api_client)
|
|
325
|
+
self._system_schemas = pkg_catalog.SystemSchemasAPI(self._api_client)
|
|
326
|
+
self._table_constraints = pkg_catalog.TableConstraintsAPI(self._api_client)
|
|
327
|
+
self._tables = pkg_catalog.TablesAPI(self._api_client)
|
|
328
|
+
self._temporary_table_credentials = pkg_catalog.TemporaryTableCredentialsAPI(self._api_client)
|
|
329
|
+
self._token_management = pkg_settings.TokenManagementAPI(self._api_client)
|
|
330
|
+
self._tokens = pkg_settings.TokensAPI(self._api_client)
|
|
331
|
+
self._users = pkg_iam.UsersAPI(self._api_client)
|
|
332
|
+
self._vector_search_endpoints = pkg_vectorsearch.VectorSearchEndpointsAPI(self._api_client)
|
|
333
|
+
self._vector_search_indexes = pkg_vectorsearch.VectorSearchIndexesAPI(self._api_client)
|
|
334
|
+
self._volumes = pkg_catalog.VolumesAPI(self._api_client)
|
|
335
|
+
self._warehouses = pkg_sql.WarehousesAPI(self._api_client)
|
|
315
336
|
self._workspace = WorkspaceExt(self._api_client)
|
|
316
|
-
self._workspace_bindings =
|
|
317
|
-
self._workspace_conf =
|
|
318
|
-
self._forecasting =
|
|
337
|
+
self._workspace_bindings = pkg_catalog.WorkspaceBindingsAPI(self._api_client)
|
|
338
|
+
self._workspace_conf = pkg_settings.WorkspaceConfAPI(self._api_client)
|
|
339
|
+
self._forecasting = pkg_ml.ForecastingAPI(self._api_client)
|
|
319
340
|
|
|
320
341
|
@property
|
|
321
342
|
def config(self) -> client.Config:
|
|
@@ -330,62 +351,62 @@ class WorkspaceClient:
|
|
|
330
351
|
return self._dbutils
|
|
331
352
|
|
|
332
353
|
@property
|
|
333
|
-
def access_control(self) ->
|
|
354
|
+
def access_control(self) -> pkg_iam.AccessControlAPI:
|
|
334
355
|
"""Rule based Access Control for Databricks Resources."""
|
|
335
356
|
return self._access_control
|
|
336
357
|
|
|
337
358
|
@property
|
|
338
|
-
def account_access_control_proxy(self) ->
|
|
359
|
+
def account_access_control_proxy(self) -> pkg_iam.AccountAccessControlProxyAPI:
|
|
339
360
|
"""These APIs manage access rules on resources in an account."""
|
|
340
361
|
return self._account_access_control_proxy
|
|
341
362
|
|
|
342
363
|
@property
|
|
343
|
-
def alerts(self) ->
|
|
364
|
+
def alerts(self) -> pkg_sql.AlertsAPI:
|
|
344
365
|
"""The alerts API can be used to perform CRUD operations on alerts."""
|
|
345
366
|
return self._alerts
|
|
346
367
|
|
|
347
368
|
@property
|
|
348
|
-
def alerts_legacy(self) ->
|
|
369
|
+
def alerts_legacy(self) -> pkg_sql.AlertsLegacyAPI:
|
|
349
370
|
"""The alerts API can be used to perform CRUD operations on alerts."""
|
|
350
371
|
return self._alerts_legacy
|
|
351
372
|
|
|
352
373
|
@property
|
|
353
|
-
def alerts_v2(self) ->
|
|
374
|
+
def alerts_v2(self) -> pkg_sql.AlertsV2API:
|
|
354
375
|
"""TODO: Add description."""
|
|
355
376
|
return self._alerts_v2
|
|
356
377
|
|
|
357
378
|
@property
|
|
358
|
-
def apps(self) ->
|
|
379
|
+
def apps(self) -> pkg_apps.AppsAPI:
|
|
359
380
|
"""Apps run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on."""
|
|
360
381
|
return self._apps
|
|
361
382
|
|
|
362
383
|
@property
|
|
363
|
-
def artifact_allowlists(self) ->
|
|
384
|
+
def artifact_allowlists(self) -> pkg_catalog.ArtifactAllowlistsAPI:
|
|
364
385
|
"""In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the `allowlist` in UC so that users can leverage these artifacts on compute configured with shared access mode."""
|
|
365
386
|
return self._artifact_allowlists
|
|
366
387
|
|
|
367
388
|
@property
|
|
368
|
-
def catalogs(self) ->
|
|
389
|
+
def catalogs(self) -> pkg_catalog.CatalogsAPI:
|
|
369
390
|
"""A catalog is the first layer of Unity Catalog’s three-level namespace."""
|
|
370
391
|
return self._catalogs
|
|
371
392
|
|
|
372
393
|
@property
|
|
373
|
-
def clean_room_assets(self) ->
|
|
394
|
+
def clean_room_assets(self) -> pkg_cleanrooms.CleanRoomAssetsAPI:
|
|
374
395
|
"""Clean room assets are data and code objects — Tables, volumes, and notebooks that are shared with the clean room."""
|
|
375
396
|
return self._clean_room_assets
|
|
376
397
|
|
|
377
398
|
@property
|
|
378
|
-
def clean_room_task_runs(self) ->
|
|
399
|
+
def clean_room_task_runs(self) -> pkg_cleanrooms.CleanRoomTaskRunsAPI:
|
|
379
400
|
"""Clean room task runs are the executions of notebooks in a clean room."""
|
|
380
401
|
return self._clean_room_task_runs
|
|
381
402
|
|
|
382
403
|
@property
|
|
383
|
-
def clean_rooms(self) ->
|
|
404
|
+
def clean_rooms(self) -> pkg_cleanrooms.CleanRoomsAPI:
|
|
384
405
|
"""A clean room uses Delta Sharing and serverless compute to provide a secure and privacy-protecting environment where multiple parties can work together on sensitive enterprise data without direct access to each other’s data."""
|
|
385
406
|
return self._clean_rooms
|
|
386
407
|
|
|
387
408
|
@property
|
|
388
|
-
def cluster_policies(self) ->
|
|
409
|
+
def cluster_policies(self) -> pkg_compute.ClusterPoliciesAPI:
|
|
389
410
|
"""You can use cluster policies to control users' ability to configure clusters based on a set of rules."""
|
|
390
411
|
return self._cluster_policies
|
|
391
412
|
|
|
@@ -395,137 +416,142 @@ class WorkspaceClient:
|
|
|
395
416
|
return self._clusters
|
|
396
417
|
|
|
397
418
|
@property
|
|
398
|
-
def command_execution(self) ->
|
|
419
|
+
def command_execution(self) -> pkg_compute.CommandExecutionAPI:
|
|
399
420
|
"""This API allows execution of Python, Scala, SQL, or R commands on running Databricks Clusters."""
|
|
400
421
|
return self._command_execution
|
|
401
422
|
|
|
402
423
|
@property
|
|
403
|
-
def connections(self) ->
|
|
424
|
+
def connections(self) -> pkg_catalog.ConnectionsAPI:
|
|
404
425
|
"""Connections allow for creating a connection to an external data source."""
|
|
405
426
|
return self._connections
|
|
406
427
|
|
|
407
428
|
@property
|
|
408
|
-
def consumer_fulfillments(self) ->
|
|
429
|
+
def consumer_fulfillments(self) -> pkg_marketplace.ConsumerFulfillmentsAPI:
|
|
409
430
|
"""Fulfillments are entities that allow consumers to preview installations."""
|
|
410
431
|
return self._consumer_fulfillments
|
|
411
432
|
|
|
412
433
|
@property
|
|
413
|
-
def consumer_installations(self) ->
|
|
434
|
+
def consumer_installations(self) -> pkg_marketplace.ConsumerInstallationsAPI:
|
|
414
435
|
"""Installations are entities that allow consumers to interact with Databricks Marketplace listings."""
|
|
415
436
|
return self._consumer_installations
|
|
416
437
|
|
|
417
438
|
@property
|
|
418
|
-
def consumer_listings(self) ->
|
|
439
|
+
def consumer_listings(self) -> pkg_marketplace.ConsumerListingsAPI:
|
|
419
440
|
"""Listings are the core entities in the Marketplace."""
|
|
420
441
|
return self._consumer_listings
|
|
421
442
|
|
|
422
443
|
@property
|
|
423
|
-
def consumer_personalization_requests(self) ->
|
|
444
|
+
def consumer_personalization_requests(self) -> pkg_marketplace.ConsumerPersonalizationRequestsAPI:
|
|
424
445
|
"""Personalization Requests allow customers to interact with the individualized Marketplace listing flow."""
|
|
425
446
|
return self._consumer_personalization_requests
|
|
426
447
|
|
|
427
448
|
@property
|
|
428
|
-
def consumer_providers(self) ->
|
|
449
|
+
def consumer_providers(self) -> pkg_marketplace.ConsumerProvidersAPI:
|
|
429
450
|
"""Providers are the entities that publish listings to the Marketplace."""
|
|
430
451
|
return self._consumer_providers
|
|
431
452
|
|
|
432
453
|
@property
|
|
433
|
-
def credentials(self) ->
|
|
454
|
+
def credentials(self) -> pkg_catalog.CredentialsAPI:
|
|
434
455
|
"""A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant."""
|
|
435
456
|
return self._credentials
|
|
436
457
|
|
|
437
458
|
@property
|
|
438
|
-
def credentials_manager(self) ->
|
|
459
|
+
def credentials_manager(self) -> pkg_settings.CredentialsManagerAPI:
|
|
439
460
|
"""Credentials manager interacts with with Identity Providers to to perform token exchanges using stored credentials and refresh tokens."""
|
|
440
461
|
return self._credentials_manager
|
|
441
462
|
|
|
442
463
|
@property
|
|
443
|
-
def current_user(self) ->
|
|
464
|
+
def current_user(self) -> pkg_iam.CurrentUserAPI:
|
|
444
465
|
"""This API allows retrieving information about currently authenticated user or service principal."""
|
|
445
466
|
return self._current_user
|
|
446
467
|
|
|
447
468
|
@property
|
|
448
|
-
def dashboard_widgets(self) ->
|
|
469
|
+
def dashboard_widgets(self) -> pkg_sql.DashboardWidgetsAPI:
|
|
449
470
|
"""This is an evolving API that facilitates the addition and removal of widgets from existing dashboards within the Databricks Workspace."""
|
|
450
471
|
return self._dashboard_widgets
|
|
451
472
|
|
|
452
473
|
@property
|
|
453
|
-
def dashboards(self) ->
|
|
474
|
+
def dashboards(self) -> pkg_sql.DashboardsAPI:
|
|
454
475
|
"""In general, there is little need to modify dashboards using the API."""
|
|
455
476
|
return self._dashboards
|
|
456
477
|
|
|
457
478
|
@property
|
|
458
|
-
def data_sources(self) ->
|
|
479
|
+
def data_sources(self) -> pkg_sql.DataSourcesAPI:
|
|
459
480
|
"""This API is provided to assist you in making new query objects."""
|
|
460
481
|
return self._data_sources
|
|
461
482
|
|
|
483
|
+
@property
|
|
484
|
+
def database_instances(self) -> pkg_catalog.DatabaseInstancesAPI:
|
|
485
|
+
"""Database Instances provide access to a database via REST API or direct SQL."""
|
|
486
|
+
return self._database_instances
|
|
487
|
+
|
|
462
488
|
@property
|
|
463
489
|
def dbfs(self) -> DbfsExt:
|
|
464
490
|
"""DBFS API makes it simple to interact with various data sources without having to include a users credentials every time to read a file."""
|
|
465
491
|
return self._dbfs
|
|
466
492
|
|
|
467
493
|
@property
|
|
468
|
-
def dbsql_permissions(self) ->
|
|
494
|
+
def dbsql_permissions(self) -> pkg_sql.DbsqlPermissionsAPI:
|
|
469
495
|
"""The SQL Permissions API is similar to the endpoints of the :method:permissions/set."""
|
|
470
496
|
return self._dbsql_permissions
|
|
471
497
|
|
|
472
498
|
@property
|
|
473
|
-
def experiments(self) ->
|
|
499
|
+
def experiments(self) -> pkg_ml.ExperimentsAPI:
|
|
474
500
|
"""Experiments are the primary unit of organization in MLflow; all MLflow runs belong to an experiment."""
|
|
475
501
|
return self._experiments
|
|
476
502
|
|
|
477
503
|
@property
|
|
478
|
-
def external_locations(self) ->
|
|
504
|
+
def external_locations(self) -> pkg_catalog.ExternalLocationsAPI:
|
|
479
505
|
"""An external location is an object that combines a cloud storage path with a storage credential that authorizes access to the cloud storage path."""
|
|
480
506
|
return self._external_locations
|
|
481
507
|
|
|
482
508
|
@property
|
|
483
|
-
def files(self) ->
|
|
509
|
+
def files(self) -> pkg_files.FilesAPI:
|
|
484
510
|
"""The Files API is a standard HTTP API that allows you to read, write, list, and delete files and directories by referring to their URI."""
|
|
485
511
|
return self._files
|
|
486
512
|
|
|
487
513
|
@property
|
|
488
|
-
def functions(self) ->
|
|
514
|
+
def functions(self) -> pkg_catalog.FunctionsAPI:
|
|
489
515
|
"""Functions implement User-Defined Functions (UDFs) in Unity Catalog."""
|
|
490
516
|
return self._functions
|
|
491
517
|
|
|
492
518
|
@property
|
|
493
|
-
def genie(self) ->
|
|
519
|
+
def genie(self) -> pkg_dashboards.GenieAPI:
|
|
494
520
|
"""Genie provides a no-code experience for business users, powered by AI/BI."""
|
|
495
521
|
return self._genie
|
|
496
522
|
|
|
497
523
|
@property
|
|
498
|
-
def git_credentials(self) ->
|
|
524
|
+
def git_credentials(self) -> pkg_workspace.GitCredentialsAPI:
|
|
499
525
|
"""Registers personal access token for Databricks to do operations on behalf of the user."""
|
|
500
526
|
return self._git_credentials
|
|
501
527
|
|
|
502
528
|
@property
|
|
503
|
-
def global_init_scripts(self) ->
|
|
529
|
+
def global_init_scripts(self) -> pkg_compute.GlobalInitScriptsAPI:
|
|
504
530
|
"""The Global Init Scripts API enables Workspace administrators to configure global initialization scripts for their workspace."""
|
|
505
531
|
return self._global_init_scripts
|
|
506
532
|
|
|
507
533
|
@property
|
|
508
|
-
def grants(self) ->
|
|
534
|
+
def grants(self) -> pkg_catalog.GrantsAPI:
|
|
509
535
|
"""In Unity Catalog, data is secure by default."""
|
|
510
536
|
return self._grants
|
|
511
537
|
|
|
512
538
|
@property
|
|
513
|
-
def groups(self) ->
|
|
539
|
+
def groups(self) -> pkg_iam.GroupsAPI:
|
|
514
540
|
"""Groups simplify identity management, making it easier to assign access to Databricks workspace, data, and other securable objects."""
|
|
515
541
|
return self._groups
|
|
516
542
|
|
|
517
543
|
@property
|
|
518
|
-
def instance_pools(self) ->
|
|
544
|
+
def instance_pools(self) -> pkg_compute.InstancePoolsAPI:
|
|
519
545
|
"""Instance Pools API are used to create, edit, delete and list instance pools by using ready-to-use cloud instances which reduces a cluster start and auto-scaling times."""
|
|
520
546
|
return self._instance_pools
|
|
521
547
|
|
|
522
548
|
@property
|
|
523
|
-
def instance_profiles(self) ->
|
|
549
|
+
def instance_profiles(self) -> pkg_compute.InstanceProfilesAPI:
|
|
524
550
|
"""The Instance Profiles API allows admins to add, list, and remove instance profiles that users can launch clusters with."""
|
|
525
551
|
return self._instance_profiles
|
|
526
552
|
|
|
527
553
|
@property
|
|
528
|
-
def ip_access_lists(self) ->
|
|
554
|
+
def ip_access_lists(self) -> pkg_settings.IpAccessListsAPI:
|
|
529
555
|
"""IP Access List enables admins to configure IP access lists."""
|
|
530
556
|
return self._ip_access_lists
|
|
531
557
|
|
|
@@ -535,192 +561,197 @@ class WorkspaceClient:
|
|
|
535
561
|
return self._jobs
|
|
536
562
|
|
|
537
563
|
@property
|
|
538
|
-
def lakeview(self) ->
|
|
564
|
+
def lakeview(self) -> pkg_dashboards.LakeviewAPI:
|
|
539
565
|
"""These APIs provide specific management operations for Lakeview dashboards."""
|
|
540
566
|
return self._lakeview
|
|
541
567
|
|
|
542
568
|
@property
|
|
543
|
-
def lakeview_embedded(self) ->
|
|
569
|
+
def lakeview_embedded(self) -> pkg_dashboards.LakeviewEmbeddedAPI:
|
|
544
570
|
"""Token-based Lakeview APIs for embedding dashboards in external applications."""
|
|
545
571
|
return self._lakeview_embedded
|
|
546
572
|
|
|
547
573
|
@property
|
|
548
|
-
def libraries(self) ->
|
|
574
|
+
def libraries(self) -> pkg_compute.LibrariesAPI:
|
|
549
575
|
"""The Libraries API allows you to install and uninstall libraries and get the status of libraries on a cluster."""
|
|
550
576
|
return self._libraries
|
|
551
577
|
|
|
552
578
|
@property
|
|
553
|
-
def metastores(self) ->
|
|
579
|
+
def metastores(self) -> pkg_catalog.MetastoresAPI:
|
|
554
580
|
"""A metastore is the top-level container of objects in Unity Catalog."""
|
|
555
581
|
return self._metastores
|
|
556
582
|
|
|
557
583
|
@property
|
|
558
|
-
def model_registry(self) ->
|
|
584
|
+
def model_registry(self) -> pkg_ml.ModelRegistryAPI:
|
|
559
585
|
"""Note: This API reference documents APIs for the Workspace Model Registry."""
|
|
560
586
|
return self._model_registry
|
|
561
587
|
|
|
562
588
|
@property
|
|
563
|
-
def model_versions(self) ->
|
|
589
|
+
def model_versions(self) -> pkg_catalog.ModelVersionsAPI:
|
|
564
590
|
"""Databricks provides a hosted version of MLflow Model Registry in Unity Catalog."""
|
|
565
591
|
return self._model_versions
|
|
566
592
|
|
|
567
593
|
@property
|
|
568
|
-
def notification_destinations(self) ->
|
|
594
|
+
def notification_destinations(self) -> pkg_settings.NotificationDestinationsAPI:
|
|
569
595
|
"""The notification destinations API lets you programmatically manage a workspace's notification destinations."""
|
|
570
596
|
return self._notification_destinations
|
|
571
597
|
|
|
572
598
|
@property
|
|
573
|
-
def online_tables(self) ->
|
|
599
|
+
def online_tables(self) -> pkg_catalog.OnlineTablesAPI:
|
|
574
600
|
"""Online tables provide lower latency and higher QPS access to data from Delta tables."""
|
|
575
601
|
return self._online_tables
|
|
576
602
|
|
|
577
603
|
@property
|
|
578
|
-
def permission_migration(self) ->
|
|
604
|
+
def permission_migration(self) -> pkg_iam.PermissionMigrationAPI:
|
|
579
605
|
"""APIs for migrating acl permissions, used only by the ucx tool: https://github.com/databrickslabs/ucx."""
|
|
580
606
|
return self._permission_migration
|
|
581
607
|
|
|
582
608
|
@property
|
|
583
|
-
def permissions(self) ->
|
|
609
|
+
def permissions(self) -> pkg_iam.PermissionsAPI:
|
|
584
610
|
"""Permissions API are used to create read, write, edit, update and manage access for various users on different objects and endpoints."""
|
|
585
611
|
return self._permissions
|
|
586
612
|
|
|
587
613
|
@property
|
|
588
|
-
def pipelines(self) ->
|
|
614
|
+
def pipelines(self) -> pkg_pipelines.PipelinesAPI:
|
|
589
615
|
"""The Delta Live Tables API allows you to create, edit, delete, start, and view details about pipelines."""
|
|
590
616
|
return self._pipelines
|
|
591
617
|
|
|
592
618
|
@property
|
|
593
|
-
def policy_compliance_for_clusters(self) ->
|
|
619
|
+
def policy_compliance_for_clusters(self) -> pkg_compute.PolicyComplianceForClustersAPI:
|
|
594
620
|
"""The policy compliance APIs allow you to view and manage the policy compliance status of clusters in your workspace."""
|
|
595
621
|
return self._policy_compliance_for_clusters
|
|
596
622
|
|
|
597
623
|
@property
|
|
598
|
-
def policy_compliance_for_jobs(self) ->
|
|
624
|
+
def policy_compliance_for_jobs(self) -> pkg_jobs.PolicyComplianceForJobsAPI:
|
|
599
625
|
"""The compliance APIs allow you to view and manage the policy compliance status of jobs in your workspace."""
|
|
600
626
|
return self._policy_compliance_for_jobs
|
|
601
627
|
|
|
602
628
|
@property
|
|
603
|
-
def policy_families(self) ->
|
|
629
|
+
def policy_families(self) -> pkg_compute.PolicyFamiliesAPI:
|
|
604
630
|
"""View available policy families."""
|
|
605
631
|
return self._policy_families
|
|
606
632
|
|
|
607
633
|
@property
|
|
608
|
-
def provider_exchange_filters(self) ->
|
|
634
|
+
def provider_exchange_filters(self) -> pkg_marketplace.ProviderExchangeFiltersAPI:
|
|
609
635
|
"""Marketplace exchanges filters curate which groups can access an exchange."""
|
|
610
636
|
return self._provider_exchange_filters
|
|
611
637
|
|
|
612
638
|
@property
|
|
613
|
-
def provider_exchanges(self) ->
|
|
639
|
+
def provider_exchanges(self) -> pkg_marketplace.ProviderExchangesAPI:
|
|
614
640
|
"""Marketplace exchanges allow providers to share their listings with a curated set of customers."""
|
|
615
641
|
return self._provider_exchanges
|
|
616
642
|
|
|
617
643
|
@property
|
|
618
|
-
def provider_files(self) ->
|
|
644
|
+
def provider_files(self) -> pkg_marketplace.ProviderFilesAPI:
|
|
619
645
|
"""Marketplace offers a set of file APIs for various purposes such as preview notebooks and provider icons."""
|
|
620
646
|
return self._provider_files
|
|
621
647
|
|
|
622
648
|
@property
|
|
623
|
-
def provider_listings(self) ->
|
|
649
|
+
def provider_listings(self) -> pkg_marketplace.ProviderListingsAPI:
|
|
624
650
|
"""Listings are the core entities in the Marketplace."""
|
|
625
651
|
return self._provider_listings
|
|
626
652
|
|
|
627
653
|
@property
|
|
628
|
-
def provider_personalization_requests(self) ->
|
|
654
|
+
def provider_personalization_requests(self) -> pkg_marketplace.ProviderPersonalizationRequestsAPI:
|
|
629
655
|
"""Personalization requests are an alternate to instantly available listings."""
|
|
630
656
|
return self._provider_personalization_requests
|
|
631
657
|
|
|
632
658
|
@property
|
|
633
|
-
def provider_provider_analytics_dashboards(self) ->
|
|
659
|
+
def provider_provider_analytics_dashboards(self) -> pkg_marketplace.ProviderProviderAnalyticsDashboardsAPI:
|
|
634
660
|
"""Manage templated analytics solution for providers."""
|
|
635
661
|
return self._provider_provider_analytics_dashboards
|
|
636
662
|
|
|
637
663
|
@property
|
|
638
|
-
def provider_providers(self) ->
|
|
664
|
+
def provider_providers(self) -> pkg_marketplace.ProviderProvidersAPI:
|
|
639
665
|
"""Providers are entities that manage assets in Marketplace."""
|
|
640
666
|
return self._provider_providers
|
|
641
667
|
|
|
642
668
|
@property
|
|
643
|
-
def providers(self) ->
|
|
669
|
+
def providers(self) -> pkg_sharing.ProvidersAPI:
|
|
644
670
|
"""A data provider is an object representing the organization in the real world who shares the data."""
|
|
645
671
|
return self._providers
|
|
646
672
|
|
|
647
673
|
@property
|
|
648
|
-
def quality_monitors(self) ->
|
|
674
|
+
def quality_monitors(self) -> pkg_catalog.QualityMonitorsAPI:
|
|
649
675
|
"""A monitor computes and monitors data or model quality metrics for a table over time."""
|
|
650
676
|
return self._quality_monitors
|
|
651
677
|
|
|
652
678
|
@property
|
|
653
|
-
def queries(self) ->
|
|
679
|
+
def queries(self) -> pkg_sql.QueriesAPI:
|
|
654
680
|
"""The queries API can be used to perform CRUD operations on queries."""
|
|
655
681
|
return self._queries
|
|
656
682
|
|
|
657
683
|
@property
|
|
658
|
-
def queries_legacy(self) ->
|
|
684
|
+
def queries_legacy(self) -> pkg_sql.QueriesLegacyAPI:
|
|
659
685
|
"""These endpoints are used for CRUD operations on query definitions."""
|
|
660
686
|
return self._queries_legacy
|
|
661
687
|
|
|
662
688
|
@property
|
|
663
|
-
def query_execution(self) ->
|
|
689
|
+
def query_execution(self) -> pkg_dashboards.QueryExecutionAPI:
|
|
664
690
|
"""Query execution APIs for AI / BI Dashboards."""
|
|
665
691
|
return self._query_execution
|
|
666
692
|
|
|
667
693
|
@property
|
|
668
|
-
def query_history(self) ->
|
|
694
|
+
def query_history(self) -> pkg_sql.QueryHistoryAPI:
|
|
669
695
|
"""A service responsible for storing and retrieving the list of queries run against SQL endpoints and serverless compute."""
|
|
670
696
|
return self._query_history
|
|
671
697
|
|
|
672
698
|
@property
|
|
673
|
-
def query_visualizations(self) ->
|
|
699
|
+
def query_visualizations(self) -> pkg_sql.QueryVisualizationsAPI:
|
|
674
700
|
"""This is an evolving API that facilitates the addition and removal of visualizations from existing queries in the Databricks Workspace."""
|
|
675
701
|
return self._query_visualizations
|
|
676
702
|
|
|
677
703
|
@property
|
|
678
|
-
def query_visualizations_legacy(self) ->
|
|
704
|
+
def query_visualizations_legacy(self) -> pkg_sql.QueryVisualizationsLegacyAPI:
|
|
679
705
|
"""This is an evolving API that facilitates the addition and removal of vizualisations from existing queries within the Databricks Workspace."""
|
|
680
706
|
return self._query_visualizations_legacy
|
|
681
707
|
|
|
682
708
|
@property
|
|
683
|
-
def recipient_activation(self) ->
|
|
709
|
+
def recipient_activation(self) -> pkg_sharing.RecipientActivationAPI:
|
|
684
710
|
"""The Recipient Activation API is only applicable in the open sharing model where the recipient object has the authentication type of `TOKEN`."""
|
|
685
711
|
return self._recipient_activation
|
|
686
712
|
|
|
687
713
|
@property
|
|
688
|
-
def
|
|
714
|
+
def recipient_federation_policies(self) -> pkg_sharing.RecipientFederationPoliciesAPI:
|
|
715
|
+
"""The Recipient Federation Policies APIs are only applicable in the open sharing model where the recipient object has the authentication type of `OIDC_RECIPIENT`, enabling data sharing from Databricks to non-Databricks recipients."""
|
|
716
|
+
return self._recipient_federation_policies
|
|
717
|
+
|
|
718
|
+
@property
|
|
719
|
+
def recipients(self) -> pkg_sharing.RecipientsAPI:
|
|
689
720
|
"""A recipient is an object you create using :method:recipients/create to represent an organization which you want to allow access shares."""
|
|
690
721
|
return self._recipients
|
|
691
722
|
|
|
692
723
|
@property
|
|
693
|
-
def redash_config(self) ->
|
|
724
|
+
def redash_config(self) -> pkg_sql.RedashConfigAPI:
|
|
694
725
|
"""Redash V2 service for workspace configurations (internal)."""
|
|
695
726
|
return self._redash_config
|
|
696
727
|
|
|
697
728
|
@property
|
|
698
|
-
def registered_models(self) ->
|
|
729
|
+
def registered_models(self) -> pkg_catalog.RegisteredModelsAPI:
|
|
699
730
|
"""Databricks provides a hosted version of MLflow Model Registry in Unity Catalog."""
|
|
700
731
|
return self._registered_models
|
|
701
732
|
|
|
702
733
|
@property
|
|
703
|
-
def repos(self) ->
|
|
734
|
+
def repos(self) -> pkg_workspace.ReposAPI:
|
|
704
735
|
"""The Repos API allows users to manage their git repos."""
|
|
705
736
|
return self._repos
|
|
706
737
|
|
|
707
738
|
@property
|
|
708
|
-
def resource_quotas(self) ->
|
|
739
|
+
def resource_quotas(self) -> pkg_catalog.ResourceQuotasAPI:
|
|
709
740
|
"""Unity Catalog enforces resource quotas on all securable objects, which limits the number of resources that can be created."""
|
|
710
741
|
return self._resource_quotas
|
|
711
742
|
|
|
712
743
|
@property
|
|
713
|
-
def schemas(self) ->
|
|
744
|
+
def schemas(self) -> pkg_catalog.SchemasAPI:
|
|
714
745
|
"""A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace."""
|
|
715
746
|
return self._schemas
|
|
716
747
|
|
|
717
748
|
@property
|
|
718
|
-
def secrets(self) ->
|
|
749
|
+
def secrets(self) -> pkg_workspace.SecretsAPI:
|
|
719
750
|
"""The Secrets API allows you to manage secrets, secret scopes, and access permissions."""
|
|
720
751
|
return self._secrets
|
|
721
752
|
|
|
722
753
|
@property
|
|
723
|
-
def service_principals(self) ->
|
|
754
|
+
def service_principals(self) -> pkg_iam.ServicePrincipalsAPI:
|
|
724
755
|
"""Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms."""
|
|
725
756
|
return self._service_principals
|
|
726
757
|
|
|
@@ -730,82 +761,82 @@ class WorkspaceClient:
|
|
|
730
761
|
return self._serving_endpoints
|
|
731
762
|
|
|
732
763
|
@property
|
|
733
|
-
def serving_endpoints_data_plane(self) ->
|
|
764
|
+
def serving_endpoints_data_plane(self) -> pkg_serving.ServingEndpointsDataPlaneAPI:
|
|
734
765
|
"""Serving endpoints DataPlane provides a set of operations to interact with data plane endpoints for Serving endpoints service."""
|
|
735
766
|
return self._serving_endpoints_data_plane
|
|
736
767
|
|
|
737
768
|
@property
|
|
738
|
-
def settings(self) ->
|
|
769
|
+
def settings(self) -> pkg_settings.SettingsAPI:
|
|
739
770
|
"""Workspace Settings API allows users to manage settings at the workspace level."""
|
|
740
771
|
return self._settings
|
|
741
772
|
|
|
742
773
|
@property
|
|
743
|
-
def shares(self) ->
|
|
774
|
+
def shares(self) -> pkg_sharing.SharesAPI:
|
|
744
775
|
"""A share is a container instantiated with :method:shares/create."""
|
|
745
776
|
return self._shares
|
|
746
777
|
|
|
747
778
|
@property
|
|
748
|
-
def statement_execution(self) ->
|
|
779
|
+
def statement_execution(self) -> pkg_sql.StatementExecutionAPI:
|
|
749
780
|
"""The Databricks SQL Statement Execution API can be used to execute SQL statements on a SQL warehouse and fetch the result."""
|
|
750
781
|
return self._statement_execution
|
|
751
782
|
|
|
752
783
|
@property
|
|
753
|
-
def storage_credentials(self) ->
|
|
784
|
+
def storage_credentials(self) -> pkg_catalog.StorageCredentialsAPI:
|
|
754
785
|
"""A storage credential represents an authentication and authorization mechanism for accessing data stored on your cloud tenant."""
|
|
755
786
|
return self._storage_credentials
|
|
756
787
|
|
|
757
788
|
@property
|
|
758
|
-
def system_schemas(self) ->
|
|
789
|
+
def system_schemas(self) -> pkg_catalog.SystemSchemasAPI:
|
|
759
790
|
"""A system schema is a schema that lives within the system catalog."""
|
|
760
791
|
return self._system_schemas
|
|
761
792
|
|
|
762
793
|
@property
|
|
763
|
-
def table_constraints(self) ->
|
|
794
|
+
def table_constraints(self) -> pkg_catalog.TableConstraintsAPI:
|
|
764
795
|
"""Primary key and foreign key constraints encode relationships between fields in tables."""
|
|
765
796
|
return self._table_constraints
|
|
766
797
|
|
|
767
798
|
@property
|
|
768
|
-
def tables(self) ->
|
|
799
|
+
def tables(self) -> pkg_catalog.TablesAPI:
|
|
769
800
|
"""A table resides in the third layer of Unity Catalog’s three-level namespace."""
|
|
770
801
|
return self._tables
|
|
771
802
|
|
|
772
803
|
@property
|
|
773
|
-
def temporary_table_credentials(self) ->
|
|
804
|
+
def temporary_table_credentials(self) -> pkg_catalog.TemporaryTableCredentialsAPI:
|
|
774
805
|
"""Temporary Table Credentials refer to short-lived, downscoped credentials used to access cloud storage locationswhere table data is stored in Databricks."""
|
|
775
806
|
return self._temporary_table_credentials
|
|
776
807
|
|
|
777
808
|
@property
|
|
778
|
-
def token_management(self) ->
|
|
809
|
+
def token_management(self) -> pkg_settings.TokenManagementAPI:
|
|
779
810
|
"""Enables administrators to get all tokens and delete tokens for other users."""
|
|
780
811
|
return self._token_management
|
|
781
812
|
|
|
782
813
|
@property
|
|
783
|
-
def tokens(self) ->
|
|
814
|
+
def tokens(self) -> pkg_settings.TokensAPI:
|
|
784
815
|
"""The Token API allows you to create, list, and revoke tokens that can be used to authenticate and access Databricks REST APIs."""
|
|
785
816
|
return self._tokens
|
|
786
817
|
|
|
787
818
|
@property
|
|
788
|
-
def users(self) ->
|
|
819
|
+
def users(self) -> pkg_iam.UsersAPI:
|
|
789
820
|
"""User identities recognized by Databricks and represented by email addresses."""
|
|
790
821
|
return self._users
|
|
791
822
|
|
|
792
823
|
@property
|
|
793
|
-
def vector_search_endpoints(self) ->
|
|
824
|
+
def vector_search_endpoints(self) -> pkg_vectorsearch.VectorSearchEndpointsAPI:
|
|
794
825
|
"""**Endpoint**: Represents the compute resources to host vector search indexes."""
|
|
795
826
|
return self._vector_search_endpoints
|
|
796
827
|
|
|
797
828
|
@property
|
|
798
|
-
def vector_search_indexes(self) ->
|
|
829
|
+
def vector_search_indexes(self) -> pkg_vectorsearch.VectorSearchIndexesAPI:
|
|
799
830
|
"""**Index**: An efficient representation of your embedding vectors that supports real-time and efficient approximate nearest neighbor (ANN) search queries."""
|
|
800
831
|
return self._vector_search_indexes
|
|
801
832
|
|
|
802
833
|
@property
|
|
803
|
-
def volumes(self) ->
|
|
834
|
+
def volumes(self) -> pkg_catalog.VolumesAPI:
|
|
804
835
|
"""Volumes are a Unity Catalog (UC) capability for accessing, storing, governing, organizing and processing files."""
|
|
805
836
|
return self._volumes
|
|
806
837
|
|
|
807
838
|
@property
|
|
808
|
-
def warehouses(self) ->
|
|
839
|
+
def warehouses(self) -> pkg_sql.WarehousesAPI:
|
|
809
840
|
"""A SQL warehouse is a compute resource that lets you run SQL commands on data objects within Databricks SQL."""
|
|
810
841
|
return self._warehouses
|
|
811
842
|
|
|
@@ -815,17 +846,17 @@ class WorkspaceClient:
|
|
|
815
846
|
return self._workspace
|
|
816
847
|
|
|
817
848
|
@property
|
|
818
|
-
def workspace_bindings(self) ->
|
|
849
|
+
def workspace_bindings(self) -> pkg_catalog.WorkspaceBindingsAPI:
|
|
819
850
|
"""A securable in Databricks can be configured as __OPEN__ or __ISOLATED__."""
|
|
820
851
|
return self._workspace_bindings
|
|
821
852
|
|
|
822
853
|
@property
|
|
823
|
-
def workspace_conf(self) ->
|
|
854
|
+
def workspace_conf(self) -> pkg_settings.WorkspaceConfAPI:
|
|
824
855
|
"""This API allows updating known workspace settings for advanced users."""
|
|
825
856
|
return self._workspace_conf
|
|
826
857
|
|
|
827
858
|
@property
|
|
828
|
-
def forecasting(self) ->
|
|
859
|
+
def forecasting(self) -> pkg_ml.ForecastingAPI:
|
|
829
860
|
"""The Forecasting API allows you to create and get serverless forecasting experiments."""
|
|
830
861
|
return self._forecasting
|
|
831
862
|
|
|
@@ -903,35 +934,37 @@ class AccountClient:
|
|
|
903
934
|
)
|
|
904
935
|
self._config = config.copy()
|
|
905
936
|
self._api_client = client.ApiClient(self._config)
|
|
906
|
-
self._access_control =
|
|
907
|
-
self._billable_usage =
|
|
908
|
-
self._budget_policy =
|
|
909
|
-
self._credentials =
|
|
910
|
-
self._custom_app_integration =
|
|
911
|
-
self._encryption_keys =
|
|
912
|
-
self._federation_policy =
|
|
913
|
-
self._groups =
|
|
914
|
-
self._ip_access_lists =
|
|
915
|
-
self._log_delivery =
|
|
916
|
-
self._metastore_assignments =
|
|
917
|
-
self._metastores =
|
|
918
|
-
self._network_connectivity =
|
|
919
|
-
self.
|
|
920
|
-
self.
|
|
921
|
-
self.
|
|
922
|
-
self.
|
|
923
|
-
self.
|
|
924
|
-
self.
|
|
925
|
-
self.
|
|
926
|
-
self.
|
|
927
|
-
self.
|
|
928
|
-
self.
|
|
929
|
-
self.
|
|
930
|
-
self.
|
|
931
|
-
self.
|
|
932
|
-
self.
|
|
933
|
-
self.
|
|
934
|
-
self.
|
|
937
|
+
self._access_control = pkg_iam.AccountAccessControlAPI(self._api_client)
|
|
938
|
+
self._billable_usage = pkg_billing.BillableUsageAPI(self._api_client)
|
|
939
|
+
self._budget_policy = pkg_billing.BudgetPolicyAPI(self._api_client)
|
|
940
|
+
self._credentials = pkg_provisioning.CredentialsAPI(self._api_client)
|
|
941
|
+
self._custom_app_integration = pkg_oauth2.CustomAppIntegrationAPI(self._api_client)
|
|
942
|
+
self._encryption_keys = pkg_provisioning.EncryptionKeysAPI(self._api_client)
|
|
943
|
+
self._federation_policy = pkg_oauth2.AccountFederationPolicyAPI(self._api_client)
|
|
944
|
+
self._groups = pkg_iam.AccountGroupsAPI(self._api_client)
|
|
945
|
+
self._ip_access_lists = pkg_settings.AccountIpAccessListsAPI(self._api_client)
|
|
946
|
+
self._log_delivery = pkg_billing.LogDeliveryAPI(self._api_client)
|
|
947
|
+
self._metastore_assignments = pkg_catalog.AccountMetastoreAssignmentsAPI(self._api_client)
|
|
948
|
+
self._metastores = pkg_catalog.AccountMetastoresAPI(self._api_client)
|
|
949
|
+
self._network_connectivity = pkg_settings.NetworkConnectivityAPI(self._api_client)
|
|
950
|
+
self._network_policies = pkg_settings.NetworkPoliciesAPI(self._api_client)
|
|
951
|
+
self._networks = pkg_provisioning.NetworksAPI(self._api_client)
|
|
952
|
+
self._o_auth_published_apps = pkg_oauth2.OAuthPublishedAppsAPI(self._api_client)
|
|
953
|
+
self._private_access = pkg_provisioning.PrivateAccessAPI(self._api_client)
|
|
954
|
+
self._published_app_integration = pkg_oauth2.PublishedAppIntegrationAPI(self._api_client)
|
|
955
|
+
self._service_principal_federation_policy = pkg_oauth2.ServicePrincipalFederationPolicyAPI(self._api_client)
|
|
956
|
+
self._service_principal_secrets = pkg_oauth2.ServicePrincipalSecretsAPI(self._api_client)
|
|
957
|
+
self._service_principals = pkg_iam.AccountServicePrincipalsAPI(self._api_client)
|
|
958
|
+
self._settings = pkg_settings.AccountSettingsAPI(self._api_client)
|
|
959
|
+
self._storage = pkg_provisioning.StorageAPI(self._api_client)
|
|
960
|
+
self._storage_credentials = pkg_catalog.AccountStorageCredentialsAPI(self._api_client)
|
|
961
|
+
self._usage_dashboards = pkg_billing.UsageDashboardsAPI(self._api_client)
|
|
962
|
+
self._users = pkg_iam.AccountUsersAPI(self._api_client)
|
|
963
|
+
self._vpc_endpoints = pkg_provisioning.VpcEndpointsAPI(self._api_client)
|
|
964
|
+
self._workspace_assignment = pkg_iam.WorkspaceAssignmentAPI(self._api_client)
|
|
965
|
+
self._workspace_network_configuration = pkg_settings.WorkspaceNetworkConfigurationAPI(self._api_client)
|
|
966
|
+
self._workspaces = pkg_provisioning.WorkspacesAPI(self._api_client)
|
|
967
|
+
self._budgets = pkg_billing.BudgetsAPI(self._api_client)
|
|
935
968
|
|
|
936
969
|
@property
|
|
937
970
|
def config(self) -> client.Config:
|
|
@@ -942,147 +975,157 @@ class AccountClient:
|
|
|
942
975
|
return self._api_client
|
|
943
976
|
|
|
944
977
|
@property
|
|
945
|
-
def access_control(self) ->
|
|
978
|
+
def access_control(self) -> pkg_iam.AccountAccessControlAPI:
|
|
946
979
|
"""These APIs manage access rules on resources in an account."""
|
|
947
980
|
return self._access_control
|
|
948
981
|
|
|
949
982
|
@property
|
|
950
|
-
def billable_usage(self) ->
|
|
983
|
+
def billable_usage(self) -> pkg_billing.BillableUsageAPI:
|
|
951
984
|
"""This API allows you to download billable usage logs for the specified account and date range."""
|
|
952
985
|
return self._billable_usage
|
|
953
986
|
|
|
954
987
|
@property
|
|
955
|
-
def budget_policy(self) ->
|
|
988
|
+
def budget_policy(self) -> pkg_billing.BudgetPolicyAPI:
|
|
956
989
|
"""A service serves REST API about Budget policies."""
|
|
957
990
|
return self._budget_policy
|
|
958
991
|
|
|
959
992
|
@property
|
|
960
|
-
def credentials(self) ->
|
|
993
|
+
def credentials(self) -> pkg_provisioning.CredentialsAPI:
|
|
961
994
|
"""These APIs manage credential configurations for this workspace."""
|
|
962
995
|
return self._credentials
|
|
963
996
|
|
|
964
997
|
@property
|
|
965
|
-
def custom_app_integration(self) ->
|
|
998
|
+
def custom_app_integration(self) -> pkg_oauth2.CustomAppIntegrationAPI:
|
|
966
999
|
"""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."""
|
|
967
1000
|
return self._custom_app_integration
|
|
968
1001
|
|
|
969
1002
|
@property
|
|
970
|
-
def encryption_keys(self) ->
|
|
1003
|
+
def encryption_keys(self) -> pkg_provisioning.EncryptionKeysAPI:
|
|
971
1004
|
"""These APIs manage encryption key configurations for this workspace (optional)."""
|
|
972
1005
|
return self._encryption_keys
|
|
973
1006
|
|
|
974
1007
|
@property
|
|
975
|
-
def federation_policy(self) ->
|
|
1008
|
+
def federation_policy(self) -> pkg_oauth2.AccountFederationPolicyAPI:
|
|
976
1009
|
"""These APIs manage account federation policies."""
|
|
977
1010
|
return self._federation_policy
|
|
978
1011
|
|
|
979
1012
|
@property
|
|
980
|
-
def groups(self) ->
|
|
1013
|
+
def groups(self) -> pkg_iam.AccountGroupsAPI:
|
|
981
1014
|
"""Groups simplify identity management, making it easier to assign access to Databricks account, data, and other securable objects."""
|
|
982
1015
|
return self._groups
|
|
983
1016
|
|
|
984
1017
|
@property
|
|
985
|
-
def ip_access_lists(self) ->
|
|
1018
|
+
def ip_access_lists(self) -> pkg_settings.AccountIpAccessListsAPI:
|
|
986
1019
|
"""The Accounts IP Access List API enables account admins to configure IP access lists for access to the account console."""
|
|
987
1020
|
return self._ip_access_lists
|
|
988
1021
|
|
|
989
1022
|
@property
|
|
990
|
-
def log_delivery(self) ->
|
|
1023
|
+
def log_delivery(self) -> pkg_billing.LogDeliveryAPI:
|
|
991
1024
|
"""These APIs manage log delivery configurations for this account."""
|
|
992
1025
|
return self._log_delivery
|
|
993
1026
|
|
|
994
1027
|
@property
|
|
995
|
-
def metastore_assignments(self) ->
|
|
1028
|
+
def metastore_assignments(self) -> pkg_catalog.AccountMetastoreAssignmentsAPI:
|
|
996
1029
|
"""These APIs manage metastore assignments to a workspace."""
|
|
997
1030
|
return self._metastore_assignments
|
|
998
1031
|
|
|
999
1032
|
@property
|
|
1000
|
-
def metastores(self) ->
|
|
1033
|
+
def metastores(self) -> pkg_catalog.AccountMetastoresAPI:
|
|
1001
1034
|
"""These APIs manage Unity Catalog metastores for an account."""
|
|
1002
1035
|
return self._metastores
|
|
1003
1036
|
|
|
1004
1037
|
@property
|
|
1005
|
-
def network_connectivity(self) ->
|
|
1038
|
+
def network_connectivity(self) -> pkg_settings.NetworkConnectivityAPI:
|
|
1006
1039
|
"""These APIs provide configurations for the network connectivity of your workspaces for serverless compute resources."""
|
|
1007
1040
|
return self._network_connectivity
|
|
1008
1041
|
|
|
1009
1042
|
@property
|
|
1010
|
-
def
|
|
1043
|
+
def network_policies(self) -> pkg_settings.NetworkPoliciesAPI:
|
|
1044
|
+
"""These APIs manage network policies for this account."""
|
|
1045
|
+
return self._network_policies
|
|
1046
|
+
|
|
1047
|
+
@property
|
|
1048
|
+
def networks(self) -> pkg_provisioning.NetworksAPI:
|
|
1011
1049
|
"""These APIs manage network configurations for customer-managed VPCs (optional)."""
|
|
1012
1050
|
return self._networks
|
|
1013
1051
|
|
|
1014
1052
|
@property
|
|
1015
|
-
def o_auth_published_apps(self) ->
|
|
1053
|
+
def o_auth_published_apps(self) -> pkg_oauth2.OAuthPublishedAppsAPI:
|
|
1016
1054
|
"""These APIs enable administrators to view all the available published OAuth applications in Databricks."""
|
|
1017
1055
|
return self._o_auth_published_apps
|
|
1018
1056
|
|
|
1019
1057
|
@property
|
|
1020
|
-
def private_access(self) ->
|
|
1058
|
+
def private_access(self) -> pkg_provisioning.PrivateAccessAPI:
|
|
1021
1059
|
"""These APIs manage private access settings for this account."""
|
|
1022
1060
|
return self._private_access
|
|
1023
1061
|
|
|
1024
1062
|
@property
|
|
1025
|
-
def published_app_integration(self) ->
|
|
1063
|
+
def published_app_integration(self) -> pkg_oauth2.PublishedAppIntegrationAPI:
|
|
1026
1064
|
"""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."""
|
|
1027
1065
|
return self._published_app_integration
|
|
1028
1066
|
|
|
1029
1067
|
@property
|
|
1030
|
-
def service_principal_federation_policy(self) ->
|
|
1068
|
+
def service_principal_federation_policy(self) -> pkg_oauth2.ServicePrincipalFederationPolicyAPI:
|
|
1031
1069
|
"""These APIs manage service principal federation policies."""
|
|
1032
1070
|
return self._service_principal_federation_policy
|
|
1033
1071
|
|
|
1034
1072
|
@property
|
|
1035
|
-
def service_principal_secrets(self) ->
|
|
1073
|
+
def service_principal_secrets(self) -> pkg_oauth2.ServicePrincipalSecretsAPI:
|
|
1036
1074
|
"""These APIs enable administrators to manage service principal secrets."""
|
|
1037
1075
|
return self._service_principal_secrets
|
|
1038
1076
|
|
|
1039
1077
|
@property
|
|
1040
|
-
def service_principals(self) ->
|
|
1078
|
+
def service_principals(self) -> pkg_iam.AccountServicePrincipalsAPI:
|
|
1041
1079
|
"""Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms."""
|
|
1042
1080
|
return self._service_principals
|
|
1043
1081
|
|
|
1044
1082
|
@property
|
|
1045
|
-
def settings(self) ->
|
|
1083
|
+
def settings(self) -> pkg_settings.AccountSettingsAPI:
|
|
1046
1084
|
"""Accounts Settings API allows users to manage settings at the account level."""
|
|
1047
1085
|
return self._settings
|
|
1048
1086
|
|
|
1049
1087
|
@property
|
|
1050
|
-
def storage(self) ->
|
|
1088
|
+
def storage(self) -> pkg_provisioning.StorageAPI:
|
|
1051
1089
|
"""These APIs manage storage configurations for this workspace."""
|
|
1052
1090
|
return self._storage
|
|
1053
1091
|
|
|
1054
1092
|
@property
|
|
1055
|
-
def storage_credentials(self) ->
|
|
1093
|
+
def storage_credentials(self) -> pkg_catalog.AccountStorageCredentialsAPI:
|
|
1056
1094
|
"""These APIs manage storage credentials for a particular metastore."""
|
|
1057
1095
|
return self._storage_credentials
|
|
1058
1096
|
|
|
1059
1097
|
@property
|
|
1060
|
-
def usage_dashboards(self) ->
|
|
1098
|
+
def usage_dashboards(self) -> pkg_billing.UsageDashboardsAPI:
|
|
1061
1099
|
"""These APIs manage usage dashboards for this account."""
|
|
1062
1100
|
return self._usage_dashboards
|
|
1063
1101
|
|
|
1064
1102
|
@property
|
|
1065
|
-
def users(self) ->
|
|
1103
|
+
def users(self) -> pkg_iam.AccountUsersAPI:
|
|
1066
1104
|
"""User identities recognized by Databricks and represented by email addresses."""
|
|
1067
1105
|
return self._users
|
|
1068
1106
|
|
|
1069
1107
|
@property
|
|
1070
|
-
def vpc_endpoints(self) ->
|
|
1108
|
+
def vpc_endpoints(self) -> pkg_provisioning.VpcEndpointsAPI:
|
|
1071
1109
|
"""These APIs manage VPC endpoint configurations for this account."""
|
|
1072
1110
|
return self._vpc_endpoints
|
|
1073
1111
|
|
|
1074
1112
|
@property
|
|
1075
|
-
def workspace_assignment(self) ->
|
|
1113
|
+
def workspace_assignment(self) -> pkg_iam.WorkspaceAssignmentAPI:
|
|
1076
1114
|
"""The Workspace Permission Assignment API allows you to manage workspace permissions for principals in your account."""
|
|
1077
1115
|
return self._workspace_assignment
|
|
1078
1116
|
|
|
1079
1117
|
@property
|
|
1080
|
-
def
|
|
1118
|
+
def workspace_network_configuration(self) -> pkg_settings.WorkspaceNetworkConfigurationAPI:
|
|
1119
|
+
"""These APIs allow configuration of network settings for Databricks workspaces."""
|
|
1120
|
+
return self._workspace_network_configuration
|
|
1121
|
+
|
|
1122
|
+
@property
|
|
1123
|
+
def workspaces(self) -> pkg_provisioning.WorkspacesAPI:
|
|
1081
1124
|
"""These APIs manage workspaces for this account."""
|
|
1082
1125
|
return self._workspaces
|
|
1083
1126
|
|
|
1084
1127
|
@property
|
|
1085
|
-
def budgets(self) ->
|
|
1128
|
+
def budgets(self) -> pkg_billing.BudgetsAPI:
|
|
1086
1129
|
"""These APIs manage budget configurations for this account."""
|
|
1087
1130
|
return self._budgets
|
|
1088
1131
|
|