pulumi-databricks 1.78.0a1762407761__py3-none-any.whl → 1.79.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.
Files changed (86) hide show
  1. pulumi_databricks/__init__.py +23 -0
  2. pulumi_databricks/_inputs.py +1630 -181
  3. pulumi_databricks/access_control_rule_set.py +81 -0
  4. pulumi_databricks/account_federation_policy.py +24 -0
  5. pulumi_databricks/account_network_policy.py +50 -0
  6. pulumi_databricks/account_setting_v2.py +181 -12
  7. pulumi_databricks/alert_v2.py +74 -2
  8. pulumi_databricks/app.py +71 -7
  9. pulumi_databricks/apps_settings_custom_template.py +102 -0
  10. pulumi_databricks/catalog.py +8 -8
  11. pulumi_databricks/cluster_policy.py +120 -0
  12. pulumi_databricks/config/__init__.pyi +4 -0
  13. pulumi_databricks/config/vars.py +8 -0
  14. pulumi_databricks/credential.py +7 -7
  15. pulumi_databricks/dashboard.py +94 -0
  16. pulumi_databricks/data_quality_monitor.py +2 -2
  17. pulumi_databricks/data_quality_refresh.py +78 -2
  18. pulumi_databricks/database_synced_database_table.py +212 -0
  19. pulumi_databricks/external_location.py +131 -7
  20. pulumi_databricks/feature_engineering_feature.py +52 -19
  21. pulumi_databricks/feature_engineering_kafka_config.py +463 -0
  22. pulumi_databricks/feature_engineering_materialized_feature.py +47 -0
  23. pulumi_databricks/file.py +2 -2
  24. pulumi_databricks/get_account_setting_v2.py +16 -16
  25. pulumi_databricks/get_alert_v2.py +2 -2
  26. pulumi_databricks/get_alerts_v2.py +2 -2
  27. pulumi_databricks/get_aws_assume_role_policy.py +14 -14
  28. pulumi_databricks/get_aws_bucket_policy.py +10 -10
  29. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
  30. pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
  31. pulumi_databricks/get_cluster.py +54 -0
  32. pulumi_databricks/get_current_config.py +4 -4
  33. pulumi_databricks/get_dashboards.py +32 -0
  34. pulumi_databricks/get_data_quality_monitor.py +2 -2
  35. pulumi_databricks/get_data_quality_monitors.py +2 -2
  36. pulumi_databricks/get_data_quality_refresh.py +2 -2
  37. pulumi_databricks/get_data_quality_refreshes.py +2 -2
  38. pulumi_databricks/get_feature_engineering_feature.py +12 -1
  39. pulumi_databricks/get_feature_engineering_kafka_config.py +182 -0
  40. pulumi_databricks/get_feature_engineering_kafka_configs.py +103 -0
  41. pulumi_databricks/get_feature_engineering_materialized_feature.py +16 -2
  42. pulumi_databricks/get_metastore.py +6 -6
  43. pulumi_databricks/get_notebook.py +20 -1
  44. pulumi_databricks/get_policy_info.py +36 -2
  45. pulumi_databricks/get_policy_infos.py +34 -2
  46. pulumi_databricks/get_service_principals.py +93 -7
  47. pulumi_databricks/get_spark_version.py +2 -2
  48. pulumi_databricks/get_tag_policies.py +2 -2
  49. pulumi_databricks/get_tag_policy.py +2 -2
  50. pulumi_databricks/get_users.py +194 -0
  51. pulumi_databricks/get_workspace_entity_tag_assignment.py +180 -0
  52. pulumi_databricks/get_workspace_entity_tag_assignments.py +171 -0
  53. pulumi_databricks/get_workspace_setting_v2.py +16 -16
  54. pulumi_databricks/instance_profile.py +0 -182
  55. pulumi_databricks/lakehouse_monitor.py +2 -2
  56. pulumi_databricks/metastore.py +81 -7
  57. pulumi_databricks/metastore_data_access.py +48 -0
  58. pulumi_databricks/mlflow_webhook.py +4 -4
  59. pulumi_databricks/mws_credentials.py +10 -10
  60. pulumi_databricks/mws_customer_managed_keys.py +0 -288
  61. pulumi_databricks/mws_log_delivery.py +146 -0
  62. pulumi_databricks/mws_storage_configurations.py +16 -16
  63. pulumi_databricks/mws_vpc_endpoint.py +56 -56
  64. pulumi_databricks/mws_workspaces.py +115 -55
  65. pulumi_databricks/notebook.py +49 -0
  66. pulumi_databricks/outputs.py +2017 -240
  67. pulumi_databricks/permission_assignment.py +49 -0
  68. pulumi_databricks/permissions.py +6 -6
  69. pulumi_databricks/pipeline.py +7 -7
  70. pulumi_databricks/policy_info.py +122 -2
  71. pulumi_databricks/provider.py +36 -1
  72. pulumi_databricks/pulumi-plugin.json +1 -1
  73. pulumi_databricks/recipient.py +74 -0
  74. pulumi_databricks/registered_model.py +7 -7
  75. pulumi_databricks/rfa_access_request_destinations.py +86 -19
  76. pulumi_databricks/schema.py +7 -7
  77. pulumi_databricks/service_principal_federation_policy.py +28 -0
  78. pulumi_databricks/sql_table.py +7 -7
  79. pulumi_databricks/tag_policy.py +2 -2
  80. pulumi_databricks/volume.py +7 -7
  81. pulumi_databricks/workspace_entity_tag_assignment.py +375 -0
  82. pulumi_databricks/workspace_setting_v2.py +181 -12
  83. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/METADATA +1 -1
  84. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/RECORD +86 -79
  85. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/WHEEL +0 -0
  86. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,171 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetWorkspaceEntityTagAssignmentsResult',
