pulumi-snowflake 0.58.0a1726035035__py3-none-any.whl → 0.58.0a1726066221__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 (80) hide show
  1. pulumi_snowflake/_inputs.py +5859 -127
  2. pulumi_snowflake/account.py +28 -50
  3. pulumi_snowflake/account_parameter.py +0 -28
  4. pulumi_snowflake/account_password_policy_attachment.py +2 -30
  5. pulumi_snowflake/account_role.py +41 -36
  6. pulumi_snowflake/alert.py +28 -40
  7. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +35 -15
  8. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +35 -15
  9. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +35 -15
  10. pulumi_snowflake/api_integration.py +28 -54
  11. pulumi_snowflake/cortex_search_service.py +28 -76
  12. pulumi_snowflake/database.py +82 -15
  13. pulumi_snowflake/database_old.py +0 -72
  14. pulumi_snowflake/database_role.py +76 -42
  15. pulumi_snowflake/dynamic_table.py +28 -38
  16. pulumi_snowflake/email_notification_integration.py +28 -26
  17. pulumi_snowflake/external_function.py +28 -52
  18. pulumi_snowflake/external_oauth_integration.py +35 -15
  19. pulumi_snowflake/external_table.py +28 -48
  20. pulumi_snowflake/failover_group.py +28 -72
  21. pulumi_snowflake/file_format.py +28 -26
  22. pulumi_snowflake/function.py +28 -4
  23. pulumi_snowflake/get_database_roles.py +61 -38
  24. pulumi_snowflake/get_users.py +96 -33
  25. pulumi_snowflake/get_views.py +92 -53
  26. pulumi_snowflake/grant_account_role.py +0 -4
  27. pulumi_snowflake/grant_application_role.py +0 -4
  28. pulumi_snowflake/grant_database_role.py +0 -4
  29. pulumi_snowflake/grant_privileges_to_account_role.py +4 -4
  30. pulumi_snowflake/grant_privileges_to_database_role.py +6 -2
  31. pulumi_snowflake/grant_privileges_to_share.py +49 -2
  32. pulumi_snowflake/managed_account.py +28 -4
  33. pulumi_snowflake/masking_policy.py +28 -84
  34. pulumi_snowflake/materialized_view.py +28 -34
  35. pulumi_snowflake/network_policy.py +35 -15
  36. pulumi_snowflake/network_policy_attachment.py +0 -30
  37. pulumi_snowflake/network_rule.py +28 -66
  38. pulumi_snowflake/notification_integration.py +28 -34
  39. pulumi_snowflake/oauth_integration.py +0 -34
  40. pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -101
  41. pulumi_snowflake/oauth_integration_for_partner_applications.py +35 -15
  42. pulumi_snowflake/object_parameter.py +0 -98
  43. pulumi_snowflake/outputs.py +11648 -3842
  44. pulumi_snowflake/password_policy.py +28 -28
  45. pulumi_snowflake/pipe.py +28 -4
  46. pulumi_snowflake/procedure.py +28 -4
  47. pulumi_snowflake/pulumi-plugin.json +1 -1
  48. pulumi_snowflake/resource_monitor.py +28 -48
  49. pulumi_snowflake/role.py +41 -36
  50. pulumi_snowflake/row_access_policy.py +28 -34
  51. pulumi_snowflake/saml2_integration.py +35 -15
  52. pulumi_snowflake/saml_integration.py +0 -34
  53. pulumi_snowflake/schema.py +39 -19
  54. pulumi_snowflake/scim_integration.py +35 -15
  55. pulumi_snowflake/secondary_database.py +35 -19
  56. pulumi_snowflake/sequence.py +4 -36
  57. pulumi_snowflake/session_parameter.py +0 -32
  58. pulumi_snowflake/share.py +28 -28
  59. pulumi_snowflake/shared_database.py +35 -15
  60. pulumi_snowflake/stage.py +28 -28
  61. pulumi_snowflake/storage_integration.py +28 -4
  62. pulumi_snowflake/stream.py +28 -4
  63. pulumi_snowflake/streamlit.py +36 -16
  64. pulumi_snowflake/table.py +28 -32
  65. pulumi_snowflake/table_column_masking_policy_application.py +2 -14
  66. pulumi_snowflake/table_constraint.py +0 -152
  67. pulumi_snowflake/tag.py +28 -40
  68. pulumi_snowflake/tag_association.py +0 -120
  69. pulumi_snowflake/tag_masking_policy_association.py +0 -4
  70. pulumi_snowflake/task.py +28 -92
  71. pulumi_snowflake/unsafe_execute.py +2 -20
  72. pulumi_snowflake/user.py +3341 -368
  73. pulumi_snowflake/user_password_policy_attachment.py +0 -46
  74. pulumi_snowflake/view.py +465 -185
  75. pulumi_snowflake/warehouse.py +35 -39
  76. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/METADATA +1 -1
  77. pulumi_snowflake-0.58.0a1726066221.dist-info/RECORD +129 -0
  78. pulumi_snowflake-0.58.0a1726035035.dist-info/RECORD +0 -129
  79. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/WHEEL +0 -0
  80. {pulumi_snowflake-0.58.0a1726035035.dist-info → pulumi_snowflake-0.58.0a1726066221.dist-info}/top_level.txt +0 -0
