pulumi-databricks 1.77.0a1760375482__py3-none-any.whl → 1.79.0a1762839813__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 (176) hide show
  1. pulumi_databricks/__init__.py +54 -46
  2. pulumi_databricks/_inputs.py +26079 -32918
  3. pulumi_databricks/account_federation_policy.py +44 -16
  4. pulumi_databricks/account_network_policy.py +56 -2
  5. pulumi_databricks/account_setting_v2.py +46 -83
  6. pulumi_databricks/alert_v2.py +168 -134
  7. pulumi_databricks/app.py +153 -0
  8. pulumi_databricks/apps_settings_custom_template.py +75 -52
  9. pulumi_databricks/budget_policy.py +6 -2
  10. pulumi_databricks/catalog.py +65 -23
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/cluster_policy.py +120 -0
  13. pulumi_databricks/config/__init__.pyi +4 -0
  14. pulumi_databricks/config/vars.py +8 -0
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +9 -52
  18. pulumi_databricks/database_instance.py +271 -120
  19. pulumi_databricks/database_synced_database_table.py +239 -52
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +83 -52
  22. pulumi_databricks/external_location.py +131 -7
  23. pulumi_databricks/external_metadata.py +16 -59
  24. pulumi_databricks/feature_engineering_feature.py +480 -0
  25. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  26. pulumi_databricks/file.py +2 -2
  27. pulumi_databricks/get_account_federation_policies.py +22 -3
  28. pulumi_databricks/get_account_federation_policy.py +12 -27
  29. pulumi_databricks/get_account_network_policies.py +4 -0
  30. pulumi_databricks/get_account_network_policy.py +9 -18
  31. pulumi_databricks/get_account_setting_v2.py +36 -141
  32. pulumi_databricks/get_alert_v2.py +41 -107
  33. pulumi_databricks/get_alerts_v2.py +29 -31
  34. pulumi_databricks/get_app.py +21 -5
  35. pulumi_databricks/get_apps.py +22 -6
  36. pulumi_databricks/get_apps_settings_custom_template.py +11 -55
  37. pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
  38. pulumi_databricks/get_aws_assume_role_policy.py +14 -14
  39. pulumi_databricks/get_aws_bucket_policy.py +10 -10
  40. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
  41. pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
  42. pulumi_databricks/get_budget_policies.py +70 -6
  43. pulumi_databricks/get_budget_policy.py +9 -32
  44. pulumi_databricks/get_catalog.py +21 -4
  45. pulumi_databricks/get_catalogs.py +23 -4
  46. pulumi_databricks/get_cluster.py +75 -4
  47. pulumi_databricks/get_cluster_policy.py +23 -4
  48. pulumi_databricks/get_clusters.py +21 -4
  49. pulumi_databricks/get_current_config.py +4 -4
  50. pulumi_databricks/get_current_metastore.py +21 -4
  51. pulumi_databricks/get_dashboards.py +20 -4
  52. pulumi_databricks/get_data_quality_monitor.py +210 -0
  53. pulumi_databricks/get_data_quality_monitors.py +143 -0
  54. pulumi_databricks/get_data_quality_refresh.py +270 -0
  55. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  56. pulumi_databricks/get_database_database_catalog.py +10 -41
  57. pulumi_databricks/get_database_database_catalogs.py +37 -18
  58. pulumi_databricks/get_database_instance.py +93 -99
  59. pulumi_databricks/get_database_instances.py +20 -16
  60. pulumi_databricks/get_database_synced_database_table.py +11 -49
  61. pulumi_databricks/get_database_synced_database_tables.py +42 -23
  62. pulumi_databricks/get_directory.py +20 -1
  63. pulumi_databricks/get_entity_tag_assignment.py +63 -30
  64. pulumi_databricks/get_entity_tag_assignments.py +69 -23
  65. pulumi_databricks/get_external_location.py +21 -4
  66. pulumi_databricks/get_external_locations.py +23 -4
  67. pulumi_databricks/get_external_metadata.py +18 -73
  68. pulumi_databricks/get_external_metadatas.py +22 -16
  69. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  70. pulumi_databricks/get_feature_engineering_features.py +103 -0
  71. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  72. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  73. pulumi_databricks/get_functions.py +16 -1
  74. pulumi_databricks/get_instance_profiles.py +21 -4
  75. pulumi_databricks/get_jobs.py +23 -4
  76. pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
  77. pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
  78. pulumi_databricks/get_metastore.py +6 -6
  79. pulumi_databricks/get_mlflow_experiment.py +18 -1
  80. pulumi_databricks/get_mlflow_model.py +18 -1
  81. pulumi_databricks/get_mlflow_models.py +23 -4
  82. pulumi_databricks/get_node_type.py +42 -5
  83. pulumi_databricks/get_notebook.py +20 -1
  84. pulumi_databricks/get_notification_destinations.py +17 -1
  85. pulumi_databricks/get_online_store.py +11 -38
  86. pulumi_databricks/get_online_stores.py +20 -18
  87. pulumi_databricks/get_pipelines.py +23 -4
  88. pulumi_databricks/get_policy_info.py +21 -109
  89. pulumi_databricks/get_policy_infos.py +50 -25
  90. pulumi_databricks/get_quality_monitor_v2.py +8 -21
  91. pulumi_databricks/get_quality_monitors_v2.py +23 -25
  92. pulumi_databricks/get_registered_model.py +19 -4
  93. pulumi_databricks/get_registered_model_versions.py +19 -4
  94. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  95. pulumi_databricks/get_schema.py +18 -1
  96. pulumi_databricks/get_schemas.py +23 -4
  97. pulumi_databricks/get_service_principal_federation_policies.py +23 -4
  98. pulumi_databricks/get_service_principal_federation_policy.py +15 -24
  99. pulumi_databricks/get_service_principals.py +64 -0
  100. pulumi_databricks/get_serving_endpoints.py +19 -4
  101. pulumi_databricks/get_share.py +117 -18
  102. pulumi_databricks/get_shares.py +22 -3
  103. pulumi_databricks/get_spark_version.py +20 -1
  104. pulumi_databricks/get_sql_warehouse.py +16 -1
  105. pulumi_databricks/get_sql_warehouses.py +20 -1
  106. pulumi_databricks/get_storage_credential.py +18 -1
  107. pulumi_databricks/get_storage_credentials.py +23 -4
  108. pulumi_databricks/get_table.py +18 -1
  109. pulumi_databricks/get_tables.py +20 -1
  110. pulumi_databricks/get_tag_policies.py +55 -23
  111. pulumi_databricks/get_tag_policy.py +60 -40
  112. pulumi_databricks/get_views.py +20 -1
  113. pulumi_databricks/get_volume.py +18 -1
  114. pulumi_databricks/get_volumes.py +20 -1
  115. pulumi_databricks/get_workspace_network_option.py +8 -16
  116. pulumi_databricks/get_workspace_setting_v2.py +41 -163
  117. pulumi_databricks/get_zones.py +20 -1
  118. pulumi_databricks/git_credential.py +54 -7
  119. pulumi_databricks/group.py +21 -21
  120. pulumi_databricks/instance_profile.py +0 -182
  121. pulumi_databricks/job.py +47 -0
  122. pulumi_databricks/library.py +165 -0
  123. pulumi_databricks/materialized_features_feature_tag.py +9 -52
  124. pulumi_databricks/metastore.py +81 -7
  125. pulumi_databricks/metastore_data_access.py +48 -0
  126. pulumi_databricks/mlflow_webhook.py +4 -4
  127. pulumi_databricks/mws_credentials.py +10 -10
  128. pulumi_databricks/mws_customer_managed_keys.py +0 -288
  129. pulumi_databricks/mws_log_delivery.py +146 -0
  130. pulumi_databricks/mws_storage_configurations.py +16 -16
  131. pulumi_databricks/mws_vpc_endpoint.py +56 -56
  132. pulumi_databricks/mws_workspaces.py +146 -65
  133. pulumi_databricks/notebook.py +49 -0
  134. pulumi_databricks/online_store.py +9 -52
  135. pulumi_databricks/outputs.py +11885 -13474
  136. pulumi_databricks/permission_assignment.py +299 -8
  137. pulumi_databricks/permissions.py +6 -6
  138. pulumi_databricks/pipeline.py +37 -3
  139. pulumi_databricks/policy_info.py +9 -52
  140. pulumi_databricks/provider.py +36 -1
  141. pulumi_databricks/pulumi-plugin.json +1 -1
  142. pulumi_databricks/quality_monitor.py +47 -0
  143. pulumi_databricks/quality_monitor_v2.py +9 -52
  144. pulumi_databricks/recipient.py +74 -0
  145. pulumi_databricks/registered_model.py +308 -36
  146. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  147. pulumi_databricks/schema.py +7 -7
  148. pulumi_databricks/service_principal_federation_policy.py +48 -16
  149. pulumi_databricks/share.py +71 -84
  150. pulumi_databricks/sql_table.py +42 -14
  151. pulumi_databricks/storage_credential.py +15 -2
  152. pulumi_databricks/tag_policy.py +111 -54
  153. pulumi_databricks/user.py +21 -21
  154. pulumi_databricks/volume.py +7 -7
  155. pulumi_databricks/workspace_binding.py +0 -48
  156. pulumi_databricks/workspace_network_option.py +6 -2
  157. pulumi_databricks/workspace_setting_v2.py +49 -133
  158. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
  159. pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
  160. pulumi_databricks/clean_room_asset.py +0 -938
  161. pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
  162. pulumi_databricks/clean_rooms_clean_room.py +0 -569
  163. pulumi_databricks/get_clean_room_asset.py +0 -416
  164. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
  165. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
  166. pulumi_databricks/get_clean_room_assets.py +0 -146
  167. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
  168. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
  169. pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
  170. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
  171. pulumi_databricks/get_recipient_federation_policies.py +0 -101
  172. pulumi_databricks/get_recipient_federation_policy.py +0 -182
  173. pulumi_databricks/recipient_federation_policy.py +0 -393
  174. pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
