pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.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.
Files changed (159) hide show
  1. pulumi_databricks/__init__.py +129 -46
  2. pulumi_databricks/_inputs.py +13377 -13798
  3. pulumi_databricks/account_federation_policy.py +473 -0
  4. pulumi_databricks/account_network_policy.py +12 -4
  5. pulumi_databricks/account_setting_v2.py +759 -0
  6. pulumi_databricks/alert_v2.py +223 -90
  7. pulumi_databricks/app.py +111 -4
  8. pulumi_databricks/apps_settings_custom_template.py +531 -0
  9. pulumi_databricks/budget_policy.py +28 -5
  10. pulumi_databricks/catalog.py +322 -2
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/config/__init__.pyi +2 -0
  13. pulumi_databricks/config/vars.py +4 -0
  14. pulumi_databricks/connection.py +0 -34
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +8 -4
  18. pulumi_databricks/database_instance.py +354 -73
  19. pulumi_databricks/database_synced_database_table.py +52 -4
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +409 -0
  22. pulumi_databricks/external_metadata.py +15 -11
  23. pulumi_databricks/feature_engineering_feature.py +480 -0
  24. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  25. pulumi_databricks/get_account_federation_policies.py +127 -0
  26. pulumi_databricks/get_account_federation_policy.py +214 -0
  27. pulumi_databricks/get_account_network_policies.py +4 -0
  28. pulumi_databricks/get_account_network_policy.py +17 -18
  29. pulumi_databricks/get_account_setting_v2.py +331 -0
  30. pulumi_databricks/get_alert_v2.py +78 -70
  31. pulumi_databricks/get_alerts_v2.py +31 -12
  32. pulumi_databricks/get_app.py +21 -9
  33. pulumi_databricks/get_apps.py +22 -10
  34. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  35. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  36. pulumi_databricks/get_aws_bucket_policy.py +6 -6
  37. pulumi_databricks/get_budget_policies.py +70 -6
  38. pulumi_databricks/get_budget_policy.py +35 -30
  39. pulumi_databricks/get_catalog.py +21 -4
  40. pulumi_databricks/get_catalogs.py +23 -4
  41. pulumi_databricks/get_cluster.py +21 -4
  42. pulumi_databricks/get_cluster_policy.py +23 -4
  43. pulumi_databricks/get_clusters.py +21 -4
  44. pulumi_databricks/get_current_metastore.py +21 -4
  45. pulumi_databricks/get_dashboards.py +24 -4
  46. pulumi_databricks/get_data_quality_monitor.py +210 -0
  47. pulumi_databricks/get_data_quality_monitors.py +143 -0
  48. pulumi_databricks/get_data_quality_refresh.py +270 -0
  49. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  50. pulumi_databricks/get_database_database_catalog.py +6 -20
  51. pulumi_databricks/get_database_database_catalogs.py +46 -8
  52. pulumi_databricks/get_database_instance.py +122 -75
  53. pulumi_databricks/get_database_instances.py +31 -6
  54. pulumi_databricks/get_database_synced_database_table.py +7 -28
  55. pulumi_databricks/get_database_synced_database_tables.py +43 -5
  56. pulumi_databricks/get_directory.py +20 -1
  57. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  58. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  59. pulumi_databricks/get_external_location.py +21 -4
  60. pulumi_databricks/get_external_locations.py +23 -4
  61. pulumi_databricks/get_external_metadata.py +12 -50
  62. pulumi_databricks/get_external_metadatas.py +55 -6
  63. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  64. pulumi_databricks/get_feature_engineering_features.py +103 -0
  65. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  66. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  67. pulumi_databricks/get_functions.py +16 -1
  68. pulumi_databricks/get_instance_profiles.py +21 -4
  69. pulumi_databricks/get_jobs.py +23 -4
  70. pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
  71. pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
  72. pulumi_databricks/get_metastore.py +2 -2
  73. pulumi_databricks/get_mlflow_experiment.py +18 -1
  74. pulumi_databricks/get_mlflow_model.py +18 -1
  75. pulumi_databricks/get_mlflow_models.py +23 -4
  76. pulumi_databricks/get_node_type.py +42 -5
  77. pulumi_databricks/get_notification_destinations.py +17 -1
  78. pulumi_databricks/get_online_store.py +7 -17
  79. pulumi_databricks/get_online_stores.py +29 -8
  80. pulumi_databricks/get_pipelines.py +23 -4
  81. pulumi_databricks/get_policy_info.py +28 -99
  82. pulumi_databricks/get_policy_infos.py +92 -5
  83. pulumi_databricks/get_quality_monitor_v2.py +4 -0
  84. pulumi_databricks/get_quality_monitors_v2.py +22 -3
  85. pulumi_databricks/get_registered_model.py +19 -4
  86. pulumi_databricks/get_registered_model_versions.py +19 -4
  87. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  88. pulumi_databricks/get_schema.py +18 -1
  89. pulumi_databricks/get_schemas.py +23 -4
  90. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  91. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  92. pulumi_databricks/get_serving_endpoints.py +19 -4
  93. pulumi_databricks/get_share.py +117 -18
  94. pulumi_databricks/get_shares.py +22 -3
  95. pulumi_databricks/get_spark_version.py +20 -1
  96. pulumi_databricks/get_sql_warehouse.py +16 -1
  97. pulumi_databricks/get_sql_warehouses.py +20 -1
  98. pulumi_databricks/get_storage_credential.py +18 -1
  99. pulumi_databricks/get_storage_credentials.py +23 -4
  100. pulumi_databricks/get_table.py +18 -1
  101. pulumi_databricks/get_tables.py +20 -1
  102. pulumi_databricks/get_tag_policies.py +139 -0
  103. pulumi_databricks/get_tag_policy.py +175 -0
  104. pulumi_databricks/get_views.py +20 -1
  105. pulumi_databricks/get_volume.py +18 -1
  106. pulumi_databricks/get_volumes.py +20 -1
  107. pulumi_databricks/get_workspace_network_option.py +8 -16
  108. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  109. pulumi_databricks/get_zones.py +20 -1
  110. pulumi_databricks/git_credential.py +54 -7
  111. pulumi_databricks/grant.py +2 -2
  112. pulumi_databricks/group.py +21 -21
  113. pulumi_databricks/job.py +47 -0
  114. pulumi_databricks/library.py +165 -0
  115. pulumi_databricks/materialized_features_feature_tag.py +8 -4
  116. pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
  117. pulumi_databricks/mws_permission_assignment.py +16 -16
  118. pulumi_databricks/mws_storage_configurations.py +6 -6
  119. pulumi_databricks/mws_workspaces.py +76 -29
  120. pulumi_databricks/online_store.py +8 -4
  121. pulumi_databricks/outputs.py +26397 -22382
  122. pulumi_databricks/permission_assignment.py +266 -24
  123. pulumi_databricks/pipeline.py +37 -3
  124. pulumi_databricks/policy_info.py +43 -39
  125. pulumi_databricks/provider.py +15 -0
  126. pulumi_databricks/pulumi-plugin.json +1 -1
  127. pulumi_databricks/quality_monitor.py +47 -0
  128. pulumi_databricks/quality_monitor_v2.py +8 -4
  129. pulumi_databricks/registered_model.py +301 -29
  130. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  131. pulumi_databricks/service_principal_federation_policy.py +469 -0
  132. pulumi_databricks/share.py +71 -84
  133. pulumi_databricks/sql_endpoint.py +47 -0
  134. pulumi_databricks/sql_table.py +35 -7
  135. pulumi_databricks/storage_credential.py +59 -6
  136. pulumi_databricks/tag_policy.py +357 -0
  137. pulumi_databricks/user.py +21 -21
  138. pulumi_databricks/workspace_binding.py +0 -48
  139. pulumi_databricks/workspace_network_option.py +8 -4
  140. pulumi_databricks/workspace_setting_v2.py +759 -0
  141. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  142. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  143. pulumi_databricks/clean_room_asset.py +0 -891
  144. pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
  145. pulumi_databricks/clean_rooms_clean_room.py +0 -518
  146. pulumi_databricks/get_clean_room_asset.py +0 -399
  147. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
  148. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
  149. pulumi_databricks/get_clean_room_assets.py +0 -104
  150. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
  151. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
  152. pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
  153. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
  154. pulumi_databricks/get_recipient_federation_policies.py +0 -82
  155. pulumi_databricks/get_recipient_federation_policy.py +0 -165
  156. pulumi_databricks/recipient_federation_policy.py +0 -346
  157. pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
  158. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  159. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