@@ -164,6 +164,7 @@ class _CortexSearchServiceState:
164
164
  comment: Optional[pulumi.Input[str]] = None,
165
165
  created_on: Optional[pulumi.Input[str]] = None,
166
166
  database: Optional[pulumi.Input[str]] = None,
167
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
167
168
  name: Optional[pulumi.Input[str]] = None,
168
169
  on: Optional[pulumi.Input[str]] = None,
169
170
  query: Optional[pulumi.Input[str]] = None,
@@ -176,6 +177,7 @@ class _CortexSearchServiceState:
176
177
  :param pulumi.Input[str] comment: Specifies a comment for the Cortex search service.
177
178
  :param pulumi.Input[str] created_on: Creation date for the given Cortex search service.
178
179
  :param pulumi.Input[str] database: The database in which to create the Cortex search service.
180
+ :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).
179
181
  :param pulumi.Input[str] name: Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
180
182
  :param pulumi.Input[str] on: Specifies the column to use as the search column for the Cortex search service; must be a text value.
181
183
  :param pulumi.Input[str] query: Specifies the query to use to populate the Cortex search service.
@@ -191,6 +193,8 @@ class _CortexSearchServiceState:
191
193
  pulumi.set(__self__, "created_on", created_on)
192
194
  if database is not None:
193
195
  pulumi.set(__self__, "database", database)
196
+ if fully_qualified_name is not None:
197
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
194
198
  if name is not None:
195
199
  pulumi.set(__self__, "name", name)
196
200
  if on is not None:
@@ -252,6 +256,18 @@ class _CortexSearchServiceState:
252
256
  def database(self, value: Optional[pulumi.Input[str]]):
253
257
  pulumi.set(self, "database", value)
254
258
 
259
+ @property
260
+ @pulumi.getter(name="fullyQualifiedName")
261
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
262
+ """
263
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
264
+ """
265
+ return pulumi.get(self, "fully_qualified_name")
266
+
267
+ @fully_qualified_name.setter
268
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
269
+ pulumi.set(self, "fully_qualified_name", value)
270
+
255
271
  @property
256
272
  @pulumi.getter
257
273
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -341,44 +357,6 @@ class CortexSearchService(pulumi.CustomResource):
341
357
  warehouse: Optional[pulumi.Input[str]] = None,
342
358
  __props__=None):
