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
@@ -20,30 +19,30 @@ __all__ = ['MwsLogDeliveryArgs', 'MwsLogDelivery']
20
19
  @pulumi.input_type
21
20
  class MwsLogDeliveryArgs:
22
21
  def __init__(__self__, *,
23
- account_id: pulumi.Input[builtins.str],
24
- credentials_id: pulumi.Input[builtins.str],
25
- log_type: pulumi.Input[builtins.str],
26
- output_format: pulumi.Input[builtins.str],
27
- storage_configuration_id: pulumi.Input[builtins.str],
28
- config_id: Optional[pulumi.Input[builtins.str]] = None,
29
- config_name: Optional[pulumi.Input[builtins.str]] = None,
30
- delivery_path_prefix: Optional[pulumi.Input[builtins.str]] = None,
31
- delivery_start_time: Optional[pulumi.Input[builtins.str]] = None,
32
- status: Optional[pulumi.Input[builtins.str]] = None,
33
- workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None):
22
+ account_id: pulumi.Input[_builtins.str],
23
+ credentials_id: pulumi.Input[_builtins.str],
24
+ log_type: pulumi.Input[_builtins.str],
25
+ output_format: pulumi.Input[_builtins.str],
26
+ storage_configuration_id: pulumi.Input[_builtins.str],
27
+ config_id: Optional[pulumi.Input[_builtins.str]] = None,
28
+ config_name: Optional[pulumi.Input[_builtins.str]] = None,
29
+ delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
30
+ delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
31
+ status: Optional[pulumi.Input[_builtins.str]] = None,
32
+ workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
34
33
  """
35
34
  The set of arguments for constructing a MwsLogDelivery resource.
36
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
37
- :param pulumi.Input[builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
38
- :param pulumi.Input[builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
39
- :param pulumi.Input[builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
40
- :param pulumi.Input[builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
41
- :param pulumi.Input[builtins.str] config_id: Databricks log delivery configuration ID.
42
- :param pulumi.Input[builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
43
- :param pulumi.Input[builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
44
- :param pulumi.Input[builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
45
- :param pulumi.Input[builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
46
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
35
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
36
+ :param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
37
+ :param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
38
+ :param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
39
+ :param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
40
+ :param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
41
+ :param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
42
+ :param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
43
+ :param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
44
+ :param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
45
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
47
46
  """
48
47
  pulumi.set(__self__, "account_id", account_id)
49
48
  pulumi.set(__self__, "credentials_id", credentials_id)
@@ -63,166 +62,166 @@ class MwsLogDeliveryArgs:
63
62
  if workspace_ids_filters is not None:
64
63
  pulumi.set(__self__, "workspace_ids_filters", workspace_ids_filters)
65
64
 
66
- @property
65
+ @_builtins.property
67
66
  @pulumi.getter(name="accountId")
68
- def account_id(self) -> pulumi.Input[builtins.str]:
67
+ def account_id(self) -> pulumi.Input[_builtins.str]:
69
68
  """
70
69
  Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
71
70
  """
72
71
  return pulumi.get(self, "account_id")
73
72
 
74
73
  @account_id.setter
75
- def account_id(self, value: pulumi.Input[builtins.str]):
74
+ def account_id(self, value: pulumi.Input[_builtins.str]):
76
75
  pulumi.set(self, "account_id", value)
77
76
 
78
- @property
77
+ @_builtins.property
79
78
  @pulumi.getter(name="credentialsId")
80
- def credentials_id(self) -> pulumi.Input[builtins.str]:
79
+ def credentials_id(self) -> pulumi.Input[_builtins.str]:
81
80
  """
82
81
  The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
83
82
  """
84
83
  return pulumi.get(self, "credentials_id")
85
84
 
86
85
  @credentials_id.setter
87
- def credentials_id(self, value: pulumi.Input[builtins.str]):
86
+ def credentials_id(self, value: pulumi.Input[_builtins.str]):
88
87
  pulumi.set(self, "credentials_id", value)
89
88
 
90
- @property
89
+ @_builtins.property
91
90
  @pulumi.getter(name="logType")
92
- def log_type(self) -> pulumi.Input[builtins.str]:
91
+ def log_type(self) -> pulumi.Input[_builtins.str]:
93
92
  """
94
93
  The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
95
94
  """