@@ -23,19 +23,15 @@ class TagPolicyArgs:
23
23
  def __init__(__self__, *,
24
24
  tag_key: pulumi.Input[_builtins.str],
25
25
  description: Optional[pulumi.Input[_builtins.str]] = None,
26
- values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None,
27
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
26
+ values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None):
28
27
  """
29
28
  The set of arguments for constructing a TagPolicy resource.
30
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
31
29
  """
32
30
  pulumi.set(__self__, "tag_key", tag_key)
33
31
  if description is not None:
34
32
  pulumi.set(__self__, "description", description)
35
33
  if values is not None:
36
34
  pulumi.set(__self__, "values", values)
37
- if workspace_id is not None:
38
- pulumi.set(__self__, "workspace_id", workspace_id)
39
35
 
40
36
  @_builtins.property
41
37
  @pulumi.getter(name="tagKey")
@@ -64,38 +60,42 @@ class TagPolicyArgs:
64
60
  def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]):
65
61
  pulumi.set(self, "values", value)
66
62
 
67
- @_builtins.property
68
- @pulumi.getter(name="workspaceId")
69
- def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
70
- """
71
- Workspace ID of the resource
72
- """
73
- return pulumi.get(self, "workspace_id")
74
-
75
- @workspace_id.setter
76
- def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
77
- pulumi.set(self, "workspace_id", value)
78
-
79
63
 