343
359
  """
344
- ## Example Usage
345
-
346
- ```python
347
- import pulumi
348
- import pulumi_snowflake as snowflake
349
-
350
- ## Basic
351
- test = snowflake.Database("test", name="some_database")
352
- test_schema = snowflake.Schema("test",
353
- database=test.name,
354
- name="some_schema")
355
- test_table = snowflake.Table("test",
356
- database=test.name,
357
- schema=test_schema.name,
358
- name="some_table",
359
- change_tracking=True,
360
- columns=[
361
- {
362
- "name": "ID",
363
- "type": "NUMBER(38,0)",
364
- },
365
- {
366
- "name": "SOME_TEXT",
367
- "type": "VARCHAR",
368
- },
369
- ])
370
- test_cortex_search_service = snowflake.CortexSearchService("test",
371
- database=test.name,
372
- schema=test_schema.name,
373
- name="some_name",
374
- on="SOME_TEXT",
375
- target_lag="2 minutes",
376
- warehouse="some_warehouse",
377
- query="SELECT SOME_TEXT FROM \\"some_database\\".\\"some_schema\\".\\"some_table\\"",
378
- comment="some comment",
379
- opts = pulumi.ResourceOptions(depends_on=[test_table]))
380
- ```
381
-
382
360
  ## Import
383
361
 
384
362
  ```sh
@@ -404,44 +382,6 @@ class CortexSearchService(pulumi.CustomResource):
404
382
  args: CortexSearchServiceArgs,
405
383
  opts: Optional[pulumi.ResourceOptions] = None):
406
384
  """
407
- ## Example Usage
408
-
409
- ```python
410
- import pulumi
411
- import pulumi_snowflake as snowflake
412
-
413
- ## Basic
414
- test = snowflake.Database("test", name="some_database")
415
- test_schema = snowflake.Schema("test",
416
- database=test.name,
417
- name="some_schema")
418
- test_table = snowflake.Table("test",
419
- database=test.name,
420
- schema=test_schema.name,
421
- name="some_table",
422
- change_tracking=True,
423
- columns=[
424
- {
425
- "name": "ID",
426
- "type": "NUMBER(38,0)",
427
- },
428
- {
429
- "name": "SOME_TEXT",
430
- "type": "VARCHAR",
431
- },
432
- ])
433
- test_cortex_search_service = snowflake.CortexSearchService("test",
434
- database=test.name,
435
- schema=test_schema.name,
436
- name="some_name",
437
- on="SOME_TEXT",
438
- target_lag="2 minutes",
439
- warehouse="some_warehouse",
440
- query="SELECT SOME_TEXT FROM \\"some_database\\".\\"some_schema\\".\\"some_table\\"",
441
- comment="some comment",
442
- opts = pulumi.ResourceOptions(depends_on=[test_table]))
443
- ```
444
-
445
385
  ## Import
446
386
 
