pulumi-snowflake 1.2.0a1743489585__py3-none-any.whl → 1.2.0a1744183688__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,48 +20,48 @@ __all__ = ['SecondaryDatabaseArgs', 'SecondaryDatabase']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class SecondaryDatabaseArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
as_replica_of: pulumi.Input[str],
|
|
23
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
24
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
26
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
28
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
32
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
34
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
35
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
37
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
38
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
39
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
40
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
41
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None):
|
|
23
|
+
as_replica_of: pulumi.Input[builtins.str],
|
|
24
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
25
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
27
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
is_transient: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
33
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
35
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
36
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
38
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
39
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
41
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
42
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None):
|
|
42
43
|
"""
|
|
43
44
|
The set of arguments for constructing a SecondaryDatabase resource.
|
|
44
|
-
:param pulumi.Input[str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
45
|
-
: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).
|
|
46
|
-
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
47
|
-
: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).
|
|
48
|
-
: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).
|
|
49
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
50
|
-
: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).
|
|
51
|
-
: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.
|
|
52
|
-
: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).
|
|
53
|
-
: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).
|
|
54
|
-
: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: `|`, `.`, `"`.
|
|
55
|
-
: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).
|
|
56
|
-
: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).
|
|
57
|
-
: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).
|
|
58
|
-
: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).
|
|
59
|
-
: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).
|
|
60
|
-
: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).
|
|
61
|
-
: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).
|
|
62
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
63
|
-
: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).
|
|
45
|
+
:param pulumi.Input[builtins.str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
46
|
+
:param pulumi.Input[builtins.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).
|
|
47
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the database.
|
|
48
|
+
:param pulumi.Input[builtins.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).
|
|
49
|
+
:param pulumi.Input[builtins.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).
|
|
50
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
51
|
+
:param pulumi.Input[builtins.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).
|
|
52
|
+
:param pulumi.Input[builtins.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.
|
|
53
|
+
:param pulumi.Input[builtins.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).
|
|
54
|
+
:param pulumi.Input[builtins.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).
|
|
55
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
56
|
+
:param pulumi.Input[builtins.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).
|
|
57
|
+
:param pulumi.Input[builtins.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).
|
|
58
|
+
:param pulumi.Input[builtins.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).
|
|
59
|
+
:param pulumi.Input[builtins.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).
|
|
60
|
+
:param pulumi.Input[builtins.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).
|
|
61
|
+
:param pulumi.Input[builtins.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).
|
|
62
|
+
:param pulumi.Input[builtins.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).
|
|
63
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
64
|
+
:param pulumi.Input[builtins.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).
|
|
64
65
|
"""
|
|
65
66
|
pulumi.set(__self__, "as_replica_of", as_replica_of)
|
|
66
67
|
if catalog is not None:
|
|
@@ -104,292 +105,292 @@ class SecondaryDatabaseArgs:
|
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter(name="asReplicaOf")
|
|
107
|
-
def as_replica_of(self) -> pulumi.Input[str]:
|
|
108
|
+
def as_replica_of(self) -> pulumi.Input[builtins.str]:
|
|
108
109
|
"""
|
|
109
110
|
A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
110
111
|
"""
|
|
111
112
|
return pulumi.get(self, "as_replica_of")
|
|
112
113
|
|
|
113
114
|
@as_replica_of.setter
|
|
114
|
-
def as_replica_of(self, value: pulumi.Input[str]):
|
|
115
|
+
def as_replica_of(self, value: pulumi.Input[builtins.str]):
|
|
115
116
|
pulumi.set(self, "as_replica_of", value)
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter
|
|
119
|
-
def catalog(self) -> Optional[pulumi.Input[str]]:
|
|
120
|
+
def catalog(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
120
121
|
"""
|
|
121
122
|
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).
|
|
122
123
|
"""
|
|
123
124
|
return pulumi.get(self, "catalog")
|
|
124
125
|
|
|
125
126
|
@catalog.setter
|
|
126
|
-
def catalog(self, value: Optional[pulumi.Input[str]]):
|
|
127
|
+
def catalog(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
127
128
|
pulumi.set(self, "catalog", value)
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter
|
|
131
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
132
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
132
133
|
"""
|
|
133
134
|
Specifies a comment for the database.
|
|
134
135
|
"""
|
|
135
136
|
return pulumi.get(self, "comment")
|
|
136
137
|
|
|
137
138
|
@comment.setter
|
|
138
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
139
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
139
140
|
pulumi.set(self, "comment", value)
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter(name="dataRetentionTimeInDays")
|
|
143
|
-
def data_retention_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
144
|
+
def data_retention_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
144
145
|
"""
|
|
145
146
|
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).
|
|
146
147
|
"""
|
|
147
148
|
return pulumi.get(self, "data_retention_time_in_days")
|
|
148
149
|
|
|
149
150
|
@data_retention_time_in_days.setter
|
|
150
|
-
def data_retention_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
151
|
+
def data_retention_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
151
152
|
pulumi.set(self, "data_retention_time_in_days", value)
|
|
152
153
|
|
|
153
154
|
@property
|
|
154
155
|
@pulumi.getter(name="defaultDdlCollation")
|
|
155
|
-
def default_ddl_collation(self) -> Optional[pulumi.Input[str]]:
|
|
156
|
+
def default_ddl_collation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
156
157
|
"""
|
|
157
158
|
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).
|
|
158
159
|
"""
|
|
159
160
|
return pulumi.get(self, "default_ddl_collation")
|
|
160
161
|
|
|
161
162
|
@default_ddl_collation.setter
|
|
162
|
-
def default_ddl_collation(self, value: Optional[pulumi.Input[str]]):
|
|
163
|
+
def default_ddl_collation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
163
164
|
pulumi.set(self, "default_ddl_collation", value)
|
|
164
165
|
|
|
165
166
|
@property
|
|
166
167
|
@pulumi.getter(name="enableConsoleOutput")
|
|
167
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
168
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
168
169
|
"""
|
|
169
170
|
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
170
171
|
"""
|
|
171
172
|
return pulumi.get(self, "enable_console_output")
|
|
172
173
|
|
|
173
174
|
@enable_console_output.setter
|
|
174
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
175
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
175
176
|
pulumi.set(self, "enable_console_output", value)
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter(name="externalVolume")
|
|
179
|
-
def external_volume(self) -> Optional[pulumi.Input[str]]:
|
|
180
|
+
def external_volume(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
181
|
"""
|
|
181
182
|
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).
|
|
182
183
|
"""
|
|
183
184
|
return pulumi.get(self, "external_volume")
|
|
184
185
|
|
|
185
186
|
@external_volume.setter
|
|
186
|
-
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
187
|
+
def external_volume(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
187
188
|
pulumi.set(self, "external_volume", value)
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter(name="isTransient")
|
|
191
|
-
def is_transient(self) -> Optional[pulumi.Input[bool]]:
|
|
192
|
+
def is_transient(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
192
193
|
"""
|
|
193
194
|
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.
|
|
194
195
|
"""
|
|
195
196
|
return pulumi.get(self, "is_transient")
|
|
196
197
|
|
|
197
198
|
@is_transient.setter
|
|
198
|
-
def is_transient(self, value: Optional[pulumi.Input[bool]]):
|
|
199
|
+
def is_transient(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
199
200
|
pulumi.set(self, "is_transient", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="logLevel")
|
|
203
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
204
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
204
205
|
"""
|
|
205
206
|
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).
|
|
206
207
|
"""
|
|
207
208
|
return pulumi.get(self, "log_level")
|
|
208
209
|
|
|
209
210
|
@log_level.setter
|
|
210
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
211
212
|
pulumi.set(self, "log_level", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter(name="maxDataExtensionTimeInDays")
|
|
215
|
-
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
216
|
+
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
216
217
|
"""
|
|
217
218
|
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).
|
|
218
219
|
"""
|
|
219
220
|
return pulumi.get(self, "max_data_extension_time_in_days")
|
|
220
221
|
|
|
221
222
|
@max_data_extension_time_in_days.setter
|
|
222
|
-
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
223
|
+
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
223
224
|
pulumi.set(self, "max_data_extension_time_in_days", value)
|
|
224
225
|
|
|
225
226
|
@property
|
|
226
227
|
@pulumi.getter
|
|
227
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
228
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
228
229
|
"""
|
|
229
230
|
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: `|`, `.`, `"`.
|
|
230
231
|
"""
|
|
231
232
|
return pulumi.get(self, "name")
|
|
232
233
|
|
|
233
234
|
@name.setter
|
|
234
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
235
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
235
236
|
pulumi.set(self, "name", value)
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
239
|
-
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
|
|
240
|
+
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
240
241
|
"""
|
|
241
242
|
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).
|
|
242
243
|
"""
|
|
243
244
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
244
245
|
|
|
245
246
|
@quoted_identifiers_ignore_case.setter
|
|
246
|
-
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[bool]]):
|
|
247
|
+
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
247
248
|
pulumi.set(self, "quoted_identifiers_ignore_case", value)
|
|
248
249
|
|
|
249
250
|
@property
|
|
250
251
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
251
|
-
def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
|
|
252
|
+
def replace_invalid_characters(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
252
253
|
"""
|
|
253
254
|
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).
|
|
254
255
|
"""
|
|
255
256
|
return pulumi.get(self, "replace_invalid_characters")
|
|
256
257
|
|
|
257
258
|
@replace_invalid_characters.setter
|
|
258
|
-
def replace_invalid_characters(self, value: Optional[pulumi.Input[bool]]):
|
|
259
|
+
def replace_invalid_characters(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
259
260
|
pulumi.set(self, "replace_invalid_characters", value)
|
|
260
261
|
|
|
261
262
|
@property
|
|
262
263
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
263
|
-
def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
|
|
264
|
+
def storage_serialization_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
264
265
|
"""
|
|
265
266
|
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).
|
|
266
267
|
"""
|
|
267
268
|
return pulumi.get(self, "storage_serialization_policy")
|
|
268
269
|
|
|
269
270
|
@storage_serialization_policy.setter
|
|
270
|
-
def storage_serialization_policy(self, value: Optional[pulumi.Input[str]]):
|
|
271
|
+
def storage_serialization_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
271
272
|
pulumi.set(self, "storage_serialization_policy", value)
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
275
|
-
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
|
|
276
|
+
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
276
277
|
"""
|
|
277
278
|
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).
|
|
278
279
|
"""
|
|
279
280
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
280
281
|
|
|
281
282
|
@suspend_task_after_num_failures.setter
|
|
282
|
-
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
|
|
283
|
+
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
283
284
|
pulumi.set(self, "suspend_task_after_num_failures", value)
|
|
284
285
|
|
|
285
286
|
@property
|
|
286
287
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
287
|
-
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
288
|
+
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
288
289
|
"""
|
|
289
290
|
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).
|
|
290
291
|
"""
|
|
291
292
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
292
293
|
|
|
293
294
|
@task_auto_retry_attempts.setter
|
|
294
|
-
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[int]]):
|
|
295
|
+
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
295
296
|
pulumi.set(self, "task_auto_retry_attempts", value)
|
|
296
297
|
|
|
297
298
|
@property
|
|
298
299
|
@pulumi.getter(name="traceLevel")
|
|
299
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
300
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
300
301
|
"""
|
|
301
302
|
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).
|
|
302
303
|
"""
|
|
303
304
|
return pulumi.get(self, "trace_level")
|
|
304
305
|
|
|
305
306
|
@trace_level.setter
|
|
306
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
307
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
307
308
|
pulumi.set(self, "trace_level", value)
|
|
308
309
|
|
|
309
310
|
@property
|
|
310
311
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
311
|
-
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
|
|
312
|
+
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
312
313
|
"""
|
|
313
314
|
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).
|
|
314
315
|
"""
|
|
315
316
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
316
317
|
|
|
317
318
|
@user_task_managed_initial_warehouse_size.setter
|
|
318
|
-
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
|
|
319
|
+
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
319
320
|
pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
|
|
320
321
|
|
|
321
322
|
@property
|
|
322
323
|
@pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
|
|
323
|
-
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
324
|
+
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
324
325
|
"""
|
|
325
326
|
Minimum amount of time between Triggered Task executions in seconds.
|
|
326
327
|
"""
|
|
327
328
|
return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
|
|
328
329
|
|
|
329
330
|
@user_task_minimum_trigger_interval_in_seconds.setter
|
|
330
|
-
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
331
|
+
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
331
332
|
pulumi.set(self, "user_task_minimum_trigger_interval_in_seconds", value)
|
|
332
333
|
|
|
333
334
|
@property
|
|
334
335
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
335
|
-
def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
|
|
336
|
+
def user_task_timeout_ms(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
336
337
|
"""
|
|
337
338
|
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).
|
|
338
339
|
"""
|
|
339
340
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
340
341
|
|
|
341
342
|
@user_task_timeout_ms.setter
|
|
342
|
-
def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
|
|
343
|
+
def user_task_timeout_ms(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
343
344
|
pulumi.set(self, "user_task_timeout_ms", value)
|
|
344
345
|
|
|
345
346
|
|
|
346
347
|
@pulumi.input_type
|
|
347
348
|
class _SecondaryDatabaseState:
|
|
348
349
|
def __init__(__self__, *,
|
|
349
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
350
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
351
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
352
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
353
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
354
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
355
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
356
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
357
|
-
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
358
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
359
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
360
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
361
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
362
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
363
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
364
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
365
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
366
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
367
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
368
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
369
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None):
|
|
350
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
351
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
352
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
353
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
354
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
355
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
356
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
357
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
358
|
+
is_transient: Optional[pulumi.Input[builtins.bool]] = None,
|
|
359
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
360
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
361
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
362
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
363
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
364
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
365
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
366
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
367
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
368
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
369
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
370
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None):
|
|
370
371
|
"""
|
|
371
372
|
Input properties used for looking up and filtering SecondaryDatabase resources.
|
|
372
|
-
:param pulumi.Input[str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
373
|
-
: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).
|
|
374
|
-
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
375
|
-
: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).
|
|
376
|
-
: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).
|
|
377
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
378
|
-
: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).
|
|
379
|
-
: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).
|
|
380
|
-
: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.
|
|
381
|
-
: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).
|
|
382
|
-
: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).
|
|
383
|
-
: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: `|`, `.`, `"`.
|
|
384
|
-
: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).
|
|
385
|
-
: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).
|
|
386
|
-
: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).
|
|
387
|
-
: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).
|
|
388
|
-
: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).
|
|
389
|
-
: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).
|
|
390
|
-
: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).
|
|
391
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
392
|
-
: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).
|
|
373
|
+
:param pulumi.Input[builtins.str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
374
|
+
:param pulumi.Input[builtins.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).
|
|
375
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the database.
|
|
376
|
+
:param pulumi.Input[builtins.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).
|
|
377
|
+
:param pulumi.Input[builtins.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).
|
|
378
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
379
|
+
:param pulumi.Input[builtins.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).
|
|
380
|
+
:param pulumi.Input[builtins.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).
|
|
381
|
+
:param pulumi.Input[builtins.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.
|
|
382
|
+
:param pulumi.Input[builtins.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).
|
|
383
|
+
:param pulumi.Input[builtins.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).
|
|
384
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
385
|
+
:param pulumi.Input[builtins.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).
|
|
386
|
+
:param pulumi.Input[builtins.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).
|
|
387
|
+
:param pulumi.Input[builtins.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).
|
|
388
|
+
:param pulumi.Input[builtins.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).
|
|
389
|
+
:param pulumi.Input[builtins.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).
|
|
390
|
+
:param pulumi.Input[builtins.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).
|
|
391
|
+
:param pulumi.Input[builtins.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).
|
|
392
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
393
|
+
:param pulumi.Input[builtins.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).
|
|
393
394
|
"""
|
|
394
395
|
if as_replica_of is not None:
|
|
395
396
|
pulumi.set(__self__, "as_replica_of", as_replica_of)
|
|
@@ -436,254 +437,254 @@ class _SecondaryDatabaseState:
|
|
|
436
437
|
|
|
437
438
|
@property
|
|
438
439
|
@pulumi.getter(name="asReplicaOf")
|
|
439
|
-
def as_replica_of(self) -> Optional[pulumi.Input[str]]:
|
|
440
|
+
def as_replica_of(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
440
441
|
"""
|
|
441
442
|
A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
442
443
|
"""
|
|
443
444
|
return pulumi.get(self, "as_replica_of")
|
|
444
445
|
|
|
445
446
|
@as_replica_of.setter
|
|
446
|
-
def as_replica_of(self, value: Optional[pulumi.Input[str]]):
|
|
447
|
+
def as_replica_of(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
447
448
|
pulumi.set(self, "as_replica_of", value)
|
|
448
449
|
|
|
449
450
|
@property
|
|
450
451
|
@pulumi.getter
|
|
451
|
-
def catalog(self) -> Optional[pulumi.Input[str]]:
|
|
452
|
+
def catalog(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
452
453
|
"""
|
|
453
454
|
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).
|
|
454
455
|
"""
|
|
455
456
|
return pulumi.get(self, "catalog")
|
|
456
457
|
|
|
457
458
|
@catalog.setter
|
|
458
|
-
def catalog(self, value: Optional[pulumi.Input[str]]):
|
|
459
|
+
def catalog(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
459
460
|
pulumi.set(self, "catalog", value)
|
|
460
461
|
|
|
461
462
|
@property
|
|
462
463
|
@pulumi.getter
|
|
463
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
464
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
464
465
|
"""
|
|
465
466
|
Specifies a comment for the database.
|
|
466
467
|
"""
|
|
467
468
|
return pulumi.get(self, "comment")
|
|
468
469
|
|
|
469
470
|
@comment.setter
|
|
470
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
471
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
471
472
|
pulumi.set(self, "comment", value)
|
|
472
473
|
|
|
473
474
|
@property
|
|
474
475
|
@pulumi.getter(name="dataRetentionTimeInDays")
|
|
475
|
-
def data_retention_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
476
|
+
def data_retention_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
476
477
|
"""
|
|
477
478
|
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).
|
|
478
479
|
"""
|
|
479
480
|
return pulumi.get(self, "data_retention_time_in_days")
|
|
480
481
|
|
|
481
482
|
@data_retention_time_in_days.setter
|
|
482
|
-
def data_retention_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
483
|
+
def data_retention_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
483
484
|
pulumi.set(self, "data_retention_time_in_days", value)
|
|
484
485
|
|
|
485
486
|
@property
|
|
486
487
|
@pulumi.getter(name="defaultDdlCollation")
|
|
487
|
-
def default_ddl_collation(self) -> Optional[pulumi.Input[str]]:
|
|
488
|
+
def default_ddl_collation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
488
489
|
"""
|
|
489
490
|
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).
|
|
490
491
|
"""
|
|
491
492
|
return pulumi.get(self, "default_ddl_collation")
|
|
492
493
|
|
|
493
494
|
@default_ddl_collation.setter
|
|
494
|
-
def default_ddl_collation(self, value: Optional[pulumi.Input[str]]):
|
|
495
|
+
def default_ddl_collation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
495
496
|
pulumi.set(self, "default_ddl_collation", value)
|
|
496
497
|
|
|
497
498
|
@property
|
|
498
499
|
@pulumi.getter(name="enableConsoleOutput")
|
|
499
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
500
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
500
501
|
"""
|
|
501
502
|
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
502
503
|
"""
|
|
503
504
|
return pulumi.get(self, "enable_console_output")
|
|
504
505
|
|
|
505
506
|
@enable_console_output.setter
|
|
506
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
507
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
507
508
|
pulumi.set(self, "enable_console_output", value)
|
|
508
509
|
|
|
509
510
|
@property
|
|
510
511
|
@pulumi.getter(name="externalVolume")
|
|
511
|
-
def external_volume(self) -> Optional[pulumi.Input[str]]:
|
|
512
|
+
def external_volume(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
512
513
|
"""
|
|
513
514
|
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).
|
|
514
515
|
"""
|
|
515
516
|
return pulumi.get(self, "external_volume")
|
|
516
517
|
|
|
517
518
|
@external_volume.setter
|
|
518
|
-
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
519
|
+
def external_volume(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
519
520
|
pulumi.set(self, "external_volume", value)
|
|
520
521
|
|
|
521
522
|
@property
|
|
522
523
|
@pulumi.getter(name="fullyQualifiedName")
|
|
523
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
524
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
524
525
|
"""
|
|
525
526
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
526
527
|
"""
|
|
527
528
|
return pulumi.get(self, "fully_qualified_name")
|
|
528
529
|
|
|
529
530
|
@fully_qualified_name.setter
|
|
530
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
531
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
531
532
|
pulumi.set(self, "fully_qualified_name", value)
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter(name="isTransient")
|
|
535
|
-
def is_transient(self) -> Optional[pulumi.Input[bool]]:
|
|
536
|
+
def is_transient(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
536
537
|
"""
|
|
537
538
|
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.
|
|
538
539
|
"""
|
|
539
540
|
return pulumi.get(self, "is_transient")
|
|
540
541
|
|
|
541
542
|
@is_transient.setter
|
|
542
|
-
def is_transient(self, value: Optional[pulumi.Input[bool]]):
|
|
543
|
+
def is_transient(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
543
544
|
pulumi.set(self, "is_transient", value)
|
|
544
545
|
|
|
545
546
|
@property
|
|
546
547
|
@pulumi.getter(name="logLevel")
|
|
547
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
548
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
548
549
|
"""
|
|
549
550
|
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).
|
|
550
551
|
"""
|
|
551
552
|
return pulumi.get(self, "log_level")
|
|
552
553
|
|
|
553
554
|
@log_level.setter
|
|
554
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
555
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
555
556
|
pulumi.set(self, "log_level", value)
|
|
556
557
|
|
|
557
558
|
@property
|
|
558
559
|
@pulumi.getter(name="maxDataExtensionTimeInDays")
|
|
559
|
-
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
560
|
+
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
560
561
|
"""
|
|
561
562
|
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).
|
|
562
563
|
"""
|
|
563
564
|
return pulumi.get(self, "max_data_extension_time_in_days")
|
|
564
565
|
|
|
565
566
|
@max_data_extension_time_in_days.setter
|
|
566
|
-
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
567
|
+
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
567
568
|
pulumi.set(self, "max_data_extension_time_in_days", value)
|
|
568
569
|
|
|
569
570
|
@property
|
|
570
571
|
@pulumi.getter
|
|
571
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
572
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
572
573
|
"""
|
|
573
574
|
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: `|`, `.`, `"`.
|
|
574
575
|
"""
|
|
575
576
|
return pulumi.get(self, "name")
|
|
576
577
|
|
|
577
578
|
@name.setter
|
|
578
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
579
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
579
580
|
pulumi.set(self, "name", value)
|
|
580
581
|
|
|
581
582
|
@property
|
|
582
583
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
583
|
-
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
|
|
584
|
+
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
584
585
|
"""
|
|
585
586
|
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).
|
|
586
587
|
"""
|
|
587
588
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
588
589
|
|
|
589
590
|
@quoted_identifiers_ignore_case.setter
|
|
590
|
-
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[bool]]):
|
|
591
|
+
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
591
592
|
pulumi.set(self, "quoted_identifiers_ignore_case", value)
|
|
592
593
|
|
|
593
594
|
@property
|
|
594
595
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
595
|
-
def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
|
|
596
|
+
def replace_invalid_characters(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
596
597
|
"""
|
|
597
598
|
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).
|
|
598
599
|
"""
|
|
599
600
|
return pulumi.get(self, "replace_invalid_characters")
|
|
600
601
|
|
|
601
602
|
@replace_invalid_characters.setter
|
|
602
|
-
def replace_invalid_characters(self, value: Optional[pulumi.Input[bool]]):
|
|
603
|
+
def replace_invalid_characters(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
603
604
|
pulumi.set(self, "replace_invalid_characters", value)
|
|
604
605
|
|
|
605
606
|
@property
|
|
606
607
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
607
|
-
def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
|
|
608
|
+
def storage_serialization_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
608
609
|
"""
|
|
609
610
|
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).
|
|
610
611
|
"""
|
|
611
612
|
return pulumi.get(self, "storage_serialization_policy")
|
|
612
613
|
|
|
613
614
|
@storage_serialization_policy.setter
|
|
614
|
-
def storage_serialization_policy(self, value: Optional[pulumi.Input[str]]):
|
|
615
|
+
def storage_serialization_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
615
616
|
pulumi.set(self, "storage_serialization_policy", value)
|
|
616
617
|
|
|
617
618
|
@property
|
|
618
619
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
619
|
-
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
|
|
620
|
+
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
620
621
|
"""
|
|
621
622
|
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).
|
|
622
623
|
"""
|
|
623
624
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
624
625
|
|
|
625
626
|
@suspend_task_after_num_failures.setter
|
|
626
|
-
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
|
|
627
|
+
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
627
628
|
pulumi.set(self, "suspend_task_after_num_failures", value)
|
|
628
629
|
|
|
629
630
|
@property
|
|
630
631
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
631
|
-
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
632
|
+
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
632
633
|
"""
|
|
633
634
|
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).
|
|
634
635
|
"""
|
|
635
636
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
636
637
|
|
|
637
638
|
@task_auto_retry_attempts.setter
|
|
638
|
-
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[int]]):
|
|
639
|
+
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
639
640
|
pulumi.set(self, "task_auto_retry_attempts", value)
|
|
640
641
|
|
|
641
642
|
@property
|
|
642
643
|
@pulumi.getter(name="traceLevel")
|
|
643
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
644
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
644
645
|
"""
|
|
645
646
|
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).
|
|
646
647
|
"""
|
|
647
648
|
return pulumi.get(self, "trace_level")
|
|
648
649
|
|
|
649
650
|
@trace_level.setter
|
|
650
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
651
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
651
652
|
pulumi.set(self, "trace_level", value)
|
|
652
653
|
|
|
653
654
|
@property
|
|
654
655
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
655
|
-
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
|
|
656
|
+
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
656
657
|
"""
|
|
657
658
|
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).
|
|
658
659
|
"""
|
|
659
660
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
660
661
|
|
|
661
662
|
@user_task_managed_initial_warehouse_size.setter
|
|
662
|
-
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
|
|
663
|
+
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
663
664
|
pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
|
|
664
665
|
|
|
665
666
|
@property
|
|
666
667
|
@pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
|
|
667
|
-
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
668
|
+
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
668
669
|
"""
|
|
669
670
|
Minimum amount of time between Triggered Task executions in seconds.
|
|
670
671
|
"""
|
|
671
672
|
return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
|
|
672
673
|
|
|
673
674
|
@user_task_minimum_trigger_interval_in_seconds.setter
|
|
674
|
-
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
675
|
+
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
675
676
|
pulumi.set(self, "user_task_minimum_trigger_interval_in_seconds", value)
|
|
676
677
|
|
|
677
678
|
@property
|
|
678
679
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
679
|
-
def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
|
|
680
|
+
def user_task_timeout_ms(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
680
681
|
"""
|
|
681
682
|
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).
|
|
682
683
|
"""
|
|
683
684
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
684
685
|
|
|
685
686
|
@user_task_timeout_ms.setter
|
|
686
|
-
def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
|
|
687
|
+
def user_task_timeout_ms(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
687
688
|
pulumi.set(self, "user_task_timeout_ms", value)
|
|
688
689
|
|
|
689
690
|
|
|
@@ -692,26 +693,26 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
692
693
|
def __init__(__self__,
|
|
693
694
|
resource_name: str,
|
|
694
695
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
695
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
696
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
697
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
698
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
699
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
700
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
701
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
702
|
-
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
703
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
704
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
705
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
706
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
707
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
708
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
709
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
710
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
711
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
712
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
713
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
714
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
696
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
697
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
698
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
699
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
700
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
701
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
702
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
703
|
+
is_transient: Optional[pulumi.Input[builtins.bool]] = None,
|
|
704
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
705
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
706
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
707
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
708
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
709
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
710
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
711
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
712
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
713
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
714
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
715
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
715
716
|
__props__=None):
|
|
716
717
|
"""
|
|
717
718
|
## Import
|
|
@@ -722,26 +723,26 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
722
723
|
|
|
723
724
|
:param str resource_name: The name of the resource.
|
|
724
725
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
725
|
-
:param pulumi.Input[str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
726
|
-
: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).
|
|
727
|
-
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
728
|
-
: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).
|
|
729
|
-
: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).
|
|
730
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
731
|
-
: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).
|
|
732
|
-
: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.
|
|
733
|
-
: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).
|
|
734
|
-
: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).
|
|
735
|
-
: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: `|`, `.`, `"`.
|
|
736
|
-
: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).
|
|
737
|
-
: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).
|
|
738
|
-
: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).
|
|
739
|
-
: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).
|
|
740
|
-
: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).
|
|
741
|
-
: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).
|
|
742
|
-
: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).
|
|
743
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
744
|
-
: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).
|
|
726
|
+
:param pulumi.Input[builtins.str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
727
|
+
:param pulumi.Input[builtins.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).
|
|
728
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the database.
|
|
729
|
+
:param pulumi.Input[builtins.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).
|
|
730
|
+
:param pulumi.Input[builtins.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).
|
|
731
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
732
|
+
:param pulumi.Input[builtins.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).
|
|
733
|
+
:param pulumi.Input[builtins.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.
|
|
734
|
+
:param pulumi.Input[builtins.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).
|
|
735
|
+
:param pulumi.Input[builtins.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).
|
|
736
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
737
|
+
:param pulumi.Input[builtins.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).
|
|
738
|
+
:param pulumi.Input[builtins.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).
|
|
739
|
+
:param pulumi.Input[builtins.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).
|
|
740
|
+
:param pulumi.Input[builtins.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).
|
|
741
|
+
:param pulumi.Input[builtins.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).
|
|
742
|
+
:param pulumi.Input[builtins.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).
|
|
743
|
+
:param pulumi.Input[builtins.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).
|
|
744
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
745
|
+
:param pulumi.Input[builtins.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).
|
|
745
746
|
"""
|
|
746
747
|
...
|
|
747
748
|
@overload
|
|
@@ -771,26 +772,26 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
771
772
|
def _internal_init(__self__,
|
|
772
773
|
resource_name: str,
|
|
773
774
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
774
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
775
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
776
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
777
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
778
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
779
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
780
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
781
|
-
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
782
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
783
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
784
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
785
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
786
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
787
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
788
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
789
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
790
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
791
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
792
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
793
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
775
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
776
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
777
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
778
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
779
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
780
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
781
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
782
|
+
is_transient: Optional[pulumi.Input[builtins.bool]] = None,
|
|
783
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
784
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
785
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
786
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
787
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
788
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
789
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
790
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
791
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
792
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
793
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
794
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
794
795
|
__props__=None):
|
|
795
796
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
796
797
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -833,27 +834,27 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
833
834
|
def get(resource_name: str,
|
|
834
835
|
id: pulumi.Input[str],
|
|
835
836
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
836
|
-
as_replica_of: Optional[pulumi.Input[str]] = None,
|
|
837
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
838
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
839
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
840
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
841
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
842
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
843
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
844
|
-
is_transient: Optional[pulumi.Input[bool]] = None,
|
|
845
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
846
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
847
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
848
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
849
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
850
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
851
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
852
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
853
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
854
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
855
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
856
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None) -> 'SecondaryDatabase':
|
|
837
|
+
as_replica_of: Optional[pulumi.Input[builtins.str]] = None,
|
|
838
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
839
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
840
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
841
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
842
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
843
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
844
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
845
|
+
is_transient: Optional[pulumi.Input[builtins.bool]] = None,
|
|
846
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
847
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
848
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
849
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
850
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
851
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
852
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
853
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
854
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
855
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
856
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
857
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None) -> 'SecondaryDatabase':
|
|
857
858
|
"""
|
|
858
859
|
Get an existing SecondaryDatabase resource's state with the given name, id, and optional extra
|
|
859
860
|
properties used to qualify the lookup.
|
|
@@ -861,27 +862,27 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
861
862
|
:param str resource_name: The unique name of the resulting resource.
|
|
862
863
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
863
864
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
864
|
-
:param pulumi.Input[str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
865
|
-
: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).
|
|
866
|
-
:param pulumi.Input[str] comment: Specifies a comment for the database.
|
|
867
|
-
: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).
|
|
868
|
-
: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).
|
|
869
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
870
|
-
: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).
|
|
871
|
-
: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).
|
|
872
|
-
: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.
|
|
873
|
-
: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).
|
|
874
|
-
: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).
|
|
875
|
-
: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: `|`, `.`, `"`.
|
|
876
|
-
: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).
|
|
877
|
-
: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).
|
|
878
|
-
: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).
|
|
879
|
-
: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).
|
|
880
|
-
: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).
|
|
881
|
-
: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).
|
|
882
|
-
: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).
|
|
883
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
884
|
-
: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).
|
|
865
|
+
:param pulumi.Input[builtins.str] as_replica_of: A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
866
|
+
:param pulumi.Input[builtins.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).
|
|
867
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the database.
|
|
868
|
+
:param pulumi.Input[builtins.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).
|
|
869
|
+
:param pulumi.Input[builtins.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).
|
|
870
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
871
|
+
:param pulumi.Input[builtins.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).
|
|
872
|
+
:param pulumi.Input[builtins.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).
|
|
873
|
+
:param pulumi.Input[builtins.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.
|
|
874
|
+
:param pulumi.Input[builtins.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).
|
|
875
|
+
:param pulumi.Input[builtins.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).
|
|
876
|
+
:param pulumi.Input[builtins.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: `|`, `.`, `"`.
|
|
877
|
+
:param pulumi.Input[builtins.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).
|
|
878
|
+
:param pulumi.Input[builtins.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).
|
|
879
|
+
:param pulumi.Input[builtins.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).
|
|
880
|
+
:param pulumi.Input[builtins.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).
|
|
881
|
+
:param pulumi.Input[builtins.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).
|
|
882
|
+
:param pulumi.Input[builtins.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).
|
|
883
|
+
:param pulumi.Input[builtins.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).
|
|
884
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
885
|
+
:param pulumi.Input[builtins.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).
|
|
885
886
|
"""
|
|
886
887
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
887
888
|
|
|
@@ -912,7 +913,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
912
913
|
|
|
913
914
|
@property
|
|
914
915
|
@pulumi.getter(name="asReplicaOf")
|
|
915
|
-
def as_replica_of(self) -> pulumi.Output[str]:
|
|
916
|
+
def as_replica_of(self) -> pulumi.Output[builtins.str]:
|
|
916
917
|
"""
|
|
917
918
|
A fully qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<database_name>"`. For more information about this resource, see docs.
|
|
918
919
|
"""
|
|
@@ -920,7 +921,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
920
921
|
|
|
921
922
|
@property
|
|
922
923
|
@pulumi.getter
|
|
923
|
-
def catalog(self) -> pulumi.Output[str]:
|
|
924
|
+
def catalog(self) -> pulumi.Output[builtins.str]:
|
|
924
925
|
"""
|
|
925
926
|
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).
|
|
926
927
|
"""
|
|
@@ -928,7 +929,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
928
929
|
|
|
929
930
|
@property
|
|
930
931
|
@pulumi.getter
|
|
931
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
932
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
932
933
|
"""
|
|
933
934
|
Specifies a comment for the database.
|
|
934
935
|
"""
|
|
@@ -936,7 +937,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
936
937
|
|
|
937
938
|
@property
|
|
938
939
|
@pulumi.getter(name="dataRetentionTimeInDays")
|
|
939
|
-
def data_retention_time_in_days(self) -> pulumi.Output[int]:
|
|
940
|
+
def data_retention_time_in_days(self) -> pulumi.Output[builtins.int]:
|
|
940
941
|
"""
|
|
941
942
|
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).
|
|
942
943
|
"""
|
|
@@ -944,7 +945,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
944
945
|
|
|
945
946
|
@property
|
|
946
947
|
@pulumi.getter(name="defaultDdlCollation")
|
|
947
|
-
def default_ddl_collation(self) -> pulumi.Output[str]:
|
|
948
|
+
def default_ddl_collation(self) -> pulumi.Output[builtins.str]:
|
|
948
949
|
"""
|
|
949
950
|
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).
|
|
950
951
|
"""
|
|
@@ -952,7 +953,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
952
953
|
|
|
953
954
|
@property
|
|
954
955
|
@pulumi.getter(name="enableConsoleOutput")
|
|
955
|
-
def enable_console_output(self) -> pulumi.Output[bool]:
|
|
956
|
+
def enable_console_output(self) -> pulumi.Output[builtins.bool]:
|
|
956
957
|
"""
|
|
957
958
|
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
958
959
|
"""
|
|
@@ -960,7 +961,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
960
961
|
|
|
961
962
|
@property
|
|
962
963
|
@pulumi.getter(name="externalVolume")
|
|
963
|
-
def external_volume(self) -> pulumi.Output[str]:
|
|
964
|
+
def external_volume(self) -> pulumi.Output[builtins.str]:
|
|
964
965
|
"""
|
|
965
966
|
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).
|
|
966
967
|
"""
|
|
@@ -968,7 +969,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
968
969
|
|
|
969
970
|
@property
|
|
970
971
|
@pulumi.getter(name="fullyQualifiedName")
|
|
971
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
972
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
972
973
|
"""
|
|
973
974
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
974
975
|
"""
|
|
@@ -976,7 +977,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
976
977
|
|
|
977
978
|
@property
|
|
978
979
|
@pulumi.getter(name="isTransient")
|
|
979
|
-
def is_transient(self) -> pulumi.Output[Optional[bool]]:
|
|
980
|
+
def is_transient(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
980
981
|
"""
|
|
981
982
|
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.
|
|
982
983
|
"""
|
|
@@ -984,7 +985,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
984
985
|
|
|
985
986
|
@property
|
|
986
987
|
@pulumi.getter(name="logLevel")
|
|
987
|
-
def log_level(self) -> pulumi.Output[str]:
|
|
988
|
+
def log_level(self) -> pulumi.Output[builtins.str]:
|
|
988
989
|
"""
|
|
989
990
|
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).
|
|
990
991
|
"""
|
|
@@ -992,7 +993,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
992
993
|
|
|
993
994
|
@property
|
|
994
995
|
@pulumi.getter(name="maxDataExtensionTimeInDays")
|
|
995
|
-
def max_data_extension_time_in_days(self) -> pulumi.Output[int]:
|
|
996
|
+
def max_data_extension_time_in_days(self) -> pulumi.Output[builtins.int]:
|
|
996
997
|
"""
|
|
997
998
|
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).
|
|
998
999
|
"""
|
|
@@ -1000,7 +1001,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1000
1001
|
|
|
1001
1002
|
@property
|
|
1002
1003
|
@pulumi.getter
|
|
1003
|
-
def name(self) -> pulumi.Output[str]:
|
|
1004
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1004
1005
|
"""
|
|
1005
1006
|
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: `|`, `.`, `"`.
|
|
1006
1007
|
"""
|
|
@@ -1008,7 +1009,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1008
1009
|
|
|
1009
1010
|
@property
|
|
1010
1011
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
1011
|
-
def quoted_identifiers_ignore_case(self) -> pulumi.Output[bool]:
|
|
1012
|
+
def quoted_identifiers_ignore_case(self) -> pulumi.Output[builtins.bool]:
|
|
1012
1013
|
"""
|
|
1013
1014
|
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).
|
|
1014
1015
|
"""
|
|
@@ -1016,7 +1017,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1016
1017
|
|
|
1017
1018
|
@property
|
|
1018
1019
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
1019
|
-
def replace_invalid_characters(self) -> pulumi.Output[bool]:
|
|
1020
|
+
def replace_invalid_characters(self) -> pulumi.Output[builtins.bool]:
|
|
1020
1021
|
"""
|
|
1021
1022
|
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).
|
|
1022
1023
|
"""
|
|
@@ -1024,7 +1025,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1024
1025
|
|
|
1025
1026
|
@property
|
|
1026
1027
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
1027
|
-
def storage_serialization_policy(self) -> pulumi.Output[str]:
|
|
1028
|
+
def storage_serialization_policy(self) -> pulumi.Output[builtins.str]:
|
|
1028
1029
|
"""
|
|
1029
1030
|
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).
|
|
1030
1031
|
"""
|
|
@@ -1032,7 +1033,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1032
1033
|
|
|
1033
1034
|
@property
|
|
1034
1035
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
1035
|
-
def suspend_task_after_num_failures(self) -> pulumi.Output[int]:
|
|
1036
|
+
def suspend_task_after_num_failures(self) -> pulumi.Output[builtins.int]:
|
|
1036
1037
|
"""
|
|
1037
1038
|
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).
|
|
1038
1039
|
"""
|
|
@@ -1040,7 +1041,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1040
1041
|
|
|
1041
1042
|
@property
|
|
1042
1043
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
1043
|
-
def task_auto_retry_attempts(self) -> pulumi.Output[int]:
|
|
1044
|
+
def task_auto_retry_attempts(self) -> pulumi.Output[builtins.int]:
|
|
1044
1045
|
"""
|
|
1045
1046
|
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).
|
|
1046
1047
|
"""
|
|
@@ -1048,7 +1049,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1048
1049
|
|
|
1049
1050
|
@property
|
|
1050
1051
|
@pulumi.getter(name="traceLevel")
|
|
1051
|
-
def trace_level(self) -> pulumi.Output[str]:
|
|
1052
|
+
def trace_level(self) -> pulumi.Output[builtins.str]:
|
|
1052
1053
|
"""
|
|
1053
1054
|
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).
|
|
1054
1055
|
"""
|
|
@@ -1056,7 +1057,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1056
1057
|
|
|
1057
1058
|
@property
|
|
1058
1059
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
1059
|
-
def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[str]:
|
|
1060
|
+
def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[builtins.str]:
|
|
1060
1061
|
"""
|
|
1061
1062
|
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).
|
|
1062
1063
|
"""
|
|
@@ -1064,7 +1065,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1064
1065
|
|
|
1065
1066
|
@property
|
|
1066
1067
|
@pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
|
|
1067
|
-
def user_task_minimum_trigger_interval_in_seconds(self) -> pulumi.Output[int]:
|
|
1068
|
+
def user_task_minimum_trigger_interval_in_seconds(self) -> pulumi.Output[builtins.int]:
|
|
1068
1069
|
"""
|
|
1069
1070
|
Minimum amount of time between Triggered Task executions in seconds.
|
|
1070
1071
|
"""
|
|
@@ -1072,7 +1073,7 @@ class SecondaryDatabase(pulumi.CustomResource):
|
|
|
1072
1073
|
|
|
1073
1074
|
@property
|
|
1074
1075
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
1075
|
-
def user_task_timeout_ms(self) -> pulumi.Output[int]:
|
|
1076
|
+
def user_task_timeout_ms(self) -> pulumi.Output[builtins.int]:
|
|
1076
1077
|
"""
|
|
1077
1078
|
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).
|
|
1078
1079
|
"""
|