96
95
  return pulumi.get(self, "log_type")
97
96
 
98
97
  @log_type.setter
99
- def log_type(self, value: pulumi.Input[builtins.str]):
98
+ def log_type(self, value: pulumi.Input[_builtins.str]):
100
99
  pulumi.set(self, "log_type", value)
101
100
 
102
- @property
101
+ @_builtins.property
103
102
  @pulumi.getter(name="outputFormat")
104
- def output_format(self) -> pulumi.Input[builtins.str]:
103
+ def output_format(self) -> pulumi.Input[_builtins.str]:
105
104
  """
106
105
  The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
107
106
  """
108
107
  return pulumi.get(self, "output_format")
109
108
 
110
109
  @output_format.setter
111
- def output_format(self, value: pulumi.Input[builtins.str]):
110
+ def output_format(self, value: pulumi.Input[_builtins.str]):
112
111
  pulumi.set(self, "output_format", value)
113
112
 
114
- @property
113
+ @_builtins.property
115
114
  @pulumi.getter(name="storageConfigurationId")
116
- def storage_configuration_id(self) -> pulumi.Input[builtins.str]:
115
+ def storage_configuration_id(self) -> pulumi.Input[_builtins.str]:
117
116
  """
118
117
  The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
119
118
  """
120
119
  return pulumi.get(self, "storage_configuration_id")
121
120
 
122
121
  @storage_configuration_id.setter
123
- def storage_configuration_id(self, value: pulumi.Input[builtins.str]):
122
+ def storage_configuration_id(self, value: pulumi.Input[_builtins.str]):
124
123
  pulumi.set(self, "storage_configuration_id", value)
125
124
 
126
- @property
125
+ @_builtins.property
127
126
  @pulumi.getter(name="configId")
128
- def config_id(self) -> Optional[pulumi.Input[builtins.str]]:
127
+ def config_id(self) -> Optional[pulumi.Input[_builtins.str]]:
129
128
  """
130
129
  Databricks log delivery configuration ID.
131
130
  """
132
131
  return pulumi.get(self, "config_id")
133
132
 
134
133
  @config_id.setter
135
- def config_id(self, value: Optional[pulumi.Input[builtins.str]]):
134
+ def config_id(self, value: Optional[pulumi.Input[_builtins.str]]):
136
135
  pulumi.set(self, "config_id", value)
137
136
 
138
- @property
137
+ @_builtins.property
139
138
  @pulumi.getter(name="configName")
140
- def config_name(self) -> Optional[pulumi.Input[builtins.str]]:
139
+ def config_name(self) -> Optional[pulumi.Input[_builtins.str]]:
141
140
  """
142
141
  The optional human-readable name of the log delivery configuration. Defaults to empty.
143
142
  """
144
143
  return pulumi.get(self, "config_name")
145
144
 
146
145
  @config_name.setter
147
- def config_name(self, value: Optional[pulumi.Input[builtins.str]]):
146
+ def config_name(self, value: Optional[pulumi.Input[_builtins.str]]):
148
147
  pulumi.set(self, "config_name", value)
149
148
 
150
- @property
149
+ @_builtins.property
151
150
  @pulumi.getter(name="deliveryPathPrefix")
152
- def delivery_path_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
151
+ def delivery_path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
153
152
  """
154
153
  Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
155
154
  """
156
155
  return pulumi.get(self, "delivery_path_prefix")
157
156
 
158
157
  @delivery_path_prefix.setter
159
- def delivery_path_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
158
+ def delivery_path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
160
159
  pulumi.set(self, "delivery_path_prefix", value)
161
160
 
162
- @property
161
+ @_builtins.property
163
162
  @pulumi.getter(name="deliveryStartTime")
164
- def delivery_start_time(self) -> Optional[pulumi.Input[builtins.str]]:
163
+ def delivery_start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
165
164
  """
166
165
  The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
167
166
  """
168
167
  return pulumi.get(self, "delivery_start_time")
169
168
 
170
169
  @delivery_start_time.setter
171
- def delivery_start_time(self, value: Optional[pulumi.Input[builtins.str]]):
170
+ def delivery_start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
172
171
  pulumi.set(self, "delivery_start_time", value)
