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
pulumi_snowflake/schema.py
CHANGED
|
@@ -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
|
|
@@ -21,52 +22,52 @@ __all__ = ['SchemaArgs', 'Schema']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class SchemaArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
database: pulumi.Input[str],
|
|
25
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
28
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
is_transient: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
34
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
36
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
37
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
38
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
39
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
40
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
41
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
42
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
43
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
44
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
45
|
-
with_managed_access: Optional[pulumi.Input[str]] = None):
|
|
25
|
+
database: pulumi.Input[builtins.str],
|
|
26
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
29
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
31
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
is_transient: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
pipe_execution_paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
37
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
38
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
39
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
41
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
42
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
43
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
44
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
45
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
46
|
+
with_managed_access: Optional[pulumi.Input[builtins.str]] = None):
|
|
46
47
|
"""
|
|
47
48
|
The set of arguments for constructing a Schema resource.
|
|
48
|
-
:param pulumi.Input[str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
49
|
-
: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).
|
|
50
|
-
:param pulumi.Input[str] comment: Specifies a comment for the schema.
|
|
51
|
-
: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).
|
|
52
|
-
: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).
|
|
53
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
54
|
-
: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).
|
|
55
|
-
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
56
|
-
: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).
|
|
57
|
-
: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).
|
|
58
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
59
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
60
|
-
: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).
|
|
61
|
-
: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).
|
|
62
|
-
: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).
|
|
63
|
-
: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).
|
|
64
|
-
: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).
|
|
65
|
-
: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).
|
|
66
|
-
: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).
|
|
67
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
68
|
-
: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).
|
|
69
|
-
:param pulumi.Input[str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
49
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
50
|
+
: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).
|
|
51
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the schema.
|
|
52
|
+
: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).
|
|
53
|
+
: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).
|
|
54
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
55
|
+
: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).
|
|
56
|
+
:param pulumi.Input[builtins.str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
57
|
+
: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).
|
|
58
|
+
: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).
|
|
59
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
60
|
+
:param pulumi.Input[builtins.bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
61
|
+
: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).
|
|
62
|
+
: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).
|
|
63
|
+
: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).
|
|
64
|
+
: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).
|
|
65
|
+
: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).
|
|
66
|
+
: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).
|
|
67
|
+
: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).
|
|
68
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
69
|
+
: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).
|
|
70
|
+
:param pulumi.Input[builtins.str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
70
71
|
"""
|
|
71
72
|
pulumi.set(__self__, "database", database)
|
|
72
73
|
if catalog is not None:
|
|
@@ -114,326 +115,326 @@ class SchemaArgs:
|
|
|
114
115
|
|
|
115
116
|
@property
|
|
116
117
|
@pulumi.getter
|
|
117
|
-
def database(self) -> pulumi.Input[str]:
|
|
118
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
118
119
|
"""
|
|
119
120
|
The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
120
121
|
"""
|
|
121
122
|
return pulumi.get(self, "database")
|
|
122
123
|
|
|
123
124
|
@database.setter
|
|
124
|
-
def database(self, value: pulumi.Input[str]):
|
|
125
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
125
126
|
pulumi.set(self, "database", value)
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter
|
|
129
|
-
def catalog(self) -> Optional[pulumi.Input[str]]:
|
|
130
|
+
def catalog(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
130
131
|
"""
|
|
131
132
|
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).
|
|
132
133
|
"""
|
|
133
134
|
return pulumi.get(self, "catalog")
|
|
134
135
|
|
|
135
136
|
@catalog.setter
|
|
136
|
-
def catalog(self, value: Optional[pulumi.Input[str]]):
|
|
137
|
+
def catalog(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
137
138
|
pulumi.set(self, "catalog", value)
|
|
138
139
|
|
|
139
140
|
@property
|
|
140
141
|
@pulumi.getter
|
|
141
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
142
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
142
143
|
"""
|
|
143
144
|
Specifies a comment for the schema.
|
|
144
145
|
"""
|
|
145
146
|
return pulumi.get(self, "comment")
|
|
146
147
|
|
|
147
148
|
@comment.setter
|
|
148
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
149
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
149
150
|
pulumi.set(self, "comment", value)
|
|
150
151
|
|
|
151
152
|
@property
|
|
152
153
|
@pulumi.getter(name="dataRetentionTimeInDays")
|
|
153
|
-
def data_retention_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
154
|
+
def data_retention_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
154
155
|
"""
|
|
155
156
|
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).
|
|
156
157
|
"""
|
|
157
158
|
return pulumi.get(self, "data_retention_time_in_days")
|
|
158
159
|
|
|
159
160
|
@data_retention_time_in_days.setter
|
|
160
|
-
def data_retention_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
161
|
+
def data_retention_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
161
162
|
pulumi.set(self, "data_retention_time_in_days", value)
|
|
162
163
|
|
|
163
164
|
@property
|
|
164
165
|
@pulumi.getter(name="defaultDdlCollation")
|
|
165
|
-
def default_ddl_collation(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
+
def default_ddl_collation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
166
167
|
"""
|
|
167
168
|
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).
|
|
168
169
|
"""
|
|
169
170
|
return pulumi.get(self, "default_ddl_collation")
|
|
170
171
|
|
|
171
172
|
@default_ddl_collation.setter
|
|
172
|
-
def default_ddl_collation(self, value: Optional[pulumi.Input[str]]):
|
|
173
|
+
def default_ddl_collation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
173
174
|
pulumi.set(self, "default_ddl_collation", value)
|
|
174
175
|
|
|
175
176
|
@property
|
|
176
177
|
@pulumi.getter(name="enableConsoleOutput")
|
|
177
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
178
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
178
179
|
"""
|
|
179
180
|
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
180
181
|
"""
|
|
181
182
|
return pulumi.get(self, "enable_console_output")
|
|
182
183
|
|
|
183
184
|
@enable_console_output.setter
|
|
184
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
185
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
185
186
|
pulumi.set(self, "enable_console_output", value)
|
|
186
187
|
|
|
187
188
|
@property
|
|
188
189
|
@pulumi.getter(name="externalVolume")
|
|
189
|
-
def external_volume(self) -> Optional[pulumi.Input[str]]:
|
|
190
|
+
def external_volume(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
190
191
|
"""
|
|
191
192
|
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).
|
|
192
193
|
"""
|
|
193
194
|
return pulumi.get(self, "external_volume")
|
|
194
195
|
|
|
195
196
|
@external_volume.setter
|
|
196
|
-
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
197
|
+
def external_volume(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
197
198
|
pulumi.set(self, "external_volume", value)
|
|
198
199
|
|
|
199
200
|
@property
|
|
200
201
|
@pulumi.getter(name="isTransient")
|
|
201
|
-
def is_transient(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
def is_transient(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
202
203
|
"""
|
|
203
204
|
Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
204
205
|
"""
|
|
205
206
|
return pulumi.get(self, "is_transient")
|
|
206
207
|
|
|
207
208
|
@is_transient.setter
|
|
208
|
-
def is_transient(self, value: Optional[pulumi.Input[str]]):
|
|
209
|
+
def is_transient(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
209
210
|
pulumi.set(self, "is_transient", value)
|
|
210
211
|
|
|
211
212
|
@property
|
|
212
213
|
@pulumi.getter(name="logLevel")
|
|
213
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
214
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
214
215
|
"""
|
|
215
216
|
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).
|
|
216
217
|
"""
|
|
217
218
|
return pulumi.get(self, "log_level")
|
|
218
219
|
|
|
219
220
|
@log_level.setter
|
|
220
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
221
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
221
222
|
pulumi.set(self, "log_level", value)
|
|
222
223
|
|
|
223
224
|
@property
|
|
224
225
|
@pulumi.getter(name="maxDataExtensionTimeInDays")
|
|
225
|
-
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
226
|
+
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
226
227
|
"""
|
|
227
228
|
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).
|
|
228
229
|
"""
|
|
229
230
|
return pulumi.get(self, "max_data_extension_time_in_days")
|
|
230
231
|
|
|
231
232
|
@max_data_extension_time_in_days.setter
|
|
232
|
-
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
233
|
+
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
233
234
|
pulumi.set(self, "max_data_extension_time_in_days", value)
|
|
234
235
|
|
|
235
236
|
@property
|
|
236
237
|
@pulumi.getter
|
|
237
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
238
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
238
239
|
"""
|
|
239
240
|
Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
240
241
|
"""
|
|
241
242
|
return pulumi.get(self, "name")
|
|
242
243
|
|
|
243
244
|
@name.setter
|
|
244
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
245
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
245
246
|
pulumi.set(self, "name", value)
|
|
246
247
|
|
|
247
248
|
@property
|
|
248
249
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
249
|
-
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
250
|
+
def pipe_execution_paused(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
250
251
|
"""
|
|
251
252
|
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
252
253
|
"""
|
|
253
254
|
return pulumi.get(self, "pipe_execution_paused")
|
|
254
255
|
|
|
255
256
|
@pipe_execution_paused.setter
|
|
256
|
-
def pipe_execution_paused(self, value: Optional[pulumi.Input[bool]]):
|
|
257
|
+
def pipe_execution_paused(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
257
258
|
pulumi.set(self, "pipe_execution_paused", value)
|
|
258
259
|
|
|
259
260
|
@property
|
|
260
261
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
261
|
-
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
|
|
262
|
+
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
262
263
|
"""
|
|
263
264
|
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).
|
|
264
265
|
"""
|
|
265
266
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
266
267
|
|
|
267
268
|
@quoted_identifiers_ignore_case.setter
|
|
268
|
-
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[bool]]):
|
|
269
|
+
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
269
270
|
pulumi.set(self, "quoted_identifiers_ignore_case", value)
|
|
270
271
|
|
|
271
272
|
@property
|
|
272
273
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
273
|
-
def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
|
|
274
|
+
def replace_invalid_characters(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
274
275
|
"""
|
|
275
276
|
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).
|
|
276
277
|
"""
|
|
277
278
|
return pulumi.get(self, "replace_invalid_characters")
|
|
278
279
|
|
|
279
280
|
@replace_invalid_characters.setter
|
|
280
|
-
def replace_invalid_characters(self, value: Optional[pulumi.Input[bool]]):
|
|
281
|
+
def replace_invalid_characters(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
281
282
|
pulumi.set(self, "replace_invalid_characters", value)
|
|
282
283
|
|
|
283
284
|
@property
|
|
284
285
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
285
|
-
def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
|
|
286
|
+
def storage_serialization_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
286
287
|
"""
|
|
287
288
|
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).
|
|
288
289
|
"""
|
|
289
290
|
return pulumi.get(self, "storage_serialization_policy")
|
|
290
291
|
|
|
291
292
|
@storage_serialization_policy.setter
|
|
292
|
-
def storage_serialization_policy(self, value: Optional[pulumi.Input[str]]):
|
|
293
|
+
def storage_serialization_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
293
294
|
pulumi.set(self, "storage_serialization_policy", value)
|
|
294
295
|
|
|
295
296
|
@property
|
|
296
297
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
297
|
-
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
|
|
298
|
+
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
298
299
|
"""
|
|
299
300
|
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).
|
|
300
301
|
"""
|
|
301
302
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
302
303
|
|
|
303
304
|
@suspend_task_after_num_failures.setter
|
|
304
|
-
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
|
|
305
|
+
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
305
306
|
pulumi.set(self, "suspend_task_after_num_failures", value)
|
|
306
307
|
|
|
307
308
|
@property
|
|
308
309
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
309
|
-
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
310
|
+
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
310
311
|
"""
|
|
311
312
|
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).
|
|
312
313
|
"""
|
|
313
314
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
314
315
|
|
|
315
316
|
@task_auto_retry_attempts.setter
|
|
316
|
-
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[int]]):
|
|
317
|
+
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
317
318
|
pulumi.set(self, "task_auto_retry_attempts", value)
|
|
318
319
|
|
|
319
320
|
@property
|
|
320
321
|
@pulumi.getter(name="traceLevel")
|
|
321
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
322
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
322
323
|
"""
|
|
323
324
|
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).
|
|
324
325
|
"""
|
|
325
326
|
return pulumi.get(self, "trace_level")
|
|
326
327
|
|
|
327
328
|
@trace_level.setter
|
|
328
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
329
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
329
330
|
pulumi.set(self, "trace_level", value)
|
|
330
331
|
|
|
331
332
|
@property
|
|
332
333
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
333
|
-
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
|
|
334
|
+
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
334
335
|
"""
|
|
335
336
|
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).
|
|
336
337
|
"""
|
|
337
338
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
338
339
|
|
|
339
340
|
@user_task_managed_initial_warehouse_size.setter
|
|
340
|
-
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
|
|
341
|
+
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
341
342
|
pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
|
|
342
343
|
|
|
343
344
|
@property
|
|
344
345
|
@pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
|
|
345
|
-
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
346
|
+
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
346
347
|
"""
|
|
347
348
|
Minimum amount of time between Triggered Task executions in seconds.
|
|
348
349
|
"""
|
|
349
350
|
return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
|
|
350
351
|
|
|
351
352
|
@user_task_minimum_trigger_interval_in_seconds.setter
|
|
352
|
-
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
353
|
+
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
353
354
|
pulumi.set(self, "user_task_minimum_trigger_interval_in_seconds", value)
|
|
354
355
|
|
|
355
356
|
@property
|
|
356
357
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
357
|
-
def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
|
|
358
|
+
def user_task_timeout_ms(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
358
359
|
"""
|
|
359
360
|
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).
|
|
360
361
|
"""
|
|
361
362
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
362
363
|
|
|
363
364
|
@user_task_timeout_ms.setter
|
|
364
|
-
def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
|
|
365
|
+
def user_task_timeout_ms(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
365
366
|
pulumi.set(self, "user_task_timeout_ms", value)
|
|
366
367
|
|
|
367
368
|
@property
|
|
368
369
|
@pulumi.getter(name="withManagedAccess")
|
|
369
|
-
def with_managed_access(self) -> Optional[pulumi.Input[str]]:
|
|
370
|
+
def with_managed_access(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
370
371
|
"""
|
|
371
372
|
Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
372
373
|
"""
|
|
373
374
|
return pulumi.get(self, "with_managed_access")
|
|
374
375
|
|
|
375
376
|
@with_managed_access.setter
|
|
376
|
-
def with_managed_access(self, value: Optional[pulumi.Input[str]]):
|
|
377
|
+
def with_managed_access(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
377
378
|
pulumi.set(self, "with_managed_access", value)
|
|
378
379
|
|
|
379
380
|
|
|
380
381
|
@pulumi.input_type
|
|
381
382
|
class _SchemaState:
|
|
382
383
|
def __init__(__self__, *,
|
|
383
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
384
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
385
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
386
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
387
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
384
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
385
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
386
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
387
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
388
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
388
389
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaDescribeOutputArgs']]]] = None,
|
|
389
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
390
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
391
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
392
|
-
is_transient: Optional[pulumi.Input[str]] = None,
|
|
393
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
394
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
395
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
390
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
391
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
392
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
393
|
+
is_transient: Optional[pulumi.Input[builtins.str]] = None,
|
|
394
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
395
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
396
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
396
397
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaParameterArgs']]]] = None,
|
|
397
|
-
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
398
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
399
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
398
|
+
pipe_execution_paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
399
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
400
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
400
401
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['SchemaShowOutputArgs']]]] = None,
|
|
401
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
402
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
403
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
404
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
405
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
406
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
407
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
408
|
-
with_managed_access: Optional[pulumi.Input[str]] = None):
|
|
402
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
403
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
404
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
405
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
406
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
407
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
408
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
409
|
+
with_managed_access: Optional[pulumi.Input[builtins.str]] = None):
|
|
409
410
|
"""
|
|
410
411
|
Input properties used for looking up and filtering Schema resources.
|
|
411
|
-
: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).
|
|
412
|
-
:param pulumi.Input[str] comment: Specifies a comment for the schema.
|
|
413
|
-
: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).
|
|
414
|
-
:param pulumi.Input[str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
415
|
-
: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).
|
|
412
|
+
: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).
|
|
413
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the schema.
|
|
414
|
+
: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).
|
|
415
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
416
|
+
: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).
|
|
416
417
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant_ownership on all objects in the schema.
|
|
417
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
418
|
-
: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).
|
|
419
|
-
: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).
|
|
420
|
-
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
421
|
-
: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).
|
|
422
|
-
: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).
|
|
423
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
418
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
419
|
+
: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).
|
|
420
|
+
: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).
|
|
421
|
+
:param pulumi.Input[builtins.str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
422
|
+
: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).
|
|
423
|
+
: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).
|
|
424
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
424
425
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
425
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
426
|
-
: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).
|
|
427
|
-
: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).
|
|
426
|
+
:param pulumi.Input[builtins.bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
427
|
+
: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).
|
|
428
|
+
: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).
|
|
428
429
|
:param pulumi.Input[Sequence[pulumi.Input['SchemaShowOutputArgs']]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
429
|
-
: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).
|
|
430
|
-
: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).
|
|
431
|
-
: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).
|
|
432
|
-
: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).
|
|
433
|
-
: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).
|
|
434
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
435
|
-
: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).
|
|
436
|
-
:param pulumi.Input[str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
430
|
+
: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).
|
|
431
|
+
: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).
|
|
432
|
+
: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).
|
|
433
|
+
: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).
|
|
434
|
+
: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).
|
|
435
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
436
|
+
: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).
|
|
437
|
+
:param pulumi.Input[builtins.str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
437
438
|
"""
|
|
438
439
|
if catalog is not None:
|
|
439
440
|
pulumi.set(__self__, "catalog", catalog)
|
|
@@ -490,62 +491,62 @@ class _SchemaState:
|
|
|
490
491
|
|
|
491
492
|
@property
|
|
492
493
|
@pulumi.getter
|
|
493
|
-
def catalog(self) -> Optional[pulumi.Input[str]]:
|
|
494
|
+
def catalog(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
494
495
|
"""
|
|
495
496
|
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).
|
|
496
497
|
"""
|
|
497
498
|
return pulumi.get(self, "catalog")
|
|
498
499
|
|
|
499
500
|
@catalog.setter
|
|
500
|
-
def catalog(self, value: Optional[pulumi.Input[str]]):
|
|
501
|
+
def catalog(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
501
502
|
pulumi.set(self, "catalog", value)
|
|
502
503
|
|
|
503
504
|
@property
|
|
504
505
|
@pulumi.getter
|
|
505
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
506
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
506
507
|
"""
|
|
507
508
|
Specifies a comment for the schema.
|
|
508
509
|
"""
|
|
509
510
|
return pulumi.get(self, "comment")
|
|
510
511
|
|
|
511
512
|
@comment.setter
|
|
512
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
513
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
513
514
|
pulumi.set(self, "comment", value)
|
|
514
515
|
|
|
515
516
|
@property
|
|
516
517
|
@pulumi.getter(name="dataRetentionTimeInDays")
|
|
517
|
-
def data_retention_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
518
|
+
def data_retention_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
518
519
|
"""
|
|
519
520
|
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).
|
|
520
521
|
"""
|
|
521
522
|
return pulumi.get(self, "data_retention_time_in_days")
|
|
522
523
|
|
|
523
524
|
@data_retention_time_in_days.setter
|
|
524
|
-
def data_retention_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
525
|
+
def data_retention_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
525
526
|
pulumi.set(self, "data_retention_time_in_days", value)
|
|
526
527
|
|
|
527
528
|
@property
|
|
528
529
|
@pulumi.getter
|
|
529
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
530
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
530
531
|
"""
|
|
531
532
|
The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
532
533
|
"""
|
|
533
534
|
return pulumi.get(self, "database")
|
|
534
535
|
|
|
535
536
|
@database.setter
|
|
536
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
537
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
537
538
|
pulumi.set(self, "database", value)
|
|
538
539
|
|
|
539
540
|
@property
|
|
540
541
|
@pulumi.getter(name="defaultDdlCollation")
|
|
541
|
-
def default_ddl_collation(self) -> Optional[pulumi.Input[str]]:
|
|
542
|
+
def default_ddl_collation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
542
543
|
"""
|
|
543
544
|
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).
|
|
544
545
|
"""
|
|
545
546
|
return pulumi.get(self, "default_ddl_collation")
|
|
546
547
|
|
|
547
548
|
@default_ddl_collation.setter
|
|
548
|
-
def default_ddl_collation(self, value: Optional[pulumi.Input[str]]):
|
|
549
|
+
def default_ddl_collation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
549
550
|
pulumi.set(self, "default_ddl_collation", value)
|
|
550
551
|
|
|
551
552
|
@property
|
|
@@ -562,86 +563,86 @@ class _SchemaState:
|
|
|
562
563
|
|
|
563
564
|
@property
|
|
564
565
|
@pulumi.getter(name="enableConsoleOutput")
|
|
565
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
566
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
566
567
|
"""
|
|
567
568
|
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
568
569
|
"""
|
|
569
570
|
return pulumi.get(self, "enable_console_output")
|
|
570
571
|
|
|
571
572
|
@enable_console_output.setter
|
|
572
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
573
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
573
574
|
pulumi.set(self, "enable_console_output", value)
|
|
574
575
|
|
|
575
576
|
@property
|
|
576
577
|
@pulumi.getter(name="externalVolume")
|
|
577
|
-
def external_volume(self) -> Optional[pulumi.Input[str]]:
|
|
578
|
+
def external_volume(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
578
579
|
"""
|
|
579
580
|
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).
|
|
580
581
|
"""
|
|
581
582
|
return pulumi.get(self, "external_volume")
|
|
582
583
|
|
|
583
584
|
@external_volume.setter
|
|
584
|
-
def external_volume(self, value: Optional[pulumi.Input[str]]):
|
|
585
|
+
def external_volume(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
585
586
|
pulumi.set(self, "external_volume", value)
|
|
586
587
|
|
|
587
588
|
@property
|
|
588
589
|
@pulumi.getter(name="fullyQualifiedName")
|
|
589
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
590
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
590
591
|
"""
|
|
591
592
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
592
593
|
"""
|
|
593
594
|
return pulumi.get(self, "fully_qualified_name")
|
|
594
595
|
|
|
595
596
|
@fully_qualified_name.setter
|
|
596
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
597
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
597
598
|
pulumi.set(self, "fully_qualified_name", value)
|
|
598
599
|
|
|
599
600
|
@property
|
|
600
601
|
@pulumi.getter(name="isTransient")
|
|
601
|
-
def is_transient(self) -> Optional[pulumi.Input[str]]:
|
|
602
|
+
def is_transient(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
602
603
|
"""
|
|
603
604
|
Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
604
605
|
"""
|
|
605
606
|
return pulumi.get(self, "is_transient")
|
|
606
607
|
|
|
607
608
|
@is_transient.setter
|
|
608
|
-
def is_transient(self, value: Optional[pulumi.Input[str]]):
|
|
609
|
+
def is_transient(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
609
610
|
pulumi.set(self, "is_transient", value)
|
|
610
611
|
|
|
611
612
|
@property
|
|
612
613
|
@pulumi.getter(name="logLevel")
|
|
613
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
614
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
614
615
|
"""
|
|
615
616
|
Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
616
617
|
"""
|
|
617
618
|
return pulumi.get(self, "log_level")
|
|
618
619
|
|
|
619
620
|
@log_level.setter
|
|
620
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
621
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
621
622
|
pulumi.set(self, "log_level", value)
|
|
622
623
|
|
|
623
624
|
@property
|
|
624
625
|
@pulumi.getter(name="maxDataExtensionTimeInDays")
|
|
625
|
-
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[int]]:
|
|
626
|
+
def max_data_extension_time_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
626
627
|
"""
|
|
627
628
|
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).
|
|
628
629
|
"""
|
|
629
630
|
return pulumi.get(self, "max_data_extension_time_in_days")
|
|
630
631
|
|
|
631
632
|
@max_data_extension_time_in_days.setter
|
|
632
|
-
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[int]]):
|
|
633
|
+
def max_data_extension_time_in_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
633
634
|
pulumi.set(self, "max_data_extension_time_in_days", value)
|
|
634
635
|
|
|
635
636
|
@property
|
|
636
637
|
@pulumi.getter
|
|
637
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
638
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
638
639
|
"""
|
|
639
640
|
Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
640
641
|
"""
|
|
641
642
|
return pulumi.get(self, "name")
|
|
642
643
|
|
|
643
644
|
@name.setter
|
|
644
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
645
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
645
646
|
pulumi.set(self, "name", value)
|
|
646
647
|
|
|
647
648
|
@property
|
|
@@ -658,38 +659,38 @@ class _SchemaState:
|
|
|
658
659
|
|
|
659
660
|
@property
|
|
660
661
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
661
|
-
def pipe_execution_paused(self) -> Optional[pulumi.Input[bool]]:
|
|
662
|
+
def pipe_execution_paused(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
662
663
|
"""
|
|
663
664
|
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
664
665
|
"""
|
|
665
666
|
return pulumi.get(self, "pipe_execution_paused")
|
|
666
667
|
|
|
667
668
|
@pipe_execution_paused.setter
|
|
668
|
-
def pipe_execution_paused(self, value: Optional[pulumi.Input[bool]]):
|
|
669
|
+
def pipe_execution_paused(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
669
670
|
pulumi.set(self, "pipe_execution_paused", value)
|
|
670
671
|
|
|
671
672
|
@property
|
|
672
673
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
673
|
-
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
|
|
674
|
+
def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
674
675
|
"""
|
|
675
676
|
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).
|
|
676
677
|
"""
|
|
677
678
|
return pulumi.get(self, "quoted_identifiers_ignore_case")
|
|
678
679
|
|
|
679
680
|
@quoted_identifiers_ignore_case.setter
|
|
680
|
-
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[bool]]):
|
|
681
|
+
def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
681
682
|
pulumi.set(self, "quoted_identifiers_ignore_case", value)
|
|
682
683
|
|
|
683
684
|
@property
|
|
684
685
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
685
|
-
def replace_invalid_characters(self) -> Optional[pulumi.Input[bool]]:
|
|
686
|
+
def replace_invalid_characters(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
686
687
|
"""
|
|
687
688
|
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).
|
|
688
689
|
"""
|
|
689
690
|
return pulumi.get(self, "replace_invalid_characters")
|
|
690
691
|
|
|
691
692
|
@replace_invalid_characters.setter
|
|
692
|
-
def replace_invalid_characters(self, value: Optional[pulumi.Input[bool]]):
|
|
693
|
+
def replace_invalid_characters(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
693
694
|
pulumi.set(self, "replace_invalid_characters", value)
|
|
694
695
|
|
|
695
696
|
@property
|
|
@@ -706,98 +707,98 @@ class _SchemaState:
|
|
|
706
707
|
|
|
707
708
|
@property
|
|
708
709
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
709
|
-
def storage_serialization_policy(self) -> Optional[pulumi.Input[str]]:
|
|
710
|
+
def storage_serialization_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
710
711
|
"""
|
|
711
712
|
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).
|
|
712
713
|
"""
|
|
713
714
|
return pulumi.get(self, "storage_serialization_policy")
|
|
714
715
|
|
|
715
716
|
@storage_serialization_policy.setter
|
|
716
|
-
def storage_serialization_policy(self, value: Optional[pulumi.Input[str]]):
|
|
717
|
+
def storage_serialization_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
717
718
|
pulumi.set(self, "storage_serialization_policy", value)
|
|
718
719
|
|
|
719
720
|
@property
|
|
720
721
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
721
|
-
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
|
|
722
|
+
def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
722
723
|
"""
|
|
723
724
|
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).
|
|
724
725
|
"""
|
|
725
726
|
return pulumi.get(self, "suspend_task_after_num_failures")
|
|
726
727
|
|
|
727
728
|
@suspend_task_after_num_failures.setter
|
|
728
|
-
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
|
|
729
|
+
def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
729
730
|
pulumi.set(self, "suspend_task_after_num_failures", value)
|
|
730
731
|
|
|
731
732
|
@property
|
|
732
733
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
733
|
-
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
|
|
734
|
+
def task_auto_retry_attempts(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
734
735
|
"""
|
|
735
736
|
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).
|
|
736
737
|
"""
|
|
737
738
|
return pulumi.get(self, "task_auto_retry_attempts")
|
|
738
739
|
|
|
739
740
|
@task_auto_retry_attempts.setter
|
|
740
|
-
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[int]]):
|
|
741
|
+
def task_auto_retry_attempts(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
741
742
|
pulumi.set(self, "task_auto_retry_attempts", value)
|
|
742
743
|
|
|
743
744
|
@property
|
|
744
745
|
@pulumi.getter(name="traceLevel")
|
|
745
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
746
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
746
747
|
"""
|
|
747
748
|
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).
|
|
748
749
|
"""
|
|
749
750
|
return pulumi.get(self, "trace_level")
|
|
750
751
|
|
|
751
752
|
@trace_level.setter
|
|
752
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
753
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
753
754
|
pulumi.set(self, "trace_level", value)
|
|
754
755
|
|
|
755
756
|
@property
|
|
756
757
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
757
|
-
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
|
|
758
|
+
def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
758
759
|
"""
|
|
759
760
|
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).
|
|
760
761
|
"""
|
|
761
762
|
return pulumi.get(self, "user_task_managed_initial_warehouse_size")
|
|
762
763
|
|
|
763
764
|
@user_task_managed_initial_warehouse_size.setter
|
|
764
|
-
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
|
|
765
|
+
def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
765
766
|
pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
|
|
766
767
|
|
|
767
768
|
@property
|
|
768
769
|
@pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
|
|
769
|
-
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
770
|
+
def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
770
771
|
"""
|
|
771
772
|
Minimum amount of time between Triggered Task executions in seconds.
|
|
772
773
|
"""
|
|
773
774
|
return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
|
|
774
775
|
|
|
775
776
|
@user_task_minimum_trigger_interval_in_seconds.setter
|
|
776
|
-
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
777
|
+
def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
777
778
|
pulumi.set(self, "user_task_minimum_trigger_interval_in_seconds", value)
|
|
778
779
|
|
|
779
780
|
@property
|
|
780
781
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
781
|
-
def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
|
|
782
|
+
def user_task_timeout_ms(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
782
783
|
"""
|
|
783
784
|
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).
|
|
784
785
|
"""
|
|
785
786
|
return pulumi.get(self, "user_task_timeout_ms")
|
|
786
787
|
|
|
787
788
|
@user_task_timeout_ms.setter
|
|
788
|
-
def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
|
|
789
|
+
def user_task_timeout_ms(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
789
790
|
pulumi.set(self, "user_task_timeout_ms", value)
|
|
790
791
|
|
|
791
792
|
@property
|
|
792
793
|
@pulumi.getter(name="withManagedAccess")
|
|
793
|
-
def with_managed_access(self) -> Optional[pulumi.Input[str]]:
|
|
794
|
+
def with_managed_access(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
794
795
|
"""
|
|
795
796
|
Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
796
797
|
"""
|
|
797
798
|
return pulumi.get(self, "with_managed_access")
|
|
798
799
|
|
|
799
800
|
@with_managed_access.setter
|
|
800
|
-
def with_managed_access(self, value: Optional[pulumi.Input[str]]):
|
|
801
|
+
def with_managed_access(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
801
802
|
pulumi.set(self, "with_managed_access", value)
|
|
802
803
|
|
|
803
804
|
|
|
@@ -806,28 +807,28 @@ class Schema(pulumi.CustomResource):
|
|
|
806
807
|
def __init__(__self__,
|
|
807
808
|
resource_name: str,
|
|
808
809
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
809
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
810
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
811
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
812
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
813
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
814
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
815
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
816
|
-
is_transient: Optional[pulumi.Input[str]] = None,
|
|
817
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
818
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
819
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
820
|
-
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
821
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
822
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
823
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
824
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
825
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
826
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
827
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
828
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
829
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
830
|
-
with_managed_access: Optional[pulumi.Input[str]] = None,
|
|
810
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
811
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
812
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
813
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
814
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
815
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
816
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
817
|
+
is_transient: Optional[pulumi.Input[builtins.str]] = None,
|
|
818
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
819
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
820
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
821
|
+
pipe_execution_paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
822
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
823
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
824
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
825
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
826
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
827
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
828
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
829
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
830
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
831
|
+
with_managed_access: Optional[pulumi.Input[builtins.str]] = None,
|
|
831
832
|
__props__=None):
|
|
832
833
|
"""
|
|
833
834
|
## Import
|
|
@@ -838,28 +839,28 @@ class Schema(pulumi.CustomResource):
|
|
|
838
839
|
|
|
839
840
|
:param str resource_name: The name of the resource.
|
|
840
841
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
841
|
-
: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).
|
|
842
|
-
:param pulumi.Input[str] comment: Specifies a comment for the schema.
|
|
843
|
-
: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).
|
|
844
|
-
:param pulumi.Input[str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
845
|
-
: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).
|
|
846
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
847
|
-
: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).
|
|
848
|
-
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
849
|
-
: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).
|
|
850
|
-
: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).
|
|
851
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
852
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
853
|
-
: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).
|
|
854
|
-
: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).
|
|
855
|
-
: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).
|
|
856
|
-
: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).
|
|
857
|
-
: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).
|
|
858
|
-
: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).
|
|
859
|
-
: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).
|
|
860
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
861
|
-
: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).
|
|
862
|
-
:param pulumi.Input[str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
842
|
+
: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).
|
|
843
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the schema.
|
|
844
|
+
: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).
|
|
845
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
846
|
+
: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).
|
|
847
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
848
|
+
: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).
|
|
849
|
+
:param pulumi.Input[builtins.str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
850
|
+
: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).
|
|
851
|
+
: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).
|
|
852
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
853
|
+
:param pulumi.Input[builtins.bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
854
|
+
: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).
|
|
855
|
+
: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).
|
|
856
|
+
: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).
|
|
857
|
+
: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).
|
|
858
|
+
: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).
|
|
859
|
+
: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).
|
|
860
|
+
: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).
|
|
861
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
862
|
+
: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).
|
|
863
|
+
:param pulumi.Input[builtins.str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
863
864
|
"""
|
|
864
865
|
...
|
|
865
866
|
@overload
|
|
@@ -889,28 +890,28 @@ class Schema(pulumi.CustomResource):
|
|
|
889
890
|
def _internal_init(__self__,
|
|
890
891
|
resource_name: str,
|
|
891
892
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
892
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
893
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
894
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
895
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
896
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
897
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
898
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
899
|
-
is_transient: Optional[pulumi.Input[str]] = None,
|
|
900
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
901
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
902
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
903
|
-
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
904
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
905
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
906
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
907
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
908
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
909
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
910
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
911
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
912
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
913
|
-
with_managed_access: Optional[pulumi.Input[str]] = None,
|
|
893
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
894
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
895
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
896
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
897
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
898
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
899
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
900
|
+
is_transient: Optional[pulumi.Input[builtins.str]] = None,
|
|
901
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
902
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
903
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
904
|
+
pipe_execution_paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
905
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
906
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
907
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
908
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
909
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
910
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
911
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
912
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
913
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
914
|
+
with_managed_access: Optional[pulumi.Input[builtins.str]] = None,
|
|
914
915
|
__props__=None):
|
|
915
916
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
916
917
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -958,32 +959,32 @@ class Schema(pulumi.CustomResource):
|
|
|
958
959
|
def get(resource_name: str,
|
|
959
960
|
id: pulumi.Input[str],
|
|
960
961
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
961
|
-
catalog: Optional[pulumi.Input[str]] = None,
|
|
962
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
963
|
-
data_retention_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
964
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
965
|
-
default_ddl_collation: Optional[pulumi.Input[str]] = None,
|
|
962
|
+
catalog: Optional[pulumi.Input[builtins.str]] = None,
|
|
963
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
964
|
+
data_retention_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
965
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
966
|
+
default_ddl_collation: Optional[pulumi.Input[builtins.str]] = None,
|
|
966
967
|
describe_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]]] = None,
|
|
967
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
968
|
-
external_volume: Optional[pulumi.Input[str]] = None,
|
|
969
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
970
|
-
is_transient: Optional[pulumi.Input[str]] = None,
|
|
971
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
972
|
-
max_data_extension_time_in_days: Optional[pulumi.Input[int]] = None,
|
|
973
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
968
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
969
|
+
external_volume: Optional[pulumi.Input[builtins.str]] = None,
|
|
970
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
971
|
+
is_transient: Optional[pulumi.Input[builtins.str]] = None,
|
|
972
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
973
|
+
max_data_extension_time_in_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
974
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
974
975
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]]] = None,
|
|
975
|
-
pipe_execution_paused: Optional[pulumi.Input[bool]] = None,
|
|
976
|
-
quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
|
|
977
|
-
replace_invalid_characters: Optional[pulumi.Input[bool]] = None,
|
|
976
|
+
pipe_execution_paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
977
|
+
quoted_identifiers_ignore_case: Optional[pulumi.Input[builtins.bool]] = None,
|
|
978
|
+
replace_invalid_characters: Optional[pulumi.Input[builtins.bool]] = None,
|
|
978
979
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]]] = None,
|
|
979
|
-
storage_serialization_policy: Optional[pulumi.Input[str]] = None,
|
|
980
|
-
suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
|
|
981
|
-
task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
|
|
982
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
983
|
-
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
|
|
984
|
-
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
|
|
985
|
-
user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
|
|
986
|
-
with_managed_access: Optional[pulumi.Input[str]] = None) -> 'Schema':
|
|
980
|
+
storage_serialization_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
981
|
+
suspend_task_after_num_failures: Optional[pulumi.Input[builtins.int]] = None,
|
|
982
|
+
task_auto_retry_attempts: Optional[pulumi.Input[builtins.int]] = None,
|
|
983
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
984
|
+
user_task_managed_initial_warehouse_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
985
|
+
user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
986
|
+
user_task_timeout_ms: Optional[pulumi.Input[builtins.int]] = None,
|
|
987
|
+
with_managed_access: Optional[pulumi.Input[builtins.str]] = None) -> 'Schema':
|
|
987
988
|
"""
|
|
988
989
|
Get an existing Schema resource's state with the given name, id, and optional extra
|
|
989
990
|
properties used to qualify the lookup.
|
|
@@ -991,32 +992,32 @@ class Schema(pulumi.CustomResource):
|
|
|
991
992
|
:param str resource_name: The unique name of the resulting resource.
|
|
992
993
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
993
994
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
994
|
-
: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).
|
|
995
|
-
:param pulumi.Input[str] comment: Specifies a comment for the schema.
|
|
996
|
-
: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).
|
|
997
|
-
:param pulumi.Input[str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
998
|
-
: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).
|
|
995
|
+
: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).
|
|
996
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the schema.
|
|
997
|
+
: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).
|
|
998
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
999
|
+
: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).
|
|
999
1000
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaDescribeOutputArgs', 'SchemaDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant_ownership on all objects in the schema.
|
|
1000
|
-
:param pulumi.Input[bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
1001
|
-
: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).
|
|
1002
|
-
: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).
|
|
1003
|
-
:param pulumi.Input[str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1004
|
-
: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).
|
|
1005
|
-
: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).
|
|
1006
|
-
:param pulumi.Input[str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1001
|
+
:param pulumi.Input[builtins.bool] enable_console_output: If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
1002
|
+
: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).
|
|
1003
|
+
: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).
|
|
1004
|
+
:param pulumi.Input[builtins.str] is_transient: Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1005
|
+
: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).
|
|
1006
|
+
: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).
|
|
1007
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1007
1008
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaParameterArgs', 'SchemaParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
1008
|
-
:param pulumi.Input[bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1009
|
-
: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).
|
|
1010
|
-
: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).
|
|
1009
|
+
:param pulumi.Input[builtins.bool] pipe_execution_paused: Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1010
|
+
: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).
|
|
1011
|
+
: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).
|
|
1011
1012
|
:param pulumi.Input[Sequence[pulumi.Input[Union['SchemaShowOutputArgs', 'SchemaShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW SCHEMA` for the given object.
|
|
1012
|
-
: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).
|
|
1013
|
-
: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).
|
|
1014
|
-
: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).
|
|
1015
|
-
: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).
|
|
1016
|
-
: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).
|
|
1017
|
-
:param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
1018
|
-
: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).
|
|
1019
|
-
:param pulumi.Input[str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1013
|
+
: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).
|
|
1014
|
+
: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).
|
|
1015
|
+
: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).
|
|
1016
|
+
: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).
|
|
1017
|
+
: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).
|
|
1018
|
+
:param pulumi.Input[builtins.int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds.
|
|
1019
|
+
: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).
|
|
1020
|
+
:param pulumi.Input[builtins.str] with_managed_access: Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1020
1021
|
"""
|
|
1021
1022
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1022
1023
|
|
|
@@ -1052,7 +1053,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1052
1053
|
|
|
1053
1054
|
@property
|
|
1054
1055
|
@pulumi.getter
|
|
1055
|
-
def catalog(self) -> pulumi.Output[str]:
|
|
1056
|
+
def catalog(self) -> pulumi.Output[builtins.str]:
|
|
1056
1057
|
"""
|
|
1057
1058
|
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).
|
|
1058
1059
|
"""
|
|
@@ -1060,7 +1061,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1060
1061
|
|
|
1061
1062
|
@property
|
|
1062
1063
|
@pulumi.getter
|
|
1063
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
1064
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1064
1065
|
"""
|
|
1065
1066
|
Specifies a comment for the schema.
|
|
1066
1067
|
"""
|
|
@@ -1068,7 +1069,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1068
1069
|
|
|
1069
1070
|
@property
|
|
1070
1071
|
@pulumi.getter(name="dataRetentionTimeInDays")
|
|
1071
|
-
def data_retention_time_in_days(self) -> pulumi.Output[int]:
|
|
1072
|
+
def data_retention_time_in_days(self) -> pulumi.Output[builtins.int]:
|
|
1072
1073
|
"""
|
|
1073
1074
|
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).
|
|
1074
1075
|
"""
|
|
@@ -1076,7 +1077,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1076
1077
|
|
|
1077
1078
|
@property
|
|
1078
1079
|
@pulumi.getter
|
|
1079
|
-
def database(self) -> pulumi.Output[str]:
|
|
1080
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
1080
1081
|
"""
|
|
1081
1082
|
The database in which to create the schema. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1082
1083
|
"""
|
|
@@ -1084,7 +1085,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1084
1085
|
|
|
1085
1086
|
@property
|
|
1086
1087
|
@pulumi.getter(name="defaultDdlCollation")
|
|
1087
|
-
def default_ddl_collation(self) -> pulumi.Output[str]:
|
|
1088
|
+
def default_ddl_collation(self) -> pulumi.Output[builtins.str]:
|
|
1088
1089
|
"""
|
|
1089
1090
|
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).
|
|
1090
1091
|
"""
|
|
@@ -1100,7 +1101,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1100
1101
|
|
|
1101
1102
|
@property
|
|
1102
1103
|
@pulumi.getter(name="enableConsoleOutput")
|
|
1103
|
-
def enable_console_output(self) -> pulumi.Output[bool]:
|
|
1104
|
+
def enable_console_output(self) -> pulumi.Output[builtins.bool]:
|
|
1104
1105
|
"""
|
|
1105
1106
|
If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
1106
1107
|
"""
|
|
@@ -1108,7 +1109,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1108
1109
|
|
|
1109
1110
|
@property
|
|
1110
1111
|
@pulumi.getter(name="externalVolume")
|
|
1111
|
-
def external_volume(self) -> pulumi.Output[str]:
|
|
1112
|
+
def external_volume(self) -> pulumi.Output[builtins.str]:
|
|
1112
1113
|
"""
|
|
1113
1114
|
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).
|
|
1114
1115
|
"""
|
|
@@ -1116,7 +1117,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1116
1117
|
|
|
1117
1118
|
@property
|
|
1118
1119
|
@pulumi.getter(name="fullyQualifiedName")
|
|
1119
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
1120
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
1120
1121
|
"""
|
|
1121
1122
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
1122
1123
|
"""
|
|
@@ -1124,7 +1125,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1124
1125
|
|
|
1125
1126
|
@property
|
|
1126
1127
|
@pulumi.getter(name="isTransient")
|
|
1127
|
-
def is_transient(self) -> pulumi.Output[Optional[str]]:
|
|
1128
|
+
def is_transient(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1128
1129
|
"""
|
|
1129
1130
|
Specifies the schema as transient. Transient schemas 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. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1130
1131
|
"""
|
|
@@ -1132,7 +1133,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1132
1133
|
|
|
1133
1134
|
@property
|
|
1134
1135
|
@pulumi.getter(name="logLevel")
|
|
1135
|
-
def log_level(self) -> pulumi.Output[str]:
|
|
1136
|
+
def log_level(self) -> pulumi.Output[builtins.str]:
|
|
1136
1137
|
"""
|
|
1137
1138
|
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).
|
|
1138
1139
|
"""
|
|
@@ -1140,7 +1141,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1140
1141
|
|
|
1141
1142
|
@property
|
|
1142
1143
|
@pulumi.getter(name="maxDataExtensionTimeInDays")
|
|
1143
|
-
def max_data_extension_time_in_days(self) -> pulumi.Output[int]:
|
|
1144
|
+
def max_data_extension_time_in_days(self) -> pulumi.Output[builtins.int]:
|
|
1144
1145
|
"""
|
|
1145
1146
|
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).
|
|
1146
1147
|
"""
|
|
@@ -1148,7 +1149,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1148
1149
|
|
|
1149
1150
|
@property
|
|
1150
1151
|
@pulumi.getter
|
|
1151
|
-
def name(self) -> pulumi.Output[str]:
|
|
1152
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1152
1153
|
"""
|
|
1153
1154
|
Specifies the identifier for the schema; must be unique for the database in which the schema is created. When the name is `PUBLIC`, during creation the provider checks if this schema has already been created and, in such case, `ALTER` is used to match the desired state. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1154
1155
|
"""
|
|
@@ -1164,7 +1165,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1164
1165
|
|
|
1165
1166
|
@property
|
|
1166
1167
|
@pulumi.getter(name="pipeExecutionPaused")
|
|
1167
|
-
def pipe_execution_paused(self) -> pulumi.Output[bool]:
|
|
1168
|
+
def pipe_execution_paused(self) -> pulumi.Output[builtins.bool]:
|
|
1168
1169
|
"""
|
|
1169
1170
|
Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, check [PIPE*EXECUTION*PAUSED docs](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
1170
1171
|
"""
|
|
@@ -1172,7 +1173,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1172
1173
|
|
|
1173
1174
|
@property
|
|
1174
1175
|
@pulumi.getter(name="quotedIdentifiersIgnoreCase")
|
|
1175
|
-
def quoted_identifiers_ignore_case(self) -> pulumi.Output[bool]:
|
|
1176
|
+
def quoted_identifiers_ignore_case(self) -> pulumi.Output[builtins.bool]:
|
|
1176
1177
|
"""
|
|
1177
1178
|
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).
|
|
1178
1179
|
"""
|
|
@@ -1180,7 +1181,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1180
1181
|
|
|
1181
1182
|
@property
|
|
1182
1183
|
@pulumi.getter(name="replaceInvalidCharacters")
|
|
1183
|
-
def replace_invalid_characters(self) -> pulumi.Output[bool]:
|
|
1184
|
+
def replace_invalid_characters(self) -> pulumi.Output[builtins.bool]:
|
|
1184
1185
|
"""
|
|
1185
1186
|
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).
|
|
1186
1187
|
"""
|
|
@@ -1196,7 +1197,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1196
1197
|
|
|
1197
1198
|
@property
|
|
1198
1199
|
@pulumi.getter(name="storageSerializationPolicy")
|
|
1199
|
-
def storage_serialization_policy(self) -> pulumi.Output[str]:
|
|
1200
|
+
def storage_serialization_policy(self) -> pulumi.Output[builtins.str]:
|
|
1200
1201
|
"""
|
|
1201
1202
|
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).
|
|
1202
1203
|
"""
|
|
@@ -1204,7 +1205,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1204
1205
|
|
|
1205
1206
|
@property
|
|
1206
1207
|
@pulumi.getter(name="suspendTaskAfterNumFailures")
|
|
1207
|
-
def suspend_task_after_num_failures(self) -> pulumi.Output[int]:
|
|
1208
|
+
def suspend_task_after_num_failures(self) -> pulumi.Output[builtins.int]:
|
|
1208
1209
|
"""
|
|
1209
1210
|
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).
|
|
1210
1211
|
"""
|
|
@@ -1212,7 +1213,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1212
1213
|
|
|
1213
1214
|
@property
|
|
1214
1215
|
@pulumi.getter(name="taskAutoRetryAttempts")
|
|
1215
|
-
def task_auto_retry_attempts(self) -> pulumi.Output[int]:
|
|
1216
|
+
def task_auto_retry_attempts(self) -> pulumi.Output[builtins.int]:
|
|
1216
1217
|
"""
|
|
1217
1218
|
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).
|
|
1218
1219
|
"""
|
|
@@ -1220,7 +1221,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1220
1221
|
|
|
1221
1222
|
@property
|
|
1222
1223
|
@pulumi.getter(name="traceLevel")
|
|
1223
|
-
def trace_level(self) -> pulumi.Output[str]:
|
|
1224
|
+
def trace_level(self) -> pulumi.Output[builtins.str]:
|
|
1224
1225
|
"""
|
|
1225
1226
|
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).
|
|
1226
1227
|
"""
|
|
@@ -1228,7 +1229,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1228
1229
|
|
|
1229
1230
|
@property
|
|
1230
1231
|
@pulumi.getter(name="userTaskManagedInitialWarehouseSize")
|
|
1231
|
-
def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[str]:
|
|
1232
|
+
def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[builtins.str]:
|
|
1232
1233
|
"""
|
|
1233
1234
|
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).
|
|
1234
1235
|
"""
|
|
@@ -1236,7 +1237,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1236
1237
|
|
|
1237
1238
|
@property
|
|
1238
1239
|
@pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
|
|
1239
|
-
def user_task_minimum_trigger_interval_in_seconds(self) -> pulumi.Output[int]:
|
|
1240
|
+
def user_task_minimum_trigger_interval_in_seconds(self) -> pulumi.Output[builtins.int]:
|
|
1240
1241
|
"""
|
|
1241
1242
|
Minimum amount of time between Triggered Task executions in seconds.
|
|
1242
1243
|
"""
|
|
@@ -1244,7 +1245,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1244
1245
|
|
|
1245
1246
|
@property
|
|
1246
1247
|
@pulumi.getter(name="userTaskTimeoutMs")
|
|
1247
|
-
def user_task_timeout_ms(self) -> pulumi.Output[int]:
|
|
1248
|
+
def user_task_timeout_ms(self) -> pulumi.Output[builtins.int]:
|
|
1248
1249
|
"""
|
|
1249
1250
|
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).
|
|
1250
1251
|
"""
|
|
@@ -1252,7 +1253,7 @@ class Schema(pulumi.CustomResource):
|
|
|
1252
1253
|
|
|
1253
1254
|
@property
|
|
1254
1255
|
@pulumi.getter(name="withManagedAccess")
|
|
1255
|
-
def with_managed_access(self) -> pulumi.Output[Optional[str]]:
|
|
1256
|
+
def with_managed_access(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1256
1257
|
"""
|
|
1257
1258
|
Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1258
1259
|
"""
|