databricks-sdk 0.55.0__py3-none-any.whl → 0.57.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 +41 -24
- databricks/sdk/service/aibuilder.py +505 -0
- databricks/sdk/service/apps.py +14 -42
- databricks/sdk/service/billing.py +167 -220
- databricks/sdk/service/catalog.py +462 -1235
- databricks/sdk/service/cleanrooms.py +26 -43
- databricks/sdk/service/compute.py +75 -211
- databricks/sdk/service/dashboards.py +77 -511
- databricks/sdk/service/database.py +1271 -0
- databricks/sdk/service/files.py +20 -54
- databricks/sdk/service/iam.py +61 -171
- databricks/sdk/service/jobs.py +453 -68
- databricks/sdk/service/marketplace.py +46 -146
- databricks/sdk/service/ml.py +453 -477
- databricks/sdk/service/oauth2.py +17 -45
- databricks/sdk/service/pipelines.py +125 -40
- databricks/sdk/service/provisioning.py +30 -93
- databricks/sdk/service/qualitymonitorv2.py +265 -0
- databricks/sdk/service/serving.py +106 -46
- databricks/sdk/service/settings.py +1062 -390
- databricks/sdk/service/sharing.py +33 -88
- databricks/sdk/service/sql.py +292 -185
- databricks/sdk/service/vectorsearch.py +13 -43
- databricks/sdk/service/workspace.py +35 -105
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/RECORD +31 -28
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/top_level.txt +0 -0
databricks/sdk/service/oauth2.py
CHANGED
|
@@ -1355,8 +1355,6 @@ class CustomAppIntegrationAPI:
|
|
|
1355
1355
|
) -> CreateCustomAppIntegrationOutput:
|
|
1356
1356
|
"""Create Custom OAuth App Integration.
|
|
1357
1357
|
|
|
1358
|
-
Create Custom OAuth App Integration.
|
|
1359
|
-
|
|
1360
1358
|
You can retrieve the custom OAuth app integration via :method:CustomAppIntegration/get.
|
|
1361
1359
|
|
|
1362
1360
|
:param confidential: bool (optional)
|
|
@@ -1403,9 +1401,7 @@ class CustomAppIntegrationAPI:
|
|
|
1403
1401
|
return CreateCustomAppIntegrationOutput.from_dict(res)
|
|
1404
1402
|
|
|
1405
1403
|
def delete(self, integration_id: str):
|
|
1406
|
-
"""Delete Custom OAuth App Integration.
|
|
1407
|
-
|
|
1408
|
-
Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app integration via
|
|
1404
|
+
"""Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app integration via
|
|
1409
1405
|
:method:CustomAppIntegration/get.
|
|
1410
1406
|
|
|
1411
1407
|
:param integration_id: str
|
|
@@ -1424,9 +1420,7 @@ class CustomAppIntegrationAPI:
|
|
|
1424
1420
|
)
|
|
1425
1421
|
|
|
1426
1422
|
def get(self, integration_id: str) -> GetCustomAppIntegrationOutput:
|
|
1427
|
-
"""
|
|
1428
|
-
|
|
1429
|
-
Gets the Custom OAuth App Integration for the given integration id.
|
|
1423
|
+
"""Gets the Custom OAuth App Integration for the given integration id.
|
|
1430
1424
|
|
|
1431
1425
|
:param integration_id: str
|
|
1432
1426
|
The OAuth app integration ID.
|
|
@@ -1452,9 +1446,7 @@ class CustomAppIntegrationAPI:
|
|
|
1452
1446
|
page_size: Optional[int] = None,
|
|
1453
1447
|
page_token: Optional[str] = None,
|
|
1454
1448
|
) -> Iterator[GetCustomAppIntegrationOutput]:
|
|
1455
|
-
"""Get custom
|
|
1456
|
-
|
|
1457
|
-
Get the list of custom OAuth app integrations for the specified Databricks account
|
|
1449
|
+
"""Get the list of custom OAuth app integrations for the specified Databricks account
|
|
1458
1450
|
|
|
1459
1451
|
:param include_creator_username: bool (optional)
|
|
1460
1452
|
:param page_size: int (optional)
|
|
@@ -1497,9 +1489,7 @@ class CustomAppIntegrationAPI:
|
|
|
1497
1489
|
token_access_policy: Optional[TokenAccessPolicy] = None,
|
|
1498
1490
|
user_authorized_scopes: Optional[List[str]] = None,
|
|
1499
1491
|
):
|
|
1500
|
-
"""Updates
|
|
1501
|
-
|
|
1502
|
-
Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app integration
|
|
1492
|
+
"""Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app integration
|
|
1503
1493
|
via :method:CustomAppIntegration/get.
|
|
1504
1494
|
|
|
1505
1495
|
:param integration_id: str
|
|
@@ -1549,9 +1539,7 @@ class OAuthPublishedAppsAPI:
|
|
|
1549
1539
|
def list(
|
|
1550
1540
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1551
1541
|
) -> Iterator[PublishedAppOutput]:
|
|
1552
|
-
"""Get all the published OAuth apps.
|
|
1553
|
-
|
|
1554
|
-
Get all the available published OAuth apps in Databricks.
|
|
1542
|
+
"""Get all the available published OAuth apps in Databricks.
|
|
1555
1543
|
|
|
1556
1544
|
:param page_size: int (optional)
|
|
1557
1545
|
The max number of OAuth published apps to return in one page.
|
|
@@ -1594,8 +1582,6 @@ class PublishedAppIntegrationAPI:
|
|
|
1594
1582
|
) -> CreatePublishedAppIntegrationOutput:
|
|
1595
1583
|
"""Create Published OAuth App Integration.
|
|
1596
1584
|
|
|
1597
|
-
Create Published OAuth App Integration.
|
|
1598
|
-
|
|
1599
1585
|
You can retrieve the published OAuth app integration via :method:PublishedAppIntegration/get.
|
|
1600
1586
|
|
|
1601
1587
|
:param app_id: str (optional)
|
|
@@ -1624,9 +1610,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1624
1610
|
return CreatePublishedAppIntegrationOutput.from_dict(res)
|
|
1625
1611
|
|
|
1626
1612
|
def delete(self, integration_id: str):
|
|
1627
|
-
"""Delete Published OAuth App Integration.
|
|
1628
|
-
|
|
1629
|
-
Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app
|
|
1613
|
+
"""Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app
|
|
1630
1614
|
integration via :method:PublishedAppIntegration/get.
|
|
1631
1615
|
|
|
1632
1616
|
:param integration_id: str
|
|
@@ -1645,9 +1629,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1645
1629
|
)
|
|
1646
1630
|
|
|
1647
1631
|
def get(self, integration_id: str) -> GetPublishedAppIntegrationOutput:
|
|
1648
|
-
"""
|
|
1649
|
-
|
|
1650
|
-
Gets the Published OAuth App Integration for the given integration id.
|
|
1632
|
+
"""Gets the Published OAuth App Integration for the given integration id.
|
|
1651
1633
|
|
|
1652
1634
|
:param integration_id: str
|
|
1653
1635
|
|
|
@@ -1668,9 +1650,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1668
1650
|
def list(
|
|
1669
1651
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1670
1652
|
) -> Iterator[GetPublishedAppIntegrationOutput]:
|
|
1671
|
-
"""Get published
|
|
1672
|
-
|
|
1673
|
-
Get the list of published OAuth app integrations for the specified Databricks account
|
|
1653
|
+
"""Get the list of published OAuth app integrations for the specified Databricks account
|
|
1674
1654
|
|
|
1675
1655
|
:param page_size: int (optional)
|
|
1676
1656
|
:param page_token: str (optional)
|
|
@@ -1702,9 +1682,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1702
1682
|
query["page_token"] = json["next_page_token"]
|
|
1703
1683
|
|
|
1704
1684
|
def update(self, integration_id: str, *, token_access_policy: Optional[TokenAccessPolicy] = None):
|
|
1705
|
-
"""Updates
|
|
1706
|
-
|
|
1707
|
-
Updates an existing published OAuth App Integration. You can retrieve the published OAuth app
|
|
1685
|
+
"""Updates an existing published OAuth App Integration. You can retrieve the published OAuth app
|
|
1708
1686
|
integration via :method:PublishedAppIntegration/get.
|
|
1709
1687
|
|
|
1710
1688
|
:param integration_id: str
|
|
@@ -1777,7 +1755,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1777
1755
|
def create(
|
|
1778
1756
|
self, service_principal_id: int, policy: FederationPolicy, *, policy_id: Optional[str] = None
|
|
1779
1757
|
) -> FederationPolicy:
|
|
1780
|
-
"""Create
|
|
1758
|
+
"""Create account federation policy.
|
|
1781
1759
|
|
|
1782
1760
|
:param service_principal_id: int
|
|
1783
1761
|
The service principal id for the federation policy.
|
|
@@ -1807,7 +1785,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1807
1785
|
return FederationPolicy.from_dict(res)
|
|
1808
1786
|
|
|
1809
1787
|
def delete(self, service_principal_id: int, policy_id: str):
|
|
1810
|
-
"""Delete
|
|
1788
|
+
"""Delete account federation policy.
|
|
1811
1789
|
|
|
1812
1790
|
:param service_principal_id: int
|
|
1813
1791
|
The service principal id for the federation policy.
|
|
@@ -1828,7 +1806,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1828
1806
|
)
|
|
1829
1807
|
|
|
1830
1808
|
def get(self, service_principal_id: int, policy_id: str) -> FederationPolicy:
|
|
1831
|
-
"""Get
|
|
1809
|
+
"""Get account federation policy.
|
|
1832
1810
|
|
|
1833
1811
|
:param service_principal_id: int
|
|
1834
1812
|
The service principal id for the federation policy.
|
|
@@ -1852,7 +1830,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1852
1830
|
def list(
|
|
1853
1831
|
self, service_principal_id: int, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1854
1832
|
) -> Iterator[FederationPolicy]:
|
|
1855
|
-
"""List
|
|
1833
|
+
"""List account federation policies.
|
|
1856
1834
|
|
|
1857
1835
|
:param service_principal_id: int
|
|
1858
1836
|
The service principal id for the federation policy.
|
|
@@ -1888,7 +1866,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1888
1866
|
def update(
|
|
1889
1867
|
self, service_principal_id: int, policy_id: str, policy: FederationPolicy, *, update_mask: Optional[str] = None
|
|
1890
1868
|
) -> FederationPolicy:
|
|
1891
|
-
"""Update
|
|
1869
|
+
"""Update account federation policy.
|
|
1892
1870
|
|
|
1893
1871
|
:param service_principal_id: int
|
|
1894
1872
|
The service principal id for the federation policy.
|
|
@@ -1943,9 +1921,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1943
1921
|
def create(
|
|
1944
1922
|
self, service_principal_id: int, *, lifetime: Optional[str] = None
|
|
1945
1923
|
) -> CreateServicePrincipalSecretResponse:
|
|
1946
|
-
"""Create service principal
|
|
1947
|
-
|
|
1948
|
-
Create a secret for the given service principal.
|
|
1924
|
+
"""Create a secret for the given service principal.
|
|
1949
1925
|
|
|
1950
1926
|
:param service_principal_id: int
|
|
1951
1927
|
The service principal ID.
|
|
@@ -1972,9 +1948,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1972
1948
|
return CreateServicePrincipalSecretResponse.from_dict(res)
|
|
1973
1949
|
|
|
1974
1950
|
def delete(self, service_principal_id: int, secret_id: str):
|
|
1975
|
-
"""Delete service principal
|
|
1976
|
-
|
|
1977
|
-
Delete a secret from the given service principal.
|
|
1951
|
+
"""Delete a secret from the given service principal.
|
|
1978
1952
|
|
|
1979
1953
|
:param service_principal_id: int
|
|
1980
1954
|
The service principal ID.
|
|
@@ -1993,9 +1967,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1993
1967
|
)
|
|
1994
1968
|
|
|
1995
1969
|
def list(self, service_principal_id: int, *, page_token: Optional[str] = None) -> Iterator[SecretInfo]:
|
|
1996
|
-
"""List service principal
|
|
1997
|
-
|
|
1998
|
-
List all secrets associated with the given service principal. This operation only returns information
|
|
1970
|
+
"""List all secrets associated with the given service principal. This operation only returns information
|
|
1999
1971
|
about the secrets themselves and does not include the secret values.
|
|
2000
1972
|
|
|
2001
1973
|
:param service_principal_id: int
|