80
64
  @pulumi.input_type
81
65
  class _TagPolicyState:
82
66
  def __init__(__self__, *,
67
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
83
68
  description: Optional[pulumi.Input[_builtins.str]] = None,
84
69
  tag_key: Optional[pulumi.Input[_builtins.str]] = None,
85
- values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None,
86
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
70
+ update_time: Optional[pulumi.Input[_builtins.str]] = None,
71
+ values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None):
87
72
  """
88
73
  Input properties used for looking up and filtering TagPolicy resources.
89
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
74
+ :param pulumi.Input[_builtins.str] create_time: (string) - Timestamp when the tag policy was created
75
+ :param pulumi.Input[_builtins.str] update_time: (string) - Timestamp when the tag policy was last updated
90
76
  """
77
+ if create_time is not None:
78
+ pulumi.set(__self__, "create_time", create_time)
91
79
  if description is not None:
92
80
  pulumi.set(__self__, "description", description)
93
81
  if tag_key is not None:
94
82
  pulumi.set(__self__, "tag_key", tag_key)
83
+ if update_time is not None:
84
+ pulumi.set(__self__, "update_time", update_time)
95
85
  if values is not None:
96
86
  pulumi.set(__self__, "values", values)
97
- if workspace_id is not None:
98
- pulumi.set(__self__, "workspace_id", workspace_id)
87
+
88
+ @_builtins.property
89
+ @pulumi.getter(name="createTime")
90
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
91
+ """
92
+ (string) - Timestamp when the tag policy was created
93
+ """
94
+ return pulumi.get(self, "create_time")
95
+
96
+ @create_time.setter
97
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
98
+ pulumi.set(self, "create_time", value)
99
99
 
