pulumi-snowflake 0.50.3a1710160126__py3-none-any.whl → 1.2.0a1736835738__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.

Files changed (182) hide show
  1. pulumi_snowflake/__init__.py +224 -172
  2. pulumi_snowflake/_inputs.py +52857 -1665
  3. pulumi_snowflake/_utilities.py +41 -5
  4. pulumi_snowflake/account.py +188 -218
  5. pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
  6. pulumi_snowflake/account_parameter.py +21 -48
  7. pulumi_snowflake/account_password_policy_attachment.py +7 -32
  8. pulumi_snowflake/account_role.py +250 -0
  9. pulumi_snowflake/alert.py +38 -47
  10. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
  11. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
  12. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
  13. pulumi_snowflake/api_integration.py +33 -52
  14. pulumi_snowflake/authentication_policy.py +622 -0
  15. pulumi_snowflake/config/__init__.pyi +76 -99
  16. pulumi_snowflake/config/outputs.py +5 -0
  17. pulumi_snowflake/config/vars.py +93 -124
  18. pulumi_snowflake/cortex_search_service.py +596 -0
  19. pulumi_snowflake/database.py +819 -213
  20. pulumi_snowflake/database_role.py +81 -44
  21. pulumi_snowflake/dynamic_table.py +42 -49
  22. pulumi_snowflake/email_notification_integration.py +33 -28
  23. pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -39
  24. pulumi_snowflake/external_function.py +54 -75
  25. pulumi_snowflake/external_oauth_integration.py +593 -542
  26. pulumi_snowflake/external_table.py +67 -90
  27. pulumi_snowflake/external_volume.py +382 -0
  28. pulumi_snowflake/failover_group.py +57 -98
  29. pulumi_snowflake/file_format.py +33 -28
  30. pulumi_snowflake/function_java.py +1211 -0
  31. pulumi_snowflake/function_javascript.py +882 -0
  32. pulumi_snowflake/function_python.py +1212 -0
  33. pulumi_snowflake/function_scala.py +1212 -0
  34. pulumi_snowflake/function_sql.py +835 -0
  35. pulumi_snowflake/get_account_roles.py +129 -0
  36. pulumi_snowflake/get_accounts.py +53 -22
  37. pulumi_snowflake/get_alerts.py +22 -9
  38. pulumi_snowflake/get_connections.py +109 -0
  39. pulumi_snowflake/get_cortex_search_services.py +216 -0
  40. pulumi_snowflake/get_current_account.py +24 -13
  41. pulumi_snowflake/get_current_role.py +14 -7
  42. pulumi_snowflake/get_database.py +25 -9
  43. pulumi_snowflake/get_database_role.py +162 -0
  44. pulumi_snowflake/get_database_roles.py +79 -47
  45. pulumi_snowflake/get_databases.py +91 -73
  46. pulumi_snowflake/get_dynamic_tables.py +36 -19
  47. pulumi_snowflake/get_external_functions.py +28 -9
  48. pulumi_snowflake/get_external_tables.py +28 -9
  49. pulumi_snowflake/get_failover_groups.py +18 -7
  50. pulumi_snowflake/get_file_formats.py +28 -9
  51. pulumi_snowflake/get_functions.py +28 -9
  52. pulumi_snowflake/get_grants.py +207 -84
  53. pulumi_snowflake/get_masking_policies.py +91 -51
  54. pulumi_snowflake/get_materialized_views.py +28 -9
  55. pulumi_snowflake/get_network_policies.py +129 -0
  56. pulumi_snowflake/get_parameters.py +38 -15
  57. pulumi_snowflake/get_pipes.py +28 -9
  58. pulumi_snowflake/get_procedures.py +28 -9
  59. pulumi_snowflake/get_resource_monitors.py +37 -24
  60. pulumi_snowflake/get_row_access_policies.py +91 -51
  61. pulumi_snowflake/get_schemas.py +145 -41
  62. pulumi_snowflake/get_secrets.py +200 -0
  63. pulumi_snowflake/get_security_integrations.py +129 -0
  64. pulumi_snowflake/get_sequences.py +28 -9
  65. pulumi_snowflake/get_shares.py +18 -9
  66. pulumi_snowflake/get_stages.py +28 -9
  67. pulumi_snowflake/get_storage_integrations.py +16 -9
  68. pulumi_snowflake/get_streamlits.py +170 -0
  69. pulumi_snowflake/get_streams.py +114 -54
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +18 -9
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +120 -5
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
  74. pulumi_snowflake/get_tables.py +28 -9
  75. pulumi_snowflake/get_tags.py +130 -0
  76. pulumi_snowflake/get_tasks.py +134 -54
  77. pulumi_snowflake/get_users.py +116 -44
  78. pulumi_snowflake/get_views.py +114 -54
  79. pulumi_snowflake/get_warehouses.py +79 -26
  80. pulumi_snowflake/grant_account_role.py +28 -75
  81. pulumi_snowflake/grant_application_role.py +257 -0
  82. pulumi_snowflake/grant_database_role.py +35 -94
  83. pulumi_snowflake/grant_ownership.py +382 -0
  84. pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
  85. pulumi_snowflake/grant_privileges_to_database_role.py +37 -383
  86. pulumi_snowflake/grant_privileges_to_share.py +96 -44
  87. pulumi_snowflake/legacy_service_user.py +3670 -0
  88. pulumi_snowflake/managed_account.py +40 -11
  89. pulumi_snowflake/masking_policy.py +213 -310
  90. pulumi_snowflake/materialized_view.py +62 -71
  91. pulumi_snowflake/network_policy.py +217 -61
  92. pulumi_snowflake/network_policy_attachment.py +5 -34
  93. pulumi_snowflake/network_rule.py +473 -0
  94. pulumi_snowflake/notification_integration.py +49 -84
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
  96. pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -192
  97. pulumi_snowflake/object_parameter.py +10 -101
  98. pulumi_snowflake/outputs.py +49200 -2928
  99. pulumi_snowflake/password_policy.py +41 -28
  100. pulumi_snowflake/pipe.py +33 -4
  101. pulumi_snowflake/primary_connection.py +330 -0
  102. pulumi_snowflake/procedure_java.py +1273 -0
  103. pulumi_snowflake/procedure_javascript.py +895 -0
  104. pulumi_snowflake/procedure_python.py +1226 -0
  105. pulumi_snowflake/procedure_scala.py +1273 -0
  106. pulumi_snowflake/procedure_sql.py +895 -0
  107. pulumi_snowflake/provider.py +378 -613
  108. pulumi_snowflake/pulumi-plugin.json +2 -1
  109. pulumi_snowflake/resource_monitor.py +118 -327
  110. pulumi_snowflake/row_access_policy.py +200 -149
  111. pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -299
  112. pulumi_snowflake/schema.py +949 -178
  113. pulumi_snowflake/scim_integration.py +286 -109
  114. pulumi_snowflake/secondary_connection.py +339 -0
  115. pulumi_snowflake/secondary_database.py +1080 -0
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
  117. pulumi_snowflake/secret_with_basic_authentication.py +500 -0
  118. pulumi_snowflake/secret_with_client_credentials.py +511 -0
  119. pulumi_snowflake/secret_with_generic_string.py +452 -0
  120. pulumi_snowflake/sequence.py +9 -34
  121. pulumi_snowflake/service_user.py +3585 -0
  122. pulumi_snowflake/share.py +33 -28
  123. pulumi_snowflake/shared_database.py +939 -0
  124. pulumi_snowflake/stage.py +95 -84
  125. pulumi_snowflake/storage_integration.py +46 -4
  126. pulumi_snowflake/stream_on_directory_table.py +517 -0
  127. pulumi_snowflake/stream_on_external_table.py +632 -0
  128. pulumi_snowflake/stream_on_table.py +666 -0
  129. pulumi_snowflake/stream_on_view.py +666 -0
  130. pulumi_snowflake/streamlit.py +671 -0
  131. pulumi_snowflake/table.py +86 -97
  132. pulumi_snowflake/table_column_masking_policy_application.py +7 -14
  133. pulumi_snowflake/table_constraint.py +29 -172
  134. pulumi_snowflake/tag.py +142 -74
  135. pulumi_snowflake/tag_association.py +40 -215
  136. pulumi_snowflake/task.py +3048 -418
  137. pulumi_snowflake/user.py +3351 -384
  138. pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
  139. pulumi_snowflake/user_password_policy_attachment.py +5 -4
  140. pulumi_snowflake/user_public_keys.py +5 -0
  141. pulumi_snowflake/view.py +466 -215
  142. pulumi_snowflake/warehouse.py +184 -168
  143. {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
  144. pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
  145. {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
  146. pulumi_snowflake/account_grant.py +0 -343
  147. pulumi_snowflake/database_grant.py +0 -495
  148. pulumi_snowflake/external_table_grant.py +0 -690
  149. pulumi_snowflake/failover_group_grant.py +0 -388
  150. pulumi_snowflake/file_format_grant.py +0 -635
  151. pulumi_snowflake/function.py +0 -872
  152. pulumi_snowflake/function_grant.py +0 -745
  153. pulumi_snowflake/get_role.py +0 -121
  154. pulumi_snowflake/get_roles.py +0 -120
  155. pulumi_snowflake/grant_privileges_to_role.py +0 -825
  156. pulumi_snowflake/integration_grant.py +0 -440
  157. pulumi_snowflake/masking_policy_grant.py +0 -542
  158. pulumi_snowflake/materialized_view_grant.py +0 -689
  159. pulumi_snowflake/pipe_grant.py +0 -587
  160. pulumi_snowflake/procedure.py +0 -887
  161. pulumi_snowflake/procedure_grant.py +0 -745
  162. pulumi_snowflake/resource_monitor_grant.py +0 -387
  163. pulumi_snowflake/role.py +0 -273
  164. pulumi_snowflake/role_grants.py +0 -352
  165. pulumi_snowflake/role_ownership_grant.py +0 -338
  166. pulumi_snowflake/row_access_policy_grant.py +0 -540
  167. pulumi_snowflake/schema_grant.py +0 -647
  168. pulumi_snowflake/sequence_grant.py +0 -635
  169. pulumi_snowflake/session_parameter.py +0 -332
  170. pulumi_snowflake/stage_grant.py +0 -635
  171. pulumi_snowflake/stream.py +0 -614
  172. pulumi_snowflake/stream_grant.py +0 -635
  173. pulumi_snowflake/table_grant.py +0 -677
  174. pulumi_snowflake/tag_grant.py +0 -532
  175. pulumi_snowflake/tag_masking_policy_association.py +0 -210
  176. pulumi_snowflake/task_grant.py +0 -635
  177. pulumi_snowflake/user_grant.py +0 -394
  178. pulumi_snowflake/user_ownership_grant.py +0 -286
  179. pulumi_snowflake/view_grant.py +0 -705
  180. pulumi_snowflake/warehouse_grant.py +0 -440
  181. pulumi_snowflake-0.50.3a1710160126.dist-info/RECORD +0 -136
  182. {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
pulumi_snowflake/tag.py CHANGED
@@ -4,10 +4,17 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
11
18
 
12
19
  __all__ = ['TagArgs', 'Tag']
13
20
 
@@ -18,14 +25,16 @@ class TagArgs:
18
25
  schema: pulumi.Input[str],
19
26
  allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
20
27
  comment: Optional[pulumi.Input[str]] = None,
28
+ masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
21
29
  name: Optional[pulumi.Input[str]] = None):
22
30
  """
23
31
  The set of arguments for constructing a Tag resource.
24
- :param pulumi.Input[str] database: The database in which to create the tag.
25
- :param pulumi.Input[str] schema: The schema in which to create the tag.
26
- :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: List of allowed values for the tag.
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.
27
35
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
28
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created.
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. For more information about this resource, see docs.
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: `|`, `.`, `"`.
29
38
  """
30
39
  pulumi.set(__self__, "database", database)
31
40
  pulumi.set(__self__, "schema", schema)
@@ -33,6 +42,8 @@ class TagArgs:
33
42
  pulumi.set(__self__, "allowed_values", allowed_values)
34
43
  if comment is not None:
35
44
  pulumi.set(__self__, "comment", comment)
45
+ if masking_policies is not None:
46
+ pulumi.set(__self__, "masking_policies", masking_policies)
36
47
  if name is not None:
37
48
  pulumi.set(__self__, "name", name)
38
49
 
@@ -40,7 +51,7 @@ class TagArgs:
40
51
  @pulumi.getter
41
52
  def database(self) -> pulumi.Input[str]:
42
53
  """
43
- 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: `|`, `.`, `"`.
44
55
  """
45
56
  return pulumi.get(self, "database")
46
57
 
@@ -52,7 +63,7 @@ class TagArgs:
52
63
  @pulumi.getter
53
64
  def schema(self) -> pulumi.Input[str]:
54
65
  """
55
- 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: `|`, `.`, `"`.
56
67
  """
57
68
  return pulumi.get(self, "schema")
58
69
 
@@ -64,7 +75,7 @@ class TagArgs:
64
75
  @pulumi.getter(name="allowedValues")
65
76
  def allowed_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
66
77
  """
67
- List of allowed values for the tag.
78
+ Set of allowed values for the tag.
68
79
  """
69
80
  return pulumi.get(self, "allowed_values")
70
81
 
@@ -84,11 +95,23 @@ class TagArgs:
84
95
  def comment(self, value: Optional[pulumi.Input[str]]):
85
96
  pulumi.set(self, "comment", value)
86
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. For more information about this resource, see docs.
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
+
87
110
  @property
88
111
  @pulumi.getter
89
112
  def name(self) -> Optional[pulumi.Input[str]]:
90
113
  """
91
- 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: `|`, `.`, `"`.
92
115
  """
93
116
  return pulumi.get(self, "name")
94
117
 
@@ -103,15 +126,21 @@ class _TagState:
103
126
  allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
104
127
  comment: Optional[pulumi.Input[str]] = None,
105
128
  database: Optional[pulumi.Input[str]] = None,
129
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
130
+ masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
106
131
  name: Optional[pulumi.Input[str]] = None,
107
- schema: Optional[pulumi.Input[str]] = None):
132
+ schema: Optional[pulumi.Input[str]] = None,
133
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['TagShowOutputArgs']]]] = None):
108
134
  """
109
135
  Input properties used for looking up and filtering Tag resources.
110
- :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: List of allowed values for the tag.
136
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
111
137
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
112
- :param pulumi.Input[str] database: The database in which to create the tag.
113
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created.
114
- :param pulumi.Input[str] schema: The schema 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: `|`, `.`, `"`.
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).
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. For more information about this resource, see docs.
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.
115
144
  """