@@ -14,7 +14,6 @@ else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
16
  from . import outputs
17
- from ._inputs import *
18
17
 
19
18
  __all__ = [
20
19
  'GetDatabaseInstanceResult',
@@ -28,7 +27,7 @@ class GetDatabaseInstanceResult:
28
27
  """
29
28
  A collection of values returned by getDatabaseInstance.
30
29
  """
31
- def __init__(__self__, capacity=None, child_instance_refs=None, creation_time=None, creator=None, effective_enable_readable_secondaries=None, effective_node_count=None, effective_retention_window_in_days=None, effective_stopped=None, enable_readable_secondaries=None, id=None, name=None, node_count=None, parent_instance_ref=None, pg_version=None, read_only_dns=None, read_write_dns=None, retention_window_in_days=None, state=None, stopped=None, uid=None):
30
+ def __init__(__self__, capacity=None, child_instance_refs=None, creation_time=None, creator=None, custom_tags=None, effective_capacity=None, effective_custom_tags=None, effective_enable_pg_native_login=None, effective_enable_readable_secondaries=None, effective_node_count=None, effective_retention_window_in_days=None, effective_stopped=None, effective_usage_policy_id=None, enable_pg_native_login=None, enable_readable_secondaries=None, id=None, name=None, node_count=None, parent_instance_ref=None, pg_version=None, read_only_dns=None, read_write_dns=None, retention_window_in_days=None, state=None, stopped=None, uid=None, usage_policy_id=None):
32
31
  if capacity and not isinstance(capacity, str):
33
32
  raise TypeError("Expected argument 'capacity' to be a str")
34
33
  pulumi.set(__self__, "capacity", capacity)
@@ -41,6 +40,18 @@ class GetDatabaseInstanceResult:
41
40
  if creator and not isinstance(creator, str):
42
41
  raise TypeError("Expected argument 'creator' to be a str")
43
42
  pulumi.set(__self__, "creator", creator)
43
+ if custom_tags and not isinstance(custom_tags, list):
44
+ raise TypeError("Expected argument 'custom_tags' to be a list")
45
+ pulumi.set(__self__, "custom_tags", custom_tags)
46
+ if effective_capacity and not isinstance(effective_capacity, str):
47
+ raise TypeError("Expected argument 'effective_capacity' to be a str")
48
+ pulumi.set(__self__, "effective_capacity", effective_capacity)
49
+ if effective_custom_tags and not isinstance(effective_custom_tags, list):
50
+ raise TypeError("Expected argument 'effective_custom_tags' to be a list")
51
+ pulumi.set(__self__, "effective_custom_tags", effective_custom_tags)
52
+ if effective_enable_pg_native_login and not isinstance(effective_enable_pg_native_login, bool):
53
+ raise TypeError("Expected argument 'effective_enable_pg_native_login' to be a bool")
54
+ pulumi.set(__self__, "effective_enable_pg_native_login", effective_enable_pg_native_login)
44
55
  if effective_enable_readable_secondaries and not isinstance(effective_enable_readable_secondaries, bool):
45
56
  raise TypeError("Expected argument 'effective_enable_readable_secondaries' to be a bool")
46
57
  pulumi.set(__self__, "effective_enable_readable_secondaries", effective_enable_readable_secondaries)
@@ -53,6 +64,12 @@ class GetDatabaseInstanceResult:
53
64
  if effective_stopped and not isinstance(effective_stopped, bool):
54
65
  raise TypeError("Expected argument 'effective_stopped' to be a bool")
55
66
  pulumi.set(__self__, "effective_stopped", effective_stopped)
67
+ if effective_usage_policy_id and not isinstance(effective_usage_policy_id, str):
68
+ raise TypeError("Expected argument 'effective_usage_policy_id' to be a str")
69
+ pulumi.set(__self__, "effective_usage_policy_id", effective_usage_policy_id)
70
+ if enable_pg_native_login and not isinstance(enable_pg_native_login, bool):
71
+ raise TypeError("Expected argument 'enable_pg_native_login' to be a bool")
72
+ pulumi.set(__self__, "enable_pg_native_login", enable_pg_native_login)
56
73
  if enable_readable_secondaries and not isinstance(enable_readable_secondaries, bool):
57
74
  raise TypeError("Expected argument 'enable_readable_secondaries' to be a bool")
58
75
  pulumi.set(__self__, "enable_readable_secondaries", enable_readable_secondaries)
@@ -89,10 +106,13 @@ class GetDatabaseInstanceResult:
89
106
  if uid and not isinstance(uid, str):
90
107
  raise TypeError("Expected argument 'uid' to be a str")
91
108
  pulumi.set(__self__, "uid", uid)
109
+ if usage_policy_id and not isinstance(usage_policy_id, str):
110
+ raise TypeError("Expected argument 'usage_policy_id' to be a str")
111
+ pulumi.set(__self__, "usage_policy_id", usage_policy_id)
92
112
 
93
113
  @_builtins.property
94
114
  @pulumi.getter
95
- def capacity(self) -> Optional[_builtins.str]:
115
+ def capacity(self) -> _builtins.str:
96
116
  """
97
117
  (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
98
118
  """
@@ -123,13 +143,43 @@ class GetDatabaseInstanceResult:
123
143
  """
124
144
  return pulumi.get(self, "creator")
125
145
 
146
+ @_builtins.property
147
+ @pulumi.getter(name="customTags")
148
+ def custom_tags(self) -> Sequence['outputs.GetDatabaseInstanceCustomTagResult']:
149
+ """
150
+ (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
151
+ """
152
+ return pulumi.get(self, "custom_tags")
153
+
154
+ @_builtins.property
155
+ @pulumi.getter(name="effectiveCapacity")
156
+ def effective_capacity(self) -> _builtins.str:
157
+ """
158
+ (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
159
+ """
160
+ return pulumi.get(self, "effective_capacity")
161
+
162
+ @_builtins.property
163
+ @pulumi.getter(name="effectiveCustomTags")
164
+ def effective_custom_tags(self) -> Sequence['outputs.GetDatabaseInstanceEffectiveCustomTagResult']:
165
+ """
166
+ (list of CustomTag) - The recorded custom tags associated with the instance
167
+ """
168
+ return pulumi.get(self, "effective_custom_tags")
169
+
170
+ @_builtins.property
171
+ @pulumi.getter(name="effectiveEnablePgNativeLogin")
172
+ def effective_enable_pg_native_login(self) -> _builtins.bool:
173
+ """
174
+ (boolean) - Whether the instance has PG native password login enabled
175
+ """
176
+ return pulumi.get(self, "effective_enable_pg_native_login")
177
+
126
178
  @_builtins.property
127
179
  @pulumi.getter(name="effectiveEnableReadableSecondaries")
128
180
  def effective_enable_readable_secondaries(self) -> _builtins.bool:
129
181
  """
130
- (boolean) - xref AIP-129. `enable_readable_secondaries` is owned by the client, while `effective_enable_readable_secondaries` is owned by the server.
131
- `enable_readable_secondaries` will only be set in Create/Update response messages if and only if the user provides the field via the request.
132
- `effective_enable_readable_secondaries` on the other hand will always bet set in all response messages (Create/Update/Get/List)
182
+ (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
133
183
  """
134
184
  return pulumi.get(self, "effective_enable_readable_secondaries")
135
185
 
@@ -137,9 +187,8 @@ class GetDatabaseInstanceResult:
137
187
  @pulumi.getter(name="effectiveNodeCount")
138
188
  def effective_node_count(self) -> _builtins.int:
139
189
  """
140
- (integer) - xref AIP-129. `node_count` is owned by the client, while `effective_node_count` is owned by the server.
141
- `node_count` will only be set in Create/Update response messages if and only if the user provides the field via the request.
142
- `effective_node_count` on the other hand will always bet set in all response messages (Create/Update/Get/List)
190
+ (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
191
+ 1 primary and 0 secondaries
143
192
  """
144
193
  return pulumi.get(self, "effective_node_count")
145
194
 
@@ -147,9 +196,8 @@ class GetDatabaseInstanceResult:
147
196
  @pulumi.getter(name="effectiveRetentionWindowInDays")
148
197
  def effective_retention_window_in_days(self) -> _builtins.int:
149
198
  """
150
- (integer) - xref AIP-129. `retention_window_in_days` is owned by the client, while `effective_retention_window_in_days` is owned by the server.
151
- `retention_window_in_days` will only be set in Create/Update response messages if and only if the user provides the field via the request.
152
- `effective_retention_window_in_days` on the other hand will always bet set in all response messages (Create/Update/Get/List)
199
+ (integer) - The retention window for the instance. This is the time window in days
200
+ for which the historical data is retained
153
201
  """
154
202
  return pulumi.get(self, "effective_retention_window_in_days")
155
203
 
@@ -157,15 +205,29 @@ class GetDatabaseInstanceResult:
157
205
  @pulumi.getter(name="effectiveStopped")
158
206
  def effective_stopped(self) -> _builtins.bool:
159
207
  """
160
- (boolean) - xref AIP-129. `stopped` is owned by the client, while `effective_stopped` is owned by the server.
161
- `stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
162
- `effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
208
+ (boolean) - Whether the instance is stopped
163
209
  """
164
210
  return pulumi.get(self, "effective_stopped")
165
211
 
212
+ @_builtins.property
213
+ @pulumi.getter(name="effectiveUsagePolicyId")
214
+ def effective_usage_policy_id(self) -> _builtins.str:
215
+ """
216
+ (string) - The policy that is applied to the instance
217
+ """
218
+ return pulumi.get(self, "effective_usage_policy_id")
219
+
220
+ @_builtins.property
221
+ @pulumi.getter(name="enablePgNativeLogin")
222
+ def enable_pg_native_login(self) -> _builtins.bool:
223
+ """
224
+ (boolean) - Whether to enable PG native password login on the instance. Defaults to false
225
+ """
226
+ return pulumi.get(self, "enable_pg_native_login")
227
+
166
228
  @_builtins.property
167
229
  @pulumi.getter(name="enableReadableSecondaries")
168
- def enable_readable_secondaries(self) -> Optional[_builtins.bool]:
230
+ def enable_readable_secondaries(self) -> _builtins.bool:
169
231
  """
170
232
  (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
171
233
  """
@@ -189,16 +251,16 @@ class GetDatabaseInstanceResult:
189
251
 
190
252
  @_builtins.property
191
253
  @pulumi.getter(name="nodeCount")
192
- def node_count(self) -> Optional[_builtins.int]:
254
+ def node_count(self) -> _builtins.int:
193
255
  """
194
256
  (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
195
- 1 primary and 0 secondaries
257
+ 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
196
258
  """
197
259
  return pulumi.get(self, "node_count")
198
260
 
199
261
  @_builtins.property
200
262
  @pulumi.getter(name="parentInstanceRef")
201
- def parent_instance_ref(self) -> Optional['outputs.GetDatabaseInstanceParentInstanceRefResult']:
263
+ def parent_instance_ref(self) -> 'outputs.GetDatabaseInstanceParentInstanceRefResult':
202
264
  """
203
265
  (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
204
266
  child instance.
@@ -234,7 +296,7 @@ class GetDatabaseInstanceResult:
234
296
 
235
297
  @_builtins.property
236
298
  @pulumi.getter(name="retentionWindowInDays")
237
- def retention_window_in_days(self) -> Optional[_builtins.int]:
299
+ def retention_window_in_days(self) -> _builtins.int:
238
300
  """
239
301
  (integer) - The retention window for the instance. This is the time window in days
240
302
  for which the historical data is retained. The default value is 7 days.
@@ -252,9 +314,9 @@ class GetDatabaseInstanceResult:
252
314
 
253
315
  @_builtins.property
254
316
  @pulumi.getter
255
- def stopped(self) -> Optional[_builtins.bool]:
317
+ def stopped(self) -> _builtins.bool:
256
318
  """
257
- (boolean) - Whether the instance is stopped
319
+ (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
258
320
  """
259
321
  return pulumi.get(self, "stopped")
260
322
 
@@ -266,6 +328,14 @@ class GetDatabaseInstanceResult:
266
328
  """
267
329
  return pulumi.get(self, "uid")
268
330
 
331
+ @_builtins.property
332
+ @pulumi.getter(name="usagePolicyId")
333
+ def usage_policy_id(self) -> _builtins.str:
334
+ """
335
+ (string) - The desired usage policy to associate with the instance
336
+ """
337
+ return pulumi.get(self, "usage_policy_id")
338
+
269
339
 
270
340
  class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
271
341
  # pylint: disable=using-constant-test
@@ -277,10 +347,16 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
277
347
  child_instance_refs=self.child_instance_refs,
278
348
  creation_time=self.creation_time,
279
349
  creator=self.creator,
350
+ custom_tags=self.custom_tags,
351
+ effective_capacity=self.effective_capacity,
352
+ effective_custom_tags=self.effective_custom_tags,
353
+ effective_enable_pg_native_login=self.effective_enable_pg_native_login,
280
354
  effective_enable_readable_secondaries=self.effective_enable_readable_secondaries,
281
355
  effective_node_count=self.effective_node_count,
282
356
  effective_retention_window_in_days=self.effective_retention_window_in_days,
283
357
  effective_stopped=self.effective_stopped,
358
+ effective_usage_policy_id=self.effective_usage_policy_id,
359
+ enable_pg_native_login=self.enable_pg_native_login,
284
360
  enable_readable_secondaries=self.enable_readable_secondaries,
285
361
  id=self.id,
286
362
  name=self.name,
@@ -292,18 +368,15 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
292
368
  retention_window_in_days=self.retention_window_in_days,
293
369
  state=self.state,
294
370
  stopped=self.stopped,
295
- uid=self.uid)
371
+ uid=self.uid,
372
+ usage_policy_id=self.usage_policy_id)
296
373
 
297
374
 
298
- def get_database_instance(capacity: Optional[_builtins.str] = None,
299
- enable_readable_secondaries: Optional[_builtins.bool] = None,
300
- name: Optional[_builtins.str] = None,
301
- node_count: Optional[_builtins.int] = None,
302
- parent_instance_ref: Optional[Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict']] = None,
303
- retention_window_in_days: Optional[_builtins.int] = None,
304
- stopped: Optional[_builtins.bool] = None,
375
+ def get_database_instance(name: Optional[_builtins.str] = None,
305
376
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstanceResult:
306
377
  """
378
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
379
+
307
380
  This data source can be used to get a single Database Instance.
308
381
 
309
382
  ## Example Usage
@@ -318,28 +391,10 @@ def get_database_instance(capacity: Optional[_builtins.str] = None,
318
391
  ```
319
392
 
320
393
 
321
- :param _builtins.str capacity: (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
322
- :param _builtins.bool enable_readable_secondaries: (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
323
394
  :param _builtins.str name: The name of the instance. This is the unique identifier for the instance
324
- :param _builtins.int node_count: (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
325
- 1 primary and 0 secondaries
326
- :param Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict'] parent_instance_ref: (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
327
- child instance.
328
- Input: For specifying the parent instance to create a child instance. Optional.
329
- Output: Only populated if provided as input to create a child instance
330
- :param _builtins.int retention_window_in_days: (integer) - The retention window for the instance. This is the time window in days
331
- for which the historical data is retained. The default value is 7 days.
332
- Valid values are 2 to 35 days
333
- :param _builtins.bool stopped: (boolean) - Whether the instance is stopped
334
395
  """
335
396
  __args__ = dict()
336
- __args__['capacity'] = capacity
337
- __args__['enableReadableSecondaries'] = enable_readable_secondaries
338
397
  __args__['name'] = name
339
- __args__['nodeCount'] = node_count
340
- __args__['parentInstanceRef'] = parent_instance_ref
341
- __args__['retentionWindowInDays'] = retention_window_in_days
342
- __args__['stopped'] = stopped
343
398
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
344
399
  __ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult).value
345
400
 
@@ -348,10 +403,16 @@ def get_database_instance(capacity: Optional[_builtins.str] = None,
348
403
  child_instance_refs=pulumi.get(__ret__, 'child_instance_refs'),
349
404
  creation_time=pulumi.get(__ret__, 'creation_time'),
350
405
  creator=pulumi.get(__ret__, 'creator'),
406
+ custom_tags=pulumi.get(__ret__, 'custom_tags'),
407
+ effective_capacity=pulumi.get(__ret__, 'effective_capacity'),
408
+ effective_custom_tags=pulumi.get(__ret__, 'effective_custom_tags'),
409
+ effective_enable_pg_native_login=pulumi.get(__ret__, 'effective_enable_pg_native_login'),
351
410
  effective_enable_readable_secondaries=pulumi.get(__ret__, 'effective_enable_readable_secondaries'),
352
411
  effective_node_count=pulumi.get(__ret__, 'effective_node_count'),
353
412
  effective_retention_window_in_days=pulumi.get(__ret__, 'effective_retention_window_in_days'),
354
413
  effective_stopped=pulumi.get(__ret__, 'effective_stopped'),
414
+ effective_usage_policy_id=pulumi.get(__ret__, 'effective_usage_policy_id'),
415
+ enable_pg_native_login=pulumi.get(__ret__, 'enable_pg_native_login'),
355
416
  enable_readable_secondaries=pulumi.get(__ret__, 'enable_readable_secondaries'),
356
417
  id=pulumi.get(__ret__, 'id'),
357
418
  name=pulumi.get(__ret__, 'name'),
@@ -363,16 +424,13 @@ def get_database_instance(capacity: Optional[_builtins.str] = None,
363
424
  retention_window_in_days=pulumi.get(__ret__, 'retention_window_in_days'),
364
425
  state=pulumi.get(__ret__, 'state'),
365
426
  stopped=pulumi.get(__ret__, 'stopped'),
366
- uid=pulumi.get(__ret__, 'uid'))
367
- def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
368
- enable_readable_secondaries: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
369
- name: Optional[pulumi.Input[_builtins.str]] = None,
370
- node_count: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
371
- parent_instance_ref: Optional[pulumi.Input[Optional[Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict']]]] = None,
372
- retention_window_in_days: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
373
- stopped: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
427
+ uid=pulumi.get(__ret__, 'uid'),
428
+ usage_policy_id=pulumi.get(__ret__, 'usage_policy_id'))
429
+ def get_database_instance_output(name: Optional[pulumi.Input[_builtins.str]] = None,
374
430
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
375
431
  """
432
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
433
+
376
434
  This data source can be used to get a single Database Instance.
377
435
 
378
436
  ## Example Usage
@@ -387,28 +445,10 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_built
387
445
  ```
388
446
 
389
447
 
390
- :param _builtins.str capacity: (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
391
- :param _builtins.bool enable_readable_secondaries: (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
392
448
  :param _builtins.str name: The name of the instance. This is the unique identifier for the instance
393
- :param _builtins.int node_count: (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
394
- 1 primary and 0 secondaries
395
- :param Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict'] parent_instance_ref: (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
396
- child instance.
397
- Input: For specifying the parent instance to create a child instance. Optional.
398
- Output: Only populated if provided as input to create a child instance
399
- :param _builtins.int retention_window_in_days: (integer) - The retention window for the instance. This is the time window in days
400
- for which the historical data is retained. The default value is 7 days.
401
- Valid values are 2 to 35 days
402
- :param _builtins.bool stopped: (boolean) - Whether the instance is stopped
403
449
  """
404
450
  __args__ = dict()
405
- __args__['capacity'] = capacity
406
- __args__['enableReadableSecondaries'] = enable_readable_secondaries
407
451
  __args__['name'] = name
408
- __args__['nodeCount'] = node_count
409
- __args__['parentInstanceRef'] = parent_instance_ref
410
- __args__['retentionWindowInDays'] = retention_window_in_days
411
- __args__['stopped'] = stopped
412
452
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
413
453
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult)
414
454
  return __ret__.apply(lambda __response__: GetDatabaseInstanceResult(
@@ -416,10 +456,16 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_built
416
456
  child_instance_refs=pulumi.get(__response__, 'child_instance_refs'),
417
457
  creation_time=pulumi.get(__response__, 'creation_time'),
418
458
  creator=pulumi.get(__response__, 'creator'),
459
+ custom_tags=pulumi.get(__response__, 'custom_tags'),
460
+ effective_capacity=pulumi.get(__response__, 'effective_capacity'),
461
+ effective_custom_tags=pulumi.get(__response__, 'effective_custom_tags'),
462
+ effective_enable_pg_native_login=pulumi.get(__response__, 'effective_enable_pg_native_login'),
419
463
  effective_enable_readable_secondaries=pulumi.get(__response__, 'effective_enable_readable_secondaries'),
420
464
  effective_node_count=pulumi.get(__response__, 'effective_node_count'),
421
465
  effective_retention_window_in_days=pulumi.get(__response__, 'effective_retention_window_in_days'),
422
466
  effective_stopped=pulumi.get(__response__, 'effective_stopped'),
467
+ effective_usage_policy_id=pulumi.get(__response__, 'effective_usage_policy_id'),
468
+ enable_pg_native_login=pulumi.get(__response__, 'enable_pg_native_login'),
423
469
  enable_readable_secondaries=pulumi.get(__response__, 'enable_readable_secondaries'),
424
470
  id=pulumi.get(__response__, 'id'),
425
471
  name=pulumi.get(__response__, 'name'),
@@ -431,4 +477,5 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_built
431
477
  retention_window_in_days=pulumi.get(__response__, 'retention_window_in_days'),
432
478
  state=pulumi.get(__response__, 'state'),
433
479
  stopped=pulumi.get(__response__, 'stopped'),
434
- uid=pulumi.get(__response__, 'uid')))
480
+ uid=pulumi.get(__response__, 'uid'),
481
+ usage_policy_id=pulumi.get(__response__, 'usage_policy_id')))
@@ -27,13 +27,16 @@ class GetDatabaseInstancesResult:
27
27
  """
28
28
  A collection of values returned by getDatabaseInstances.
29
29
  """
30
- def __init__(__self__, database_instances=None, id=None):
30
+ def __init__(__self__, database_instances=None, id=None, page_size=None):
31
31
  if database_instances and not isinstance(database_instances, list):
32
32
  raise TypeError("Expected argument 'database_instances' to be a list")
33
33
  pulumi.set(__self__, "database_instances", database_instances)
34
34
  if id and not isinstance(id, str):
35
35
  raise TypeError("Expected argument 'id' to be a str")
36
36
  pulumi.set(__self__, "id", id)
37
+ if page_size and not isinstance(page_size, int):
38
+ raise TypeError("Expected argument 'page_size' to be a int")
39
+ pulumi.set(__self__, "page_size", page_size)
37
40
 
38
41
  @_builtins.property
39
42
  @pulumi.getter(name="databaseInstances")
@@ -48,6 +51,11 @@ class GetDatabaseInstancesResult:
48
51
  """
49
52
  return pulumi.get(self, "id")
50
53
 
54
+ @_builtins.property
55
+ @pulumi.getter(name="pageSize")
56
+ def page_size(self) -> Optional[_builtins.int]:
57
+ return pulumi.get(self, "page_size")
58
+
51
59
 
52
60
  class AwaitableGetDatabaseInstancesResult(GetDatabaseInstancesResult):
53
61
  # pylint: disable=using-constant-test
@@ -56,11 +64,15 @@ class AwaitableGetDatabaseInstancesResult(GetDatabaseInstancesResult):
56
64
  yield self
57
65
  return GetDatabaseInstancesResult(
58
66
  database_instances=self.database_instances,
59
- id=self.id)
67
+ id=self.id,
68
+ page_size=self.page_size)
60
69
 
61
70
 
62
- def get_database_instances(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstancesResult:
71
+ def get_database_instances(page_size: Optional[_builtins.int] = None,
72
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstancesResult:
63
73
  """
74
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
75
+
64
76
  This data source can be used to fetch the list of Database Instances within the workspace.
65
77
  The list can then be accessed via the data object's `database_instances` field.
66
78
 
@@ -75,16 +87,24 @@ def get_database_instances(opts: Optional[pulumi.InvokeOptions] = None) -> Await
75
87
  all = databricks.get_database_instances()
76
88
  pulumi.export("allDatabaseInstances", all.database_instances)
77
89
  ```
90
+
91
+
92
+ :param _builtins.int page_size: Upper bound for items returned
78
93
  """
79
94
  __args__ = dict()
95
+ __args__['pageSize'] = page_size
80
96
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
81
97
  __ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseInstances:getDatabaseInstances', __args__, opts=opts, typ=GetDatabaseInstancesResult).value
82
98
 
83
99
  return AwaitableGetDatabaseInstancesResult(
84
100
  database_instances=pulumi.get(__ret__, 'database_instances'),
85
- id=pulumi.get(__ret__, 'id'))
86
- def get_database_instances_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstancesResult]:
101
+ id=pulumi.get(__ret__, 'id'),
102
+ page_size=pulumi.get(__ret__, 'page_size'))
103
+ def get_database_instances_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
104
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstancesResult]:
87
105
  """
106
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
107
+
88
108
  This data source can be used to fetch the list of Database Instances within the workspace.
89
109
  The list can then be accessed via the data object's `database_instances` field.
90
110
 
@@ -99,10 +119,15 @@ def get_database_instances_output(opts: Optional[Union[pulumi.InvokeOptions, pul
99
119
  all = databricks.get_database_instances()
100
120
  pulumi.export("allDatabaseInstances", all.database_instances)
101
121
  ```
122
+
123
+
124
+ :param _builtins.int page_size: Upper bound for items returned
102
125
  """
103
126
  __args__ = dict()
127
+ __args__['pageSize'] = page_size
104
128
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
105
129
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseInstances:getDatabaseInstances', __args__, opts=opts, typ=GetDatabaseInstancesResult)
106
130
  return __ret__.apply(lambda __response__: GetDatabaseInstancesResult(
107
131
  database_instances=pulumi.get(__response__, 'database_instances'),
108
- id=pulumi.get(__response__, 'id')))
132
+ id=pulumi.get(__response__, 'id'),
133
+ page_size=pulumi.get(__response__, 'page_size')))
@@ -14,7 +14,6 @@ else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
16
  from . import outputs
17
- from ._inputs import *
18
17
 
19
18
  __all__ = [
20
19
  'GetDatabaseSyncedDatabaseTableResult',
@@ -119,7 +118,7 @@ class GetDatabaseSyncedDatabaseTableResult:
119
118
 
120
119
  @_builtins.property
121
120
  @pulumi.getter
122
- def spec(self) -> Optional['outputs.GetDatabaseSyncedDatabaseTableSpecResult']:
121
+ def spec(self) -> 'outputs.GetDatabaseSyncedDatabaseTableSpecResult':
123
122
  """
124
123
  (SyncedTableSpec)
125
124
  """
@@ -153,12 +152,11 @@ class AwaitableGetDatabaseSyncedDatabaseTableResult(GetDatabaseSyncedDatabaseTab
153
152
  unity_catalog_provisioning_state=self.unity_catalog_provisioning_state)
154
153
 
155
154
 
156
- def get_database_synced_database_table(database_instance_name: Optional[_builtins.str] = None,
157
- logical_database_name: Optional[_builtins.str] = None,
158
- name: Optional[_builtins.str] = None,
159
- spec: Optional[Union['GetDatabaseSyncedDatabaseTableSpecArgs', 'GetDatabaseSyncedDatabaseTableSpecArgsDict']] = None,
155
+ def get_database_synced_database_table(name: Optional[_builtins.str] = None,
160
156
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseSyncedDatabaseTableResult:
161
157
  """
158
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
159
+
162
160
  This data source can be used to get a single Synced Database Table.
163
161
 
164
162
  ## Example Usage
@@ -173,19 +171,10 @@ def get_database_synced_database_table(database_instance_name: Optional[_builtin
173
171
  ```
174
172
 
175
173
 
176
- :param _builtins.str database_instance_name: (string) - Name of the target database instance. This is required when creating synced database tables in standard catalogs.
177
- This is optional when creating synced database tables in registered catalogs. If this field is specified
178
- when creating synced database tables in registered catalogs, the database instance name MUST
179
- match that of the registered catalog (or the request will be rejected)
180
- :param _builtins.str logical_database_name: (string) - Target Postgres database object (logical database) name for this table.
181
174
  :param _builtins.str name: Full three-part (catalog, schema, table) name of the table
182
- :param Union['GetDatabaseSyncedDatabaseTableSpecArgs', 'GetDatabaseSyncedDatabaseTableSpecArgsDict'] spec: (SyncedTableSpec)
183
175
  """
184
176
  __args__ = dict()
185
- __args__['databaseInstanceName'] = database_instance_name
186
- __args__['logicalDatabaseName'] = logical_database_name
187
177
  __args__['name'] = name
188
- __args__['spec'] = spec
189
178
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
190
179
  __ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseSyncedDatabaseTable:getDatabaseSyncedDatabaseTable', __args__, opts=opts, typ=GetDatabaseSyncedDatabaseTableResult).value
191
180
 
@@ -199,12 +188,11 @@ def get_database_synced_database_table(database_instance_name: Optional[_builtin
199
188
  name=pulumi.get(__ret__, 'name'),
200
189
  spec=pulumi.get(__ret__, 'spec'),
201
190
  unity_catalog_provisioning_state=pulumi.get(__ret__, 'unity_catalog_provisioning_state'))
202
- def get_database_synced_database_table_output(database_instance_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
203
- logical_database_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
204
- name: Optional[pulumi.Input[_builtins.str]] = None,
205
- spec: Optional[pulumi.Input[Optional[Union['GetDatabaseSyncedDatabaseTableSpecArgs', 'GetDatabaseSyncedDatabaseTableSpecArgsDict']]]] = None,
191
+ def get_database_synced_database_table_output(name: Optional[pulumi.Input[_builtins.str]] = None,
206
192
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseSyncedDatabaseTableResult]:
207
193
  """
194
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
195
+
208
196
  This data source can be used to get a single Synced Database Table.
209
197
 
210
198
  ## Example Usage
@@ -219,19 +207,10 @@ def get_database_synced_database_table_output(database_instance_name: Optional[p
219
207
  ```
220
208
 
221
209
 
222
- :param _builtins.str database_instance_name: (string) - Name of the target database instance. This is required when creating synced database tables in standard catalogs.
223
- This is optional when creating synced database tables in registered catalogs. If this field is specified
224
- when creating synced database tables in registered catalogs, the database instance name MUST
225
- match that of the registered catalog (or the request will be rejected)
226
- :param _builtins.str logical_database_name: (string) - Target Postgres database object (logical database) name for this table.
227
210
  :param _builtins.str name: Full three-part (catalog, schema, table) name of the table
228
- :param Union['GetDatabaseSyncedDatabaseTableSpecArgs', 'GetDatabaseSyncedDatabaseTableSpecArgsDict'] spec: (SyncedTableSpec)
229
211
  """
230
212
  __args__ = dict()
231
- __args__['databaseInstanceName'] = database_instance_name
232
- __args__['logicalDatabaseName'] = logical_database_name
233
213
  __args__['name'] = name
234
- __args__['spec'] = spec
235
214
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
236
215
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseSyncedDatabaseTable:getDatabaseSyncedDatabaseTable', __args__, opts=opts, typ=GetDatabaseSyncedDatabaseTableResult)
237
216
  return __ret__.apply(lambda __response__: GetDatabaseSyncedDatabaseTableResult(