pulumi-databricks 1.74.0a1753335781__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 +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- 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 +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- 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 +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- 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 +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,17 +19,17 @@ __all__ = ['WorkspaceBindingArgs', 'WorkspaceBinding']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class WorkspaceBindingArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
workspace_id: pulumi.Input[
|
|
24
|
-
binding_type: Optional[pulumi.Input[
|
|
25
|
-
catalog_name: Optional[pulumi.Input[
|
|
26
|
-
securable_name: Optional[pulumi.Input[
|
|
27
|
-
securable_type: Optional[pulumi.Input[
|
|
22
|
+
workspace_id: pulumi.Input[_builtins.str],
|
|
23
|
+
binding_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
securable_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
securable_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a WorkspaceBinding resource.
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] workspace_id: ID of the workspace. Change forces creation of a new resource.
|
|
30
|
+
:param pulumi.Input[_builtins.str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
31
|
+
:param pulumi.Input[_builtins.str] securable_name: Name of securable. Change forces creation of a new resource.
|
|
32
|
+
:param pulumi.Input[_builtins.str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
34
33
|
"""
|
|
35
34
|
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
36
35
|
if binding_type is not None:
|
|
@@ -45,79 +44,79 @@ class WorkspaceBindingArgs:
|
|
|
45
44
|
if securable_type is not None:
|
|
46
45
|
pulumi.set(__self__, "securable_type", securable_type)
|
|
47
46
|
|
|
48
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
49
48
|
@pulumi.getter(name="workspaceId")
|
|
50
|
-
def workspace_id(self) -> pulumi.Input[
|
|
49
|
+
def workspace_id(self) -> pulumi.Input[_builtins.str]:
|
|
51
50
|
"""
|
|
52
51
|
ID of the workspace. Change forces creation of a new resource.
|
|
53
52
|
"""
|
|
54
53
|
return pulumi.get(self, "workspace_id")
|
|
55
54
|
|
|
56
55
|
@workspace_id.setter
|
|
57
|
-
def workspace_id(self, value: pulumi.Input[
|
|
56
|
+
def workspace_id(self, value: pulumi.Input[_builtins.str]):
|
|
58
57
|
pulumi.set(self, "workspace_id", value)
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter(name="bindingType")
|
|
62
|
-
def binding_type(self) -> Optional[pulumi.Input[
|
|
61
|
+
def binding_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
63
62
|
"""
|
|
64
63
|
Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
65
64
|
"""
|
|
66
65
|
return pulumi.get(self, "binding_type")
|
|
67
66
|
|
|
68
67
|
@binding_type.setter
|
|
69
|
-
def binding_type(self, value: Optional[pulumi.Input[
|
|
68
|
+
def binding_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
70
69
|
pulumi.set(self, "binding_type", value)
|
|
71
70
|
|
|
72
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
73
72
|
@pulumi.getter(name="catalogName")
|
|
74
73
|
@_utilities.deprecated("""Please use 'securable_name' and 'securable_type instead.""")
|
|
75
|
-
def catalog_name(self) -> Optional[pulumi.Input[
|
|
74
|
+
def catalog_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
76
75
|
return pulumi.get(self, "catalog_name")
|
|
77
76
|
|
|
78
77
|
@catalog_name.setter
|
|
79
|
-
def catalog_name(self, value: Optional[pulumi.Input[
|
|
78
|
+
def catalog_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
80
79
|
pulumi.set(self, "catalog_name", value)
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter(name="securableName")
|
|
84
|
-
def securable_name(self) -> Optional[pulumi.Input[
|
|
83
|
+
def securable_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
85
84
|
"""
|
|
86
85
|
Name of securable. Change forces creation of a new resource.
|
|
87
86
|
"""
|
|
88
87
|
return pulumi.get(self, "securable_name")
|
|
89
88
|
|
|
90
89
|
@securable_name.setter
|
|
91
|
-
def securable_name(self, value: Optional[pulumi.Input[
|
|
90
|
+
def securable_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
92
91
|
pulumi.set(self, "securable_name", value)
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter(name="securableType")
|
|
96
|
-
def securable_type(self) -> Optional[pulumi.Input[
|
|
95
|
+
def securable_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
97
96
|
"""
|
|
98
97
|
Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
99
98
|
"""
|
|
100
99
|
return pulumi.get(self, "securable_type")
|
|
101
100
|
|
|
102
101
|
@securable_type.setter
|
|
103
|
-
def securable_type(self, value: Optional[pulumi.Input[
|
|
102
|
+
def securable_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
104
103
|
pulumi.set(self, "securable_type", value)
|
|
105
104
|
|
|
106
105
|
|
|
107
106
|
@pulumi.input_type
|
|
108
107
|
class _WorkspaceBindingState:
|
|
109
108
|
def __init__(__self__, *,
|
|
110
|
-
binding_type: Optional[pulumi.Input[
|
|
111
|
-
catalog_name: Optional[pulumi.Input[
|
|
112
|
-
securable_name: Optional[pulumi.Input[
|
|
113
|
-
securable_type: Optional[pulumi.Input[
|
|
114
|
-
workspace_id: Optional[pulumi.Input[
|
|
109
|
+
binding_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
110
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
|
+
securable_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
112
|
+
securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
113
|
+
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
115
114
|
"""
|
|
116
115
|
Input properties used for looking up and filtering WorkspaceBinding resources.
|
|
117
|
-
:param pulumi.Input[
|
|
118
|
-
:param pulumi.Input[
|
|
119
|
-
:param pulumi.Input[
|
|
120
|
-
:param pulumi.Input[
|
|
116
|
+
:param pulumi.Input[_builtins.str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
117
|
+
:param pulumi.Input[_builtins.str] securable_name: Name of securable. Change forces creation of a new resource.
|
|
118
|
+
:param pulumi.Input[_builtins.str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
119
|
+
:param pulumi.Input[_builtins.str] workspace_id: ID of the workspace. Change forces creation of a new resource.
|
|
121
120
|
"""
|
|
122
121
|
if binding_type is not None:
|
|
123
122
|
pulumi.set(__self__, "binding_type", binding_type)
|
|
@@ -133,62 +132,62 @@ class _WorkspaceBindingState:
|
|
|
133
132
|
if workspace_id is not None:
|
|
134
133
|
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
135
134
|
|
|
136
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
137
136
|
@pulumi.getter(name="bindingType")
|
|
138
|
-
def binding_type(self) -> Optional[pulumi.Input[
|
|
137
|
+
def binding_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
139
138
|
"""
|
|
140
139
|
Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
141
140
|
"""
|
|
142
141
|
return pulumi.get(self, "binding_type")
|
|
143
142
|
|
|
144
143
|
@binding_type.setter
|
|
145
|
-
def binding_type(self, value: Optional[pulumi.Input[
|
|
144
|
+
def binding_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
146
145
|
pulumi.set(self, "binding_type", value)
|
|
147
146
|
|
|
148
|
-
@property
|
|
147
|
+
@_builtins.property
|
|
149
148
|
@pulumi.getter(name="catalogName")
|
|
150
149
|
@_utilities.deprecated("""Please use 'securable_name' and 'securable_type instead.""")
|
|
151
|
-
def catalog_name(self) -> Optional[pulumi.Input[
|
|
150
|
+
def catalog_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
151
|
return pulumi.get(self, "catalog_name")
|
|
153
152
|
|
|
154
153
|
@catalog_name.setter
|
|
155
|
-
def catalog_name(self, value: Optional[pulumi.Input[
|
|
154
|
+
def catalog_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
156
155
|
pulumi.set(self, "catalog_name", value)
|
|
157
156
|
|
|
158
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
159
158
|
@pulumi.getter(name="securableName")
|
|
160
|
-
def securable_name(self) -> Optional[pulumi.Input[
|
|
159
|
+
def securable_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
161
160
|
"""
|
|
162
161
|
Name of securable. Change forces creation of a new resource.
|
|
163
162
|
"""
|
|
164
163
|
return pulumi.get(self, "securable_name")
|
|
165
164
|
|
|
166
165
|
@securable_name.setter
|
|
167
|
-
def securable_name(self, value: Optional[pulumi.Input[
|
|
166
|
+
def securable_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
168
167
|
pulumi.set(self, "securable_name", value)
|
|
169
168
|
|
|
170
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
171
170
|
@pulumi.getter(name="securableType")
|
|
172
|
-
def securable_type(self) -> Optional[pulumi.Input[
|
|
171
|
+
def securable_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
173
172
|
"""
|
|
174
173
|
Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
175
174
|
"""
|
|
176
175
|
return pulumi.get(self, "securable_type")
|
|
177
176
|
|
|
178
177
|
@securable_type.setter
|
|
179
|
-
def securable_type(self, value: Optional[pulumi.Input[
|
|
178
|
+
def securable_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
180
179
|
pulumi.set(self, "securable_type", value)
|
|
181
180
|
|
|
182
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
183
182
|
@pulumi.getter(name="workspaceId")
|
|
184
|
-
def workspace_id(self) -> Optional[pulumi.Input[
|
|
183
|
+
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
185
184
|
"""
|
|
186
185
|
ID of the workspace. Change forces creation of a new resource.
|
|
187
186
|
"""
|
|
188
187
|
return pulumi.get(self, "workspace_id")
|
|
189
188
|
|
|
190
189
|
@workspace_id.setter
|
|
191
|
-
def workspace_id(self, value: Optional[pulumi.Input[
|
|
190
|
+
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
192
191
|
pulumi.set(self, "workspace_id", value)
|
|
193
192
|
|
|
194
193
|
|
|
@@ -198,37 +197,13 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
198
197
|
def __init__(__self__,
|
|
199
198
|
resource_name: str,
|
|
200
199
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
201
|
-
binding_type: Optional[pulumi.Input[
|
|
202
|
-
catalog_name: Optional[pulumi.Input[
|
|
203
|
-
securable_name: Optional[pulumi.Input[
|
|
204
|
-
securable_type: Optional[pulumi.Input[
|
|
205
|
-
workspace_id: Optional[pulumi.Input[
|
|
200
|
+
binding_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
201
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
|
+
securable_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
+
securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
204
|
+
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
206
205
|
__props__=None):
|
|
207
206
|
"""
|
|
208
|
-
If you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding
|
|
209
|
-
|
|
210
|
-
> This resource can only be used with a workspace-level provider!
|
|
211
|
-
|
|
212
|
-
By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.
|
|
213
|
-
|
|
214
|
-
> To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).
|
|
215
|
-
|
|
216
|
-
> If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.
|
|
217
|
-
|
|
218
|
-
## Example Usage
|
|
219
|
-
|
|
220
|
-
```python
|
|
221
|
-
import pulumi
|
|
222
|
-
import pulumi_databricks as databricks
|
|
223
|
-
|
|
224
|
-
sandbox = databricks.Catalog("sandbox",
|
|
225
|
-
name="sandbox",
|
|
226
|
-
isolation_mode="ISOLATED")
|
|
227
|
-
sandbox_workspace_binding = databricks.WorkspaceBinding("sandbox",
|
|
228
|
-
securable_name=sandbox.name,
|
|
229
|
-
workspace_id=other["workspaceId"])
|
|
230
|
-
```
|
|
231
|
-
|
|
232
207
|
## Import
|
|
233
208
|
|
|
234
209
|
This resource can be imported by using combination of workspace ID, securable type and name:
|
|
@@ -253,10 +228,10 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
253
228
|
|
|
254
229
|
:param str resource_name: The name of the resource.
|
|
255
230
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
256
|
-
:param pulumi.Input[
|
|
257
|
-
:param pulumi.Input[
|
|
258
|
-
:param pulumi.Input[
|
|
259
|
-
:param pulumi.Input[
|
|
231
|
+
:param pulumi.Input[_builtins.str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
232
|
+
:param pulumi.Input[_builtins.str] securable_name: Name of securable. Change forces creation of a new resource.
|
|
233
|
+
:param pulumi.Input[_builtins.str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
234
|
+
:param pulumi.Input[_builtins.str] workspace_id: ID of the workspace. Change forces creation of a new resource.
|
|
260
235
|
"""
|
|
261
236
|
...
|
|
262
237
|
@overload
|
|
@@ -265,30 +240,6 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
265
240
|
args: WorkspaceBindingArgs,
|
|
266
241
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
267
242
|
"""
|
|
268
|
-
If you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding
|
|
269
|
-
|
|
270
|
-
> This resource can only be used with a workspace-level provider!
|
|
271
|
-
|
|
272
|
-
By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.
|
|
273
|
-
|
|
274
|
-
> To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).
|
|
275
|
-
|
|
276
|
-
> If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.
|
|
277
|
-
|
|
278
|
-
## Example Usage
|
|
279
|
-
|
|
280
|
-
```python
|
|
281
|
-
import pulumi
|
|
282
|
-
import pulumi_databricks as databricks
|
|
283
|
-
|
|
284
|
-
sandbox = databricks.Catalog("sandbox",
|
|
285
|
-
name="sandbox",
|
|
286
|
-
isolation_mode="ISOLATED")
|
|
287
|
-
sandbox_workspace_binding = databricks.WorkspaceBinding("sandbox",
|
|
288
|
-
securable_name=sandbox.name,
|
|
289
|
-
workspace_id=other["workspaceId"])
|
|
290
|
-
```
|
|
291
|
-
|
|
292
243
|
## Import
|
|
293
244
|
|
|
294
245
|
This resource can be imported by using combination of workspace ID, securable type and name:
|
|
@@ -326,11 +277,11 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
326
277
|
def _internal_init(__self__,
|
|
327
278
|
resource_name: str,
|
|
328
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
329
|
-
binding_type: Optional[pulumi.Input[
|
|
330
|
-
catalog_name: Optional[pulumi.Input[
|
|
331
|
-
securable_name: Optional[pulumi.Input[
|
|
332
|
-
securable_type: Optional[pulumi.Input[
|
|
333
|
-
workspace_id: Optional[pulumi.Input[
|
|
280
|
+
binding_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
securable_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
284
|
+
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
334
285
|
__props__=None):
|
|
335
286
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
336
287
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -357,11 +308,11 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
357
308
|
def get(resource_name: str,
|
|
358
309
|
id: pulumi.Input[str],
|
|
359
310
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
360
|
-
binding_type: Optional[pulumi.Input[
|
|
361
|
-
catalog_name: Optional[pulumi.Input[
|
|
362
|
-
securable_name: Optional[pulumi.Input[
|
|
363
|
-
securable_type: Optional[pulumi.Input[
|
|
364
|
-
workspace_id: Optional[pulumi.Input[
|
|
311
|
+
binding_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
313
|
+
securable_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
314
|
+
securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
|
+
workspace_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'WorkspaceBinding':
|
|
365
316
|
"""
|
|
366
317
|
Get an existing WorkspaceBinding resource's state with the given name, id, and optional extra
|
|
367
318
|
properties used to qualify the lookup.
|
|
@@ -369,10 +320,10 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
369
320
|
:param str resource_name: The unique name of the resulting resource.
|
|
370
321
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
371
322
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
372
|
-
:param pulumi.Input[
|
|
373
|
-
:param pulumi.Input[
|
|
374
|
-
:param pulumi.Input[
|
|
375
|
-
:param pulumi.Input[
|
|
323
|
+
:param pulumi.Input[_builtins.str] binding_type: Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
324
|
+
:param pulumi.Input[_builtins.str] securable_name: Name of securable. Change forces creation of a new resource.
|
|
325
|
+
:param pulumi.Input[_builtins.str] securable_type: Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
326
|
+
:param pulumi.Input[_builtins.str] workspace_id: ID of the workspace. Change forces creation of a new resource.
|
|
376
327
|
"""
|
|
377
328
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
378
329
|
|
|
@@ -385,39 +336,39 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
385
336
|
__props__.__dict__["workspace_id"] = workspace_id
|
|
386
337
|
return WorkspaceBinding(resource_name, opts=opts, __props__=__props__)
|
|
387
338
|
|
|
388
|
-
@property
|
|
339
|
+
@_builtins.property
|
|
389
340
|
@pulumi.getter(name="bindingType")
|
|
390
|
-
def binding_type(self) -> pulumi.Output[Optional[
|
|
341
|
+
def binding_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
391
342
|
"""
|
|
392
343
|
Binding mode. Default to `BINDING_TYPE_READ_WRITE`. Possible values are `BINDING_TYPE_READ_ONLY`, `BINDING_TYPE_READ_WRITE`.
|
|
393
344
|
"""
|
|
394
345
|
return pulumi.get(self, "binding_type")
|
|
395
346
|
|
|
396
|
-
@property
|
|
347
|
+
@_builtins.property
|
|
397
348
|
@pulumi.getter(name="catalogName")
|
|
398
349
|
@_utilities.deprecated("""Please use 'securable_name' and 'securable_type instead.""")
|
|
399
|
-
def catalog_name(self) -> pulumi.Output[Optional[
|
|
350
|
+
def catalog_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
400
351
|
return pulumi.get(self, "catalog_name")
|
|
401
352
|
|
|
402
|
-
@property
|
|
353
|
+
@_builtins.property
|
|
403
354
|
@pulumi.getter(name="securableName")
|
|
404
|
-
def securable_name(self) -> pulumi.Output[
|
|
355
|
+
def securable_name(self) -> pulumi.Output[_builtins.str]:
|
|
405
356
|
"""
|
|
406
357
|
Name of securable. Change forces creation of a new resource.
|
|
407
358
|
"""
|
|
408
359
|
return pulumi.get(self, "securable_name")
|
|
409
360
|
|
|
410
|
-
@property
|
|
361
|
+
@_builtins.property
|
|
411
362
|
@pulumi.getter(name="securableType")
|
|
412
|
-
def securable_type(self) -> pulumi.Output[Optional[
|
|
363
|
+
def securable_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
413
364
|
"""
|
|
414
365
|
Type of securable. Can be `catalog`, `external_location`, `storage_credential` or `credential`. Default to `catalog`. Change forces creation of a new resource.
|
|
415
366
|
"""
|
|
416
367
|
return pulumi.get(self, "securable_type")
|
|
417
368
|
|
|
418
|
-
@property
|
|
369
|
+
@_builtins.property
|
|
419
370
|
@pulumi.getter(name="workspaceId")
|
|
420
|
-
def workspace_id(self) -> pulumi.Output[
|
|
371
|
+
def workspace_id(self) -> pulumi.Output[_builtins.str]:
|
|
421
372
|
"""
|
|
422
373
|
ID of the workspace. Change forces creation of a new resource.
|
|
423
374
|
"""
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,48 +19,48 @@ __all__ = ['WorkspaceConfArgs', 'WorkspaceConf']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class WorkspaceConfArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
22
|
+
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
24
23
|
"""
|
|
25
24
|
The set of arguments for constructing a WorkspaceConf resource.
|
|
26
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
25
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_config: Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
27
26
|
"""
|
|
28
27
|
if custom_config is not None:
|
|
29
28
|
pulumi.set(__self__, "custom_config", custom_config)
|
|
30
29
|
|
|
31
|
-
@property
|
|
30
|
+
@_builtins.property
|
|
32
31
|
@pulumi.getter(name="customConfig")
|
|
33
|
-
def custom_config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
32
|
+
def custom_config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
34
33
|
"""
|
|
35
34
|
Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
36
35
|
"""
|
|
37
36
|
return pulumi.get(self, "custom_config")
|
|
38
37
|
|
|
39
38
|
@custom_config.setter
|
|
40
|
-
def custom_config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
39
|
+
def custom_config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
41
40
|
pulumi.set(self, "custom_config", value)
|
|
42
41
|
|
|
43
42
|
|
|
44
43
|
@pulumi.input_type
|
|
45
44
|
class _WorkspaceConfState:
|
|
46
45
|
def __init__(__self__, *,
|
|
47
|
-
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
46
|
+
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
48
47
|
"""
|
|
49
48
|
Input properties used for looking up and filtering WorkspaceConf resources.
|
|
50
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
49
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_config: Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
51
50
|
"""
|
|
52
51
|
if custom_config is not None:
|
|
53
52
|
pulumi.set(__self__, "custom_config", custom_config)
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter(name="customConfig")
|
|
57
|
-
def custom_config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
56
|
+
def custom_config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
58
57
|
"""
|
|
59
58
|
Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "custom_config")
|
|
62
61
|
|
|
63
62
|
@custom_config.setter
|
|
64
|
-
def custom_config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
63
|
+
def custom_config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
65
64
|
pulumi.set(self, "custom_config", value)
|
|
66
65
|
|
|
67
66
|
|
|
@@ -71,7 +70,7 @@ class WorkspaceConf(pulumi.CustomResource):
|
|
|
71
70
|
def __init__(__self__,
|
|
72
71
|
resource_name: str,
|
|
73
72
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
74
|
-
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
73
|
+
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
75
74
|
__props__=None):
|
|
76
75
|
"""
|
|
77
76
|
Manages workspace configuration for expert usage. Currently, more than one instance of resource can exist in Pulumi state, though there's no deterministic behavior, when they manage the same property. We strongly recommend to use a single `WorkspaceConf` per workspace.
|
|
@@ -107,7 +106,7 @@ class WorkspaceConf(pulumi.CustomResource):
|
|
|
107
106
|
|
|
108
107
|
:param str resource_name: The name of the resource.
|
|
109
108
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
110
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
109
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_config: Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
111
110
|
"""
|
|
112
111
|
...
|
|
113
112
|
@overload
|
|
@@ -162,7 +161,7 @@ class WorkspaceConf(pulumi.CustomResource):
|
|
|
162
161
|
def _internal_init(__self__,
|
|
163
162
|
resource_name: str,
|
|
164
163
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
165
|
-
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
164
|
+
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
166
165
|
__props__=None):
|
|
167
166
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
168
167
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -183,7 +182,7 @@ class WorkspaceConf(pulumi.CustomResource):
|
|
|
183
182
|
def get(resource_name: str,
|
|
184
183
|
id: pulumi.Input[str],
|
|
185
184
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
186
|
-
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
185
|
+
custom_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'WorkspaceConf':
|
|
187
186
|
"""
|
|
188
187
|
Get an existing WorkspaceConf resource's state with the given name, id, and optional extra
|
|
189
188
|
properties used to qualify the lookup.
|
|
@@ -191,7 +190,7 @@ class WorkspaceConf(pulumi.CustomResource):
|
|
|
191
190
|
:param str resource_name: The unique name of the resulting resource.
|
|
192
191
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
193
192
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
194
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
193
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_config: Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
195
194
|
"""
|
|
196
195
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
197
196
|
|
|
@@ -200,9 +199,9 @@ class WorkspaceConf(pulumi.CustomResource):
|
|
|
200
199
|
__props__.__dict__["custom_config"] = custom_config
|
|
201
200
|
return WorkspaceConf(resource_name, opts=opts, __props__=__props__)
|
|
202
201
|
|
|
203
|
-
@property
|
|
202
|
+
@_builtins.property
|
|
204
203
|
@pulumi.getter(name="customConfig")
|
|
205
|
-
def custom_config(self) -> pulumi.Output[Optional[Mapping[str,
|
|
204
|
+
def custom_config(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
206
205
|
"""
|
|
207
206
|
Key-value map of strings that represent workspace configuration. Upon resource deletion, properties that start with `enable` or `enforce` will be reset to `false` value, regardless of initial default one.
|
|
208
207
|
"""
|