pulumi-databricks 1.74.0a1753335781__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 (252) hide show
  1. pulumi_databricks/__init__.py +185 -12
  2. pulumi_databricks/_inputs.py +30467 -20225
  3. pulumi_databricks/access_control_rule_set.py +28 -29
  4. pulumi_databricks/account_federation_policy.py +473 -0
  5. pulumi_databricks/account_network_policy.py +74 -43
  6. pulumi_databricks/account_setting_v2.py +759 -0
  7. pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
  8. pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
  9. pulumi_databricks/alert.py +185 -186
  10. pulumi_databricks/alert_v2.py +369 -211
  11. pulumi_databricks/app.py +315 -209
  12. pulumi_databricks/apps_settings_custom_template.py +531 -0
  13. pulumi_databricks/artifact_allowlist.py +72 -73
  14. pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
  15. pulumi_databricks/budget.py +84 -85
  16. pulumi_databricks/budget_policy.py +75 -53
  17. pulumi_databricks/catalog.py +544 -225
  18. pulumi_databricks/catalog_workspace_binding.py +82 -83
  19. pulumi_databricks/cluster.py +561 -683
  20. pulumi_databricks/cluster_policy.py +115 -116
  21. pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
  22. pulumi_databricks/config/__init__.py +1 -1
  23. pulumi_databricks/config/__init__.pyi +3 -2
  24. pulumi_databricks/config/vars.py +40 -37
  25. pulumi_databricks/connection.py +346 -211
  26. pulumi_databricks/credential.py +262 -263
  27. pulumi_databricks/custom_app_integration.py +175 -176
  28. pulumi_databricks/dashboard.py +207 -208
  29. pulumi_databricks/data_quality_monitor.py +453 -0
  30. pulumi_databricks/data_quality_refresh.py +492 -0
  31. pulumi_databricks/database_database_catalog.py +437 -0
  32. pulumi_databricks/database_instance.py +938 -137
  33. pulumi_databricks/database_synced_database_table.py +589 -0
  34. pulumi_databricks/dbfs_file.py +87 -84
  35. pulumi_databricks/default_namespace_setting.py +30 -31
  36. pulumi_databricks/directory.py +61 -62
  37. pulumi_databricks/disable_legacy_access_setting.py +109 -33
  38. pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
  39. pulumi_databricks/disable_legacy_features_setting.py +62 -37
  40. pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
  41. pulumi_databricks/entitlements.py +148 -149
  42. pulumi_databricks/entity_tag_assignment.py +409 -0
  43. pulumi_databricks/external_location.py +276 -290
  44. pulumi_databricks/external_metadata.py +726 -0
  45. pulumi_databricks/feature_engineering_feature.py +480 -0
  46. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  47. pulumi_databricks/file.py +96 -97
  48. pulumi_databricks/get_account_federation_policies.py +127 -0
  49. pulumi_databricks/get_account_federation_policy.py +214 -0
  50. pulumi_databricks/get_account_network_policies.py +36 -7
  51. pulumi_databricks/get_account_network_policy.py +33 -29
  52. pulumi_databricks/get_account_setting_v2.py +331 -0
  53. pulumi_databricks/get_alert_v2.py +100 -84
  54. pulumi_databricks/get_alerts_v2.py +35 -17
  55. pulumi_databricks/get_app.py +31 -20
  56. pulumi_databricks/get_apps.py +26 -15
  57. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  58. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  59. pulumi_databricks/get_aws_assume_role_policy.py +27 -28
  60. pulumi_databricks/get_aws_bucket_policy.py +39 -40
  61. pulumi_databricks/get_aws_cross_account_policy.py +47 -48
  62. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
  63. pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
  64. pulumi_databricks/get_budget_policies.py +74 -11
  65. pulumi_databricks/get_budget_policy.py +43 -39
  66. pulumi_databricks/get_catalog.py +35 -19
  67. pulumi_databricks/get_catalogs.py +32 -14
  68. pulumi_databricks/get_cluster.py +41 -25
  69. pulumi_databricks/get_cluster_policy.py +72 -54
  70. pulumi_databricks/get_clusters.py +41 -25
  71. pulumi_databricks/get_current_config.py +23 -24
  72. pulumi_databricks/get_current_metastore.py +29 -13
  73. pulumi_databricks/get_current_user.py +17 -18
  74. pulumi_databricks/get_dashboards.py +34 -15
  75. pulumi_databricks/get_data_quality_monitor.py +210 -0
  76. pulumi_databricks/get_data_quality_monitors.py +143 -0
  77. pulumi_databricks/get_data_quality_refresh.py +270 -0
  78. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  79. pulumi_databricks/get_database_database_catalog.py +176 -0
  80. pulumi_databricks/get_database_database_catalogs.py +120 -0
  81. pulumi_databricks/get_database_instance.py +274 -50
  82. pulumi_databricks/get_database_instances.py +35 -11
  83. pulumi_databricks/get_database_synced_database_table.py +225 -0
  84. pulumi_databricks/get_database_synced_database_tables.py +120 -0
  85. pulumi_databricks/get_dbfs_file.py +19 -20
  86. pulumi_databricks/get_dbfs_file_paths.py +16 -17
  87. pulumi_databricks/get_directory.py +43 -25
  88. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  89. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  90. pulumi_databricks/get_external_location.py +35 -19
  91. pulumi_databricks/get_external_locations.py +32 -14
  92. pulumi_databricks/get_external_metadata.py +292 -0
  93. pulumi_databricks/get_external_metadatas.py +135 -0
  94. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  95. pulumi_databricks/get_feature_engineering_features.py +103 -0
  96. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  97. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  98. pulumi_databricks/get_functions.py +38 -24
  99. pulumi_databricks/get_group.py +85 -86
  100. pulumi_databricks/get_instance_pool.py +10 -11
  101. pulumi_databricks/get_instance_profiles.py +25 -9
  102. pulumi_databricks/get_job.py +22 -23
  103. pulumi_databricks/get_jobs.py +44 -26
  104. pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
  105. pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
  106. pulumi_databricks/get_metastore.py +28 -29
  107. pulumi_databricks/get_metastores.py +9 -10
  108. pulumi_databricks/get_mlflow_experiment.py +62 -46
  109. pulumi_databricks/get_mlflow_model.py +47 -31
  110. pulumi_databricks/get_mlflow_models.py +32 -14
  111. pulumi_databricks/get_mws_credentials.py +9 -10
  112. pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
  113. pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
  114. pulumi_databricks/get_mws_workspaces.py +5 -6
  115. pulumi_databricks/get_node_type.py +123 -87
  116. pulumi_databricks/get_notebook.py +37 -38
  117. pulumi_databricks/get_notebook_paths.py +16 -17
  118. pulumi_databricks/get_notification_destinations.py +33 -18
  119. pulumi_databricks/get_online_store.py +36 -27
  120. pulumi_databricks/get_online_stores.py +33 -13
  121. pulumi_databricks/get_pipelines.py +49 -31
  122. pulumi_databricks/get_policy_info.py +338 -0
  123. pulumi_databricks/get_policy_infos.py +169 -0
  124. pulumi_databricks/get_quality_monitor_v2.py +21 -18
  125. pulumi_databricks/get_quality_monitors_v2.py +26 -8
  126. pulumi_databricks/get_registered_model.py +41 -27
  127. pulumi_databricks/get_registered_model_versions.py +29 -15
  128. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  129. pulumi_databricks/get_schema.py +32 -16
  130. pulumi_databricks/get_schemas.py +38 -20
  131. pulumi_databricks/get_service_principal.py +80 -58
  132. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  133. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  134. pulumi_databricks/get_service_principals.py +16 -17
  135. pulumi_databricks/get_serving_endpoints.py +23 -9
  136. pulumi_databricks/get_share.py +130 -32
  137. pulumi_databricks/get_shares.py +29 -11
  138. pulumi_databricks/get_spark_version.py +87 -69
  139. pulumi_databricks/get_sql_warehouse.py +124 -110
  140. pulumi_databricks/get_sql_warehouses.py +37 -19
  141. pulumi_databricks/get_storage_credential.py +32 -16
  142. pulumi_databricks/get_storage_credentials.py +32 -14
  143. pulumi_databricks/get_table.py +30 -14
  144. pulumi_databricks/get_tables.py +41 -23
  145. pulumi_databricks/get_tag_policies.py +139 -0
  146. pulumi_databricks/get_tag_policy.py +175 -0
  147. pulumi_databricks/get_user.py +33 -34
  148. pulumi_databricks/get_views.py +41 -23
  149. pulumi_databricks/get_volume.py +32 -16
  150. pulumi_databricks/get_volumes.py +41 -23
  151. pulumi_databricks/get_workspace_network_option.py +45 -26
  152. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  153. pulumi_databricks/get_zones.py +39 -21
  154. pulumi_databricks/git_credential.py +242 -76
  155. pulumi_databricks/global_init_script.py +99 -100
  156. pulumi_databricks/grant.py +215 -212
  157. pulumi_databricks/grants.py +200 -211
  158. pulumi_databricks/group.py +176 -177
  159. pulumi_databricks/group_instance_profile.py +37 -38
  160. pulumi_databricks/group_member.py +37 -38
  161. pulumi_databricks/group_role.py +37 -38
  162. pulumi_databricks/instance_pool.py +168 -169
  163. pulumi_databricks/instance_profile.py +69 -70
  164. pulumi_databricks/ip_access_list.py +71 -72
  165. pulumi_databricks/job.py +426 -346
  166. pulumi_databricks/lakehouse_monitor.py +199 -200
  167. pulumi_databricks/library.py +264 -99
  168. pulumi_databricks/materialized_features_feature_tag.py +213 -0
  169. pulumi_databricks/metastore.py +254 -255
  170. pulumi_databricks/metastore_assignment.py +52 -53
  171. pulumi_databricks/metastore_data_access.py +153 -154
  172. pulumi_databricks/metastore_provider.py +69 -70
  173. pulumi_databricks/mlflow_experiment.py +108 -109
  174. pulumi_databricks/mlflow_model.py +45 -46
  175. pulumi_databricks/mlflow_webhook.py +75 -76
  176. pulumi_databricks/model_serving.py +195 -74
  177. pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
  178. pulumi_databricks/mount.py +103 -104
  179. pulumi_databricks/mws_credentials.py +99 -100
  180. pulumi_databricks/mws_customer_managed_keys.py +75 -76
  181. pulumi_databricks/mws_log_delivery.py +188 -189
  182. pulumi_databricks/mws_ncc_binding.py +35 -36
  183. pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
  184. pulumi_databricks/mws_network_connectivity_config.py +136 -98
  185. pulumi_databricks/mws_networks.py +159 -160
  186. pulumi_databricks/mws_permission_assignment.py +70 -71
  187. pulumi_databricks/mws_private_access_settings.py +116 -117
  188. pulumi_databricks/mws_storage_configurations.py +74 -75
  189. pulumi_databricks/mws_vpc_endpoint.py +149 -150
  190. pulumi_databricks/mws_workspaces.py +464 -418
  191. pulumi_databricks/notebook.py +143 -144
  192. pulumi_databricks/notification_destination.py +38 -39
  193. pulumi_databricks/obo_token.py +63 -64
  194. pulumi_databricks/online_store.py +121 -70
  195. pulumi_databricks/online_table.py +41 -42
  196. pulumi_databricks/outputs.py +47821 -30802
  197. pulumi_databricks/permission_assignment.py +298 -57
  198. pulumi_databricks/permissions.py +523 -362
  199. pulumi_databricks/pipeline.py +515 -480
  200. pulumi_databricks/policy_info.py +916 -0
  201. pulumi_databricks/provider.py +283 -269
  202. pulumi_databricks/pulumi-plugin.json +1 -1
  203. pulumi_databricks/quality_monitor.py +263 -217
  204. pulumi_databricks/quality_monitor_v2.py +49 -46
  205. pulumi_databricks/query.py +227 -228
  206. pulumi_databricks/recipient.py +208 -209
  207. pulumi_databricks/registered_model.py +393 -122
  208. pulumi_databricks/repo.py +117 -118
  209. pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
  210. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  211. pulumi_databricks/schema.py +159 -160
  212. pulumi_databricks/secret.py +72 -73
  213. pulumi_databricks/secret_acl.py +52 -53
  214. pulumi_databricks/secret_scope.py +55 -56
  215. pulumi_databricks/service_principal.py +279 -278
  216. pulumi_databricks/service_principal_federation_policy.py +469 -0
  217. pulumi_databricks/service_principal_role.py +35 -36
  218. pulumi_databricks/service_principal_secret.py +156 -157
  219. pulumi_databricks/share.py +186 -187
  220. pulumi_databricks/sql_alert.py +98 -99
  221. pulumi_databricks/sql_dashboard.py +94 -95
  222. pulumi_databricks/sql_endpoint.py +298 -266
  223. pulumi_databricks/sql_global_config.py +103 -104
  224. pulumi_databricks/sql_permissions.py +121 -122
  225. pulumi_databricks/sql_query.py +150 -151
  226. pulumi_databricks/sql_table.py +310 -283
  227. pulumi_databricks/sql_visualization.py +92 -93
  228. pulumi_databricks/sql_widget.py +91 -88
  229. pulumi_databricks/storage_credential.py +236 -184
  230. pulumi_databricks/system_schema.py +50 -51
  231. pulumi_databricks/table.py +147 -148
  232. pulumi_databricks/tag_policy.py +357 -0
  233. pulumi_databricks/token.py +83 -84
  234. pulumi_databricks/user.py +284 -285
  235. pulumi_databricks/user_instance_profile.py +35 -36
  236. pulumi_databricks/user_role.py +35 -36
  237. pulumi_databricks/vector_search_endpoint.py +117 -118
  238. pulumi_databricks/vector_search_index.py +86 -87
  239. pulumi_databricks/volume.py +129 -130
  240. pulumi_databricks/workspace_binding.py +82 -131
  241. pulumi_databricks/workspace_conf.py +18 -19
  242. pulumi_databricks/workspace_file.py +100 -101
  243. pulumi_databricks/workspace_network_option.py +89 -40
  244. pulumi_databricks/workspace_setting_v2.py +759 -0
  245. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  246. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  247. pulumi_databricks/get_recipient_federation_policies.py +0 -83
  248. pulumi_databricks/get_recipient_federation_policy.py +0 -166
  249. pulumi_databricks/recipient_federation_policy.py +0 -347
  250. pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
  251. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  252. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -23,25 +22,25 @@ __all__ = ['AlertArgs', 'Alert']