116
145
  if allowed_values is not None:
117
146
  pulumi.set(__self__, "allowed_values", allowed_values)
@@ -119,16 +148,22 @@ class _TagState:
119
148
  pulumi.set(__self__, "comment", comment)
120
149
  if database is not None:
121
150
  pulumi.set(__self__, "database", database)
151
+ if fully_qualified_name is not None:
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)
122
155
  if name is not None:
123
156
  pulumi.set(__self__, "name", name)
124
157
  if schema is not None:
125
158
  pulumi.set(__self__, "schema", schema)
159
+ if show_outputs is not None:
160
+ pulumi.set(__self__, "show_outputs", show_outputs)
126
161
 
127
162
  @property
128
163
  @pulumi.getter(name="allowedValues")
129
164
  def allowed_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
130
165
  """
131
- List of allowed values for the tag.
166
+ Set of allowed values for the tag.
132
167
  """
133
168
  return pulumi.get(self, "allowed_values")
134
169
 
@@ -152,7 +187,7 @@ class _TagState:
152
187
  @pulumi.getter
153
188
  def database(self) -> Optional[pulumi.Input[str]]:
154
189
  """
155
- 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: `|`, `.`, `"`.
156
191
  """
157
192
  return pulumi.get(self, "database")
158
193
 
@@ -160,11 +195,35 @@ class _TagState:
160
195
  def database(self, value: Optional[pulumi.Input[str]]):