447
387
  ```sh
@@ -503,6 +443,7 @@ class CortexSearchService(pulumi.CustomResource):
503
443
  raise TypeError("Missing required property 'warehouse'")
504
444
  __props__.__dict__["warehouse"] = warehouse
505
445
  __props__.__dict__["created_on"] = None
446
+ __props__.__dict__["fully_qualified_name"] = None
506
447
  super(CortexSearchService, __self__).__init__(
507
448
  'snowflake:index/cortexSearchService:CortexSearchService',
508
449
  resource_name,
@@ -517,6 +458,7 @@ class CortexSearchService(pulumi.CustomResource):
517
458
  comment: Optional[pulumi.Input[str]] = None,
518
459
  created_on: Optional[pulumi.Input[str]] = None,
519
460
  database: Optional[pulumi.Input[str]] = None,
461
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
520
462
  name: Optional[pulumi.Input[str]] = None,
521
463
  on: Optional[pulumi.Input[str]] = None,
522
464
  query: Optional[pulumi.Input[str]] = None,
@@ -534,6 +476,7 @@ class CortexSearchService(pulumi.CustomResource):
534
476
  :param pulumi.Input[str] comment: Specifies a comment for the Cortex search service.
535
477
  :param pulumi.Input[str] created_on: Creation date for the given Cortex search service.
536
478
  :param pulumi.Input[str] database: The database in which to create the Cortex search service.
479
+ :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).
537
480
  :param pulumi.Input[str] name: Specifies the name of the Cortex search service. The name must be unique for the schema in which the service is created.
538
481
  :param pulumi.Input[str] on: Specifies the column to use as the search column for the Cortex search service; must be a text value.
539
482
  :param pulumi.Input[str] query: Specifies the query to use to populate the Cortex search service.
@@ -549,6 +492,7 @@ class CortexSearchService(pulumi.CustomResource):
549
492
  __props__.__dict__["comment"] = comment
550
493
  __props__.__dict__["created_on"] = created_on
551
494
  __props__.__dict__["database"] = database
495
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
552
496
  __props__.__dict__["name"] = name
553
497
  __props__.__dict__["on"] = on
554
498
  __props__.__dict__["query"] = query
@@ -589,6 +533,14 @@ class CortexSearchService(pulumi.CustomResource):
589
533
  """
590
534
  return pulumi.get(self, "database")
591
535
 
536
+ @property
537
+ @pulumi.getter(name="fullyQualifiedName")
538
+ def fully_qualified_name(self) -> pulumi.Output[str]:
539
+ """
540
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
541
+ """
542
+ return pulumi.get(self, "fully_qualified_name")
543
+
592
544
  @property
593
545
  @pulumi.getter
594
546
  def name(self) -> pulumi.Output[str]:
@@ -20,6 +20,7 @@ class DatabaseArgs:
20
20
  comment: Optional[pulumi.Input[str]] = None,
21
21
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
22
22
  default_ddl_collation: Optional[pulumi.Input[str]] = None,
23
+ drop_public_schema_on_creation: Optional[pulumi.Input[bool]] = None,
23
24
  enable_console_output: Optional[pulumi.Input[bool]] = None,
24
25
  external_volume: Optional[pulumi.Input[str]] = None,
25
26
  is_transient: Optional[pulumi.Input[bool]] = None,
@@ -42,12 +43,13 @@ class DatabaseArgs:
42
43
  :param pulumi.Input[str] comment: Specifies a comment for the database.
43
44
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
44
45
  :param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
46
+ :param pulumi.Input[bool] drop_public_schema_on_creation: Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
45
47
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
46
48
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
47
49
  :param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
48
50
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
49
51
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
50
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
52
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
51
53
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
52
54
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
53
55
  :param pulumi.Input['DatabaseReplicationArgs'] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
@@ -67,6 +69,8 @@ class DatabaseArgs:
67
69
  pulumi.set(__self__, "data_retention_time_in_days", data_retention_time_in_days)
68
70
  if default_ddl_collation is not None:
69
71
  pulumi.set(__self__, "default_ddl_collation", default_ddl_collation)
72
+ if drop_public_schema_on_creation is not None:
73
+ pulumi.set(__self__, "drop_public_schema_on_creation", drop_public_schema_on_creation)
70
74
  if enable_console_output is not None:
71
75
  pulumi.set(__self__, "enable_console_output", enable_console_output)
72
76
  if external_volume is not None:
@@ -148,6 +152,18 @@ class DatabaseArgs:
148
152
  def default_ddl_collation(self, value: Optional[pulumi.Input[str]]):
149
153
  pulumi.set(self, "default_ddl_collation", value)
150
154
 
155
+ @property
156
+ @pulumi.getter(name="dropPublicSchemaOnCreation")
157
+ def drop_public_schema_on_creation(self) -> Optional[pulumi.Input[bool]]:
158
+ """
159
+ Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
160
+ """
161
+ return pulumi.get(self, "drop_public_schema_on_creation")
162
+
163
+ @drop_public_schema_on_creation.setter
164
+ def drop_public_schema_on_creation(self, value: Optional[pulumi.Input[bool]]):
165
+ pulumi.set(self, "drop_public_schema_on_creation", value)
166
+
151
167
  @property
152
168
  @pulumi.getter(name="enableConsoleOutput")
153
169
  def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
@@ -212,7 +228,7 @@ class DatabaseArgs:
212
228
  @pulumi.getter
213
229
  def name(self) -> Optional[pulumi.Input[str]]:
214
230
  """
215
- Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
231
+ Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
216
232
  """
217
233
  return pulumi.get(self, "name")
218
234
 
@@ -348,8 +364,10 @@ class _DatabaseState:
348
364
  comment: Optional[pulumi.Input[str]] = None,
349
365
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
350
366
  default_ddl_collation: Optional[pulumi.Input[str]] = None,
367
+ drop_public_schema_on_creation: Optional[pulumi.Input[bool]] = None,
351
368
  enable_console_output: Optional[pulumi.Input[bool]] = None,
352
369
  external_volume: Optional[pulumi.Input[str]] = None,
370
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
353
371
  is_transient: Optional[pulumi.Input[bool]] = None,
354
372
  log_level: Optional[pulumi.Input[str]] = None,
355
373
  max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
@@ -370,12 +388,14 @@ class _DatabaseState:
370
388
  :param pulumi.Input[str] comment: Specifies a comment for the database.
371
389
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
372
390
  :param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
391
+ :param pulumi.Input[bool] drop_public_schema_on_creation: Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
373
392
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
374
393
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
394
+ :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).
375
395
  :param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
376
396
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
377
397
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
378
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
398
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
379
399
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
380
400
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
381
401
  :param pulumi.Input['DatabaseReplicationArgs'] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
@@ -395,10 +415,14 @@ class _DatabaseState:
395
415
  pulumi.set(__self__, "data_retention_time_in_days", data_retention_time_in_days)
396
416
  if default_ddl_collation is not None:
397
417
  pulumi.set(__self__, "default_ddl_collation", default_ddl_collation)
418
+ if drop_public_schema_on_creation is not None:
419
+ pulumi.set(__self__, "drop_public_schema_on_creation", drop_public_schema_on_creation)
398
420
  if enable_console_output is not None:
399
421
  pulumi.set(__self__, "enable_console_output", enable_console_output)
400
422
  if external_volume is not None:
401
423
  pulumi.set(__self__, "external_volume", external_volume)
424
+ if fully_qualified_name is not None:
425
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
402
426
  if is_transient is not None:
403
427
  pulumi.set(__self__, "is_transient", is_transient)
404
428
  if log_level is not None:
@@ -476,6 +500,18 @@ class _DatabaseState:
476
500
  def default_ddl_collation(self, value: Optional[pulumi.Input[str]]):
477
501
  pulumi.set(self, "default_ddl_collation", value)
478
502
 
503
+ @property
504
+ @pulumi.getter(name="dropPublicSchemaOnCreation")
505
+ def drop_public_schema_on_creation(self) -> Optional[pulumi.Input[bool]]:
506
+ """
507
+ Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
508
+ """
509
+ return pulumi.get(self, "drop_public_schema_on_creation")
510
+
511
+ @drop_public_schema_on_creation.setter
512
+ def drop_public_schema_on_creation(self, value: Optional[pulumi.Input[bool]]):
513
+ pulumi.set(self, "drop_public_schema_on_creation", value)
514
+
479
515
  @property
480
516
  @pulumi.getter(name="enableConsoleOutput")
481
517
  def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
@@ -500,6 +536,18 @@ class _DatabaseState:
500
536
  def external_volume(self, value: Optional[pulumi.Input[str]]):
501
537
  pulumi.set(self, "external_volume", value)
502
538
 
539
+ @property
540
+ @pulumi.getter(name="fullyQualifiedName")
541
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
542
+ """
543
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
544
+ """
545
+ return pulumi.get(self, "fully_qualified_name")
546
+
547
+ @fully_qualified_name.setter
548
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
549
+ pulumi.set(self, "fully_qualified_name", value)
550
+
503
551
  @property
504
552
  @pulumi.getter(name="isTransient")
505
553
  def is_transient(self) -> Optional[pulumi.Input[bool]]:
@@ -540,7 +588,7 @@ class _DatabaseState:
540
588
  @pulumi.getter
541
589
  def name(self) -> Optional[pulumi.Input[str]]:
542
590
  """
543
- Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
591
+ Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
544
592
  """
545
593
  return pulumi.get(self, "name")
546
594
 
@@ -678,6 +726,7 @@ class Database(pulumi.CustomResource):
678
726
  comment: Optional[pulumi.Input[str]] = None,
679
727
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
680
728
  default_ddl_collation: Optional[pulumi.Input[str]] = None,
729
+ drop_public_schema_on_creation: Optional[pulumi.Input[bool]] = None,
681
730
  enable_console_output: Optional[pulumi.Input[bool]] = None,
682
731
  external_volume: Optional[pulumi.Input[str]] = None,
683
732
  is_transient: Optional[pulumi.Input[bool]] = None,
@@ -696,10 +745,6 @@ class Database(pulumi.CustomResource):
696
745
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
697
746
  __props__=None):
698
747
  """
699
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
700
-
701
- Represents a standard database. If replication configuration is specified, the database is promoted to serve as a primary database for replication.
702
-
703
748
  ## Import
704
749
 
705
750
  ```sh
