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
@@ -22,21 +21,36 @@ __all__ = ['LibraryArgs', 'Library']
22
21
  @pulumi.input_type
23
22
  class LibraryArgs:
24
23
  def __init__(__self__, *,
25
- cluster_id: pulumi.Input[builtins.str],
24
+ cluster_id: pulumi.Input[_builtins.str],
26
25
  cran: Optional[pulumi.Input['LibraryCranArgs']] = None,
27
- egg: Optional[pulumi.Input[builtins.str]] = None,
28
- jar: Optional[pulumi.Input[builtins.str]] = None,
29
- library_id: Optional[pulumi.Input[builtins.str]] = None,
26
+ egg: Optional[pulumi.Input[_builtins.str]] = None,
27
+ jar: Optional[pulumi.Input[_builtins.str]] = None,
28
+ library_id: Optional[pulumi.Input[_builtins.str]] = None,
30
29
  maven: Optional[pulumi.Input['LibraryMavenArgs']] = None,
30
+ provider_config: Optional[pulumi.Input['LibraryProviderConfigArgs']] = None,
31
31
  pypi: Optional[pulumi.Input['LibraryPypiArgs']] = None,
32
- requirements: Optional[pulumi.Input[builtins.str]] = None,
33
- whl: Optional[pulumi.Input[builtins.str]] = None):
32
+ requirements: Optional[pulumi.Input[_builtins.str]] = None,
33
+ whl: Optional[pulumi.Input[_builtins.str]] = None):
34
34
  """
35
35
  The set of arguments for constructing a Library resource.
36
+ :param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
37
+
38
+ You must specify exactly **one** of the following library types:
39
+ :param pulumi.Input['LibraryCranArgs'] cran: Configuration block for a CRAN library. The block consists of the following fields:
40
+ :param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
41
+ :param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
42
+ :param pulumi.Input['LibraryMavenArgs'] maven: Configuration block for a Maven library. The block consists of the following fields:
43
+ :param pulumi.Input['LibraryProviderConfigArgs'] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
44
+ :param pulumi.Input['LibraryPypiArgs'] pypi: Configuration block for a PyPI library. The block consists of the following fields:
45
+ :param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
46
+ :param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
36
47
  """
37
48
  pulumi.set(__self__, "cluster_id", cluster_id)
38
49
  if cran is not None:
39
50
  pulumi.set(__self__, "cran", cran)
