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.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -20,17 +20,13 @@ __all__ = ['MaterializedFeaturesFeatureTagArgs', 'MaterializedFeaturesFeatureTag
|
|
|
20
20
|
class MaterializedFeaturesFeatureTagArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
key: pulumi.Input[_builtins.str],
|
|
23
|
-
value: Optional[pulumi.Input[_builtins.str]] = None
|
|
24
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
23
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
25
24
|
"""
|
|
26
25
|
The set of arguments for constructing a MaterializedFeaturesFeatureTag resource.
|
|
27
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
28
26
|
"""
|
|
29
27
|
pulumi.set(__self__, "key", key)
|
|
30
28
|
if value is not None:
|
|
31
29
|
pulumi.set(__self__, "value", value)
|
|
32
|
-
if workspace_id is not None:
|
|
33
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
34
30
|
|
|
35
31
|
@_builtins.property
|
|
36
32
|
@pulumi.getter
|
|
@@ -50,35 +46,19 @@ class MaterializedFeaturesFeatureTagArgs:
|
|
|
50
46
|
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
51
47
|
pulumi.set(self, "value", value)
|
|
52
48
|
|
|
53
|
-
@_builtins.property
|
|
54
|
-
@pulumi.getter(name="workspaceId")
|
|
55
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
56
|
-
"""
|
|
57
|
-
Workspace ID of the resource
|
|
58
|
-
"""
|
|
59
|
-
return pulumi.get(self, "workspace_id")
|
|
60
|
-
|
|
61
|
-
@workspace_id.setter
|
|
62
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
63
|
-
pulumi.set(self, "workspace_id", value)
|
|
64
|
-
|
|
65
49
|
|
|
66
50
|
@pulumi.input_type
|
|
67
51
|
class _MaterializedFeaturesFeatureTagState:
|
|
68
52
|
def __init__(__self__, *,
|
|
69
53
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
70
|
-
value: Optional[pulumi.Input[_builtins.str]] = None
|
|
71
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
54
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
72
55
|
"""
|
|
73
56
|
Input properties used for looking up and filtering MaterializedFeaturesFeatureTag resources.
|
|
74
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
75
57
|
"""
|
|
76
58
|
if key is not None:
|
|
77
59
|
pulumi.set(__self__, "key", key)
|
|
78
60
|
if value is not None:
|
|
79
61
|
pulumi.set(__self__, "value", value)
|
|
80
|
-
if workspace_id is not None:
|
|
81
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
82
62
|
|
|
83
63
|
@_builtins.property
|
|
84
64
|
@pulumi.getter
|
|
@@ -98,18 +78,6 @@ class _MaterializedFeaturesFeatureTagState:
|
|
|
98
78
|
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
99
79
|
pulumi.set(self, "value", value)
|
|
100
80
|
|
|
101
|
-
@_builtins.property
|
|
102
|
-
@pulumi.getter(name="workspaceId")
|
|
103
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
104
|
-
"""
|
|
105
|
-
Workspace ID of the resource
|
|
106
|
-
"""
|
|
107
|
-
return pulumi.get(self, "workspace_id")
|
|
108
|
-
|
|
109
|
-
@workspace_id.setter
|
|
110
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
111
|
-
pulumi.set(self, "workspace_id", value)
|
|
112
|
-
|
|
113
81
|
|
|
114
82
|
@pulumi.type_token("databricks:index/materializedFeaturesFeatureTag:MaterializedFeaturesFeatureTag")
|
|
115
83
|
class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
@@ -119,9 +87,10 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
119
87
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
120
88
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
89
|
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
90
|
__props__=None):
|
|
124
91
|
"""
|
|
92
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
93
|
+
|
|
125
94
|
## Import
|
|
126
95
|
|
|
127
96
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -139,12 +108,11 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
139
108
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
140
109
|
|
|
141
110
|
```sh
|
|
142
|
-
$ pulumi import databricks:index/materializedFeaturesFeatureTag:MaterializedFeaturesFeatureTag
|
|
111
|
+
$ pulumi import databricks:index/materializedFeaturesFeatureTag:MaterializedFeaturesFeatureTag this "key"
|
|
143
112
|
```
|
|
144
113
|
|
|
145
114
|
:param str resource_name: The name of the resource.
|
|
146
115
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
147
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
148
116
|
"""
|
|
149
117
|
...
|
|
150
118
|
@overload
|
|
@@ -153,6 +121,8 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
153
121
|
args: MaterializedFeaturesFeatureTagArgs,
|
|
154
122
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
155
123
|
"""
|
|
124
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
125
|
+
|
|
156
126
|
## Import
|
|
157
127
|
|
|
158
128
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -170,7 +140,7 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
170
140
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
171
141
|
|
|
172
142
|
```sh
|
|
173
|
-
$ pulumi import databricks:index/materializedFeaturesFeatureTag:MaterializedFeaturesFeatureTag
|
|
143
|
+
$ pulumi import databricks:index/materializedFeaturesFeatureTag:MaterializedFeaturesFeatureTag this "key"
|
|
174
144
|
```
|
|
175
145
|
|
|
176
146
|
:param str resource_name: The name of the resource.
|
|
@@ -190,7 +160,6 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
190
160
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
191
161
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
192
162
|
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
193
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
194
163
|
__props__=None):
|
|
195
164
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
196
165
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -204,7 +173,6 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
204
173
|
raise TypeError("Missing required property 'key'")
|
|
205
174
|
__props__.__dict__["key"] = key
|
|
206
175
|
__props__.__dict__["value"] = value
|
|
207
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
208
176
|
super(MaterializedFeaturesFeatureTag, __self__).__init__(
|
|
209
177
|
'databricks:index/materializedFeaturesFeatureTag:MaterializedFeaturesFeatureTag',
|
|
210
178
|
resource_name,
|
|
@@ -216,8 +184,7 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
216
184
|
id: pulumi.Input[str],
|
|
217
185
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
218
186
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
219
|
-
value: Optional[pulumi.Input[_builtins.str]] = None
|
|
220
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'MaterializedFeaturesFeatureTag':
|
|
187
|
+
value: Optional[pulumi.Input[_builtins.str]] = None) -> 'MaterializedFeaturesFeatureTag':
|
|
221
188
|
"""
|
|
222
189
|
Get an existing MaterializedFeaturesFeatureTag resource's state with the given name, id, and optional extra
|
|
223
190
|
properties used to qualify the lookup.
|
|
@@ -225,7 +192,6 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
225
192
|
:param str resource_name: The unique name of the resulting resource.
|
|
226
193
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
227
194
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
228
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
229
195
|
"""
|
|
230
196
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
231
197
|
|
|
@@ -233,7 +199,6 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
233
199
|
|
|
234
200
|
__props__.__dict__["key"] = key
|
|
235
201
|
__props__.__dict__["value"] = value
|
|
236
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
237
202
|
return MaterializedFeaturesFeatureTag(resource_name, opts=opts, __props__=__props__)
|
|
238
203
|
|
|
239
204
|
@_builtins.property
|
|
@@ -246,11 +211,3 @@ class MaterializedFeaturesFeatureTag(pulumi.CustomResource):
|
|
|
246
211
|
def value(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
247
212
|
return pulumi.get(self, "value")
|
|
248
213
|
|
|
249
|
-
@_builtins.property
|
|
250
|
-
@pulumi.getter(name="workspaceId")
|
|
251
|
-
def workspace_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
252
|
-
"""
|
|
253
|
-
Workspace ID of the resource
|
|
254
|
-
"""
|
|
255
|
-
return pulumi.get(self, "workspace_id")
|
|
256
|
-
|
pulumi_databricks/metastore.py
CHANGED
|
@@ -45,7 +45,7 @@ class MetastoreArgs:
|
|
|
45
45
|
:param pulumi.Input[_builtins.str] name: Name of metastore.
|
|
46
46
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the metastore owner.
|
|
47
47
|
:param pulumi.Input[_builtins.str] region: The region of the metastore
|
|
48
|
-
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
48
|
+
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
49
49
|
"""
|
|
50
50
|
if cloud is not None:
|
|
51
51
|
pulumi.set(__self__, "cloud", cloud)
|
|
@@ -224,7 +224,7 @@ class MetastoreArgs:
|
|
|
224
224
|
@pulumi.getter(name="storageRoot")
|
|
225
225
|
def storage_root(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
226
226
|
"""
|
|
227
|
-
Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
227
|
+
Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
228
228
|
"""
|
|
229
229
|
return pulumi.get(self, "storage_root")
|
|
230
230
|
|
|
@@ -289,7 +289,7 @@ class _MetastoreState:
|
|
|
289
289
|
:param pulumi.Input[_builtins.str] name: Name of metastore.
|
|
290
290
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the metastore owner.
|
|
291
291
|
:param pulumi.Input[_builtins.str] region: The region of the metastore
|
|
292
|
-
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
292
|
+
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
293
293
|
"""
|
|
294
294
|
if cloud is not None:
|
|
295
295
|
pulumi.set(__self__, "cloud", cloud)
|
|
@@ -468,7 +468,7 @@ class _MetastoreState:
|
|
|
468
468
|
@pulumi.getter(name="storageRoot")
|
|
469
469
|
def storage_root(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
470
470
|
"""
|
|
471
|
-
Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
471
|
+
Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
472
472
|
"""
|
|
473
473
|
return pulumi.get(self, "storage_root")
|
|
474
474
|
|
|
@@ -558,6 +558,43 @@ class Metastore(pulumi.CustomResource):
|
|
|
558
558
|
|
|
559
559
|
For Azure
|
|
560
560
|
|
|
561
|
+
```python
|
|
562
|
+
import pulumi
|
|
563
|
+
import pulumi_databricks as databricks
|
|
564
|
+
import pulumi_std as std
|
|
565
|
+
|
|
566
|
+
this = databricks.Metastore("this",
|
|
567
|
+
name="primary",
|
|
568
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
569
|
+
args=[
|
|
570
|
+
unity_catalog["name"],
|
|
571
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
572
|
+
]).result,
|
|
573
|
+
owner="uc admins",
|
|
574
|
+
region="eastus",
|
|
575
|
+
force_destroy=True)
|
|
576
|
+
this_metastore_assignment = databricks.MetastoreAssignment("this",
|
|
577
|
+
metastore_id=this.id,
|
|
578
|
+
workspace_id=workspace_id)
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
For GCP
|
|
582
|
+
|
|
583
|
+
```python
|
|
584
|
+
import pulumi
|
|
585
|
+
import pulumi_databricks as databricks
|
|
586
|
+
|
|
587
|
+
this = databricks.Metastore("this",
|
|
588
|
+
name="primary",
|
|
589
|
+
storage_root=f"gs://{unity_metastore['name']}",
|
|
590
|
+
owner="uc admins",
|
|
591
|
+
region=us_east1,
|
|
592
|
+
force_destroy=True)
|
|
593
|
+
this_metastore_assignment = databricks.MetastoreAssignment("this",
|
|
594
|
+
metastore_id=this.id,
|
|
595
|
+
workspace_id=workspace_id)
|
|
596
|
+
```
|
|
597
|
+
|
|
561
598
|
## Import
|
|
562
599
|
|
|
563
600
|
This resource can be imported by ID:
|
|
@@ -589,7 +626,7 @@ class Metastore(pulumi.CustomResource):
|
|
|
589
626
|
:param pulumi.Input[_builtins.str] name: Name of metastore.
|
|
590
627
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the metastore owner.
|
|
591
628
|
:param pulumi.Input[_builtins.str] region: The region of the metastore
|
|
592
|
-
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
629
|
+
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
593
630
|
"""
|
|
594
631
|
...
|
|
595
632
|
@overload
|
|
@@ -627,6 +664,43 @@ class Metastore(pulumi.CustomResource):
|
|
|
627
664
|
|
|
628
665
|
For Azure
|
|
629
666
|
|
|
667
|
+
```python
|
|
668
|
+
import pulumi
|
|
669
|
+
import pulumi_databricks as databricks
|
|
670
|
+
import pulumi_std as std
|
|
671
|
+
|
|
672
|
+
this = databricks.Metastore("this",
|
|
673
|
+
name="primary",
|
|
674
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
675
|
+
args=[
|
|
676
|
+
unity_catalog["name"],
|
|
677
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
678
|
+
]).result,
|
|
679
|
+
owner="uc admins",
|
|
680
|
+
region="eastus",
|
|
681
|
+
force_destroy=True)
|
|
682
|
+
this_metastore_assignment = databricks.MetastoreAssignment("this",
|
|
683
|
+
metastore_id=this.id,
|
|
684
|
+
workspace_id=workspace_id)
|
|
685
|
+
```
|
|
686
|
+
|
|
687
|
+
For GCP
|
|
688
|
+
|
|
689
|
+
```python
|
|
690
|
+
import pulumi
|
|
691
|
+
import pulumi_databricks as databricks
|
|
692
|
+
|
|
693
|
+
this = databricks.Metastore("this",
|
|
694
|
+
name="primary",
|
|
695
|
+
storage_root=f"gs://{unity_metastore['name']}",
|
|
696
|
+
owner="uc admins",
|
|
697
|
+
region=us_east1,
|
|
698
|
+
force_destroy=True)
|
|
699
|
+
this_metastore_assignment = databricks.MetastoreAssignment("this",
|
|
700
|
+
metastore_id=this.id,
|
|
701
|
+
workspace_id=workspace_id)
|
|
702
|
+
```
|
|
703
|
+
|
|
630
704
|
## Import
|
|
631
705
|
|
|
632
706
|
This resource can be imported by ID:
|
|
@@ -748,7 +822,7 @@ class Metastore(pulumi.CustomResource):
|
|
|
748
822
|
:param pulumi.Input[_builtins.str] name: Name of metastore.
|
|
749
823
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the metastore owner.
|
|
750
824
|
:param pulumi.Input[_builtins.str] region: The region of the metastore
|
|
751
|
-
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
825
|
+
:param pulumi.Input[_builtins.str] storage_root: Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
752
826
|
"""
|
|
753
827
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
754
828
|
|
|
@@ -863,7 +937,7 @@ class Metastore(pulumi.CustomResource):
|
|
|
863
937
|
@pulumi.getter(name="storageRoot")
|
|
864
938
|
def storage_root(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
865
939
|
"""
|
|
866
|
-
Path on cloud storage account, where managed `Table` are stored. Change forces creation of a new resource. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
940
|
+
Path on cloud storage account, where managed `Table` are stored. 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. If no `storage_root` is defined for the metastore, each catalog must have a `storage_root` defined.
|
|
867
941
|
"""
|
|
868
942
|
return pulumi.get(self, "storage_root")
|
|
869
943
|
|
|
@@ -479,6 +479,30 @@ class MetastoreDataAccess(pulumi.CustomResource):
|
|
|
479
479
|
|
|
480
480
|
For Azure using managed identity as credential (recommended)
|
|
481
481
|
|
|
482
|
+
```python
|
|
483
|
+
import pulumi
|
|
484
|
+
import pulumi_databricks as databricks
|
|
485
|
+
import pulumi_std as std
|
|
486
|
+
|
|
487
|
+
this = databricks.Metastore("this",
|
|
488
|
+
name="primary",
|
|
489
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
490
|
+
args=[
|
|
491
|
+
unity_catalog["name"],
|
|
492
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
493
|
+
]).result,
|
|
494
|
+
owner="uc admins",
|
|
495
|
+
region="eastus",
|
|
496
|
+
force_destroy=True)
|
|
497
|
+
this_metastore_data_access = databricks.MetastoreDataAccess("this",
|
|
498
|
+
metastore_id=this.id,
|
|
499
|
+
name="mi_dac",
|
|
500
|
+
azure_managed_identity={
|
|
501
|
+
"access_connector_id": access_connector_id,
|
|
502
|
+
},
|
|
503
|
+
is_default=True)
|
|
504
|
+
```
|
|
505
|
+
|
|
482
506
|
## Import
|
|
483
507
|
|
|
484
508
|
This resource can be imported by combination of metastore id and the data access name.
|
|
@@ -541,6 +565,30 @@ class MetastoreDataAccess(pulumi.CustomResource):
|
|
|
541
565
|
|
|
542
566
|
For Azure using managed identity as credential (recommended)
|
|
543
567
|
|
|
568
|
+
```python
|
|
569
|
+
import pulumi
|
|
570
|
+
import pulumi_databricks as databricks
|
|
571
|
+
import pulumi_std as std
|
|
572
|
+
|
|
573
|
+
this = databricks.Metastore("this",
|
|
574
|
+
name="primary",
|
|
575
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
576
|
+
args=[
|
|
577
|
+
unity_catalog["name"],
|
|
578
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
579
|
+
]).result,
|
|
580
|
+
owner="uc admins",
|
|
581
|
+
region="eastus",
|
|
582
|
+
force_destroy=True)
|
|
583
|
+
this_metastore_data_access = databricks.MetastoreDataAccess("this",
|
|
584
|
+
metastore_id=this.id,
|
|
585
|
+
name="mi_dac",
|
|
586
|
+
azure_managed_identity={
|
|
587
|
+
"access_connector_id": access_connector_id,
|
|
588
|
+
},
|
|
589
|
+
is_default=True)
|
|
590
|
+
```
|
|
591
|
+
|
|
544
592
|
## Import
|
|
545
593
|
|
|
546
594
|
This resource can be imported by combination of metastore id and the data access name.
|
|
@@ -252,9 +252,9 @@ class MlflowWebhook(pulumi.CustomResource):
|
|
|
252
252
|
language="PYTHON",
|
|
253
253
|
content_base64=std.base64encode(input=\"\"\"import json
|
|
254
254
|
|
|
255
|
-
event_message = dbutils.widgets.get("event_message")
|
|
255
|
+
event_message = dbutils.widgets.get(\\"event_message\\")
|
|
256
256
|
event_message_dict = json.loads(event_message)
|
|
257
|
-
print(f"event data={event_message_dict}")
|
|
257
|
+
print(f\\"event data={event_message_dict}\\")
|
|
258
258
|
\"\"\").result)
|
|
259
259
|
this_job = databricks.Job("this",
|
|
260
260
|
name=f"Pulumi MLflowWebhook Demo ({me.alphanumeric})",
|
|
@@ -354,9 +354,9 @@ class MlflowWebhook(pulumi.CustomResource):
|
|
|
354
354
|
language="PYTHON",
|
|
355
355
|
content_base64=std.base64encode(input=\"\"\"import json
|
|
356
356
|
|
|
357
|
-
event_message = dbutils.widgets.get("event_message")
|
|
357
|
+
event_message = dbutils.widgets.get(\\"event_message\\")
|
|
358
358
|
event_message_dict = json.loads(event_message)
|
|
359
|
-
print(f"event data={event_message_dict}")
|
|
359
|
+
print(f\\"event data={event_message_dict}\\")
|
|
360
360
|
\"\"\").result)
|
|
361
361
|
this_job = databricks.Job("this",
|
|
362
362
|
name=f"Pulumi MLflowWebhook Demo ({me.alphanumeric})",
|
|
@@ -249,18 +249,18 @@ class MwsCredentials(pulumi.CustomResource):
|
|
|
249
249
|
# Names of created resources will be prefixed with this value
|
|
250
250
|
prefix = config.require_object("prefix")
|
|
251
251
|
this = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)
|
|
252
|
-
cross_account_role = aws.
|
|
253
|
-
name=f
|
|
252
|
+
cross_account_role = aws.index.IamRole("cross_account_role",
|
|
253
|
+
name=f{prefix}-crossaccount,
|
|
254
254
|
assume_role_policy=this.json,
|
|
255
255
|
tags=tags)
|
|
256
256
|
this_get_aws_cross_account_policy = databricks.get_aws_cross_account_policy()
|
|
257
|
-
|
|
258
|
-
name=f
|
|
257
|
+
this_iam_role_policy = aws.index.IamRolePolicy("this",
|
|
258
|
+
name=f{prefix}-policy,
|
|
259
259
|
role=cross_account_role.id,
|
|
260
260
|
policy=this_get_aws_cross_account_policy.json)
|
|
261
261
|
this_mws_credentials = databricks.MwsCredentials("this",
|
|
262
262
|
credentials_name=f"{prefix}-creds",
|
|
263
|
-
role_arn=cross_account_role
|
|
263
|
+
role_arn=cross_account_role["arn"])
|
|
264
264
|
```
|
|
265
265
|
|
|
266
266
|
## Related Resources
|
|
@@ -324,18 +324,18 @@ class MwsCredentials(pulumi.CustomResource):
|
|
|
324
324
|
# Names of created resources will be prefixed with this value
|
|
325
325
|
prefix = config.require_object("prefix")
|
|
326
326
|
this = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)
|
|
327
|
-
cross_account_role = aws.
|
|
328
|
-
name=f
|
|
327
|
+
cross_account_role = aws.index.IamRole("cross_account_role",
|
|
328
|
+
name=f{prefix}-crossaccount,
|
|
329
329
|
assume_role_policy=this.json,
|
|
330
330
|
tags=tags)
|
|
331
331
|
this_get_aws_cross_account_policy = databricks.get_aws_cross_account_policy()
|
|
332
|
-
|
|
333
|
-
name=f
|
|
332
|
+
this_iam_role_policy = aws.index.IamRolePolicy("this",
|
|
333
|
+
name=f{prefix}-policy,
|
|
334
334
|
role=cross_account_role.id,
|
|
335
335
|
policy=this_get_aws_cross_account_policy.json)
|
|
336
336
|
this_mws_credentials = databricks.MwsCredentials("this",
|
|
337
337
|
credentials_name=f"{prefix}-creds",
|
|
338
|
-
role_arn=cross_account_role
|
|
338
|
+
role_arn=cross_account_role["arn"])
|
|
339
339
|
```
|
|
340
340
|
|
|
341
341
|
## Related Resources
|