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
@@ -4,9 +4,14 @@
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
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -27,13 +32,13 @@ class MaterializedViewArgs:
27
32
  tags: Optional[pulumi.Input[Sequence[pulumi.Input['MaterializedViewTagArgs']]]] = None):
28
33
  """
29
34
  The set of arguments for constructing a MaterializedView resource.
30
- :param pulumi.Input[str] database: Name of the database that the tag was created in.
31
- :param pulumi.Input[str] schema: Name of the schema that the tag was created in.
35
+ :param pulumi.Input[str] database: The database in which to create the view. Don't use the | character.
36
+ :param pulumi.Input[str] schema: The schema in which to create the view. Don't use the | character.
32
37
  :param pulumi.Input[str] statement: Specifies the query used to create the view.
33
38
  :param pulumi.Input[str] warehouse: The warehouse name.
34
39
  :param pulumi.Input[str] comment: Specifies a comment for the view.
35
40
  :param pulumi.Input[bool] is_secure: Specifies that the view is secure.
36
- :param pulumi.Input[str] name: Tag name, e.g. department.
41
+ :param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created.
37
42
  :param pulumi.Input[bool] or_replace: Overwrites the View if it exists.
38
43
  :param pulumi.Input[Sequence[pulumi.Input['MaterializedViewTagArgs']]] tags: Definitions of a tag to associate with the resource.
39
44
  """
@@ -59,7 +64,7 @@ class MaterializedViewArgs:
59
64
  @pulumi.getter
60
65
  def database(self) -> pulumi.Input[str]:
61
66
  """
62
- Name of the database that the tag was created in.
67
+ The database in which to create the view. Don't use the | character.
63
68
  """
64
69
  return pulumi.get(self, "database")
65
70
 
@@ -71,7 +76,7 @@ class MaterializedViewArgs:
71
76
  @pulumi.getter
72
77
  def schema(self) -> pulumi.Input[str]:
73
78
  """
74
- Name of the schema that the tag was created in.
79
+ The schema in which to create the view. Don't use the | character.
75
80
  """
76
81
  return pulumi.get(self, "schema")
77
82
 
@@ -131,7 +136,7 @@ class MaterializedViewArgs:
131
136
  @pulumi.getter
132
137
  def name(self) -> Optional[pulumi.Input[str]]:
133
138
  """
134
- Tag name, e.g. department.
139
+ Specifies the identifier for the view; must be unique for the schema in which the view is created.
135
140
  """
136
141
  return pulumi.get(self, "name")
137
142
 
@@ -153,13 +158,11 @@ class MaterializedViewArgs:
153
158
 
154
159
  @property
155
160
  @pulumi.getter
161
+ @_utilities.deprecated("""Use the 'snowflake_tag_association' resource instead.""")
156
162
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaterializedViewTagArgs']]]]:
157
163
  """
158
164
  Definitions of a tag to associate with the resource.
159
165
  """
160
- warnings.warn("""Use the 'snowflake_tag_association' resource instead.""", DeprecationWarning)
161
- pulumi.log.warn("""tags is deprecated: Use the 'snowflake_tag_association' resource instead.""")
162
-
163
166
  return pulumi.get(self, "tags")
164
167
 
165
168
  @tags.setter
