databricks-sdk 0.56.0__py3-none-any.whl → 0.58.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 +38 -11
- databricks/sdk/service/aibuilder.py +122 -17
- databricks/sdk/service/apps.py +15 -45
- databricks/sdk/service/billing.py +70 -74
- databricks/sdk/service/catalog.py +1898 -557
- databricks/sdk/service/cleanrooms.py +14 -55
- databricks/sdk/service/compute.py +305 -508
- databricks/sdk/service/dashboards.py +148 -223
- databricks/sdk/service/database.py +657 -127
- databricks/sdk/service/files.py +18 -54
- databricks/sdk/service/iam.py +55 -165
- databricks/sdk/service/jobs.py +238 -214
- databricks/sdk/service/marketplace.py +47 -146
- databricks/sdk/service/ml.py +1137 -447
- databricks/sdk/service/oauth2.py +17 -46
- databricks/sdk/service/pipelines.py +93 -69
- databricks/sdk/service/provisioning.py +34 -212
- databricks/sdk/service/qualitymonitorv2.py +5 -33
- databricks/sdk/service/serving.py +69 -55
- databricks/sdk/service/settings.py +106 -434
- databricks/sdk/service/sharing.py +33 -95
- databricks/sdk/service/sql.py +164 -254
- databricks/sdk/service/vectorsearch.py +13 -62
- databricks/sdk/service/workspace.py +36 -110
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/RECORD +31 -31
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/top_level.txt +0 -0
databricks/sdk/service/oauth2.py
CHANGED
|
@@ -366,7 +366,6 @@ class FederationPolicy:
|
|
|
366
366
|
the request URL."""
|
|
367
367
|
|
|
368
368
|
oidc_policy: Optional[OidcFederationPolicy] = None
|
|
369
|
-
"""Specifies the policy to use for validating OIDC claims in your federated tokens."""
|
|
370
369
|
|
|
371
370
|
policy_id: Optional[str] = None
|
|
372
371
|
"""The ID of the federation policy."""
|
|
@@ -1355,8 +1354,6 @@ class CustomAppIntegrationAPI:
|
|
|
1355
1354
|
) -> CreateCustomAppIntegrationOutput:
|
|
1356
1355
|
"""Create Custom OAuth App Integration.
|
|
1357
1356
|
|
|
1358
|
-
Create Custom OAuth App Integration.
|
|
1359
|
-
|
|
1360
1357
|
You can retrieve the custom OAuth app integration via :method:CustomAppIntegration/get.
|
|
1361
1358
|
|
|
1362
1359
|
:param confidential: bool (optional)
|
|
@@ -1403,9 +1400,7 @@ class CustomAppIntegrationAPI:
|
|
|
1403
1400
|
return CreateCustomAppIntegrationOutput.from_dict(res)
|
|
1404
1401
|
|
|
1405
1402
|
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
|
|
1403
|
+
"""Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app integration via
|
|
1409
1404
|
:method:CustomAppIntegration/get.
|
|
1410
1405
|
|
|
1411
1406
|
:param integration_id: str
|
|
@@ -1424,9 +1419,7 @@ class CustomAppIntegrationAPI:
|
|
|
1424
1419
|
)
|
|
1425
1420
|
|
|
1426
1421
|
def get(self, integration_id: str) -> GetCustomAppIntegrationOutput:
|
|
1427
|
-
"""
|
|
1428
|
-
|
|
1429
|
-
Gets the Custom OAuth App Integration for the given integration id.
|
|
1422
|
+
"""Gets the Custom OAuth App Integration for the given integration id.
|
|
1430
1423
|
|
|
1431
1424
|
:param integration_id: str
|
|
1432
1425
|
The OAuth app integration ID.
|
|
@@ -1452,9 +1445,7 @@ class CustomAppIntegrationAPI:
|
|
|
1452
1445
|
page_size: Optional[int] = None,
|
|
1453
1446
|
page_token: Optional[str] = None,
|
|
1454
1447
|
) -> Iterator[GetCustomAppIntegrationOutput]:
|
|
1455
|
-
"""Get custom
|
|
1456
|
-
|
|
1457
|
-
Get the list of custom OAuth app integrations for the specified Databricks account
|
|
1448
|
+
"""Get the list of custom OAuth app integrations for the specified Databricks account
|
|
1458
1449
|
|
|
1459
1450
|
:param include_creator_username: bool (optional)
|
|
1460
1451
|
:param page_size: int (optional)
|
|
@@ -1497,9 +1488,7 @@ class CustomAppIntegrationAPI:
|
|
|
1497
1488
|
token_access_policy: Optional[TokenAccessPolicy] = None,
|
|
1498
1489
|
user_authorized_scopes: Optional[List[str]] = None,
|
|
1499
1490
|
):
|
|
1500
|
-
"""Updates
|
|
1501
|
-
|
|
1502
|
-
Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app integration
|
|
1491
|
+
"""Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app integration
|
|
1503
1492
|
via :method:CustomAppIntegration/get.
|
|
1504
1493
|
|
|
1505
1494
|
:param integration_id: str
|
|
@@ -1549,9 +1538,7 @@ class OAuthPublishedAppsAPI:
|
|
|
1549
1538
|
def list(
|
|
1550
1539
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1551
1540
|
) -> Iterator[PublishedAppOutput]:
|
|
1552
|
-
"""Get all the published OAuth apps.
|
|
1553
|
-
|
|
1554
|
-
Get all the available published OAuth apps in Databricks.
|
|
1541
|
+
"""Get all the available published OAuth apps in Databricks.
|
|
1555
1542
|
|
|
1556
1543
|
:param page_size: int (optional)
|
|
1557
1544
|
The max number of OAuth published apps to return in one page.
|
|
@@ -1594,8 +1581,6 @@ class PublishedAppIntegrationAPI:
|
|
|
1594
1581
|
) -> CreatePublishedAppIntegrationOutput:
|
|
1595
1582
|
"""Create Published OAuth App Integration.
|
|
1596
1583
|
|
|
1597
|
-
Create Published OAuth App Integration.
|
|
1598
|
-
|
|
1599
1584
|
You can retrieve the published OAuth app integration via :method:PublishedAppIntegration/get.
|
|
1600
1585
|
|
|
1601
1586
|
:param app_id: str (optional)
|
|
@@ -1624,9 +1609,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1624
1609
|
return CreatePublishedAppIntegrationOutput.from_dict(res)
|
|
1625
1610
|
|
|
1626
1611
|
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
|
|
1612
|
+
"""Delete an existing Published OAuth App Integration. You can retrieve the published OAuth app
|
|
1630
1613
|
integration via :method:PublishedAppIntegration/get.
|
|
1631
1614
|
|
|
1632
1615
|
:param integration_id: str
|
|
@@ -1645,9 +1628,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1645
1628
|
)
|
|
1646
1629
|
|
|
1647
1630
|
def get(self, integration_id: str) -> GetPublishedAppIntegrationOutput:
|
|
1648
|
-
"""
|
|
1649
|
-
|
|
1650
|
-
Gets the Published OAuth App Integration for the given integration id.
|
|
1631
|
+
"""Gets the Published OAuth App Integration for the given integration id.
|
|
1651
1632
|
|
|
1652
1633
|
:param integration_id: str
|
|
1653
1634
|
|
|
@@ -1668,9 +1649,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1668
1649
|
def list(
|
|
1669
1650
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1670
1651
|
) -> Iterator[GetPublishedAppIntegrationOutput]:
|
|
1671
|
-
"""Get published
|
|
1672
|
-
|
|
1673
|
-
Get the list of published OAuth app integrations for the specified Databricks account
|
|
1652
|
+
"""Get the list of published OAuth app integrations for the specified Databricks account
|
|
1674
1653
|
|
|
1675
1654
|
:param page_size: int (optional)
|
|
1676
1655
|
:param page_token: str (optional)
|
|
@@ -1702,9 +1681,7 @@ class PublishedAppIntegrationAPI:
|
|
|
1702
1681
|
query["page_token"] = json["next_page_token"]
|
|
1703
1682
|
|
|
1704
1683
|
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
|
|
1684
|
+
"""Updates an existing published OAuth App Integration. You can retrieve the published OAuth app
|
|
1708
1685
|
integration via :method:PublishedAppIntegration/get.
|
|
1709
1686
|
|
|
1710
1687
|
:param integration_id: str
|
|
@@ -1777,7 +1754,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1777
1754
|
def create(
|
|
1778
1755
|
self, service_principal_id: int, policy: FederationPolicy, *, policy_id: Optional[str] = None
|
|
1779
1756
|
) -> FederationPolicy:
|
|
1780
|
-
"""Create
|
|
1757
|
+
"""Create account federation policy.
|
|
1781
1758
|
|
|
1782
1759
|
:param service_principal_id: int
|
|
1783
1760
|
The service principal id for the federation policy.
|
|
@@ -1807,7 +1784,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1807
1784
|
return FederationPolicy.from_dict(res)
|
|
1808
1785
|
|
|
1809
1786
|
def delete(self, service_principal_id: int, policy_id: str):
|
|
1810
|
-
"""Delete
|
|
1787
|
+
"""Delete account federation policy.
|
|
1811
1788
|
|
|
1812
1789
|
:param service_principal_id: int
|
|
1813
1790
|
The service principal id for the federation policy.
|
|
@@ -1828,7 +1805,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1828
1805
|
)
|
|
1829
1806
|
|
|
1830
1807
|
def get(self, service_principal_id: int, policy_id: str) -> FederationPolicy:
|
|
1831
|
-
"""Get
|
|
1808
|
+
"""Get account federation policy.
|
|
1832
1809
|
|
|
1833
1810
|
:param service_principal_id: int
|
|
1834
1811
|
The service principal id for the federation policy.
|
|
@@ -1852,7 +1829,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1852
1829
|
def list(
|
|
1853
1830
|
self, service_principal_id: int, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1854
1831
|
) -> Iterator[FederationPolicy]:
|
|
1855
|
-
"""List
|
|
1832
|
+
"""List account federation policies.
|
|
1856
1833
|
|
|
1857
1834
|
:param service_principal_id: int
|
|
1858
1835
|
The service principal id for the federation policy.
|
|
@@ -1888,7 +1865,7 @@ class ServicePrincipalFederationPolicyAPI:
|
|
|
1888
1865
|
def update(
|
|
1889
1866
|
self, service_principal_id: int, policy_id: str, policy: FederationPolicy, *, update_mask: Optional[str] = None
|
|
1890
1867
|
) -> FederationPolicy:
|
|
1891
|
-
"""Update
|
|
1868
|
+
"""Update account federation policy.
|
|
1892
1869
|
|
|
1893
1870
|
:param service_principal_id: int
|
|
1894
1871
|
The service principal id for the federation policy.
|
|
@@ -1943,9 +1920,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1943
1920
|
def create(
|
|
1944
1921
|
self, service_principal_id: int, *, lifetime: Optional[str] = None
|
|
1945
1922
|
) -> CreateServicePrincipalSecretResponse:
|
|
1946
|
-
"""Create service principal
|
|
1947
|
-
|
|
1948
|
-
Create a secret for the given service principal.
|
|
1923
|
+
"""Create a secret for the given service principal.
|
|
1949
1924
|
|
|
1950
1925
|
:param service_principal_id: int
|
|
1951
1926
|
The service principal ID.
|
|
@@ -1972,9 +1947,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1972
1947
|
return CreateServicePrincipalSecretResponse.from_dict(res)
|
|
1973
1948
|
|
|
1974
1949
|
def delete(self, service_principal_id: int, secret_id: str):
|
|
1975
|
-
"""Delete service principal
|
|
1976
|
-
|
|
1977
|
-
Delete a secret from the given service principal.
|
|
1950
|
+
"""Delete a secret from the given service principal.
|
|
1978
1951
|
|
|
1979
1952
|
:param service_principal_id: int
|
|
1980
1953
|
The service principal ID.
|
|
@@ -1993,9 +1966,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1993
1966
|
)
|
|
1994
1967
|
|
|
1995
1968
|
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
|
|
1969
|
+
"""List all secrets associated with the given service principal. This operation only returns information
|
|
1999
1970
|
about the secrets themselves and does not include the secret values.
|
|
2000
1971
|
|
|
2001
1972
|
:param service_principal_id: int
|