pulumi-snowflake 0.57.0__py3-none-any.whl → 0.57.0a1721891443__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.
Files changed (32) hide show
  1. pulumi_snowflake/__init__.py +0 -20
  2. pulumi_snowflake/_inputs.py +241 -2479
  3. pulumi_snowflake/_utilities.py +0 -2
  4. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +0 -4
  5. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +0 -4
  6. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +0 -4
  7. pulumi_snowflake/database.py +63 -63
  8. pulumi_snowflake/external_oauth_integration.py +2 -2
  9. pulumi_snowflake/get_roles.py +31 -37
  10. pulumi_snowflake/get_schemas.py +38 -115
  11. pulumi_snowflake/network_policy.py +19 -103
  12. pulumi_snowflake/oauth_integration_for_custom_clients.py +14 -18
  13. pulumi_snowflake/oauth_integration_for_partner_applications.py +14 -18
  14. pulumi_snowflake/outputs.py +2761 -5882
  15. pulumi_snowflake/pulumi-plugin.json +1 -1
  16. pulumi_snowflake/role.py +72 -44
  17. pulumi_snowflake/saml2_integration.py +28 -32
  18. pulumi_snowflake/schema.py +151 -905
  19. pulumi_snowflake/scim_integration.py +21 -25
  20. pulumi_snowflake/secondary_database.py +63 -63
  21. pulumi_snowflake/shared_database.py +63 -63
  22. pulumi_snowflake/table.py +120 -0
  23. pulumi_snowflake/table_constraint.py +2 -2
  24. pulumi_snowflake/unsafe_execute.py +8 -8
  25. {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/METADATA +1 -1
  26. {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/RECORD +28 -32
  27. {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/WHEEL +1 -1
  28. pulumi_snowflake/account_role.py +0 -226
  29. pulumi_snowflake/get_network_policies.py +0 -122
  30. pulumi_snowflake/get_streamlits.py +0 -159
  31. pulumi_snowflake/streamlit.py +0 -650
  32. {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/top_level.txt +0 -0
@@ -34,22 +34,22 @@ class SharedDatabaseArgs:
34
34
  """
35
35
  The set of arguments for constructing a SharedDatabase resource.
36
36
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
37
- :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
37
+ :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
38
38
  :param pulumi.Input[str] comment: Specifies a comment for the database.
39
39
  :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).
40
40
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
41
- :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).
41
+ :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
42
42
  :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).
43
43
  :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
44
- :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).
45
- :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).
46
- :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
47
- :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
48
- :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
44
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
45
+ :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.
46
+ :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
47
+ :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
48
+ :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
49
49
  :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
50
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
50
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
51
51
  :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
52
- :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
52
+ :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
53
53
  """
54
54
  pulumi.set(__self__, "from_share", from_share)
55
55
  if catalog is not None:
@@ -101,7 +101,7 @@ class SharedDatabaseArgs:
101
101
  @pulumi.getter
102
102
  def catalog(self) -> Optional[pulumi.Input[str]]:
103
103
  """
104
- The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
104
+ The database parameter that specifies the default catalog to use for Iceberg tables.
105
105
  """
106
106
  return pulumi.get(self, "catalog")
107
107
 
@@ -149,7 +149,7 @@ class SharedDatabaseArgs:
149
149
  @pulumi.getter(name="externalVolume")
150
150
  def external_volume(self) -> Optional[pulumi.Input[str]]:
151
151
  """
152
- 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).
152
+ The database parameter that specifies the default external volume to use for Iceberg tables.
153
153
  """
154
154
  return pulumi.get(self, "external_volume")
155
155
 
@@ -185,7 +185,7 @@ class SharedDatabaseArgs:
185
185
  @pulumi.getter(name="quotedIdentifiersIgnoreCase")
186
186
  def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
187
187
  """
188
- 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).
188
+ If true, the case of quoted identifiers is ignored.
189
189
  """
190
190
  return pulumi.get(self, "quoted_identifiers_ignore_case")
191
191
 
@@ -197,7 +197,7 @@ class SharedDatabaseArgs:
197
197
  @pulumi.getter(name="replaceInvalidCharacters")
198
198
  def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
199
199
  """
200
- 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).
200
+ 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.
201
201
  """
202
202
  return pulumi.get(self, "replace_invalid_characters")
203
203
 
@@ -209,7 +209,7 @@ class SharedDatabaseArgs:
209
209
  @pulumi.getter(name="storageSerializationPolicy")
210
210
  def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
211
211
  """
212
- The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
212
+ The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
213
213
  """
214
214
  return pulumi.get(self, "storage_serialization_policy")
215
215
 
@@ -221,7 +221,7 @@ class SharedDatabaseArgs:
221
221
  @pulumi.getter(name="suspendTaskAfterNumFailures")
222
222
  def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
223
223
  """
224
- How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
224
+ How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
225
225
  """
226
226
  return pulumi.get(self, "suspend_task_after_num_failures")
227
227
 
@@ -233,7 +233,7 @@ class SharedDatabaseArgs:
233
233
  @pulumi.getter(name="taskAutoRetryAttempts")
234
234
  def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
235
235
  """
236
- Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
236
+ Maximum automatic retries allowed for a user task.
237
237
  """
238
238
  return pulumi.get(self, "task_auto_retry_attempts")
239
239
 
@@ -257,7 +257,7 @@ class SharedDatabaseArgs:
257
257
  @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
258
258
  def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
259
259
  """
260
- The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
260
+ The initial size of warehouse to use for managed warehouses in the absence of history.
261
261
  """
262
262
  return pulumi.get(self, "user_task_managed_initial_warehouse_size")
263
263
 
@@ -281,7 +281,7 @@ class SharedDatabaseArgs:
281
281
  @pulumi.getter(name="userTaskTimeoutMs")
282
282
  def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
283
283
  """
284
- User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
284
+ User task execution timeout in milliseconds.
285
285
  """
286
286
  return pulumi.get(self, "user_task_timeout_ms")
287
287
 
@@ -312,23 +312,23 @@ class _SharedDatabaseState:
312
312
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None):
313
313
  """
314
314
  Input properties used for looking up and filtering SharedDatabase resources.
315
- :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
315
+ :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
316
316
  :param pulumi.Input[str] comment: Specifies a comment for the database.
317
317
  :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).
318
318
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
319
- :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).
319
+ :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
320
320
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
321
321
  :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).
322
322
  :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
323
- :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).
324
- :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).
325
- :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
326
- :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
327
- :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
323
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
324
+ :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.
325
+ :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
326
+ :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
327
+ :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
328
328
  :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
329
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
329
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
330
330
  :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
331
- :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
331
+ :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
332
332
  """
333
333
  if catalog is not None:
334
334
  pulumi.set(__self__, "catalog", catalog)
@@ -369,7 +369,7 @@ class _SharedDatabaseState:
369
369
  @pulumi.getter
370
370
  def catalog(self) -> Optional[pulumi.Input[str]]:
371
371
  """
372
- The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
372
+ The database parameter that specifies the default catalog to use for Iceberg tables.
373
373
  """
374
374
  return pulumi.get(self, "catalog")
375
375
 
@@ -417,7 +417,7 @@ class _SharedDatabaseState:
417
417
  @pulumi.getter(name="externalVolume")
418
418
  def external_volume(self) -> Optional[pulumi.Input[str]]:
419
419
  """
420
- 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).
420
+ The database parameter that specifies the default external volume to use for Iceberg tables.
421
421
  """
422
422
  return pulumi.get(self, "external_volume")
423
423
 
@@ -465,7 +465,7 @@ class _SharedDatabaseState:
465
465
  @pulumi.getter(name="quotedIdentifiersIgnoreCase")
466
466
  def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
467
467
  """
468
- 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).
468
+ If true, the case of quoted identifiers is ignored.
469
469
  """
470
470
  return pulumi.get(self, "quoted_identifiers_ignore_case")
471
471
 
@@ -477,7 +477,7 @@ class _SharedDatabaseState:
477
477
  @pulumi.getter(name="replaceInvalidCharacters")
478
478
  def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
479
479
  """
480
- 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).
480
+ 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.
481
481
  """
482
482
  return pulumi.get(self, "replace_invalid_characters")
483
483
 
@@ -489,7 +489,7 @@ class _SharedDatabaseState:
489
489
  @pulumi.getter(name="storageSerializationPolicy")
490
490
  def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
491
491
  """
492
- The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
492
+ The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
493
493
  """
494
494
  return pulumi.get(self, "storage_serialization_policy")
495
495
 
@@ -501,7 +501,7 @@ class _SharedDatabaseState:
501
501
  @pulumi.getter(name="suspendTaskAfterNumFailures")
502
502
  def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
503
503
  """
504
- How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
504
+ How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
505
505
  """
506
506
  return pulumi.get(self, "suspend_task_after_num_failures")
507
507
 
@@ -513,7 +513,7 @@ class _SharedDatabaseState:
513
513
  @pulumi.getter(name="taskAutoRetryAttempts")
514
514
  def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
515
515
  """
516
- Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
516
+ Maximum automatic retries allowed for a user task.
517
517
  """
518
518
  return pulumi.get(self, "task_auto_retry_attempts")
519
519
 
@@ -537,7 +537,7 @@ class _SharedDatabaseState:
537
537
  @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
538
538
  def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
539
539
  """
540
- The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
540
+ The initial size of warehouse to use for managed warehouses in the absence of history.
541
541
  """
542
542
  return pulumi.get(self, "user_task_managed_initial_warehouse_size")
543
543
 
@@ -561,7 +561,7 @@ class _SharedDatabaseState:
561
561
  @pulumi.getter(name="userTaskTimeoutMs")
562
562
  def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
563
563
  """
564
- User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
564
+ User task execution timeout in milliseconds.
565
565
  """
566
566
  return pulumi.get(self, "user_task_timeout_ms")
567
567
 
@@ -606,23 +606,23 @@ class SharedDatabase(pulumi.CustomResource):
606
606
 
607
607
  :param str resource_name: The name of the resource.
608
608
  :param pulumi.ResourceOptions opts: Options for the resource.
609
- :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
609
+ :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
610
610
  :param pulumi.Input[str] comment: Specifies a comment for the database.
611
611
  :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).
612
612
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
613
- :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).
613
+ :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
614
614
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
615
615
  :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).