23
22
  class AlertArgs:
24
23
  def __init__(__self__, *,
25
24
  condition: pulumi.Input['AlertConditionArgs'],
26
- display_name: pulumi.Input[builtins.str],
27
- query_id: pulumi.Input[builtins.str],
28
- custom_body: Optional[pulumi.Input[builtins.str]] = None,
29
- custom_subject: Optional[pulumi.Input[builtins.str]] = None,
30
- notify_on_ok: Optional[pulumi.Input[builtins.bool]] = None,
31
- owner_user_name: Optional[pulumi.Input[builtins.str]] = None,
32
- parent_path: Optional[pulumi.Input[builtins.str]] = None,
33
- seconds_to_retrigger: Optional[pulumi.Input[builtins.int]] = None):
25
+ display_name: pulumi.Input[_builtins.str],
26
+ query_id: pulumi.Input[_builtins.str],
27
+ custom_body: Optional[pulumi.Input[_builtins.str]] = None,
28
+ custom_subject: Optional[pulumi.Input[_builtins.str]] = None,
29
+ notify_on_ok: Optional[pulumi.Input[_builtins.bool]] = None,
30
+ owner_user_name: Optional[pulumi.Input[_builtins.str]] = None,
31
+ parent_path: Optional[pulumi.Input[_builtins.str]] = None,
32
+ seconds_to_retrigger: Optional[pulumi.Input[_builtins.int]] = None):
34
33
  """
35
34
  The set of arguments for constructing a Alert resource.
36
35
  :param pulumi.Input['AlertConditionArgs'] condition: Trigger conditions of the alert. Block consists of the following attributes:
37
- :param pulumi.Input[builtins.str] display_name: Name of the alert.
38
- :param pulumi.Input[builtins.str] query_id: ID of the query evaluated by the alert.
39
- :param pulumi.Input[builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
40
- :param pulumi.Input[builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
41
- :param pulumi.Input[builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
42
- :param pulumi.Input[builtins.str] owner_user_name: Alert owner's username.
43
- :param pulumi.Input[builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
44
- :param pulumi.Input[builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
36
+ :param pulumi.Input[_builtins.str] display_name: Name of the alert.
37
+ :param pulumi.Input[_builtins.str] query_id: ID of the query evaluated by the alert.
38
+ :param pulumi.Input[_builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
39
+ :param pulumi.Input[_builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
40
+ :param pulumi.Input[_builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
41
+ :param pulumi.Input[_builtins.str] owner_user_name: Alert owner's username.
42
+ :param pulumi.Input[_builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
43
+ :param pulumi.Input[_builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
45
44
  """