100
100
  @_builtins.property
101
101
  @pulumi.getter
@@ -115,6 +115,18 @@ class _TagPolicyState:
115
115
  def tag_key(self, value: Optional[pulumi.Input[_builtins.str]]):
116
116
  pulumi.set(self, "tag_key", value)
117
117
 
118
+ @_builtins.property
119
+ @pulumi.getter(name="updateTime")
120
+ def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
121
+ """
122
+ (string) - Timestamp when the tag policy was last updated
123
+ """
124
+ return pulumi.get(self, "update_time")
125
+
126
+ @update_time.setter
127
+ def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
128
+ pulumi.set(self, "update_time", value)
129
+
118
130
  @_builtins.property
119
131
  @pulumi.getter
120
132
  def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]:
@@ -124,18 +136,6 @@ class _TagPolicyState:
124
136
  def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]):
125
137
  pulumi.set(self, "values", value)
126
138
 
127
- @_builtins.property
128
- @pulumi.getter(name="workspaceId")
129
- def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
130
- """
131
- Workspace ID of the resource
132
- """
133
- return pulumi.get(self, "workspace_id")
134
-
135
- @workspace_id.setter
136
- def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
137
- pulumi.set(self, "workspace_id", value)
138
-
139
139
 
140
140
  @pulumi.type_token("databricks:index/tagPolicy:TagPolicy")
141
141
  class TagPolicy(pulumi.CustomResource):
@@ -146,12 +146,35 @@ class TagPolicy(pulumi.CustomResource):
146
146
  description: Optional[pulumi.Input[_builtins.str]] = None,
147
147
  tag_key: Optional[pulumi.Input[_builtins.str]] = None,
148
148
  values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
149
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
150
149
  __props__=None):
151
150
  """
151
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
152
+
152
153
  Define tag policies to manage governed tags in your account.
153
154
 
154
- > **Note** This resource can only be used with an account-level provider!
155
+ > **Note** This resource can only be used with a workspace-level provider!
156
+
157
+ ## Example Usage
158
+
159
+ ```python
160
+ import pulumi
161
+ import pulumi_databricks as databricks
162
+
163
+ example_tag_policy = databricks.TagPolicy("example_tag_policy",
164
+ tag_key="example_tag_key",
165
+ description="Example description.",
166
+ values=[
167
+ {
168
+ "name": "example_value_1",
169
+ },
170
+ {
171
+ "name": "example_value_2",
172
+ },
173
+ {
174
+ "name": "example_value_3",
175
+ },
176
+ ])
177
+ ```
155
178
 
156
179
  ## Import
157
180
 
@@ -170,12 +193,11 @@ class TagPolicy(pulumi.CustomResource):
170
193
  If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
171
194
 
172
195
  ```sh
173
- $ pulumi import databricks:index/tagPolicy:TagPolicy databricks_tag_policy "tag_key"
196
+ $ pulumi import databricks:index/tagPolicy:TagPolicy this "tag_key"
174
197
  ```
175
198
 
176
199
  :param str resource_name: The name of the resource.
177
200
  :param pulumi.ResourceOptions opts: Options for the resource.
178
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
179
201
  """
180
202
  ...
181
203
  @overload
@@ -184,9 +206,33 @@ class TagPolicy(pulumi.CustomResource):
184
206
  args: TagPolicyArgs,
185
207
  opts: Optional[pulumi.ResourceOptions] = None):
