pulumi-databricks 1.76.0__py3-none-any.whl → 1.79.0a1764800092__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 pulumi-databricks might be problematic. Click here for more details.

Files changed (176) hide show
  1. pulumi_databricks/__init__.py +54 -46
  2. pulumi_databricks/_inputs.py +19547 -26284
  3. pulumi_databricks/account_federation_policy.py +48 -16
  4. pulumi_databricks/account_network_policy.py +60 -2
  5. pulumi_databricks/account_setting_v2.py +46 -83
  6. pulumi_databricks/alert_v2.py +174 -134
  7. pulumi_databricks/app.py +175 -0
  8. pulumi_databricks/apps_settings_custom_template.py +127 -52
  9. pulumi_databricks/budget_policy.py +6 -2
  10. pulumi_databricks/catalog.py +65 -23
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/cluster_policy.py +120 -0
  13. pulumi_databricks/config/__init__.pyi +4 -0
  14. pulumi_databricks/config/vars.py +8 -0
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +568 -0
  17. pulumi_databricks/database_database_catalog.py +9 -52
  18. pulumi_databricks/database_instance.py +271 -120
  19. pulumi_databricks/database_synced_database_table.py +265 -52
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +83 -52
  22. pulumi_databricks/external_location.py +131 -7
  23. pulumi_databricks/external_metadata.py +16 -59
  24. pulumi_databricks/feature_engineering_feature.py +480 -0
  25. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  26. pulumi_databricks/file.py +2 -2
  27. pulumi_databricks/get_account_federation_policies.py +22 -3
  28. pulumi_databricks/get_account_federation_policy.py +20 -27
  29. pulumi_databricks/get_account_network_policies.py +4 -0
  30. pulumi_databricks/get_account_network_policy.py +17 -18
  31. pulumi_databricks/get_account_setting_v2.py +36 -141
  32. pulumi_databricks/get_alert_v2.py +47 -107
  33. pulumi_databricks/get_alerts_v2.py +29 -31
  34. pulumi_databricks/get_app.py +21 -5
  35. pulumi_databricks/get_apps.py +22 -6
  36. pulumi_databricks/get_apps_settings_custom_template.py +11 -55
  37. pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
  38. pulumi_databricks/get_aws_assume_role_policy.py +14 -14
  39. pulumi_databricks/get_aws_bucket_policy.py +10 -10
  40. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
  41. pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
  42. pulumi_databricks/get_budget_policies.py +70 -6
  43. pulumi_databricks/get_budget_policy.py +9 -32
  44. pulumi_databricks/get_catalog.py +21 -4
  45. pulumi_databricks/get_catalogs.py +23 -4
  46. pulumi_databricks/get_cluster.py +75 -4
  47. pulumi_databricks/get_cluster_policy.py +23 -4
  48. pulumi_databricks/get_clusters.py +21 -4
  49. pulumi_databricks/get_current_config.py +4 -4
  50. pulumi_databricks/get_current_metastore.py +21 -4
  51. pulumi_databricks/get_dashboards.py +56 -4
  52. pulumi_databricks/get_data_quality_monitor.py +210 -0
  53. pulumi_databricks/get_data_quality_monitors.py +143 -0
  54. pulumi_databricks/get_data_quality_refresh.py +270 -0
  55. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  56. pulumi_databricks/get_database_database_catalog.py +10 -41
  57. pulumi_databricks/get_database_database_catalogs.py +37 -18
  58. pulumi_databricks/get_database_instance.py +93 -99
  59. pulumi_databricks/get_database_instances.py +20 -16
  60. pulumi_databricks/get_database_synced_database_table.py +11 -49
  61. pulumi_databricks/get_database_synced_database_tables.py +42 -23
  62. pulumi_databricks/get_directory.py +20 -1
  63. pulumi_databricks/get_entity_tag_assignment.py +63 -30
  64. pulumi_databricks/get_entity_tag_assignments.py +69 -23
  65. pulumi_databricks/get_external_location.py +21 -4
  66. pulumi_databricks/get_external_locations.py +23 -4
  67. pulumi_databricks/get_external_metadata.py +18 -73
  68. pulumi_databricks/get_external_metadatas.py +22 -16
  69. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  70. pulumi_databricks/get_feature_engineering_features.py +103 -0
  71. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  72. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  73. pulumi_databricks/get_functions.py +16 -1
  74. pulumi_databricks/get_instance_profiles.py +21 -4
  75. pulumi_databricks/get_jobs.py +23 -4
  76. pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
  77. pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
  78. pulumi_databricks/get_metastore.py +6 -6
  79. pulumi_databricks/get_mlflow_experiment.py +18 -1
  80. pulumi_databricks/get_mlflow_model.py +18 -1
  81. pulumi_databricks/get_mlflow_models.py +23 -4
  82. pulumi_databricks/get_node_type.py +42 -5
  83. pulumi_databricks/get_notebook.py +20 -1
  84. pulumi_databricks/get_notification_destinations.py +17 -1
  85. pulumi_databricks/get_online_store.py +11 -38
  86. pulumi_databricks/get_online_stores.py +20 -18
  87. pulumi_databricks/get_pipelines.py +23 -4
  88. pulumi_databricks/get_policy_info.py +21 -109
  89. pulumi_databricks/get_policy_infos.py +50 -25
  90. pulumi_databricks/get_quality_monitor_v2.py +8 -21
  91. pulumi_databricks/get_quality_monitors_v2.py +23 -25
  92. pulumi_databricks/get_registered_model.py +19 -4
  93. pulumi_databricks/get_registered_model_versions.py +19 -4
  94. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  95. pulumi_databricks/get_schema.py +18 -1
  96. pulumi_databricks/get_schemas.py +23 -4
  97. pulumi_databricks/get_service_principal_federation_policies.py +23 -4
  98. pulumi_databricks/get_service_principal_federation_policy.py +23 -24
  99. pulumi_databricks/get_service_principals.py +64 -0
  100. pulumi_databricks/get_serving_endpoints.py +19 -4
  101. pulumi_databricks/get_share.py +117 -18
  102. pulumi_databricks/get_shares.py +22 -3
  103. pulumi_databricks/get_spark_version.py +20 -1
  104. pulumi_databricks/get_sql_warehouse.py +16 -1
  105. pulumi_databricks/get_sql_warehouses.py +20 -1
  106. pulumi_databricks/get_storage_credential.py +18 -1
  107. pulumi_databricks/get_storage_credentials.py +23 -4
  108. pulumi_databricks/get_table.py +18 -1
  109. pulumi_databricks/get_tables.py +20 -1
  110. pulumi_databricks/get_tag_policies.py +55 -23
  111. pulumi_databricks/get_tag_policy.py +60 -40
  112. pulumi_databricks/get_views.py +20 -1
  113. pulumi_databricks/get_volume.py +18 -1
  114. pulumi_databricks/get_volumes.py +20 -1
  115. pulumi_databricks/get_workspace_network_option.py +8 -16
  116. pulumi_databricks/get_workspace_setting_v2.py +41 -163
  117. pulumi_databricks/get_zones.py +20 -1
  118. pulumi_databricks/git_credential.py +54 -7
  119. pulumi_databricks/group.py +21 -21
  120. pulumi_databricks/instance_profile.py +0 -182
  121. pulumi_databricks/job.py +47 -0
  122. pulumi_databricks/library.py +165 -0
  123. pulumi_databricks/materialized_features_feature_tag.py +9 -52
  124. pulumi_databricks/metastore.py +81 -7
  125. pulumi_databricks/metastore_data_access.py +48 -0
  126. pulumi_databricks/mlflow_webhook.py +4 -4
  127. pulumi_databricks/mws_credentials.py +10 -10
  128. pulumi_databricks/mws_customer_managed_keys.py +0 -288
  129. pulumi_databricks/mws_log_delivery.py +146 -0
  130. pulumi_databricks/mws_storage_configurations.py +16 -16
  131. pulumi_databricks/mws_vpc_endpoint.py +56 -56
  132. pulumi_databricks/mws_workspaces.py +146 -65
  133. pulumi_databricks/notebook.py +49 -0
  134. pulumi_databricks/online_store.py +9 -52
  135. pulumi_databricks/outputs.py +11558 -13079
  136. pulumi_databricks/permission_assignment.py +299 -8
  137. pulumi_databricks/permissions.py +6 -6
  138. pulumi_databricks/pipeline.py +37 -3
  139. pulumi_databricks/policy_info.py +9 -52
  140. pulumi_databricks/provider.py +36 -1
  141. pulumi_databricks/pulumi-plugin.json +1 -1
  142. pulumi_databricks/quality_monitor.py +47 -0
  143. pulumi_databricks/quality_monitor_v2.py +9 -52
  144. pulumi_databricks/recipient.py +74 -0
  145. pulumi_databricks/registered_model.py +308 -36
  146. pulumi_databricks/rfa_access_request_destinations.py +354 -0
  147. pulumi_databricks/schema.py +7 -7
  148. pulumi_databricks/service_principal_federation_policy.py +52 -16
  149. pulumi_databricks/share.py +71 -84
  150. pulumi_databricks/sql_table.py +42 -14
  151. pulumi_databricks/storage_credential.py +15 -2
  152. pulumi_databricks/tag_policy.py +111 -54
  153. pulumi_databricks/user.py +21 -21
  154. pulumi_databricks/volume.py +7 -7
  155. pulumi_databricks/workspace_binding.py +0 -48
  156. pulumi_databricks/workspace_network_option.py +6 -2
  157. pulumi_databricks/workspace_setting_v2.py +49 -133
  158. {pulumi_databricks-1.76.0.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/METADATA +1 -1
  159. pulumi_databricks-1.79.0a1764800092.dist-info/RECORD +250 -0
  160. pulumi_databricks/clean_room_asset.py +0 -938
  161. pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
  162. pulumi_databricks/clean_rooms_clean_room.py +0 -565
  163. pulumi_databricks/get_clean_room_asset.py +0 -416
  164. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
  165. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
  166. pulumi_databricks/get_clean_room_assets.py +0 -146
  167. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
  168. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
  169. pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
  170. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
  171. pulumi_databricks/get_recipient_federation_policies.py +0 -101
  172. pulumi_databricks/get_recipient_federation_policy.py +0 -182
  173. pulumi_databricks/recipient_federation_policy.py +0 -393
  174. pulumi_databricks-1.76.0.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.76.0.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.76.0.dist-info → pulumi_databricks-1.79.0a1764800092.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
  'GetAlertV2Result',
@@ -28,7 +27,7 @@ class GetAlertV2Result:
28
27
  """
29
28
  A collection of values returned by getAlertV2.
30
29
  """
31
- def __init__(__self__, create_time=None, custom_description=None, custom_summary=None, display_name=None, effective_run_as=None, evaluation=None, id=None, lifecycle_state=None, owner_user_name=None, parent_path=None, query_text=None, run_as=None, run_as_user_name=None, schedule=None, update_time=None, warehouse_id=None, workspace_id=None):
30
+ def __init__(__self__, create_time=None, custom_description=None, custom_summary=None, display_name=None, effective_run_as=None, evaluation=None, id=None, lifecycle_state=None, owner_user_name=None, parent_path=None, query_text=None, run_as=None, run_as_user_name=None, schedule=None, update_time=None, warehouse_id=None):
32
31
  if create_time and not isinstance(create_time, str):
33
32
  raise TypeError("Expected argument 'create_time' to be a str")
34
33
  pulumi.set(__self__, "create_time", create_time)
@@ -77,9 +76,6 @@ class GetAlertV2Result:
77
76
  if warehouse_id and not isinstance(warehouse_id, str):
78
77
  raise TypeError("Expected argument 'warehouse_id' to be a str")
79
78
  pulumi.set(__self__, "warehouse_id", warehouse_id)
80
- if workspace_id and not isinstance(workspace_id, str):
81
- raise TypeError("Expected argument 'workspace_id' to be a str")
82
- pulumi.set(__self__, "workspace_id", workspace_id)
83
79
 
84
80
  @_builtins.property
85
81
  @pulumi.getter(name="createTime")
@@ -91,7 +87,7 @@ class GetAlertV2Result:
91
87
 
92
88
  @_builtins.property
93
89
  @pulumi.getter(name="customDescription")
94
- def custom_description(self) -> Optional[_builtins.str]:
90
+ def custom_description(self) -> _builtins.str:
95
91
  """
96
92
  (string) - Custom description for the alert. support mustache template
97
93
  """
@@ -99,7 +95,7 @@ class GetAlertV2Result:
99
95
 
100
96
  @_builtins.property
101
97
  @pulumi.getter(name="customSummary")
102
- def custom_summary(self) -> Optional[_builtins.str]:
98
+ def custom_summary(self) -> _builtins.str:
103
99
  """
104
100
  (string) - Custom summary for the alert. support mustache template
105
101
  """
@@ -107,7 +103,7 @@ class GetAlertV2Result:
107
103
 
108
104
  @_builtins.property
109
105
  @pulumi.getter(name="displayName")
110
- def display_name(self) -> Optional[_builtins.str]:
106
+ def display_name(self) -> _builtins.str:
111
107
  """
112
108
  (string) - The display name of the alert
113
109
  """
@@ -125,7 +121,7 @@ class GetAlertV2Result:
125
121
 
126
122
  @_builtins.property
127
123
  @pulumi.getter
128
- def evaluation(self) -> Optional['outputs.GetAlertV2EvaluationResult']:
124
+ def evaluation(self) -> 'outputs.GetAlertV2EvaluationResult':
129
125
  """
130
126
  (AlertV2Evaluation)
131
127
  """
@@ -143,7 +139,7 @@ class GetAlertV2Result:
143
139
  @pulumi.getter(name="lifecycleState")
144
140
  def lifecycle_state(self) -> _builtins.str:
145
141
  """
146
- (string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `TRASHED`
142
+ (string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `DELETED`
147
143
  """
148
144
  return pulumi.get(self, "lifecycle_state")
149
145
 
@@ -157,7 +153,7 @@ class GetAlertV2Result:
157
153
 
158
154
  @_builtins.property
159
155
  @pulumi.getter(name="parentPath")
160
- def parent_path(self) -> Optional[_builtins.str]:
156
+ def parent_path(self) -> _builtins.str:
161
157
  """
162
158
  (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
163
159
  """
@@ -165,7 +161,7 @@ class GetAlertV2Result:
165
161
 
166
162
  @_builtins.property
167
163
  @pulumi.getter(name="queryText")
168
- def query_text(self) -> Optional[_builtins.str]:
164
+ def query_text(self) -> _builtins.str:
169
165
  """
170
166
  (string) - Text of the query to be run
171
167
  """
@@ -173,7 +169,7 @@ class GetAlertV2Result:
173
169
 
174
170
  @_builtins.property
175
171
  @pulumi.getter(name="runAs")
176
- def run_as(self) -> Optional['outputs.GetAlertV2RunAsResult']:
172
+ def run_as(self) -> 'outputs.GetAlertV2RunAsResult':
177
173
  """
178
174
  (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
179
175
  This field allows you to configure alerts to run as a specific user or service principal.
@@ -185,7 +181,7 @@ class GetAlertV2Result:
185
181
 
186
182
  @_builtins.property
187
183
  @pulumi.getter(name="runAsUserName")
188
- def run_as_user_name(self) -> Optional[_builtins.str]:
184
+ def run_as_user_name(self) -> _builtins.str:
189
185
  """
190
186
  (string, deprecated) - The run as username or application ID of service principal.
191
187
  On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
@@ -195,7 +191,7 @@ class GetAlertV2Result:
195
191
 
196
192
  @_builtins.property
197
193
  @pulumi.getter
198
- def schedule(self) -> Optional['outputs.GetAlertV2ScheduleResult']:
194
+ def schedule(self) -> 'outputs.GetAlertV2ScheduleResult':
199
195
  """
200
196
  (CronSchedule)
201
197
  """
@@ -211,17 +207,12 @@ class GetAlertV2Result:
211
207
 
212
208
  @_builtins.property
213
209
  @pulumi.getter(name="warehouseId")
214
- def warehouse_id(self) -> Optional[_builtins.str]:
210
+ def warehouse_id(self) -> _builtins.str:
215
211
  """
216
212
  (string) - ID of the SQL warehouse attached to the alert
217
213
  """
218
214
  return pulumi.get(self, "warehouse_id")
219
215
 
220
- @_builtins.property
221
- @pulumi.getter(name="workspaceId")
222
- def workspace_id(self) -> Optional[_builtins.str]:
223
- return pulumi.get(self, "workspace_id")
224
-
225
216
 
226
217
  class AwaitableGetAlertV2Result(GetAlertV2Result):
227
218
  # pylint: disable=using-constant-test
@@ -244,23 +235,14 @@ class AwaitableGetAlertV2Result(GetAlertV2Result):
244
235
  run_as_user_name=self.run_as_user_name,
245
236
  schedule=self.schedule,
246
237
  update_time=self.update_time,
247
- warehouse_id=self.warehouse_id,
248
- workspace_id=self.workspace_id)
249
-
250
-
251
- def get_alert_v2(custom_description: Optional[_builtins.str] = None,
252
- custom_summary: Optional[_builtins.str] = None,
253
- display_name: Optional[_builtins.str] = None,
254
- evaluation: Optional[Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict']] = None,
255
- parent_path: Optional[_builtins.str] = None,
256
- query_text: Optional[_builtins.str] = None,
257
- run_as: Optional[Union['GetAlertV2RunAsArgs', 'GetAlertV2RunAsArgsDict']] = None,
258
- run_as_user_name: Optional[_builtins.str] = None,
259
- schedule: Optional[Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict']] = None,
260
- warehouse_id: Optional[_builtins.str] = None,
261
- workspace_id: Optional[_builtins.str] = None,
238
+ warehouse_id=self.warehouse_id)
239
+
240
+
241
+ def get_alert_v2(id: Optional[_builtins.str] = None,
262
242
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertV2Result:
263
243
  """
244
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
245
+
264
246
  The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
265
247
 
266
248
  You can use this data source to:
@@ -271,37 +253,21 @@ def get_alert_v2(custom_description: Optional[_builtins.str] = None,
271
253
 
272
254
  ## Example Usage
273
255
 
256
+ ### Retrieve Alert by ID
257
+ This example retrieves a specific alert by its ID:
258
+
259
+ ```python
260
+ import pulumi
261
+ import pulumi_databricks as databricks
274
262
 
275
- :param _builtins.str custom_description: (string) - Custom description for the alert. support mustache template
276
- :param _builtins.str custom_summary: (string) - Custom summary for the alert. support mustache template
277
- :param _builtins.str display_name: (string) - The display name of the alert
278
- :param Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict'] evaluation: (AlertV2Evaluation)
279
- :param _builtins.str parent_path: (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
280
- :param _builtins.str query_text: (string) - Text of the query to be run
281
- :param Union['GetAlertV2RunAsArgs', 'GetAlertV2RunAsArgsDict'] run_as: (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
282
- This field allows you to configure alerts to run as a specific user or service principal.
283
- - For user identity: Set `user_name` to the email of an active workspace user. Users can only set this to their own email.
284
- - For service principal: Set `service_principal_name` to the application ID. Requires the `servicePrincipal/user` role.
285
- If not specified, the alert will run as the request user
286
- :param _builtins.str run_as_user_name: (string, deprecated) - The run as username or application ID of service principal.
287
- On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
288
- Deprecated: Use `run_as` field instead. This field will be removed in a future release
289
- :param Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict'] schedule: (CronSchedule)
290
- :param _builtins.str warehouse_id: (string) - ID of the SQL warehouse attached to the alert
291
- :param _builtins.str workspace_id: Workspace ID of the resource
263
+ this = databricks.get_alert_v2(id="123")
264
+ ```
265
+
266
+
267
+ :param _builtins.str id: UUID identifying the alert
292
268
  """
293
269
  __args__ = dict()
294
- __args__['customDescription'] = custom_description
295
- __args__['customSummary'] = custom_summary
296
- __args__['displayName'] = display_name
297
- __args__['evaluation'] = evaluation
298
- __args__['parentPath'] = parent_path
299
- __args__['queryText'] = query_text
300
- __args__['runAs'] = run_as
301
- __args__['runAsUserName'] = run_as_user_name
302
- __args__['schedule'] = schedule
303
- __args__['warehouseId'] = warehouse_id
304
- __args__['workspaceId'] = workspace_id
270
+ __args__['id'] = id
305
271
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
306
272
  __ret__ = pulumi.runtime.invoke('databricks:index/getAlertV2:getAlertV2', __args__, opts=opts, typ=GetAlertV2Result).value
307
273
 
@@ -321,21 +287,12 @@ def get_alert_v2(custom_description: Optional[_builtins.str] = None,
321
287
  run_as_user_name=pulumi.get(__ret__, 'run_as_user_name'),
322
288
  schedule=pulumi.get(__ret__, 'schedule'),
323
289
  update_time=pulumi.get(__ret__, 'update_time'),
324
- warehouse_id=pulumi.get(__ret__, 'warehouse_id'),
325
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
326
- def get_alert_v2_output(custom_description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
327
- custom_summary: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
328
- display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
329
- evaluation: Optional[pulumi.Input[Optional[Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict']]]] = None,
330
- parent_path: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
331
- query_text: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
332
- run_as: Optional[pulumi.Input[Optional[Union['GetAlertV2RunAsArgs', 'GetAlertV2RunAsArgsDict']]]] = None,
333
- run_as_user_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
334
- schedule: Optional[pulumi.Input[Optional[Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict']]]] = None,
335
- warehouse_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
336
- workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
290
+ warehouse_id=pulumi.get(__ret__, 'warehouse_id'))
291
+ def get_alert_v2_output(id: Optional[pulumi.Input[_builtins.str]] = None,
337
292
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertV2Result]:
338
293
  """
294
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
295
+
339
296
  The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
340
297
 
341
298
  You can use this data source to:
@@ -346,37 +303,21 @@ def get_alert_v2_output(custom_description: Optional[pulumi.Input[Optional[_buil
346
303
 
347
304
  ## Example Usage
348
305
 
306
+ ### Retrieve Alert by ID
307
+ This example retrieves a specific alert by its ID:
308
+
309
+ ```python
310
+ import pulumi
311
+ import pulumi_databricks as databricks
312
+
313
+ this = databricks.get_alert_v2(id="123")
314
+ ```
315
+
349
316
 
350
- :param _builtins.str custom_description: (string) - Custom description for the alert. support mustache template
351
- :param _builtins.str custom_summary: (string) - Custom summary for the alert. support mustache template
352
- :param _builtins.str display_name: (string) - The display name of the alert
353
- :param Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict'] evaluation: (AlertV2Evaluation)
354
- :param _builtins.str parent_path: (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
355
- :param _builtins.str query_text: (string) - Text of the query to be run
356
- :param Union['GetAlertV2RunAsArgs', 'GetAlertV2RunAsArgsDict'] run_as: (AlertV2RunAs) - Specifies the identity that will be used to run the alert.
357
- This field allows you to configure alerts to run as a specific user or service principal.
358
- - For user identity: Set `user_name` to the email of an active workspace user. Users can only set this to their own email.
359
- - For service principal: Set `service_principal_name` to the application ID. Requires the `servicePrincipal/user` role.
360
- If not specified, the alert will run as the request user
361
- :param _builtins.str run_as_user_name: (string, deprecated) - The run as username or application ID of service principal.
362
- On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
363
- Deprecated: Use `run_as` field instead. This field will be removed in a future release
364
- :param Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict'] schedule: (CronSchedule)
365
- :param _builtins.str warehouse_id: (string) - ID of the SQL warehouse attached to the alert
366
- :param _builtins.str workspace_id: Workspace ID of the resource
317
+ :param _builtins.str id: UUID identifying the alert
367
318
  """
368
319
  __args__ = dict()
369
- __args__['customDescription'] = custom_description
370
- __args__['customSummary'] = custom_summary
371
- __args__['displayName'] = display_name
372
- __args__['evaluation'] = evaluation
373
- __args__['parentPath'] = parent_path
374
- __args__['queryText'] = query_text
375
- __args__['runAs'] = run_as
376
- __args__['runAsUserName'] = run_as_user_name
377
- __args__['schedule'] = schedule
378
- __args__['warehouseId'] = warehouse_id
379
- __args__['workspaceId'] = workspace_id
320
+ __args__['id'] = id
380
321
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
381
322
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getAlertV2:getAlertV2', __args__, opts=opts, typ=GetAlertV2Result)
382
323
  return __ret__.apply(lambda __response__: GetAlertV2Result(
@@ -395,5 +336,4 @@ def get_alert_v2_output(custom_description: Optional[pulumi.Input[Optional[_buil
395
336
  run_as_user_name=pulumi.get(__response__, 'run_as_user_name'),
396
337
  schedule=pulumi.get(__response__, 'schedule'),
397
338
  update_time=pulumi.get(__response__, 'update_time'),
398
- warehouse_id=pulumi.get(__response__, 'warehouse_id'),
399
- workspace_id=pulumi.get(__response__, 'workspace_id')))
339
+ warehouse_id=pulumi.get(__response__, 'warehouse_id')))
@@ -27,16 +27,21 @@ class GetAlertsV2Result:
27
27
  """
28
28
  A collection of values returned by getAlertsV2.
29
29
  """
30
- def __init__(__self__, id=None, results=None, workspace_id=None):
30
+ def __init__(__self__, alerts=None, id=None, page_size=None):
31
+ if alerts and not isinstance(alerts, list):
32
+ raise TypeError("Expected argument 'alerts' to be a list")
33
+ pulumi.set(__self__, "alerts", alerts)
31
34
  if id and not isinstance(id, str):
32
35
  raise TypeError("Expected argument 'id' to be a str")
33
36
  pulumi.set(__self__, "id", id)
34
- if results and not isinstance(results, list):
35
- raise TypeError("Expected argument 'results' to be a list")
36
- pulumi.set(__self__, "results", results)
37
- if workspace_id and not isinstance(workspace_id, str):
38
- raise TypeError("Expected argument 'workspace_id' to be a str")
39
- pulumi.set(__self__, "workspace_id", workspace_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)
40
+
41
+ @_builtins.property
42
+ @pulumi.getter
43
+ def alerts(self) -> Sequence['outputs.GetAlertsV2AlertResult']:
44
+ return pulumi.get(self, "alerts")
40
45
 
41
46
  @_builtins.property
42
47
  @pulumi.getter
@@ -47,14 +52,9 @@ class GetAlertsV2Result:
47
52
  return pulumi.get(self, "id")
48
53
 
49
54
  @_builtins.property
50
- @pulumi.getter
51
- def results(self) -> Sequence['outputs.GetAlertsV2ResultResult']:
52
- return pulumi.get(self, "results")
53
-
54
- @_builtins.property
55
- @pulumi.getter(name="workspaceId")
56
- def workspace_id(self) -> Optional[_builtins.str]:
57
- return pulumi.get(self, "workspace_id")
55
+ @pulumi.getter(name="pageSize")
56
+ def page_size(self) -> Optional[_builtins.int]:
57
+ return pulumi.get(self, "page_size")
58
58
 
59
59
 
60
60
  class AwaitableGetAlertsV2Result(GetAlertsV2Result):
@@ -63,14 +63,16 @@ class AwaitableGetAlertsV2Result(GetAlertsV2Result):
63
63
  if False:
64
64
  yield self
65
65
  return GetAlertsV2Result(
66
+ alerts=self.alerts,
66
67
  id=self.id,
67
- results=self.results,
68
- workspace_id=self.workspace_id)
68
+ page_size=self.page_size)
69
69
 
70
70
 
71
- def get_alerts_v2(workspace_id: Optional[_builtins.str] = None,
71
+ def get_alerts_v2(page_size: Optional[_builtins.int] = None,
72
72
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertsV2Result:
73
73
  """
74
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
75
+
74
76
  The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
75
77
 
76
78
  You can use this data source to:
@@ -88,22 +90,21 @@ def get_alerts_v2(workspace_id: Optional[_builtins.str] = None,
88
90
 
89
91
  all = databricks.get_alert_v2()
90
92
  ```
91
-
92
-
93
- :param _builtins.str workspace_id: Workspace ID of the resource
94
93
  """
95
94
  __args__ = dict()
96
- __args__['workspaceId'] = workspace_id
95
+ __args__['pageSize'] = page_size
97
96
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
98
97
  __ret__ = pulumi.runtime.invoke('databricks:index/getAlertsV2:getAlertsV2', __args__, opts=opts, typ=GetAlertsV2Result).value
99
98
 
100
99
  return AwaitableGetAlertsV2Result(
100
+ alerts=pulumi.get(__ret__, 'alerts'),
101
101
  id=pulumi.get(__ret__, 'id'),
102
- results=pulumi.get(__ret__, 'results'),
103
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
104
- def get_alerts_v2_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
102
+ page_size=pulumi.get(__ret__, 'page_size'))
103
+ def get_alerts_v2_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
105
104
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertsV2Result]:
106
105
  """
106
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
107
+
107
108
  The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
108
109
 
109
110
  You can use this data source to:
@@ -121,15 +122,12 @@ def get_alerts_v2_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.
121
122
 
122
123
  all = databricks.get_alert_v2()
123
124
  ```
124
-
125
-
126
- :param _builtins.str workspace_id: Workspace ID of the resource
127
125
  """
128
126
  __args__ = dict()
129
- __args__['workspaceId'] = workspace_id
127
+ __args__['pageSize'] = page_size
130
128
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
131
129
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getAlertsV2:getAlertsV2', __args__, opts=opts, typ=GetAlertsV2Result)
132
130
  return __ret__.apply(lambda __response__: GetAlertsV2Result(
131
+ alerts=pulumi.get(__response__, 'alerts'),
133
132
  id=pulumi.get(__response__, 'id'),
134
- results=pulumi.get(__response__, 'results'),
135
- workspace_id=pulumi.get(__response__, 'workspace_id')))
133
+ page_size=pulumi.get(__response__, 'page_size')))
@@ -14,6 +14,7 @@ else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
16
  from . import outputs
17
+ from ._inputs import *
17
18
 
18
19
  __all__ = [
19
20
  'GetAppResult',
@@ -27,7 +28,7 @@ class GetAppResult:
27
28
  """
28
29
  A collection of values returned by getApp.
29
30
  """
30
- def __init__(__self__, app=None, id=None, name=None):
31
+ def __init__(__self__, app=None, id=None, name=None, provider_config=None):
31
32
  if app and not isinstance(app, dict):
32
33
  raise TypeError("Expected argument 'app' to be a dict")
33
34
  pulumi.set(__self__, "app", app)
@@ -37,6 +38,9 @@ class GetAppResult:
37
38
  if name and not isinstance(name, str):
38
39
  raise TypeError("Expected argument 'name' to be a str")
39
40
  pulumi.set(__self__, "name", name)
41
+ if provider_config and not isinstance(provider_config, dict):
42
+ raise TypeError("Expected argument 'provider_config' to be a dict")
43
+ pulumi.set(__self__, "provider_config", provider_config)
40
44
 
41
45
  @_builtins.property
42
46
  @pulumi.getter
@@ -58,10 +62,15 @@ class GetAppResult:
58
62
  @pulumi.getter
59
63
  def name(self) -> _builtins.str:
60
64
  """
61
- Name of the serving endpoint to grant permission on.
65
+ The name of Genie Space.
62
66
  """
63
67
  return pulumi.get(self, "name")
64
68
 
69
+ @_builtins.property
70
+ @pulumi.getter(name="providerConfig")
71
+ def provider_config(self) -> Optional['outputs.GetAppProviderConfigResult']:
72
+ return pulumi.get(self, "provider_config")
73
+
65
74
 
66
75
  class AwaitableGetAppResult(GetAppResult):
67
76
  # pylint: disable=using-constant-test
@@ -71,10 +80,12 @@ class AwaitableGetAppResult(GetAppResult):
71
80
  return GetAppResult(
72
81
  app=self.app,
73
82
  id=self.id,
74
- name=self.name)
83
+ name=self.name,
84
+ provider_config=self.provider_config)
75
85
 
76
86
 
77
87
  def get_app(name: Optional[_builtins.str] = None,
88
+ provider_config: Optional[Union['GetAppProviderConfigArgs', 'GetAppProviderConfigArgsDict']] = None,
78
89
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppResult:
79
90
  """
80
91
  > This data source can only be used with a workspace-level provider!
@@ -107,14 +118,17 @@ def get_app(name: Optional[_builtins.str] = None,
107
118
  """
108
119
  __args__ = dict()
109
120
  __args__['name'] = name
121
+ __args__['providerConfig'] = provider_config
110
122
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
111
123
  __ret__ = pulumi.runtime.invoke('databricks:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult).value
112
124
 
113
125
  return AwaitableGetAppResult(
114
126
  app=pulumi.get(__ret__, 'app'),
115
127
  id=pulumi.get(__ret__, 'id'),
116
- name=pulumi.get(__ret__, 'name'))
128
+ name=pulumi.get(__ret__, 'name'),
129
+ provider_config=pulumi.get(__ret__, 'provider_config'))
117
130
  def get_app_output(name: Optional[pulumi.Input[_builtins.str]] = None,
131
+ provider_config: Optional[pulumi.Input[Optional[Union['GetAppProviderConfigArgs', 'GetAppProviderConfigArgsDict']]]] = None,
118
132
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppResult]:
119
133
  """
120
134
  > This data source can only be used with a workspace-level provider!
@@ -147,9 +161,11 @@ def get_app_output(name: Optional[pulumi.Input[_builtins.str]] = None,
147
161
  """
148
162
  __args__ = dict()
149
163
  __args__['name'] = name
164
+ __args__['providerConfig'] = provider_config
150
165
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
151
166
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult)
152
167
  return __ret__.apply(lambda __response__: GetAppResult(
153
168
  app=pulumi.get(__response__, 'app'),
154
169
  id=pulumi.get(__response__, 'id'),
155
- name=pulumi.get(__response__, 'name')))
170
+ name=pulumi.get(__response__, 'name'),
171
+ provider_config=pulumi.get(__response__, 'provider_config')))
@@ -14,6 +14,7 @@ else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
16
  from . import outputs
17
+ from ._inputs import *
17
18
 
18
19
  __all__ = [
19
20
  'GetAppsResult',
@@ -27,13 +28,16 @@ class GetAppsResult:
27
28
  """
28
29
  A collection of values returned by getApps.
29
30
  """
30
- def __init__(__self__, apps=None, id=None):
31
+ def __init__(__self__, apps=None, id=None, provider_config=None):
31
32
  if apps and not isinstance(apps, list):
32
33
  raise TypeError("Expected argument 'apps' to be a list")
33
34
  pulumi.set(__self__, "apps", apps)
34
35
  if id and not isinstance(id, str):
35
36
  raise TypeError("Expected argument 'id' to be a str")
36
37
  pulumi.set(__self__, "id", id)
38
+ if provider_config and not isinstance(provider_config, dict):
39
+ raise TypeError("Expected argument 'provider_config' to be a dict")
40
+ pulumi.set(__self__, "provider_config", provider_config)
37
41
 
38
42
  @_builtins.property
39
43
  @pulumi.getter
@@ -48,6 +52,11 @@ class GetAppsResult:
48
52
  """
49
53
  return pulumi.get(self, "id")
50
54
 
55
+ @_builtins.property
56
+ @pulumi.getter(name="providerConfig")
57
+ def provider_config(self) -> Optional['outputs.GetAppsProviderConfigResult']:
58
+ return pulumi.get(self, "provider_config")
59
+
51
60
 
52
61
  class AwaitableGetAppsResult(GetAppsResult):
53
62
  # pylint: disable=using-constant-test
@@ -56,10 +65,12 @@ class AwaitableGetAppsResult(GetAppsResult):
56
65
  yield self
57
66
  return GetAppsResult(
58
67
  apps=self.apps,
59
- id=self.id)
68
+ id=self.id,
69
+ provider_config=self.provider_config)
60
70
 
61
71
 
62
- def get_apps(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsResult:
72
+ def get_apps(provider_config: Optional[Union['GetAppsProviderConfigArgs', 'GetAppsProviderConfigArgsDict']] = None,
73
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsResult:
63
74
  """
64
75
  > This data source can only be used with a workspace-level provider!
65
76
 
@@ -87,13 +98,16 @@ def get_apps(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsRes
87
98
  * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
88
99
  """
89
100
  __args__ = dict()
101
+ __args__['providerConfig'] = provider_config
90
102
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
91
103
  __ret__ = pulumi.runtime.invoke('databricks:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult).value
92
104
 
93
105
  return AwaitableGetAppsResult(
94
106
  apps=pulumi.get(__ret__, 'apps'),
95
- id=pulumi.get(__ret__, 'id'))
96
- def get_apps_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsResult]:
107
+ id=pulumi.get(__ret__, 'id'),
108
+ provider_config=pulumi.get(__ret__, 'provider_config'))
109
+ def get_apps_output(provider_config: Optional[pulumi.Input[Optional[Union['GetAppsProviderConfigArgs', 'GetAppsProviderConfigArgsDict']]]] = None,
110
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsResult]:
97
111
  """
98
112
  > This data source can only be used with a workspace-level provider!
99
113
 
@@ -121,8 +135,10 @@ def get_apps_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutp
121
135
  * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
122
136
  """
123
137
  __args__ = dict()
138
+ __args__['providerConfig'] = provider_config
124
139
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
125
140
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult)
126
141
  return __ret__.apply(lambda __response__: GetAppsResult(
127
142
  apps=pulumi.get(__response__, 'apps'),
128
- id=pulumi.get(__response__, 'id')))
143
+ id=pulumi.get(__response__, 'id'),
144
+ provider_config=pulumi.get(__response__, 'provider_config')))