616
616
  :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
617
- :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).
618
- :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).
619
- :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
620
- :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
621
- :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
617
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
618
+ :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.
619
+ :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
620
+ :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
621
+ :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
622
622
  :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
623
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
623
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
624
624
  :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
625
- :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
625
+ :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
626
626
  """
627
627
  ...
628
628
  @overload
@@ -735,23 +735,23 @@ class SharedDatabase(pulumi.CustomResource):
735
735
  :param str resource_name: The unique name of the resulting resource.
736
736
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
737
737
  :param pulumi.ResourceOptions opts: Options for the resource.
738
- :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
738
+ :param pulumi.Input[str] catalog: The database parameter that specifies the default catalog to use for Iceberg tables.
739
739
  :param pulumi.Input[str] comment: Specifies a comment for the database.
740
740
  :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).
741
741
  :param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
742
- :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).
742
+ :param pulumi.Input[str] external_volume: The database parameter that specifies the default external volume to use for Iceberg tables.
743
743
  :param pulumi.Input[str] from_share: A fully qualified path to a share from which the database will be created. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<share_name>"`.
744
744
  :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).
745
745
  :param pulumi.Input[str] name: Specifies the identifier for the database; must be unique for your account.
746
- :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).
747
- :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).
748
- :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
749
- :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
750
- :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
746
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: If true, the case of quoted identifiers is ignored.
747
+ :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.
748
+ :param pulumi.Input[str] storage_serialization_policy: The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
749
+ :param pulumi.Input[int] suspend_task_after_num_failures: How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
750
+ :param pulumi.Input[int] task_auto_retry_attempts: Maximum automatic retries allowed for a user task.
751
751
  :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
752
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
752
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: The initial size of warehouse to use for managed warehouses in the absence of history.
753
753
  :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
754
- :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
754
+ :param pulumi.Input[int] user_task_timeout_ms: User task execution timeout in milliseconds.
755
755
  """
