databricks-sdk 0.57.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 +25 -4
- databricks/sdk/service/aibuilder.py +0 -36
- databricks/sdk/service/apps.py +1 -3
- databricks/sdk/service/billing.py +53 -23
- databricks/sdk/service/catalog.py +1692 -150
- databricks/sdk/service/cleanrooms.py +3 -22
- databricks/sdk/service/compute.py +245 -322
- databricks/sdk/service/dashboards.py +129 -162
- databricks/sdk/service/database.py +612 -97
- databricks/sdk/service/iam.py +3 -3
- databricks/sdk/service/jobs.py +6 -129
- databricks/sdk/service/marketplace.py +3 -2
- databricks/sdk/service/ml.py +713 -262
- databricks/sdk/service/oauth2.py +0 -1
- databricks/sdk/service/pipelines.py +12 -29
- databricks/sdk/service/provisioning.py +7 -125
- databricks/sdk/service/qualitymonitorv2.py +0 -18
- databricks/sdk/service/serving.py +39 -13
- databricks/sdk/service/settings.py +11 -128
- databricks/sdk/service/sharing.py +3 -9
- databricks/sdk/service/sql.py +94 -74
- databricks/sdk/service/vectorsearch.py +0 -19
- databricks/sdk/service/workspace.py +2 -6
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.57.0.dist-info → databricks_sdk-0.58.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.57.0.dist-info → databricks_sdk-0.58.0.dist-info}/RECORD +30 -30
- {databricks_sdk-0.57.0.dist-info → databricks_sdk-0.58.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.57.0.dist-info → databricks_sdk-0.58.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.57.0.dist-info → databricks_sdk-0.58.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.57.0.dist-info → databricks_sdk-0.58.0.dist-info}/top_level.txt +0 -0
|
@@ -306,8 +306,12 @@ class AiGatewayRateLimit:
|
|
|
306
306
|
"""Renewal period field for a rate limit. Currently, only 'minute' is supported."""
|
|
307
307
|
|
|
308
308
|
key: Optional[AiGatewayRateLimitKey] = None
|
|
309
|
-
"""Key field for a rate limit. Currently,
|
|
310
|
-
being the default if not specified."""
|
|
309
|
+
"""Key field for a rate limit. Currently, 'user', 'user_group, 'service_principal', and 'endpoint'
|
|
310
|
+
are supported, with 'endpoint' being the default if not specified."""
|
|
311
|
+
|
|
312
|
+
principal: Optional[str] = None
|
|
313
|
+
"""Principal field for a user, user group, or service principal to apply rate limiting to. Accepts
|
|
314
|
+
a user email, group name, or service principal application ID."""
|
|
311
315
|
|
|
312
316
|
def as_dict(self) -> dict:
|
|
313
317
|
"""Serializes the AiGatewayRateLimit into a dictionary suitable for use as a JSON request body."""
|
|
@@ -316,6 +320,8 @@ class AiGatewayRateLimit:
|
|
|
316
320
|
body["calls"] = self.calls
|
|
317
321
|
if self.key is not None:
|
|
318
322
|
body["key"] = self.key.value
|
|
323
|
+
if self.principal is not None:
|
|
324
|
+
body["principal"] = self.principal
|
|
319
325
|
if self.renewal_period is not None:
|
|
320
326
|
body["renewal_period"] = self.renewal_period.value
|
|
321
327
|
return body
|
|
@@ -327,6 +333,8 @@ class AiGatewayRateLimit:
|
|
|
327
333
|
body["calls"] = self.calls
|
|
328
334
|
if self.key is not None:
|
|
329
335
|
body["key"] = self.key
|
|
336
|
+
if self.principal is not None:
|
|
337
|
+
body["principal"] = self.principal
|
|
330
338
|
if self.renewal_period is not None:
|
|
331
339
|
body["renewal_period"] = self.renewal_period
|
|
332
340
|
return body
|
|
@@ -337,6 +345,7 @@ class AiGatewayRateLimit:
|
|
|
337
345
|
return cls(
|
|
338
346
|
calls=d.get("calls", None),
|
|
339
347
|
key=_enum(d, "key", AiGatewayRateLimitKey),
|
|
348
|
+
principal=d.get("principal", None),
|
|
340
349
|
renewal_period=_enum(d, "renewal_period", AiGatewayRateLimitRenewalPeriod),
|
|
341
350
|
)
|
|
342
351
|
|
|
@@ -344,7 +353,9 @@ class AiGatewayRateLimit:
|
|
|
344
353
|
class AiGatewayRateLimitKey(Enum):
|
|
345
354
|
|
|
346
355
|
ENDPOINT = "endpoint"
|
|
356
|
+
SERVICE_PRINCIPAL = "service_principal"
|
|
347
357
|
USER = "user"
|
|
358
|
+
USER_GROUP = "user_group"
|
|
348
359
|
|
|
349
360
|
|
|
350
361
|
class AiGatewayRateLimitRenewalPeriod(Enum):
|
|
@@ -919,6 +930,8 @@ class CreateServingEndpoint:
|
|
|
919
930
|
config: Optional[EndpointCoreConfigInput] = None
|
|
920
931
|
"""The core config of the serving endpoint."""
|
|
921
932
|
|
|
933
|
+
description: Optional[str] = None
|
|
934
|
+
|
|
922
935
|
rate_limits: Optional[List[RateLimit]] = None
|
|
923
936
|
"""Rate limits to be applied to the serving endpoint. NOTE: this field is deprecated, please use AI
|
|
924
937
|
Gateway to manage rate limits."""
|
|
@@ -938,6 +951,8 @@ class CreateServingEndpoint:
|
|
|
938
951
|
body["budget_policy_id"] = self.budget_policy_id
|
|
939
952
|
if self.config:
|
|
940
953
|
body["config"] = self.config.as_dict()
|
|
954
|
+
if self.description is not None:
|
|
955
|
+
body["description"] = self.description
|
|
941
956
|
if self.name is not None:
|
|
942
957
|
body["name"] = self.name
|
|
943
958
|
if self.rate_limits:
|
|
@@ -957,6 +972,8 @@ class CreateServingEndpoint:
|
|
|
957
972
|
body["budget_policy_id"] = self.budget_policy_id
|
|
958
973
|
if self.config:
|
|
959
974
|
body["config"] = self.config
|
|
975
|
+
if self.description is not None:
|
|
976
|
+
body["description"] = self.description
|
|
960
977
|
if self.name is not None:
|
|
961
978
|
body["name"] = self.name
|
|
962
979
|
if self.rate_limits:
|
|
@@ -974,6 +991,7 @@ class CreateServingEndpoint:
|
|
|
974
991
|
ai_gateway=_from_dict(d, "ai_gateway", AiGatewayConfig),
|
|
975
992
|
budget_policy_id=d.get("budget_policy_id", None),
|
|
976
993
|
config=_from_dict(d, "config", EndpointCoreConfigInput),
|
|
994
|
+
description=d.get("description", None),
|
|
977
995
|
name=d.get("name", None),
|
|
978
996
|
rate_limits=_repeated_dict(d, "rate_limits", RateLimit),
|
|
979
997
|
route_optimized=d.get("route_optimized", None),
|
|
@@ -2945,16 +2963,20 @@ class RateLimitRenewalPeriod(Enum):
|
|
|
2945
2963
|
|
|
2946
2964
|
@dataclass
|
|
2947
2965
|
class Route:
|
|
2948
|
-
served_model_name: str
|
|
2949
|
-
"""The name of the served model this route configures traffic for."""
|
|
2950
|
-
|
|
2951
2966
|
traffic_percentage: int
|
|
2952
2967
|
"""The percentage of endpoint traffic to send to this route. It must be an integer between 0 and
|
|
2953
2968
|
100 inclusive."""
|
|
2954
2969
|
|
|
2970
|
+
served_entity_name: Optional[str] = None
|
|
2971
|
+
|
|
2972
|
+
served_model_name: Optional[str] = None
|
|
2973
|
+
"""The name of the served model this route configures traffic for."""
|
|
2974
|
+
|
|
2955
2975
|
def as_dict(self) -> dict:
|
|
2956
2976
|
"""Serializes the Route into a dictionary suitable for use as a JSON request body."""
|
|
2957
2977
|
body = {}
|
|
2978
|
+
if self.served_entity_name is not None:
|
|
2979
|
+
body["served_entity_name"] = self.served_entity_name
|
|
2958
2980
|
if self.served_model_name is not None:
|
|
2959
2981
|
body["served_model_name"] = self.served_model_name
|
|
2960
2982
|
if self.traffic_percentage is not None:
|
|
@@ -2964,6 +2986,8 @@ class Route:
|
|
|
2964
2986
|
def as_shallow_dict(self) -> dict:
|
|
2965
2987
|
"""Serializes the Route into a shallow dictionary of its immediate attributes."""
|
|
2966
2988
|
body = {}
|
|
2989
|
+
if self.served_entity_name is not None:
|
|
2990
|
+
body["served_entity_name"] = self.served_entity_name
|
|
2967
2991
|
if self.served_model_name is not None:
|
|
2968
2992
|
body["served_model_name"] = self.served_model_name
|
|
2969
2993
|
if self.traffic_percentage is not None:
|
|
@@ -2974,7 +2998,9 @@ class Route:
|
|
|
2974
2998
|
def from_dict(cls, d: Dict[str, Any]) -> Route:
|
|
2975
2999
|
"""Deserializes the Route from a dictionary."""
|
|
2976
3000
|
return cls(
|
|
2977
|
-
|
|
3001
|
+
served_entity_name=d.get("served_entity_name", None),
|
|
3002
|
+
served_model_name=d.get("served_model_name", None),
|
|
3003
|
+
traffic_percentage=d.get("traffic_percentage", None),
|
|
2978
3004
|
)
|
|
2979
3005
|
|
|
2980
3006
|
|
|
@@ -3164,8 +3190,6 @@ class ServedEntityOutput:
|
|
|
3164
3190
|
external_model later. The task type of all external models within an endpoint must be the same."""
|
|
3165
3191
|
|
|
3166
3192
|
foundation_model: Optional[FoundationModel] = None
|
|
3167
|
-
"""All fields are not sensitive as they are hard-coded in the system and made available to
|
|
3168
|
-
customers."""
|
|
3169
3193
|
|
|
3170
3194
|
instance_profile_arn: Optional[str] = None
|
|
3171
3195
|
"""ARN of the instance profile that the served entity uses to access AWS resources."""
|
|
@@ -3331,8 +3355,6 @@ class ServedEntitySpec:
|
|
|
3331
3355
|
external_model: Optional[ExternalModel] = None
|
|
3332
3356
|
|
|
3333
3357
|
foundation_model: Optional[FoundationModel] = None
|
|
3334
|
-
"""All fields are not sensitive as they are hard-coded in the system and made available to
|
|
3335
|
-
customers."""
|
|
3336
3358
|
|
|
3337
3359
|
name: Optional[str] = None
|
|
3338
3360
|
|
|
@@ -3903,7 +3925,6 @@ class ServingEndpointAccessControlRequest:
|
|
|
3903
3925
|
"""name of the group"""
|
|
3904
3926
|
|
|
3905
3927
|
permission_level: Optional[ServingEndpointPermissionLevel] = None
|
|
3906
|
-
"""Permission level"""
|
|
3907
3928
|
|
|
3908
3929
|
service_principal_name: Optional[str] = None
|
|
3909
3930
|
"""application ID of a service principal"""
|
|
@@ -4179,7 +4200,6 @@ class ServingEndpointPermission:
|
|
|
4179
4200
|
inherited_from_object: Optional[List[str]] = None
|
|
4180
4201
|
|
|
4181
4202
|
permission_level: Optional[ServingEndpointPermissionLevel] = None
|
|
4182
|
-
"""Permission level"""
|
|
4183
4203
|
|
|
4184
4204
|
def as_dict(self) -> dict:
|
|
4185
4205
|
"""Serializes the ServingEndpointPermission into a dictionary suitable for use as a JSON request body."""
|
|
@@ -4266,7 +4286,6 @@ class ServingEndpointPermissionsDescription:
|
|
|
4266
4286
|
description: Optional[str] = None
|
|
4267
4287
|
|
|
4268
4288
|
permission_level: Optional[ServingEndpointPermissionLevel] = None
|
|
4269
|
-
"""Permission level"""
|
|
4270
4289
|
|
|
4271
4290
|
def as_dict(self) -> dict:
|
|
4272
4291
|
"""Serializes the ServingEndpointPermissionsDescription into a dictionary suitable for use as a JSON request body."""
|
|
@@ -4531,6 +4550,7 @@ class ServingEndpointsAPI:
|
|
|
4531
4550
|
ai_gateway: Optional[AiGatewayConfig] = None,
|
|
4532
4551
|
budget_policy_id: Optional[str] = None,
|
|
4533
4552
|
config: Optional[EndpointCoreConfigInput] = None,
|
|
4553
|
+
description: Optional[str] = None,
|
|
4534
4554
|
rate_limits: Optional[List[RateLimit]] = None,
|
|
4535
4555
|
route_optimized: Optional[bool] = None,
|
|
4536
4556
|
tags: Optional[List[EndpointTag]] = None,
|
|
@@ -4548,6 +4568,7 @@ class ServingEndpointsAPI:
|
|
|
4548
4568
|
The budget policy to be applied to the serving endpoint.
|
|
4549
4569
|
:param config: :class:`EndpointCoreConfigInput` (optional)
|
|
4550
4570
|
The core config of the serving endpoint.
|
|
4571
|
+
:param description: str (optional)
|
|
4551
4572
|
:param rate_limits: List[:class:`RateLimit`] (optional)
|
|
4552
4573
|
Rate limits to be applied to the serving endpoint. NOTE: this field is deprecated, please use AI
|
|
4553
4574
|
Gateway to manage rate limits.
|
|
@@ -4567,6 +4588,8 @@ class ServingEndpointsAPI:
|
|
|
4567
4588
|
body["budget_policy_id"] = budget_policy_id
|
|
4568
4589
|
if config is not None:
|
|
4569
4590
|
body["config"] = config.as_dict()
|
|
4591
|
+
if description is not None:
|
|
4592
|
+
body["description"] = description
|
|
4570
4593
|
if name is not None:
|
|
4571
4594
|
body["name"] = name
|
|
4572
4595
|
if rate_limits is not None:
|
|
@@ -4594,6 +4617,7 @@ class ServingEndpointsAPI:
|
|
|
4594
4617
|
ai_gateway: Optional[AiGatewayConfig] = None,
|
|
4595
4618
|
budget_policy_id: Optional[str] = None,
|
|
4596
4619
|
config: Optional[EndpointCoreConfigInput] = None,
|
|
4620
|
+
description: Optional[str] = None,
|
|
4597
4621
|
rate_limits: Optional[List[RateLimit]] = None,
|
|
4598
4622
|
route_optimized: Optional[bool] = None,
|
|
4599
4623
|
tags: Optional[List[EndpointTag]] = None,
|
|
@@ -4603,6 +4627,7 @@ class ServingEndpointsAPI:
|
|
|
4603
4627
|
ai_gateway=ai_gateway,
|
|
4604
4628
|
budget_policy_id=budget_policy_id,
|
|
4605
4629
|
config=config,
|
|
4630
|
+
description=description,
|
|
4606
4631
|
name=name,
|
|
4607
4632
|
rate_limits=rate_limits,
|
|
4608
4633
|
route_optimized=route_optimized,
|
|
@@ -4822,6 +4847,7 @@ class ServingEndpointsAPI:
|
|
|
4822
4847
|
def list(self) -> Iterator[ServingEndpoint]:
|
|
4823
4848
|
"""Get all serving endpoints.
|
|
4824
4849
|
|
|
4850
|
+
|
|
4825
4851
|
:returns: Iterator over :class:`ServingEndpoint`
|
|
4826
4852
|
"""
|
|
4827
4853
|
|
|
@@ -352,11 +352,6 @@ class ClusterAutoRestartMessage:
|
|
|
352
352
|
enabled: Optional[bool] = None
|
|
353
353
|
|
|
354
354
|
enablement_details: Optional[ClusterAutoRestartMessageEnablementDetails] = None
|
|
355
|
-
"""Contains an information about the enablement status judging (e.g. whether the enterprise tier is
|
|
356
|
-
enabled) This is only additional information that MUST NOT be used to decide whether the setting
|
|
357
|
-
is enabled or not. This is intended to use only for purposes like showing an error message to
|
|
358
|
-
the customer with the additional details. For example, using these details we can check why
|
|
359
|
-
exactly the feature is disabled for this customer."""
|
|
360
355
|
|
|
361
356
|
maintenance_window: Optional[ClusterAutoRestartMessageMaintenanceWindow] = None
|
|
362
357
|
|
|
@@ -615,7 +610,6 @@ class ComplianceSecurityProfile:
|
|
|
615
610
|
@dataclass
|
|
616
611
|
class ComplianceSecurityProfileSetting:
|
|
617
612
|
compliance_security_profile_workspace: ComplianceSecurityProfile
|
|
618
|
-
"""SHIELD feature: CSP"""
|
|
619
613
|
|
|
620
614
|
etag: Optional[str] = None
|
|
621
615
|
"""etag used for versioning. The response is at least as fresh as the eTag provided. This is used
|
|
@@ -745,10 +739,6 @@ class CreateIpAccessList:
|
|
|
745
739
|
"""Label for the IP access list. This **cannot** be empty."""
|
|
746
740
|
|
|
747
741
|
list_type: ListType
|
|
748
|
-
"""Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
749
|
-
|
|
750
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
751
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list."""
|
|
752
742
|
|
|
753
743
|
ip_addresses: Optional[List[str]] = None
|
|
754
744
|
|
|
@@ -789,7 +779,6 @@ class CreateIpAccessListResponse:
|
|
|
789
779
|
"""An IP access list was successfully created."""
|
|
790
780
|
|
|
791
781
|
ip_access_list: Optional[IpAccessListInfo] = None
|
|
792
|
-
"""Definition of an IP Access list"""
|
|
793
782
|
|
|
794
783
|
def as_dict(self) -> dict:
|
|
795
784
|
"""Serializes the CreateIpAccessListResponse into a dictionary suitable for use as a JSON request body."""
|
|
@@ -1138,7 +1127,6 @@ class CspEnablementAccount:
|
|
|
1138
1127
|
@dataclass
|
|
1139
1128
|
class CspEnablementAccountSetting:
|
|
1140
1129
|
csp_enablement_account: CspEnablementAccount
|
|
1141
|
-
"""Account level policy for CSP"""
|
|
1142
1130
|
|
|
1143
1131
|
etag: Optional[str] = None
|
|
1144
1132
|
"""etag used for versioning. The response is at least as fresh as the eTag provided. This is used
|
|
@@ -1745,42 +1733,6 @@ class DeleteLlmProxyPartnerPoweredWorkspaceResponse:
|
|
|
1745
1733
|
return cls(etag=d.get("etag", None))
|
|
1746
1734
|
|
|
1747
1735
|
|
|
1748
|
-
@dataclass
|
|
1749
|
-
class DeleteNetworkConnectivityConfigurationResponse:
|
|
1750
|
-
def as_dict(self) -> dict:
|
|
1751
|
-
"""Serializes the DeleteNetworkConnectivityConfigurationResponse into a dictionary suitable for use as a JSON request body."""
|
|
1752
|
-
body = {}
|
|
1753
|
-
return body
|
|
1754
|
-
|
|
1755
|
-
def as_shallow_dict(self) -> dict:
|
|
1756
|
-
"""Serializes the DeleteNetworkConnectivityConfigurationResponse into a shallow dictionary of its immediate attributes."""
|
|
1757
|
-
body = {}
|
|
1758
|
-
return body
|
|
1759
|
-
|
|
1760
|
-
@classmethod
|
|
1761
|
-
def from_dict(cls, d: Dict[str, Any]) -> DeleteNetworkConnectivityConfigurationResponse:
|
|
1762
|
-
"""Deserializes the DeleteNetworkConnectivityConfigurationResponse from a dictionary."""
|
|
1763
|
-
return cls()
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
@dataclass
|
|
1767
|
-
class DeleteNetworkPolicyRpcResponse:
|
|
1768
|
-
def as_dict(self) -> dict:
|
|
1769
|
-
"""Serializes the DeleteNetworkPolicyRpcResponse into a dictionary suitable for use as a JSON request body."""
|
|
1770
|
-
body = {}
|
|
1771
|
-
return body
|
|
1772
|
-
|
|
1773
|
-
def as_shallow_dict(self) -> dict:
|
|
1774
|
-
"""Serializes the DeleteNetworkPolicyRpcResponse into a shallow dictionary of its immediate attributes."""
|
|
1775
|
-
body = {}
|
|
1776
|
-
return body
|
|
1777
|
-
|
|
1778
|
-
@classmethod
|
|
1779
|
-
def from_dict(cls, d: Dict[str, Any]) -> DeleteNetworkPolicyRpcResponse:
|
|
1780
|
-
"""Deserializes the DeleteNetworkPolicyRpcResponse from a dictionary."""
|
|
1781
|
-
return cls()
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
1736
|
@dataclass
|
|
1785
1737
|
class DeletePersonalComputeSettingResponse:
|
|
1786
1738
|
"""The etag is returned."""
|
|
@@ -2093,11 +2045,6 @@ class EgressNetworkPolicyInternetAccessPolicy:
|
|
|
2093
2045
|
"""Optional. If not specified, assume the policy is enforced for all workloads."""
|
|
2094
2046
|
|
|
2095
2047
|
restriction_mode: Optional[EgressNetworkPolicyInternetAccessPolicyRestrictionMode] = None
|
|
2096
|
-
"""At which level can Databricks and Databricks managed compute access Internet. FULL_ACCESS:
|
|
2097
|
-
Databricks can access Internet. No blocking rules will apply. RESTRICTED_ACCESS: Databricks can
|
|
2098
|
-
only access explicitly allowed internet and storage destinations, as well as UC connections and
|
|
2099
|
-
external locations. PRIVATE_ACCESS_ONLY (not used): Databricks can only access destinations via
|
|
2100
|
-
private link."""
|
|
2101
2048
|
|
|
2102
2049
|
def as_dict(self) -> dict:
|
|
2103
2050
|
"""Serializes the EgressNetworkPolicyInternetAccessPolicy into a dictionary suitable for use as a JSON request body."""
|
|
@@ -2151,10 +2098,6 @@ class EgressNetworkPolicyInternetAccessPolicyInternetDestination:
|
|
|
2151
2098
|
protocol: Optional[
|
|
2152
2099
|
EgressNetworkPolicyInternetAccessPolicyInternetDestinationInternetDestinationFilteringProtocol
|
|
2153
2100
|
] = None
|
|
2154
|
-
"""The filtering protocol used by the DP. For private and public preview, SEG will only support TCP
|
|
2155
|
-
filtering (i.e. DNS based filtering, filtering by destination IP address), so protocol will be
|
|
2156
|
-
set to TCP by default and hidden from the user. In the future, users may be able to select HTTP
|
|
2157
|
-
filtering (i.e. SNI based filtering, filtering by FQDN)."""
|
|
2158
2101
|
|
|
2159
2102
|
type: Optional[EgressNetworkPolicyInternetAccessPolicyInternetDestinationInternetDestinationType] = None
|
|
2160
2103
|
|
|
@@ -2785,7 +2728,6 @@ class EnhancedSecurityMonitoring:
|
|
|
2785
2728
|
@dataclass
|
|
2786
2729
|
class EnhancedSecurityMonitoringSetting:
|
|
2787
2730
|
enhanced_security_monitoring_workspace: EnhancedSecurityMonitoring
|
|
2788
|
-
"""SHIELD feature: ESM"""
|
|
2789
2731
|
|
|
2790
2732
|
etag: Optional[str] = None
|
|
2791
2733
|
"""etag used for versioning. The response is at least as fresh as the eTag provided. This is used
|
|
@@ -2864,7 +2806,6 @@ class EsmEnablementAccount:
|
|
|
2864
2806
|
@dataclass
|
|
2865
2807
|
class EsmEnablementAccountSetting:
|
|
2866
2808
|
esm_enablement_account: EsmEnablementAccount
|
|
2867
|
-
"""Account level policy for ESM"""
|
|
2868
2809
|
|
|
2869
2810
|
etag: Optional[str] = None
|
|
2870
2811
|
"""etag used for versioning. The response is at least as fresh as the eTag provided. This is used
|
|
@@ -3049,7 +2990,6 @@ class FetchIpAccessListResponse:
|
|
|
3049
2990
|
"""An IP access list was successfully returned."""
|
|
3050
2991
|
|
|
3051
2992
|
ip_access_list: Optional[IpAccessListInfo] = None
|
|
3052
|
-
"""Definition of an IP Access list"""
|
|
3053
2993
|
|
|
3054
2994
|
def as_dict(self) -> dict:
|
|
3055
2995
|
"""Serializes the FetchIpAccessListResponse into a dictionary suitable for use as a JSON request body."""
|
|
@@ -3141,7 +3081,6 @@ class GenericWebhookConfig:
|
|
|
3141
3081
|
@dataclass
|
|
3142
3082
|
class GetIpAccessListResponse:
|
|
3143
3083
|
ip_access_list: Optional[IpAccessListInfo] = None
|
|
3144
|
-
"""Definition of an IP Access list"""
|
|
3145
3084
|
|
|
3146
3085
|
def as_dict(self) -> dict:
|
|
3147
3086
|
"""Serializes the GetIpAccessListResponse into a dictionary suitable for use as a JSON request body."""
|
|
@@ -3265,10 +3204,6 @@ class IpAccessListInfo:
|
|
|
3265
3204
|
"""Universally unique identifier (UUID) of the IP access list."""
|
|
3266
3205
|
|
|
3267
3206
|
list_type: Optional[ListType] = None
|
|
3268
|
-
"""Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
3269
|
-
|
|
3270
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
3271
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list."""
|
|
3272
3207
|
|
|
3273
3208
|
updated_at: Optional[int] = None
|
|
3274
3209
|
"""Update timestamp in milliseconds."""
|
|
@@ -4052,12 +3987,8 @@ class NccEgressDefaultRules:
|
|
|
4052
3987
|
"""Default rules don't have specific targets."""
|
|
4053
3988
|
|
|
4054
3989
|
aws_stable_ip_rule: Optional[NccAwsStableIpRule] = None
|
|
4055
|
-
"""The stable AWS IP CIDR blocks. You can use these to configure the firewall of your resources to
|
|
4056
|
-
allow traffic from your Databricks workspace."""
|
|
4057
3990
|
|
|
4058
3991
|
azure_service_endpoint_rule: Optional[NccAzureServiceEndpointRule] = None
|
|
4059
|
-
"""The stable Azure service endpoints. You can configure the firewall of your Azure resources to
|
|
4060
|
-
allow traffic from your Databricks serverless compute resources."""
|
|
4061
3992
|
|
|
4062
3993
|
def as_dict(self) -> dict:
|
|
4063
3994
|
"""Serializes the NccEgressDefaultRules into a dictionary suitable for use as a JSON request body."""
|
|
@@ -4533,11 +4464,6 @@ class PartitionId:
|
|
|
4533
4464
|
@dataclass
|
|
4534
4465
|
class PersonalComputeMessage:
|
|
4535
4466
|
value: PersonalComputeMessageEnum
|
|
4536
|
-
"""ON: Grants all users in all workspaces access to the Personal Compute default policy, allowing
|
|
4537
|
-
all users to create single-machine compute resources. DELEGATE: Moves access control for the
|
|
4538
|
-
Personal Compute default policy to individual workspaces and requires a workspace’s users or
|
|
4539
|
-
groups to be added to the ACLs of that workspace’s Personal Compute default policy before they
|
|
4540
|
-
will be able to create compute resources through that policy."""
|
|
4541
4467
|
|
|
4542
4468
|
def as_dict(self) -> dict:
|
|
4543
4469
|
"""Serializes the PersonalComputeMessage into a dictionary suitable for use as a JSON request body."""
|
|
@@ -4679,10 +4605,6 @@ class ReplaceIpAccessList:
|
|
|
4679
4605
|
"""Label for the IP access list. This **cannot** be empty."""
|
|
4680
4606
|
|
|
4681
4607
|
list_type: ListType
|
|
4682
|
-
"""Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
4683
|
-
|
|
4684
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
4685
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list."""
|
|
4686
4608
|
|
|
4687
4609
|
enabled: bool
|
|
4688
4610
|
"""Specifies whether this IP access list is enabled."""
|
|
@@ -5006,7 +4928,6 @@ class TokenAccessControlRequest:
|
|
|
5006
4928
|
"""name of the group"""
|
|
5007
4929
|
|
|
5008
4930
|
permission_level: Optional[TokenPermissionLevel] = None
|
|
5009
|
-
"""Permission level"""
|
|
5010
4931
|
|
|
5011
4932
|
service_principal_name: Optional[str] = None
|
|
5012
4933
|
"""application ID of a service principal"""
|
|
@@ -5208,7 +5129,6 @@ class TokenPermission:
|
|
|
5208
5129
|
inherited_from_object: Optional[List[str]] = None
|
|
5209
5130
|
|
|
5210
5131
|
permission_level: Optional[TokenPermissionLevel] = None
|
|
5211
|
-
"""Permission level"""
|
|
5212
5132
|
|
|
5213
5133
|
def as_dict(self) -> dict:
|
|
5214
5134
|
"""Serializes the TokenPermission into a dictionary suitable for use as a JSON request body."""
|
|
@@ -5293,7 +5213,6 @@ class TokenPermissionsDescription:
|
|
|
5293
5213
|
description: Optional[str] = None
|
|
5294
5214
|
|
|
5295
5215
|
permission_level: Optional[TokenPermissionLevel] = None
|
|
5296
|
-
"""Permission level"""
|
|
5297
5216
|
|
|
5298
5217
|
def as_dict(self) -> dict:
|
|
5299
5218
|
"""Serializes the TokenPermissionsDescription into a dictionary suitable for use as a JSON request body."""
|
|
@@ -5729,13 +5648,6 @@ class UpdateDefaultNamespaceSettingRequest:
|
|
|
5729
5648
|
"""This should always be set to true for Settings API. Added for AIP compliance."""
|
|
5730
5649
|
|
|
5731
5650
|
setting: DefaultNamespaceSetting
|
|
5732
|
-
"""This represents the setting configuration for the default namespace in the Databricks workspace.
|
|
5733
|
-
Setting the default catalog for the workspace determines the catalog that is used when queries
|
|
5734
|
-
do not reference a fully qualified 3 level name. For example, if the default catalog is set to
|
|
5735
|
-
'retail_prod' then a query 'SELECT * FROM myTable' would reference the object
|
|
5736
|
-
'retail_prod.default.myTable' (the schema 'default' is always assumed). This setting requires a
|
|
5737
|
-
restart of clusters and SQL warehouses to take effect. Additionally, the default namespace only
|
|
5738
|
-
applies when using Unity Catalog-enabled compute."""
|
|
5739
5651
|
|
|
5740
5652
|
field_mask: str
|
|
5741
5653
|
"""The field mask must be a single string, with multiple fields separated by commas (no spaces).
|
|
@@ -6212,10 +6124,6 @@ class UpdateIpAccessList:
|
|
|
6212
6124
|
"""Label for the IP access list. This **cannot** be empty."""
|
|
6213
6125
|
|
|
6214
6126
|
list_type: Optional[ListType] = None
|
|
6215
|
-
"""Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
6216
|
-
|
|
6217
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
6218
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list."""
|
|
6219
6127
|
|
|
6220
6128
|
def as_dict(self) -> dict:
|
|
6221
6129
|
"""Serializes the UpdateIpAccessList into a dictionary suitable for use as a JSON request body."""
|
|
@@ -6766,10 +6674,6 @@ class AccountIpAccessListsAPI:
|
|
|
6766
6674
|
:param label: str
|
|
6767
6675
|
Label for the IP access list. This **cannot** be empty.
|
|
6768
6676
|
:param list_type: :class:`ListType`
|
|
6769
|
-
Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
6770
|
-
|
|
6771
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
6772
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
6773
6677
|
:param ip_addresses: List[str] (optional)
|
|
6774
6678
|
|
|
6775
6679
|
:returns: :class:`CreateIpAccessListResponse`
|
|
@@ -6827,6 +6731,7 @@ class AccountIpAccessListsAPI:
|
|
|
6827
6731
|
def list(self) -> Iterator[IpAccessListInfo]:
|
|
6828
6732
|
"""Gets all IP access lists for the specified account.
|
|
6829
6733
|
|
|
6734
|
+
|
|
6830
6735
|
:returns: Iterator over :class:`IpAccessListInfo`
|
|
6831
6736
|
"""
|
|
6832
6737
|
|
|
@@ -6862,10 +6767,6 @@ class AccountIpAccessListsAPI:
|
|
|
6862
6767
|
:param label: str
|
|
6863
6768
|
Label for the IP access list. This **cannot** be empty.
|
|
6864
6769
|
:param list_type: :class:`ListType`
|
|
6865
|
-
Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
6866
|
-
|
|
6867
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
6868
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
6869
6770
|
:param enabled: bool
|
|
6870
6771
|
Specifies whether this IP access list is enabled.
|
|
6871
6772
|
:param ip_addresses: List[str] (optional)
|
|
@@ -6923,10 +6824,6 @@ class AccountIpAccessListsAPI:
|
|
|
6923
6824
|
:param label: str (optional)
|
|
6924
6825
|
Label for the IP access list. This **cannot** be empty.
|
|
6925
6826
|
:param list_type: :class:`ListType` (optional)
|
|
6926
|
-
Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
6927
|
-
|
|
6928
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
6929
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
6930
6827
|
|
|
6931
6828
|
|
|
6932
6829
|
"""
|
|
@@ -7656,13 +7553,6 @@ class DefaultNamespaceAPI:
|
|
|
7656
7553
|
:param allow_missing: bool
|
|
7657
7554
|
This should always be set to true for Settings API. Added for AIP compliance.
|
|
7658
7555
|
:param setting: :class:`DefaultNamespaceSetting`
|
|
7659
|
-
This represents the setting configuration for the default namespace in the Databricks workspace.
|
|
7660
|
-
Setting the default catalog for the workspace determines the catalog that is used when queries do
|
|
7661
|
-
not reference a fully qualified 3 level name. For example, if the default catalog is set to
|
|
7662
|
-
'retail_prod' then a query 'SELECT * FROM myTable' would reference the object
|
|
7663
|
-
'retail_prod.default.myTable' (the schema 'default' is always assumed). This setting requires a
|
|
7664
|
-
restart of clusters and SQL warehouses to take effect. Additionally, the default namespace only
|
|
7665
|
-
applies when using Unity Catalog-enabled compute.
|
|
7666
7556
|
:param field_mask: str
|
|
7667
7557
|
The field mask must be a single string, with multiple fields separated by commas (no spaces). The
|
|
7668
7558
|
field path is relative to the resource object, using a dot (`.`) to navigate sub-fields (e.g.,
|
|
@@ -8007,6 +7897,7 @@ class EnableExportNotebookAPI:
|
|
|
8007
7897
|
def get_enable_export_notebook(self) -> EnableExportNotebook:
|
|
8008
7898
|
"""Gets the Notebook and File exporting setting.
|
|
8009
7899
|
|
|
7900
|
+
|
|
8010
7901
|
:returns: :class:`EnableExportNotebook`
|
|
8011
7902
|
"""
|
|
8012
7903
|
|
|
@@ -8170,6 +8061,7 @@ class EnableNotebookTableClipboardAPI:
|
|
|
8170
8061
|
def get_enable_notebook_table_clipboard(self) -> EnableNotebookTableClipboard:
|
|
8171
8062
|
"""Gets the Results Table Clipboard features setting.
|
|
8172
8063
|
|
|
8064
|
+
|
|
8173
8065
|
:returns: :class:`EnableNotebookTableClipboard`
|
|
8174
8066
|
"""
|
|
8175
8067
|
|
|
@@ -8231,6 +8123,7 @@ class EnableResultsDownloadingAPI:
|
|
|
8231
8123
|
def get_enable_results_downloading(self) -> EnableResultsDownloading:
|
|
8232
8124
|
"""Gets the Notebook results download setting.
|
|
8233
8125
|
|
|
8126
|
+
|
|
8234
8127
|
:returns: :class:`EnableResultsDownloading`
|
|
8235
8128
|
"""
|
|
8236
8129
|
|
|
@@ -8480,10 +8373,6 @@ class IpAccessListsAPI:
|
|
|
8480
8373
|
:param label: str
|
|
8481
8374
|
Label for the IP access list. This **cannot** be empty.
|
|
8482
8375
|
:param list_type: :class:`ListType`
|
|
8483
|
-
Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
8484
|
-
|
|
8485
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
8486
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
8487
8376
|
:param ip_addresses: List[str] (optional)
|
|
8488
8377
|
|
|
8489
8378
|
:returns: :class:`CreateIpAccessListResponse`
|
|
@@ -8535,6 +8424,7 @@ class IpAccessListsAPI:
|
|
|
8535
8424
|
def list(self) -> Iterator[IpAccessListInfo]:
|
|
8536
8425
|
"""Gets all IP access lists for the specified workspace.
|
|
8537
8426
|
|
|
8427
|
+
|
|
8538
8428
|
:returns: Iterator over :class:`IpAccessListInfo`
|
|
8539
8429
|
"""
|
|
8540
8430
|
|
|
@@ -8571,10 +8461,6 @@ class IpAccessListsAPI:
|
|
|
8571
8461
|
:param label: str
|
|
8572
8462
|
Label for the IP access list. This **cannot** be empty.
|
|
8573
8463
|
:param list_type: :class:`ListType`
|
|
8574
|
-
Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
8575
|
-
|
|
8576
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
8577
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
8578
8464
|
:param enabled: bool
|
|
8579
8465
|
Specifies whether this IP access list is enabled.
|
|
8580
8466
|
:param ip_addresses: List[str] (optional)
|
|
@@ -8628,10 +8514,6 @@ class IpAccessListsAPI:
|
|
|
8628
8514
|
:param label: str (optional)
|
|
8629
8515
|
Label for the IP access list. This **cannot** be empty.
|
|
8630
8516
|
:param list_type: :class:`ListType` (optional)
|
|
8631
|
-
Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
8632
|
-
|
|
8633
|
-
* `ALLOW`: An allow list. Include this IP or range. * `BLOCK`: A block list. Exclude this IP or
|
|
8634
|
-
range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
8635
8517
|
|
|
8636
8518
|
|
|
8637
8519
|
"""
|
|
@@ -8928,7 +8810,6 @@ class NetworkConnectivityAPI:
|
|
|
8928
8810
|
[configure serverless secure connectivity]: https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security
|
|
8929
8811
|
|
|
8930
8812
|
:param network_connectivity_config: :class:`CreateNetworkConnectivityConfiguration`
|
|
8931
|
-
Properties of the new network connectivity configuration.
|
|
8932
8813
|
|
|
8933
8814
|
:returns: :class:`NetworkConnectivityConfiguration`
|
|
8934
8815
|
"""
|
|
@@ -8959,8 +8840,6 @@ class NetworkConnectivityAPI:
|
|
|
8959
8840
|
:param network_connectivity_config_id: str
|
|
8960
8841
|
Your Network Connectivity Configuration ID.
|
|
8961
8842
|
:param private_endpoint_rule: :class:`CreatePrivateEndpointRule`
|
|
8962
|
-
Properties of the new private endpoint rule. Note that you must approve the endpoint in Azure portal
|
|
8963
|
-
after initialization.
|
|
8964
8843
|
|
|
8965
8844
|
:returns: :class:`NccPrivateEndpointRule`
|
|
8966
8845
|
"""
|
|
@@ -9152,8 +9031,6 @@ class NetworkConnectivityAPI:
|
|
|
9152
9031
|
:param private_endpoint_rule_id: str
|
|
9153
9032
|
Your private endpoint rule ID.
|
|
9154
9033
|
:param private_endpoint_rule: :class:`UpdatePrivateEndpointRule`
|
|
9155
|
-
Properties of the new private endpoint rule. Note that you must approve the endpoint in Azure portal
|
|
9156
|
-
after initialization.
|
|
9157
9034
|
:param update_mask: str
|
|
9158
9035
|
The field mask must be a single string, with multiple fields separated by commas (no spaces). The
|
|
9159
9036
|
field path is relative to the resource object, using a dot (`.`) to navigate sub-fields (e.g.,
|
|
@@ -9198,6 +9075,7 @@ class NetworkPoliciesAPI:
|
|
|
9198
9075
|
environment.
|
|
9199
9076
|
|
|
9200
9077
|
:param network_policy: :class:`AccountNetworkPolicy`
|
|
9078
|
+
Network policy configuration details.
|
|
9201
9079
|
|
|
9202
9080
|
:returns: :class:`AccountNetworkPolicy`
|
|
9203
9081
|
"""
|
|
@@ -9282,6 +9160,7 @@ class NetworkPoliciesAPI:
|
|
|
9282
9160
|
:param network_policy_id: str
|
|
9283
9161
|
The unique identifier for the network policy.
|
|
9284
9162
|
:param network_policy: :class:`AccountNetworkPolicy`
|
|
9163
|
+
Updated network policy configuration details.
|
|
9285
9164
|
|
|
9286
9165
|
:returns: :class:`AccountNetworkPolicy`
|
|
9287
9166
|
"""
|
|
@@ -9896,6 +9775,7 @@ class TokenManagementAPI:
|
|
|
9896
9775
|
def get_permission_levels(self) -> GetTokenPermissionLevelsResponse:
|
|
9897
9776
|
"""Gets the permission levels that a user can have on an object.
|
|
9898
9777
|
|
|
9778
|
+
|
|
9899
9779
|
:returns: :class:`GetTokenPermissionLevelsResponse`
|
|
9900
9780
|
"""
|
|
9901
9781
|
|
|
@@ -9909,6 +9789,7 @@ class TokenManagementAPI:
|
|
|
9909
9789
|
def get_permissions(self) -> TokenPermissions:
|
|
9910
9790
|
"""Gets the permissions of all tokens. Tokens can inherit permissions from their root object.
|
|
9911
9791
|
|
|
9792
|
+
|
|
9912
9793
|
:returns: :class:`TokenPermissions`
|
|
9913
9794
|
"""
|
|
9914
9795
|
|
|
@@ -10044,6 +9925,7 @@ class TokensAPI:
|
|
|
10044
9925
|
def list(self) -> Iterator[PublicTokenInfo]:
|
|
10045
9926
|
"""Lists all the valid tokens for a user-workspace pair.
|
|
10046
9927
|
|
|
9928
|
+
|
|
10047
9929
|
:returns: Iterator over :class:`PublicTokenInfo`
|
|
10048
9930
|
"""
|
|
10049
9931
|
|
|
@@ -10128,6 +10010,7 @@ class WorkspaceNetworkConfigurationAPI:
|
|
|
10128
10010
|
:param workspace_id: int
|
|
10129
10011
|
The workspace ID.
|
|
10130
10012
|
:param workspace_network_option: :class:`WorkspaceNetworkOption`
|
|
10013
|
+
The network option details for the workspace.
|
|
10131
10014
|
|
|
10132
10015
|
:returns: :class:`WorkspaceNetworkOption`
|
|
10133
10016
|
"""
|