@@ -172,6 +175,7 @@ class _MaterializedViewState:
172
175
  def __init__(__self__, *,
173
176
  comment: Optional[pulumi.Input[str]] = None,
174
177
  database: Optional[pulumi.Input[str]] = None,
178
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
175
179
  is_secure: Optional[pulumi.Input[bool]] = None,
176
180
  name: Optional[pulumi.Input[str]] = None,
177
181
  or_replace: Optional[pulumi.Input[bool]] = None,
@@ -182,11 +186,12 @@ class _MaterializedViewState:
182
186
  """
183
187
  Input properties used for looking up and filtering MaterializedView resources.
184
188
  :param pulumi.Input[str] comment: Specifies a comment for the view.
185
- :param pulumi.Input[str] database: Name of the database that the tag was created in.
189
+ :param pulumi.Input[str] database: The database in which to create the view. Don't use the | character.
190
+ :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).
186
191
  :param pulumi.Input[bool] is_secure: Specifies that the view is secure.
187
- :param pulumi.Input[str] name: Tag name, e.g. department.
192
+ :param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created.
188
193
  :param pulumi.Input[bool] or_replace: Overwrites the View if it exists.
189
- :param pulumi.Input[str] schema: Name of the schema that the tag was created in.
194
+ :param pulumi.Input[str] schema: The schema in which to create the view. Don't use the | character.
190
195
  :param pulumi.Input[str] statement: Specifies the query used to create the view.
191
196
  :param pulumi.Input[Sequence[pulumi.Input['MaterializedViewTagArgs']]] tags: Definitions of a tag to associate with the resource.
192
197
  :param pulumi.Input[str] warehouse: The warehouse name.
@@ -195,6 +200,8 @@ class _MaterializedViewState:
195
200
  pulumi.set(__self__, "comment", comment)
196
201
  if database is not None:
197
202
  pulumi.set(__self__, "database", database)
203
+ if fully_qualified_name is not None:
204
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
198
205
  if is_secure is not None:
199
206
  pulumi.set(__self__, "is_secure", is_secure)
200
207
  if name is not None:
@@ -229,7 +236,7 @@ class _MaterializedViewState:
229
236
  @pulumi.getter
230
237
  def database(self) -> Optional[pulumi.Input[str]]:
231
238
  """
232
- Name of the database that the tag was created in.
239
+ The database in which to create the view. Don't use the | character.
233
240
  """
234
241
  return pulumi.get(self, "database")
235
242
 
@@ -237,6 +244,18 @@ class _MaterializedViewState:
237
244
  def database(self, value: Optional[pulumi.Input[str]]):
238
245
  pulumi.set(self, "database", value)
239
246
 
247
+ @property
248
+ @pulumi.getter(name="fullyQualifiedName")
249
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
250
+ """
251
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
252
+ """
253
+ return pulumi.get(self, "fully_qualified_name")
254
+
255
+ @fully_qualified_name.setter
256
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
257
+ pulumi.set(self, "fully_qualified_name", value)
258
+
240
259
  @property
241
260
  @pulumi.getter(name="isSecure")
242
261
  def is_secure(self) -> Optional[pulumi.Input[bool]]:
@@ -253,7 +272,7 @@ class _MaterializedViewState:
253
272
  @pulumi.getter
254
273
  def name(self) -> Optional[pulumi.Input[str]]:
255
274
  """
256
- Tag name, e.g. department.
275
+ Specifies the identifier for the view; must be unique for the schema in which the view is created.
257
276
  """
258
277
  return pulumi.get(self, "name")
259
278
 
@@ -277,7 +296,7 @@ class _MaterializedViewState:
277
296
  @pulumi.getter
278
297
  def schema(self) -> Optional[pulumi.Input[str]]:
279
298
  """
280
- Name of the schema that the tag was created in.
299
+ The schema in which to create the view. Don't use the | character.
281
300
  """
282
301
  return pulumi.get(self, "schema")
283
302
 
@@ -299,13 +318,11 @@ class _MaterializedViewState:
299
318
 
300
319
  @property
301
320
  @pulumi.getter
321
+ @_utilities.deprecated("""Use the 'snowflake_tag_association' resource instead.""")
302
322
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaterializedViewTagArgs']]]]:
303
323
  """
304
324
  Definitions of a tag to associate with the resource.
305
325
  """
306
- warnings.warn("""Use the 'snowflake_tag_association' resource instead.""", DeprecationWarning)
307
- pulumi.log.warn("""tags is deprecated: Use the 'snowflake_tag_association' resource instead.""")
308
-
309
326
  return pulumi.get(self, "tags")
310
327
 
311
328
  @tags.setter
@@ -337,28 +354,10 @@ class MaterializedView(pulumi.CustomResource):
337
354
  or_replace: Optional[pulumi.Input[bool]] = None,
338
355
  schema: Optional[pulumi.Input[str]] = None,
339
356
  statement: Optional[pulumi.Input[str]] = None,
340
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MaterializedViewTagArgs']]]]] = None,
357
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaterializedViewTagArgs', 'MaterializedViewTagArgsDict']]]]] = None,
341
358
  warehouse: Optional[pulumi.Input[str]] = None,
342
359
  __props__=None):
343
360
  """
344
- ## Example Usage
345
-
346
- <!--Start PulumiCodeChooser -->
347
- ```python
348
- import pulumi
349
- import pulumi_snowflake as snowflake
350
-
351
- view = snowflake.MaterializedView("view",
352
- database="db",
353
- schema="schema",
354
- warehouse="warehouse",
355
- comment="comment",
356
- statement="select * from foo;\\n",
357
- or_replace=False,
358
- is_secure=False)
359
- ```
360
- <!--End PulumiCodeChooser -->
361
-
362
361
  ## Import
363
362
 
364
363
  format is database name | schema name | view name
@@ -370,13 +369,13 @@ class MaterializedView(pulumi.CustomResource):
370
369
  :param str resource_name: The name of the resource.
371
370
  :param pulumi.ResourceOptions opts: Options for the resource.
372
371
  :param pulumi.Input[str] comment: Specifies a comment for the view.
373
- :param pulumi.Input[str] database: Name of the database that the tag was created in.
372
+ :param pulumi.Input[str] database: The database in which to create the view. Don't use the | character.
374
373
  :param pulumi.Input[bool] is_secure: Specifies that the view is secure.
375
- :param pulumi.Input[str] name: Tag name, e.g. department.
374
+ :param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created.
376
375
  :param pulumi.Input[bool] or_replace: Overwrites the View if it exists.
377
- :param pulumi.Input[str] schema: Name of the schema that the tag was created in.
376
+ :param pulumi.Input[str] schema: The schema in which to create the view. Don't use the | character.
378
377
  :param pulumi.Input[str] statement: Specifies the query used to create the view.
379
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MaterializedViewTagArgs']]]] tags: Definitions of a tag to associate with the resource.
378
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MaterializedViewTagArgs', 'MaterializedViewTagArgsDict']]]] tags: Definitions of a tag to associate with the resource.
380
379
  :param pulumi.Input[str] warehouse: The warehouse name.
381
380
  """
382
381
  ...
@@ -386,24 +385,6 @@ class MaterializedView(pulumi.CustomResource):
386
385
  args: MaterializedViewArgs,
387
386
  opts: Optional[pulumi.ResourceOptions] = None):
388
387
  """
389
- ## Example Usage
390
-
391
- <!--Start PulumiCodeChooser -->
392
- ```python
393
- import pulumi
394
- import pulumi_snowflake as snowflake
395
-
396
- view = snowflake.MaterializedView("view",
397
- database="db",
398
- schema="schema",
399
- warehouse="warehouse",
400
- comment="comment",
401
- statement="select * from foo;\\n",
402
- or_replace=False,
403
- is_secure=False)
404
- ```
405
- <!--End PulumiCodeChooser -->
406
-
407
388
  ## Import
408
389
 
409
390
  format is database name | schema name | view name
@@ -434,7 +415,7 @@ class MaterializedView(pulumi.CustomResource):
434
415
  or_replace: Optional[pulumi.Input[bool]] = None,
435
416
  schema: Optional[pulumi.Input[str]] = None,
436
417
  statement: Optional[pulumi.Input[str]] = None,
437
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MaterializedViewTagArgs']]]]] = None,
418
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaterializedViewTagArgs', 'MaterializedViewTagArgsDict']]]]] = None,
438
419
  warehouse: Optional[pulumi.Input[str]] = None,
439
420
  __props__=None):
