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
|
@@ -174,10 +174,10 @@ class MwsStorageConfigurations(pulumi.CustomResource):
|
|
|
174
174
|
config = pulumi.Config()
|
|
175
175
|
# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
176
176
|
databricks_account_id = config.require_object("databricksAccountId")
|
|
177
|
-
root_storage_bucket = aws.s3.
|
|
177
|
+
root_storage_bucket = aws.s3.Bucket("root_storage_bucket",
|
|
178
178
|
bucket=f"{prefix}-rootbucket",
|
|
179
|
-
acl=
|
|
180
|
-
root_versioning = aws.s3.
|
|
179
|
+
acl=aws.s3.CannedAcl.PRIVATE)
|
|
180
|
+
root_versioning = aws.s3.BucketVersioning("root_versioning",
|
|
181
181
|
bucket=root_storage_bucket.id,
|
|
182
182
|
versioning_configuration={
|
|
183
183
|
"status": "Disabled",
|
|
@@ -251,10 +251,10 @@ class MwsStorageConfigurations(pulumi.CustomResource):
|
|
|
251
251
|
config = pulumi.Config()
|
|
252
252
|
# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
253
253
|
databricks_account_id = config.require_object("databricksAccountId")
|
|
254
|
-
root_storage_bucket = aws.s3.
|
|
254
|
+
root_storage_bucket = aws.s3.Bucket("root_storage_bucket",
|
|
255
255
|
bucket=f"{prefix}-rootbucket",
|
|
256
|
-
acl=
|
|
257
|
-
root_versioning = aws.s3.
|
|
256
|
+
acl=aws.s3.CannedAcl.PRIVATE)
|
|
257
|
+
root_versioning = aws.s3.BucketVersioning("root_versioning",
|
|
258
258
|
bucket=root_storage_bucket.id,
|
|
259
259
|
versioning_configuration={
|
|
260
260
|
"status": "Disabled",
|
|
@@ -32,6 +32,7 @@ class MwsWorkspacesArgs:
|
|
|
32
32
|
custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
33
33
|
customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
34
|
deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
|
+
expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
36
|
external_customer_info: Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']] = None,
|
|
36
37
|
gcp_managed_network_config: Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']] = None,
|
|
37
38
|
gke_config: Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']] = None,
|
|
@@ -55,12 +56,13 @@ class MwsWorkspacesArgs:
|
|
|
55
56
|
:param pulumi.Input[_builtins.str] aws_region: region of VPC.
|
|
56
57
|
:param pulumi.Input['MwsWorkspacesCloudResourceContainerArgs'] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
|
|
57
58
|
:param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
58
|
-
|
|
59
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
60
59
|
:param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
|
|
61
60
|
:param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
|
|
62
61
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
|
|
63
62
|
:param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
63
|
+
:param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
64
|
+
|
|
65
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
64
66
|
:param pulumi.Input[_builtins.str] location: region of the subnet.
|
|
65
67
|
:param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
66
68
|
:param pulumi.Input[_builtins.str] network_id: `network_id` from networks.
|
|
@@ -96,13 +98,15 @@ class MwsWorkspacesArgs:
|
|
|
96
98
|
pulumi.set(__self__, "customer_managed_key_id", customer_managed_key_id)
|
|
97
99
|
if deployment_name is not None:
|
|
98
100
|
pulumi.set(__self__, "deployment_name", deployment_name)
|
|
101
|
+
if expected_workspace_status is not None:
|
|
102
|
+
pulumi.set(__self__, "expected_workspace_status", expected_workspace_status)
|
|
99
103
|
if external_customer_info is not None:
|
|
100
104
|
pulumi.set(__self__, "external_customer_info", external_customer_info)
|
|
101
105
|
if gcp_managed_network_config is not None:
|
|
102
106
|
pulumi.set(__self__, "gcp_managed_network_config", gcp_managed_network_config)
|
|
103
107
|
if gke_config is not None:
|
|
104
|
-
warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
105
|
-
pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
108
|
+
warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
|
|
109
|
+
pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
106
110
|
if gke_config is not None:
|
|
107
111
|
pulumi.set(__self__, "gke_config", gke_config)
|
|
108
112
|
if is_no_public_ip_enabled is not None:
|
|
@@ -194,8 +198,6 @@ class MwsWorkspacesArgs:
|
|
|
194
198
|
def compute_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
195
199
|
"""
|
|
196
200
|
The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
197
|
-
|
|
198
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
199
201
|
"""
|
|
200
202
|
return pulumi.get(self, "compute_mode")
|
|
201
203
|
|
|
@@ -261,6 +263,20 @@ class MwsWorkspacesArgs:
|
|
|
261
263
|
def deployment_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
262
264
|
pulumi.set(self, "deployment_name", value)
|
|
263
265
|
|
|
266
|
+
@_builtins.property
|
|
267
|
+
@pulumi.getter(name="expectedWorkspaceStatus")
|
|
268
|
+
def expected_workspace_status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
269
|
+
"""
|
|
270
|
+
The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
271
|
+
|
|
272
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
273
|
+
"""
|
|
274
|
+
return pulumi.get(self, "expected_workspace_status")
|
|
275
|
+
|
|
276
|
+
@expected_workspace_status.setter
|
|
277
|
+
def expected_workspace_status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
278
|
+
pulumi.set(self, "expected_workspace_status", value)
|
|
279
|
+
|
|
264
280
|
@_builtins.property
|
|
265
281
|
@pulumi.getter(name="externalCustomerInfo")
|
|
266
282
|
def external_customer_info(self) -> Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']]:
|
|
@@ -281,7 +297,7 @@ class MwsWorkspacesArgs:
|
|
|
281
297
|
|
|
282
298
|
@_builtins.property
|
|
283
299
|
@pulumi.getter(name="gkeConfig")
|
|
284
|
-
@_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
300
|
+
@_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
285
301
|
def gke_config(self) -> Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']]:
|
|
286
302
|
return pulumi.get(self, "gke_config")
|
|
287
303
|
|
|
@@ -454,6 +470,7 @@ class _MwsWorkspacesState:
|
|
|
454
470
|
customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
455
471
|
deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
456
472
|
effective_compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
473
|
+
expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
457
474
|
external_customer_info: Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']] = None,
|
|
458
475
|
gcp_managed_network_config: Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']] = None,
|
|
459
476
|
gcp_workspace_sa: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -478,13 +495,14 @@ class _MwsWorkspacesState:
|
|
|
478
495
|
:param pulumi.Input[_builtins.str] aws_region: region of VPC.
|
|
479
496
|
:param pulumi.Input['MwsWorkspacesCloudResourceContainerArgs'] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
|
|
480
497
|
:param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
481
|
-
|
|
482
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
483
498
|
:param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
|
|
484
499
|
:param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
|
|
485
500
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
|
|
486
501
|
:param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
487
502
|
:param pulumi.Input[_builtins.str] effective_compute_mode: (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
|
|
503
|
+
:param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
504
|
+
|
|
505
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
488
506
|
:param pulumi.Input[_builtins.str] gcp_workspace_sa: (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
|
|
489
507
|
:param pulumi.Input[_builtins.str] location: region of the subnet.
|
|
490
508
|
:param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
@@ -524,6 +542,8 @@ class _MwsWorkspacesState:
|
|
|
524
542
|
pulumi.set(__self__, "deployment_name", deployment_name)
|
|
525
543
|
if effective_compute_mode is not None:
|
|
526
544
|
pulumi.set(__self__, "effective_compute_mode", effective_compute_mode)
|
|
545
|
+
if expected_workspace_status is not None:
|
|
546
|
+
pulumi.set(__self__, "expected_workspace_status", expected_workspace_status)
|
|
527
547
|
if external_customer_info is not None:
|
|
528
548
|
pulumi.set(__self__, "external_customer_info", external_customer_info)
|
|
529
549
|
if gcp_managed_network_config is not None:
|
|
@@ -531,8 +551,8 @@ class _MwsWorkspacesState:
|
|
|
531
551
|
if gcp_workspace_sa is not None:
|
|
532
552
|
pulumi.set(__self__, "gcp_workspace_sa", gcp_workspace_sa)
|
|
533
553
|
if gke_config is not None:
|
|
534
|
-
warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
535
|
-
pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
554
|
+
warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
|
|
555
|
+
pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
536
556
|
if gke_config is not None:
|
|
537
557
|
pulumi.set(__self__, "gke_config", gke_config)
|
|
538
558
|
if is_no_public_ip_enabled is not None:
|
|
@@ -614,8 +634,6 @@ class _MwsWorkspacesState:
|
|
|
614
634
|
def compute_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
615
635
|
"""
|
|
616
636
|
The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
617
|
-
|
|
618
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
619
637
|
"""
|
|
620
638
|
return pulumi.get(self, "compute_mode")
|
|
621
639
|
|
|
@@ -693,6 +711,20 @@ class _MwsWorkspacesState:
|
|
|
693
711
|
def effective_compute_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
694
712
|
pulumi.set(self, "effective_compute_mode", value)
|
|
695
713
|
|
|
714
|
+
@_builtins.property
|
|
715
|
+
@pulumi.getter(name="expectedWorkspaceStatus")
|
|
716
|
+
def expected_workspace_status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
717
|
+
"""
|
|
718
|
+
The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
719
|
+
|
|
720
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
721
|
+
"""
|
|
722
|
+
return pulumi.get(self, "expected_workspace_status")
|
|
723
|
+
|
|
724
|
+
@expected_workspace_status.setter
|
|
725
|
+
def expected_workspace_status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
726
|
+
pulumi.set(self, "expected_workspace_status", value)
|
|
727
|
+
|
|
696
728
|
@_builtins.property
|
|
697
729
|
@pulumi.getter(name="externalCustomerInfo")
|
|
698
730
|
def external_customer_info(self) -> Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']]:
|
|
@@ -725,7 +757,7 @@ class _MwsWorkspacesState:
|
|
|
725
757
|
|
|
726
758
|
@_builtins.property
|
|
727
759
|
@pulumi.getter(name="gkeConfig")
|
|
728
|
-
@_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
760
|
+
@_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
729
761
|
def gke_config(self) -> Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']]:
|
|
730
762
|
return pulumi.get(self, "gke_config")
|
|
731
763
|
|
|
@@ -912,6 +944,7 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
912
944
|
custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
913
945
|
customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
914
946
|
deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
947
|
+
expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
915
948
|
external_customer_info: Optional[pulumi.Input[Union['MwsWorkspacesExternalCustomerInfoArgs', 'MwsWorkspacesExternalCustomerInfoArgsDict']]] = None,
|
|
916
949
|
gcp_managed_network_config: Optional[pulumi.Input[Union['MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGcpManagedNetworkConfigArgsDict']]] = None,
|
|
917
950
|
gke_config: Optional[pulumi.Input[Union['MwsWorkspacesGkeConfigArgs', 'MwsWorkspacesGkeConfigArgsDict']]] = None,
|
|
@@ -1037,17 +1070,17 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1037
1070
|
account_id=databricks_account_id,
|
|
1038
1071
|
credentials_name=f"{prefix}-creds",
|
|
1039
1072
|
role_arn=cross_account_role.arn)
|
|
1040
|
-
root_storage_bucket = aws.s3.
|
|
1073
|
+
root_storage_bucket = aws.s3.Bucket("root_storage_bucket",
|
|
1041
1074
|
bucket=f"{prefix}-rootbucket",
|
|
1042
|
-
acl=
|
|
1075
|
+
acl=aws.s3.CannedAcl.PRIVATE,
|
|
1043
1076
|
force_destroy=True,
|
|
1044
1077
|
tags=tags)
|
|
1045
|
-
root_versioning = aws.s3.
|
|
1078
|
+
root_versioning = aws.s3.BucketVersioning("root_versioning",
|
|
1046
1079
|
bucket=root_storage_bucket.id,
|
|
1047
1080
|
versioning_configuration={
|
|
1048
1081
|
"status": "Disabled",
|
|
1049
1082
|
})
|
|
1050
|
-
|
|
1083
|
+
root_storage_bucket_bucket_server_side_encryption_configuration = aws.s3.BucketServerSideEncryptionConfiguration("root_storage_bucket",
|
|
1051
1084
|
bucket=root_storage_bucket.bucket,
|
|
1052
1085
|
rules=[{
|
|
1053
1086
|
"apply_server_side_encryption_by_default": {
|
|
@@ -1165,12 +1198,13 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1165
1198
|
:param pulumi.Input[_builtins.str] aws_region: region of VPC.
|
|
1166
1199
|
:param pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
|
|
1167
1200
|
:param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
1168
|
-
|
|
1169
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
1170
1201
|
:param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
|
|
1171
1202
|
:param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
|
|
1172
1203
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
|
|
1173
1204
|
:param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
1205
|
+
:param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
1206
|
+
|
|
1207
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
1174
1208
|
:param pulumi.Input[_builtins.str] location: region of the subnet.
|
|
1175
1209
|
:param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
1176
1210
|
:param pulumi.Input[_builtins.str] network_id: `network_id` from networks.
|
|
@@ -1297,17 +1331,17 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1297
1331
|
account_id=databricks_account_id,
|
|
1298
1332
|
credentials_name=f"{prefix}-creds",
|
|
1299
1333
|
role_arn=cross_account_role.arn)
|
|
1300
|
-
root_storage_bucket = aws.s3.
|
|
1334
|
+
root_storage_bucket = aws.s3.Bucket("root_storage_bucket",
|
|
1301
1335
|
bucket=f"{prefix}-rootbucket",
|
|
1302
|
-
acl=
|
|
1336
|
+
acl=aws.s3.CannedAcl.PRIVATE,
|
|
1303
1337
|
force_destroy=True,
|
|
1304
1338
|
tags=tags)
|
|
1305
|
-
root_versioning = aws.s3.
|
|
1339
|
+
root_versioning = aws.s3.BucketVersioning("root_versioning",
|
|
1306
1340
|
bucket=root_storage_bucket.id,
|
|
1307
1341
|
versioning_configuration={
|
|
1308
1342
|
"status": "Disabled",
|
|
1309
1343
|
})
|
|
1310
|
-
|
|
1344
|
+
root_storage_bucket_bucket_server_side_encryption_configuration = aws.s3.BucketServerSideEncryptionConfiguration("root_storage_bucket",
|
|
1311
1345
|
bucket=root_storage_bucket.bucket,
|
|
1312
1346
|
rules=[{
|
|
1313
1347
|
"apply_server_side_encryption_by_default": {
|
|
@@ -1444,6 +1478,7 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1444
1478
|
custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
1445
1479
|
customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1446
1480
|
deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1481
|
+
expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1447
1482
|
external_customer_info: Optional[pulumi.Input[Union['MwsWorkspacesExternalCustomerInfoArgs', 'MwsWorkspacesExternalCustomerInfoArgsDict']]] = None,
|
|
1448
1483
|
gcp_managed_network_config: Optional[pulumi.Input[Union['MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGcpManagedNetworkConfigArgsDict']]] = None,
|
|
1449
1484
|
gke_config: Optional[pulumi.Input[Union['MwsWorkspacesGkeConfigArgs', 'MwsWorkspacesGkeConfigArgsDict']]] = None,
|
|
@@ -1482,6 +1517,7 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1482
1517
|
__props__.__dict__["custom_tags"] = custom_tags
|
|
1483
1518
|
__props__.__dict__["customer_managed_key_id"] = customer_managed_key_id
|
|
1484
1519
|
__props__.__dict__["deployment_name"] = deployment_name
|
|
1520
|
+
__props__.__dict__["expected_workspace_status"] = expected_workspace_status
|
|
1485
1521
|
__props__.__dict__["external_customer_info"] = external_customer_info
|
|
1486
1522
|
__props__.__dict__["gcp_managed_network_config"] = gcp_managed_network_config
|
|
1487
1523
|
__props__.__dict__["gke_config"] = gke_config
|
|
@@ -1526,6 +1562,7 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1526
1562
|
customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1527
1563
|
deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1528
1564
|
effective_compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1565
|
+
expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1529
1566
|
external_customer_info: Optional[pulumi.Input[Union['MwsWorkspacesExternalCustomerInfoArgs', 'MwsWorkspacesExternalCustomerInfoArgsDict']]] = None,
|
|
1530
1567
|
gcp_managed_network_config: Optional[pulumi.Input[Union['MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGcpManagedNetworkConfigArgsDict']]] = None,
|
|
1531
1568
|
gcp_workspace_sa: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -1555,13 +1592,14 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1555
1592
|
:param pulumi.Input[_builtins.str] aws_region: region of VPC.
|
|
1556
1593
|
:param pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
|
|
1557
1594
|
:param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
1558
|
-
|
|
1559
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
1560
1595
|
:param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
|
|
1561
1596
|
:param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
|
|
1562
1597
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
|
|
1563
1598
|
:param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
|
|
1564
1599
|
:param pulumi.Input[_builtins.str] effective_compute_mode: (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
|
|
1600
|
+
:param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
1601
|
+
|
|
1602
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
1565
1603
|
:param pulumi.Input[_builtins.str] gcp_workspace_sa: (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
|
|
1566
1604
|
:param pulumi.Input[_builtins.str] location: region of the subnet.
|
|
1567
1605
|
:param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
@@ -1591,6 +1629,7 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1591
1629
|
__props__.__dict__["customer_managed_key_id"] = customer_managed_key_id
|
|
1592
1630
|
__props__.__dict__["deployment_name"] = deployment_name
|
|
1593
1631
|
__props__.__dict__["effective_compute_mode"] = effective_compute_mode
|
|
1632
|
+
__props__.__dict__["expected_workspace_status"] = expected_workspace_status
|
|
1594
1633
|
__props__.__dict__["external_customer_info"] = external_customer_info
|
|
1595
1634
|
__props__.__dict__["gcp_managed_network_config"] = gcp_managed_network_config
|
|
1596
1635
|
__props__.__dict__["gcp_workspace_sa"] = gcp_workspace_sa
|
|
@@ -1645,8 +1684,6 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1645
1684
|
def compute_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1646
1685
|
"""
|
|
1647
1686
|
The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
|
|
1648
|
-
|
|
1649
|
-
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
1650
1687
|
"""
|
|
1651
1688
|
return pulumi.get(self, "compute_mode")
|
|
1652
1689
|
|
|
@@ -1696,6 +1733,16 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1696
1733
|
"""
|
|
1697
1734
|
return pulumi.get(self, "effective_compute_mode")
|
|
1698
1735
|
|
|
1736
|
+
@_builtins.property
|
|
1737
|
+
@pulumi.getter(name="expectedWorkspaceStatus")
|
|
1738
|
+
def expected_workspace_status(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1739
|
+
"""
|
|
1740
|
+
The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
|
|
1741
|
+
|
|
1742
|
+
> Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
|
|
1743
|
+
"""
|
|
1744
|
+
return pulumi.get(self, "expected_workspace_status")
|
|
1745
|
+
|
|
1699
1746
|
@_builtins.property
|
|
1700
1747
|
@pulumi.getter(name="externalCustomerInfo")
|
|
1701
1748
|
def external_customer_info(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesExternalCustomerInfo']]:
|
|
@@ -1716,7 +1763,7 @@ class MwsWorkspaces(pulumi.CustomResource):
|
|
|
1716
1763
|
|
|
1717
1764
|
@_builtins.property
|
|
1718
1765
|
@pulumi.getter(name="gkeConfig")
|
|
1719
|
-
@_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
1766
|
+
@_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
1720
1767
|
def gke_config(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesGkeConfig']]:
|
|
1721
1768
|
return pulumi.get(self, "gke_config")
|
|
1722
1769
|
|
|
@@ -186,6 +186,8 @@ class OnlineStore(pulumi.CustomResource):
|
|
|
186
186
|
read_replica_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
187
187
|
__props__=None):
|
|
188
188
|
"""
|
|
189
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
190
|
+
|
|
189
191
|
## Import
|
|
190
192
|
|
|
191
193
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -194,7 +196,7 @@ class OnlineStore(pulumi.CustomResource):
|
|
|
194
196
|
|
|
195
197
|
import {
|
|
196
198
|
|
|
197
|
-
id = name
|
|
199
|
+
id = "name"
|
|
198
200
|
|
|
199
201
|
to = databricks_online_store.this
|
|
200
202
|
|
|
@@ -203,7 +205,7 @@ class OnlineStore(pulumi.CustomResource):
|
|
|
203
205
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
204
206
|
|
|
205
207
|
```sh
|
|
206
|
-
$ pulumi import databricks:index/onlineStore:OnlineStore
|
|
208
|
+
$ pulumi import databricks:index/onlineStore:OnlineStore this "name"
|
|
207
209
|
```
|
|
208
210
|
|
|
209
211
|
:param str resource_name: The name of the resource.
|
|
@@ -219,6 +221,8 @@ class OnlineStore(pulumi.CustomResource):
|
|
|
219
221
|
args: OnlineStoreArgs,
|
|
220
222
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
221
223
|
"""
|
|
224
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
225
|
+
|
|
222
226
|
## Import
|
|
223
227
|
|
|
224
228
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -227,7 +231,7 @@ class OnlineStore(pulumi.CustomResource):
|
|
|
227
231
|
|
|
228
232
|
import {
|
|
229
233
|
|
|
230
|
-
id = name
|
|
234
|
+
id = "name"
|
|
231
235
|
|
|
232
236
|
to = databricks_online_store.this
|
|
233
237
|
|
|
@@ -236,7 +240,7 @@ class OnlineStore(pulumi.CustomResource):
|
|
|
236
240
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
237
241
|
|
|
238
242
|
```sh
|
|
239
|
-
$ pulumi import databricks:index/onlineStore:OnlineStore
|
|
243
|
+
$ pulumi import databricks:index/onlineStore:OnlineStore this "name"
|
|
240
244
|
```
|
|
241
245
|
|
|
242
246
|
:param str resource_name: The name of the resource.
|