pulumi-databricks 1.76.0__py3-none-any.whl → 1.79.0a1764800092__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.
Potentially problematic release.
This version of pulumi-databricks might be problematic. Click here for more details.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +19547 -26284
- pulumi_databricks/account_federation_policy.py +48 -16
- pulumi_databricks/account_network_policy.py +60 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +174 -134
- pulumi_databricks/app.py +175 -0
- pulumi_databricks/apps_settings_custom_template.py +127 -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 +568 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +265 -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 +20 -27
- 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 +36 -141
- pulumi_databricks/get_alert_v2.py +47 -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 +56 -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 +23 -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 +11558 -13079
- 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 +354 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +52 -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.76.0.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1764800092.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 -565
- 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.76.0.dist-info/RECORD +0 -250
- {pulumi_databricks-1.76.0.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.76.0.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/top_level.txt +0 -0
|
@@ -26,8 +26,7 @@ class AppsSettingsCustomTemplateArgs:
|
|
|
26
26
|
manifest: pulumi.Input['AppsSettingsCustomTemplateManifestArgs'],
|
|
27
27
|
path: pulumi.Input[_builtins.str],
|
|
28
28
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
-
name: Optional[pulumi.Input[_builtins.str]] = None
|
|
30
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
29
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
31
30
|
"""
|
|
32
31
|
The set of arguments for constructing a AppsSettingsCustomTemplate resource.
|
|
33
32
|
:param pulumi.Input[_builtins.str] git_provider: The Git provider of the template
|
|
@@ -37,7 +36,6 @@ class AppsSettingsCustomTemplateArgs:
|
|
|
37
36
|
:param pulumi.Input[_builtins.str] description: The description of the template
|
|
38
37
|
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
39
38
|
It must be unique within the workspace
|
|
40
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
41
39
|
"""
|
|
42
40
|
pulumi.set(__self__, "git_provider", git_provider)
|
|
43
41
|
pulumi.set(__self__, "git_repo", git_repo)
|
|
@@ -47,8 +45,6 @@ class AppsSettingsCustomTemplateArgs:
|
|
|
47
45
|
pulumi.set(__self__, "description", description)
|
|
48
46
|
if name is not None:
|
|
49
47
|
pulumi.set(__self__, "name", name)
|
|
50
|
-
if workspace_id is not None:
|
|
51
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
52
48
|
|
|
53
49
|
@_builtins.property
|
|
54
50
|
@pulumi.getter(name="gitProvider")
|
|
@@ -123,18 +119,6 @@ class AppsSettingsCustomTemplateArgs:
|
|
|
123
119
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
124
120
|
pulumi.set(self, "name", value)
|
|
125
121
|
|
|
126
|
-
@_builtins.property
|
|
127
|
-
@pulumi.getter(name="workspaceId")
|
|
128
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
129
|
-
"""
|
|
130
|
-
Workspace ID of the resource
|
|
131
|
-
"""
|
|
132
|
-
return pulumi.get(self, "workspace_id")
|
|
133
|
-
|
|
134
|
-
@workspace_id.setter
|
|
135
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
136
|
-
pulumi.set(self, "workspace_id", value)
|
|
137
|
-
|
|
138
122
|
|
|
139
123
|
@pulumi.input_type
|
|
140
124
|
class _AppsSettingsCustomTemplateState:
|
|
@@ -145,8 +129,7 @@ class _AppsSettingsCustomTemplateState:
|
|
|
145
129
|
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
146
130
|
manifest: Optional[pulumi.Input['AppsSettingsCustomTemplateManifestArgs']] = None,
|
|
147
131
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
148
|
-
path: Optional[pulumi.Input[_builtins.str]] = None
|
|
149
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
132
|
+
path: Optional[pulumi.Input[_builtins.str]] = None):
|
|
150
133
|
"""
|
|
151
134
|
Input properties used for looking up and filtering AppsSettingsCustomTemplate resources.
|
|
152
135
|
:param pulumi.Input[_builtins.str] creator: (string)
|
|
@@ -157,7 +140,6 @@ class _AppsSettingsCustomTemplateState:
|
|
|
157
140
|
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
158
141
|
It must be unique within the workspace
|
|
159
142
|
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
160
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
161
143
|
"""
|
|
162
144
|
if creator is not None:
|
|
163
145
|
pulumi.set(__self__, "creator", creator)
|
|
@@ -173,8 +155,6 @@ class _AppsSettingsCustomTemplateState:
|
|
|
173
155
|
pulumi.set(__self__, "name", name)
|
|
174
156
|
if path is not None:
|
|
175
157
|
pulumi.set(__self__, "path", path)
|
|
176
|
-
if workspace_id is not None:
|
|
177
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
178
158
|
|
|
179
159
|
@_builtins.property
|
|
180
160
|
@pulumi.getter
|
|
@@ -261,18 +241,6 @@ class _AppsSettingsCustomTemplateState:
|
|
|
261
241
|
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
262
242
|
pulumi.set(self, "path", value)
|
|
263
243
|
|
|
264
|
-
@_builtins.property
|
|
265
|
-
@pulumi.getter(name="workspaceId")
|
|
266
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
267
|
-
"""
|
|
268
|
-
Workspace ID of the resource
|
|
269
|
-
"""
|
|
270
|
-
return pulumi.get(self, "workspace_id")
|
|
271
|
-
|
|
272
|
-
@workspace_id.setter
|
|
273
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
274
|
-
pulumi.set(self, "workspace_id", value)
|
|
275
|
-
|
|
276
244
|
|
|
277
245
|
@pulumi.type_token("databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate")
|
|
278
246
|
class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
@@ -286,9 +254,10 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
286
254
|
manifest: Optional[pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
287
255
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
288
256
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
289
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
290
257
|
__props__=None):
|
|
291
258
|
"""
|
|
259
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
260
|
+
|
|
292
261
|
Custom App Templates store the metadata of custom app code hosted in an external Git repository, enabling users to reuse boilerplate code when creating apps.
|
|
293
262
|
|
|
294
263
|
## Example Usage
|
|
@@ -313,6 +282,65 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
313
282
|
})
|
|
314
283
|
```
|
|
315
284
|
|
|
285
|
+
### Example with API Scopes
|
|
286
|
+
|
|
287
|
+
This example creates a custom template that declares required user API scopes.
|
|
288
|
+
|
|
289
|
+
```python
|
|
290
|
+
import pulumi
|
|
291
|
+
import pulumi_databricks as databricks
|
|
292
|
+
|
|
293
|
+
api_scopes_example = databricks.AppsSettingsCustomTemplate("api_scopes_example",
|
|
294
|
+
name="my-api-template",
|
|
295
|
+
description="A template that requests user API scopes",
|
|
296
|
+
git_repo="https://github.com/example/my-app.git",
|
|
297
|
+
path="templates/app",
|
|
298
|
+
git_provider="github",
|
|
299
|
+
manifest={
|
|
300
|
+
"version": 1,
|
|
301
|
+
"name": "my-databricks-app",
|
|
302
|
+
"description": "This app requires the SQL API scope.",
|
|
303
|
+
"user_api_scopes": ["sql"],
|
|
304
|
+
})
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Example with Resource Requirements
|
|
308
|
+
|
|
309
|
+
This example defines a template that requests specific workspace resources with permissions granted.
|
|
310
|
+
|
|
311
|
+
```python
|
|
312
|
+
import pulumi
|
|
313
|
+
import pulumi_databricks as databricks
|
|
314
|
+
|
|
315
|
+
resources_example = databricks.AppsSettingsCustomTemplate("resources_example",
|
|
316
|
+
name="my-resource-template",
|
|
317
|
+
description="Template that requires secret and SQL warehouse access",
|
|
318
|
+
git_repo="https://github.com/example/resource-app.git",
|
|
319
|
+
path="resource-template",
|
|
320
|
+
git_provider="github",
|
|
321
|
+
manifest={
|
|
322
|
+
"version": 1,
|
|
323
|
+
"name": "resource-consuming-app",
|
|
324
|
+
"description": "This app requires access to a secret and SQL warehouse.",
|
|
325
|
+
"resource_specs": [
|
|
326
|
+
{
|
|
327
|
+
"name": "my-secret",
|
|
328
|
+
"description": "A secret needed by the app",
|
|
329
|
+
"secret_spec": {
|
|
330
|
+
"permission": "READ",
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "warehouse",
|
|
335
|
+
"description": "Warehouse access",
|
|
336
|
+
"sql_warehouse_spec": {
|
|
337
|
+
"permission": "CAN_USE",
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
})
|
|
342
|
+
```
|
|
343
|
+
|
|
316
344
|
## Import
|
|
317
345
|
|
|
318
346
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -330,7 +358,7 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
330
358
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
331
359
|
|
|
332
360
|
```sh
|
|
333
|
-
$ pulumi import databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate
|
|
361
|
+
$ pulumi import databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate this "name"
|
|
334
362
|
```
|
|
335
363
|
|
|
336
364
|
:param str resource_name: The name of the resource.
|
|
@@ -342,7 +370,6 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
342
370
|
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
343
371
|
It must be unique within the workspace
|
|
344
372
|
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
345
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
346
373
|
"""
|
|
347
374
|
...
|
|
348
375
|
@overload
|
|
@@ -351,6 +378,8 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
351
378
|
args: AppsSettingsCustomTemplateArgs,
|
|
352
379
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
353
380
|
"""
|
|
381
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
382
|
+
|
|
354
383
|
Custom App Templates store the metadata of custom app code hosted in an external Git repository, enabling users to reuse boilerplate code when creating apps.
|
|
355
384
|
|
|
356
385
|
## Example Usage
|
|
@@ -375,6 +404,65 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
375
404
|
})
|
|
376
405
|
```
|
|
377
406
|
|
|
407
|
+
### Example with API Scopes
|
|
408
|
+
|
|
409
|
+
This example creates a custom template that declares required user API scopes.
|
|
410
|
+
|
|
411
|
+
```python
|
|
412
|
+
import pulumi
|
|
413
|
+
import pulumi_databricks as databricks
|
|
414
|
+
|
|
415
|
+
api_scopes_example = databricks.AppsSettingsCustomTemplate("api_scopes_example",
|
|
416
|
+
name="my-api-template",
|
|
417
|
+
description="A template that requests user API scopes",
|
|
418
|
+
git_repo="https://github.com/example/my-app.git",
|
|
419
|
+
path="templates/app",
|
|
420
|
+
git_provider="github",
|
|
421
|
+
manifest={
|
|
422
|
+
"version": 1,
|
|
423
|
+
"name": "my-databricks-app",
|
|
424
|
+
"description": "This app requires the SQL API scope.",
|
|
425
|
+
"user_api_scopes": ["sql"],
|
|
426
|
+
})
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
### Example with Resource Requirements
|
|
430
|
+
|
|
431
|
+
This example defines a template that requests specific workspace resources with permissions granted.
|
|
432
|
+
|
|
433
|
+
```python
|
|
434
|
+
import pulumi
|
|
435
|
+
import pulumi_databricks as databricks
|
|
436
|
+
|
|
437
|
+
resources_example = databricks.AppsSettingsCustomTemplate("resources_example",
|
|
438
|
+
name="my-resource-template",
|
|
439
|
+
description="Template that requires secret and SQL warehouse access",
|
|
440
|
+
git_repo="https://github.com/example/resource-app.git",
|
|
441
|
+
path="resource-template",
|
|
442
|
+
git_provider="github",
|
|
443
|
+
manifest={
|
|
444
|
+
"version": 1,
|
|
445
|
+
"name": "resource-consuming-app",
|
|
446
|
+
"description": "This app requires access to a secret and SQL warehouse.",
|
|
447
|
+
"resource_specs": [
|
|
448
|
+
{
|
|
449
|
+
"name": "my-secret",
|
|
450
|
+
"description": "A secret needed by the app",
|
|
451
|
+
"secret_spec": {
|
|
452
|
+
"permission": "READ",
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "warehouse",
|
|
457
|
+
"description": "Warehouse access",
|
|
458
|
+
"sql_warehouse_spec": {
|
|
459
|
+
"permission": "CAN_USE",
|
|
460
|
+
},
|
|
461
|
+
},
|
|
462
|
+
],
|
|
463
|
+
})
|
|
464
|
+
```
|
|
465
|
+
|
|
378
466
|
## Import
|
|
379
467
|
|
|
380
468
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -392,7 +480,7 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
392
480
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
393
481
|
|
|
394
482
|
```sh
|
|
395
|
-
$ pulumi import databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate
|
|
483
|
+
$ pulumi import databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate this "name"
|
|
396
484
|
```
|
|
397
485
|
|
|
398
486
|
:param str resource_name: The name of the resource.
|
|
@@ -416,7 +504,6 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
416
504
|
manifest: Optional[pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
417
505
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
418
506
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
419
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
420
507
|
__props__=None):
|
|
421
508
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
422
509
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -440,7 +527,6 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
440
527
|
if path is None and not opts.urn:
|
|
441
528
|
raise TypeError("Missing required property 'path'")
|
|
442
529
|
__props__.__dict__["path"] = path
|
|
443
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
444
530
|
__props__.__dict__["creator"] = None
|
|
445
531
|
super(AppsSettingsCustomTemplate, __self__).__init__(
|
|
446
532
|
'databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate',
|
|
@@ -458,8 +544,7 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
458
544
|
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
545
|
manifest: Optional[pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
460
546
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
461
|
-
path: Optional[pulumi.Input[_builtins.str]] = None
|
|
462
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'AppsSettingsCustomTemplate':
|
|
547
|
+
path: Optional[pulumi.Input[_builtins.str]] = None) -> 'AppsSettingsCustomTemplate':
|
|
463
548
|
"""
|
|
464
549
|
Get an existing AppsSettingsCustomTemplate resource's state with the given name, id, and optional extra
|
|
465
550
|
properties used to qualify the lookup.
|
|
@@ -475,7 +560,6 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
475
560
|
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
476
561
|
It must be unique within the workspace
|
|
477
562
|
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
478
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
479
563
|
"""
|
|
480
564
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
481
565
|
|
|
@@ -488,7 +572,6 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
488
572
|
__props__.__dict__["manifest"] = manifest
|
|
489
573
|
__props__.__dict__["name"] = name
|
|
490
574
|
__props__.__dict__["path"] = path
|
|
491
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
492
575
|
return AppsSettingsCustomTemplate(resource_name, opts=opts, __props__=__props__)
|
|
493
576
|
|
|
494
577
|
@_builtins.property
|
|
@@ -548,11 +631,3 @@ class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
|
548
631
|
"""
|
|
549
632
|
return pulumi.get(self, "path")
|
|
550
633
|
|
|
551
|
-
@_builtins.property
|
|
552
|
-
@pulumi.getter(name="workspaceId")
|
|
553
|
-
def workspace_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
554
|
-
"""
|
|
555
|
-
Workspace ID of the resource
|
|
556
|
-
"""
|
|
557
|
-
return pulumi.get(self, "workspace_id")
|
|
558
|
-
|
|
@@ -190,6 +190,8 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
190
190
|
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
191
191
|
__props__=None):
|
|
192
192
|
"""
|
|
193
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
194
|
+
|
|
193
195
|
Administrators can use budget policies to ensure that the correct tags appear automatically on serverless resources without depending on users to attach tags manually, allowing for customized cost reporting and chargebacks.
|
|
194
196
|
|
|
195
197
|
Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy.
|
|
@@ -229,7 +231,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
229
231
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
230
232
|
|
|
231
233
|
```sh
|
|
232
|
-
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy
|
|
234
|
+
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy this "policy_id"
|
|
233
235
|
```
|
|
234
236
|
|
|
235
237
|
:param str resource_name: The name of the resource.
|
|
@@ -250,6 +252,8 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
250
252
|
args: Optional[BudgetPolicyArgs] = None,
|
|
251
253
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
252
254
|
"""
|
|
255
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
256
|
+
|
|
253
257
|
Administrators can use budget policies to ensure that the correct tags appear automatically on serverless resources without depending on users to attach tags manually, allowing for customized cost reporting and chargebacks.
|
|
254
258
|
|
|
255
259
|
Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy.
|
|
@@ -289,7 +293,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
289
293
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
290
294
|
|
|
291
295
|
```sh
|
|
292
|
-
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy
|
|
296
|
+
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy this "policy_id"
|
|
293
297
|
```
|
|
294
298
|
|
|
295
299
|
:param str resource_name: The name of the resource.
|
pulumi_databricks/catalog.py
CHANGED
|
@@ -36,7 +36,6 @@ class CatalogArgs:
|
|
|
36
36
|
provider_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
37
37
|
provisioning_info: Optional[pulumi.Input['CatalogProvisioningInfoArgs']] = None,
|
|
38
38
|
share_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
39
|
-
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
40
39
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a Catalog resource.
|
|
@@ -52,7 +51,7 @@ class CatalogArgs:
|
|
|
52
51
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Catalog properties.
|
|
53
52
|
:param pulumi.Input[_builtins.str] provider_name: For Delta Sharing Catalogs: the name of the delta sharing provider. Change forces creation of a new resource.
|
|
54
53
|
:param pulumi.Input[_builtins.str] share_name: For Delta Sharing Catalogs: the name of the share under the share provider. Change forces creation of a new resource.
|
|
55
|
-
:param pulumi.Input[_builtins.str] storage_root: Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
54
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
56
55
|
"""
|
|
57
56
|
if browse_only is not None:
|
|
58
57
|
pulumi.set(__self__, "browse_only", browse_only)
|
|
@@ -84,8 +83,6 @@ class CatalogArgs:
|
|
|
84
83
|
pulumi.set(__self__, "provisioning_info", provisioning_info)
|
|
85
84
|
if share_name is not None:
|
|
86
85
|
pulumi.set(__self__, "share_name", share_name)
|
|
87
|
-
if storage_location is not None:
|
|
88
|
-
pulumi.set(__self__, "storage_location", storage_location)
|
|
89
86
|
if storage_root is not None:
|
|
90
87
|
pulumi.set(__self__, "storage_root", storage_root)
|
|
91
88
|
|
|
@@ -260,20 +257,11 @@ class CatalogArgs:
|
|
|
260
257
|
def share_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
261
258
|
pulumi.set(self, "share_name", value)
|
|
262
259
|
|
|
263
|
-
@_builtins.property
|
|
264
|
-
@pulumi.getter(name="storageLocation")
|
|
265
|
-
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
266
|
-
return pulumi.get(self, "storage_location")
|
|
267
|
-
|
|
268
|
-
@storage_location.setter
|
|
269
|
-
def storage_location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
270
|
-
pulumi.set(self, "storage_location", value)
|
|
271
|
-
|
|
272
260
|
@_builtins.property
|
|
273
261
|
@pulumi.getter(name="storageRoot")
|
|
274
262
|
def storage_root(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
275
263
|
"""
|
|
276
|
-
Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
264
|
+
Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
277
265
|
"""
|
|
278
266
|
return pulumi.get(self, "storage_root")
|
|
279
267
|
|
|
@@ -311,8 +299,11 @@ class _CatalogState:
|
|
|
311
299
|
updated_by: Optional[pulumi.Input[_builtins.str]] = None):
|
|
312
300
|
"""
|
|
313
301
|
Input properties used for looking up and filtering Catalog resources.
|
|
302
|
+
:param pulumi.Input[_builtins.str] catalog_type: the type of the catalog.
|
|
314
303
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text.
|
|
315
304
|
:param pulumi.Input[_builtins.str] connection_name: For Foreign Catalogs: the name of the connection to an external data source. Changes forces creation of a new resource.
|
|
305
|
+
:param pulumi.Input[_builtins.int] created_at: time at which this catalog was created, in epoch milliseconds.
|
|
306
|
+
:param pulumi.Input[_builtins.str] created_by: username of catalog creator.
|
|
316
307
|
:param pulumi.Input[_builtins.str] enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. Can be `ENABLE`, `DISABLE` or `INHERIT`
|
|
317
308
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete catalog regardless of its contents.
|
|
318
309
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the catalog is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATED` or `OPEN`. Setting the catalog to `ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -322,8 +313,12 @@ class _CatalogState:
|
|
|
322
313
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the catalog owner.
|
|
323
314
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Catalog properties.
|
|
324
315
|
:param pulumi.Input[_builtins.str] provider_name: For Delta Sharing Catalogs: the name of the delta sharing provider. Change forces creation of a new resource.
|
|
316
|
+
:param pulumi.Input[_builtins.str] securable_type: the type of Unity Catalog securable.
|
|
325
317
|
:param pulumi.Input[_builtins.str] share_name: For Delta Sharing Catalogs: the name of the share under the share provider. Change forces creation of a new resource.
|
|
326
|
-
:param pulumi.Input[_builtins.str]
|
|
318
|
+
:param pulumi.Input[_builtins.str] storage_location: effective storage Location URL (full path) for managed tables within catalog.
|
|
319
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
320
|
+
:param pulumi.Input[_builtins.int] updated_at: time at which this catalog was last modified, in epoch milliseconds..
|
|
321
|
+
:param pulumi.Input[_builtins.str] updated_by: username of user who last modified catalog.
|
|
327
322
|
"""
|
|
328
323
|
if browse_only is not None:
|
|
329
324
|
pulumi.set(__self__, "browse_only", browse_only)
|
|
@@ -386,6 +381,9 @@ class _CatalogState:
|
|
|
386
381
|
@_builtins.property
|
|
387
382
|
@pulumi.getter(name="catalogType")
|
|
388
383
|
def catalog_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
384
|
+
"""
|
|
385
|
+
the type of the catalog.
|
|
386
|
+
"""
|
|
389
387
|
return pulumi.get(self, "catalog_type")
|
|
390
388
|
|
|
391
389
|
@catalog_type.setter
|
|
@@ -419,6 +417,9 @@ class _CatalogState:
|
|
|
419
417
|
@_builtins.property
|
|
420
418
|
@pulumi.getter(name="createdAt")
|
|
421
419
|
def created_at(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
420
|
+
"""
|
|
421
|
+
time at which this catalog was created, in epoch milliseconds.
|
|
422
|
+
"""
|
|
422
423
|
return pulumi.get(self, "created_at")
|
|
423
424
|
|
|
424
425
|
@created_at.setter
|
|
@@ -428,6 +429,9 @@ class _CatalogState:
|
|
|
428
429
|
@_builtins.property
|
|
429
430
|
@pulumi.getter(name="createdBy")
|
|
430
431
|
def created_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
432
|
+
"""
|
|
433
|
+
username of catalog creator.
|
|
434
|
+
"""
|
|
431
435
|
return pulumi.get(self, "created_by")
|
|
432
436
|
|
|
433
437
|
@created_by.setter
|
|
@@ -572,6 +576,9 @@ class _CatalogState:
|
|
|
572
576
|
@_builtins.property
|
|
573
577
|
@pulumi.getter(name="securableType")
|
|
574
578
|
def securable_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
579
|
+
"""
|
|
580
|
+
the type of Unity Catalog securable.
|
|
581
|
+
"""
|
|
575
582
|
return pulumi.get(self, "securable_type")
|
|
576
583
|
|
|
577
584
|
@securable_type.setter
|
|
@@ -593,6 +600,9 @@ class _CatalogState:
|
|
|
593
600
|
@_builtins.property
|
|
594
601
|
@pulumi.getter(name="storageLocation")
|
|
595
602
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
603
|
+
"""
|
|
604
|
+
effective storage Location URL (full path) for managed tables within catalog.
|
|
605
|
+
"""
|
|
596
606
|
return pulumi.get(self, "storage_location")
|
|
597
607
|
|
|
598
608
|
@storage_location.setter
|
|
@@ -603,7 +613,7 @@ class _CatalogState:
|
|
|
603
613
|
@pulumi.getter(name="storageRoot")
|
|
604
614
|
def storage_root(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
605
615
|
"""
|
|
606
|
-
Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
616
|
+
Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
607
617
|
"""
|
|
608
618
|
return pulumi.get(self, "storage_root")
|
|
609
619
|
|
|
@@ -614,6 +624,9 @@ class _CatalogState:
|
|
|
614
624
|
@_builtins.property
|
|
615
625
|
@pulumi.getter(name="updatedAt")
|
|
616
626
|
def updated_at(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
627
|
+
"""
|
|
628
|
+
time at which this catalog was last modified, in epoch milliseconds..
|
|
629
|
+
"""
|
|
617
630
|
return pulumi.get(self, "updated_at")
|
|
618
631
|
|
|
619
632
|
@updated_at.setter
|
|
@@ -623,6 +636,9 @@ class _CatalogState:
|
|
|
623
636
|
@_builtins.property
|
|
624
637
|
@pulumi.getter(name="updatedBy")
|
|
625
638
|
def updated_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
639
|
+
"""
|
|
640
|
+
username of user who last modified catalog.
|
|
641
|
+
"""
|
|
626
642
|
return pulumi.get(self, "updated_by")
|
|
627
643
|
|
|
628
644
|
@updated_by.setter
|
|
@@ -651,7 +667,6 @@ class Catalog(pulumi.CustomResource):
|
|
|
651
667
|
provider_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
652
668
|
provisioning_info: Optional[pulumi.Input[Union['CatalogProvisioningInfoArgs', 'CatalogProvisioningInfoArgsDict']]] = None,
|
|
653
669
|
share_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
654
|
-
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
655
670
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None,
|
|
656
671
|
__props__=None):
|
|
657
672
|
"""
|
|
@@ -719,7 +734,7 @@ class Catalog(pulumi.CustomResource):
|
|
|
719
734
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Catalog properties.
|
|
720
735
|
:param pulumi.Input[_builtins.str] provider_name: For Delta Sharing Catalogs: the name of the delta sharing provider. Change forces creation of a new resource.
|
|
721
736
|
:param pulumi.Input[_builtins.str] share_name: For Delta Sharing Catalogs: the name of the share under the share provider. Change forces creation of a new resource.
|
|
722
|
-
:param pulumi.Input[_builtins.str] storage_root: Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
737
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
723
738
|
"""
|
|
724
739
|
...
|
|
725
740
|
@overload
|
|
@@ -808,7 +823,6 @@ class Catalog(pulumi.CustomResource):
|
|
|
808
823
|
provider_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
809
824
|
provisioning_info: Optional[pulumi.Input[Union['CatalogProvisioningInfoArgs', 'CatalogProvisioningInfoArgsDict']]] = None,
|
|
810
825
|
share_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
811
|
-
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
812
826
|
storage_root: Optional[pulumi.Input[_builtins.str]] = None,
|
|
813
827
|
__props__=None):
|
|
814
828
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -834,13 +848,13 @@ class Catalog(pulumi.CustomResource):
|
|
|
834
848
|
__props__.__dict__["provider_name"] = provider_name
|
|
835
849
|
__props__.__dict__["provisioning_info"] = provisioning_info
|
|
836
850
|
__props__.__dict__["share_name"] = share_name
|
|
837
|
-
__props__.__dict__["storage_location"] = storage_location
|
|
838
851
|
__props__.__dict__["storage_root"] = storage_root
|
|
839
852
|
__props__.__dict__["catalog_type"] = None
|
|
840
853
|
__props__.__dict__["created_at"] = None
|
|
841
854
|
__props__.__dict__["created_by"] = None
|
|
842
855
|
__props__.__dict__["full_name"] = None
|
|
843
856
|
__props__.__dict__["securable_type"] = None
|
|
857
|
+
__props__.__dict__["storage_location"] = None
|
|
844
858
|
__props__.__dict__["updated_at"] = None
|
|
845
859
|
__props__.__dict__["updated_by"] = None
|
|
846
860
|
super(Catalog, __self__).__init__(
|
|
@@ -884,8 +898,11 @@ class Catalog(pulumi.CustomResource):
|
|
|
884
898
|
:param str resource_name: The unique name of the resulting resource.
|
|
885
899
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
886
900
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
901
|
+
:param pulumi.Input[_builtins.str] catalog_type: the type of the catalog.
|
|
887
902
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text.
|
|
888
903
|
:param pulumi.Input[_builtins.str] connection_name: For Foreign Catalogs: the name of the connection to an external data source. Changes forces creation of a new resource.
|
|
904
|
+
:param pulumi.Input[_builtins.int] created_at: time at which this catalog was created, in epoch milliseconds.
|
|
905
|
+
:param pulumi.Input[_builtins.str] created_by: username of catalog creator.
|
|
889
906
|
:param pulumi.Input[_builtins.str] enable_predictive_optimization: Whether predictive optimization should be enabled for this object and objects under it. Can be `ENABLE`, `DISABLE` or `INHERIT`
|
|
890
907
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete catalog regardless of its contents.
|
|
891
908
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the catalog is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATED` or `OPEN`. Setting the catalog to `ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -895,8 +912,12 @@ class Catalog(pulumi.CustomResource):
|
|
|
895
912
|
:param pulumi.Input[_builtins.str] owner: Username/groupname/sp application_id of the catalog owner.
|
|
896
913
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: Extensible Catalog properties.
|
|
897
914
|
:param pulumi.Input[_builtins.str] provider_name: For Delta Sharing Catalogs: the name of the delta sharing provider. Change forces creation of a new resource.
|
|
915
|
+
:param pulumi.Input[_builtins.str] securable_type: the type of Unity Catalog securable.
|
|
898
916
|
:param pulumi.Input[_builtins.str] share_name: For Delta Sharing Catalogs: the name of the share under the share provider. Change forces creation of a new resource.
|
|
899
|
-
:param pulumi.Input[_builtins.str]
|
|
917
|
+
:param pulumi.Input[_builtins.str] storage_location: effective storage Location URL (full path) for managed tables within catalog.
|
|
918
|
+
:param pulumi.Input[_builtins.str] storage_root: Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
919
|
+
:param pulumi.Input[_builtins.int] updated_at: time at which this catalog was last modified, in epoch milliseconds..
|
|
920
|
+
:param pulumi.Input[_builtins.str] updated_by: username of user who last modified catalog.
|
|
900
921
|
"""
|
|
901
922
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
902
923
|
|
|
@@ -936,6 +957,9 @@ class Catalog(pulumi.CustomResource):
|
|
|
936
957
|
@_builtins.property
|
|
937
958
|
@pulumi.getter(name="catalogType")
|
|
938
959
|
def catalog_type(self) -> pulumi.Output[_builtins.str]:
|
|
960
|
+
"""
|
|
961
|
+
the type of the catalog.
|
|
962
|
+
"""
|
|
939
963
|
return pulumi.get(self, "catalog_type")
|
|
940
964
|
|
|
941
965
|
@_builtins.property
|
|
@@ -957,11 +981,17 @@ class Catalog(pulumi.CustomResource):
|
|
|
957
981
|
@_builtins.property
|
|
958
982
|
@pulumi.getter(name="createdAt")
|
|
959
983
|
def created_at(self) -> pulumi.Output[_builtins.int]:
|
|
984
|
+
"""
|
|
985
|
+
time at which this catalog was created, in epoch milliseconds.
|
|
986
|
+
"""
|
|
960
987
|
return pulumi.get(self, "created_at")
|
|
961
988
|
|
|
962
989
|
@_builtins.property
|
|
963
990
|
@pulumi.getter(name="createdBy")
|
|
964
991
|
def created_by(self) -> pulumi.Output[_builtins.str]:
|
|
992
|
+
"""
|
|
993
|
+
username of catalog creator.
|
|
994
|
+
"""
|
|
965
995
|
return pulumi.get(self, "created_by")
|
|
966
996
|
|
|
967
997
|
@_builtins.property
|
|
@@ -1054,6 +1084,9 @@ class Catalog(pulumi.CustomResource):
|
|
|
1054
1084
|
@_builtins.property
|
|
1055
1085
|
@pulumi.getter(name="securableType")
|
|
1056
1086
|
def securable_type(self) -> pulumi.Output[_builtins.str]:
|
|
1087
|
+
"""
|
|
1088
|
+
the type of Unity Catalog securable.
|
|
1089
|
+
"""
|
|
1057
1090
|
return pulumi.get(self, "securable_type")
|
|
1058
1091
|
|
|
1059
1092
|
@_builtins.property
|
|
@@ -1066,24 +1099,33 @@ class Catalog(pulumi.CustomResource):
|
|
|
1066
1099
|
|
|
1067
1100
|
@_builtins.property
|
|
1068
1101
|
@pulumi.getter(name="storageLocation")
|
|
1069
|
-
def storage_location(self) -> pulumi.Output[
|
|
1102
|
+
def storage_location(self) -> pulumi.Output[_builtins.str]:
|
|
1103
|
+
"""
|
|
1104
|
+
effective storage Location URL (full path) for managed tables within catalog.
|
|
1105
|
+
"""
|
|
1070
1106
|
return pulumi.get(self, "storage_location")
|
|
1071
1107
|
|
|
1072
1108
|
@_builtins.property
|
|
1073
1109
|
@pulumi.getter(name="storageRoot")
|
|
1074
1110
|
def storage_root(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1075
1111
|
"""
|
|
1076
|
-
Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
1112
|
+
Managed location of the catalog. Location in cloud storage where data for managed tables will be stored. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
|
|
1077
1113
|
"""
|
|
1078
1114
|
return pulumi.get(self, "storage_root")
|
|
1079
1115
|
|
|
1080
1116
|
@_builtins.property
|
|
1081
1117
|
@pulumi.getter(name="updatedAt")
|
|
1082
1118
|
def updated_at(self) -> pulumi.Output[_builtins.int]:
|
|
1119
|
+
"""
|
|
1120
|
+
time at which this catalog was last modified, in epoch milliseconds..
|
|
1121
|
+
"""
|
|
1083
1122
|
return pulumi.get(self, "updated_at")
|
|
1084
1123
|
|
|
1085
1124
|
@_builtins.property
|
|
1086
1125
|
@pulumi.getter(name="updatedBy")
|
|
1087
1126
|
def updated_by(self) -> pulumi.Output[_builtins.str]:
|
|
1127
|
+
"""
|
|
1128
|
+
username of user who last modified catalog.
|
|
1129
|
+
"""
|
|
1088
1130
|
return pulumi.get(self, "updated_by")
|
|
1089
1131
|
|