pulumi-snowflake 0.62.0a1732688512__py3-none-any.whl → 0.63.0a1732774995__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +6620 -588
- pulumi_snowflake/account_role.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +7 -7
- pulumi_snowflake/authentication_policy.py +21 -21
- pulumi_snowflake/database.py +7 -7
- pulumi_snowflake/database_role.py +14 -14
- pulumi_snowflake/external_oauth_integration.py +7 -7
- pulumi_snowflake/external_volume.py +7 -7
- pulumi_snowflake/get_tags.py +134 -0
- pulumi_snowflake/get_tasks.py +125 -56
- pulumi_snowflake/legacy_service_user.py +7 -7
- pulumi_snowflake/masking_policy.py +21 -21
- pulumi_snowflake/network_policy.py +7 -7
- pulumi_snowflake/oauth_integration_for_custom_clients.py +7 -7
- pulumi_snowflake/oauth_integration_for_partner_applications.py +7 -7
- pulumi_snowflake/outputs.py +12197 -5310
- pulumi_snowflake/password_policy.py +2 -4
- pulumi_snowflake/primary_connection.py +7 -7
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +7 -7
- pulumi_snowflake/role.py +7 -7
- pulumi_snowflake/row_access_policy.py +21 -21
- pulumi_snowflake/saml2_integration.py +7 -7
- pulumi_snowflake/scim_integration.py +7 -7
- pulumi_snowflake/secondary_connection.py +7 -7
- pulumi_snowflake/secondary_database.py +7 -7
- pulumi_snowflake/secret_with_authorization_code_grant.py +21 -21
- pulumi_snowflake/secret_with_basic_authentication.py +21 -21
- pulumi_snowflake/secret_with_client_credentials.py +21 -21
- pulumi_snowflake/secret_with_generic_string.py +21 -21
- pulumi_snowflake/service_user.py +7 -7
- pulumi_snowflake/shared_database.py +7 -7
- pulumi_snowflake/storage_integration.py +13 -0
- pulumi_snowflake/stream_on_directory_table.py +28 -28
- pulumi_snowflake/stream_on_external_table.py +28 -28
- pulumi_snowflake/stream_on_table.py +28 -28
- pulumi_snowflake/stream_on_view.py +28 -28
- pulumi_snowflake/tag.py +109 -36
- pulumi_snowflake/task.py +3008 -317
- pulumi_snowflake/user.py +7 -7
- pulumi_snowflake/view.py +21 -21
- pulumi_snowflake/warehouse.py +7 -7
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/RECORD +49 -48
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/top_level.txt +0 -0
pulumi_snowflake/tag.py
CHANGED
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = ['TagArgs', 'Tag']
|
|
18
20
|
|
|
@@ -23,14 +25,16 @@ class TagArgs:
|
|
|
23
25
|
schema: pulumi.Input[str],
|
|
24
26
|
allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
25
27
|
comment: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
26
29
|
name: Optional[pulumi.Input[str]] = None):
|
|
27
30
|
"""
|
|
28
31
|
The set of arguments for constructing a Tag resource.
|
|
29
|
-
:param pulumi.Input[str] database: The database in which to create the tag.
|
|
30
|
-
:param pulumi.Input[str] schema: The schema in which to create the tag.
|
|
31
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values:
|
|
32
|
+
:param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
33
|
+
:param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
34
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
|
|
32
35
|
:param pulumi.Input[str] comment: Specifies a comment for the tag.
|
|
33
|
-
:param pulumi.Input[str]
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
37
|
+
:param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
34
38
|
"""
|
|
35
39
|
pulumi.set(__self__, "database", database)
|
|
36
40
|
pulumi.set(__self__, "schema", schema)
|
|
@@ -38,6 +42,8 @@ class TagArgs:
|
|
|
38
42
|
pulumi.set(__self__, "allowed_values", allowed_values)
|
|
39
43
|
if comment is not None:
|
|
40
44
|
pulumi.set(__self__, "comment", comment)
|
|
45
|
+
if masking_policies is not None:
|
|
46
|
+
pulumi.set(__self__, "masking_policies", masking_policies)
|
|
41
47
|
if name is not None:
|
|
42
48
|
pulumi.set(__self__, "name", name)
|
|
43
49
|
|
|
@@ -45,7 +51,7 @@ class TagArgs:
|
|
|
45
51
|
@pulumi.getter
|
|
46
52
|
def database(self) -> pulumi.Input[str]:
|
|
47
53
|
"""
|
|
48
|
-
The database in which to create the tag.
|
|
54
|
+
The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
49
55
|
"""
|
|
50
56
|
return pulumi.get(self, "database")
|
|
51
57
|
|
|
@@ -57,7 +63,7 @@ class TagArgs:
|
|
|
57
63
|
@pulumi.getter
|
|
58
64
|
def schema(self) -> pulumi.Input[str]:
|
|
59
65
|
"""
|
|
60
|
-
The schema in which to create the tag.
|
|
66
|
+
The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
61
67
|
"""
|
|
62
68
|
return pulumi.get(self, "schema")
|
|
63
69
|
|
|
@@ -69,7 +75,7 @@ class TagArgs:
|
|
|
69
75
|
@pulumi.getter(name="allowedValues")
|
|
70
76
|
def allowed_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
71
77
|
"""
|
|
72
|
-
|
|
78
|
+
Set of allowed values for the tag.
|
|
73
79
|
"""
|
|
74
80
|
return pulumi.get(self, "allowed_values")
|
|
75
81
|
|
|
@@ -89,11 +95,23 @@ class TagArgs:
|
|
|
89
95
|
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
90
96
|
pulumi.set(self, "comment", value)
|
|
91
97
|
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="maskingPolicies")
|
|
100
|
+
def masking_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
101
|
+
"""
|
|
102
|
+
Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "masking_policies")
|
|
105
|
+
|
|
106
|
+
@masking_policies.setter
|
|
107
|
+
def masking_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
108
|
+
pulumi.set(self, "masking_policies", value)
|
|
109
|
+
|
|
92
110
|
@property
|
|
93
111
|
@pulumi.getter
|
|
94
112
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
95
113
|
"""
|
|
96
|
-
Specifies the identifier for the tag; must be unique for the database in which the tag is created.
|
|
114
|
+
Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
97
115
|
"""
|
|
98
116
|
return pulumi.get(self, "name")
|
|
99
117
|
|
|
@@ -109,16 +127,20 @@ class _TagState:
|
|
|
109
127
|
comment: Optional[pulumi.Input[str]] = None,
|
|
110
128
|
database: Optional[pulumi.Input[str]] = None,
|
|
111
129
|
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
130
|
+
masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
112
131
|
name: Optional[pulumi.Input[str]] = None,
|
|
113
|
-
schema: Optional[pulumi.Input[str]] = None
|
|
132
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
133
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['TagShowOutputArgs']]]] = None):
|
|
114
134
|
"""
|
|
115
135
|
Input properties used for looking up and filtering Tag resources.
|
|
116
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values:
|
|
136
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
|
|
117
137
|
:param pulumi.Input[str] comment: Specifies a comment for the tag.
|
|
118
|
-
:param pulumi.Input[str] database: The database in which to create the tag.
|
|
138
|
+
:param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
119
139
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
120
|
-
:param pulumi.Input[str]
|
|
121
|
-
:param pulumi.Input[str]
|
|
140
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
141
|
+
:param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
142
|
+
:param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
143
|
+
:param pulumi.Input[Sequence[pulumi.Input['TagShowOutputArgs']]] show_outputs: Outputs the result of `SHOW TAGS` for the given tag.
|
|
122
144
|
"""
|
|
123
145
|
if allowed_values is not None:
|
|
124
146
|
pulumi.set(__self__, "allowed_values", allowed_values)
|
|
@@ -128,16 +150,20 @@ class _TagState:
|
|
|
128
150
|
pulumi.set(__self__, "database", database)
|
|
129
151
|
if fully_qualified_name is not None:
|
|
130
152
|
pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
|
|
153
|
+
if masking_policies is not None:
|
|
154
|
+
pulumi.set(__self__, "masking_policies", masking_policies)
|
|
131
155
|
if name is not None:
|
|
132
156
|
pulumi.set(__self__, "name", name)
|
|
133
157
|
if schema is not None:
|
|
134
158
|
pulumi.set(__self__, "schema", schema)
|
|
159
|
+
if show_outputs is not None:
|
|
160
|
+
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
135
161
|
|
|
136
162
|
@property
|
|
137
163
|
@pulumi.getter(name="allowedValues")
|
|
138
164
|
def allowed_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
139
165
|
"""
|
|
140
|
-
|
|
166
|
+
Set of allowed values for the tag.
|
|
141
167
|
"""
|
|
142
168
|
return pulumi.get(self, "allowed_values")
|
|
143
169
|
|
|
@@ -161,7 +187,7 @@ class _TagState:
|
|
|
161
187
|
@pulumi.getter
|
|
162
188
|
def database(self) -> Optional[pulumi.Input[str]]:
|
|
163
189
|
"""
|
|
164
|
-
The database in which to create the tag.
|
|
190
|
+
The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
165
191
|
"""
|
|
166
192
|
return pulumi.get(self, "database")
|
|
167
193
|
|
|
@@ -181,11 +207,23 @@ class _TagState:
|
|
|
181
207
|
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
182
208
|
pulumi.set(self, "fully_qualified_name", value)
|
|
183
209
|
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter(name="maskingPolicies")
|
|
212
|
+
def masking_policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
213
|
+
"""
|
|
214
|
+
Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "masking_policies")
|
|
217
|
+
|
|
218
|
+
@masking_policies.setter
|
|
219
|
+
def masking_policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
220
|
+
pulumi.set(self, "masking_policies", value)
|
|
221
|
+
|
|
184
222
|
@property
|
|
185
223
|
@pulumi.getter
|
|
186
224
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
187
225
|
"""
|
|
188
|
-
Specifies the identifier for the tag; must be unique for the database in which the tag is created.
|
|
226
|
+
Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
189
227
|
"""
|
|
190
228
|
return pulumi.get(self, "name")
|
|
191
229
|
|
|
@@ -197,7 +235,7 @@ class _TagState:
|
|
|
197
235
|
@pulumi.getter
|
|
198
236
|
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
199
237
|
"""
|
|
200
|
-
The schema in which to create the tag.
|
|
238
|
+
The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
201
239
|
"""
|
|
202
240
|
return pulumi.get(self, "schema")
|
|
203
241
|
|
|
@@ -205,6 +243,18 @@ class _TagState:
|
|
|
205
243
|
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
206
244
|
pulumi.set(self, "schema", value)
|
|
207
245
|
|
|
246
|
+
@property
|
|
247
|
+
@pulumi.getter(name="showOutputs")
|
|
248
|
+
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagShowOutputArgs']]]]:
|
|
249
|
+
"""
|
|
250
|
+
Outputs the result of `SHOW TAGS` for the given tag.
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "show_outputs")
|
|
253
|
+
|
|
254
|
+
@show_outputs.setter
|
|
255
|
+
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagShowOutputArgs']]]]):
|
|
256
|
+
pulumi.set(self, "show_outputs", value)
|
|
257
|
+
|
|
208
258
|
|
|
209
259
|
class Tag(pulumi.CustomResource):
|
|
210
260
|
@overload
|
|
@@ -214,25 +264,25 @@ class Tag(pulumi.CustomResource):
|
|
|
214
264
|
allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
215
265
|
comment: Optional[pulumi.Input[str]] = None,
|
|
216
266
|
database: Optional[pulumi.Input[str]] = None,
|
|
267
|
+
masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
217
268
|
name: Optional[pulumi.Input[str]] = None,
|
|
218
269
|
schema: Optional[pulumi.Input[str]] = None,
|
|
219
270
|
__props__=None):
|
|
220
271
|
"""
|
|
221
272
|
## Import
|
|
222
273
|
|
|
223
|
-
format is database name | schema name | tag name
|
|
224
|
-
|
|
225
274
|
```sh
|
|
226
|
-
$ pulumi import snowflake:index/tag:Tag example '
|
|
275
|
+
$ pulumi import snowflake:index/tag:Tag example '"<database_name>"."<schema_name>"."<tag_name>"'
|
|
227
276
|
```
|
|
228
277
|
|
|
229
278
|
:param str resource_name: The name of the resource.
|
|
230
279
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
231
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values:
|
|
280
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
|
|
232
281
|
:param pulumi.Input[str] comment: Specifies a comment for the tag.
|
|
233
|
-
:param pulumi.Input[str] database: The database in which to create the tag.
|
|
234
|
-
:param pulumi.Input[str]
|
|
235
|
-
:param pulumi.Input[str]
|
|
282
|
+
:param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
283
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
284
|
+
:param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
285
|
+
:param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
236
286
|
"""
|
|
237
287
|
...
|
|
238
288
|
@overload
|
|
@@ -243,10 +293,8 @@ class Tag(pulumi.CustomResource):
|
|
|
243
293
|
"""
|
|
244
294
|
## Import
|
|
245
295
|
|
|
246
|
-
format is database name | schema name | tag name
|
|
247
|
-
|
|
248
296
|
```sh
|
|
249
|
-
$ pulumi import snowflake:index/tag:Tag example '
|
|
297
|
+
$ pulumi import snowflake:index/tag:Tag example '"<database_name>"."<schema_name>"."<tag_name>"'
|
|
250
298
|
```
|
|
251
299
|
|
|
252
300
|
:param str resource_name: The name of the resource.
|
|
@@ -267,6 +315,7 @@ class Tag(pulumi.CustomResource):
|
|
|
267
315
|
allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
268
316
|
comment: Optional[pulumi.Input[str]] = None,
|
|
269
317
|
database: Optional[pulumi.Input[str]] = None,
|
|
318
|
+
masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
270
319
|
name: Optional[pulumi.Input[str]] = None,
|
|
271
320
|
schema: Optional[pulumi.Input[str]] = None,
|
|
272
321
|
__props__=None):
|
|
@@ -283,11 +332,13 @@ class Tag(pulumi.CustomResource):
|
|
|
283
332
|
if database is None and not opts.urn:
|
|
284
333
|
raise TypeError("Missing required property 'database'")
|
|
285
334
|
__props__.__dict__["database"] = database
|
|
335
|
+
__props__.__dict__["masking_policies"] = masking_policies
|
|
286
336
|
__props__.__dict__["name"] = name
|
|
287
337
|
if schema is None and not opts.urn:
|
|
288
338
|
raise TypeError("Missing required property 'schema'")
|
|
289
339
|
__props__.__dict__["schema"] = schema
|
|
290
340
|
__props__.__dict__["fully_qualified_name"] = None
|
|
341
|
+
__props__.__dict__["show_outputs"] = None
|
|
291
342
|
super(Tag, __self__).__init__(
|
|
292
343
|
'snowflake:index/tag:Tag',
|
|
293
344
|
resource_name,
|
|
@@ -302,8 +353,10 @@ class Tag(pulumi.CustomResource):
|
|
|
302
353
|
comment: Optional[pulumi.Input[str]] = None,
|
|
303
354
|
database: Optional[pulumi.Input[str]] = None,
|
|
304
355
|
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
356
|
+
masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
305
357
|
name: Optional[pulumi.Input[str]] = None,
|
|
306
|
-
schema: Optional[pulumi.Input[str]] = None
|
|
358
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
359
|
+
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagShowOutputArgs', 'TagShowOutputArgsDict']]]]] = None) -> 'Tag':
|
|
307
360
|
"""
|
|
308
361
|
Get an existing Tag resource's state with the given name, id, and optional extra
|
|
309
362
|
properties used to qualify the lookup.
|
|
@@ -311,12 +364,14 @@ class Tag(pulumi.CustomResource):
|
|
|
311
364
|
:param str resource_name: The unique name of the resulting resource.
|
|
312
365
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
313
366
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
314
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values:
|
|
367
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
|
|
315
368
|
:param pulumi.Input[str] comment: Specifies a comment for the tag.
|
|
316
|
-
:param pulumi.Input[str] database: The database in which to create the tag.
|
|
369
|
+
:param pulumi.Input[str] database: The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
317
370
|
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
318
|
-
:param pulumi.Input[str]
|
|
319
|
-
:param pulumi.Input[str]
|
|
371
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] masking_policies: Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
372
|
+
:param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
373
|
+
:param pulumi.Input[str] schema: The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
374
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['TagShowOutputArgs', 'TagShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW TAGS` for the given tag.
|
|
320
375
|
"""
|
|
321
376
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
322
377
|
|
|
@@ -326,15 +381,17 @@ class Tag(pulumi.CustomResource):
|
|
|
326
381
|
__props__.__dict__["comment"] = comment
|
|
327
382
|
__props__.__dict__["database"] = database
|
|
328
383
|
__props__.__dict__["fully_qualified_name"] = fully_qualified_name
|
|
384
|
+
__props__.__dict__["masking_policies"] = masking_policies
|
|
329
385
|
__props__.__dict__["name"] = name
|
|
330
386
|
__props__.__dict__["schema"] = schema
|
|
387
|
+
__props__.__dict__["show_outputs"] = show_outputs
|
|
331
388
|
return Tag(resource_name, opts=opts, __props__=__props__)
|
|
332
389
|
|
|
333
390
|
@property
|
|
334
391
|
@pulumi.getter(name="allowedValues")
|
|
335
392
|
def allowed_values(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
336
393
|
"""
|
|
337
|
-
|
|
394
|
+
Set of allowed values for the tag.
|
|
338
395
|
"""
|
|
339
396
|
return pulumi.get(self, "allowed_values")
|
|
340
397
|
|
|
@@ -350,7 +407,7 @@ class Tag(pulumi.CustomResource):
|
|
|
350
407
|
@pulumi.getter
|
|
351
408
|
def database(self) -> pulumi.Output[str]:
|
|
352
409
|
"""
|
|
353
|
-
The database in which to create the tag.
|
|
410
|
+
The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
354
411
|
"""
|
|
355
412
|
return pulumi.get(self, "database")
|
|
356
413
|
|
|
@@ -362,11 +419,19 @@ class Tag(pulumi.CustomResource):
|
|
|
362
419
|
"""
|
|
363
420
|
return pulumi.get(self, "fully_qualified_name")
|
|
364
421
|
|
|
422
|
+
@property
|
|
423
|
+
@pulumi.getter(name="maskingPolicies")
|
|
424
|
+
def masking_policies(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
425
|
+
"""
|
|
426
|
+
Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
|
|
427
|
+
"""
|
|
428
|
+
return pulumi.get(self, "masking_policies")
|
|
429
|
+
|
|
365
430
|
@property
|
|
366
431
|
@pulumi.getter
|
|
367
432
|
def name(self) -> pulumi.Output[str]:
|
|
368
433
|
"""
|
|
369
|
-
Specifies the identifier for the tag; must be unique for the database in which the tag is created.
|
|
434
|
+
Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
370
435
|
"""
|
|
371
436
|
return pulumi.get(self, "name")
|
|
372
437
|
|
|
@@ -374,7 +439,15 @@ class Tag(pulumi.CustomResource):
|
|
|
374
439
|
@pulumi.getter
|
|
375
440
|
def schema(self) -> pulumi.Output[str]:
|
|
376
441
|
"""
|
|
377
|
-
The schema in which to create the tag.
|
|
442
|
+
The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
378
443
|
"""
|
|
379
444
|
return pulumi.get(self, "schema")
|
|
380
445
|
|
|
446
|
+
@property
|
|
447
|
+
@pulumi.getter(name="showOutputs")
|
|
448
|
+
def show_outputs(self) -> pulumi.Output[Sequence['outputs.TagShowOutput']]:
|
|
449
|
+
"""
|
|
450
|
+
Outputs the result of `SHOW TAGS` for the given tag.
|
|
451
|
+
"""
|
|
452
|
+
return pulumi.get(self, "show_outputs")
|
|
453
|
+
|