440
421
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -462,6 +443,7 @@ class MaterializedView(pulumi.CustomResource):
462
443
  if warehouse is None and not opts.urn:
463
444
  raise TypeError("Missing required property 'warehouse'")
464
445
  __props__.__dict__["warehouse"] = warehouse
446
+ __props__.__dict__["fully_qualified_name"] = None
465
447
  super(MaterializedView, __self__).__init__(
466
448
  'snowflake:index/materializedView:MaterializedView',
467
449
  resource_name,
@@ -474,12 +456,13 @@ class MaterializedView(pulumi.CustomResource):
474
456
  opts: Optional[pulumi.ResourceOptions] = None,
475
457
  comment: Optional[pulumi.Input[str]] = None,
476
458
  database: Optional[pulumi.Input[str]] = None,
459
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
477
460
  is_secure: Optional[pulumi.Input[bool]] = None,
478
461
  name: Optional[pulumi.Input[str]] = None,
479
462
  or_replace: Optional[pulumi.Input[bool]] = None,
480
463
  schema: Optional[pulumi.Input[str]] = None,
481
464
  statement: Optional[pulumi.Input[str]] = None,
482
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MaterializedViewTagArgs']]]]] = None,
465
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaterializedViewTagArgs', 'MaterializedViewTagArgsDict']]]]] = None,
483
466
  warehouse: Optional[pulumi.Input[str]] = None) -> 'MaterializedView':