173
172
 
174
- @property
173
+ @_builtins.property
175
174
  @pulumi.getter
176
- def status(self) -> Optional[pulumi.Input[builtins.str]]:
175
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
177
176
  """
178
177
  Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
179
178
  """
180
179
  return pulumi.get(self, "status")
181
180
 
182
181
  @status.setter
183
- def status(self, value: Optional[pulumi.Input[builtins.str]]):
182
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
184
183
  pulumi.set(self, "status", value)
185
184
 
186
- @property
185
+ @_builtins.property
187
186
  @pulumi.getter(name="workspaceIdsFilters")
188
- def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
187
+ def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
189
188
  """
190
189
  By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
191
190
  """
192
191
  return pulumi.get(self, "workspace_ids_filters")
193
192
 
194
193
  @workspace_ids_filters.setter
195
- def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
194
+ def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
196
195
  pulumi.set(self, "workspace_ids_filters", value)
197
196
 
198
197
 
199
198
  @pulumi.input_type
200
199
  class _MwsLogDeliveryState:
201
200
  def __init__(__self__, *,
202
- account_id: Optional[pulumi.Input[builtins.str]] = None,
203
- config_id: Optional[pulumi.Input[builtins.str]] = None,
204
- config_name: Optional[pulumi.Input[builtins.str]] = None,
205
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
206
- delivery_path_prefix: Optional[pulumi.Input[builtins.str]] = None,
207
- delivery_start_time: Optional[pulumi.Input[builtins.str]] = None,
208
- log_type: Optional[pulumi.Input[builtins.str]] = None,
209
- output_format: Optional[pulumi.Input[builtins.str]] = None,
210
- status: Optional[pulumi.Input[builtins.str]] = None,
211
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
212
- workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None):
201
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
202
+ config_id: Optional[pulumi.Input[_builtins.str]] = None,
203
+ config_name: Optional[pulumi.Input[_builtins.str]] = None,
204
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
205
+ delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
206
+ delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
207
+ log_type: Optional[pulumi.Input[_builtins.str]] = None,
208
+ output_format: Optional[pulumi.Input[_builtins.str]] = None,
209
+ status: Optional[pulumi.Input[_builtins.str]] = None,
210
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
211
+ workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
213
212
  """
214
213
  Input properties used for looking up and filtering MwsLogDelivery resources.
215
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
216
- :param pulumi.Input[builtins.str] config_id: Databricks log delivery configuration ID.
217
- :param pulumi.Input[builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
218
- :param pulumi.Input[builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
219
- :param pulumi.Input[builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
220
- :param pulumi.Input[builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
221
- :param pulumi.Input[builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
222
- :param pulumi.Input[builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
223
- :param pulumi.Input[builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
224
- :param pulumi.Input[builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
225
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
214
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
215
+ :param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
216
+ :param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
217
+ :param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
218
+ :param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
219
+ :param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
220
+ :param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
221
+ :param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
222
+ :param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
223
+ :param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
224
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
226
225
  """
227
226
  if account_id is not None:
228
227
  pulumi.set(__self__, "account_id", account_id)
@@ -247,136 +246,136 @@ class _MwsLogDeliveryState:
247
246
  if workspace_ids_filters is not None:
248
247
  pulumi.set(__self__, "workspace_ids_filters", workspace_ids_filters)
249
248
 
250
- @property
249
+ @_builtins.property
251
250
  @pulumi.getter(name="accountId")
252
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
251
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
253
252
  """
254
253
  Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
255
254
  """
256
255
  return pulumi.get(self, "account_id")
257
256
 
258
257
  @account_id.setter
259
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
258
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
260
259
  pulumi.set(self, "account_id", value)
261
260
 
262
- @property
261
+ @_builtins.property
263
262
  @pulumi.getter(name="configId")
264
- def config_id(self) -> Optional[pulumi.Input[builtins.str]]:
263
+ def config_id(self) -> Optional[pulumi.Input[_builtins.str]]:
265
264
  """
266
265
  Databricks log delivery configuration ID.
267
266
  """
268
267
  return pulumi.get(self, "config_id")
269
268
 
270
269
  @config_id.setter