186
208
  """
209
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
210
+
187
211
  Define tag policies to manage governed tags in your account.
188
212
 
189
- > **Note** This resource can only be used with an account-level provider!
213
+ > **Note** This resource can only be used with a workspace-level provider!
214
+
215
+ ## Example Usage
216
+
217
+ ```python
218
+ import pulumi
219
+ import pulumi_databricks as databricks
220
+
221
+ example_tag_policy = databricks.TagPolicy("example_tag_policy",
222
+ tag_key="example_tag_key",
223
+ description="Example description.",
224
+ values=[
225
+ {
226
+ "name": "example_value_1",
227
+ },
228
+ {
229
+ "name": "example_value_2",
230
+ },
231
+ {
232
+ "name": "example_value_3",
233
+ },
234
+ ])
235
+ ```
190
236
 
191
237
  ## Import
192
238
 
@@ -205,7 +251,7 @@ class TagPolicy(pulumi.CustomResource):
205
251
  If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
206
252
 
207
253
  ```sh
208
- $ pulumi import databricks:index/tagPolicy:TagPolicy databricks_tag_policy "tag_key"
254
+ $ pulumi import databricks:index/tagPolicy:TagPolicy this "tag_key"
209
255
  ```
210
256
 
211
257
  :param str resource_name: The name of the resource.
@@ -226,7 +272,6 @@ class TagPolicy(pulumi.CustomResource):
226
272
  description: Optional[pulumi.Input[_builtins.str]] = None,
227
273
  tag_key: Optional[pulumi.Input[_builtins.str]] = None,
228
274
  values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
229
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
230
275
  __props__=None):
231
276
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
232
277
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -241,7 +286,8 @@ class TagPolicy(pulumi.CustomResource):
241
286
  raise TypeError("Missing required property 'tag_key'")
242
287
  __props__.__dict__["tag_key"] = tag_key
243
288
  __props__.__dict__["values"] = values
244
- __props__.__dict__["workspace_id"] = workspace_id
289
+ __props__.__dict__["create_time"] = None
290
+ __props__.__dict__["update_time"] = None
245
291
  super(TagPolicy, __self__).__init__(
246
292
  'databricks:index/tagPolicy:TagPolicy',
247
293
  resource_name,
@@ -252,10 +298,11 @@ class TagPolicy(pulumi.CustomResource):
252
298
  def get(resource_name: str,
253
299
  id: pulumi.Input[str],
254
300
  opts: Optional[pulumi.ResourceOptions] = None,
301
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
255
302
  description: Optional[pulumi.Input[_builtins.str]] = None,
256
303
  tag_key: Optional[pulumi.Input[_builtins.str]] = None,
257
- values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
258
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'TagPolicy':
304
+ update_time: Optional[pulumi.Input[_builtins.str]] = None,
305
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None) -> 'TagPolicy':
259
306
  """
260
307
  Get an existing TagPolicy resource's state with the given name, id, and optional extra
261
308
  properties used to qualify the lookup.
@@ -263,18 +310,28 @@ class TagPolicy(pulumi.CustomResource):
263
310
  :param str resource_name: The unique name of the resulting resource.
264
311
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
265
312
  :param pulumi.ResourceOptions opts: Options for the resource.