20
+ 'AwaitableGetWorkspaceEntityTagAssignmentsResult',
21
+ 'get_workspace_entity_tag_assignments',
22
+ 'get_workspace_entity_tag_assignments_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetWorkspaceEntityTagAssignmentsResult:
27
+ """
28
+ A collection of values returned by getWorkspaceEntityTagAssignments.
29
+ """
30
+ def __init__(__self__, entity_id=None, entity_type=None, id=None, page_size=None, tag_assignments=None):
31
+ if entity_id and not isinstance(entity_id, str):
32
+ raise TypeError("Expected argument 'entity_id' to be a str")
33
+ pulumi.set(__self__, "entity_id", entity_id)
34
+ if entity_type and not isinstance(entity_type, str):
35
+ raise TypeError("Expected argument 'entity_type' to be a str")
36
+ pulumi.set(__self__, "entity_type", entity_type)
37
+ if id and not isinstance(id, str):
38
+ raise TypeError("Expected argument 'id' to be a str")
39
+ pulumi.set(__self__, "id", id)
40
+ if page_size and not isinstance(page_size, int):
41
+ raise TypeError("Expected argument 'page_size' to be a int")
42
+ pulumi.set(__self__, "page_size", page_size)
43
+ if tag_assignments and not isinstance(tag_assignments, list):
44
+ raise TypeError("Expected argument 'tag_assignments' to be a list")
45
+ pulumi.set(__self__, "tag_assignments", tag_assignments)
46
+
47
+ @_builtins.property
48
+ @pulumi.getter(name="entityId")
49
+ def entity_id(self) -> _builtins.str:
50
+ """
51
+ (string) - The identifier of the entity to which the tag is assigned
52
+ """
53
+ return pulumi.get(self, "entity_id")
54
+
55
+ @_builtins.property
56
+ @pulumi.getter(name="entityType")
57
+ def entity_type(self) -> _builtins.str:
58
+ """
59
+ (string) - The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
60
+ """
61
+ return pulumi.get(self, "entity_type")
62
+
63
+ @_builtins.property
64
+ @pulumi.getter
65
+ def id(self) -> _builtins.str:
66
+ """
67
+ The provider-assigned unique ID for this managed resource.
68
+ """
69
+ return pulumi.get(self, "id")
70
+
71
+ @_builtins.property
72
+ @pulumi.getter(name="pageSize")
73
+ def page_size(self) -> Optional[_builtins.int]:
74
+ return pulumi.get(self, "page_size")
75
+
76
+ @_builtins.property
77
+ @pulumi.getter(name="tagAssignments")
78
+ def tag_assignments(self) -> Sequence['outputs.GetWorkspaceEntityTagAssignmentsTagAssignmentResult']:
79
+ return pulumi.get(self, "tag_assignments")
80
+
81
+
82
+ class AwaitableGetWorkspaceEntityTagAssignmentsResult(GetWorkspaceEntityTagAssignmentsResult):
83
+ # pylint: disable=using-constant-test
84
+ def __await__(self):
85
+ if False:
86
+ yield self
87
+ return GetWorkspaceEntityTagAssignmentsResult(
88
+ entity_id=self.entity_id,
89
+ entity_type=self.entity_type,
90
+ id=self.id,
91
+ page_size=self.page_size,
92
+ tag_assignments=self.tag_assignments)
93
+
94
+
95
+ def get_workspace_entity_tag_assignments(entity_id: Optional[_builtins.str] = None,
96
+ entity_type: Optional[_builtins.str] = None,
97
+ page_size: Optional[_builtins.int] = None,
98
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceEntityTagAssignmentsResult:
99
+ """
100
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
101
+
102
+ This data source allows you to retrieve tag assignments that have been applied to a particular workspace scoped entity.
103
+
104
+ ## Example Usage
105
+
106
+ ```python
107
+ import pulumi
108
+ import pulumi_databricks as databricks
109
+
110
+ dashboard_tags = databricks.get_workspace_entity_tag_assignments(entity_type="dashboards",
111
+ entity_id="2807324866692453")
112
+ geniespace_tags = databricks.get_workspace_entity_tag_assignments(entity_type="geniespaces",
113
+ entity_id="2807324866692453")
114
+ ```
115
+
116
+
117
+ :param _builtins.str entity_id: The identifier of the entity to which the tag is assigned
118
+ :param _builtins.str entity_type: The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
119
+ :param _builtins.int page_size: Optional. Maximum number of tag assignments to return in a single page
120
+ """
121
+ __args__ = dict()
122
+ __args__['entityId'] = entity_id
123
+ __args__['entityType'] = entity_type
124
+ __args__['pageSize'] = page_size
125
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
126
+ __ret__ = pulumi.runtime.invoke('databricks:index/getWorkspaceEntityTagAssignments:getWorkspaceEntityTagAssignments', __args__, opts=opts, typ=GetWorkspaceEntityTagAssignmentsResult).value
127
+
128
+ return AwaitableGetWorkspaceEntityTagAssignmentsResult(
129
+ entity_id=pulumi.get(__ret__, 'entity_id'),
130
+ entity_type=pulumi.get(__ret__, 'entity_type'),
131
+ id=pulumi.get(__ret__, 'id'),
132
+ page_size=pulumi.get(__ret__, 'page_size'),
133
+ tag_assignments=pulumi.get(__ret__, 'tag_assignments'))
134
+ def get_workspace_entity_tag_assignments_output(entity_id: Optional[pulumi.Input[_builtins.str]] = None,
135
+ entity_type: Optional[pulumi.Input[_builtins.str]] = None,
136
+ page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
137
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkspaceEntityTagAssignmentsResult]:
138
+ """
139
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
140
+
141
+ This data source allows you to retrieve tag assignments that have been applied to a particular workspace scoped entity.
142
+
143
+ ## Example Usage
144
+
145
+ ```python
146
+ import pulumi
147
+ import pulumi_databricks as databricks
148
+
149
+ dashboard_tags = databricks.get_workspace_entity_tag_assignments(entity_type="dashboards",
150
+ entity_id="2807324866692453")
151
+ geniespace_tags = databricks.get_workspace_entity_tag_assignments(entity_type="geniespaces",
152
+ entity_id="2807324866692453")
153
+ ```
154
+
155
+
156
+ :param _builtins.str entity_id: The identifier of the entity to which the tag is assigned
157
+ :param _builtins.str entity_type: The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
158
+ :param _builtins.int page_size: Optional. Maximum number of tag assignments to return in a single page
159
+ """
160
+ __args__ = dict()
161
+ __args__['entityId'] = entity_id
162
+ __args__['entityType'] = entity_type
163
+ __args__['pageSize'] = page_size
164
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
165
+ __ret__ = pulumi.runtime.invoke_output('databricks:index/getWorkspaceEntityTagAssignments:getWorkspaceEntityTagAssignments', __args__, opts=opts, typ=GetWorkspaceEntityTagAssignmentsResult)
166
+ return __ret__.apply(lambda __response__: GetWorkspaceEntityTagAssignmentsResult(
167
+ entity_id=pulumi.get(__response__, 'entity_id'),
168
+ entity_type=pulumi.get(__response__, 'entity_type'),
169
+ id=pulumi.get(__response__, 'id'),
170
+ page_size=pulumi.get(__response__, 'page_size'),
171
+ tag_assignments=pulumi.get(__response__, 'tag_assignments')))
@@ -87,7 +87,7 @@ class GetWorkspaceSettingV2Result:
87
87
  @pulumi.getter(name="aibiDashboardEmbeddingAccessPolicy")
88
88
  def aibi_dashboard_embedding_access_policy(self) -> 'outputs.GetWorkspaceSettingV2AibiDashboardEmbeddingAccessPolicyResult':
89
89
  """
90
- (AibiDashboardEmbeddingAccessPolicy)
90
+ (AibiDashboardEmbeddingAccessPolicy) - Setting value for aibi_dashboard_embedding_access_policy setting. This is the setting value set by consumers, check effective_aibi_dashboard_embedding_access_policy for final setting value
91
91
  """
92
92
  return pulumi.get(self, "aibi_dashboard_embedding_access_policy")
93
93
 
@@ -95,7 +95,7 @@ class GetWorkspaceSettingV2Result:
95
95
  @pulumi.getter(name="aibiDashboardEmbeddingApprovedDomains")
96
96
  def aibi_dashboard_embedding_approved_domains(self) -> 'outputs.GetWorkspaceSettingV2AibiDashboardEmbeddingApprovedDomainsResult':
97
97
  """
98
- (AibiDashboardEmbeddingApprovedDomains)
98
+ (AibiDashboardEmbeddingApprovedDomains) - Setting value for aibi_dashboard_embedding_approved_domains setting. This is the setting value set by consumers, check effective_aibi_dashboard_embedding_approved_domains for final setting value
99
99
  """
100
100
  return pulumi.get(self, "aibi_dashboard_embedding_approved_domains")
101
101
 
@@ -103,7 +103,7 @@ class GetWorkspaceSettingV2Result:
103
103
  @pulumi.getter(name="automaticClusterUpdateWorkspace")
104
104
  def automatic_cluster_update_workspace(self) -> 'outputs.GetWorkspaceSettingV2AutomaticClusterUpdateWorkspaceResult':
105
105
  """
106
- (ClusterAutoRestartMessage)
106
+ (ClusterAutoRestartMessage) - Setting value for automatic_cluster_update_workspace setting. This is the setting value set by consumers, check effective_automatic_cluster_update_workspace for final setting value
107
107
  """
108
108
  return pulumi.get(self, "automatic_cluster_update_workspace")
109
109
 
@@ -111,7 +111,7 @@ class GetWorkspaceSettingV2Result:
111
111
  @pulumi.getter(name="booleanVal")
112
112
  def boolean_val(self) -> 'outputs.GetWorkspaceSettingV2BooleanValResult':
113
113
  """
114
- (BooleanMessage)
114
+ (BooleanMessage) - Setting value for boolean type setting. This is the setting value set by consumers, check effective_boolean_val for final setting value
115
115
  """
116
116
  return pulumi.get(self, "boolean_val")
117
117
 
@@ -119,7 +119,7 @@ class GetWorkspaceSettingV2Result:
119
119
  @pulumi.getter(name="effectiveAibiDashboardEmbeddingAccessPolicy")
120
120
  def effective_aibi_dashboard_embedding_access_policy(self) -> 'outputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyResult':
121
121
  """
122
- (AibiDashboardEmbeddingAccessPolicy)
122
+ (AibiDashboardEmbeddingAccessPolicy) - Effective setting value for aibi_dashboard_embedding_access_policy setting. This is the final effective value of setting. To set a value use aibi_dashboard_embedding_access_policy
123
123
  """
124
124
  return pulumi.get(self, "effective_aibi_dashboard_embedding_access_policy")
125
125
 
@@ -127,7 +127,7 @@ class GetWorkspaceSettingV2Result:
127
127
  @pulumi.getter(name="effectiveAibiDashboardEmbeddingApprovedDomains")
128
128
  def effective_aibi_dashboard_embedding_approved_domains(self) -> 'outputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsResult':
129
129
  """
130
- (AibiDashboardEmbeddingApprovedDomains)
130
+ (AibiDashboardEmbeddingApprovedDomains) - Effective setting value for aibi_dashboard_embedding_approved_domains setting. This is the final effective value of setting. To set a value use aibi_dashboard_embedding_approved_domains
131
131
  """
132
132
  return pulumi.get(self, "effective_aibi_dashboard_embedding_approved_domains")
133
133
 
@@ -135,7 +135,7 @@ class GetWorkspaceSettingV2Result:
135
135
  @pulumi.getter(name="effectiveAutomaticClusterUpdateWorkspace")
136
136
  def effective_automatic_cluster_update_workspace(self) -> 'outputs.GetWorkspaceSettingV2EffectiveAutomaticClusterUpdateWorkspaceResult':
137
137
  """
138
- (ClusterAutoRestartMessage)
138
+ (ClusterAutoRestartMessage) - Effective setting value for automatic_cluster_update_workspace setting. This is the final effective value of setting. To set a value use automatic_cluster_update_workspace
139
139
  """
140
140
  return pulumi.get(self, "effective_automatic_cluster_update_workspace")
141
141
 
@@ -143,7 +143,7 @@ class GetWorkspaceSettingV2Result:
143
143
  @pulumi.getter(name="effectiveBooleanVal")
144
144
  def effective_boolean_val(self) -> 'outputs.GetWorkspaceSettingV2EffectiveBooleanValResult':
145
145
  """
146
- (BooleanMessage)
146
+ (BooleanMessage) - Effective setting value for boolean type setting. This is the final effective value of setting. To set a value use boolean_val
147
147
  """
148
148
  return pulumi.get(self, "effective_boolean_val")
149
149
 
@@ -151,7 +151,7 @@ class GetWorkspaceSettingV2Result:
151
151
  @pulumi.getter(name="effectiveIntegerVal")
152
152
  def effective_integer_val(self) -> 'outputs.GetWorkspaceSettingV2EffectiveIntegerValResult':
153
153
  """
154
- (IntegerMessage)
154
+ (IntegerMessage) - Effective setting value for integer type setting. This is the final effective value of setting. To set a value use integer_val
155
155
  """
156
156
  return pulumi.get(self, "effective_integer_val")
157
157
 
@@ -159,7 +159,7 @@ class GetWorkspaceSettingV2Result:
159
159
  @pulumi.getter(name="effectivePersonalCompute")
160
160
  def effective_personal_compute(self) -> 'outputs.GetWorkspaceSettingV2EffectivePersonalComputeResult':
161
161
  """
162
- (PersonalComputeMessage)
162
+ (PersonalComputeMessage) - Effective setting value for personal_compute setting. This is the final effective value of setting. To set a value use personal_compute
163
163
  """
164
164
  return pulumi.get(self, "effective_personal_compute")
165
165
 
@@ -167,7 +167,7 @@ class GetWorkspaceSettingV2Result:
167
167
  @pulumi.getter(name="effectiveRestrictWorkspaceAdmins")
168
168
  def effective_restrict_workspace_admins(self) -> 'outputs.GetWorkspaceSettingV2EffectiveRestrictWorkspaceAdminsResult':
169
169
  """
170
- (RestrictWorkspaceAdminsMessage)
170
+ (RestrictWorkspaceAdminsMessage) - Effective setting value for restrict_workspace_admins setting. This is the final effective value of setting. To set a value use restrict_workspace_admins
171
171
  """
172
172
  return pulumi.get(self, "effective_restrict_workspace_admins")
173
173
 
@@ -175,7 +175,7 @@ class GetWorkspaceSettingV2Result:
175
175
  @pulumi.getter(name="effectiveStringVal")
176
176
  def effective_string_val(self) -> 'outputs.GetWorkspaceSettingV2EffectiveStringValResult':
177
177
  """
178
- (StringMessage)
178
+ (StringMessage) - Effective setting value for string type setting. This is the final effective value of setting. To set a value use string_val
179
179
  """
180
180
  return pulumi.get(self, "effective_string_val")
181
181
 
@@ -191,7 +191,7 @@ class GetWorkspaceSettingV2Result:
191
191
  @pulumi.getter(name="integerVal")
192
192
  def integer_val(self) -> 'outputs.GetWorkspaceSettingV2IntegerValResult':
193
193
  """
194
- (IntegerMessage)
194
+ (IntegerMessage) - Setting value for integer type setting. This is the setting value set by consumers, check effective_integer_val for final setting value
195
195
  """
196
196
  return pulumi.get(self, "integer_val")
197
197
 
@@ -207,7 +207,7 @@ class GetWorkspaceSettingV2Result:
207
207
  @pulumi.getter(name="personalCompute")
208
208
  def personal_compute(self) -> 'outputs.GetWorkspaceSettingV2PersonalComputeResult':
209
209
  """
210
- (PersonalComputeMessage)
210
+ (PersonalComputeMessage) - Setting value for personal_compute setting. This is the setting value set by consumers, check effective_personal_compute for final setting value
211
211
  """
212
212
  return pulumi.get(self, "personal_compute")
213
213
 
@@ -215,7 +215,7 @@ class GetWorkspaceSettingV2Result:
215
215
  @pulumi.getter(name="restrictWorkspaceAdmins")
216
216
  def restrict_workspace_admins(self) -> 'outputs.GetWorkspaceSettingV2RestrictWorkspaceAdminsResult':
217
217
  """
218
- (RestrictWorkspaceAdminsMessage)
218
+ (RestrictWorkspaceAdminsMessage) - Setting value for restrict_workspace_admins setting. This is the setting value set by consumers, check effective_restrict_workspace_admins for final setting value
219
219
  """
220
220
  return pulumi.get(self, "restrict_workspace_admins")
221
221
 
@@ -223,7 +223,7 @@ class GetWorkspaceSettingV2Result:
223
223
  @pulumi.getter(name="stringVal")
224
224
  def string_val(self) -> 'outputs.GetWorkspaceSettingV2StringValResult':
225
225
  """
226
- (StringMessage)
226
+ (StringMessage) - Setting value for string type setting. This is the setting value set by consumers, check effective_string_val for final setting value
227
227
  """
228
228
  return pulumi.get(self, "string_val")
229
229
 
@@ -177,62 +177,6 @@ class InstanceProfile(pulumi.CustomResource):
177
177
 
178
178
  > Please switch to StorageCredential with Unity Catalog to manage storage credentials, which provides a better and faster way for managing credential security.
179
179
 
180
- ```python
181
- import pulumi
182
- import pulumi_aws as aws
183
- import pulumi_databricks as databricks
184
-
185
- config = pulumi.Config()
186
- # Role that you've specified on https://accounts.cloud.databricks.com/#aws
187
- crossaccount_role_name = config.require("crossaccountRoleName")
188
- assume_role_for_ec2 = aws.iam.get_policy_document(statements=[{
189
- "effect": "Allow",
190
- "actions": ["sts:AssumeRole"],
191
- "principals": [{
192
- "identifiers": ["ec2.amazonaws.com"],
193
- "type": "Service",
194
- }],
195
- }])
196
- role_for_s3_access = aws.iam.Role("role_for_s3_access",
197
- name="shared-ec2-role-for-s3",
198
- description="Role for shared access",
199
- assume_role_policy=assume_role_for_ec2.json)
200
- pass_role_for_s3_access = aws.iam.get_policy_document_output(statements=[{
201
- "effect": "Allow",
202
- "actions": ["iam:PassRole"],
203
- "resources": [role_for_s3_access.arn],
204
- }])
205
- pass_role_for_s3_access_policy = aws.iam.Policy("pass_role_for_s3_access",
206
- name="shared-pass-role-for-s3-access",
207
- path="/",
208
- policy=pass_role_for_s3_access.json)
209
- cross_account = aws.iam.RolePolicyAttachment("cross_account",
210
- policy_arn=pass_role_for_s3_access_policy.arn,
211
- role=crossaccount_role_name)
212
- shared = aws.iam.InstanceProfile("shared",
213
- name="shared-instance-profile",
214
- role=role_for_s3_access.name)
215
- shared_instance_profile = databricks.InstanceProfile("shared", instance_profile_arn=shared.arn)
216
- latest = databricks.get_spark_version()
217
- smallest = databricks.get_node_type(local_disk=True)
218
- this = databricks.Cluster("this",
219
- cluster_name="Shared Autoscaling",
220
- spark_version=latest.id,
221
- node_type_id=smallest.id,
222
- autotermination_minutes=20,
223
- autoscale={
224
- "min_workers": 1,
225
- "max_workers": 50,
226
- },
227
- aws_attributes={
228
- "instance_profile_arn": shared_instance_profile.id,
229
- "availability": "SPOT",
230
- "zone_id": "us-east-1",
231
- "first_on_demand": 1,
232
- "spot_bid_price_percent": 100,
233
- })
234
- ```
235
-
236
180
  ## Usage with Cluster Policies
237
181
 
238
182
  It is advised to keep all common configurations in Cluster Policies to maintain control of the environments launched, so `Cluster` above could be replaced with `ClusterPolicy`:
@@ -267,41 +211,6 @@ class InstanceProfile(pulumi.CustomResource):
267
211
  instance_profile_id=this.id)