46
45
  pulumi.set(__self__, "condition", condition)
47
46
  pulumi.set(__self__, "display_name", display_name)
@@ -59,7 +58,7 @@ class AlertArgs:
59
58
  if seconds_to_retrigger is not None:
60
59
  pulumi.set(__self__, "seconds_to_retrigger", seconds_to_retrigger)
61
60
 
62
- @property
61
+ @_builtins.property
63
62
  @pulumi.getter
64
63
  def condition(self) -> pulumi.Input['AlertConditionArgs']:
65
64
  """
@@ -71,100 +70,100 @@ class AlertArgs:
71
70
  def condition(self, value: pulumi.Input['AlertConditionArgs']):
72
71
  pulumi.set(self, "condition", value)
73
72
 
74
- @property
73
+ @_builtins.property
75
74
  @pulumi.getter(name="displayName")
76
- def display_name(self) -> pulumi.Input[builtins.str]:
75
+ def display_name(self) -> pulumi.Input[_builtins.str]:
77
76
  """
78
77
  Name of the alert.
79
78
  """
80
79
  return pulumi.get(self, "display_name")
81
80
 
82
81
  @display_name.setter
83
- def display_name(self, value: pulumi.Input[builtins.str]):
82
+ def display_name(self, value: pulumi.Input[_builtins.str]):
84
83
  pulumi.set(self, "display_name", value)
85
84
 
86
- @property
85
+ @_builtins.property
87
86
  @pulumi.getter(name="queryId")
88
- def query_id(self) -> pulumi.Input[builtins.str]:
87
+ def query_id(self) -> pulumi.Input[_builtins.str]:
89
88
  """
90
89
  ID of the query evaluated by the alert.
91
90
  """
92
91
  return pulumi.get(self, "query_id")
93
92
 
94
93
  @query_id.setter
95
- def query_id(self, value: pulumi.Input[builtins.str]):
94
+ def query_id(self, value: pulumi.Input[_builtins.str]):
96
95
  pulumi.set(self, "query_id", value)
97
96
 
98
- @property
97
+ @_builtins.property
99
98
  @pulumi.getter(name="customBody")
100
- def custom_body(self) -> Optional[pulumi.Input[builtins.str]]:
99
+ def custom_body(self) -> Optional[pulumi.Input[_builtins.str]]:
101
100
  """
102
101
  Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