266
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
313
+ :param pulumi.Input[_builtins.str] create_time: (string) - Timestamp when the tag policy was created
314
+ :param pulumi.Input[_builtins.str] update_time: (string) - Timestamp when the tag policy was last updated
267
315
  """
268
316
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
269
317
 
270
318
  __props__ = _TagPolicyState.__new__(_TagPolicyState)
271
319
 
320
+ __props__.__dict__["create_time"] = create_time
272
321
  __props__.__dict__["description"] = description
273
322
  __props__.__dict__["tag_key"] = tag_key
323
+ __props__.__dict__["update_time"] = update_time
274
324
  __props__.__dict__["values"] = values
275
- __props__.__dict__["workspace_id"] = workspace_id
276
325
  return TagPolicy(resource_name, opts=opts, __props__=__props__)
277
326
 
327
+ @_builtins.property
328
+ @pulumi.getter(name="createTime")
329
+ def create_time(self) -> pulumi.Output[_builtins.str]:
330
+ """
331
+ (string) - Timestamp when the tag policy was created
332
+ """
333
+ return pulumi.get(self, "create_time")
334
+
278
335
  @_builtins.property
279
336
  @pulumi.getter
280
337
  def description(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -285,16 +342,16 @@ class TagPolicy(pulumi.CustomResource):
285
342
  def tag_key(self) -> pulumi.Output[_builtins.str]:
286
343
  return pulumi.get(self, "tag_key")
287
344
 
345
+ @_builtins.property
346
+ @pulumi.getter(name="updateTime")
347
+ def update_time(self) -> pulumi.Output[_builtins.str]:
348
+ """
349
+ (string) - Timestamp when the tag policy was last updated
350
+ """
351
+ return pulumi.get(self, "update_time")
352
+
288
353
  @_builtins.property
289
354
  @pulumi.getter
290
355
  def values(self) -> pulumi.Output[Optional[Sequence['outputs.TagPolicyValue']]]:
291
356
  return pulumi.get(self, "values")
292
357
 
293
- @_builtins.property
294
- @pulumi.getter(name="workspaceId")
295
- def workspace_id(self) -> pulumi.Output[Optional[_builtins.str]]:
296
- """
297
- Workspace ID of the resource
298
- """
299
- return pulumi.get(self, "workspace_id")
300
-
pulumi_databricks/user.py CHANGED
@@ -42,7 +42,7 @@ class UserArgs:
42
42
  :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
43
43
  :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
44
44
  :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
45
- :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
45
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
46
46
  :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
47
47
  :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
48
48
  :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
@@ -51,8 +51,8 @@ class UserArgs:
51
51
  :param pulumi.Input[_builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
52
52
  :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
53
53
  :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
54
- :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
55
- :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
54
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
55
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
56
56
  """
57
57
  pulumi.set(__self__, "user_name", user_name)
58
58
  if acl_principal_id is not None:
@@ -150,7 +150,7 @@ class UserArgs:
150
150
  @pulumi.getter(name="databricksSqlAccess")
151
151
  def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
152
152
  """
153
- This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
153
+ This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
154
154
  """
155
155
  return pulumi.get(self, "databricks_sql_access")
156
156
 
@@ -258,7 +258,7 @@ class UserArgs:
258
258
  @pulumi.getter(name="workspaceAccess")
259
259
  def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
260
260
  """
261
- This is a field to allow the user to have access to a Databricks Workspace.
261
+ This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
262
262
  """
263
263
  return pulumi.get(self, "workspace_access")
264
264
 
@@ -270,7 +270,7 @@ class UserArgs:
270
270
  @pulumi.getter(name="workspaceConsume")
271
271
  def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
272
272
  """
273
- This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
273
+ This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
274
274
  """
275
275
  return pulumi.get(self, "workspace_consume")
276
276
 
@@ -304,7 +304,7 @@ class _UserState:
304
304
  :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
305
305
  :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
306
306
  :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
307
- :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
307
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
308
308
  :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
309
309
  :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
310
310
  :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
@@ -314,8 +314,8 @@ class _UserState:
314
314
  :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
315
315
  :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
316
316
  :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
317
- :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
318
- :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
317
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
318
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
319
319
  """
320
320
  if acl_principal_id is not None:
321
321
  pulumi.set(__self__, "acl_principal_id", acl_principal_id)
@@ -402,7 +402,7 @@ class _UserState:
402
402
  @pulumi.getter(name="databricksSqlAccess")
403
403
  def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
404
404
  """
405
- This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
405
+ This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
406
406
  """
407
407
  return pulumi.get(self, "databricks_sql_access")
408
408
 
@@ -522,7 +522,7 @@ class _UserState:
522
522
  @pulumi.getter(name="workspaceAccess")
523
523
  def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
524
524
  """
525
- This is a field to allow the user to have access to a Databricks Workspace.
525
+ This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
526
526
  """
527
527
  return pulumi.get(self, "workspace_access")
528
528
 
@@ -534,7 +534,7 @@ class _UserState:
534
534
  @pulumi.getter(name="workspaceConsume")
535
535
  def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
536
536
  """