161
196
  pulumi.set(self, "database", value)
162
197
 
198
+ @property
199
+ @pulumi.getter(name="fullyQualifiedName")
200
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
201
+ """
202
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
203
+ """
204
+ return pulumi.get(self, "fully_qualified_name")
205
+
206
+ @fully_qualified_name.setter
207
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
208
+ pulumi.set(self, "fully_qualified_name", value)
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. For more information about this resource, see docs.
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
+
163
222
  @property
164
223
  @pulumi.getter
165
224
  def name(self) -> Optional[pulumi.Input[str]]:
166
225
  """
167
- 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: `|`, `.`, `"`.
168
227
  """
169
228
  return pulumi.get(self, "name")
170
229
 
@@ -176,7 +235,7 @@ class _TagState:
176
235
  @pulumi.getter
177
236
  def schema(self) -> Optional[pulumi.Input[str]]:
178
237
  """
179
- 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: `|`, `.`, `"`.
180
239
  """
181
240
  return pulumi.get(self, "schema")
182
241
 
@@ -184,6 +243,18 @@ class _TagState:
184
243
  def schema(self, value: Optional[pulumi.Input[str]]):
185
244
  pulumi.set(self, "schema", value)
186
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
+
187
258
 
188
259
  class Tag(pulumi.CustomResource):