@@ -712,12 +757,13 @@ class Database(pulumi.CustomResource):
712
757
  :param pulumi.Input[str] comment: Specifies a comment for the database.
713
758
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
714
759
  :param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
760
+ :param pulumi.Input[bool] drop_public_schema_on_creation: Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
715
761
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
716
762
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
717
763
  :param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
718
764
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
719
765
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
720
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
766
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
721
767
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
722
768
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
723
769
  :param pulumi.Input[Union['DatabaseReplicationArgs', 'DatabaseReplicationArgsDict']] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
@@ -736,10 +782,6 @@ class Database(pulumi.CustomResource):
736
782
  args: Optional[DatabaseArgs] = None,
737
783
  opts: Optional[pulumi.ResourceOptions] = None):
738
784
  """
739
- !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
740
-
741
- Represents a standard database. If replication configuration is specified, the database is promoted to serve as a primary database for replication.
742
-
743
785
  ## Import
744
786
 
745
787
  ```sh
@@ -765,6 +807,7 @@ class Database(pulumi.CustomResource):
765
807
  comment: Optional[pulumi.Input[str]] = None,
766
808
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
767
809
  default_ddl_collation: Optional[pulumi.Input[str]] = None,
810
+ drop_public_schema_on_creation: Optional[pulumi.Input[bool]] = None,
768
811
  enable_console_output: Optional[pulumi.Input[bool]] = None,
769
812
  external_volume: Optional[pulumi.Input[str]] = None,
770
813
  is_transient: Optional[pulumi.Input[bool]] = None,
@@ -794,6 +837,7 @@ class Database(pulumi.CustomResource):
794
837
  __props__.__dict__["comment"] = comment
795
838
  __props__.__dict__["data_retention_time_in_days"] = data_retention_time_in_days
796
839
  __props__.__dict__["default_ddl_collation"] = default_ddl_collation
840
+ __props__.__dict__["drop_public_schema_on_creation"] = drop_public_schema_on_creation
797
841
  __props__.__dict__["enable_console_output"] = enable_console_output
798
842
  __props__.__dict__["external_volume"] = external_volume
799
843
  __props__.__dict__["is_transient"] = is_transient
@@ -810,6 +854,7 @@ class Database(pulumi.CustomResource):
810
854
  __props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
811
855
  __props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
812
856
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
857
+ __props__.__dict__["fully_qualified_name"] = None
813
858
  super(Database, __self__).__init__(
814
859
  'snowflake:index/database:Database',
815
860
  resource_name,
@@ -824,8 +869,10 @@ class Database(pulumi.CustomResource):
824
869
  comment: Optional[pulumi.Input[str]] = None,
825
870
  data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
826
871
  default_ddl_collation: Optional[pulumi.Input[str]] = None,
872
+ drop_public_schema_on_creation: Optional[pulumi.Input[bool]] = None,
827
873
  enable_console_output: Optional[pulumi.Input[bool]] = None,
828
874
  external_volume: Optional[pulumi.Input[str]] = None,
875
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
829
876
  is_transient: Optional[pulumi.Input[bool]] = None,
830
877
  log_level: Optional[pulumi.Input[str]] = None,
831
878
  max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
@@ -851,12 +898,14 @@ class Database(pulumi.CustomResource):
851
898
  :param pulumi.Input[str] comment: Specifies a comment for the database.
852
899
  :param pulumi.Input[int] data_retention_time_in_days: Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
853
900
  :param pulumi.Input[str] default_ddl_collation: Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
901
+ :param pulumi.Input[bool] drop_public_schema_on_creation: Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
854
902
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
855
903
  :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
904
+ :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).
856
905
  :param pulumi.Input[bool] is_transient: Specifies the database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
857
906
  :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
858
907
  :param pulumi.Input[int] max_data_extension_time_in_days: Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
859
- :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
908
+ :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
860
909
  :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
861
910
  :param pulumi.Input[bool] replace_invalid_characters: Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
862
911
  :param pulumi.Input[Union['DatabaseReplicationArgs', 'DatabaseReplicationArgsDict']] replication: Configures replication for a given database. When specified, this database will be promoted to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database.
@@ -876,8 +925,10 @@ class Database(pulumi.CustomResource):
876
925
  __props__.__dict__["comment"] = comment
877
926
  __props__.__dict__["data_retention_time_in_days"] = data_retention_time_in_days
878
927
  __props__.__dict__["default_ddl_collation"] = default_ddl_collation
928
+ __props__.__dict__["drop_public_schema_on_creation"] = drop_public_schema_on_creation
879
929
  __props__.__dict__["enable_console_output"] = enable_console_output
880
930
  __props__.__dict__["external_volume"] = external_volume
931
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
881
932
  __props__.__dict__["is_transient"] = is_transient
882
933
  __props__.__dict__["log_level"] = log_level
883
934
  __props__.__dict__["max_data_extension_time_in_days"] = max_data_extension_time_in_days
@@ -926,6 +977,14 @@ class Database(pulumi.CustomResource):
926
977
  """