484
467
  """
485
468
  Get an existing MaterializedView resource's state with the given name, id, and optional extra
@@ -489,13 +472,14 @@ class MaterializedView(pulumi.CustomResource):
489
472
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
490
473
  :param pulumi.ResourceOptions opts: Options for the resource.
491
474
  :param pulumi.Input[str] comment: Specifies a comment for the view.
492
- :param pulumi.Input[str] database: Name of the database that the tag was created in.
475
+ :param pulumi.Input[str] database: The database in which to create the view. Don't use the | character.
476
+ :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).
493
477
  :param pulumi.Input[bool] is_secure: Specifies that the view is secure.
494
- :param pulumi.Input[str] name: Tag name, e.g. department.
478
+ :param pulumi.Input[str] name: Specifies the identifier for the view; must be unique for the schema in which the view is created.
495
479
  :param pulumi.Input[bool] or_replace: Overwrites the View if it exists.
496
- :param pulumi.Input[str] schema: Name of the schema that the tag was created in.
480
+ :param pulumi.Input[str] schema: The schema in which to create the view. Don't use the | character.
497
481
  :param pulumi.Input[str] statement: Specifies the query used to create the view.
498
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MaterializedViewTagArgs']]]] tags: Definitions of a tag to associate with the resource.
482
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MaterializedViewTagArgs', 'MaterializedViewTagArgsDict']]]] tags: Definitions of a tag to associate with the resource.
499
483
  :param pulumi.Input[str] warehouse: The warehouse name.
500
484
  """
501
485
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -504,6 +488,7 @@ class MaterializedView(pulumi.CustomResource):
504
488
 
505
489
  __props__.__dict__["comment"] = comment
506
490
  __props__.__dict__["database"] = database
491
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
507
492
  __props__.__dict__["is_secure"] = is_secure
508
493
  __props__.__dict__["name"] = name
509
494
  __props__.__dict__["or_replace"] = or_replace
@@ -525,10 +510,18 @@ class MaterializedView(pulumi.CustomResource):
525
510
  @pulumi.getter
526
511
  def database(self) -> pulumi.Output[str]:
527
512
  """
528
- Name of the database that the tag was created in.
513
+ The database in which to create the view. Don't use the | character.
529
514
  """
530
515
  return pulumi.get(self, "database")
531
516
 
517
+ @property
518
+ @pulumi.getter(name="fullyQualifiedName")
519
+ def fully_qualified_name(self) -> pulumi.Output[str]:
520
+ """
521
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
522
+ """
523
+ return pulumi.get(self, "fully_qualified_name")
524
+
532
525
  @property
533
526
  @pulumi.getter(name="isSecure")
534
527
  def is_secure(self) -> pulumi.Output[Optional[bool]]:
@@ -541,7 +534,7 @@ class MaterializedView(pulumi.CustomResource):
541
534
  @pulumi.getter
542
535
  def name(self) -> pulumi.Output[str]:
543
536
  """
544
- Tag name, e.g. department.
537
+ Specifies the identifier for the view; must be unique for the schema in which the view is created.
545
538
  """
546
539
  return pulumi.get(self, "name")
547
540
 
@@ -557,7 +550,7 @@ class MaterializedView(pulumi.CustomResource):
557
550
  @pulumi.getter
558
551
  def schema(self) -> pulumi.Output[str]:
559
552
  """
560
- Name of the schema that the tag was created in.
553
+ The schema in which to create the view. Don't use the | character.
561
554
  """
562
555
  return pulumi.get(self, "schema")
563
556
 
@@ -571,13 +564,11 @@ class MaterializedView(pulumi.CustomResource):
571
564
 
572
565
  @property
573
566
  @pulumi.getter
567
+ @_utilities.deprecated("""Use the 'snowflake_tag_association' resource instead.""")
574
568
  def tags(self) -> pulumi.Output[Optional[Sequence['outputs.MaterializedViewTag']]]:
575
569
  """
576
570
  Definitions of a tag to associate with the resource.
577
571
  """
578
- warnings.warn("""Use the 'snowflake_tag_association' resource instead.""", DeprecationWarning)
579
- pulumi.log.warn("""tags is deprecated: Use the 'snowflake_tag_association' resource instead.""")
580
-
581
572
  return pulumi.get(self, "tags")
582
573
 
583
574
  @property