756
756
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
757
757
 
@@ -780,7 +780,7 @@ class SharedDatabase(pulumi.CustomResource):
780
780
  @pulumi.getter
781
781
  def catalog(self) -> pulumi.Output[str]:
782
782
  """
783
- The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
783
+ The database parameter that specifies the default catalog to use for Iceberg tables.
784
784
  """
785
785
  return pulumi.get(self, "catalog")
786
786
 
@@ -812,7 +812,7 @@ class SharedDatabase(pulumi.CustomResource):
812
812
  @pulumi.getter(name="externalVolume")
813
813
  def external_volume(self) -> pulumi.Output[str]:
814
814
  """
815
- 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).
815
+ The database parameter that specifies the default external volume to use for Iceberg tables.
816
816
  """
817
817
  return pulumi.get(self, "external_volume")
818
818
 
@@ -844,7 +844,7 @@ class SharedDatabase(pulumi.CustomResource):
844
844
  @pulumi.getter(name="quotedIdentifiersIgnoreCase")
845
845
  def quoted_identifiers_ignore_case(self) -> pulumi.Output[bool]:
846
846
  """
847
- 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).
847
+ If true, the case of quoted identifiers is ignored.
848
848
  """
849
849
  return pulumi.get(self, "quoted_identifiers_ignore_case")