103
102
  """
104
103
  return pulumi.get(self, "custom_body")
105
104
 
106
105
  @custom_body.setter
107
- def custom_body(self, value: Optional[pulumi.Input[builtins.str]]):
106
+ def custom_body(self, value: Optional[pulumi.Input[_builtins.str]]):
108
107
  pulumi.set(self, "custom_body", value)
109
108
 
110
- @property
109
+ @_builtins.property
111
110
  @pulumi.getter(name="customSubject")
112
- def custom_subject(self) -> Optional[pulumi.Input[builtins.str]]:
111
+ def custom_subject(self) -> Optional[pulumi.Input[_builtins.str]]:
113
112
  """
114
113
  Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
115
114
  """
116
115
  return pulumi.get(self, "custom_subject")
117
116
 
118
117
  @custom_subject.setter
119
- def custom_subject(self, value: Optional[pulumi.Input[builtins.str]]):
118
+ def custom_subject(self, value: Optional[pulumi.Input[_builtins.str]]):
120
119
  pulumi.set(self, "custom_subject", value)
121
120
 
122
- @property
121
+ @_builtins.property
123
122
  @pulumi.getter(name="notifyOnOk")
124
- def notify_on_ok(self) -> Optional[pulumi.Input[builtins.bool]]:
123
+ def notify_on_ok(self) -> Optional[pulumi.Input[_builtins.bool]]:
125
124
  """
126
125
  Whether to notify alert subscribers when alert returns back to normal.
127
126
  """
128
127
  return pulumi.get(self, "notify_on_ok")
129
128
 
130
129
  @notify_on_ok.setter
131
- def notify_on_ok(self, value: Optional[pulumi.Input[builtins.bool]]):
130
+ def notify_on_ok(self, value: Optional[pulumi.Input[_builtins.bool]]):
132
131
  pulumi.set(self, "notify_on_ok", value)
133
132
 
134
- @property
133
+ @_builtins.property
135
134
  @pulumi.getter(name="ownerUserName")
136
- def owner_user_name(self) -> Optional[pulumi.Input[builtins.str]]:
135
+ def owner_user_name(self) -> Optional[pulumi.Input[_builtins.str]]:
137
136
  """
138
137
  Alert owner's username.
139
138
  """
140
139
  return pulumi.get(self, "owner_user_name")
141
140
 
142
141
  @owner_user_name.setter
143
- def owner_user_name(self, value: Optional[pulumi.Input[builtins.str]]):
142
+ def owner_user_name(self, value: Optional[pulumi.Input[_builtins.str]]):
144
143
  pulumi.set(self, "owner_user_name", value)
145
144
 
146
- @property
145
+ @_builtins.property
147
146
  @pulumi.getter(name="parentPath")
148
- def parent_path(self) -> Optional[pulumi.Input[builtins.str]]:
147
+ def parent_path(self) -> Optional[pulumi.Input[_builtins.str]]:
149
148
  """
150
149
  The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
151
150
  """
152
151
  return pulumi.get(self, "parent_path")
153
152
 
154
153
  @parent_path.setter
155
- def parent_path(self, value: Optional[pulumi.Input[builtins.str]]):
154
+ def parent_path(self, value: Optional[pulumi.Input[_builtins.str]]):
156
155
  pulumi.set(self, "parent_path", value)
157
156
 
158
- @property
157
+ @_builtins.property
159
158
  @pulumi.getter(name="secondsToRetrigger")
160
- def seconds_to_retrigger(self) -> Optional[pulumi.Input[builtins.int]]:
159
+ def seconds_to_retrigger(self) -> Optional[pulumi.Input[_builtins.int]]:
161
160
  """
162
161
  Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
163
162
  """
164
163
  return pulumi.get(self, "seconds_to_retrigger")
165
164
 
166
165
  @seconds_to_retrigger.setter
167
- def seconds_to_retrigger(self, value: Optional[pulumi.Input[builtins.int]]):
166
+ def seconds_to_retrigger(self, value: Optional[pulumi.Input[_builtins.int]]):
168
167
  pulumi.set(self, "seconds_to_retrigger", value)
169
168
 
170
169
 
@@ -172,35 +171,35 @@ class AlertArgs:
172
171
  class _AlertState:
173
172
  def __init__(__self__, *,
174
173
  condition: Optional[pulumi.Input['AlertConditionArgs']] = None,
175
- create_time: Optional[pulumi.Input[builtins.str]] = None,
176
- custom_body: Optional[pulumi.Input[builtins.str]] = None,
177
- custom_subject: Optional[pulumi.Input[builtins.str]] = None,
178
- display_name: Optional[pulumi.Input[builtins.str]] = None,
179
- lifecycle_state: Optional[pulumi.Input[builtins.str]] = None,
180
- notify_on_ok: Optional[pulumi.Input[builtins.bool]] = None,
181
- owner_user_name: Optional[pulumi.Input[builtins.str]] = None,
182
- parent_path: Optional[pulumi.Input[builtins.str]] = None,
183
- query_id: Optional[pulumi.Input[builtins.str]] = None,
184
- seconds_to_retrigger: Optional[pulumi.Input[builtins.int]] = None,
185
- state: Optional[pulumi.Input[builtins.str]] = None,
186
- trigger_time: Optional[pulumi.Input[builtins.str]] = None,
187
- update_time: Optional[pulumi.Input[builtins.str]] = None):
174
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
175
+ custom_body: Optional[pulumi.Input[_builtins.str]] = None,
176
+ custom_subject: Optional[pulumi.Input[_builtins.str]] = None,
177
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
178
+ lifecycle_state: Optional[pulumi.Input[_builtins.str]] = None,
179
+ notify_on_ok: Optional[pulumi.Input[_builtins.bool]] = None,
180
+ owner_user_name: Optional[pulumi.Input[_builtins.str]] = None,
181
+ parent_path: Optional[pulumi.Input[_builtins.str]] = None,
182
+ query_id: Optional[pulumi.Input[_builtins.str]] = None,
183
+ seconds_to_retrigger: Optional[pulumi.Input[_builtins.int]] = None,
184
+ state: Optional[pulumi.Input[_builtins.str]] = None,
185
+ trigger_time: Optional[pulumi.Input[_builtins.str]] = None,
186
+ update_time: Optional[pulumi.Input[_builtins.str]] = None):
188
187
  """
189
188
  Input properties used for looking up and filtering Alert resources.
190
189
  :param pulumi.Input['AlertConditionArgs'] condition: Trigger conditions of the alert. Block consists of the following attributes:
191
- :param pulumi.Input[builtins.str] create_time: The timestamp string indicating when the alert was created.
192
- :param pulumi.Input[builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
193
- :param pulumi.Input[builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
194
- :param pulumi.Input[builtins.str] display_name: Name of the alert.
195
- :param pulumi.Input[builtins.str] lifecycle_state: The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
196
- :param pulumi.Input[builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
197
- :param pulumi.Input[builtins.str] owner_user_name: Alert owner's username.
198
- :param pulumi.Input[builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
199
- :param pulumi.Input[builtins.str] query_id: ID of the query evaluated by the alert.
200
- :param pulumi.Input[builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
201
- :param pulumi.Input[builtins.str] state: Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
202
- :param pulumi.Input[builtins.str] trigger_time: The timestamp string when the alert was last triggered if the alert has been triggered before.
203
- :param pulumi.Input[builtins.str] update_time: The timestamp string indicating when the alert was updated.
190
+ :param pulumi.Input[_builtins.str] create_time: The timestamp string indicating when the alert was created.
191
+ :param pulumi.Input[_builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
192
+ :param pulumi.Input[_builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
193
+ :param pulumi.Input[_builtins.str] display_name: Name of the alert.
194
+ :param pulumi.Input[_builtins.str] lifecycle_state: The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
195
+ :param pulumi.Input[_builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
196
+ :param pulumi.Input[_builtins.str] owner_user_name: Alert owner's username.
197
+ :param pulumi.Input[_builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
198
+ :param pulumi.Input[_builtins.str] query_id: ID of the query evaluated by the alert.
199
+ :param pulumi.Input[_builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
200
+ :param pulumi.Input[_builtins.str] state: Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
201
+ :param pulumi.Input[_builtins.str] trigger_time: The timestamp string when the alert was last triggered if the alert has been triggered before.
202
+ :param pulumi.Input[_builtins.str] update_time: The timestamp string indicating when the alert was updated.
204
203
  """
205
204
  if condition is not None:
206
205
  pulumi.set(__self__, "condition", condition)
@@ -231,7 +230,7 @@ class _AlertState:
231
230
  if update_time is not None:
232
231
  pulumi.set(__self__, "update_time", update_time)
233
232
 
234
- @property
233
+ @_builtins.property
235
234
  @pulumi.getter
236
235
  def condition(self) -> Optional[pulumi.Input['AlertConditionArgs']]:
237
236
  """
@@ -243,160 +242,160 @@ class _AlertState:
243
242
  def condition(self, value: Optional[pulumi.Input['AlertConditionArgs']]):
244
243
  pulumi.set(self, "condition", value)
245
244
 
246
- @property
245
+ @_builtins.property
247
246
  @pulumi.getter(name="createTime")
248
- def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
247
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
249
248
  """
250
249
  The timestamp string indicating when the alert was created.
251
250
  """
252
251
  return pulumi.get(self, "create_time")
253
252
 
254
253
  @create_time.setter
255
- def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
254
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
256
255
  pulumi.set(self, "create_time", value)
257
256
 
258
- @property
257
+ @_builtins.property
259
258
  @pulumi.getter(name="customBody")
260
- def custom_body(self) -> Optional[pulumi.Input[builtins.str]]:
259
+ def custom_body(self) -> Optional[pulumi.Input[_builtins.str]]:
261
260
  """
262
261
  Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
263
262
  """
264
263
  return pulumi.get(self, "custom_body")
265
264
 
266
265
  @custom_body.setter
267
- def custom_body(self, value: Optional[pulumi.Input[builtins.str]]):
266
+ def custom_body(self, value: Optional[pulumi.Input[_builtins.str]]):
268
267
  pulumi.set(self, "custom_body", value)
269
268
 
270
- @property
269
+ @_builtins.property
271
270
  @pulumi.getter(name="customSubject")
272
- def custom_subject(self) -> Optional[pulumi.Input[builtins.str]]:
271
+ def custom_subject(self) -> Optional[pulumi.Input[_builtins.str]]:
273
272
  """
274
273
  Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
275
274
  """
276
275
  return pulumi.get(self, "custom_subject")
277
276
 
278
277
  @custom_subject.setter
279
- def custom_subject(self, value: Optional[pulumi.Input[builtins.str]]):
278
+ def custom_subject(self, value: Optional[pulumi.Input[_builtins.str]]):
280
279
  pulumi.set(self, "custom_subject", value)
281
280
 
282
- @property
281
+ @_builtins.property
283
282
  @pulumi.getter(name="displayName")
284
- def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
283
+ def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
285
284
  """
286
285
  Name of the alert.
287
286
  """
288
287
  return pulumi.get(self, "display_name")
289
288
 
290
289
  @display_name.setter
291
- def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
290
+ def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
292
291
  pulumi.set(self, "display_name", value)
293
292
 
294
- @property
293
+ @_builtins.property
295
294
  @pulumi.getter(name="lifecycleState")
296
- def lifecycle_state(self) -> Optional[pulumi.Input[builtins.str]]:
295
+ def lifecycle_state(self) -> Optional[pulumi.Input[_builtins.str]]:
297
296
  """
298
297
  The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
299
298
  """
300
299
  return pulumi.get(self, "lifecycle_state")
301
300
 
302
301
  @lifecycle_state.setter
303
- def lifecycle_state(self, value: Optional[pulumi.Input[builtins.str]]):
302
+ def lifecycle_state(self, value: Optional[pulumi.Input[_builtins.str]]):
304
303
  pulumi.set(self, "lifecycle_state", value)
305
304
 
306
- @property
305
+ @_builtins.property
307
306
  @pulumi.getter(name="notifyOnOk")
308
- def notify_on_ok(self) -> Optional[pulumi.Input[builtins.bool]]:
307
+ def notify_on_ok(self) -> Optional[pulumi.Input[_builtins.bool]]:
309
308
  """
310
309
  Whether to notify alert subscribers when alert returns back to normal.
311
310
  """
312
311
  return pulumi.get(self, "notify_on_ok")
313
312
 
314
313
  @notify_on_ok.setter
315
- def notify_on_ok(self, value: Optional[pulumi.Input[builtins.bool]]):
314
+ def notify_on_ok(self, value: Optional[pulumi.Input[_builtins.bool]]):
316
315
  pulumi.set(self, "notify_on_ok", value)
317
316
 
318
- @property
317
+ @_builtins.property
319
318
  @pulumi.getter(name="ownerUserName")
320
- def owner_user_name(self) -> Optional[pulumi.Input[builtins.str]]:
319
+ def owner_user_name(self) -> Optional[pulumi.Input[_builtins.str]]:
321
320
  """
322
321
  Alert owner's username.
323
322
  """
324
323
  return pulumi.get(self, "owner_user_name")
325
324
 
326
325
  @owner_user_name.setter
327
- def owner_user_name(self, value: Optional[pulumi.Input[builtins.str]]):
326
+ def owner_user_name(self, value: Optional[pulumi.Input[_builtins.str]]):
328
327
  pulumi.set(self, "owner_user_name", value)
329
328
 
330
- @property
329
+ @_builtins.property
331
330
  @pulumi.getter(name="parentPath")
332
- def parent_path(self) -> Optional[pulumi.Input[builtins.str]]:
331
+ def parent_path(self) -> Optional[pulumi.Input[_builtins.str]]:
333
332
  """
334
333
  The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
335
334
  """
336
335
  return pulumi.get(self, "parent_path")
337
336
 
338
337
  @parent_path.setter
339
- def parent_path(self, value: Optional[pulumi.Input[builtins.str]]):
338
+ def parent_path(self, value: Optional[pulumi.Input[_builtins.str]]):
340
339
  pulumi.set(self, "parent_path", value)
341
340
 
342
- @property
341
+ @_builtins.property
343
342
  @pulumi.getter(name="queryId")
344
- def query_id(self) -> Optional[pulumi.Input[builtins.str]]:
343
+ def query_id(self) -> Optional[pulumi.Input[_builtins.str]]:
345
344
  """
346
345
  ID of the query evaluated by the alert.
347
346
  """
348
347
  return pulumi.get(self, "query_id")
349
348
 
350
349
  @query_id.setter
351
- def query_id(self, value: Optional[pulumi.Input[builtins.str]]):
350
+ def query_id(self, value: Optional[pulumi.Input[_builtins.str]]):
352
351
  pulumi.set(self, "query_id", value)
353
352
 
354
- @property
353
+ @_builtins.property
355
354
  @pulumi.getter(name="secondsToRetrigger")
356
- def seconds_to_retrigger(self) -> Optional[pulumi.Input[builtins.int]]:
355
+ def seconds_to_retrigger(self) -> Optional[pulumi.Input[_builtins.int]]:
357
356
  """
358
357
  Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
359
358
  """
360
359
  return pulumi.get(self, "seconds_to_retrigger")
361
360
 
362
361
  @seconds_to_retrigger.setter
363
- def seconds_to_retrigger(self, value: Optional[pulumi.Input[builtins.int]]):
362
+ def seconds_to_retrigger(self, value: Optional[pulumi.Input[_builtins.int]]):
364
363
  pulumi.set(self, "seconds_to_retrigger", value)
365
364
 
366
- @property
365
+ @_builtins.property
367
366
  @pulumi.getter
368
- def state(self) -> Optional[pulumi.Input[builtins.str]]:
367
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
369
368
  """
370
369
  Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
371
370
  """
372
371
  return pulumi.get(self, "state")
373
372
 
374
373
  @state.setter
375
- def state(self, value: Optional[pulumi.Input[builtins.str]]):
374
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
376
375
  pulumi.set(self, "state", value)
377
376
 
378
- @property
377
+ @_builtins.property
379
378
  @pulumi.getter(name="triggerTime")
380
- def trigger_time(self) -> Optional[pulumi.Input[builtins.str]]:
379
+ def trigger_time(self) -> Optional[pulumi.Input[_builtins.str]]:
381
380
  """
382
381
  The timestamp string when the alert was last triggered if the alert has been triggered before.
383
382
  """
384
383
  return pulumi.get(self, "trigger_time")
385
384
 
386
385
  @trigger_time.setter
387
- def trigger_time(self, value: Optional[pulumi.Input[builtins.str]]):
386
+ def trigger_time(self, value: Optional[pulumi.Input[_builtins.str]]):
388
387
  pulumi.set(self, "trigger_time", value)
389
388
 
390
- @property
389
+ @_builtins.property
391
390
  @pulumi.getter(name="updateTime")
392
- def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
391
+ def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
393
392
  """
394
393
  The timestamp string indicating when the alert was updated.
395
394
  """
396
395
  return pulumi.get(self, "update_time")
397
396
 
398
397
  @update_time.setter
399
- def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
398
+ def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
400
399
  pulumi.set(self, "update_time", value)
401
400
 
402
401
 
@@ -407,14 +406,14 @@ class Alert(pulumi.CustomResource):
407
406
  resource_name: str,
408
407
  opts: Optional[pulumi.ResourceOptions] = None,
409
408
  condition: Optional[pulumi.Input[Union['AlertConditionArgs', 'AlertConditionArgsDict']]] = None,
410
- custom_body: Optional[pulumi.Input[builtins.str]] = None,
411
- custom_subject: Optional[pulumi.Input[builtins.str]] = None,
412
- display_name: Optional[pulumi.Input[builtins.str]] = None,
413
- notify_on_ok: Optional[pulumi.Input[builtins.bool]] = None,
414
- owner_user_name: Optional[pulumi.Input[builtins.str]] = None,
415
- parent_path: Optional[pulumi.Input[builtins.str]] = None,
416
- query_id: Optional[pulumi.Input[builtins.str]] = None,
417
- seconds_to_retrigger: Optional[pulumi.Input[builtins.int]] = None,
409
+ custom_body: Optional[pulumi.Input[_builtins.str]] = None,
410
+ custom_subject: Optional[pulumi.Input[_builtins.str]] = None,
411
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
412
+ notify_on_ok: Optional[pulumi.Input[_builtins.bool]] = None,
413
+ owner_user_name: Optional[pulumi.Input[_builtins.str]] = None,
414
+ parent_path: Optional[pulumi.Input[_builtins.str]] = None,
415
+ query_id: Optional[pulumi.Input[_builtins.str]] = None,
416
+ seconds_to_retrigger: Optional[pulumi.Input[_builtins.int]] = None,
418
417
  __props__=None):
419
418
  """
420
419
  ## Import
@@ -442,14 +441,14 @@ class Alert(pulumi.CustomResource):
442
441
  :param str resource_name: The name of the resource.
443
442
  :param pulumi.ResourceOptions opts: Options for the resource.
444
443
  :param pulumi.Input[Union['AlertConditionArgs', 'AlertConditionArgsDict']] condition: Trigger conditions of the alert. Block consists of the following attributes:
445
- :param pulumi.Input[builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
446
- :param pulumi.Input[builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
447
- :param pulumi.Input[builtins.str] display_name: Name of the alert.
448
- :param pulumi.Input[builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
449
- :param pulumi.Input[builtins.str] owner_user_name: Alert owner's username.
450
- :param pulumi.Input[builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
451
- :param pulumi.Input[builtins.str] query_id: ID of the query evaluated by the alert.
452
- :param pulumi.Input[builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
444
+ :param pulumi.Input[_builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
445
+ :param pulumi.Input[_builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
446
+ :param pulumi.Input[_builtins.str] display_name: Name of the alert.
447
+ :param pulumi.Input[_builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
448
+ :param pulumi.Input[_builtins.str] owner_user_name: Alert owner's username.
449
+ :param pulumi.Input[_builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
450
+ :param pulumi.Input[_builtins.str] query_id: ID of the query evaluated by the alert.
451
+ :param pulumi.Input[_builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
453
452
  """
454
453
  ...
455
454
  @overload
@@ -496,14 +495,14 @@ class Alert(pulumi.CustomResource):
496
495
  resource_name: str,
497
496
  opts: Optional[pulumi.ResourceOptions] = None,
498
497
  condition: Optional[pulumi.Input[Union['AlertConditionArgs', 'AlertConditionArgsDict']]] = None,
499
- custom_body: Optional[pulumi.Input[builtins.str]] = None,
500
- custom_subject: Optional[pulumi.Input[builtins.str]] = None,
501
- display_name: Optional[pulumi.Input[builtins.str]] = None,
502
- notify_on_ok: Optional[pulumi.Input[builtins.bool]] = None,
503
- owner_user_name: Optional[pulumi.Input[builtins.str]] = None,
504
- parent_path: Optional[pulumi.Input[builtins.str]] = None,
505
- query_id: Optional[pulumi.Input[builtins.str]] = None,
506
- seconds_to_retrigger: Optional[pulumi.Input[builtins.int]] = None,
498
+ custom_body: Optional[pulumi.Input[_builtins.str]] = None,
499
+ custom_subject: Optional[pulumi.Input[_builtins.str]] = None,
500
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
501
+ notify_on_ok: Optional[pulumi.Input[_builtins.bool]] = None,
502
+ owner_user_name: Optional[pulumi.Input[_builtins.str]] = None,
503
+ parent_path: Optional[pulumi.Input[_builtins.str]] = None,
504
+ query_id: Optional[pulumi.Input[_builtins.str]] = None,
505
+ seconds_to_retrigger: Optional[pulumi.Input[_builtins.int]] = None,
507
506
  __props__=None):
508
507
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
509
508
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -544,19 +543,19 @@ class Alert(pulumi.CustomResource):
544
543
  id: pulumi.Input[str],
545
544
  opts: Optional[pulumi.ResourceOptions] = None,
546
545
  condition: Optional[pulumi.Input[Union['AlertConditionArgs', 'AlertConditionArgsDict']]] = None,
547
- create_time: Optional[pulumi.Input[builtins.str]] = None,
548
- custom_body: Optional[pulumi.Input[builtins.str]] = None,
549
- custom_subject: Optional[pulumi.Input[builtins.str]] = None,
550
- display_name: Optional[pulumi.Input[builtins.str]] = None,
551
- lifecycle_state: Optional[pulumi.Input[builtins.str]] = None,
552
- notify_on_ok: Optional[pulumi.Input[builtins.bool]] = None,
553
- owner_user_name: Optional[pulumi.Input[builtins.str]] = None,
554
- parent_path: Optional[pulumi.Input[builtins.str]] = None,
555
- query_id: Optional[pulumi.Input[builtins.str]] = None,
556
- seconds_to_retrigger: Optional[pulumi.Input[builtins.int]] = None,
557
- state: Optional[pulumi.Input[builtins.str]] = None,
558
- trigger_time: Optional[pulumi.Input[builtins.str]] = None,
559
- update_time: Optional[pulumi.Input[builtins.str]] = None) -> 'Alert':
546
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
547
+ custom_body: Optional[pulumi.Input[_builtins.str]] = None,
548
+ custom_subject: Optional[pulumi.Input[_builtins.str]] = None,
549
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
550
+ lifecycle_state: Optional[pulumi.Input[_builtins.str]] = None,
551
+ notify_on_ok: Optional[pulumi.Input[_builtins.bool]] = None,
552
+ owner_user_name: Optional[pulumi.Input[_builtins.str]] = None,
553
+ parent_path: Optional[pulumi.Input[_builtins.str]] = None,
554
+ query_id: Optional[pulumi.Input[_builtins.str]] = None,
555
+ seconds_to_retrigger: Optional[pulumi.Input[_builtins.int]] = None,
556
+ state: Optional[pulumi.Input[_builtins.str]] = None,
557
+ trigger_time: Optional[pulumi.Input[_builtins.str]] = None,
558
+ update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'Alert':
560
559
  """
561
560
  Get an existing Alert resource's state with the given name, id, and optional extra
562
561
  properties used to qualify the lookup.
@@ -565,19 +564,19 @@ class Alert(pulumi.CustomResource):
565
564
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
566
565
  :param pulumi.ResourceOptions opts: Options for the resource.
567
566
  :param pulumi.Input[Union['AlertConditionArgs', 'AlertConditionArgsDict']] condition: Trigger conditions of the alert. Block consists of the following attributes:
568
- :param pulumi.Input[builtins.str] create_time: The timestamp string indicating when the alert was created.
569
- :param pulumi.Input[builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
570
- :param pulumi.Input[builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
571
- :param pulumi.Input[builtins.str] display_name: Name of the alert.
572
- :param pulumi.Input[builtins.str] lifecycle_state: The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
573
- :param pulumi.Input[builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
574
- :param pulumi.Input[builtins.str] owner_user_name: Alert owner's username.
575
- :param pulumi.Input[builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
576
- :param pulumi.Input[builtins.str] query_id: ID of the query evaluated by the alert.
577
- :param pulumi.Input[builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
578
- :param pulumi.Input[builtins.str] state: Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
579
- :param pulumi.Input[builtins.str] trigger_time: The timestamp string when the alert was last triggered if the alert has been triggered before.
580
- :param pulumi.Input[builtins.str] update_time: The timestamp string indicating when the alert was updated.
567
+ :param pulumi.Input[_builtins.str] create_time: The timestamp string indicating when the alert was created.
568
+ :param pulumi.Input[_builtins.str] custom_body: Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
569
+ :param pulumi.Input[_builtins.str] custom_subject: Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
570
+ :param pulumi.Input[_builtins.str] display_name: Name of the alert.
571
+ :param pulumi.Input[_builtins.str] lifecycle_state: The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
572
+ :param pulumi.Input[_builtins.bool] notify_on_ok: Whether to notify alert subscribers when alert returns back to normal.
573
+ :param pulumi.Input[_builtins.str] owner_user_name: Alert owner's username.
574
+ :param pulumi.Input[_builtins.str] parent_path: The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
575
+ :param pulumi.Input[_builtins.str] query_id: ID of the query evaluated by the alert.
576
+ :param pulumi.Input[_builtins.int] seconds_to_retrigger: Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
577
+ :param pulumi.Input[_builtins.str] state: Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
578
+ :param pulumi.Input[_builtins.str] trigger_time: The timestamp string when the alert was last triggered if the alert has been triggered before.
579
+ :param pulumi.Input[_builtins.str] update_time: The timestamp string indicating when the alert was updated.
581
580
  """
582
581
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
583
582
 
@@ -599,7 +598,7 @@ class Alert(pulumi.CustomResource):
599
598
  __props__.__dict__["update_time"] = update_time
600
599
  return Alert(resource_name, opts=opts, __props__=__props__)
601
600
 
602
- @property
601
+ @_builtins.property
603
602
  @pulumi.getter
604
603
  def condition(self) -> pulumi.Output['outputs.AlertCondition']:
605
604
  """
@@ -607,105 +606,105 @@ class Alert(pulumi.CustomResource):
607
606
  """
608
607
  return pulumi.get(self, "condition")
609
608
 
610
- @property
609
+ @_builtins.property
611
610
  @pulumi.getter(name="createTime")
612
- def create_time(self) -> pulumi.Output[builtins.str]:
611
+ def create_time(self) -> pulumi.Output[_builtins.str]:
613
612
  """
614
613
  The timestamp string indicating when the alert was created.
615
614
  """
616
615
  return pulumi.get(self, "create_time")
617
616
 
618
- @property
617
+ @_builtins.property
619
618
  @pulumi.getter(name="customBody")
620
- def custom_body(self) -> pulumi.Output[Optional[builtins.str]]:
619
+ def custom_body(self) -> pulumi.Output[Optional[_builtins.str]]:
621
620
  """
622
621
  Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
623
622
  """
624
623
  return pulumi.get(self, "custom_body")
625
624
 
626
- @property
625
+ @_builtins.property
627
626
  @pulumi.getter(name="customSubject")
628
- def custom_subject(self) -> pulumi.Output[Optional[builtins.str]]:
627
+ def custom_subject(self) -> pulumi.Output[Optional[_builtins.str]]:
629
628
  """
630
629
  Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
631
630
  """
632
631
  return pulumi.get(self, "custom_subject")
633
632
 
634
- @property
633
+ @_builtins.property
635
634
  @pulumi.getter(name="displayName")
636
- def display_name(self) -> pulumi.Output[builtins.str]:
635
+ def display_name(self) -> pulumi.Output[_builtins.str]:
637
636
  """
638
637
  Name of the alert.
639
638
  """
640
639
  return pulumi.get(self, "display_name")
641
640
 
642
- @property
641
+ @_builtins.property
643
642
  @pulumi.getter(name="lifecycleState")
644
- def lifecycle_state(self) -> pulumi.Output[builtins.str]:
643
+ def lifecycle_state(self) -> pulumi.Output[_builtins.str]:
645
644
  """
646
645
  The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
647
646
  """
648
647
  return pulumi.get(self, "lifecycle_state")
649
648
 
650
- @property
649
+ @_builtins.property
651
650
  @pulumi.getter(name="notifyOnOk")
652
- def notify_on_ok(self) -> pulumi.Output[Optional[builtins.bool]]:
651
+ def notify_on_ok(self) -> pulumi.Output[Optional[_builtins.bool]]:
653
652
  """
654
653
  Whether to notify alert subscribers when alert returns back to normal.
655
654
  """
656
655
  return pulumi.get(self, "notify_on_ok")
657
656
 
658
- @property
657
+ @_builtins.property
659
658
  @pulumi.getter(name="ownerUserName")
660
- def owner_user_name(self) -> pulumi.Output[Optional[builtins.str]]:
659
+ def owner_user_name(self) -> pulumi.Output[Optional[_builtins.str]]:
661
660
  """
662
661
  Alert owner's username.
663
662
  """
664
663
  return pulumi.get(self, "owner_user_name")
665
664
 
666
- @property
665
+ @_builtins.property
667
666
  @pulumi.getter(name="parentPath")
668
- def parent_path(self) -> pulumi.Output[Optional[builtins.str]]:
667
+ def parent_path(self) -> pulumi.Output[Optional[_builtins.str]]:
669
668
  """
670
669
  The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
671
670
  """
672
671
  return pulumi.get(self, "parent_path")
673
672
 
674
- @property
673
+ @_builtins.property
675
674
  @pulumi.getter(name="queryId")
676
- def query_id(self) -> pulumi.Output[builtins.str]:
675
+ def query_id(self) -> pulumi.Output[_builtins.str]:
677
676
  """
678
677
  ID of the query evaluated by the alert.
679
678
  """
680
679
  return pulumi.get(self, "query_id")
681
680
 
682
- @property
681
+ @_builtins.property
683
682
  @pulumi.getter(name="secondsToRetrigger")
684
- def seconds_to_retrigger(self) -> pulumi.Output[Optional[builtins.int]]:
683
+ def seconds_to_retrigger(self) -> pulumi.Output[Optional[_builtins.int]]:
685
684
  """
686
685
  Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
687
686
  """
688
687
  return pulumi.get(self, "seconds_to_retrigger")
689
688
 
690
- @property
689
+ @_builtins.property
691
690
  @pulumi.getter
692
- def state(self) -> pulumi.Output[builtins.str]:
691
+ def state(self) -> pulumi.Output[_builtins.str]:
693
692
  """
694
693
  Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
695
694
  """
696
695
  return pulumi.get(self, "state")
697
696
 
698
- @property
697
+ @_builtins.property
699
698
  @pulumi.getter(name="triggerTime")
700
- def trigger_time(self) -> pulumi.Output[builtins.str]:
699
+ def trigger_time(self) -> pulumi.Output[_builtins.str]:
701
700
  """
702
701
  The timestamp string when the alert was last triggered if the alert has been triggered before.
703
702
  """
704
703
  return pulumi.get(self, "trigger_time")
705
704
 
706
- @property
705
+ @_builtins.property
707
706
  @pulumi.getter(name="updateTime")
708
- def update_time(self) -> pulumi.Output[builtins.str]:
707
+ def update_time(self) -> pulumi.Output[_builtins.str]:
709
708
  """
710
709
  The timestamp string indicating when the alert was updated.
711
710
  """