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
|
@@ -22,18 +22,14 @@ __all__ = ['QualityMonitorV2Args', 'QualityMonitorV2']
|
|
|
22
22
|
class QualityMonitorV2Args:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
object_id: pulumi.Input[_builtins.str],
|
|
25
|
-
object_type: pulumi.Input[_builtins.str]
|
|
26
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
25
|
+
object_type: pulumi.Input[_builtins.str]):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a QualityMonitorV2 resource.
|
|
29
28
|
:param pulumi.Input[_builtins.str] object_id: The uuid of the request object. For example, schema id
|
|
30
29
|
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: schema
|
|
31
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
32
30
|
"""
|
|
33
31
|
pulumi.set(__self__, "object_id", object_id)
|
|
34
32
|
pulumi.set(__self__, "object_type", object_type)
|
|
35
|
-
if workspace_id is not None:
|
|
36
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
37
33
|
|
|
38
34
|
@_builtins.property
|
|
39
35
|
@pulumi.getter(name="objectId")
|
|
@@ -59,32 +55,18 @@ class QualityMonitorV2Args:
|
|
|
59
55
|
def object_type(self, value: pulumi.Input[_builtins.str]):
|
|
60
56
|
pulumi.set(self, "object_type", value)
|
|
61
57
|
|
|
62
|
-
@_builtins.property
|
|
63
|
-
@pulumi.getter(name="workspaceId")
|
|
64
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
65
|
-
"""
|
|
66
|
-
Workspace ID of the resource
|
|
67
|
-
"""
|
|
68
|
-
return pulumi.get(self, "workspace_id")
|
|
69
|
-
|
|
70
|
-
@workspace_id.setter
|
|
71
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
72
|
-
pulumi.set(self, "workspace_id", value)
|
|
73
|
-
|
|
74
58
|
|
|
75
59
|
@pulumi.input_type
|
|
76
60
|
class _QualityMonitorV2State:
|
|
77
61
|
def __init__(__self__, *,
|
|
78
62
|
anomaly_detection_config: Optional[pulumi.Input['QualityMonitorV2AnomalyDetectionConfigArgs']] = None,
|
|
79
63
|
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
|
-
object_type: Optional[pulumi.Input[_builtins.str]] = None
|
|
81
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
64
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
82
65
|
"""
|
|
83
66
|
Input properties used for looking up and filtering QualityMonitorV2 resources.
|
|
84
67
|
:param pulumi.Input['QualityMonitorV2AnomalyDetectionConfigArgs'] anomaly_detection_config: (AnomalyDetectionConfig)
|
|
85
68
|
:param pulumi.Input[_builtins.str] object_id: The uuid of the request object. For example, schema id
|
|
86
69
|
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: schema
|
|
87
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
88
70
|
"""
|
|
89
71
|
if anomaly_detection_config is not None:
|
|
90
72
|
pulumi.set(__self__, "anomaly_detection_config", anomaly_detection_config)
|
|
@@ -92,8 +74,6 @@ class _QualityMonitorV2State:
|
|
|
92
74
|
pulumi.set(__self__, "object_id", object_id)
|
|
93
75
|
if object_type is not None:
|
|
94
76
|
pulumi.set(__self__, "object_type", object_type)
|
|
95
|
-
if workspace_id is not None:
|
|
96
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
97
77
|
|
|
98
78
|
@_builtins.property
|
|
99
79
|
@pulumi.getter(name="anomalyDetectionConfig")
|
|
@@ -131,18 +111,6 @@ class _QualityMonitorV2State:
|
|
|
131
111
|
def object_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
132
112
|
pulumi.set(self, "object_type", value)
|
|
133
113
|
|
|
134
|
-
@_builtins.property
|
|
135
|
-
@pulumi.getter(name="workspaceId")
|
|
136
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
|
-
"""
|
|
138
|
-
Workspace ID of the resource
|
|
139
|
-
"""
|
|
140
|
-
return pulumi.get(self, "workspace_id")
|
|
141
|
-
|
|
142
|
-
@workspace_id.setter
|
|
143
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
144
|
-
pulumi.set(self, "workspace_id", value)
|
|
145
|
-
|
|
146
114
|
|
|
147
115
|
@pulumi.type_token("databricks:index/qualityMonitorV2:QualityMonitorV2")
|
|
148
116
|
class QualityMonitorV2(pulumi.CustomResource):
|
|
@@ -152,9 +120,10 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
152
120
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
153
121
|
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
154
122
|
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
155
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
156
123
|
__props__=None):
|
|
157
124
|
"""
|
|
125
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
126
|
+
|
|
158
127
|
Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
159
128
|
|
|
160
129
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -190,14 +159,13 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
190
159
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
191
160
|
|
|
192
161
|
```sh
|
|
193
|
-
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2
|
|
162
|
+
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 this "object_type,object_id"
|
|
194
163
|
```
|
|
195
164
|
|
|
196
165
|
:param str resource_name: The name of the resource.
|
|
197
166
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
167
|
:param pulumi.Input[_builtins.str] object_id: The uuid of the request object. For example, schema id
|
|
199
168
|
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: schema
|
|
200
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
201
169
|
"""
|
|
202
170
|
...
|
|
203
171
|
@overload
|
|
@@ -206,6 +174,8 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
206
174
|
args: QualityMonitorV2Args,
|
|
207
175
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
208
176
|
"""
|
|
177
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
178
|
+
|
|
209
179
|
Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
210
180
|
|
|
211
181
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -241,7 +211,7 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
241
211
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
242
212
|
|
|
243
213
|
```sh
|
|
244
|
-
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2
|
|
214
|
+
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 this "object_type,object_id"
|
|
245
215
|
```
|
|
246
216
|
|
|
247
217
|
:param str resource_name: The name of the resource.
|
|
@@ -261,7 +231,6 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
261
231
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
262
232
|
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
263
233
|
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
264
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
265
234
|
__props__=None):
|
|
266
235
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
267
236
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -277,7 +246,6 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
277
246
|
if object_type is None and not opts.urn:
|
|
278
247
|
raise TypeError("Missing required property 'object_type'")
|
|
279
248
|
__props__.__dict__["object_type"] = object_type
|
|
280
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
281
249
|
__props__.__dict__["anomaly_detection_config"] = None
|
|
282
250
|
super(QualityMonitorV2, __self__).__init__(
|
|
283
251
|
'databricks:index/qualityMonitorV2:QualityMonitorV2',
|
|
@@ -291,8 +259,7 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
291
259
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
292
260
|
anomaly_detection_config: Optional[pulumi.Input[Union['QualityMonitorV2AnomalyDetectionConfigArgs', 'QualityMonitorV2AnomalyDetectionConfigArgsDict']]] = None,
|
|
293
261
|
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
-
object_type: Optional[pulumi.Input[_builtins.str]] = None
|
|
295
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'QualityMonitorV2':
|
|
262
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None) -> 'QualityMonitorV2':
|
|
296
263
|
"""
|
|
297
264
|
Get an existing QualityMonitorV2 resource's state with the given name, id, and optional extra
|
|
298
265
|
properties used to qualify the lookup.
|
|
@@ -303,7 +270,6 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
303
270
|
:param pulumi.Input[Union['QualityMonitorV2AnomalyDetectionConfigArgs', 'QualityMonitorV2AnomalyDetectionConfigArgsDict']] anomaly_detection_config: (AnomalyDetectionConfig)
|
|
304
271
|
:param pulumi.Input[_builtins.str] object_id: The uuid of the request object. For example, schema id
|
|
305
272
|
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: schema
|
|
306
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
307
273
|
"""
|
|
308
274
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
309
275
|
|
|
@@ -312,7 +278,6 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
312
278
|
__props__.__dict__["anomaly_detection_config"] = anomaly_detection_config
|
|
313
279
|
__props__.__dict__["object_id"] = object_id
|
|
314
280
|
__props__.__dict__["object_type"] = object_type
|
|
315
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
316
281
|
return QualityMonitorV2(resource_name, opts=opts, __props__=__props__)
|
|
317
282
|
|
|
318
283
|
@_builtins.property
|
|
@@ -339,11 +304,3 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
339
304
|
"""
|
|
340
305
|
return pulumi.get(self, "object_type")
|
|
341
306
|
|
|
342
|
-
@_builtins.property
|
|
343
|
-
@pulumi.getter(name="workspaceId")
|
|
344
|
-
def workspace_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
345
|
-
"""
|
|
346
|
-
Workspace ID of the resource
|
|
347
|
-
"""
|
|
348
|
-
return pulumi.get(self, "workspace_id")
|
|
349
|
-
|
pulumi_databricks/recipient.py
CHANGED
|
@@ -545,6 +545,43 @@ class Recipient(pulumi.CustomResource):
|
|
|
545
545
|
})
|
|
546
546
|
```
|
|
547
547
|
|
|
548
|
+
### Databricks to Databricks Sharing
|
|
549
|
+
|
|
550
|
+
Setting `authentication_type` type to `DATABRICKS` allows you to automatically create a provider for a recipient who
|
|
551
|
+
is using Databricks. To do this they would need to provide the global metastore id that you will be sharing with. The
|
|
552
|
+
global metastore id follows the format: `<cloud>:<region>:<guid>`
|
|
553
|
+
|
|
554
|
+
```python
|
|
555
|
+
import pulumi
|
|
556
|
+
import pulumi_databricks as databricks
|
|
557
|
+
import pulumi_std as std
|
|
558
|
+
|
|
559
|
+
current = databricks.get_current_user()
|
|
560
|
+
recipient_metastore = databricks.Metastore("recipient_metastore",
|
|
561
|
+
name="recipient",
|
|
562
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
563
|
+
args=[
|
|
564
|
+
unity_catalog["name"],
|
|
565
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
566
|
+
]).result,
|
|
567
|
+
delta_sharing_scope="INTERNAL",
|
|
568
|
+
delta_sharing_recipient_token_lifetime_in_seconds=60000000,
|
|
569
|
+
force_destroy=True)
|
|
570
|
+
db2db = databricks.Recipient("db2db",
|
|
571
|
+
name=f"{current.alphanumeric}-recipient",
|
|
572
|
+
comment="Made by Pulumi",
|
|
573
|
+
authentication_type="DATABRICKS",
|
|
574
|
+
data_recipient_global_metastore_id=recipient_metastore.global_metastore_id)
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
## Related Resources
|
|
578
|
+
|
|
579
|
+
The following resources are often used in the same context:
|
|
580
|
+
|
|
581
|
+
* Share to create Delta Sharing shares.
|
|
582
|
+
* Grants to manage Delta Sharing permissions.
|
|
583
|
+
* get_shares to read existing Delta Sharing shares.
|
|
584
|
+
|
|
548
585
|
## Import
|
|
549
586
|
|
|
550
587
|
The recipient resource can be imported using the name of the recipient:
|
|
@@ -621,6 +658,43 @@ class Recipient(pulumi.CustomResource):
|
|
|
621
658
|
})
|
|
622
659
|
```
|
|
623
660
|
|
|
661
|
+
### Databricks to Databricks Sharing
|
|
662
|
+
|
|
663
|
+
Setting `authentication_type` type to `DATABRICKS` allows you to automatically create a provider for a recipient who
|
|
664
|
+
is using Databricks. To do this they would need to provide the global metastore id that you will be sharing with. The
|
|
665
|
+
global metastore id follows the format: `<cloud>:<region>:<guid>`
|
|
666
|
+
|
|
667
|
+
```python
|
|
668
|
+
import pulumi
|
|
669
|
+
import pulumi_databricks as databricks
|
|
670
|
+
import pulumi_std as std
|
|
671
|
+
|
|
672
|
+
current = databricks.get_current_user()
|
|
673
|
+
recipient_metastore = databricks.Metastore("recipient_metastore",
|
|
674
|
+
name="recipient",
|
|
675
|
+
storage_root=std.format(input="abfss://%s@%s.dfs.core.windows.net/",
|
|
676
|
+
args=[
|
|
677
|
+
unity_catalog["name"],
|
|
678
|
+
unity_catalog_azurerm_storage_account["name"],
|
|
679
|
+
]).result,
|
|
680
|
+
delta_sharing_scope="INTERNAL",
|
|
681
|
+
delta_sharing_recipient_token_lifetime_in_seconds=60000000,
|
|
682
|
+
force_destroy=True)
|
|
683
|
+
db2db = databricks.Recipient("db2db",
|
|
684
|
+
name=f"{current.alphanumeric}-recipient",
|
|
685
|
+
comment="Made by Pulumi",
|
|
686
|
+
authentication_type="DATABRICKS",
|
|
687
|
+
data_recipient_global_metastore_id=recipient_metastore.global_metastore_id)
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
## Related Resources
|
|
691
|
+
|
|
692
|
+
The following resources are often used in the same context:
|
|
693
|
+
|
|
694
|
+
* Share to create Delta Sharing shares.
|
|
695
|
+
* Grants to manage Delta Sharing permissions.
|
|
696
|
+
* get_shares to read existing Delta Sharing shares.
|
|
697
|
+
|
|
624
698
|
## Import
|
|
625
699
|
|
|
626
700
|
The recipient resource can be imported using the name of the recipient:
|