271
- def config_id(self, value: Optional[pulumi.Input[builtins.str]]):
270
+ def config_id(self, value: Optional[pulumi.Input[_builtins.str]]):
272
271
  pulumi.set(self, "config_id", value)
273
272
 
274
- @property
273
+ @_builtins.property
275
274
  @pulumi.getter(name="configName")
276
- def config_name(self) -> Optional[pulumi.Input[builtins.str]]:
275
+ def config_name(self) -> Optional[pulumi.Input[_builtins.str]]:
277
276
  """
278
277
  The optional human-readable name of the log delivery configuration. Defaults to empty.
279
278
  """
280
279
  return pulumi.get(self, "config_name")
281
280
 
282
281
  @config_name.setter
283
- def config_name(self, value: Optional[pulumi.Input[builtins.str]]):
282
+ def config_name(self, value: Optional[pulumi.Input[_builtins.str]]):
284
283
  pulumi.set(self, "config_name", value)
285
284
 
286
- @property
285
+ @_builtins.property
287
286
  @pulumi.getter(name="credentialsId")
288
- def credentials_id(self) -> Optional[pulumi.Input[builtins.str]]:
287
+ def credentials_id(self) -> Optional[pulumi.Input[_builtins.str]]:
289
288
  """
290
289
  The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
291
290
  """
292
291
  return pulumi.get(self, "credentials_id")
293
292
 
294
293
  @credentials_id.setter
295
- def credentials_id(self, value: Optional[pulumi.Input[builtins.str]]):
294
+ def credentials_id(self, value: Optional[pulumi.Input[_builtins.str]]):
296
295
  pulumi.set(self, "credentials_id", value)
297
296
 
298
- @property
297
+ @_builtins.property
299
298
  @pulumi.getter(name="deliveryPathPrefix")
300
- def delivery_path_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
299
+ def delivery_path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
301
300
  """
302
301
  Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
303
302
  """
304
303
  return pulumi.get(self, "delivery_path_prefix")
305
304
 
306
305
  @delivery_path_prefix.setter
307
- def delivery_path_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
306
+ def delivery_path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
308
307
  pulumi.set(self, "delivery_path_prefix", value)
309
308
 
310
- @property
309
+ @_builtins.property
311
310
  @pulumi.getter(name="deliveryStartTime")
312
- def delivery_start_time(self) -> Optional[pulumi.Input[builtins.str]]:
311
+ def delivery_start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
313
312
  """
314
313
  The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
315
314
  """
316
315
  return pulumi.get(self, "delivery_start_time")
317
316
 
318
317
  @delivery_start_time.setter
319
- def delivery_start_time(self, value: Optional[pulumi.Input[builtins.str]]):
318
+ def delivery_start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
320
319
  pulumi.set(self, "delivery_start_time", value)
321
320
 
322
- @property
321
+ @_builtins.property
323
322
  @pulumi.getter(name="logType")
324
- def log_type(self) -> Optional[pulumi.Input[builtins.str]]:
323
+ def log_type(self) -> Optional[pulumi.Input[_builtins.str]]:
325
324
  """
326
325
  The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
327
326
  """
328
327
  return pulumi.get(self, "log_type")
329
328
 
330
329
  @log_type.setter
331
- def log_type(self, value: Optional[pulumi.Input[builtins.str]]):
330
+ def log_type(self, value: Optional[pulumi.Input[_builtins.str]]):
332
331
  pulumi.set(self, "log_type", value)
333
332
 
334
- @property
333
+ @_builtins.property
335
334
  @pulumi.getter(name="outputFormat")
336
- def output_format(self) -> Optional[pulumi.Input[builtins.str]]:
335
+ def output_format(self) -> Optional[pulumi.Input[_builtins.str]]:
337
336
  """
338
337
  The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
339
338
  """
340
339
  return pulumi.get(self, "output_format")
341
340
 
342
341
  @output_format.setter
343
- def output_format(self, value: Optional[pulumi.Input[builtins.str]]):
342
+ def output_format(self, value: Optional[pulumi.Input[_builtins.str]]):
344
343
  pulumi.set(self, "output_format", value)
345
344
 
346
- @property
345
+ @_builtins.property
347
346
  @pulumi.getter
348
- def status(self) -> Optional[pulumi.Input[builtins.str]]:
347
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
349
348
  """
350
349
  Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
351
350
  """