189
260
  @overload
@@ -193,44 +264,25 @@ class Tag(pulumi.CustomResource):
193
264
  allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
194
265
  comment: Optional[pulumi.Input[str]] = None,
195
266
  database: Optional[pulumi.Input[str]] = None,
267
+ masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
196
268
  name: Optional[pulumi.Input[str]] = None,
197
269
  schema: Optional[pulumi.Input[str]] = None,
198
270
  __props__=None):
199
271
  """
200
- ## Example Usage
201
-
202
- <!--Start PulumiCodeChooser -->
203
- ```python
204
- import pulumi
205
- import pulumi_snowflake as snowflake
206
-
207
- database = snowflake.Database("database")
208
- schema = snowflake.Schema("schema", database=database.name)
209
- tag = snowflake.Tag("tag",
210
- database=database.name,
211
- schema=schema.name,
212
- allowed_values=[
213
- "finance",
214
- "engineering",
215
- ])
216
- ```
217
- <!--End PulumiCodeChooser -->
218
-
219
272
  ## Import
220
273
 
221
- format is database name | schema name | tag name
222
-
223
274
  ```sh
224
- $ pulumi import snowflake:index/tag:Tag example 'dbName|schemaName|tagName'
275
+ $ pulumi import snowflake:index/tag:Tag example '"<database_name>"."<schema_name>"."<tag_name>"'
225
276
  ```
226
277
 
227
278
  :param str resource_name: The name of the resource.
228
279
  :param pulumi.ResourceOptions opts: Options for the resource.
229
- :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: List of allowed values for the tag.
280
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
230
281
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
231
- :param pulumi.Input[str] database: The database in which to create the tag.
232
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created.
233
- :param pulumi.Input[str] schema: The schema in which to create the tag.
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. For more information about this resource, see docs.
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: `|`, `.`, `"`.
234
286
  """