268
212
  ```
269
213
 
270
- ## Usage with Databricks SQL serverless
271
-
272
- When the instance profile ARN and its associated IAM role ARN don't match and the instance profile is intended for use with Databricks SQL serverless, the `iam_role_arn` parameter can be specified.
273
-
274
- ```python
275
- import pulumi
276
- import pulumi_aws as aws
277
- import pulumi_databricks as databricks
278
-
279
- sql_serverless_assume_role = aws.iam.get_policy_document(statements=[{
280
- "actions": ["sts:AssumeRole"],
281
- "principals": [{
282
- "type": "AWS",
283
- "identifiers": ["arn:aws:iam::790110701330:role/serverless-customer-resource-role"],
284
- }],
285
- "conditions": [{
286
- "test": "StringEquals",
287
- "variable": "sts:ExternalID",
288
- "values": [
289
- "databricks-serverless-<YOUR_WORKSPACE_ID1>",
290
- "databricks-serverless-<YOUR_WORKSPACE_ID2>",
291
- ],
292
- }],
293
- }])
294
- this = aws.iam.Role("this",
295
- name="my-databricks-sql-serverless-role",
296
- assume_role_policy=sql_serverless_assume_role.json)
297
- this_instance_profile = aws.iam.InstanceProfile("this",
298
- name="my-databricks-sql-serverless-instance-profile",
299
- role=this.name)
300
- this_instance_profile2 = databricks.InstanceProfile("this",
301
- instance_profile_arn=this_instance_profile.arn,
302
- iam_role_arn=this.arn)
303
- ```
304
-
305
214
  ## Import
306
215
 
307
216
  The resource instance profile can be imported using the ARN of it
@@ -344,62 +253,6 @@ class InstanceProfile(pulumi.CustomResource):
344
253
 
345
254
  > Please switch to StorageCredential with Unity Catalog to manage storage credentials, which provides a better and faster way for managing credential security.
346
255
 
347
- ```python
348
- import pulumi
349
- import pulumi_aws as aws
350
- import pulumi_databricks as databricks
351
-
352
- config = pulumi.Config()
353
- # Role that you've specified on https://accounts.cloud.databricks.com/#aws
354
- crossaccount_role_name = config.require("crossaccountRoleName")
355
- assume_role_for_ec2 = aws.iam.get_policy_document(statements=[{
356
- "effect": "Allow",
357
- "actions": ["sts:AssumeRole"],
358
- "principals": [{
359
- "identifiers": ["ec2.amazonaws.com"],
360
- "type": "Service",
361
- }],
362
- }])
363
- role_for_s3_access = aws.iam.Role("role_for_s3_access",
364
- name="shared-ec2-role-for-s3",
365
- description="Role for shared access",
366
- assume_role_policy=assume_role_for_ec2.json)
367
- pass_role_for_s3_access = aws.iam.get_policy_document_output(statements=[{
368
- "effect": "Allow",
369
- "actions": ["iam:PassRole"],
370
- "resources": [role_for_s3_access.arn],
371
- }])
372
- pass_role_for_s3_access_policy = aws.iam.Policy("pass_role_for_s3_access",
373
- name="shared-pass-role-for-s3-access",
374
- path="/",
375
- policy=pass_role_for_s3_access.json)
376
- cross_account = aws.iam.RolePolicyAttachment("cross_account",
377
- policy_arn=pass_role_for_s3_access_policy.arn,
378
- role=crossaccount_role_name)
379
- shared = aws.iam.InstanceProfile("shared",
380
- name="shared-instance-profile",
381
- role=role_for_s3_access.name)
382
- shared_instance_profile = databricks.InstanceProfile("shared", instance_profile_arn=shared.arn)
383
- latest = databricks.get_spark_version()
384
- smallest = databricks.get_node_type(local_disk=True)
385
- this = databricks.Cluster("this",
386
- cluster_name="Shared Autoscaling",
387
- spark_version=latest.id,
388
- node_type_id=smallest.id,
389
- autotermination_minutes=20,
390
- autoscale={
391
- "min_workers": 1,
392
- "max_workers": 50,
393
- },
394
- aws_attributes={
395
- "instance_profile_arn": shared_instance_profile.id,
396
- "availability": "SPOT",
397
- "zone_id": "us-east-1",
398
- "first_on_demand": 1,
399
- "spot_bid_price_percent": 100,
400
- })
401
- ```
402
-
403
256
  ## Usage with Cluster Policies
404
257
 
405
258
  It is advised to keep all common configurations in Cluster Policies to maintain control of the environments launched, so `Cluster` above could be replaced with `ClusterPolicy`:
@@ -434,41 +287,6 @@ class InstanceProfile(pulumi.CustomResource):
434
287
  instance_profile_id=this.id)
435
288
  ```