537
- This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
537
+ This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
538
538
  """
539
539
  return pulumi.get(self, "workspace_consume")
540
540
 
@@ -677,7 +677,7 @@ class User(pulumi.CustomResource):
677
677
  :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
678
678
  :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
679
679
  :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
680
- :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
680
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
681
681
  :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
682
682
  :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
683
683
  :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
@@ -687,8 +687,8 @@ class User(pulumi.CustomResource):
687
687
  :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
688
688
  :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
689
689
  :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
690
- :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
691
- :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
690
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
691
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
692
692
  """
693
693
  ...
694
694
  @overload
@@ -896,7 +896,7 @@ class User(pulumi.CustomResource):
896
896
  :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
897
897
  :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
898
898
  :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
899
- :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
899
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
900
900
  :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
901
901
  :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
902
902
  :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
@@ -906,8 +906,8 @@ class User(pulumi.CustomResource):
906
906
  :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
907
907
  :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
908
908
  :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
909
- :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
910
- :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
909
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
910
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
911
911
  """
912
912
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
913
913
 
@@ -967,7 +967,7 @@ class User(pulumi.CustomResource):
967
967
  @pulumi.getter(name="databricksSqlAccess")
968
968
  def databricks_sql_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
969
969
  """
970
- This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
970
+ This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
971
971
  """
972
972
  return pulumi.get(self, "databricks_sql_access")
973
973
 
@@ -1047,7 +1047,7 @@ class User(pulumi.CustomResource):
1047
1047
  @pulumi.getter(name="workspaceAccess")
1048
1048
  def workspace_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
1049
1049
  """
1050
- This is a field to allow the user to have access to a Databricks Workspace.
1050
+ This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
1051
1051
  """
1052
1052
  return pulumi.get(self, "workspace_access")
1053
1053
 
@@ -1055,7 +1055,7 @@ class User(pulumi.CustomResource):
1055
1055
  @pulumi.getter(name="workspaceConsume")
1056
1056
  def workspace_consume(self) -> pulumi.Output[Optional[_builtins.bool]]:
1057
1057
  """
1058
- This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
1058
+ This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
1059
1059
  """
1060
1060
  return pulumi.get(self, "workspace_consume")
1061
1061
 
@@ -34,7 +34,7 @@ class VolumeArgs:
34
34
  :param pulumi.Input[_builtins.str] comment: Free-form text.
35
35
  :param pulumi.Input[_builtins.str] name: Name of the Volume
36
36
  :param pulumi.Input[_builtins.str] owner: Name of the volume owner.
37
- :param pulumi.Input[_builtins.str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
37
+ :param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
38
38
  """
39
39
  pulumi.set(__self__, "catalog_name", catalog_name)
40
40
  pulumi.set(__self__, "schema_name", schema_name)
@@ -124,7 +124,7 @@ class VolumeArgs:
124
124
  @pulumi.getter(name="storageLocation")
125
125
  def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
126
126
  """
127
- Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
127
+ URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
128
128
  """
129
129
  return pulumi.get(self, "storage_location")
130
130
 
@@ -151,7 +151,7 @@ class _VolumeState:
151
151
  :param pulumi.Input[_builtins.str] name: Name of the Volume
152
152
  :param pulumi.Input[_builtins.str] owner: Name of the volume owner.
153
153
  :param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