235
287
  ...
236
288
  @overload
@@ -239,31 +291,10 @@ class Tag(pulumi.CustomResource):
239
291
  args: TagArgs,
240
292
  opts: Optional[pulumi.ResourceOptions] = None):
241
293
  """
242
- ## Example Usage
243
-
244
- <!--Start PulumiCodeChooser -->
245
- ```python
246
- import pulumi
247
- import pulumi_snowflake as snowflake
248
-
249
- database = snowflake.Database("database")
250
- schema = snowflake.Schema("schema", database=database.name)
251
- tag = snowflake.Tag("tag",
252
- database=database.name,
253
- schema=schema.name,
254
- allowed_values=[
255
- "finance",
256
- "engineering",
257
- ])
258
- ```
259
- <!--End PulumiCodeChooser -->
260
-
261
294
  ## Import
262
295
 
263
- format is database name | schema name | tag name
264
-
265
296
  ```sh
266
- $ pulumi import snowflake:index/tag:Tag example 'dbName|schemaName|tagName'
297
+ $ pulumi import snowflake:index/tag:Tag example '"<database_name>"."<schema_name>"."<tag_name>"'
267
298
  ```
268
299
 
269
300
  :param str resource_name: The name of the resource.
@@ -284,6 +315,7 @@ class Tag(pulumi.CustomResource):
284
315
  allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
285
316
  comment: Optional[pulumi.Input[str]] = None,
286
317
  database: Optional[pulumi.Input[str]] = None,
318
+ masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
287
319
  name: Optional[pulumi.Input[str]] = None,
288
320
  schema: Optional[pulumi.Input[str]] = None,
289
321
  __props__=None):
@@ -300,10 +332,13 @@ class Tag(pulumi.CustomResource):
300
332
  if database is None and not opts.urn:
301
333
  raise TypeError("Missing required property 'database'")
302
334
  __props__.__dict__["database"] = database
335
+ __props__.__dict__["masking_policies"] = masking_policies
303
336
  __props__.__dict__["name"] = name
304
337
  if schema is None and not opts.urn:
305
338
  raise TypeError("Missing required property 'schema'")
306
339
  __props__.__dict__["schema"] = schema
340
+ __props__.__dict__["fully_qualified_name"] = None
341
+ __props__.__dict__["show_outputs"] = None
307
342
  super(Tag, __self__).__init__(
308
343
  'snowflake:index/tag:Tag',
309
344
  resource_name,
@@ -317,8 +352,11 @@ class Tag(pulumi.CustomResource):
317
352
  allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
318
353
  comment: Optional[pulumi.Input[str]] = None,
319
354
  database: Optional[pulumi.Input[str]] = None,
355
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
356
+ masking_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
320
357
  name: Optional[pulumi.Input[str]] = None,
321
- schema: Optional[pulumi.Input[str]] = None) -> 'Tag':
358
+ schema: Optional[pulumi.Input[str]] = None,
359
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagShowOutputArgs', 'TagShowOutputArgsDict']]]]] = None) -> 'Tag':
322
360
  """