436
289
 
437
- ## Usage with Databricks SQL serverless
438
-
439
- When the instance profile ARN and its associated IAM role ARN don't match and the instance profile is intended for use with Databricks SQL serverless, the `iam_role_arn` parameter can be specified.
440
-
441
- ```python
442
- import pulumi
443
- import pulumi_aws as aws
444
- import pulumi_databricks as databricks
445
-
446
- sql_serverless_assume_role = aws.iam.get_policy_document(statements=[{
447
- "actions": ["sts:AssumeRole"],
448
- "principals": [{
449
- "type": "AWS",
450
- "identifiers": ["arn:aws:iam::790110701330:role/serverless-customer-resource-role"],
451
- }],
452
- "conditions": [{
453
- "test": "StringEquals",
454
- "variable": "sts:ExternalID",
455
- "values": [
456
- "databricks-serverless-<YOUR_WORKSPACE_ID1>",
457
- "databricks-serverless-<YOUR_WORKSPACE_ID2>",
458
- ],
459
- }],
460
- }])
461
- this = aws.iam.Role("this",
462
- name="my-databricks-sql-serverless-role",
463
- assume_role_policy=sql_serverless_assume_role.json)
464
- this_instance_profile = aws.iam.InstanceProfile("this",
465
- name="my-databricks-sql-serverless-instance-profile",
466
- role=this.name)
467
- this_instance_profile2 = databricks.InstanceProfile("this",
468
- instance_profile_arn=this_instance_profile.arn,
469
- iam_role_arn=this.arn)
470
- ```
471
-
472
290
  ## Import
473
291
 
474
292
  The resource instance profile can be imported using the ARN of it
@@ -610,7 +610,7 @@ class LakehouseMonitor(pulumi.CustomResource):
610
610
  warehouse_id: Optional[pulumi.Input[_builtins.str]] = None,
611
611
  __props__=None):
612
612
  """
613
- NOTE: This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead.
613
+ !> This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead.
614
614
 
615
615
  This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks.
616
616
 
@@ -727,7 +727,7 @@ class LakehouseMonitor(pulumi.CustomResource):
727
727
  args: LakehouseMonitorArgs,
728
728
  opts: Optional[pulumi.ResourceOptions] = None):
729
729
  """
730
- NOTE: This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead.
730
+ !> This resource has been deprecated and will be removed soon. Please use the QualityMonitor resource instead.
731
731
 
732
732
  This resource allows you to manage [Lakehouse Monitors](https://docs.databricks.com/en/lakehouse-monitoring/index.html) in Databricks.
733
733