927
978
  return pulumi.get(self, "default_ddl_collation")
928
979
 
980
+ @property
981
+ @pulumi.getter(name="dropPublicSchemaOnCreation")
982
+ def drop_public_schema_on_creation(self) -> pulumi.Output[Optional[bool]]:
983
+ """
984
+ Specifies whether to drop public schema on creation or not. Modifying the parameter after database is already created won't have any effect.
985
+ """
986
+ return pulumi.get(self, "drop_public_schema_on_creation")
987
+
929
988
  @property
930
989
  @pulumi.getter(name="enableConsoleOutput")
931
990
  def enable_console_output(self) -> pulumi.Output[bool]:
@@ -942,6 +1001,14 @@ class Database(pulumi.CustomResource):
942
1001
  """
943
1002
  return pulumi.get(self, "external_volume")
944
1003
 
1004
+ @property
1005
+ @pulumi.getter(name="fullyQualifiedName")
1006
+ def fully_qualified_name(self) -> pulumi.Output[str]:
1007
+ """
1008
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
1009
+ """
1010
+ return pulumi.get(self, "fully_qualified_name")
1011
+
945
1012
  @property
946
1013
  @pulumi.getter(name="isTransient")
947
1014
  def is_transient(self) -> pulumi.Output[Optional[bool]]:
@@ -970,7 +1037,7 @@ class Database(pulumi.CustomResource):
970
1037
  @pulumi.getter
971
1038
  def name(self) -> pulumi.Output[str]:
972
1039
  """
