pulumi-databricks 1.77.0a1761975834__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.0a1761975834.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.0a1761975834.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
pulumi_databricks/share.py
CHANGED
|
@@ -22,43 +22,30 @@ __all__ = ['ShareArgs', 'Share']
|
|
|
22
22
|
class ShareArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
-
created_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
26
|
-
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
25
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
26
|
objects: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectArgs']]]] = None,
|
|
29
27
|
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
-
|
|
31
|
-
storage_root: Optional[pulumi.Input[_builtins.str]] = None
|
|
32
|
-
updated_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
33
|
-
updated_by: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
|
+
provider_config: Optional[pulumi.Input['ShareProviderConfigArgs']] = None,
|
|
29
|
+
storage_root: Optional[pulumi.Input[_builtins.str]] = None):
|
|
34
30
|
"""
|
|
35
31
|
The set of arguments for constructing a Share resource.
|
|
36
32
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text.
|
|
37
|
-
:param pulumi.Input[_builtins.int] created_at: Time when the share was created.
|
|
38
|
-
:param pulumi.Input[_builtins.str] created_by: The principal that created the share.
|
|
39
33
|
:param pulumi.Input[_builtins.str] name: Name of share. Change forces creation of a new resource.
|
|
40
34
|
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the share owner.
|
|
35
|
+
:param pulumi.Input['ShareProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
41
36
|
"""
|
|
42
37
|
if comment is not None:
|
|
43
38
|
pulumi.set(__self__, "comment", comment)
|
|
44
|
-
if created_at is not None:
|
|
45
|
-
pulumi.set(__self__, "created_at", created_at)
|
|
46
|
-
if created_by is not None:
|
|
47
|
-
pulumi.set(__self__, "created_by", created_by)
|
|
48
39
|
if name is not None:
|
|
49
40
|
pulumi.set(__self__, "name", name)
|
|
50
41
|
if objects is not None:
|
|
51
42
|
pulumi.set(__self__, "objects", objects)
|
|
52
43
|
if owner is not None:
|
|
53
44
|
pulumi.set(__self__, "owner", owner)
|
|
54
|
-
if
|
|
55
|
-
pulumi.set(__self__, "
|
|
45
|
+
if provider_config is not None:
|
|
46
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
56
47
|
if storage_root is not None:
|
|
57
48
|
pulumi.set(__self__, "storage_root", storage_root)
|
|
58
|
-
if updated_at is not None:
|
|
59
|
-
pulumi.set(__self__, "updated_at", updated_at)
|
|
60
|
-
if updated_by is not None:
|
|
61
|
-
pulumi.set(__self__, "updated_by", updated_by)
|
|
62
49
|
|
|
63
50
|
@_builtins.property
|
|
64
51
|
@pulumi.getter
|
|
@@ -72,30 +59,6 @@ class ShareArgs:
|
|
|
72
59
|
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
73
60
|
pulumi.set(self, "comment", value)
|
|
74
61
|
|
|
75
|
-
@_builtins.property
|
|
76
|
-
@pulumi.getter(name="createdAt")
|
|
77
|
-
def created_at(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
78
|
-
"""
|
|
79
|
-
Time when the share was created.
|
|
80
|
-
"""
|
|
81
|
-
return pulumi.get(self, "created_at")
|
|
82
|
-
|
|
83
|
-
@created_at.setter
|
|
84
|
-
def created_at(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
85
|
-
pulumi.set(self, "created_at", value)
|
|
86
|
-
|
|
87
|
-
@_builtins.property
|
|
88
|
-
@pulumi.getter(name="createdBy")
|
|
89
|
-
def created_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
90
|
-
"""
|
|
91
|
-
The principal that created the share.
|
|
92
|
-
"""
|
|
93
|
-
return pulumi.get(self, "created_by")
|
|
94
|
-
|
|
95
|
-
@created_by.setter
|
|
96
|
-
def created_by(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
97
|
-
pulumi.set(self, "created_by", value)
|
|
98
|
-
|
|
99
62
|
@_builtins.property
|
|
100
63
|
@pulumi.getter
|
|
101
64
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -130,13 +93,16 @@ class ShareArgs:
|
|
|
130
93
|
pulumi.set(self, "owner", value)
|
|
131
94
|
|
|
132
95
|
@_builtins.property
|
|
133
|
-
@pulumi.getter(name="
|
|
134
|
-
def
|
|
135
|
-
|
|
96
|
+
@pulumi.getter(name="providerConfig")
|
|
97
|
+
def provider_config(self) -> Optional[pulumi.Input['ShareProviderConfigArgs']]:
|
|
98
|
+
"""
|
|
99
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "provider_config")
|
|
136
102
|
|
|
137
|
-
@
|
|
138
|
-
def
|
|
139
|
-
pulumi.set(self, "
|
|
103
|
+
@provider_config.setter
|
|
104
|
+
def provider_config(self, value: Optional[pulumi.Input['ShareProviderConfigArgs']]):
|
|
105
|
+
pulumi.set(self, "provider_config", value)
|
|
140
106
|
|
|
141
107
|
@_builtins.property
|
|
142
108
|
@pulumi.getter(name="storageRoot")
|
|
@@ -147,24 +113,6 @@ class ShareArgs:
|
|
|
147
113
|
def storage_root(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
148
114
|
pulumi.set(self, "storage_root", value)
|
|
149
115
|
|
|
150
|
-
@_builtins.property
|
|
151
|
-
@pulumi.getter(name="updatedAt")
|
|
152
|
-
def updated_at(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
153
|
-
return pulumi.get(self, "updated_at")
|
|
154
|
-
|
|
155
|
-
@updated_at.setter
|
|
156
|
-
def updated_at(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
157
|
-
pulumi.set(self, "updated_at", value)
|
|
158
|
-
|
|
159
|
-
@_builtins.property
|
|
160
|
-
@pulumi.getter(name="updatedBy")
|
|
161
|
-
def updated_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
162
|
-
return pulumi.get(self, "updated_by")
|
|
163
|
-
|
|
164
|
-
@updated_by.setter
|
|
165
|
-
def updated_by(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
166
|
-
pulumi.set(self, "updated_by", value)
|
|
167
|
-
|
|
168
116
|
|
|
169
117
|
@pulumi.input_type
|
|
170
118
|
class _ShareState:
|
|
@@ -172,9 +120,11 @@ class _ShareState:
|
|
|
172
120
|
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
121
|
created_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
174
122
|
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
|
+
effective_owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
175
124
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
176
125
|
objects: Optional[pulumi.Input[Sequence[pulumi.Input['ShareObjectArgs']]]] = None,
|
|
177
126
|
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
provider_config: Optional[pulumi.Input['ShareProviderConfigArgs']] = None,
|
|
178
128
|
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
179
129
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None,
|
|
180
130
|
updated_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -186,6 +136,7 @@ class _ShareState:
|
|
|
186
136
|
:param pulumi.Input[_builtins.str] created_by: The principal that created the share.
|
|
187
137
|
:param pulumi.Input[_builtins.str] name: Name of share. Change forces creation of a new resource.
|
|
188
138
|
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the share owner.
|
|
139
|
+
:param pulumi.Input['ShareProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
189
140
|
"""
|
|
190
141
|
if comment is not None:
|
|
191
142
|
pulumi.set(__self__, "comment", comment)
|
|
@@ -193,12 +144,16 @@ class _ShareState:
|
|
|
193
144
|
pulumi.set(__self__, "created_at", created_at)
|
|
194
145
|
if created_by is not None:
|
|
195
146
|
pulumi.set(__self__, "created_by", created_by)
|
|
147
|
+
if effective_owner is not None:
|
|
148
|
+
pulumi.set(__self__, "effective_owner", effective_owner)
|
|
196
149
|
if name is not None:
|
|
197
150
|
pulumi.set(__self__, "name", name)
|
|
198
151
|
if objects is not None:
|
|
199
152
|
pulumi.set(__self__, "objects", objects)
|
|
200
153
|
if owner is not None:
|
|
201
154
|
pulumi.set(__self__, "owner", owner)
|
|
155
|
+
if provider_config is not None:
|
|
156
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
202
157
|
if storage_location is not None:
|
|
203
158
|
pulumi.set(__self__, "storage_location", storage_location)
|
|
204
159
|
if storage_root is not None:
|
|
@@ -244,6 +199,15 @@ class _ShareState:
|
|
|
244
199
|
def created_by(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
245
200
|
pulumi.set(self, "created_by", value)
|
|
246
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter(name="effectiveOwner")
|
|
204
|
+
def effective_owner(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
205
|
+
return pulumi.get(self, "effective_owner")
|
|
206
|
+
|
|
207
|
+
@effective_owner.setter
|
|
208
|
+
def effective_owner(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
209
|
+
pulumi.set(self, "effective_owner", value)
|
|
210
|
+
|
|
247
211
|
@_builtins.property
|
|
248
212
|
@pulumi.getter
|
|
249
213
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -277,6 +241,18 @@ class _ShareState:
|
|
|
277
241
|
def owner(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
278
242
|
pulumi.set(self, "owner", value)
|
|
279
243
|
|
|
244
|
+
@_builtins.property
|
|
245
|
+
@pulumi.getter(name="providerConfig")
|
|
246
|
+
def provider_config(self) -> Optional[pulumi.Input['ShareProviderConfigArgs']]:
|
|
247
|
+
"""
|
|
248
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
249
|
+
"""
|
|
250
|
+
return pulumi.get(self, "provider_config")
|
|
251
|
+
|
|
252
|
+
@provider_config.setter
|
|
253
|
+
def provider_config(self, value: Optional[pulumi.Input['ShareProviderConfigArgs']]):
|
|
254
|
+
pulumi.set(self, "provider_config", value)
|
|
255
|
+
|
|
280
256
|
@_builtins.property
|
|
281
257
|
@pulumi.getter(name="storageLocation")
|
|
282
258
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -321,15 +297,11 @@ class Share(pulumi.CustomResource):
|
|
|
321
297
|
resource_name: str,
|
|
322
298
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
323
299
|
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
324
|
-
created_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
325
|
-
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
326
300
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
327
301
|
objects: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShareObjectArgs', 'ShareObjectArgsDict']]]]] = None,
|
|
328
302
|
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
-
|
|
303
|
+
provider_config: Optional[pulumi.Input[Union['ShareProviderConfigArgs', 'ShareProviderConfigArgsDict']]] = None,
|
|
330
304
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None,
|
|
331
|
-
updated_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
332
|
-
updated_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
333
305
|
__props__=None):
|
|
334
306
|
"""
|
|
335
307
|
In Delta Sharing, a share is a read-only collection of tables and table partitions that a provider wants to share with one or more recipients. If your recipient uses a Unity Catalog-enabled Databricks workspace, you can also include notebook files, views (including dynamic views that restrict access at the row and column level), Unity Catalog volumes, and Unity Catalog models in a share.
|
|
@@ -444,10 +416,9 @@ class Share(pulumi.CustomResource):
|
|
|
444
416
|
:param str resource_name: The name of the resource.
|
|
445
417
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
446
418
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text.
|
|
447
|
-
:param pulumi.Input[_builtins.int] created_at: Time when the share was created.
|
|
448
|
-
:param pulumi.Input[_builtins.str] created_by: The principal that created the share.
|
|
449
419
|
:param pulumi.Input[_builtins.str] name: Name of share. Change forces creation of a new resource.
|
|
450
420
|
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the share owner.
|
|
421
|
+
:param pulumi.Input[Union['ShareProviderConfigArgs', 'ShareProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
451
422
|
"""
|
|
452
423
|
...
|
|
453
424
|
@overload
|
|
@@ -581,15 +552,11 @@ class Share(pulumi.CustomResource):
|
|
|
581
552
|
resource_name: str,
|
|
582
553
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
583
554
|
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
584
|
-
created_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
585
|
-
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
586
555
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
587
556
|
objects: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShareObjectArgs', 'ShareObjectArgsDict']]]]] = None,
|
|
588
557
|
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
589
|
-
|
|
558
|
+
provider_config: Optional[pulumi.Input[Union['ShareProviderConfigArgs', 'ShareProviderConfigArgsDict']]] = None,
|
|
590
559
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None,
|
|
591
|
-
updated_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
592
|
-
updated_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
593
560
|
__props__=None):
|
|
594
561
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
595
562
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -600,15 +567,17 @@ class Share(pulumi.CustomResource):
|
|
|
600
567
|
__props__ = ShareArgs.__new__(ShareArgs)
|
|
601
568
|
|
|
602
569
|
__props__.__dict__["comment"] = comment
|
|
603
|
-
__props__.__dict__["created_at"] = created_at
|
|
604
|
-
__props__.__dict__["created_by"] = created_by
|
|
605
570
|
__props__.__dict__["name"] = name
|
|
606
571
|
__props__.__dict__["objects"] = objects
|
|
607
572
|
__props__.__dict__["owner"] = owner
|
|
608
|
-
__props__.__dict__["
|
|
573
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
609
574
|
__props__.__dict__["storage_root"] = storage_root
|
|
610
|
-
__props__.__dict__["
|
|
611
|
-
__props__.__dict__["
|
|
575
|
+
__props__.__dict__["created_at"] = None
|
|
576
|
+
__props__.__dict__["created_by"] = None
|
|
577
|
+
__props__.__dict__["effective_owner"] = None
|
|
578
|
+
__props__.__dict__["storage_location"] = None
|
|
579
|
+
__props__.__dict__["updated_at"] = None
|
|
580
|
+
__props__.__dict__["updated_by"] = None
|
|
612
581
|
super(Share, __self__).__init__(
|
|
613
582
|
'databricks:index/share:Share',
|
|
614
583
|
resource_name,
|
|
@@ -622,9 +591,11 @@ class Share(pulumi.CustomResource):
|
|
|
622
591
|
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
623
592
|
created_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
624
593
|
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
594
|
+
effective_owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
625
595
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
626
596
|
objects: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShareObjectArgs', 'ShareObjectArgsDict']]]]] = None,
|
|
627
597
|
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
598
|
+
provider_config: Optional[pulumi.Input[Union['ShareProviderConfigArgs', 'ShareProviderConfigArgsDict']]] = None,
|
|
628
599
|
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
629
600
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None,
|
|
630
601
|
updated_at: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -641,6 +612,7 @@ class Share(pulumi.CustomResource):
|
|
|
641
612
|
:param pulumi.Input[_builtins.str] created_by: The principal that created the share.
|
|
642
613
|
:param pulumi.Input[_builtins.str] name: Name of share. Change forces creation of a new resource.
|
|
643
614
|
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the share owner.
|
|
615
|
+
:param pulumi.Input[Union['ShareProviderConfigArgs', 'ShareProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
644
616
|
"""
|
|
645
617
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
646
618
|
|
|
@@ -649,9 +621,11 @@ class Share(pulumi.CustomResource):
|
|
|
649
621
|
__props__.__dict__["comment"] = comment
|
|
650
622
|
__props__.__dict__["created_at"] = created_at
|
|
651
623
|
__props__.__dict__["created_by"] = created_by
|
|
624
|
+
__props__.__dict__["effective_owner"] = effective_owner
|
|
652
625
|
__props__.__dict__["name"] = name
|
|
653
626
|
__props__.__dict__["objects"] = objects
|
|
654
627
|
__props__.__dict__["owner"] = owner
|
|
628
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
655
629
|
__props__.__dict__["storage_location"] = storage_location
|
|
656
630
|
__props__.__dict__["storage_root"] = storage_root
|
|
657
631
|
__props__.__dict__["updated_at"] = updated_at
|
|
@@ -682,6 +656,11 @@ class Share(pulumi.CustomResource):
|
|
|
682
656
|
"""
|
|
683
657
|
return pulumi.get(self, "created_by")
|
|
684
658
|
|
|
659
|
+
@_builtins.property
|
|
660
|
+
@pulumi.getter(name="effectiveOwner")
|
|
661
|
+
def effective_owner(self) -> pulumi.Output[_builtins.str]:
|
|
662
|
+
return pulumi.get(self, "effective_owner")
|
|
663
|
+
|
|
685
664
|
@_builtins.property
|
|
686
665
|
@pulumi.getter
|
|
687
666
|
def name(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -703,9 +682,17 @@ class Share(pulumi.CustomResource):
|
|
|
703
682
|
"""
|
|
704
683
|
return pulumi.get(self, "owner")
|
|
705
684
|
|
|
685
|
+
@_builtins.property
|
|
686
|
+
@pulumi.getter(name="providerConfig")
|
|
687
|
+
def provider_config(self) -> pulumi.Output[Optional['outputs.ShareProviderConfig']]:
|
|
688
|
+
"""
|
|
689
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
690
|
+
"""
|
|
691
|
+
return pulumi.get(self, "provider_config")
|
|
692
|
+
|
|
706
693
|
@_builtins.property
|
|
707
694
|
@pulumi.getter(name="storageLocation")
|
|
708
|
-
def storage_location(self) -> pulumi.Output[
|
|
695
|
+
def storage_location(self) -> pulumi.Output[_builtins.str]:
|
|
709
696
|
return pulumi.get(self, "storage_location")
|
|
710
697
|
|
|
711
698
|
@_builtins.property
|
pulumi_databricks/sql_table.py
CHANGED
|
@@ -42,7 +42,7 @@ class SqlTableArgs:
|
|
|
42
42
|
The set of arguments for constructing a SqlTable resource.
|
|
43
43
|
:param pulumi.Input[_builtins.str] catalog_name: Name of parent catalog. Change forces the creation of a new resource.
|
|
44
44
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
45
|
-
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
45
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cluster_keys: a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
47
47
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
48
48
|
:param pulumi.Input[_builtins.str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
@@ -52,7 +52,7 @@ class SqlTableArgs:
|
|
|
52
52
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
53
53
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
54
54
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
55
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
55
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
56
56
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
57
57
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
58
58
|
"""
|
|
@@ -116,7 +116,7 @@ class SqlTableArgs:
|
|
|
116
116
|
@pulumi.getter(name="tableType")
|
|
117
117
|
def table_type(self) -> pulumi.Input[_builtins.str]:
|
|
118
118
|
"""
|
|
119
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
119
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
120
120
|
"""
|
|
121
121
|
return pulumi.get(self, "table_type")
|
|
122
122
|
|
|
@@ -254,7 +254,7 @@ class SqlTableArgs:
|
|
|
254
254
|
@pulumi.getter(name="storageLocation")
|
|
255
255
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
256
256
|
"""
|
|
257
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
257
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
258
258
|
"""
|
|
259
259
|
return pulumi.get(self, "storage_location")
|
|
260
260
|
|
|
@@ -305,6 +305,7 @@ class _SqlTableState:
|
|
|
305
305
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
306
|
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
307
|
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
table_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
309
|
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
310
|
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
311
|
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
@@ -321,8 +322,9 @@ class _SqlTableState:
|
|
|
321
322
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
322
323
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
323
324
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
324
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
325
|
-
:param pulumi.Input[_builtins.str]
|
|
325
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
326
|
+
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
327
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
326
328
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
327
329
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
328
330
|
"""
|
|
@@ -356,6 +358,8 @@ class _SqlTableState:
|
|
|
356
358
|
pulumi.set(__self__, "storage_credential_name", storage_credential_name)
|
|
357
359
|
if storage_location is not None:
|
|
358
360
|
pulumi.set(__self__, "storage_location", storage_location)
|
|
361
|
+
if table_id is not None:
|
|
362
|
+
pulumi.set(__self__, "table_id", table_id)
|
|
359
363
|
if table_type is not None:
|
|
360
364
|
pulumi.set(__self__, "table_type", table_type)
|
|
361
365
|
if view_definition is not None:
|
|
@@ -526,7 +530,7 @@ class _SqlTableState:
|
|
|
526
530
|
@pulumi.getter(name="storageLocation")
|
|
527
531
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
528
532
|
"""
|
|
529
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
533
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
530
534
|
"""
|
|
531
535
|
return pulumi.get(self, "storage_location")
|
|
532
536
|
|
|
@@ -534,11 +538,23 @@ class _SqlTableState:
|
|
|
534
538
|
def storage_location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
535
539
|
pulumi.set(self, "storage_location", value)
|
|
536
540
|
|
|
541
|
+
@_builtins.property
|
|
542
|
+
@pulumi.getter(name="tableId")
|
|
543
|
+
def table_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
544
|
+
"""
|
|
545
|
+
The unique identifier of the table.
|
|
546
|
+
"""
|
|
547
|
+
return pulumi.get(self, "table_id")
|
|
548
|
+
|
|
549
|
+
@table_id.setter
|
|
550
|
+
def table_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
551
|
+
pulumi.set(self, "table_id", value)
|
|
552
|
+
|
|
537
553
|
@_builtins.property
|
|
538
554
|
@pulumi.getter(name="tableType")
|
|
539
555
|
def table_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
540
556
|
"""
|
|
541
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
557
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
542
558
|
"""
|
|
543
559
|
return pulumi.get(self, "table_type")
|
|
544
560
|
|
|
@@ -631,8 +647,8 @@ class SqlTable(pulumi.CustomResource):
|
|
|
631
647
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
632
648
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
633
649
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
634
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
635
|
-
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
650
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
651
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
636
652
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
637
653
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
638
654
|
"""
|
|
@@ -730,6 +746,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
730
746
|
__props__.__dict__["view_definition"] = view_definition
|
|
731
747
|
__props__.__dict__["warehouse_id"] = warehouse_id
|
|
732
748
|
__props__.__dict__["effective_properties"] = None
|
|
749
|
+
__props__.__dict__["table_id"] = None
|
|
733
750
|
super(SqlTable, __self__).__init__(
|
|
734
751
|
'databricks:index/sqlTable:SqlTable',
|
|
735
752
|
resource_name,
|
|
@@ -755,6 +772,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
755
772
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
773
|
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
757
774
|
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
775
|
+
table_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
776
|
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
759
777
|
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
760
778
|
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'SqlTable':
|
|
@@ -776,8 +794,9 @@ class SqlTable(pulumi.CustomResource):
|
|
|
776
794
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
777
795
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
778
796
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
779
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
780
|
-
:param pulumi.Input[_builtins.str]
|
|
797
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
798
|
+
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
799
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
781
800
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
782
801
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
783
802
|
"""
|
|
@@ -800,6 +819,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
800
819
|
__props__.__dict__["schema_name"] = schema_name
|
|
801
820
|
__props__.__dict__["storage_credential_name"] = storage_credential_name
|
|
802
821
|
__props__.__dict__["storage_location"] = storage_location
|
|
822
|
+
__props__.__dict__["table_id"] = table_id
|
|
803
823
|
__props__.__dict__["table_type"] = table_type
|
|
804
824
|
__props__.__dict__["view_definition"] = view_definition
|
|
805
825
|
__props__.__dict__["warehouse_id"] = warehouse_id
|
|
@@ -912,15 +932,23 @@ class SqlTable(pulumi.CustomResource):
|
|
|
912
932
|
@pulumi.getter(name="storageLocation")
|
|
913
933
|
def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
914
934
|
"""
|
|
915
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
935
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
916
936
|
"""
|
|
917
937
|
return pulumi.get(self, "storage_location")
|
|
918
938
|
|
|
939
|
+
@_builtins.property
|
|
940
|
+
@pulumi.getter(name="tableId")
|
|
941
|
+
def table_id(self) -> pulumi.Output[_builtins.str]:
|
|
942
|
+
"""
|
|
943
|
+
The unique identifier of the table.
|
|
944
|
+
"""
|
|
945
|
+
return pulumi.get(self, "table_id")
|
|
946
|
+
|
|
919
947
|
@_builtins.property
|
|
920
948
|
@pulumi.getter(name="tableType")
|
|
921
949
|
def table_type(self) -> pulumi.Output[_builtins.str]:
|
|
922
950
|
"""
|
|
923
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
951
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
924
952
|
"""
|
|
925
953
|
return pulumi.get(self, "table_type")
|
|
926
954
|
|
|
@@ -38,6 +38,7 @@ class StorageCredentialArgs:
|
|
|
38
38
|
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
39
39
|
"""
|
|
40
40
|
The set of arguments for constructing a StorageCredential resource.
|
|
41
|
+
:param pulumi.Input['StorageCredentialAwsIamRoleArgs'] aws_iam_role: exposes two additional attributes:
|
|
41
42
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
42
43
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
43
44
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -83,6 +84,9 @@ class StorageCredentialArgs:
|
|
|
83
84
|
@_builtins.property
|
|
84
85
|
@pulumi.getter(name="awsIamRole")
|
|
85
86
|
def aws_iam_role(self) -> Optional[pulumi.Input['StorageCredentialAwsIamRoleArgs']]:
|
|
87
|
+
"""
|
|
88
|
+
exposes two additional attributes:
|
|
89
|
+
"""
|
|
86
90
|
return pulumi.get(self, "aws_iam_role")
|
|
87
91
|
|
|
88
92
|
@aws_iam_role.setter
|
|
@@ -263,6 +267,7 @@ class _StorageCredentialState:
|
|
|
263
267
|
storage_credential_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
264
268
|
"""
|
|
265
269
|
Input properties used for looking up and filtering StorageCredential resources.
|
|
270
|
+
:param pulumi.Input['StorageCredentialAwsIamRoleArgs'] aws_iam_role: exposes two additional attributes:
|
|
266
271
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
267
272
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
268
273
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -311,6 +316,9 @@ class _StorageCredentialState:
|
|
|
311
316
|
@_builtins.property
|
|
312
317
|
@pulumi.getter(name="awsIamRole")
|
|
313
318
|
def aws_iam_role(self) -> Optional[pulumi.Input['StorageCredentialAwsIamRoleArgs']]:
|
|
319
|
+
"""
|
|
320
|
+
exposes two additional attributes:
|
|
321
|
+
"""
|
|
314
322
|
return pulumi.get(self, "aws_iam_role")
|
|
315
323
|
|
|
316
324
|
@aws_iam_role.setter
|
|
@@ -612,11 +620,12 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
612
620
|
When using an account-level provider
|
|
613
621
|
|
|
614
622
|
```sh
|
|
615
|
-
$ pulumi import databricks:index/storageCredential:StorageCredential this <metastore_id>|<storage_credential_name>
|
|
623
|
+
$ pulumi import databricks:index/storageCredential:StorageCredential this '<metastore_id>|<storage_credential_name>'
|
|
616
624
|
```
|
|
617
625
|
|
|
618
626
|
:param str resource_name: The name of the resource.
|
|
619
627
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
628
|
+
:param pulumi.Input[Union['StorageCredentialAwsIamRoleArgs', 'StorageCredentialAwsIamRoleArgsDict']] aws_iam_role: exposes two additional attributes:
|
|
620
629
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
621
630
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
622
631
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -742,7 +751,7 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
742
751
|
When using an account-level provider
|
|
743
752
|
|
|
744
753
|
```sh
|
|
745
|
-
$ pulumi import databricks:index/storageCredential:StorageCredential this <metastore_id>|<storage_credential_name>
|
|
754
|
+
$ pulumi import databricks:index/storageCredential:StorageCredential this '<metastore_id>|<storage_credential_name>'
|
|
746
755
|
```
|
|
747
756
|
|
|
748
757
|
:param str resource_name: The name of the resource.
|
|
@@ -833,6 +842,7 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
833
842
|
:param str resource_name: The unique name of the resulting resource.
|
|
834
843
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
835
844
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
845
|
+
:param pulumi.Input[Union['StorageCredentialAwsIamRoleArgs', 'StorageCredentialAwsIamRoleArgsDict']] aws_iam_role: exposes two additional attributes:
|
|
836
846
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
837
847
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
838
848
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -870,6 +880,9 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
870
880
|
@_builtins.property
|
|
871
881
|
@pulumi.getter(name="awsIamRole")
|
|
872
882
|
def aws_iam_role(self) -> pulumi.Output[Optional['outputs.StorageCredentialAwsIamRole']]:
|
|
883
|
+
"""
|
|
884
|
+
exposes two additional attributes:
|
|
885
|
+
"""
|
|
873
886
|
return pulumi.get(self, "aws_iam_role")
|
|
874
887
|
|
|
875
888
|
@_builtins.property
|