352
351
  return pulumi.get(self, "status")
353
352
 
354
353
  @status.setter
355
- def status(self, value: Optional[pulumi.Input[builtins.str]]):
354
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
356
355
  pulumi.set(self, "status", value)
357
356
 
358
- @property
357
+ @_builtins.property
359
358
  @pulumi.getter(name="storageConfigurationId")
360
- def storage_configuration_id(self) -> Optional[pulumi.Input[builtins.str]]:
359
+ def storage_configuration_id(self) -> Optional[pulumi.Input[_builtins.str]]:
361
360
  """
362
361
  The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
363
362
  """
364
363
  return pulumi.get(self, "storage_configuration_id")
365
364
 
366
365
  @storage_configuration_id.setter
367
- def storage_configuration_id(self, value: Optional[pulumi.Input[builtins.str]]):
366
+ def storage_configuration_id(self, value: Optional[pulumi.Input[_builtins.str]]):
368
367
  pulumi.set(self, "storage_configuration_id", value)
369
368
 
370
- @property
369
+ @_builtins.property
371
370
  @pulumi.getter(name="workspaceIdsFilters")
372
- def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
371
+ def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
373
372
  """
374
373
  By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
375
374
  """
376
375
  return pulumi.get(self, "workspace_ids_filters")
377
376
 
378
377
  @workspace_ids_filters.setter
379
- def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
378
+ def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
380
379
  pulumi.set(self, "workspace_ids_filters", value)
381
380
 
382
381
 
@@ -386,17 +385,17 @@ class MwsLogDelivery(pulumi.CustomResource):
386
385
  def __init__(__self__,
387
386
  resource_name: str,
388
387
  opts: Optional[pulumi.ResourceOptions] = None,
389
- account_id: Optional[pulumi.Input[builtins.str]] = None,
390
- config_id: Optional[pulumi.Input[builtins.str]] = None,
391
- config_name: Optional[pulumi.Input[builtins.str]] = None,
392
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
393
- delivery_path_prefix: Optional[pulumi.Input[builtins.str]] = None,
394
- delivery_start_time: Optional[pulumi.Input[builtins.str]] = None,
395
- log_type: Optional[pulumi.Input[builtins.str]] = None,
396
- output_format: Optional[pulumi.Input[builtins.str]] = None,
397
- status: Optional[pulumi.Input[builtins.str]] = None,
398
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
399
- workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
388
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
389
+ config_id: Optional[pulumi.Input[_builtins.str]] = None,
390
+ config_name: Optional[pulumi.Input[_builtins.str]] = None,
391
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
392
+ delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
393
+ delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
394
+ log_type: Optional[pulumi.Input[_builtins.str]] = None,
395
+ output_format: Optional[pulumi.Input[_builtins.str]] = None,
396
+ status: Optional[pulumi.Input[_builtins.str]] = None,
397
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
398
+ workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
400
399
  __props__=None):
401
400
  """
402
401
  This resource configures the delivery of the two supported log types from Databricks workspaces: [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
@@ -460,17 +459,17 @@ class MwsLogDelivery(pulumi.CustomResource):
460
459
 
461
460
  :param str resource_name: The name of the resource.
462
461
  :param pulumi.ResourceOptions opts: Options for the resource.
463
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
464
- :param pulumi.Input[builtins.str] config_id: Databricks log delivery configuration ID.
465
- :param pulumi.Input[builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
466
- :param pulumi.Input[builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
467
- :param pulumi.Input[builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
468
- :param pulumi.Input[builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
469
- :param pulumi.Input[builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
470
- :param pulumi.Input[builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
471
- :param pulumi.Input[builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
472
- :param pulumi.Input[builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
473
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
462
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
463
+ :param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
464
+ :param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
465
+ :param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
466
+ :param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
467
+ :param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
468
+ :param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
469
+ :param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
470
+ :param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
471
+ :param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
472
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
474
473
  """
475
474
  ...
476
475
  @overload
