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.
- pulumi_databricks/__init__.py +23 -0
- pulumi_databricks/_inputs.py +1630 -181
- pulumi_databricks/access_control_rule_set.py +81 -0
- pulumi_databricks/account_federation_policy.py +24 -0
- pulumi_databricks/account_network_policy.py +50 -0
- pulumi_databricks/account_setting_v2.py +181 -12
- pulumi_databricks/alert_v2.py +74 -2
- pulumi_databricks/app.py +71 -7
- pulumi_databricks/apps_settings_custom_template.py +102 -0
- pulumi_databricks/catalog.py +8 -8
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/credential.py +7 -7
- pulumi_databricks/dashboard.py +94 -0
- pulumi_databricks/data_quality_monitor.py +2 -2
- pulumi_databricks/data_quality_refresh.py +78 -2
- pulumi_databricks/database_synced_database_table.py +212 -0
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/feature_engineering_feature.py +52 -19
- pulumi_databricks/feature_engineering_kafka_config.py +463 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +47 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_setting_v2.py +16 -16
- pulumi_databricks/get_alert_v2.py +2 -2
- pulumi_databricks/get_alerts_v2.py +2 -2
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_cluster.py +54 -0
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_dashboards.py +32 -0
- pulumi_databricks/get_data_quality_monitor.py +2 -2
- pulumi_databricks/get_data_quality_monitors.py +2 -2
- pulumi_databricks/get_data_quality_refresh.py +2 -2
- pulumi_databricks/get_data_quality_refreshes.py +2 -2
- pulumi_databricks/get_feature_engineering_feature.py +12 -1
- pulumi_databricks/get_feature_engineering_kafka_config.py +182 -0
- pulumi_databricks/get_feature_engineering_kafka_configs.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +16 -2
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_policy_info.py +36 -2
- pulumi_databricks/get_policy_infos.py +34 -2
- pulumi_databricks/get_service_principals.py +93 -7
- pulumi_databricks/get_spark_version.py +2 -2
- pulumi_databricks/get_tag_policies.py +2 -2
- pulumi_databricks/get_tag_policy.py +2 -2
- pulumi_databricks/get_users.py +194 -0
- pulumi_databricks/get_workspace_entity_tag_assignment.py +180 -0
- pulumi_databricks/get_workspace_entity_tag_assignments.py +171 -0
- pulumi_databricks/get_workspace_setting_v2.py +16 -16
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/lakehouse_monitor.py +2 -2
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +115 -55
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/outputs.py +2017 -240
- pulumi_databricks/permission_assignment.py +49 -0
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +7 -7
- pulumi_databricks/policy_info.py +122 -2
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +7 -7
- pulumi_databricks/rfa_access_request_destinations.py +86 -19
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +28 -0
- pulumi_databricks/sql_table.py +7 -7
- pulumi_databricks/tag_policy.py +2 -2
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_entity_tag_assignment.py +375 -0
- pulumi_databricks/workspace_setting_v2.py +181 -12
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/METADATA +1 -1
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/RECORD +86 -79
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,375 @@
|
|
|
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
|
+
|
|
17
|
+
__all__ = ['WorkspaceEntityTagAssignmentArgs', 'WorkspaceEntityTagAssignment']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class WorkspaceEntityTagAssignmentArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
entity_id: pulumi.Input[_builtins.str],
|
|
23
|
+
entity_type: pulumi.Input[_builtins.str],
|
|
24
|
+
tag_key: pulumi.Input[_builtins.str],
|
|
25
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
|
+
"""
|
|
27
|
+
The set of arguments for constructing a WorkspaceEntityTagAssignment resource.
|
|
28
|
+
:param pulumi.Input[_builtins.str] entity_id: The identifier of the entity to which the tag is assigned
|
|
29
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
30
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
31
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "entity_id", entity_id)
|
|
34
|
+
pulumi.set(__self__, "entity_type", entity_type)
|
|
35
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
|
36
|
+
if tag_value is not None:
|
|
37
|
+
pulumi.set(__self__, "tag_value", tag_value)
|
|
38
|
+
|
|
39
|
+
@_builtins.property
|
|
40
|
+
@pulumi.getter(name="entityId")
|
|
41
|
+
def entity_id(self) -> pulumi.Input[_builtins.str]:
|
|
42
|
+
"""
|
|
43
|
+
The identifier of the entity to which the tag is assigned
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "entity_id")
|
|
46
|
+
|
|
47
|
+
@entity_id.setter
|
|
48
|
+
def entity_id(self, value: pulumi.Input[_builtins.str]):
|
|
49
|
+
pulumi.set(self, "entity_id", value)
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter(name="entityType")
|
|
53
|
+
def entity_type(self) -> pulumi.Input[_builtins.str]:
|
|
54
|
+
"""
|
|
55
|
+
The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "entity_type")
|
|
58
|
+
|
|
59
|
+
@entity_type.setter
|
|
60
|
+
def entity_type(self, value: pulumi.Input[_builtins.str]):
|
|
61
|
+
pulumi.set(self, "entity_type", value)
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter(name="tagKey")
|
|
65
|
+
def tag_key(self) -> pulumi.Input[_builtins.str]:
|
|
66
|
+
"""
|
|
67
|
+
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "tag_key")
|
|
70
|
+
|
|
71
|
+
@tag_key.setter
|
|
72
|
+
def tag_key(self, value: pulumi.Input[_builtins.str]):
|
|
73
|
+
pulumi.set(self, "tag_key", value)
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter(name="tagValue")
|
|
77
|
+
def tag_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
78
|
+
"""
|
|
79
|
+
The value of the tag
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "tag_value")
|
|
82
|
+
|
|
83
|
+
@tag_value.setter
|
|
84
|
+
def tag_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
85
|
+
pulumi.set(self, "tag_value", value)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
@pulumi.input_type
|
|
89
|
+
class _WorkspaceEntityTagAssignmentState:
|
|
90
|
+
def __init__(__self__, *,
|
|
91
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
92
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
95
|
+
"""
|
|
96
|
+
Input properties used for looking up and filtering WorkspaceEntityTagAssignment resources.
|
|
97
|
+
:param pulumi.Input[_builtins.str] entity_id: The identifier of the entity to which the tag is assigned
|
|
98
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
99
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
100
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
101
|
+
"""
|
|
102
|
+
if entity_id is not None:
|
|
103
|
+
pulumi.set(__self__, "entity_id", entity_id)
|
|
104
|
+
if entity_type is not None:
|
|
105
|
+
pulumi.set(__self__, "entity_type", entity_type)
|
|
106
|
+
if tag_key is not None:
|
|
107
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
|
108
|
+
if tag_value is not None:
|
|
109
|
+
pulumi.set(__self__, "tag_value", tag_value)
|
|
110
|
+
|
|
111
|
+
@_builtins.property
|
|
112
|
+
@pulumi.getter(name="entityId")
|
|
113
|
+
def entity_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
|
+
"""
|
|
115
|
+
The identifier of the entity to which the tag is assigned
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "entity_id")
|
|
118
|
+
|
|
119
|
+
@entity_id.setter
|
|
120
|
+
def entity_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
|
+
pulumi.set(self, "entity_id", value)
|
|
122
|
+
|
|
123
|
+
@_builtins.property
|
|
124
|
+
@pulumi.getter(name="entityType")
|
|
125
|
+
def entity_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
|
+
"""
|
|
127
|
+
The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "entity_type")
|
|
130
|
+
|
|
131
|
+
@entity_type.setter
|
|
132
|
+
def entity_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
133
|
+
pulumi.set(self, "entity_type", value)
|
|
134
|
+
|
|
135
|
+
@_builtins.property
|
|
136
|
+
@pulumi.getter(name="tagKey")
|
|
137
|
+
def tag_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
138
|
+
"""
|
|
139
|
+
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "tag_key")
|
|
142
|
+
|
|
143
|
+
@tag_key.setter
|
|
144
|
+
def tag_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
145
|
+
pulumi.set(self, "tag_key", value)
|
|
146
|
+
|
|
147
|
+
@_builtins.property
|
|
148
|
+
@pulumi.getter(name="tagValue")
|
|
149
|
+
def tag_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
|
+
"""
|
|
151
|
+
The value of the tag
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "tag_value")
|
|
154
|
+
|
|
155
|
+
@tag_value.setter
|
|
156
|
+
def tag_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
|
+
pulumi.set(self, "tag_value", value)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
@pulumi.type_token("databricks:index/workspaceEntityTagAssignment:WorkspaceEntityTagAssignment")
|
|
161
|
+
class WorkspaceEntityTagAssignment(pulumi.CustomResource):
|
|
162
|
+
@overload
|
|
163
|
+
def __init__(__self__,
|
|
164
|
+
resource_name: str,
|
|
165
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
166
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
170
|
+
__props__=None):
|
|
171
|
+
"""
|
|
172
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
173
|
+
|
|
174
|
+
This resource allows you to create, update, list, and delete tag assignments for workspace scoped entities.
|
|
175
|
+
|
|
176
|
+
## Example Usage
|
|
177
|
+
|
|
178
|
+
```python
|
|
179
|
+
import pulumi
|
|
180
|
+
import pulumi_databricks as databricks
|
|
181
|
+
|
|
182
|
+
dashboard_tag = databricks.WorkspaceEntityTagAssignment("dashboard_tag",
|
|
183
|
+
entity_type="dashboards",
|
|
184
|
+
entity_id="2807324866692453",
|
|
185
|
+
tag_key="sensitivity_level",
|
|
186
|
+
tag_value="high")
|
|
187
|
+
geniespace_tag = databricks.WorkspaceEntityTagAssignment("geniespace_tag",
|
|
188
|
+
entity_type="geniespaces",
|
|
189
|
+
entity_id="2807324866692453",
|
|
190
|
+
tag_key="sensitivity_level",
|
|
191
|
+
tag_value="high")
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## Import
|
|
195
|
+
|
|
196
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
197
|
+
|
|
198
|
+
hcl
|
|
199
|
+
|
|
200
|
+
import {
|
|
201
|
+
|
|
202
|
+
id = "entity_type,entity_id,tag_key"
|
|
203
|
+
|
|
204
|
+
to = databricks_workspace_entity_tag_assignment.this
|
|
205
|
+
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
209
|
+
|
|
210
|
+
```sh
|
|
211
|
+
$ pulumi import databricks:index/workspaceEntityTagAssignment:WorkspaceEntityTagAssignment this "entity_type,entity_id,tag_key"
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
:param str resource_name: The name of the resource.
|
|
215
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
216
|
+
:param pulumi.Input[_builtins.str] entity_id: The identifier of the entity to which the tag is assigned
|
|
217
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
218
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
219
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
220
|
+
"""
|
|
221
|
+
...
|
|
222
|
+
@overload
|
|
223
|
+
def __init__(__self__,
|
|
224
|
+
resource_name: str,
|
|
225
|
+
args: WorkspaceEntityTagAssignmentArgs,
|
|
226
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
227
|
+
"""
|
|
228
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
229
|
+
|
|
230
|
+
This resource allows you to create, update, list, and delete tag assignments for workspace scoped entities.
|
|
231
|
+
|
|
232
|
+
## Example Usage
|
|
233
|
+
|
|
234
|
+
```python
|
|
235
|
+
import pulumi
|
|
236
|
+
import pulumi_databricks as databricks
|
|
237
|
+
|
|
238
|
+
dashboard_tag = databricks.WorkspaceEntityTagAssignment("dashboard_tag",
|
|
239
|
+
entity_type="dashboards",
|
|
240
|
+
entity_id="2807324866692453",
|
|
241
|
+
tag_key="sensitivity_level",
|
|
242
|
+
tag_value="high")
|
|
243
|
+
geniespace_tag = databricks.WorkspaceEntityTagAssignment("geniespace_tag",
|
|
244
|
+
entity_type="geniespaces",
|
|
245
|
+
entity_id="2807324866692453",
|
|
246
|
+
tag_key="sensitivity_level",
|
|
247
|
+
tag_value="high")
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## Import
|
|
251
|
+
|
|
252
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
253
|
+
|
|
254
|
+
hcl
|
|
255
|
+
|
|
256
|
+
import {
|
|
257
|
+
|
|
258
|
+
id = "entity_type,entity_id,tag_key"
|
|
259
|
+
|
|
260
|
+
to = databricks_workspace_entity_tag_assignment.this
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
265
|
+
|
|
266
|
+
```sh
|
|
267
|
+
$ pulumi import databricks:index/workspaceEntityTagAssignment:WorkspaceEntityTagAssignment this "entity_type,entity_id,tag_key"
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
:param str resource_name: The name of the resource.
|
|
271
|
+
:param WorkspaceEntityTagAssignmentArgs args: The arguments to use to populate this resource's properties.
|
|
272
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
273
|
+
"""
|
|
274
|
+
...
|
|
275
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
276
|
+
resource_args, opts = _utilities.get_resource_args_opts(WorkspaceEntityTagAssignmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
277
|
+
if resource_args is not None:
|
|
278
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
279
|
+
else:
|
|
280
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
281
|
+
|
|
282
|
+
def _internal_init(__self__,
|
|
283
|
+
resource_name: str,
|
|
284
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
285
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
286
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
287
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
288
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
289
|
+
__props__=None):
|
|
290
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
291
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
292
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
293
|
+
if opts.id is None:
|
|
294
|
+
if __props__ is not None:
|
|
295
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
296
|
+
__props__ = WorkspaceEntityTagAssignmentArgs.__new__(WorkspaceEntityTagAssignmentArgs)
|
|
297
|
+
|
|
298
|
+
if entity_id is None and not opts.urn:
|
|
299
|
+
raise TypeError("Missing required property 'entity_id'")
|
|
300
|
+
__props__.__dict__["entity_id"] = entity_id
|
|
301
|
+
if entity_type is None and not opts.urn:
|
|
302
|
+
raise TypeError("Missing required property 'entity_type'")
|
|
303
|
+
__props__.__dict__["entity_type"] = entity_type
|
|
304
|
+
if tag_key is None and not opts.urn:
|
|
305
|
+
raise TypeError("Missing required property 'tag_key'")
|
|
306
|
+
__props__.__dict__["tag_key"] = tag_key
|
|
307
|
+
__props__.__dict__["tag_value"] = tag_value
|
|
308
|
+
super(WorkspaceEntityTagAssignment, __self__).__init__(
|
|
309
|
+
'databricks:index/workspaceEntityTagAssignment:WorkspaceEntityTagAssignment',
|
|
310
|
+
resource_name,
|
|
311
|
+
__props__,
|
|
312
|
+
opts)
|
|
313
|
+
|
|
314
|
+
@staticmethod
|
|
315
|
+
def get(resource_name: str,
|
|
316
|
+
id: pulumi.Input[str],
|
|
317
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
318
|
+
entity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
319
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
321
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None) -> 'WorkspaceEntityTagAssignment':
|
|
322
|
+
"""
|
|
323
|
+
Get an existing WorkspaceEntityTagAssignment resource's state with the given name, id, and optional extra
|
|
324
|
+
properties used to qualify the lookup.
|
|
325
|
+
|
|
326
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
327
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
328
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
329
|
+
:param pulumi.Input[_builtins.str] entity_id: The identifier of the entity to which the tag is assigned
|
|
330
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
331
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
332
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
333
|
+
"""
|
|
334
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
335
|
+
|
|
336
|
+
__props__ = _WorkspaceEntityTagAssignmentState.__new__(_WorkspaceEntityTagAssignmentState)
|
|
337
|
+
|
|
338
|
+
__props__.__dict__["entity_id"] = entity_id
|
|
339
|
+
__props__.__dict__["entity_type"] = entity_type
|
|
340
|
+
__props__.__dict__["tag_key"] = tag_key
|
|
341
|
+
__props__.__dict__["tag_value"] = tag_value
|
|
342
|
+
return WorkspaceEntityTagAssignment(resource_name, opts=opts, __props__=__props__)
|
|
343
|
+
|
|
344
|
+
@_builtins.property
|
|
345
|
+
@pulumi.getter(name="entityId")
|
|
346
|
+
def entity_id(self) -> pulumi.Output[_builtins.str]:
|
|
347
|
+
"""
|
|
348
|
+
The identifier of the entity to which the tag is assigned
|
|
349
|
+
"""
|
|
350
|
+
return pulumi.get(self, "entity_id")
|
|
351
|
+
|
|
352
|
+
@_builtins.property
|
|
353
|
+
@pulumi.getter(name="entityType")
|
|
354
|
+
def entity_type(self) -> pulumi.Output[_builtins.str]:
|
|
355
|
+
"""
|
|
356
|
+
The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
|
|
357
|
+
"""
|
|
358
|
+
return pulumi.get(self, "entity_type")
|
|
359
|
+
|
|
360
|
+
@_builtins.property
|
|
361
|
+
@pulumi.getter(name="tagKey")
|
|
362
|
+
def tag_key(self) -> pulumi.Output[_builtins.str]:
|
|
363
|
+
"""
|
|
364
|
+
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
|
|
365
|
+
"""
|
|
366
|
+
return pulumi.get(self, "tag_key")
|
|
367
|
+
|
|
368
|
+
@_builtins.property
|
|
369
|
+
@pulumi.getter(name="tagValue")
|
|
370
|
+
def tag_value(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
371
|
+
"""
|
|
372
|
+
The value of the tag
|
|
373
|
+
"""
|
|
374
|
+
return pulumi.get(self, "tag_value")
|
|
375
|
+
|