154
- :param pulumi.Input[_builtins.str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
154
+ :param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
155
155
  :param pulumi.Input[_builtins.str] volume_path: base file path for this Unity Catalog Volume in form of `/Volumes/<catalog>/<schema>/<name>`.
156
156
  :param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
157
157
  """
@@ -236,7 +236,7 @@ class _VolumeState:
236
236
  @pulumi.getter(name="storageLocation")
237
237
  def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
238
238
  """
239
- Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
239
+ URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
240
240
  """
241
241
  return pulumi.get(self, "storage_location")
242
242
 
@@ -378,7 +378,7 @@ class Volume(pulumi.CustomResource):
378
378
  :param pulumi.Input[_builtins.str] name: Name of the Volume
379
379
  :param pulumi.Input[_builtins.str] owner: Name of the volume owner.
380
380
  :param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
381
- :param pulumi.Input[_builtins.str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
381
+ :param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
382
382
  :param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
383
383
  """
384
384
  ...
@@ -550,7 +550,7 @@ class Volume(pulumi.CustomResource):
550
550
  :param pulumi.Input[_builtins.str] name: Name of the Volume
551
551
  :param pulumi.Input[_builtins.str] owner: Name of the volume owner.
552
552
  :param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
553
- :param pulumi.Input[_builtins.str] storage_location: Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
553
+ :param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
554
554
  :param pulumi.Input[_builtins.str] volume_path: base file path for this Unity Catalog Volume in form of `/Volumes/<catalog>/<schema>/<name>`.
555
555
  :param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
556
556
  """
@@ -612,7 +612,7 @@ class Volume(pulumi.CustomResource):
612
612
  @pulumi.getter(name="storageLocation")
613
613
  def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
614
614
  """
615
- Path inside an External Location. Only used for `EXTERNAL` Volumes. Change forces creation of a new resource.
615
+ URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
616
616
  """
617
617
  return pulumi.get(self, "storage_location")
618
618
 
@@ -204,30 +204,6 @@ class WorkspaceBinding(pulumi.CustomResource):
204
204
  workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
205
205
  __props__=None):
206
206
  """
207
- If you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding
208
-
209
- > This resource can only be used with a workspace-level provider!
210
-
211
- By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.
212
-
213
- > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).
214
-
215
- > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.
216
-
217
- ## Example Usage
218
-
219
- ```python
220
- import pulumi
221
- import pulumi_databricks as databricks
222
-
223
- sandbox = databricks.Catalog("sandbox",
224
- name="sandbox",
225
- isolation_mode="ISOLATED")
226
- sandbox_workspace_binding = databricks.WorkspaceBinding("sandbox",
227
- securable_name=sandbox.name,
228
- workspace_id=other["workspaceId"])
229
- ```
230
-
231
207
  ## Import
232
208
 
233
209
  This resource can be imported by using combination of workspace ID, securable type and name:
@@ -264,30 +240,6 @@ class WorkspaceBinding(pulumi.CustomResource):
264
240
  args: WorkspaceBindingArgs,
265
241
  opts: Optional[pulumi.ResourceOptions] = None):
266
242
  """
267
- If you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding
268
-
269
- > This resource can only be used with a workspace-level provider!
270
-
271
- By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.
272
-
273
- > To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).
274
-
275
- > If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.
276
-
277
- ## Example Usage
278
-
279
- ```python
280
- import pulumi
281
- import pulumi_databricks as databricks
282
-
283
- sandbox = databricks.Catalog("sandbox",
284
- name="sandbox",
285
- isolation_mode="ISOLATED")
286
- sandbox_workspace_binding = databricks.WorkspaceBinding("sandbox",
287
- securable_name=sandbox.name,
288
- workspace_id=other["workspaceId"])
289
- ```
290
-
291
243
  ## Import
292
244
 
293
245
  This resource can be imported by using combination of workspace ID, securable type and name:
@@ -118,6 +118,8 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
118
118
  workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
119
119
  __props__=None):
120
120
  """
121
+ [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
122
+
121
123
  Workspace network options allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace.
122
124
 
123
125
  Each workspace is always associated with exactly one network policy that controls which network destinations can be accessed from the Databricks environment. By default, workspaces are associated with the `default-policy` network policy.
@@ -158,7 +160,7 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
158
160
  If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
159
161
 
160
162
  ```sh
161
- $ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption databricks_workspace_network_option "workspace_id"
163
+ $ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption this "workspace_id"
162
164
  ```
163
165
 
164
166
  :param str resource_name: The name of the resource.
@@ -176,6 +178,8 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
176
178
  args: Optional[WorkspaceNetworkOptionArgs] = None,
177
179
  opts: Optional[pulumi.ResourceOptions] = None):
178
180
  """
181
+ [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
182
+
179
183
  Workspace network options allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace.
180
184
 
181
185
  Each workspace is always associated with exactly one network policy that controls which network destinations can be accessed from the Databricks environment. By default, workspaces are associated with the `default-policy` network policy.
@@ -216,7 +220,7 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
216
220
  If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
217
221
 
218
222
  ```sh
219
- $ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption databricks_workspace_network_option "workspace_id"
223
+ $ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption this "workspace_id"
220
224
  ```
221
225
 
222
226
  :param str resource_name: The name of the resource.