@@ -553,17 +552,17 @@ class MwsLogDelivery(pulumi.CustomResource):
553
552
  def _internal_init(__self__,
554
553
  resource_name: str,
555
554
  opts: Optional[pulumi.ResourceOptions] = None,
556
- account_id: Optional[pulumi.Input[builtins.str]] = None,
557
- config_id: Optional[pulumi.Input[builtins.str]] = None,
558
- config_name: Optional[pulumi.Input[builtins.str]] = None,
559
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
560
- delivery_path_prefix: Optional[pulumi.Input[builtins.str]] = None,
561
- delivery_start_time: Optional[pulumi.Input[builtins.str]] = None,
562
- log_type: Optional[pulumi.Input[builtins.str]] = None,
563
- output_format: Optional[pulumi.Input[builtins.str]] = None,
564
- status: Optional[pulumi.Input[builtins.str]] = None,
565
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
566
- workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
555
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
556
+ config_id: Optional[pulumi.Input[_builtins.str]] = None,
557
+ config_name: Optional[pulumi.Input[_builtins.str]] = None,
558
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
559
+ delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
560
+ delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
561
+ log_type: Optional[pulumi.Input[_builtins.str]] = None,
562
+ output_format: Optional[pulumi.Input[_builtins.str]] = None,
563
+ status: Optional[pulumi.Input[_builtins.str]] = None,
564
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
565
+ workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
567
566
  __props__=None):
568
567
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
569
568
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -604,17 +603,17 @@ class MwsLogDelivery(pulumi.CustomResource):
604
603
  def get(resource_name: str,
605
604
  id: pulumi.Input[str],
606
605
  opts: Optional[pulumi.ResourceOptions] = None,
607
- account_id: Optional[pulumi.Input[builtins.str]] = None,
608
- config_id: Optional[pulumi.Input[builtins.str]] = None,
609
- config_name: Optional[pulumi.Input[builtins.str]] = None,
610
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
611
- delivery_path_prefix: Optional[pulumi.Input[builtins.str]] = None,
612
- delivery_start_time: Optional[pulumi.Input[builtins.str]] = None,
613
- log_type: Optional[pulumi.Input[builtins.str]] = None,
614
- output_format: Optional[pulumi.Input[builtins.str]] = None,
615
- status: Optional[pulumi.Input[builtins.str]] = None,
616
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
617
- workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None) -> 'MwsLogDelivery':
606
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
607
+ config_id: Optional[pulumi.Input[_builtins.str]] = None,
608
+ config_name: Optional[pulumi.Input[_builtins.str]] = None,
609
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
610
+ delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
611
+ delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
612
+ log_type: Optional[pulumi.Input[_builtins.str]] = None,
613
+ output_format: Optional[pulumi.Input[_builtins.str]] = None,
614
+ status: Optional[pulumi.Input[_builtins.str]] = None,
615
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
616
+ workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None) -> 'MwsLogDelivery':
618
617
  """
619
618
  Get an existing MwsLogDelivery resource's state with the given name, id, and optional extra
620
619
  properties used to qualify the lookup.
@@ -622,17 +621,17 @@ class MwsLogDelivery(pulumi.CustomResource):
622
621
  :param str resource_name: The unique name of the resulting resource.
623
622
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
624
623
  :param pulumi.ResourceOptions opts: Options for the resource.
625
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
626
- :param pulumi.Input[builtins.str] config_id: Databricks log delivery configuration ID.
627
- :param pulumi.Input[builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
628
- :param pulumi.Input[builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
629
- :param pulumi.Input[builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
630
- :param pulumi.Input[builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
631
- :param pulumi.Input[builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
632
- :param pulumi.Input[builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
633
- :param pulumi.Input[builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
634
- :param pulumi.Input[builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
635
- :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
624
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
625
+ :param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
626
+ :param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
627
+ :param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
628
+ :param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
629
+ :param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
630
+ :param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
631
+ :param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
632
+ :param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
633
+ :param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
634
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
636
635
  """
637
636
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
638
637
 
@@ -651,89 +650,89 @@ class MwsLogDelivery(pulumi.CustomResource):
651
650
  __props__.__dict__["workspace_ids_filters"] = workspace_ids_filters
652
651
  return MwsLogDelivery(resource_name, opts=opts, __props__=__props__)
653
652
 
654
- @property
653
+ @_builtins.property
655
654
  @pulumi.getter(name="accountId")