850
850
 
@@ -852,7 +852,7 @@ class SharedDatabase(pulumi.CustomResource):
852
852
  @pulumi.getter(name="replaceInvalidCharacters")
853
853
  def replace_invalid_characters(self) -> pulumi.Output[bool]:
854
854
  """
855
- 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).
855
+ 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.
856
856
  """
857
857
  return pulumi.get(self, "replace_invalid_characters")
858
858
 
@@ -860,7 +860,7 @@ class SharedDatabase(pulumi.CustomResource):
860
860
  @pulumi.getter(name="storageSerializationPolicy")
861
861
  def storage_serialization_policy(self) -> pulumi.Output[str]:
862
862
  """
863
- The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
863
+ The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake.
864
864
  """
865
865
  return pulumi.get(self, "storage_serialization_policy")
866
866
 
@@ -868,7 +868,7 @@ class SharedDatabase(pulumi.CustomResource):
868
868
  @pulumi.getter(name="suspendTaskAfterNumFailures")
869
869
  def suspend_task_after_num_failures(self) -> pulumi.Output[int]:
870
870
  """
871
- How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
871
+ How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending.
872
872
  """
873
873
  return pulumi.get(self, "suspend_task_after_num_failures")
874
874
 
@@ -876,7 +876,7 @@ class SharedDatabase(pulumi.CustomResource):
876
876
  @pulumi.getter(name="taskAutoRetryAttempts")
877
877
  def task_auto_retry_attempts(self) -> pulumi.Output[int]:
878
878
  """
879
- Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
879
+ Maximum automatic retries allowed for a user task.
880
880
  """
881
881
  return pulumi.get(self, "task_auto_retry_attempts")
882
882
 
@@ -892,7 +892,7 @@ class SharedDatabase(pulumi.CustomResource):
892
892
  @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
893
893
  def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[str]:
894
894
  """
895
- The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
895
+ The initial size of warehouse to use for managed warehouses in the absence of history.
896
896
  """
897
897
  return pulumi.get(self, "user_task_managed_initial_warehouse_size")
898
898
 
@@ -908,7 +908,7 @@ class SharedDatabase(pulumi.CustomResource):
908
908
  @pulumi.getter(name="userTaskTimeoutMs")
909
909
  def user_task_timeout_ms(self) -> pulumi.Output[int]:
910
910
  """
911
- User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
911
+ User task execution timeout in milliseconds.
912
912
  """
913
913
  return pulumi.get(self, "user_task_timeout_ms")
914
914
 