51
+ if egg is not None:
52
+ warnings.warn("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""", DeprecationWarning)
53
+ pulumi.log.warn("""egg is deprecated: The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
40
54
  if egg is not None:
41
55
  pulumi.set(__self__, "egg", egg)
42
56
  if jar is not None:
@@ -45,6 +59,8 @@ class LibraryArgs:
45
59
  pulumi.set(__self__, "library_id", library_id)
46
60
  if maven is not None:
47
61
  pulumi.set(__self__, "maven", maven)
62
+ if provider_config is not None:
63
+ pulumi.set(__self__, "provider_config", provider_config)
48
64
  if pypi is not None:
49
65
  pulumi.set(__self__, "pypi", pypi)
50
66
  if requirements is not None:
@@ -52,107 +68,161 @@ class LibraryArgs:
52
68
  if whl is not None:
53
69
  pulumi.set(__self__, "whl", whl)
54
70
 
55
- @property
71
+ @_builtins.property
56
72
  @pulumi.getter(name="clusterId")
57
- def cluster_id(self) -> pulumi.Input[builtins.str]:
73
+ def cluster_id(self) -> pulumi.Input[_builtins.str]:
74
+ """
75
+ ID of the Cluster to install the library on.
76
+
77
+ You must specify exactly **one** of the following library types:
78
+ """
58
79
  return pulumi.get(self, "cluster_id")
59
80
 
60
81
  @cluster_id.setter
61
- def cluster_id(self, value: pulumi.Input[builtins.str]):
82
+ def cluster_id(self, value: pulumi.Input[_builtins.str]):
62
83
  pulumi.set(self, "cluster_id", value)
63
84
 
64
- @property
85
+ @_builtins.property
65
86
  @pulumi.getter
66
87
  def cran(self) -> Optional[pulumi.Input['LibraryCranArgs']]:
88
+ """
89
+ Configuration block for a CRAN library. The block consists of the following fields:
90
+ """
67
91
  return pulumi.get(self, "cran")
68
92
 
69
93
  @cran.setter
70
94
  def cran(self, value: Optional[pulumi.Input['LibraryCranArgs']]):
71
95
  pulumi.set(self, "cran", value)
72
96
 
73
- @property
97
+ @_builtins.property
74
98
  @pulumi.getter
75
- def egg(self) -> Optional[pulumi.Input[builtins.str]]:
99
+ @_utilities.deprecated("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
100
+ def egg(self) -> Optional[pulumi.Input[_builtins.str]]:
101
+ """
102
+ Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
103
+ """
76
104
  return pulumi.get(self, "egg")
77
105
 
78
106
  @egg.setter
79
- def egg(self, value: Optional[pulumi.Input[builtins.str]]):
107
+ def egg(self, value: Optional[pulumi.Input[_builtins.str]]):
80
108
  pulumi.set(self, "egg", value)
81
109
 
82
- @property
110
+ @_builtins.property
83
111
  @pulumi.getter
84
- def jar(self) -> Optional[pulumi.Input[builtins.str]]:
112
+ def jar(self) -> Optional[pulumi.Input[_builtins.str]]:
113
+ """
114
+ Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
115
+ """
85
116
  return pulumi.get(self, "jar")
86
117
 
87
118
  @jar.setter
88
- def jar(self, value: Optional[pulumi.Input[builtins.str]]):
119
+ def jar(self, value: Optional[pulumi.Input[_builtins.str]]):
89
120
  pulumi.set(self, "jar", value)
90
121
 
91
- @property
122
+ @_builtins.property
92
123
  @pulumi.getter(name="libraryId")
93
- def library_id(self) -> Optional[pulumi.Input[builtins.str]]:
124
+ def library_id(self) -> Optional[pulumi.Input[_builtins.str]]:
94
125
  return pulumi.get(self, "library_id")
95
126
 
96
127
  @library_id.setter
97
- def library_id(self, value: Optional[pulumi.Input[builtins.str]]):
128
+ def library_id(self, value: Optional[pulumi.Input[_builtins.str]]):
98
129
  pulumi.set(self, "library_id", value)
99
130
 
100
- @property
131
+ @_builtins.property
101
132
  @pulumi.getter
102
133
  def maven(self) -> Optional[pulumi.Input['LibraryMavenArgs']]:
134
+ """
135
+ Configuration block for a Maven library. The block consists of the following fields:
136
+ """
103
137
  return pulumi.get(self, "maven")
104
138
 
105
139
  @maven.setter
106
140
  def maven(self, value: Optional[pulumi.Input['LibraryMavenArgs']]):
107
141
  pulumi.set(self, "maven", value)
108
142
 
109
- @property
143
+ @_builtins.property
144
+ @pulumi.getter(name="providerConfig")
145
+ def provider_config(self) -> Optional[pulumi.Input['LibraryProviderConfigArgs']]:
146
+ """
147
+ Configuration block for management through the account provider. This block consists of the following fields:
148
+ """
149
+ return pulumi.get(self, "provider_config")
150
+
151
+ @provider_config.setter
152
+ def provider_config(self, value: Optional[pulumi.Input['LibraryProviderConfigArgs']]):
153
+ pulumi.set(self, "provider_config", value)
154
+
155
+ @_builtins.property
110
156
  @pulumi.getter
111
157
  def pypi(self) -> Optional[pulumi.Input['LibraryPypiArgs']]:
158
+ """
159
+ Configuration block for a PyPI library. The block consists of the following fields:
160
+ """
112
161
  return pulumi.get(self, "pypi")
113
162
 
114
163
  @pypi.setter
115
164
  def pypi(self, value: Optional[pulumi.Input['LibraryPypiArgs']]):
116
165
  pulumi.set(self, "pypi", value)
117
166
 
118
- @property
167
+ @_builtins.property
119
168
  @pulumi.getter
120
- def requirements(self) -> Optional[pulumi.Input[builtins.str]]:
169
+ def requirements(self) -> Optional[pulumi.Input[_builtins.str]]:
170
+ """
171
+ Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
172
+ """
121
173
  return pulumi.get(self, "requirements")
122
174
 
123
175
  @requirements.setter
124
- def requirements(self, value: Optional[pulumi.Input[builtins.str]]):
176
+ def requirements(self, value: Optional[pulumi.Input[_builtins.str]]):
125
177
  pulumi.set(self, "requirements", value)
126
178
 
127
- @property
179
+ @_builtins.property
128
180
  @pulumi.getter
129
- def whl(self) -> Optional[pulumi.Input[builtins.str]]:
181
+ def whl(self) -> Optional[pulumi.Input[_builtins.str]]:
182
+ """
183
+ Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
184
+ """
130
185
  return pulumi.get(self, "whl")
131
186
 
132
187
  @whl.setter
133
- def whl(self, value: Optional[pulumi.Input[builtins.str]]):
188
+ def whl(self, value: Optional[pulumi.Input[_builtins.str]]):
134
189
  pulumi.set(self, "whl", value)
135
190
 
136
191
 
137
192
  @pulumi.input_type
138
193
  class _LibraryState:
139
194
  def __init__(__self__, *,
140
- cluster_id: Optional[pulumi.Input[builtins.str]] = None,
195
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
141
196
  cran: Optional[pulumi.Input['LibraryCranArgs']] = None,
142
- egg: Optional[pulumi.Input[builtins.str]] = None,
143
- jar: Optional[pulumi.Input[builtins.str]] = None,
144
- library_id: Optional[pulumi.Input[builtins.str]] = None,
197
+ egg: Optional[pulumi.Input[_builtins.str]] = None,
198
+ jar: Optional[pulumi.Input[_builtins.str]] = None,
199
+ library_id: Optional[pulumi.Input[_builtins.str]] = None,
145
200
  maven: Optional[pulumi.Input['LibraryMavenArgs']] = None,
201
+ provider_config: Optional[pulumi.Input['LibraryProviderConfigArgs']] = None,
146
202
  pypi: Optional[pulumi.Input['LibraryPypiArgs']] = None,
147
- requirements: Optional[pulumi.Input[builtins.str]] = None,
148
- whl: Optional[pulumi.Input[builtins.str]] = None):
203
+ requirements: Optional[pulumi.Input[_builtins.str]] = None,
204
+ whl: Optional[pulumi.Input[_builtins.str]] = None):
149
205
  """
150
206
  Input properties used for looking up and filtering Library resources.
207
+ :param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
208
+
209
+ You must specify exactly **one** of the following library types:
210
+ :param pulumi.Input['LibraryCranArgs'] cran: Configuration block for a CRAN library. The block consists of the following fields:
211
+ :param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
212
+ :param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
213
+ :param pulumi.Input['LibraryMavenArgs'] maven: Configuration block for a Maven library. The block consists of the following fields:
214
+ :param pulumi.Input['LibraryProviderConfigArgs'] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
215
+ :param pulumi.Input['LibraryPypiArgs'] pypi: Configuration block for a PyPI library. The block consists of the following fields:
216
+ :param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
217
+ :param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
151
218
  """
152
219
  if cluster_id is not None:
153
220
  pulumi.set(__self__, "cluster_id", cluster_id)
154
221
  if cran is not None:
155
222
  pulumi.set(__self__, "cran", cran)
223
+ if egg is not None:
224
+ warnings.warn("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""", DeprecationWarning)
225
+ pulumi.log.warn("""egg is deprecated: The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
156
226
  if egg is not None:
157
227
  pulumi.set(__self__, "egg", egg)
158
228
  if jar is not None:
@@ -161,6 +231,8 @@ class _LibraryState:
161
231
  pulumi.set(__self__, "library_id", library_id)
162
232
  if maven is not None:
163
233
  pulumi.set(__self__, "maven", maven)
234
+ if provider_config is not None:
235
+ pulumi.set(__self__, "provider_config", provider_config)
164
236
  if pypi is not None:
165
237
  pulumi.set(__self__, "pypi", pypi)
166
238
  if requirements is not None:
@@ -168,85 +240,124 @@ class _LibraryState:
168
240
  if whl is not None:
169
241
  pulumi.set(__self__, "whl", whl)
170
242
 
171
- @property
243
+ @_builtins.property
172
244
  @pulumi.getter(name="clusterId")
173
- def cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
245
+ def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
246
+ """
247
+ ID of the Cluster to install the library on.
248
+
249
+ You must specify exactly **one** of the following library types:
250
+ """
174
251
  return pulumi.get(self, "cluster_id")
175
252
 
176
253
  @cluster_id.setter
177
- def cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
254
+ def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
178
255
  pulumi.set(self, "cluster_id", value)
179
256
 
180
- @property
257
+ @_builtins.property
181
258
  @pulumi.getter
182
259
  def cran(self) -> Optional[pulumi.Input['LibraryCranArgs']]:
260
+ """
261
+ Configuration block for a CRAN library. The block consists of the following fields:
262
+ """
183
263
  return pulumi.get(self, "cran")
184
264
 
185
265
  @cran.setter
186
266
  def cran(self, value: Optional[pulumi.Input['LibraryCranArgs']]):
187
267
  pulumi.set(self, "cran", value)
188
268
 
189
- @property
269
+ @_builtins.property
190
270
  @pulumi.getter
191
- def egg(self) -> Optional[pulumi.Input[builtins.str]]:
271
+ @_utilities.deprecated("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
272
+ def egg(self) -> Optional[pulumi.Input[_builtins.str]]:
273
+ """
274
+ Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
275
+ """
192
276
  return pulumi.get(self, "egg")
193
277
 
194
278
  @egg.setter
195
- def egg(self, value: Optional[pulumi.Input[builtins.str]]):
279
+ def egg(self, value: Optional[pulumi.Input[_builtins.str]]):
196
280
  pulumi.set(self, "egg", value)
197
281
 
198
- @property
282
+ @_builtins.property
199
283
  @pulumi.getter
200
- def jar(self) -> Optional[pulumi.Input[builtins.str]]:
284
+ def jar(self) -> Optional[pulumi.Input[_builtins.str]]:
285
+ """
286
+ Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
287
+ """
201
288
  return pulumi.get(self, "jar")
202
289
 
203
290
  @jar.setter
204
- def jar(self, value: Optional[pulumi.Input[builtins.str]]):
291
+ def jar(self, value: Optional[pulumi.Input[_builtins.str]]):
205
292
  pulumi.set(self, "jar", value)
206
293
 
207
- @property
294
+ @_builtins.property
208
295
  @pulumi.getter(name="libraryId")
209
- def library_id(self) -> Optional[pulumi.Input[builtins.str]]:
296
+ def library_id(self) -> Optional[pulumi.Input[_builtins.str]]:
210
297
  return pulumi.get(self, "library_id")
211
298
 
212
299
  @library_id.setter
213
- def library_id(self, value: Optional[pulumi.Input[builtins.str]]):
300
+ def library_id(self, value: Optional[pulumi.Input[_builtins.str]]):
214
301
  pulumi.set(self, "library_id", value)
215
302
 
216
- @property
303
+ @_builtins.property
217
304
  @pulumi.getter
218
305
  def maven(self) -> Optional[pulumi.Input['LibraryMavenArgs']]:
306
+ """
307
+ Configuration block for a Maven library. The block consists of the following fields:
308
+ """
219
309
  return pulumi.get(self, "maven")
220
310
 
221
311
  @maven.setter
222
312
  def maven(self, value: Optional[pulumi.Input['LibraryMavenArgs']]):
223
313
  pulumi.set(self, "maven", value)
224
314
 
225
- @property
315
+ @_builtins.property
316
+ @pulumi.getter(name="providerConfig")
317
+ def provider_config(self) -> Optional[pulumi.Input['LibraryProviderConfigArgs']]:
318
+ """
319
+ Configuration block for management through the account provider. This block consists of the following fields:
320
+ """
321
+ return pulumi.get(self, "provider_config")
322
+
323
+ @provider_config.setter
324
+ def provider_config(self, value: Optional[pulumi.Input['LibraryProviderConfigArgs']]):
325
+ pulumi.set(self, "provider_config", value)
326
+
327
+ @_builtins.property
226
328
  @pulumi.getter
227
329
  def pypi(self) -> Optional[pulumi.Input['LibraryPypiArgs']]:
330
+ """
331
+ Configuration block for a PyPI library. The block consists of the following fields:
332
+ """
228
333
  return pulumi.get(self, "pypi")
229
334
 
230
335
  @pypi.setter
231
336
  def pypi(self, value: Optional[pulumi.Input['LibraryPypiArgs']]):
232
337
  pulumi.set(self, "pypi", value)
233
338
 
234
- @property
339
+ @_builtins.property
235
340
  @pulumi.getter
236
- def requirements(self) -> Optional[pulumi.Input[builtins.str]]:
341
+ def requirements(self) -> Optional[pulumi.Input[_builtins.str]]:
342
+ """
343
+ Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
344
+ """
237
345
  return pulumi.get(self, "requirements")
238
346
 
239
347
  @requirements.setter
240
- def requirements(self, value: Optional[pulumi.Input[builtins.str]]):
348
+ def requirements(self, value: Optional[pulumi.Input[_builtins.str]]):
241
349
  pulumi.set(self, "requirements", value)
242
350
 
243
- @property
351
+ @_builtins.property
244
352
  @pulumi.getter
245
- def whl(self) -> Optional[pulumi.Input[builtins.str]]:
353
+ def whl(self) -> Optional[pulumi.Input[_builtins.str]]:
354
+ """
355
+ Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
356
+ """
246
357
  return pulumi.get(self, "whl")
247
358
 
248
359
  @whl.setter
249
- def whl(self, value: Optional[pulumi.Input[builtins.str]]):
360
+ def whl(self, value: Optional[pulumi.Input[_builtins.str]]):
250
361
  pulumi.set(self, "whl", value)
251
362
 
252
363
 
@@ -256,15 +367,16 @@ class Library(pulumi.CustomResource):
256
367
  def __init__(__self__,
257
368
  resource_name: str,
258
369
  opts: Optional[pulumi.ResourceOptions] = None,
259
- cluster_id: Optional[pulumi.Input[builtins.str]] = None,
370
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
260
371
  cran: Optional[pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']]] = None,
261
- egg: Optional[pulumi.Input[builtins.str]] = None,
262
- jar: Optional[pulumi.Input[builtins.str]] = None,
263
- library_id: Optional[pulumi.Input[builtins.str]] = None,
372
+ egg: Optional[pulumi.Input[_builtins.str]] = None,
373
+ jar: Optional[pulumi.Input[_builtins.str]] = None,
374
+ library_id: Optional[pulumi.Input[_builtins.str]] = None,
264
375
  maven: Optional[pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']]] = None,
376
+ provider_config: Optional[pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']]] = None,
265
377
  pypi: Optional[pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']]] = None,
266
- requirements: Optional[pulumi.Input[builtins.str]] = None,
267
- whl: Optional[pulumi.Input[builtins.str]] = None,
378
+ requirements: Optional[pulumi.Input[_builtins.str]] = None,
379
+ whl: Optional[pulumi.Input[_builtins.str]] = None,
268
380
  __props__=None):
269
381
  """
270
382
  Installs a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster. Each different type of library has a slightly different syntax. It's possible to set only one type of library within one resource. Otherwise, the plan will fail with an error.
@@ -364,13 +476,9 @@ class Library(pulumi.CustomResource):
364
476
  * get_clusters data to retrieve a list of Cluster ids.
365
477
  * Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
366
478
  * ClusterPolicy to create a Cluster policy, which limits the ability to create clusters based on a set of rules.
367
- * DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
368
- * get_dbfs_file_paths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
369
- * DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
370
479
  * GlobalInitScript to manage [global init scripts](https://docs.databricks.com/clusters/init-scripts.html#global-init-scripts), which are run on all Cluster and databricks_job.
371
480
  * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
372
- * Mount to [mount your cloud storage](https://docs.databricks.com/data/databricks-file-system.html#mount-object-storage-to-dbfs) on `dbfs:/mnt/name`.
373
- * Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/aws/en/dlt).
481
+ * Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
374
482
  * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
375
483
 
376
484
  ## Import
@@ -379,6 +487,17 @@ class Library(pulumi.CustomResource):
379
487
 
380
488
  :param str resource_name: The name of the resource.
381
489
  :param pulumi.ResourceOptions opts: Options for the resource.
490
+ :param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
491
+
492
+ You must specify exactly **one** of the following library types:
493
+ :param pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']] cran: Configuration block for a CRAN library. The block consists of the following fields:
494
+ :param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
495
+ :param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
496
+ :param pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']] maven: Configuration block for a Maven library. The block consists of the following fields:
497
+ :param pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
498
+ :param pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']] pypi: Configuration block for a PyPI library. The block consists of the following fields:
499
+ :param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
500
+ :param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
382
501
  """
383
502
  ...
384
503
  @overload
@@ -484,13 +603,9 @@ class Library(pulumi.CustomResource):
484
603
  * get_clusters data to retrieve a list of Cluster ids.
485
604
  * Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
486
605
  * ClusterPolicy to create a Cluster policy, which limits the ability to create clusters based on a set of rules.
487
- * DbfsFile data to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
488
- * get_dbfs_file_paths data to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
489
- * DbfsFile to manage relatively small files on [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
490
606
  * GlobalInitScript to manage [global init scripts](https://docs.databricks.com/clusters/init-scripts.html#global-init-scripts), which are run on all Cluster and databricks_job.
491
607
  * Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
492
- * Mount to [mount your cloud storage](https://docs.databricks.com/data/databricks-file-system.html#mount-object-storage-to-dbfs) on `dbfs:/mnt/name`.
493
- * Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/aws/en/dlt).
608
+ * Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
494
609
  * Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
495
610
 
496
611
  ## Import
@@ -512,15 +627,16 @@ class Library(pulumi.CustomResource):
512
627
  def _internal_init(__self__,
513
628
  resource_name: str,
514
629
  opts: Optional[pulumi.ResourceOptions] = None,
515
- cluster_id: Optional[pulumi.Input[builtins.str]] = None,
630
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
516
631
  cran: Optional[pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']]] = None,
517
- egg: Optional[pulumi.Input[builtins.str]] = None,
518
- jar: Optional[pulumi.Input[builtins.str]] = None,
519
- library_id: Optional[pulumi.Input[builtins.str]] = None,
632
+ egg: Optional[pulumi.Input[_builtins.str]] = None,
633
+ jar: Optional[pulumi.Input[_builtins.str]] = None,
634
+ library_id: Optional[pulumi.Input[_builtins.str]] = None,
520
635
  maven: Optional[pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']]] = None,
636
+ provider_config: Optional[pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']]] = None,
521
637
  pypi: Optional[pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']]] = None,
522
- requirements: Optional[pulumi.Input[builtins.str]] = None,
523
- whl: Optional[pulumi.Input[builtins.str]] = None,
638
+ requirements: Optional[pulumi.Input[_builtins.str]] = None,
639
+ whl: Optional[pulumi.Input[_builtins.str]] = None,
524
640
  __props__=None):
525
641
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
526
642
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -538,6 +654,7 @@ class Library(pulumi.CustomResource):
538
654
  __props__.__dict__["jar"] = jar
539
655
  __props__.__dict__["library_id"] = library_id
540
656
  __props__.__dict__["maven"] = maven
657
+ __props__.__dict__["provider_config"] = provider_config
541
658
  __props__.__dict__["pypi"] = pypi
542
659
  __props__.__dict__["requirements"] = requirements
543
660
  __props__.__dict__["whl"] = whl
@@ -551,15 +668,16 @@ class Library(pulumi.CustomResource):
551
668
  def get(resource_name: str,
552
669
  id: pulumi.Input[str],
553
670
  opts: Optional[pulumi.ResourceOptions] = None,
554
- cluster_id: Optional[pulumi.Input[builtins.str]] = None,
671
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
555
672
  cran: Optional[pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']]] = None,
556
- egg: Optional[pulumi.Input[builtins.str]] = None,
557
- jar: Optional[pulumi.Input[builtins.str]] = None,
558
- library_id: Optional[pulumi.Input[builtins.str]] = None,
673
+ egg: Optional[pulumi.Input[_builtins.str]] = None,
674
+ jar: Optional[pulumi.Input[_builtins.str]] = None,
675
+ library_id: Optional[pulumi.Input[_builtins.str]] = None,
559
676
  maven: Optional[pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']]] = None,
677
+ provider_config: Optional[pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']]] = None,
560
678
  pypi: Optional[pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']]] = None,
561
- requirements: Optional[pulumi.Input[builtins.str]] = None,
562
- whl: Optional[pulumi.Input[builtins.str]] = None) -> 'Library':
679
+ requirements: Optional[pulumi.Input[_builtins.str]] = None,
680
+ whl: Optional[pulumi.Input[_builtins.str]] = None) -> 'Library':
563
681
  """
564
682
  Get an existing Library resource's state with the given name, id, and optional extra
565
683
  properties used to qualify the lookup.
@@ -567,6 +685,17 @@ class Library(pulumi.CustomResource):
567
685
  :param str resource_name: The unique name of the resulting resource.
568
686
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
569
687
  :param pulumi.ResourceOptions opts: Options for the resource.
688
+ :param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
689
+
690
+ You must specify exactly **one** of the following library types:
691
+ :param pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']] cran: Configuration block for a CRAN library. The block consists of the following fields:
692
+ :param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
693
+ :param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
694
+ :param pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']] maven: Configuration block for a Maven library. The block consists of the following fields:
695
+ :param pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
696
+ :param pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']] pypi: Configuration block for a PyPI library. The block consists of the following fields:
697
+ :param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
698
+ :param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
570
699
  """
571
700
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
572
701
 
@@ -578,53 +707,89 @@ class Library(pulumi.CustomResource):
578
707
  __props__.__dict__["jar"] = jar
579
708
  __props__.__dict__["library_id"] = library_id
580
709
  __props__.__dict__["maven"] = maven
710
+ __props__.__dict__["provider_config"] = provider_config
581
711
  __props__.__dict__["pypi"] = pypi
582
712
  __props__.__dict__["requirements"] = requirements
583
713
  __props__.__dict__["whl"] = whl
584
714
  return Library(resource_name, opts=opts, __props__=__props__)
585
715
 
586
- @property
716
+ @_builtins.property
587
717
  @pulumi.getter(name="clusterId")
588
- def cluster_id(self) -> pulumi.Output[builtins.str]:
718
+ def cluster_id(self) -> pulumi.Output[_builtins.str]:
719
+ """
720
+ ID of the Cluster to install the library on.
721
+
722
+ You must specify exactly **one** of the following library types:
723
+ """
589
724
  return pulumi.get(self, "cluster_id")
590
725
 
591
- @property
726
+ @_builtins.property
592
727
  @pulumi.getter
593
728
  def cran(self) -> pulumi.Output[Optional['outputs.LibraryCran']]:
729
+ """
730
+ Configuration block for a CRAN library. The block consists of the following fields:
731
+ """
594
732
  return pulumi.get(self, "cran")
595
733
 
596
- @property
734
+ @_builtins.property
597
735
  @pulumi.getter
598
- def egg(self) -> pulumi.Output[Optional[builtins.str]]:
736
+ @_utilities.deprecated("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
737
+ def egg(self) -> pulumi.Output[Optional[_builtins.str]]:
738
+ """
739
+ Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
740
+ """
599
741
  return pulumi.get(self, "egg")
600
742
 
601
- @property
743
+ @_builtins.property
602
744
  @pulumi.getter
603
- def jar(self) -> pulumi.Output[Optional[builtins.str]]:
745
+ def jar(self) -> pulumi.Output[Optional[_builtins.str]]:
746
+ """
747
+ Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
748
+ """
604
749
  return pulumi.get(self, "jar")
605
750
 
606
- @property
751
+ @_builtins.property
607
752
  @pulumi.getter(name="libraryId")
608
- def library_id(self) -> pulumi.Output[builtins.str]:
753
+ def library_id(self) -> pulumi.Output[_builtins.str]:
609
754
  return pulumi.get(self, "library_id")
610
755
 
611
- @property
756
+ @_builtins.property
612
757
  @pulumi.getter
613
758
  def maven(self) -> pulumi.Output[Optional['outputs.LibraryMaven']]:
759
+ """
760
+ Configuration block for a Maven library. The block consists of the following fields:
761
+ """
614
762
  return pulumi.get(self, "maven")
615
763
 
616
- @property
764
+ @_builtins.property
765
+ @pulumi.getter(name="providerConfig")
766
+ def provider_config(self) -> pulumi.Output[Optional['outputs.LibraryProviderConfig']]:
767
+ """
768
+ Configuration block for management through the account provider. This block consists of the following fields:
769
+ """
770
+ return pulumi.get(self, "provider_config")
771
+
772
+ @_builtins.property
617
773
  @pulumi.getter
618
774
  def pypi(self) -> pulumi.Output[Optional['outputs.LibraryPypi']]:
775
+ """
776
+ Configuration block for a PyPI library. The block consists of the following fields:
777
+ """
619
778
  return pulumi.get(self, "pypi")
620
779
 
621
- @property
780
+ @_builtins.property
622
781
  @pulumi.getter
623
- def requirements(self) -> pulumi.Output[Optional[builtins.str]]:
782
+ def requirements(self) -> pulumi.Output[Optional[_builtins.str]]:
783
+ """
784
+ Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
785
+ """
624
786
  return pulumi.get(self, "requirements")
625
787
 
626
- @property
788
+ @_builtins.property
627
789
  @pulumi.getter
628
- def whl(self) -> pulumi.Output[Optional[builtins.str]]:
790
+ def whl(self) -> pulumi.Output[Optional[_builtins.str]]:
791
+ """
792
+ Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
793
+ """
629
794
  return pulumi.get(self, "whl")
630
795