656
- def account_id(self) -> pulumi.Output[builtins.str]:
655
+ def account_id(self) -> pulumi.Output[_builtins.str]:
657
656
  """
658
657
  Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
659
658
  """
660
659
  return pulumi.get(self, "account_id")
661
660
 
662
- @property
661
+ @_builtins.property
663
662
  @pulumi.getter(name="configId")
664
- def config_id(self) -> pulumi.Output[builtins.str]:
663
+ def config_id(self) -> pulumi.Output[_builtins.str]:
665
664
  """
666
665
  Databricks log delivery configuration ID.
667
666
  """
668
667
  return pulumi.get(self, "config_id")
669
668
 
670
- @property
669
+ @_builtins.property
671
670
  @pulumi.getter(name="configName")
672
- def config_name(self) -> pulumi.Output[Optional[builtins.str]]:
671
+ def config_name(self) -> pulumi.Output[Optional[_builtins.str]]:
673
672
  """
674
673
  The optional human-readable name of the log delivery configuration. Defaults to empty.
675
674
  """
676
675
  return pulumi.get(self, "config_name")
677
676
 
678
- @property
677
+ @_builtins.property
679
678
  @pulumi.getter(name="credentialsId")
680
- def credentials_id(self) -> pulumi.Output[builtins.str]:
679
+ def credentials_id(self) -> pulumi.Output[_builtins.str]:
681
680
  """
682
681
  The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
683
682
  """
684
683
  return pulumi.get(self, "credentials_id")
685
684
 
686
- @property
685
+ @_builtins.property
687
686
  @pulumi.getter(name="deliveryPathPrefix")
688
- def delivery_path_prefix(self) -> pulumi.Output[Optional[builtins.str]]:
687
+ def delivery_path_prefix(self) -> pulumi.Output[Optional[_builtins.str]]:
689
688
  """
690
689
  Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
691
690
  """
692
691
  return pulumi.get(self, "delivery_path_prefix")
693
692
 
694
- @property
693
+ @_builtins.property
695
694
  @pulumi.getter(name="deliveryStartTime")
696
- def delivery_start_time(self) -> pulumi.Output[builtins.str]:
695
+ def delivery_start_time(self) -> pulumi.Output[_builtins.str]:
697
696
  """
698
697
  The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
699
698
  """
700
699
  return pulumi.get(self, "delivery_start_time")
701
700
 
702
- @property
701
+ @_builtins.property
703
702
  @pulumi.getter(name="logType")
704
- def log_type(self) -> pulumi.Output[builtins.str]:
703
+ def log_type(self) -> pulumi.Output[_builtins.str]:
705
704
  """
706
705
  The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
707
706
  """
708
707
  return pulumi.get(self, "log_type")
709
708
 
710
- @property
709
+ @_builtins.property
711
710
  @pulumi.getter(name="outputFormat")
712
- def output_format(self) -> pulumi.Output[builtins.str]:
711
+ def output_format(self) -> pulumi.Output[_builtins.str]:
713
712
  """
714
713
  The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
715
714
  """
716
715
  return pulumi.get(self, "output_format")
717
716
 
718
- @property
717
+ @_builtins.property
719
718
  @pulumi.getter
720
- def status(self) -> pulumi.Output[builtins.str]:
719
+ def status(self) -> pulumi.Output[_builtins.str]:
721
720
  """
722
721
  Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
723
722
  """
724
723
  return pulumi.get(self, "status")
725
724
 
726
- @property
725
+ @_builtins.property
727
726
  @pulumi.getter(name="storageConfigurationId")
728
- def storage_configuration_id(self) -> pulumi.Output[builtins.str]:
727
+ def storage_configuration_id(self) -> pulumi.Output[_builtins.str]:
729
728
  """
730
729
  The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
731
730
  """
732
731
  return pulumi.get(self, "storage_configuration_id")
733
732
 
734
- @property
733
+ @_builtins.property
735
734
  @pulumi.getter(name="workspaceIdsFilters")
736
- def workspace_ids_filters(self) -> pulumi.Output[Optional[Sequence[builtins.int]]]:
735
+ def workspace_ids_filters(self) -> pulumi.Output[Optional[Sequence[_builtins.int]]]:
737
736
  """
738
737
  By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
739
738
  """