pulumi_snowflake/table.py CHANGED
@@ -413,6 +413,66 @@ class Table(pulumi.CustomResource):
413
413
  """
414
414
  ## Example Usage
415
415
 
416
+ ```python
417
+ import pulumi
418
+ import pulumi_snowflake as snowflake
419
+
420
+ schema = snowflake.Schema("schema",
421
+ database="database",
422
+ name="schema",
423
+ data_retention_days=1)
424
+ sequence = snowflake.Sequence("sequence",
425
+ database=schema.database,
426
+ schema=schema.name,
427
+ name="sequence")
428
+ table = snowflake.Table("table",
429
+ database=schema.database,
430
+ schema=schema.name,
431
+ name="table",
432
+ comment="A table.",
433
+ cluster_bies=["to_date(DATE)"],
434
+ data_retention_time_in_days=schema.data_retention_time_in_days,
435
+ change_tracking=False,
436
+ columns=[
437
+ snowflake.TableColumnArgs(
438
+ name="id",
439
+ type="int",
440
+ nullable=True,
441
+ default=snowflake.TableColumnDefaultArgs(
442
+ sequence=sequence.fully_qualified_name,
443
+ ),
444
+ ),
445
+ snowflake.TableColumnArgs(
446
+ name="identity",
447
+ type="NUMBER(38,0)",
448
+ nullable=True,
449
+ identity=snowflake.TableColumnIdentityArgs(
450
+ start_num=1,
451
+ step_num=3,
452
+ ),
453
+ ),
454
+ snowflake.TableColumnArgs(
455
+ name="data",
456
+ type="text",
457
+ nullable=False,
458
+ collate="en-ci",
459
+ ),
460
+ snowflake.TableColumnArgs(
461
+ name="DATE",
462
+ type="TIMESTAMP_NTZ(9)",
463
+ ),
464
+ snowflake.TableColumnArgs(
465
+ name="extra",
466
+ type="VARIANT",
467
+ comment="extra data",
468
+ ),
469
+ ],
470
+ primary_key=snowflake.TablePrimaryKeyArgs(
471
+ name="my_key",
472
+ keys=["data"],
473
+ ))
474
+ ```
475
+
416
476
  ## Import
417
477
 
418
478
  format is database name | schema name | table name
@@ -443,6 +503,66 @@ class Table(pulumi.CustomResource):
443
503
  """
444
504
  ## Example Usage
445
505
 
506
+ ```python
507
+ import pulumi
508
+ import pulumi_snowflake as snowflake
509
+
510
+ schema = snowflake.Schema("schema",
511
+ database="database",
512
+ name="schema",
513
+ data_retention_days=1)
514
+ sequence = snowflake.Sequence("sequence",
515
+ database=schema.database,
516
+ schema=schema.name,
517
+ name="sequence")
518
+ table = snowflake.Table("table",
519
+ database=schema.database,
520
+ schema=schema.name,
521
+ name="table",
522
+ comment="A table.",
523
+ cluster_bies=["to_date(DATE)"],
524
+ data_retention_time_in_days=schema.data_retention_time_in_days,
525
+ change_tracking=False,
526
+ columns=[
527
+ snowflake.TableColumnArgs(
528
+ name="id",
529
+ type="int",
530
+ nullable=True,
531
+ default=snowflake.TableColumnDefaultArgs(
532
+ sequence=sequence.fully_qualified_name,
533
+ ),
534
+ ),
535
+ snowflake.TableColumnArgs(
536
+ name="identity",
537
+ type="NUMBER(38,0)",
538
+ nullable=True,
539
+ identity=snowflake.TableColumnIdentityArgs(
540
+ start_num=1,
541
+ step_num=3,
542
+ ),
543
+ ),
544
+ snowflake.TableColumnArgs(
545
+ name="data",
546
+ type="text",
547
+ nullable=False,
548
+ collate="en-ci",
549
+ ),
550
+ snowflake.TableColumnArgs(
551
+ name="DATE",
552
+ type="TIMESTAMP_NTZ(9)",
553
+ ),
554
+ snowflake.TableColumnArgs(
555
+ name="extra",
556
+ type="VARIANT",
557
+ comment="extra data",
558
+ ),
559
+ ],
560
+ primary_key=snowflake.TablePrimaryKeyArgs(
561
+ name="my_key",
562
+ keys=["data"],
563
+ ))
564
+ ```
565
+
446
566
  ## Import
