pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -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 +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- 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 +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- 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_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- 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 +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -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 +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- 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 +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.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
|
|
@@ -31,6 +31,7 @@ class SqlEndpointArgs:
|
|
|
31
31
|
max_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
32
32
|
min_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
33
33
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
no_wait: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
34
35
|
spot_instance_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
36
|
tags: Optional[pulumi.Input['SqlEndpointTagsArgs']] = None,
|
|
36
37
|
warehouse_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
@@ -47,6 +48,7 @@ class SqlEndpointArgs:
|
|
|
47
48
|
:param pulumi.Input[_builtins.int] max_num_clusters: Maximum number of clusters available when a SQL warehouse is running. This field is required. If multi-cluster load balancing is not enabled, this is default to `1`.
|
|
48
49
|
:param pulumi.Input[_builtins.int] min_num_clusters: Minimum number of clusters available when a SQL warehouse is running. The default is `1`.
|
|
49
50
|
:param pulumi.Input[_builtins.str] name: Name of the SQL warehouse. Must be unique.
|
|
51
|
+
:param pulumi.Input[_builtins.bool] no_wait: Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
50
52
|
:param pulumi.Input[_builtins.str] spot_instance_policy: The spot policy to use for allocating instances to clusters: `COST_OPTIMIZED` or `RELIABILITY_OPTIMIZED`. This field is optional. Default is `COST_OPTIMIZED`.
|
|
51
53
|
:param pulumi.Input['SqlEndpointTagsArgs'] tags: Databricks tags all endpoint resources with these tags.
|
|
52
54
|
:param pulumi.Input[_builtins.str] warehouse_type: SQL warehouse type. See for [AWS](https://docs.databricks.com/sql/admin/sql-endpoints.html#switch-the-sql-warehouse-type-pro-classic-or-serverless) or [Azure](https://learn.microsoft.com/en-us/azure/databricks/sql/admin/create-sql-warehouse#--upgrade-a-pro-or-classic-sql-warehouse-to-a-serverless-sql-warehouse). Set to `PRO` or `CLASSIC`. If the field `enable_serverless_compute` has the value `true` either explicitly or through the default logic (see that field above for details), the default is `PRO`, which is required for serverless SQL warehouses. Otherwise, the default is `CLASSIC`.
|
|
@@ -70,6 +72,8 @@ class SqlEndpointArgs:
|
|
|
70
72
|
pulumi.set(__self__, "min_num_clusters", min_num_clusters)
|
|
71
73
|
if name is not None:
|
|
72
74
|
pulumi.set(__self__, "name", name)
|
|
75
|
+
if no_wait is not None:
|
|
76
|
+
pulumi.set(__self__, "no_wait", no_wait)
|
|
73
77
|
if spot_instance_policy is not None:
|
|
74
78
|
pulumi.set(__self__, "spot_instance_policy", spot_instance_policy)
|
|
75
79
|
if tags is not None:
|
|
@@ -196,6 +200,18 @@ class SqlEndpointArgs:
|
|
|
196
200
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
197
201
|
pulumi.set(self, "name", value)
|
|
198
202
|
|
|
203
|
+
@_builtins.property
|
|
204
|
+
@pulumi.getter(name="noWait")
|
|
205
|
+
def no_wait(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
206
|
+
"""
|
|
207
|
+
Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
208
|
+
"""
|
|
209
|
+
return pulumi.get(self, "no_wait")
|
|
210
|
+
|
|
211
|
+
@no_wait.setter
|
|
212
|
+
def no_wait(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
213
|
+
pulumi.set(self, "no_wait", value)
|
|
214
|
+
|
|
199
215
|
@_builtins.property
|
|
200
216
|
@pulumi.getter(name="spotInstancePolicy")
|
|
201
217
|
def spot_instance_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -249,6 +265,7 @@ class _SqlEndpointState:
|
|
|
249
265
|
max_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
250
266
|
min_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
251
267
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
|
+
no_wait: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
252
269
|
num_active_sessions: Optional[pulumi.Input[_builtins.int]] = None,
|
|
253
270
|
num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
254
271
|
odbc_params: Optional[pulumi.Input['SqlEndpointOdbcParamsArgs']] = None,
|
|
@@ -272,6 +289,7 @@ class _SqlEndpointState:
|
|
|
272
289
|
:param pulumi.Input[_builtins.int] max_num_clusters: Maximum number of clusters available when a SQL warehouse is running. This field is required. If multi-cluster load balancing is not enabled, this is default to `1`.
|
|
273
290
|
:param pulumi.Input[_builtins.int] min_num_clusters: Minimum number of clusters available when a SQL warehouse is running. The default is `1`.
|
|
274
291
|
:param pulumi.Input[_builtins.str] name: Name of the SQL warehouse. Must be unique.
|
|
292
|
+
:param pulumi.Input[_builtins.bool] no_wait: Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
275
293
|
:param pulumi.Input[_builtins.int] num_active_sessions: The current number of clusters used by the endpoint.
|
|
276
294
|
:param pulumi.Input[_builtins.int] num_clusters: The current number of clusters used by the endpoint.
|
|
277
295
|
:param pulumi.Input['SqlEndpointOdbcParamsArgs'] odbc_params: ODBC connection params: `odbc_params.hostname`, `odbc_params.path`, `odbc_params.protocol`, and `odbc_params.port`.
|
|
@@ -306,6 +324,8 @@ class _SqlEndpointState:
|
|
|
306
324
|
pulumi.set(__self__, "min_num_clusters", min_num_clusters)
|
|
307
325
|
if name is not None:
|
|
308
326
|
pulumi.set(__self__, "name", name)
|
|
327
|
+
if no_wait is not None:
|
|
328
|
+
pulumi.set(__self__, "no_wait", no_wait)
|
|
309
329
|
if num_active_sessions is not None:
|
|
310
330
|
pulumi.set(__self__, "num_active_sessions", num_active_sessions)
|
|
311
331
|
if num_clusters is not None:
|
|
@@ -476,6 +496,18 @@ class _SqlEndpointState:
|
|
|
476
496
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
477
497
|
pulumi.set(self, "name", value)
|
|
478
498
|
|
|
499
|
+
@_builtins.property
|
|
500
|
+
@pulumi.getter(name="noWait")
|
|
501
|
+
def no_wait(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
502
|
+
"""
|
|
503
|
+
Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
504
|
+
"""
|
|
505
|
+
return pulumi.get(self, "no_wait")
|
|
506
|
+
|
|
507
|
+
@no_wait.setter
|
|
508
|
+
def no_wait(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
509
|
+
pulumi.set(self, "no_wait", value)
|
|
510
|
+
|
|
479
511
|
@_builtins.property
|
|
480
512
|
@pulumi.getter(name="numActiveSessions")
|
|
481
513
|
def num_active_sessions(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
@@ -577,6 +609,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
577
609
|
max_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
578
610
|
min_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
579
611
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
612
|
+
no_wait: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
580
613
|
spot_instance_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
581
614
|
tags: Optional[pulumi.Input[Union['SqlEndpointTagsArgs', 'SqlEndpointTagsArgsDict']]] = None,
|
|
582
615
|
warehouse_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -655,6 +688,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
655
688
|
:param pulumi.Input[_builtins.int] max_num_clusters: Maximum number of clusters available when a SQL warehouse is running. This field is required. If multi-cluster load balancing is not enabled, this is default to `1`.
|
|
656
689
|
:param pulumi.Input[_builtins.int] min_num_clusters: Minimum number of clusters available when a SQL warehouse is running. The default is `1`.
|
|
657
690
|
:param pulumi.Input[_builtins.str] name: Name of the SQL warehouse. Must be unique.
|
|
691
|
+
:param pulumi.Input[_builtins.bool] no_wait: Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
658
692
|
:param pulumi.Input[_builtins.str] spot_instance_policy: The spot policy to use for allocating instances to clusters: `COST_OPTIMIZED` or `RELIABILITY_OPTIMIZED`. This field is optional. Default is `COST_OPTIMIZED`.
|
|
659
693
|
:param pulumi.Input[Union['SqlEndpointTagsArgs', 'SqlEndpointTagsArgsDict']] tags: Databricks tags all endpoint resources with these tags.
|
|
660
694
|
:param pulumi.Input[_builtins.str] warehouse_type: SQL warehouse type. See for [AWS](https://docs.databricks.com/sql/admin/sql-endpoints.html#switch-the-sql-warehouse-type-pro-classic-or-serverless) or [Azure](https://learn.microsoft.com/en-us/azure/databricks/sql/admin/create-sql-warehouse#--upgrade-a-pro-or-classic-sql-warehouse-to-a-serverless-sql-warehouse). Set to `PRO` or `CLASSIC`. If the field `enable_serverless_compute` has the value `true` either explicitly or through the default logic (see that field above for details), the default is `PRO`, which is required for serverless SQL warehouses. Otherwise, the default is `CLASSIC`.
|
|
@@ -751,6 +785,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
751
785
|
max_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
752
786
|
min_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
753
787
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
788
|
+
no_wait: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
754
789
|
spot_instance_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
755
790
|
tags: Optional[pulumi.Input[Union['SqlEndpointTagsArgs', 'SqlEndpointTagsArgsDict']]] = None,
|
|
756
791
|
warehouse_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -775,6 +810,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
775
810
|
__props__.__dict__["max_num_clusters"] = max_num_clusters
|
|
776
811
|
__props__.__dict__["min_num_clusters"] = min_num_clusters
|
|
777
812
|
__props__.__dict__["name"] = name
|
|
813
|
+
__props__.__dict__["no_wait"] = no_wait
|
|
778
814
|
__props__.__dict__["spot_instance_policy"] = spot_instance_policy
|
|
779
815
|
__props__.__dict__["tags"] = tags
|
|
780
816
|
__props__.__dict__["warehouse_type"] = warehouse_type
|
|
@@ -808,6 +844,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
808
844
|
max_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
809
845
|
min_num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
810
846
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
847
|
+
no_wait: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
811
848
|
num_active_sessions: Optional[pulumi.Input[_builtins.int]] = None,
|
|
812
849
|
num_clusters: Optional[pulumi.Input[_builtins.int]] = None,
|
|
813
850
|
odbc_params: Optional[pulumi.Input[Union['SqlEndpointOdbcParamsArgs', 'SqlEndpointOdbcParamsArgsDict']]] = None,
|
|
@@ -836,6 +873,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
836
873
|
:param pulumi.Input[_builtins.int] max_num_clusters: Maximum number of clusters available when a SQL warehouse is running. This field is required. If multi-cluster load balancing is not enabled, this is default to `1`.
|
|
837
874
|
:param pulumi.Input[_builtins.int] min_num_clusters: Minimum number of clusters available when a SQL warehouse is running. The default is `1`.
|
|
838
875
|
:param pulumi.Input[_builtins.str] name: Name of the SQL warehouse. Must be unique.
|
|
876
|
+
:param pulumi.Input[_builtins.bool] no_wait: Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
839
877
|
:param pulumi.Input[_builtins.int] num_active_sessions: The current number of clusters used by the endpoint.
|
|
840
878
|
:param pulumi.Input[_builtins.int] num_clusters: The current number of clusters used by the endpoint.
|
|
841
879
|
:param pulumi.Input[Union['SqlEndpointOdbcParamsArgs', 'SqlEndpointOdbcParamsArgsDict']] odbc_params: ODBC connection params: `odbc_params.hostname`, `odbc_params.path`, `odbc_params.protocol`, and `odbc_params.port`.
|
|
@@ -861,6 +899,7 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
861
899
|
__props__.__dict__["max_num_clusters"] = max_num_clusters
|
|
862
900
|
__props__.__dict__["min_num_clusters"] = min_num_clusters
|
|
863
901
|
__props__.__dict__["name"] = name
|
|
902
|
+
__props__.__dict__["no_wait"] = no_wait
|
|
864
903
|
__props__.__dict__["num_active_sessions"] = num_active_sessions
|
|
865
904
|
__props__.__dict__["num_clusters"] = num_clusters
|
|
866
905
|
__props__.__dict__["odbc_params"] = odbc_params
|
|
@@ -973,6 +1012,14 @@ class SqlEndpoint(pulumi.CustomResource):
|
|
|
973
1012
|
"""
|
|
974
1013
|
return pulumi.get(self, "name")
|
|
975
1014
|
|
|
1015
|
+
@_builtins.property
|
|
1016
|
+
@pulumi.getter(name="noWait")
|
|
1017
|
+
def no_wait(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1018
|
+
"""
|
|
1019
|
+
Whether to skip waiting for the SQL warehouse to start after creation. Default is `false`. When set to `true`, Pulumi will create the warehouse but won't wait for it to be in a running state before completing.
|
|
1020
|
+
"""
|
|
1021
|
+
return pulumi.get(self, "no_wait")
|
|
1022
|
+
|
|
976
1023
|
@_builtins.property
|
|
977
1024
|
@pulumi.getter(name="numActiveSessions")
|
|
978
1025
|
def num_active_sessions(self) -> pulumi.Output[_builtins.int]:
|
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`.
|
|
@@ -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
|
|
|
@@ -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):
|
|
@@ -322,7 +323,8 @@ class _SqlTableState:
|
|
|
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
325
|
: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]
|
|
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:
|
|
@@ -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
|
|
|
@@ -632,7 +648,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
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
650
|
: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
|
|
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':
|
|
@@ -777,7 +795,8 @@ class SqlTable(pulumi.CustomResource):
|
|
|
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
797
|
: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]
|
|
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
|
|
@@ -916,11 +936,19 @@ class SqlTable(pulumi.CustomResource):
|
|
|
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
|
|