973
- Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database.
1040
+ Specifies the identifier for the database; must be unique for your account. As a best practice for [Database Replication and Failover](https://docs.snowflake.com/en/user-guide/db-replication-intro), it is recommended to give each secondary database the same name as its primary database. This practice supports referencing fully-qualified objects (i.e. '\\n\\n.\\n\\n.\\n\\n') by other objects in the same database, such as querying a fully-qualified table name in a view. If a secondary database has a different name from the primary database, then these object references would break in the secondary database. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
974
1041
  """
975
1042
  return pulumi.get(self, "name")
976
1043
 
@@ -300,42 +300,6 @@ class DatabaseOld(pulumi.CustomResource):
300
300
  replication_configuration: Optional[pulumi.Input[Union['DatabaseOldReplicationConfigurationArgs', 'DatabaseOldReplicationConfigurationArgsDict']]] = None,
301
301
  __props__=None):
302
302
  """
303
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use Database or SharedDatabase or SecondaryDatabase instead. <deprecation>
304
-
305
- ## Example Usage
306
-
307
- ```python
308
- import pulumi
309
- import pulumi_snowflake as snowflake
310
-
311
- simple = snowflake.DatabaseOld("simple",
312
- name="testing",
313
- comment="test comment",
314
- data_retention_time_in_days=3)
315
- with_replication = snowflake.DatabaseOld("with_replication",
316
- name="testing_2",
317
- comment="test comment 2",
318
- replication_configuration={
319
- "accounts": [
320
- "test_account1",
321
- "test_account_2",
322
- ],
323
- "ignore_edition_check": True,
324
- })
325
- from_replica = snowflake.DatabaseOld("from_replica",
326
- name="testing_3",
327
- comment="test comment",
328
- data_retention_time_in_days=3,
329
- from_replica="\\"org1\\".\\"account1\\".\\"primary_db_name\\"")
330
- from_share = snowflake.DatabaseOld("from_share",
331
- name="testing_4",
332
- comment="test comment",
333
- from_share={
334
- "provider": "account1_locator",
335
- "share": "share1",
336
- })
337
- ```
338
-
339
303
  ## Import
340
304
 
341
305
  ```sh
@@ -360,42 +324,6 @@ class DatabaseOld(pulumi.CustomResource):
360
324
  args: Optional[DatabaseOldArgs] = None,
361
325
  opts: Optional[pulumi.ResourceOptions] = None):
362
326
  """
363
- > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use Database or SharedDatabase or SecondaryDatabase instead. <deprecation>
364
-
365
- ## Example Usage
366
-
367
- ```python
368
- import pulumi
369
- import pulumi_snowflake as snowflake
370
-
371
- simple = snowflake.DatabaseOld("simple",
372
- name="testing",
373
- comment="test comment",
374
- data_retention_time_in_days=3)
375
- with_replication = snowflake.DatabaseOld("with_replication",
376
- name="testing_2",
377
- comment="test comment 2",
378
- replication_configuration={
379
- "accounts": [
380
- "test_account1",
381
- "test_account_2",
382
- ],
383
- "ignore_edition_check": True,
384
- })
385
- from_replica = snowflake.DatabaseOld("from_replica",
386
- name="testing_3",
387
- comment="test comment",
388
- data_retention_time_in_days=3,
389
- from_replica="\\"org1\\".\\"account1\\".\\"primary_db_name\\"")
390
- from_share = snowflake.DatabaseOld("from_share",
391
- name="testing_4",
392
- comment="test comment",
393
- from_share={
394
- "provider": "account1_locator",
395
- "share": "share1",
396
- })
397
- ```
398
-
399
327
  ## Import
400
328
 
401
329
  ```sh