447
567
 
448
568
  format is database name | schema name | table name
@@ -516,7 +516,7 @@ class TableConstraint(pulumi.CustomResource):
516
516
  ## Import
517
517
 
518
518
  ```sh
519
- $ pulumi import snowflake:index/tableConstraint:TableConstraint example 'myconstraintfk❄️FOREIGN KEY❄️databaseName|schemaName|tableName'
519
+ $ pulumi import snowflake:index/tableConstraint:TableConstraint example 'myconstraintfk❄️FOREIGN KEY❄️test|test|table'
520
520
  ```
521
521
 
522
522
  :param str resource_name: The name of the resource.
@@ -620,7 +620,7 @@ class TableConstraint(pulumi.CustomResource):
620
620
  ## Import
621
621
 
622
622
  ```sh
623
- $ pulumi import snowflake:index/tableConstraint:TableConstraint example 'myconstraintfk❄️FOREIGN KEY❄️databaseName|schemaName|tableName'
623
+ $ pulumi import snowflake:index/tableConstraint:TableConstraint example 'myconstraintfk❄️FOREIGN KEY❄️test|test|table'
624
624
  ```
625
625
 
626
626
  :param str resource_name: The name of the resource.
@@ -147,15 +147,15 @@ class UnsafeExecute(pulumi.CustomResource):
147
147
  revert: Optional[pulumi.Input[str]] = None,
148
148
  __props__=None):
149
149
  """
150
- !> **Warning** This is a dangerous resource that allows executing **ANY** SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
151
-
152
- > **Note** This resource will be included in the V1 (check here.
150
+ !> **Warning** This is a dangerous resource that allows executing **ANY** SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Will be deleted in the upcoming versions. Use at your own risk.
153
151
 
154
152
  > **Note** It can be theoretically used to manage resource that are not supported by the provider. This is risky and may brake other resources if used incorrectly.
155
153
 
156
154
  > **Note** Use `query` parameter with caution. It will fetch **ALL** the results returned by the query provided. Try to limit the number of results by writing query with filters. Query failure does not stop resource creation; it simply results in `query_results` being empty.
157
155
 
158
- Experimental resource allowing execution of ANY SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
156
+ > **Deprecation** Experimental resource. Will be deleted in the upcoming versions. Use at your own risk. <deprecation>
157
+
158
+ Experimental resource used for testing purposes only. Allows to execute ANY SQL statement.
159
159
 
160
160
  :param str resource_name: The name of the resource.
161
161
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -170,15 +170,15 @@ class UnsafeExecute(pulumi.CustomResource):
170
170
  args: UnsafeExecuteArgs,
171
171
  opts: Optional[pulumi.ResourceOptions] = None):
172
172
  """
173
- !> **Warning** This is a dangerous resource that allows executing **ANY** SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
174
-
175
- > **Note** This resource will be included in the V1 (check here.
173
+ !> **Warning** This is a dangerous resource that allows executing **ANY** SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Will be deleted in the upcoming versions. Use at your own risk.
176
174
 
177
175
  > **Note** It can be theoretically used to manage resource that are not supported by the provider. This is risky and may brake other resources if used incorrectly.
178
176
 
179
177
  > **Note** Use `query` parameter with caution. It will fetch **ALL** the results returned by the query provided. Try to limit the number of results by writing query with filters. Query failure does not stop resource creation; it simply results in `query_results` being empty.
180
178
 
181
- Experimental resource allowing execution of ANY SQL statement. It may destroy resources if used incorrectly. It may behave incorrectly combined with other resources. Use at your own risk.
179
+ > **Deprecation** Experimental resource. Will be deleted in the upcoming versions. Use at your own risk. <deprecation>
180
+
181
+ Experimental resource used for testing purposes only. Allows to execute ANY SQL statement.
182
182
 
183
183
  :param str resource_name: The name of the resource.
184
184
  :param UnsafeExecuteArgs args: The arguments to use to populate this resource's properties.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_snowflake
3
- Version: 0.57.0
3
+ Version: 0.57.0a1721891443
4
4
  Summary: A Pulumi package for creating and managing snowflake cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io