323
361
  Get an existing Tag resource's state with the given name, id, and optional extra
324
362
  properties used to qualify the lookup.
@@ -326,11 +364,14 @@ class Tag(pulumi.CustomResource):
326
364
  :param str resource_name: The unique name of the resulting resource.
327
365
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
328
366
  :param pulumi.ResourceOptions opts: Options for the resource.
329
- :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: List of allowed values for the tag.
367
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_values: Set of allowed values for the tag.
330
368
  :param pulumi.Input[str] comment: Specifies a comment for the tag.
331
- :param pulumi.Input[str] database: The database in which to create the tag.
332
- :param pulumi.Input[str] name: Specifies the identifier for the tag; must be unique for the database in which the tag is created.
333
- :param pulumi.Input[str] schema: The schema 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: `|`, `.`, `"`.
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).
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. For more information about this resource, see docs.
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.
334
375
  """
335
376
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
336
377
 
@@ -339,15 +380,18 @@ class Tag(pulumi.CustomResource):
339
380
  __props__.__dict__["allowed_values"] = allowed_values
340
381
  __props__.__dict__["comment"] = comment
341
382
  __props__.__dict__["database"] = database
383
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
384
+ __props__.__dict__["masking_policies"] = masking_policies
342
385
  __props__.__dict__["name"] = name
343
386
  __props__.__dict__["schema"] = schema
387
+ __props__.__dict__["show_outputs"] = show_outputs
344
388
  return Tag(resource_name, opts=opts, __props__=__props__)
345
389
 
346
390
  @property
347
391
  @pulumi.getter(name="allowedValues")
348
392
  def allowed_values(self) -> pulumi.Output[Optional[Sequence[str]]]:
349
393
  """
350
- List of allowed values for the tag.
394
+ Set of allowed values for the tag.
351
395
  """
352
396
  return pulumi.get(self, "allowed_values")
353
397
 
@@ -363,15 +407,31 @@ class Tag(pulumi.CustomResource):
363
407
  @pulumi.getter
364
408
  def database(self) -> pulumi.Output[str]:
365
409
  """
366
- 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: `|`, `.`, `"`.
367
411
  """
368
412
  return pulumi.get(self, "database")
369
413
 
414
+ @property
415
+ @pulumi.getter(name="fullyQualifiedName")
416
+ def fully_qualified_name(self) -> pulumi.Output[str]:
417
+ """
418
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
419
+ """
420
+ return pulumi.get(self, "fully_qualified_name")
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. For more information about this resource, see docs.
427
+ """
428
+ return pulumi.get(self, "masking_policies")
429
+
370
430
  @property
371
431
  @pulumi.getter
372
432
  def name(self) -> pulumi.Output[str]:
373
433
  """
374
- 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: `|`, `.`, `"`.
375
435
  """
376
436
  return pulumi.get(self, "name")
377
437
 
@@ -379,7 +439,15 @@ class Tag(pulumi.CustomResource):
379
439
  @pulumi.getter
380
440
  def schema(self) -> pulumi.Output[str]:
381
441
  """
382
- 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: `|`, `.`, `"`.
383
443
  """
384
444
  return pulumi.get(self, "schema")
385
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
+