pulumi-snowflake 0.50.3a1710160126__py3-none-any.whl → 1.2.0a1736849992__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (182) hide show
  1. pulumi_snowflake/__init__.py +224 -172
  2. pulumi_snowflake/_inputs.py +52857 -1665
  3. pulumi_snowflake/_utilities.py +41 -5
  4. pulumi_snowflake/account.py +188 -218
  5. pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
  6. pulumi_snowflake/account_parameter.py +21 -48
  7. pulumi_snowflake/account_password_policy_attachment.py +7 -32
  8. pulumi_snowflake/account_role.py +250 -0
  9. pulumi_snowflake/alert.py +38 -47
  10. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
  11. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
  12. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
  13. pulumi_snowflake/api_integration.py +33 -52
  14. pulumi_snowflake/authentication_policy.py +622 -0
  15. pulumi_snowflake/config/__init__.pyi +76 -99
  16. pulumi_snowflake/config/outputs.py +5 -0
  17. pulumi_snowflake/config/vars.py +93 -124
  18. pulumi_snowflake/cortex_search_service.py +596 -0
  19. pulumi_snowflake/database.py +819 -213
  20. pulumi_snowflake/database_role.py +81 -44
  21. pulumi_snowflake/dynamic_table.py +42 -49
  22. pulumi_snowflake/email_notification_integration.py +33 -28
  23. pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -39
  24. pulumi_snowflake/external_function.py +54 -75
  25. pulumi_snowflake/external_oauth_integration.py +593 -542
  26. pulumi_snowflake/external_table.py +67 -90
  27. pulumi_snowflake/external_volume.py +382 -0
  28. pulumi_snowflake/failover_group.py +57 -98
  29. pulumi_snowflake/file_format.py +33 -28
  30. pulumi_snowflake/function_java.py +1211 -0
  31. pulumi_snowflake/function_javascript.py +882 -0
  32. pulumi_snowflake/function_python.py +1212 -0
  33. pulumi_snowflake/function_scala.py +1212 -0
  34. pulumi_snowflake/function_sql.py +835 -0
  35. pulumi_snowflake/get_account_roles.py +129 -0
  36. pulumi_snowflake/get_accounts.py +53 -22
  37. pulumi_snowflake/get_alerts.py +22 -9
  38. pulumi_snowflake/get_connections.py +109 -0
  39. pulumi_snowflake/get_cortex_search_services.py +216 -0
  40. pulumi_snowflake/get_current_account.py +24 -13
  41. pulumi_snowflake/get_current_role.py +14 -7
  42. pulumi_snowflake/get_database.py +25 -9
  43. pulumi_snowflake/get_database_role.py +162 -0
  44. pulumi_snowflake/get_database_roles.py +79 -47
  45. pulumi_snowflake/get_databases.py +91 -73
  46. pulumi_snowflake/get_dynamic_tables.py +36 -19
  47. pulumi_snowflake/get_external_functions.py +28 -9
  48. pulumi_snowflake/get_external_tables.py +28 -9
  49. pulumi_snowflake/get_failover_groups.py +18 -7
  50. pulumi_snowflake/get_file_formats.py +28 -9
  51. pulumi_snowflake/get_functions.py +28 -9
  52. pulumi_snowflake/get_grants.py +207 -84
  53. pulumi_snowflake/get_masking_policies.py +91 -51
  54. pulumi_snowflake/get_materialized_views.py +28 -9
  55. pulumi_snowflake/get_network_policies.py +129 -0
  56. pulumi_snowflake/get_parameters.py +38 -15
  57. pulumi_snowflake/get_pipes.py +28 -9
  58. pulumi_snowflake/get_procedures.py +28 -9
  59. pulumi_snowflake/get_resource_monitors.py +37 -24
  60. pulumi_snowflake/get_row_access_policies.py +91 -51
  61. pulumi_snowflake/get_schemas.py +145 -41
  62. pulumi_snowflake/get_secrets.py +200 -0
  63. pulumi_snowflake/get_security_integrations.py +129 -0
  64. pulumi_snowflake/get_sequences.py +28 -9
  65. pulumi_snowflake/get_shares.py +18 -9
  66. pulumi_snowflake/get_stages.py +28 -9
  67. pulumi_snowflake/get_storage_integrations.py +16 -9
  68. pulumi_snowflake/get_streamlits.py +170 -0
  69. pulumi_snowflake/get_streams.py +114 -54
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +18 -9
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +120 -5
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
  74. pulumi_snowflake/get_tables.py +28 -9
  75. pulumi_snowflake/get_tags.py +130 -0
  76. pulumi_snowflake/get_tasks.py +134 -54
  77. pulumi_snowflake/get_users.py +116 -44
  78. pulumi_snowflake/get_views.py +114 -54
  79. pulumi_snowflake/get_warehouses.py +79 -26
  80. pulumi_snowflake/grant_account_role.py +28 -75
  81. pulumi_snowflake/grant_application_role.py +257 -0
  82. pulumi_snowflake/grant_database_role.py +35 -94
  83. pulumi_snowflake/grant_ownership.py +382 -0
  84. pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
  85. pulumi_snowflake/grant_privileges_to_database_role.py +37 -383
  86. pulumi_snowflake/grant_privileges_to_share.py +96 -44
  87. pulumi_snowflake/legacy_service_user.py +3670 -0
  88. pulumi_snowflake/managed_account.py +40 -11
  89. pulumi_snowflake/masking_policy.py +213 -310
  90. pulumi_snowflake/materialized_view.py +62 -71
  91. pulumi_snowflake/network_policy.py +217 -61
  92. pulumi_snowflake/network_policy_attachment.py +5 -34
  93. pulumi_snowflake/network_rule.py +473 -0
  94. pulumi_snowflake/notification_integration.py +49 -84
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
  96. pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -192
  97. pulumi_snowflake/object_parameter.py +10 -101
  98. pulumi_snowflake/outputs.py +49200 -2928
  99. pulumi_snowflake/password_policy.py +41 -28
  100. pulumi_snowflake/pipe.py +33 -4
  101. pulumi_snowflake/primary_connection.py +330 -0
  102. pulumi_snowflake/procedure_java.py +1273 -0
  103. pulumi_snowflake/procedure_javascript.py +895 -0
  104. pulumi_snowflake/procedure_python.py +1226 -0
  105. pulumi_snowflake/procedure_scala.py +1273 -0
  106. pulumi_snowflake/procedure_sql.py +895 -0
  107. pulumi_snowflake/provider.py +378 -613
  108. pulumi_snowflake/pulumi-plugin.json +2 -1
  109. pulumi_snowflake/resource_monitor.py +118 -327
  110. pulumi_snowflake/row_access_policy.py +200 -149
  111. pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -299
  112. pulumi_snowflake/schema.py +949 -178
  113. pulumi_snowflake/scim_integration.py +286 -109
  114. pulumi_snowflake/secondary_connection.py +339 -0
  115. pulumi_snowflake/secondary_database.py +1080 -0
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
  117. pulumi_snowflake/secret_with_basic_authentication.py +500 -0
  118. pulumi_snowflake/secret_with_client_credentials.py +511 -0
  119. pulumi_snowflake/secret_with_generic_string.py +452 -0
  120. pulumi_snowflake/sequence.py +9 -34
  121. pulumi_snowflake/service_user.py +3585 -0
  122. pulumi_snowflake/share.py +33 -28
  123. pulumi_snowflake/shared_database.py +939 -0
  124. pulumi_snowflake/stage.py +95 -84
  125. pulumi_snowflake/storage_integration.py +46 -4
  126. pulumi_snowflake/stream_on_directory_table.py +517 -0
  127. pulumi_snowflake/stream_on_external_table.py +632 -0
  128. pulumi_snowflake/stream_on_table.py +666 -0
  129. pulumi_snowflake/stream_on_view.py +666 -0
  130. pulumi_snowflake/streamlit.py +671 -0
  131. pulumi_snowflake/table.py +86 -97
  132. pulumi_snowflake/table_column_masking_policy_application.py +7 -14
  133. pulumi_snowflake/table_constraint.py +29 -172
  134. pulumi_snowflake/tag.py +142 -74
  135. pulumi_snowflake/tag_association.py +40 -215
  136. pulumi_snowflake/task.py +3048 -418
  137. pulumi_snowflake/user.py +3351 -384
  138. pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
  139. pulumi_snowflake/user_password_policy_attachment.py +5 -4
  140. pulumi_snowflake/user_public_keys.py +5 -0
  141. pulumi_snowflake/view.py +466 -215
  142. pulumi_snowflake/warehouse.py +184 -168
  143. {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.dist-info}/METADATA +7 -6
  144. pulumi_snowflake-1.2.0a1736849992.dist-info/RECORD +148 -0
  145. {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.dist-info}/WHEEL +1 -1
  146. pulumi_snowflake/account_grant.py +0 -343
  147. pulumi_snowflake/database_grant.py +0 -495
  148. pulumi_snowflake/external_table_grant.py +0 -690
  149. pulumi_snowflake/failover_group_grant.py +0 -388
  150. pulumi_snowflake/file_format_grant.py +0 -635
  151. pulumi_snowflake/function.py +0 -872
  152. pulumi_snowflake/function_grant.py +0 -745
  153. pulumi_snowflake/get_role.py +0 -121
  154. pulumi_snowflake/get_roles.py +0 -120
  155. pulumi_snowflake/grant_privileges_to_role.py +0 -825
  156. pulumi_snowflake/integration_grant.py +0 -440
  157. pulumi_snowflake/masking_policy_grant.py +0 -542
  158. pulumi_snowflake/materialized_view_grant.py +0 -689
  159. pulumi_snowflake/pipe_grant.py +0 -587
  160. pulumi_snowflake/procedure.py +0 -887
  161. pulumi_snowflake/procedure_grant.py +0 -745
  162. pulumi_snowflake/resource_monitor_grant.py +0 -387
  163. pulumi_snowflake/role.py +0 -273
  164. pulumi_snowflake/role_grants.py +0 -352
  165. pulumi_snowflake/role_ownership_grant.py +0 -338
  166. pulumi_snowflake/row_access_policy_grant.py +0 -540
  167. pulumi_snowflake/schema_grant.py +0 -647
  168. pulumi_snowflake/sequence_grant.py +0 -635
  169. pulumi_snowflake/session_parameter.py +0 -332
  170. pulumi_snowflake/stage_grant.py +0 -635
  171. pulumi_snowflake/stream.py +0 -614
  172. pulumi_snowflake/stream_grant.py +0 -635
  173. pulumi_snowflake/table_grant.py +0 -677
  174. pulumi_snowflake/tag_grant.py +0 -532
  175. pulumi_snowflake/tag_masking_policy_association.py +0 -210
  176. pulumi_snowflake/task_grant.py +0 -635
  177. pulumi_snowflake/user_grant.py +0 -394
  178. pulumi_snowflake/user_ownership_grant.py +0 -286
  179. pulumi_snowflake/view_grant.py +0 -705
  180. pulumi_snowflake/warehouse_grant.py +0 -440
  181. pulumi_snowflake-0.50.3a1710160126.dist-info/RECORD +0 -136
  182. {pulumi_snowflake-0.50.3a1710160126.dist-info → pulumi_snowflake-1.2.0a1736849992.dist-info}/top_level.txt +0 -0
pulumi_snowflake/task.py CHANGED
@@ -4,10 +4,17 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
11
18
 
12
19
  __all__ = ['TaskArgs', 'Task']
13
20
 
@@ -17,65 +24,288 @@ class TaskArgs:
17
24
  database: pulumi.Input[str],
18
25
  schema: pulumi.Input[str],
19
26
  sql_statement: pulumi.Input[str],
27
+ started: pulumi.Input[bool],
28
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
20
29
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
21
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
30
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
31
+ autocommit: Optional[pulumi.Input[bool]] = None,
32
+ binary_input_format: Optional[pulumi.Input[str]] = None,
33
+ binary_output_format: Optional[pulumi.Input[str]] = None,
34
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
35
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
36
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
37
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
38
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
39
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
40
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
41
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
22
42
  comment: Optional[pulumi.Input[str]] = None,
23
- enabled: Optional[pulumi.Input[bool]] = None,
43
+ config: Optional[pulumi.Input[str]] = None,
44
+ date_input_format: Optional[pulumi.Input[str]] = None,
45
+ date_output_format: Optional[pulumi.Input[str]] = None,
46
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
24
47
  error_integration: Optional[pulumi.Input[str]] = None,
48
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
49
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
50
+ finalize: Optional[pulumi.Input[str]] = None,
51
+ geography_output_format: Optional[pulumi.Input[str]] = None,
52
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
53
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
54
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
55
+ json_indent: Optional[pulumi.Input[int]] = None,
56
+ lock_timeout: Optional[pulumi.Input[int]] = None,
57
+ log_level: Optional[pulumi.Input[str]] = None,
58
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
25
59
  name: Optional[pulumi.Input[str]] = None,
26
- schedule: Optional[pulumi.Input[str]] = None,
27
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
60
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
61
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
62
+ query_tag: Optional[pulumi.Input[str]] = None,
63
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
64
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
65
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
66
+ schedule: Optional[pulumi.Input['TaskScheduleArgs']] = None,
67
+ search_path: Optional[pulumi.Input[str]] = None,
68
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
69
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
70
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
28
71
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
72
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
73
+ time_input_format: Optional[pulumi.Input[str]] = None,
74
+ time_output_format: Optional[pulumi.Input[str]] = None,
75
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
76
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
77
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
78
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
79
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
80
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
81
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
82
+ timezone: Optional[pulumi.Input[str]] = None,
83
+ trace_level: Optional[pulumi.Input[str]] = None,
84
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
85
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
86
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
87
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
88
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
29
89
  user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
90
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
30
91
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
31
92
  warehouse: Optional[pulumi.Input[str]] = None,
93
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
94
+ week_start: Optional[pulumi.Input[int]] = None,
32
95
  when: Optional[pulumi.Input[str]] = None):
33
96
  """
34
97
  The set of arguments for constructing a Task resource.
35
- :param pulumi.Input[str] database: The database in which to create the task.
36
- :param pulumi.Input[str] schema: The schema in which to create the task.
98
+ :param pulumi.Input[str] database: The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
99
+ :param pulumi.Input[str] schema: The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
37
100
  :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
38
- :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
39
- :param pulumi.Input[bool] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
101
+ :param pulumi.Input[bool] started: Specifies if the task should be started or suspended.
102
+ :param pulumi.Input[bool] abort_detached_query: Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
103
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
104
+ :param pulumi.Input[str] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
105
+ :param pulumi.Input[bool] autocommit: Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
106
+ :param pulumi.Input[str] binary_input_format: The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
107
+ :param pulumi.Input[str] binary_output_format: The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
108
+ :param pulumi.Input[int] client_memory_limit: Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
109
+ :param pulumi.Input[bool] client_metadata_request_use_connection_ctx: For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
110
+ :param pulumi.Input[int] client_prefetch_threads: Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
111
+ :param pulumi.Input[int] client_result_chunk_size: Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
112
+ :param pulumi.Input[bool] client_result_column_case_insensitive: Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
113
+ :param pulumi.Input[bool] client_session_keep_alive: Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
114
+ :param pulumi.Input[int] client_session_keep_alive_heartbeat_frequency: Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
115
+ :param pulumi.Input[str] client_timestamp_type_mapping: Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
40
116
  :param pulumi.Input[str] comment: Specifies a comment for the task.
41
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
42
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
43
- :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
44
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
45
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] session_parameters: Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
46
- :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
47
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
48
- :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds).
49
- :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
50
- :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
117
+ :param pulumi.Input[str] config: Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
118
+ :param pulumi.Input[str] date_input_format: Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
119
+ :param pulumi.Input[str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
120
+ :param pulumi.Input[bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
121
+ :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
122
+ :param pulumi.Input[bool] error_on_nondeterministic_merge: Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
123
+ :param pulumi.Input[bool] error_on_nondeterministic_update: Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
124
+ :param pulumi.Input[str] finalize: Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
125
+ :param pulumi.Input[str] geography_output_format: Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
126
+ :param pulumi.Input[str] geometry_output_format: Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
127
+ :param pulumi.Input[bool] jdbc_treat_timestamp_ntz_as_utc: Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
128
+ :param pulumi.Input[bool] jdbc_use_session_timezone: Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
129
+ :param pulumi.Input[int] json_indent: Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
130
+ :param pulumi.Input[int] lock_timeout: Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
131
+ :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
132
+ :param pulumi.Input[int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
133
+ :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
134
+ :param pulumi.Input[bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
135
+ :param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
136
+ :param pulumi.Input[str] query_tag: Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
137
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
138
+ :param pulumi.Input[int] rows_per_resultset: Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
139
+ :param pulumi.Input[str] s3_stage_vpce_dns_name: Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
140
+ :param pulumi.Input['TaskScheduleArgs'] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
141
+ :param pulumi.Input[str] search_path: Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
142
+ :param pulumi.Input[int] statement_queued_timeout_in_seconds: Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
143
+ :param pulumi.Input[int] statement_timeout_in_seconds: Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
144
+ :param pulumi.Input[bool] strict_json_output: This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
145
+ :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
146
+ :param pulumi.Input[int] task_auto_retry_attempts: Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
147
+ :param pulumi.Input[str] time_input_format: Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
148
+ :param pulumi.Input[str] time_output_format: Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
149
+ :param pulumi.Input[bool] timestamp_day_is_always24h: Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
150
+ :param pulumi.Input[str] timestamp_input_format: Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
151
+ :param pulumi.Input[str] timestamp_ltz_output_format: Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
152
+ :param pulumi.Input[str] timestamp_ntz_output_format: Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
153
+ :param pulumi.Input[str] timestamp_output_format: Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
154
+ :param pulumi.Input[str] timestamp_type_mapping: Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
155
+ :param pulumi.Input[str] timestamp_tz_output_format: Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
156
+ :param pulumi.Input[str] timezone: Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
157
+ :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
158
+ :param pulumi.Input[bool] transaction_abort_on_error: Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
159
+ :param pulumi.Input[str] transaction_default_isolation_level: Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
160
+ :param pulumi.Input[int] two_digit_century_start: Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
161
+ :param pulumi.Input[str] unsupported_ddl_action: Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
162
+ :param pulumi.Input[bool] use_cached_result: Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
163
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
164
+ :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
165
+ :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
166
+ :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
167
+ :param pulumi.Input[int] week_of_year_policy: Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
168
+ :param pulumi.Input[int] week_start: Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
169
+ :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
51
170
  """
52
171
  pulumi.set(__self__, "database", database)
53
172
  pulumi.set(__self__, "schema", schema)
54
173
  pulumi.set(__self__, "sql_statement", sql_statement)
174
+ pulumi.set(__self__, "started", started)
175
+ if abort_detached_query is not None:
176
+ pulumi.set(__self__, "abort_detached_query", abort_detached_query)
55
177
  if afters is not None:
56
178
  pulumi.set(__self__, "afters", afters)
57
179
  if allow_overlapping_execution is not None:
58
180
  pulumi.set(__self__, "allow_overlapping_execution", allow_overlapping_execution)
181
+ if autocommit is not None:
182
+ pulumi.set(__self__, "autocommit", autocommit)
183
+ if binary_input_format is not None:
184
+ pulumi.set(__self__, "binary_input_format", binary_input_format)
185
+ if binary_output_format is not None:
186
+ pulumi.set(__self__, "binary_output_format", binary_output_format)
187
+ if client_memory_limit is not None:
188
+ pulumi.set(__self__, "client_memory_limit", client_memory_limit)
189
+ if client_metadata_request_use_connection_ctx is not None:
190
+ pulumi.set(__self__, "client_metadata_request_use_connection_ctx", client_metadata_request_use_connection_ctx)
191
+ if client_prefetch_threads is not None:
192
+ pulumi.set(__self__, "client_prefetch_threads", client_prefetch_threads)
193
+ if client_result_chunk_size is not None:
194
+ pulumi.set(__self__, "client_result_chunk_size", client_result_chunk_size)
195
+ if client_result_column_case_insensitive is not None:
196
+ pulumi.set(__self__, "client_result_column_case_insensitive", client_result_column_case_insensitive)
197
+ if client_session_keep_alive is not None:
198
+ pulumi.set(__self__, "client_session_keep_alive", client_session_keep_alive)
199
+ if client_session_keep_alive_heartbeat_frequency is not None:
200
+ pulumi.set(__self__, "client_session_keep_alive_heartbeat_frequency", client_session_keep_alive_heartbeat_frequency)
201
+ if client_timestamp_type_mapping is not None:
202
+ pulumi.set(__self__, "client_timestamp_type_mapping", client_timestamp_type_mapping)
59
203
  if comment is not None:
60
204
  pulumi.set(__self__, "comment", comment)
61
- if enabled is not None:
62
- pulumi.set(__self__, "enabled", enabled)
205
+ if config is not None:
206
+ pulumi.set(__self__, "config", config)
207
+ if date_input_format is not None:
208
+ pulumi.set(__self__, "date_input_format", date_input_format)
209
+ if date_output_format is not None:
210
+ pulumi.set(__self__, "date_output_format", date_output_format)
211
+ if enable_unload_physical_type_optimization is not None:
212
+ pulumi.set(__self__, "enable_unload_physical_type_optimization", enable_unload_physical_type_optimization)
63
213
  if error_integration is not None:
64
214
  pulumi.set(__self__, "error_integration", error_integration)
215
+ if error_on_nondeterministic_merge is not None:
216
+ pulumi.set(__self__, "error_on_nondeterministic_merge", error_on_nondeterministic_merge)
217
+ if error_on_nondeterministic_update is not None:
218
+ pulumi.set(__self__, "error_on_nondeterministic_update", error_on_nondeterministic_update)
219
+ if finalize is not None:
220
+ pulumi.set(__self__, "finalize", finalize)
221
+ if geography_output_format is not None:
222
+ pulumi.set(__self__, "geography_output_format", geography_output_format)
223
+ if geometry_output_format is not None:
224
+ pulumi.set(__self__, "geometry_output_format", geometry_output_format)
225
+ if jdbc_treat_timestamp_ntz_as_utc is not None:
226
+ pulumi.set(__self__, "jdbc_treat_timestamp_ntz_as_utc", jdbc_treat_timestamp_ntz_as_utc)
227
+ if jdbc_use_session_timezone is not None:
228
+ pulumi.set(__self__, "jdbc_use_session_timezone", jdbc_use_session_timezone)
229
+ if json_indent is not None:
230
+ pulumi.set(__self__, "json_indent", json_indent)
231
+ if lock_timeout is not None:
232
+ pulumi.set(__self__, "lock_timeout", lock_timeout)
233
+ if log_level is not None:
234
+ pulumi.set(__self__, "log_level", log_level)
235
+ if multi_statement_count is not None:
236
+ pulumi.set(__self__, "multi_statement_count", multi_statement_count)
65
237
  if name is not None:
66
238
  pulumi.set(__self__, "name", name)
239
+ if noorder_sequence_as_default is not None:
240
+ pulumi.set(__self__, "noorder_sequence_as_default", noorder_sequence_as_default)
241
+ if odbc_treat_decimal_as_int is not None:
242
+ pulumi.set(__self__, "odbc_treat_decimal_as_int", odbc_treat_decimal_as_int)
243
+ if query_tag is not None:
244
+ pulumi.set(__self__, "query_tag", query_tag)
245
+ if quoted_identifiers_ignore_case is not None:
246
+ pulumi.set(__self__, "quoted_identifiers_ignore_case", quoted_identifiers_ignore_case)
247
+ if rows_per_resultset is not None:
248
+ pulumi.set(__self__, "rows_per_resultset", rows_per_resultset)
249
+ if s3_stage_vpce_dns_name is not None:
250
+ pulumi.set(__self__, "s3_stage_vpce_dns_name", s3_stage_vpce_dns_name)
67
251
  if schedule is not None:
68
252
  pulumi.set(__self__, "schedule", schedule)
69
- if session_parameters is not None:
70
- pulumi.set(__self__, "session_parameters", session_parameters)
253
+ if search_path is not None:
254
+ pulumi.set(__self__, "search_path", search_path)
255
+ if statement_queued_timeout_in_seconds is not None:
256
+ pulumi.set(__self__, "statement_queued_timeout_in_seconds", statement_queued_timeout_in_seconds)
257
+ if statement_timeout_in_seconds is not None:
258
+ pulumi.set(__self__, "statement_timeout_in_seconds", statement_timeout_in_seconds)
259
+ if strict_json_output is not None:
260
+ pulumi.set(__self__, "strict_json_output", strict_json_output)
71
261
  if suspend_task_after_num_failures is not None:
72
262
  pulumi.set(__self__, "suspend_task_after_num_failures", suspend_task_after_num_failures)
263
+ if task_auto_retry_attempts is not None:
264
+ pulumi.set(__self__, "task_auto_retry_attempts", task_auto_retry_attempts)
265
+ if time_input_format is not None:
266
+ pulumi.set(__self__, "time_input_format", time_input_format)
267
+ if time_output_format is not None:
268
+ pulumi.set(__self__, "time_output_format", time_output_format)
269
+ if timestamp_day_is_always24h is not None:
270
+ pulumi.set(__self__, "timestamp_day_is_always24h", timestamp_day_is_always24h)
271
+ if timestamp_input_format is not None:
272
+ pulumi.set(__self__, "timestamp_input_format", timestamp_input_format)
273
+ if timestamp_ltz_output_format is not None:
274
+ pulumi.set(__self__, "timestamp_ltz_output_format", timestamp_ltz_output_format)
275
+ if timestamp_ntz_output_format is not None:
276
+ pulumi.set(__self__, "timestamp_ntz_output_format", timestamp_ntz_output_format)
277
+ if timestamp_output_format is not None:
278
+ pulumi.set(__self__, "timestamp_output_format", timestamp_output_format)
279
+ if timestamp_type_mapping is not None:
280
+ pulumi.set(__self__, "timestamp_type_mapping", timestamp_type_mapping)
281
+ if timestamp_tz_output_format is not None:
282
+ pulumi.set(__self__, "timestamp_tz_output_format", timestamp_tz_output_format)
283
+ if timezone is not None:
284
+ pulumi.set(__self__, "timezone", timezone)
285
+ if trace_level is not None:
286
+ pulumi.set(__self__, "trace_level", trace_level)
287
+ if transaction_abort_on_error is not None:
288
+ pulumi.set(__self__, "transaction_abort_on_error", transaction_abort_on_error)
289
+ if transaction_default_isolation_level is not None:
290
+ pulumi.set(__self__, "transaction_default_isolation_level", transaction_default_isolation_level)
291
+ if two_digit_century_start is not None:
292
+ pulumi.set(__self__, "two_digit_century_start", two_digit_century_start)
293
+ if unsupported_ddl_action is not None:
294
+ pulumi.set(__self__, "unsupported_ddl_action", unsupported_ddl_action)
295
+ if use_cached_result is not None:
296
+ pulumi.set(__self__, "use_cached_result", use_cached_result)
73
297
  if user_task_managed_initial_warehouse_size is not None:
74
298
  pulumi.set(__self__, "user_task_managed_initial_warehouse_size", user_task_managed_initial_warehouse_size)
299
+ if user_task_minimum_trigger_interval_in_seconds is not None:
300
+ pulumi.set(__self__, "user_task_minimum_trigger_interval_in_seconds", user_task_minimum_trigger_interval_in_seconds)
75
301
  if user_task_timeout_ms is not None:
76
302
  pulumi.set(__self__, "user_task_timeout_ms", user_task_timeout_ms)
77
303
  if warehouse is not None:
78
304
  pulumi.set(__self__, "warehouse", warehouse)
305
+ if week_of_year_policy is not None:
306
+ pulumi.set(__self__, "week_of_year_policy", week_of_year_policy)
307
+ if week_start is not None:
308
+ pulumi.set(__self__, "week_start", week_start)
79
309
  if when is not None:
80
310
  pulumi.set(__self__, "when", when)
81
311
 
@@ -83,7 +313,7 @@ class TaskArgs:
83
313
  @pulumi.getter
84
314
  def database(self) -> pulumi.Input[str]:
85
315
  """
86
- The database in which to create the task.
316
+ The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
87
317
  """
88
318
  return pulumi.get(self, "database")
89
319
 
@@ -95,7 +325,7 @@ class TaskArgs:
95
325
  @pulumi.getter
96
326
  def schema(self) -> pulumi.Input[str]:
97
327
  """
98
- The schema in which to create the task.
328
+ The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
99
329
  """
100
330
  return pulumi.get(self, "schema")
101
331
 
@@ -115,11 +345,35 @@ class TaskArgs:
115
345
  def sql_statement(self, value: pulumi.Input[str]):
116
346
  pulumi.set(self, "sql_statement", value)
117
347
 
348
+ @property
349
+ @pulumi.getter
350
+ def started(self) -> pulumi.Input[bool]:
351
+ """
352
+ Specifies if the task should be started or suspended.
353
+ """
354
+ return pulumi.get(self, "started")
355
+
356
+ @started.setter
357
+ def started(self, value: pulumi.Input[bool]):
358
+ pulumi.set(self, "started", value)
359
+
360
+ @property
361
+ @pulumi.getter(name="abortDetachedQuery")
362
+ def abort_detached_query(self) -> Optional[pulumi.Input[bool]]:
363
+ """
364
+ Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
365
+ """
366
+ return pulumi.get(self, "abort_detached_query")
367
+
368
+ @abort_detached_query.setter
369
+ def abort_detached_query(self, value: Optional[pulumi.Input[bool]]):
370
+ pulumi.set(self, "abort_detached_query", value)
371
+
118
372
  @property
119
373
  @pulumi.getter
120
374
  def afters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
121
375
  """
122
- Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
376
+ Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
123
377
  """
124
378
  return pulumi.get(self, "afters")
125
379
 
@@ -129,16 +383,148 @@ class TaskArgs:
129
383
 
130
384
  @property
131
385
  @pulumi.getter(name="allowOverlappingExecution")
132
- def allow_overlapping_execution(self) -> Optional[pulumi.Input[bool]]:
386
+ def allow_overlapping_execution(self) -> Optional[pulumi.Input[str]]:
133
387
  """
134
- By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
388
+ By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
135
389
  """
136
390
  return pulumi.get(self, "allow_overlapping_execution")
137
391
 
138
392
  @allow_overlapping_execution.setter
139
- def allow_overlapping_execution(self, value: Optional[pulumi.Input[bool]]):
393
+ def allow_overlapping_execution(self, value: Optional[pulumi.Input[str]]):
140
394
  pulumi.set(self, "allow_overlapping_execution", value)
141
395
 
396
+ @property
397
+ @pulumi.getter
398
+ def autocommit(self) -> Optional[pulumi.Input[bool]]:
399
+ """
400
+ Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
401
+ """
402
+ return pulumi.get(self, "autocommit")
403
+
404
+ @autocommit.setter
405
+ def autocommit(self, value: Optional[pulumi.Input[bool]]):
406
+ pulumi.set(self, "autocommit", value)
407
+
408
+ @property
409
+ @pulumi.getter(name="binaryInputFormat")
410
+ def binary_input_format(self) -> Optional[pulumi.Input[str]]:
411
+ """
412
+ The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
413
+ """
414
+ return pulumi.get(self, "binary_input_format")
415
+
416
+ @binary_input_format.setter
417
+ def binary_input_format(self, value: Optional[pulumi.Input[str]]):
418
+ pulumi.set(self, "binary_input_format", value)
419
+
420
+ @property
421
+ @pulumi.getter(name="binaryOutputFormat")
422
+ def binary_output_format(self) -> Optional[pulumi.Input[str]]:
423
+ """
424
+ The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
425
+ """
426
+ return pulumi.get(self, "binary_output_format")
427
+
428
+ @binary_output_format.setter
429
+ def binary_output_format(self, value: Optional[pulumi.Input[str]]):
430
+ pulumi.set(self, "binary_output_format", value)
431
+
432
+ @property
433
+ @pulumi.getter(name="clientMemoryLimit")
434
+ def client_memory_limit(self) -> Optional[pulumi.Input[int]]:
435
+ """
436
+ Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
437
+ """
438
+ return pulumi.get(self, "client_memory_limit")
439
+
440
+ @client_memory_limit.setter
441
+ def client_memory_limit(self, value: Optional[pulumi.Input[int]]):
442
+ pulumi.set(self, "client_memory_limit", value)
443
+
444
+ @property
445
+ @pulumi.getter(name="clientMetadataRequestUseConnectionCtx")
446
+ def client_metadata_request_use_connection_ctx(self) -> Optional[pulumi.Input[bool]]:
447
+ """
448
+ For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
449
+ """
450
+ return pulumi.get(self, "client_metadata_request_use_connection_ctx")
451
+
452
+ @client_metadata_request_use_connection_ctx.setter
453
+ def client_metadata_request_use_connection_ctx(self, value: Optional[pulumi.Input[bool]]):
454
+ pulumi.set(self, "client_metadata_request_use_connection_ctx", value)
455
+
456
+ @property
457
+ @pulumi.getter(name="clientPrefetchThreads")
458
+ def client_prefetch_threads(self) -> Optional[pulumi.Input[int]]:
459
+ """
460
+ Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
461
+ """
462
+ return pulumi.get(self, "client_prefetch_threads")
463
+
464
+ @client_prefetch_threads.setter
465
+ def client_prefetch_threads(self, value: Optional[pulumi.Input[int]]):
466
+ pulumi.set(self, "client_prefetch_threads", value)
467
+
468
+ @property
469
+ @pulumi.getter(name="clientResultChunkSize")
470
+ def client_result_chunk_size(self) -> Optional[pulumi.Input[int]]:
471
+ """
472
+ Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
473
+ """
474
+ return pulumi.get(self, "client_result_chunk_size")
475
+
476
+ @client_result_chunk_size.setter
477
+ def client_result_chunk_size(self, value: Optional[pulumi.Input[int]]):
478
+ pulumi.set(self, "client_result_chunk_size", value)
479
+
480
+ @property
481
+ @pulumi.getter(name="clientResultColumnCaseInsensitive")
482
+ def client_result_column_case_insensitive(self) -> Optional[pulumi.Input[bool]]:
483
+ """
484
+ Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
485
+ """
486
+ return pulumi.get(self, "client_result_column_case_insensitive")
487
+
488
+ @client_result_column_case_insensitive.setter
489
+ def client_result_column_case_insensitive(self, value: Optional[pulumi.Input[bool]]):
490
+ pulumi.set(self, "client_result_column_case_insensitive", value)
491
+
492
+ @property
493
+ @pulumi.getter(name="clientSessionKeepAlive")
494
+ def client_session_keep_alive(self) -> Optional[pulumi.Input[bool]]:
495
+ """
496
+ Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
497
+ """
498
+ return pulumi.get(self, "client_session_keep_alive")
499
+
500
+ @client_session_keep_alive.setter
501
+ def client_session_keep_alive(self, value: Optional[pulumi.Input[bool]]):
502
+ pulumi.set(self, "client_session_keep_alive", value)
503
+
504
+ @property
505
+ @pulumi.getter(name="clientSessionKeepAliveHeartbeatFrequency")
506
+ def client_session_keep_alive_heartbeat_frequency(self) -> Optional[pulumi.Input[int]]:
507
+ """
508
+ Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
509
+ """
510
+ return pulumi.get(self, "client_session_keep_alive_heartbeat_frequency")
511
+
512
+ @client_session_keep_alive_heartbeat_frequency.setter
513
+ def client_session_keep_alive_heartbeat_frequency(self, value: Optional[pulumi.Input[int]]):
514
+ pulumi.set(self, "client_session_keep_alive_heartbeat_frequency", value)
515
+
516
+ @property
517
+ @pulumi.getter(name="clientTimestampTypeMapping")
518
+ def client_timestamp_type_mapping(self) -> Optional[pulumi.Input[str]]:
519
+ """
520
+ Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
521
+ """
522
+ return pulumi.get(self, "client_timestamp_type_mapping")
523
+
524
+ @client_timestamp_type_mapping.setter
525
+ def client_timestamp_type_mapping(self, value: Optional[pulumi.Input[str]]):
526
+ pulumi.set(self, "client_timestamp_type_mapping", value)
527
+
142
528
  @property
143
529
  @pulumi.getter
144
530
  def comment(self) -> Optional[pulumi.Input[str]]:
@@ -153,21 +539,57 @@ class TaskArgs:
153
539
 
154
540
  @property
155
541
  @pulumi.getter
156
- def enabled(self) -> Optional[pulumi.Input[bool]]:
542
+ def config(self) -> Optional[pulumi.Input[str]]:
543
+ """
544
+ Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
545
+ """
546
+ return pulumi.get(self, "config")
547
+
548
+ @config.setter
549
+ def config(self, value: Optional[pulumi.Input[str]]):
550
+ pulumi.set(self, "config", value)
551
+
552
+ @property
553
+ @pulumi.getter(name="dateInputFormat")
554
+ def date_input_format(self) -> Optional[pulumi.Input[str]]:
555
+ """
556
+ Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
557
+ """
558
+ return pulumi.get(self, "date_input_format")
559
+
560
+ @date_input_format.setter
561
+ def date_input_format(self, value: Optional[pulumi.Input[str]]):
562
+ pulumi.set(self, "date_input_format", value)
563
+
564
+ @property
565
+ @pulumi.getter(name="dateOutputFormat")
566
+ def date_output_format(self) -> Optional[pulumi.Input[str]]:
567
+ """
568
+ Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
569
+ """
570
+ return pulumi.get(self, "date_output_format")
571
+
572
+ @date_output_format.setter
573
+ def date_output_format(self, value: Optional[pulumi.Input[str]]):
574
+ pulumi.set(self, "date_output_format", value)
575
+
576
+ @property
577
+ @pulumi.getter(name="enableUnloadPhysicalTypeOptimization")
578
+ def enable_unload_physical_type_optimization(self) -> Optional[pulumi.Input[bool]]:
157
579
  """
158
- Specifies if the task should be started (enabled) after creation or should remain suspended (default).
580
+ Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
159
581
  """
160
- return pulumi.get(self, "enabled")
582
+ return pulumi.get(self, "enable_unload_physical_type_optimization")
161
583
 
162
- @enabled.setter
163
- def enabled(self, value: Optional[pulumi.Input[bool]]):
164
- pulumi.set(self, "enabled", value)
584
+ @enable_unload_physical_type_optimization.setter
585
+ def enable_unload_physical_type_optimization(self, value: Optional[pulumi.Input[bool]]):
586
+ pulumi.set(self, "enable_unload_physical_type_optimization", value)
165
587
 
166
588
  @property
167
589
  @pulumi.getter(name="errorIntegration")
168
590
  def error_integration(self) -> Optional[pulumi.Input[str]]:
169
591
  """
170
- Specifies the name of the notification integration used for error notifications.
592
+ Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
171
593
  """
172
594
  return pulumi.get(self, "error_integration")
173
595
 
@@ -176,310 +598,286 @@ class TaskArgs:
176
598
  pulumi.set(self, "error_integration", value)
177
599
 
178
600
  @property
179
- @pulumi.getter
180
- def name(self) -> Optional[pulumi.Input[str]]:
601
+ @pulumi.getter(name="errorOnNondeterministicMerge")
602
+ def error_on_nondeterministic_merge(self) -> Optional[pulumi.Input[bool]]:
181
603
  """
182
- Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
604
+ Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
183
605
  """
184
- return pulumi.get(self, "name")
606
+ return pulumi.get(self, "error_on_nondeterministic_merge")
185
607
 
186
- @name.setter
187
- def name(self, value: Optional[pulumi.Input[str]]):
188
- pulumi.set(self, "name", value)
608
+ @error_on_nondeterministic_merge.setter
609
+ def error_on_nondeterministic_merge(self, value: Optional[pulumi.Input[bool]]):
610
+ pulumi.set(self, "error_on_nondeterministic_merge", value)
611
+
612
+ @property
613
+ @pulumi.getter(name="errorOnNondeterministicUpdate")
614
+ def error_on_nondeterministic_update(self) -> Optional[pulumi.Input[bool]]:
615
+ """
616
+ Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
617
+ """
618
+ return pulumi.get(self, "error_on_nondeterministic_update")
619
+
620
+ @error_on_nondeterministic_update.setter
621
+ def error_on_nondeterministic_update(self, value: Optional[pulumi.Input[bool]]):
622
+ pulumi.set(self, "error_on_nondeterministic_update", value)
189
623
 
190
624
  @property
191
625
  @pulumi.getter
192
- def schedule(self) -> Optional[pulumi.Input[str]]:
626
+ def finalize(self) -> Optional[pulumi.Input[str]]:
193
627
  """
194
- The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
628
+ Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
195
629
  """
196
- return pulumi.get(self, "schedule")
630
+ return pulumi.get(self, "finalize")
197
631
 
198
- @schedule.setter
199
- def schedule(self, value: Optional[pulumi.Input[str]]):
200
- pulumi.set(self, "schedule", value)
632
+ @finalize.setter
633
+ def finalize(self, value: Optional[pulumi.Input[str]]):
634
+ pulumi.set(self, "finalize", value)
201
635
 
202
636
  @property
203
- @pulumi.getter(name="sessionParameters")
204
- def session_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
637
+ @pulumi.getter(name="geographyOutputFormat")
638
+ def geography_output_format(self) -> Optional[pulumi.Input[str]]:
205
639
  """
206
- Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
640
+ Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
207
641
  """
208
- return pulumi.get(self, "session_parameters")
642
+ return pulumi.get(self, "geography_output_format")
209
643
 
210
- @session_parameters.setter
211
- def session_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
212
- pulumi.set(self, "session_parameters", value)
644
+ @geography_output_format.setter
645
+ def geography_output_format(self, value: Optional[pulumi.Input[str]]):
646
+ pulumi.set(self, "geography_output_format", value)
213
647
 
214
648
  @property
215
- @pulumi.getter(name="suspendTaskAfterNumFailures")
216
- def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
649
+ @pulumi.getter(name="geometryOutputFormat")
650
+ def geometry_output_format(self) -> Optional[pulumi.Input[str]]:
217
651
  """
218
- Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
652
+ Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
219
653
  """
220
- return pulumi.get(self, "suspend_task_after_num_failures")
654
+ return pulumi.get(self, "geometry_output_format")
221
655
 
222
- @suspend_task_after_num_failures.setter
223
- def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
224
- pulumi.set(self, "suspend_task_after_num_failures", value)
656
+ @geometry_output_format.setter
657
+ def geometry_output_format(self, value: Optional[pulumi.Input[str]]):
658
+ pulumi.set(self, "geometry_output_format", value)
225
659
 
226
660
  @property
227
- @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
228
- def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
661
+ @pulumi.getter(name="jdbcTreatTimestampNtzAsUtc")
662
+ def jdbc_treat_timestamp_ntz_as_utc(self) -> Optional[pulumi.Input[bool]]:
229
663
  """
230
- Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
664
+ Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
231
665
  """
232
- return pulumi.get(self, "user_task_managed_initial_warehouse_size")
666
+ return pulumi.get(self, "jdbc_treat_timestamp_ntz_as_utc")
233
667
 
234
- @user_task_managed_initial_warehouse_size.setter
235
- def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
236
- pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
668
+ @jdbc_treat_timestamp_ntz_as_utc.setter
669
+ def jdbc_treat_timestamp_ntz_as_utc(self, value: Optional[pulumi.Input[bool]]):
670
+ pulumi.set(self, "jdbc_treat_timestamp_ntz_as_utc", value)
237
671
 
238
672
  @property
239
- @pulumi.getter(name="userTaskTimeoutMs")
240
- def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
673
+ @pulumi.getter(name="jdbcUseSessionTimezone")
674
+ def jdbc_use_session_timezone(self) -> Optional[pulumi.Input[bool]]:
241
675
  """
242
- Specifies the time limit on a single run of the task before it times out (in milliseconds).
676
+ Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
243
677
  """
244
- return pulumi.get(self, "user_task_timeout_ms")
678
+ return pulumi.get(self, "jdbc_use_session_timezone")
245
679
 
246
- @user_task_timeout_ms.setter
247
- def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
248
- pulumi.set(self, "user_task_timeout_ms", value)
680
+ @jdbc_use_session_timezone.setter
681
+ def jdbc_use_session_timezone(self, value: Optional[pulumi.Input[bool]]):
682
+ pulumi.set(self, "jdbc_use_session_timezone", value)
249
683
 
250
684
  @property
251
- @pulumi.getter
252
- def warehouse(self) -> Optional[pulumi.Input[str]]:
685
+ @pulumi.getter(name="jsonIndent")
686
+ def json_indent(self) -> Optional[pulumi.Input[int]]:
253
687
  """
254
- The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
688
+ Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
255
689
  """
256
- return pulumi.get(self, "warehouse")
690
+ return pulumi.get(self, "json_indent")
257
691
 
258
- @warehouse.setter
259
- def warehouse(self, value: Optional[pulumi.Input[str]]):
260
- pulumi.set(self, "warehouse", value)
692
+ @json_indent.setter
693
+ def json_indent(self, value: Optional[pulumi.Input[int]]):
694
+ pulumi.set(self, "json_indent", value)
261
695
 
262
696
  @property
263
- @pulumi.getter
264
- def when(self) -> Optional[pulumi.Input[str]]:
697
+ @pulumi.getter(name="lockTimeout")
698
+ def lock_timeout(self) -> Optional[pulumi.Input[int]]:
265
699
  """
266
- Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
700
+ Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
267
701
  """
268
- return pulumi.get(self, "when")
702
+ return pulumi.get(self, "lock_timeout")
269
703
 
270
- @when.setter
271
- def when(self, value: Optional[pulumi.Input[str]]):
272
- pulumi.set(self, "when", value)
704
+ @lock_timeout.setter
705
+ def lock_timeout(self, value: Optional[pulumi.Input[int]]):
706
+ pulumi.set(self, "lock_timeout", value)
707
+
708
+ @property
709
+ @pulumi.getter(name="logLevel")
710
+ def log_level(self) -> Optional[pulumi.Input[str]]:
711
+ """
712
+ Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
713
+ """
714
+ return pulumi.get(self, "log_level")
273
715
 
716
+ @log_level.setter
717
+ def log_level(self, value: Optional[pulumi.Input[str]]):
718
+ pulumi.set(self, "log_level", value)
274
719
 
275
- @pulumi.input_type
276
- class _TaskState:
277
- def __init__(__self__, *,
278
- afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
279
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
280
- comment: Optional[pulumi.Input[str]] = None,
281
- database: Optional[pulumi.Input[str]] = None,
282
- enabled: Optional[pulumi.Input[bool]] = None,
283
- error_integration: Optional[pulumi.Input[str]] = None,
284
- name: Optional[pulumi.Input[str]] = None,
285
- schedule: Optional[pulumi.Input[str]] = None,
286
- schema: Optional[pulumi.Input[str]] = None,
287
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
288
- sql_statement: Optional[pulumi.Input[str]] = None,
289
- suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
290
- user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
291
- user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
292
- warehouse: Optional[pulumi.Input[str]] = None,
293
- when: Optional[pulumi.Input[str]] = None):
720
+ @property
721
+ @pulumi.getter(name="multiStatementCount")
722
+ def multi_statement_count(self) -> Optional[pulumi.Input[int]]:
294
723
  """
295
- Input properties used for looking up and filtering Task resources.
296
- :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
297
- :param pulumi.Input[bool] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
298
- :param pulumi.Input[str] comment: Specifies a comment for the task.
299
- :param pulumi.Input[str] database: The database in which to create the task.
300
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
301
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
302
- :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
303
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
304
- :param pulumi.Input[str] schema: The schema in which to create the task.
305
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] session_parameters: Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
306
- :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
307
- :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
308
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
309
- :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds).
310
- :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
311
- :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
724
+ Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
312
725
  """
313
- if afters is not None:
314
- pulumi.set(__self__, "afters", afters)
315
- if allow_overlapping_execution is not None:
316
- pulumi.set(__self__, "allow_overlapping_execution", allow_overlapping_execution)
317
- if comment is not None:
318
- pulumi.set(__self__, "comment", comment)
319
- if database is not None:
320
- pulumi.set(__self__, "database", database)
321
- if enabled is not None:
322
- pulumi.set(__self__, "enabled", enabled)
323
- if error_integration is not None:
324
- pulumi.set(__self__, "error_integration", error_integration)
325
- if name is not None:
326
- pulumi.set(__self__, "name", name)
327
- if schedule is not None:
328
- pulumi.set(__self__, "schedule", schedule)
329
- if schema is not None:
330
- pulumi.set(__self__, "schema", schema)
331
- if session_parameters is not None:
332
- pulumi.set(__self__, "session_parameters", session_parameters)
333
- if sql_statement is not None:
334
- pulumi.set(__self__, "sql_statement", sql_statement)
335
- if suspend_task_after_num_failures is not None:
336
- pulumi.set(__self__, "suspend_task_after_num_failures", suspend_task_after_num_failures)
337
- if user_task_managed_initial_warehouse_size is not None:
338
- pulumi.set(__self__, "user_task_managed_initial_warehouse_size", user_task_managed_initial_warehouse_size)
339
- if user_task_timeout_ms is not None:
340
- pulumi.set(__self__, "user_task_timeout_ms", user_task_timeout_ms)
341
- if warehouse is not None:
342
- pulumi.set(__self__, "warehouse", warehouse)
343
- if when is not None:
344
- pulumi.set(__self__, "when", when)
726
+ return pulumi.get(self, "multi_statement_count")
727
+
728
+ @multi_statement_count.setter
729
+ def multi_statement_count(self, value: Optional[pulumi.Input[int]]):
730
+ pulumi.set(self, "multi_statement_count", value)
345
731
 
346
732
  @property
347
733
  @pulumi.getter
348
- def afters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
734
+ def name(self) -> Optional[pulumi.Input[str]]:
349
735
  """
350
- Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
736
+ Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
351
737
  """
352
- return pulumi.get(self, "afters")
738
+ return pulumi.get(self, "name")
353
739
 
354
- @afters.setter
355
- def afters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
356
- pulumi.set(self, "afters", value)
740
+ @name.setter
741
+ def name(self, value: Optional[pulumi.Input[str]]):
742
+ pulumi.set(self, "name", value)
357
743
 
358
744
  @property
359
- @pulumi.getter(name="allowOverlappingExecution")
360
- def allow_overlapping_execution(self) -> Optional[pulumi.Input[bool]]:
745
+ @pulumi.getter(name="noorderSequenceAsDefault")
746
+ def noorder_sequence_as_default(self) -> Optional[pulumi.Input[bool]]:
361
747
  """
362
- By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
748
+ Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
363
749
  """
364
- return pulumi.get(self, "allow_overlapping_execution")
750
+ return pulumi.get(self, "noorder_sequence_as_default")
365
751
 
366
- @allow_overlapping_execution.setter
367
- def allow_overlapping_execution(self, value: Optional[pulumi.Input[bool]]):
368
- pulumi.set(self, "allow_overlapping_execution", value)
752
+ @noorder_sequence_as_default.setter
753
+ def noorder_sequence_as_default(self, value: Optional[pulumi.Input[bool]]):
754
+ pulumi.set(self, "noorder_sequence_as_default", value)
369
755
 
370
756
  @property
371
- @pulumi.getter
372
- def comment(self) -> Optional[pulumi.Input[str]]:
757
+ @pulumi.getter(name="odbcTreatDecimalAsInt")
758
+ def odbc_treat_decimal_as_int(self) -> Optional[pulumi.Input[bool]]:
373
759
  """
374
- Specifies a comment for the task.
760
+ Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
375
761
  """
376
- return pulumi.get(self, "comment")
762
+ return pulumi.get(self, "odbc_treat_decimal_as_int")
377
763
 
378
- @comment.setter
379
- def comment(self, value: Optional[pulumi.Input[str]]):
380
- pulumi.set(self, "comment", value)
764
+ @odbc_treat_decimal_as_int.setter
765
+ def odbc_treat_decimal_as_int(self, value: Optional[pulumi.Input[bool]]):
766
+ pulumi.set(self, "odbc_treat_decimal_as_int", value)
381
767
 
382
768
  @property
383
- @pulumi.getter
384
- def database(self) -> Optional[pulumi.Input[str]]:
769
+ @pulumi.getter(name="queryTag")
770
+ def query_tag(self) -> Optional[pulumi.Input[str]]:
385
771
  """
386
- The database in which to create the task.
772
+ Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
387
773
  """
388
- return pulumi.get(self, "database")
774
+ return pulumi.get(self, "query_tag")
389
775
 
390
- @database.setter
391
- def database(self, value: Optional[pulumi.Input[str]]):
392
- pulumi.set(self, "database", value)
776
+ @query_tag.setter
777
+ def query_tag(self, value: Optional[pulumi.Input[str]]):
778
+ pulumi.set(self, "query_tag", value)
393
779
 
394
780
  @property
395
- @pulumi.getter
396
- def enabled(self) -> Optional[pulumi.Input[bool]]:
781
+ @pulumi.getter(name="quotedIdentifiersIgnoreCase")
782
+ def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
397
783
  """
398
- Specifies if the task should be started (enabled) after creation or should remain suspended (default).
784
+ Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
399
785
  """
400
- return pulumi.get(self, "enabled")
786
+ return pulumi.get(self, "quoted_identifiers_ignore_case")
401
787
 
402
- @enabled.setter
403
- def enabled(self, value: Optional[pulumi.Input[bool]]):
404
- pulumi.set(self, "enabled", value)
788
+ @quoted_identifiers_ignore_case.setter
789
+ def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[bool]]):
790
+ pulumi.set(self, "quoted_identifiers_ignore_case", value)
405
791
 
406
792
  @property
407
- @pulumi.getter(name="errorIntegration")
408
- def error_integration(self) -> Optional[pulumi.Input[str]]:
793
+ @pulumi.getter(name="rowsPerResultset")
794
+ def rows_per_resultset(self) -> Optional[pulumi.Input[int]]:
409
795
  """
410
- Specifies the name of the notification integration used for error notifications.
796
+ Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
411
797
  """
412
- return pulumi.get(self, "error_integration")
798
+ return pulumi.get(self, "rows_per_resultset")
413
799
 
414
- @error_integration.setter
415
- def error_integration(self, value: Optional[pulumi.Input[str]]):
416
- pulumi.set(self, "error_integration", value)
800
+ @rows_per_resultset.setter
801
+ def rows_per_resultset(self, value: Optional[pulumi.Input[int]]):
802
+ pulumi.set(self, "rows_per_resultset", value)
417
803
 
418
804
  @property
419
- @pulumi.getter
420
- def name(self) -> Optional[pulumi.Input[str]]:
805
+ @pulumi.getter(name="s3StageVpceDnsName")
806
+ def s3_stage_vpce_dns_name(self) -> Optional[pulumi.Input[str]]:
421
807
  """
422
- Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
808
+ Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
423
809
  """
424
- return pulumi.get(self, "name")
810
+ return pulumi.get(self, "s3_stage_vpce_dns_name")
425
811
 
426
- @name.setter
427
- def name(self, value: Optional[pulumi.Input[str]]):
428
- pulumi.set(self, "name", value)
812
+ @s3_stage_vpce_dns_name.setter
813
+ def s3_stage_vpce_dns_name(self, value: Optional[pulumi.Input[str]]):
814
+ pulumi.set(self, "s3_stage_vpce_dns_name", value)
429
815
 
430
816
  @property
431
817
  @pulumi.getter
432
- def schedule(self) -> Optional[pulumi.Input[str]]:
818
+ def schedule(self) -> Optional[pulumi.Input['TaskScheduleArgs']]:
433
819
  """
434
- The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
820
+ The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
435
821
  """
436
822
  return pulumi.get(self, "schedule")
437
823
 
438
824
  @schedule.setter
439
- def schedule(self, value: Optional[pulumi.Input[str]]):
825
+ def schedule(self, value: Optional[pulumi.Input['TaskScheduleArgs']]):
440
826
  pulumi.set(self, "schedule", value)
441
827
 
442
828
  @property
443
- @pulumi.getter
444
- def schema(self) -> Optional[pulumi.Input[str]]:
829
+ @pulumi.getter(name="searchPath")
830
+ def search_path(self) -> Optional[pulumi.Input[str]]:
445
831
  """
446
- The schema in which to create the task.
832
+ Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
447
833
  """
448
- return pulumi.get(self, "schema")
834
+ return pulumi.get(self, "search_path")
449
835
 
450
- @schema.setter
451
- def schema(self, value: Optional[pulumi.Input[str]]):
452
- pulumi.set(self, "schema", value)
836
+ @search_path.setter
837
+ def search_path(self, value: Optional[pulumi.Input[str]]):
838
+ pulumi.set(self, "search_path", value)
453
839
 
454
840
  @property
455
- @pulumi.getter(name="sessionParameters")
456
- def session_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
841
+ @pulumi.getter(name="statementQueuedTimeoutInSeconds")
842
+ def statement_queued_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
457
843
  """
458
- Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
844
+ Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
459
845
  """
460
- return pulumi.get(self, "session_parameters")
846
+ return pulumi.get(self, "statement_queued_timeout_in_seconds")
461
847
 
462
- @session_parameters.setter
463
- def session_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
464
- pulumi.set(self, "session_parameters", value)
848
+ @statement_queued_timeout_in_seconds.setter
849
+ def statement_queued_timeout_in_seconds(self, value: Optional[pulumi.Input[int]]):
850
+ pulumi.set(self, "statement_queued_timeout_in_seconds", value)
465
851
 
466
852
  @property
467
- @pulumi.getter(name="sqlStatement")
468
- def sql_statement(self) -> Optional[pulumi.Input[str]]:
853
+ @pulumi.getter(name="statementTimeoutInSeconds")
854
+ def statement_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
469
855
  """
470
- Any single SQL statement, or a call to a stored procedure, executed when the task runs.
856
+ Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
471
857
  """
472
- return pulumi.get(self, "sql_statement")
858
+ return pulumi.get(self, "statement_timeout_in_seconds")
473
859
 
474
- @sql_statement.setter
475
- def sql_statement(self, value: Optional[pulumi.Input[str]]):
476
- pulumi.set(self, "sql_statement", value)
860
+ @statement_timeout_in_seconds.setter
861
+ def statement_timeout_in_seconds(self, value: Optional[pulumi.Input[int]]):
862
+ pulumi.set(self, "statement_timeout_in_seconds", value)
863
+
864
+ @property
865
+ @pulumi.getter(name="strictJsonOutput")
866
+ def strict_json_output(self) -> Optional[pulumi.Input[bool]]:
867
+ """
868
+ This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
869
+ """
870
+ return pulumi.get(self, "strict_json_output")
871
+
872
+ @strict_json_output.setter
873
+ def strict_json_output(self, value: Optional[pulumi.Input[bool]]):
874
+ pulumi.set(self, "strict_json_output", value)
477
875
 
478
876
  @property
479
877
  @pulumi.getter(name="suspendTaskAfterNumFailures")
480
878
  def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
481
879
  """
482
- Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
880
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
483
881
  """
484
882
  return pulumi.get(self, "suspend_task_after_num_failures")
485
883
 
@@ -488,46 +886,1494 @@ class _TaskState:
488
886
  pulumi.set(self, "suspend_task_after_num_failures", value)
489
887
 
490
888
  @property
491
- @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
492
- def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
889
+ @pulumi.getter(name="taskAutoRetryAttempts")
890
+ def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
493
891
  """
494
- Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
892
+ Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
495
893
  """
496
- return pulumi.get(self, "user_task_managed_initial_warehouse_size")
894
+ return pulumi.get(self, "task_auto_retry_attempts")
497
895
 
498
- @user_task_managed_initial_warehouse_size.setter
499
- def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
500
- pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
896
+ @task_auto_retry_attempts.setter
897
+ def task_auto_retry_attempts(self, value: Optional[pulumi.Input[int]]):
898
+ pulumi.set(self, "task_auto_retry_attempts", value)
501
899
 
502
900
  @property
503
- @pulumi.getter(name="userTaskTimeoutMs")
504
- def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
901
+ @pulumi.getter(name="timeInputFormat")
902
+ def time_input_format(self) -> Optional[pulumi.Input[str]]:
505
903
  """
506
- Specifies the time limit on a single run of the task before it times out (in milliseconds).
904
+ Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
507
905
  """
508
- return pulumi.get(self, "user_task_timeout_ms")
906
+ return pulumi.get(self, "time_input_format")
509
907
 
510
- @user_task_timeout_ms.setter
511
- def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
512
- pulumi.set(self, "user_task_timeout_ms", value)
908
+ @time_input_format.setter
909
+ def time_input_format(self, value: Optional[pulumi.Input[str]]):
910
+ pulumi.set(self, "time_input_format", value)
911
+
912
+ @property
913
+ @pulumi.getter(name="timeOutputFormat")
914
+ def time_output_format(self) -> Optional[pulumi.Input[str]]:
915
+ """
916
+ Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
917
+ """
918
+ return pulumi.get(self, "time_output_format")
919
+
920
+ @time_output_format.setter
921
+ def time_output_format(self, value: Optional[pulumi.Input[str]]):
922
+ pulumi.set(self, "time_output_format", value)
923
+
924
+ @property
925
+ @pulumi.getter(name="timestampDayIsAlways24h")
926
+ def timestamp_day_is_always24h(self) -> Optional[pulumi.Input[bool]]:
927
+ """
928
+ Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
929
+ """
930
+ return pulumi.get(self, "timestamp_day_is_always24h")
931
+
932
+ @timestamp_day_is_always24h.setter
933
+ def timestamp_day_is_always24h(self, value: Optional[pulumi.Input[bool]]):
934
+ pulumi.set(self, "timestamp_day_is_always24h", value)
935
+
936
+ @property
937
+ @pulumi.getter(name="timestampInputFormat")
938
+ def timestamp_input_format(self) -> Optional[pulumi.Input[str]]:
939
+ """
940
+ Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
941
+ """
942
+ return pulumi.get(self, "timestamp_input_format")
943
+
944
+ @timestamp_input_format.setter
945
+ def timestamp_input_format(self, value: Optional[pulumi.Input[str]]):
946
+ pulumi.set(self, "timestamp_input_format", value)
947
+
948
+ @property
949
+ @pulumi.getter(name="timestampLtzOutputFormat")
950
+ def timestamp_ltz_output_format(self) -> Optional[pulumi.Input[str]]:
951
+ """
952
+ Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
953
+ """
954
+ return pulumi.get(self, "timestamp_ltz_output_format")
955
+
956
+ @timestamp_ltz_output_format.setter
957
+ def timestamp_ltz_output_format(self, value: Optional[pulumi.Input[str]]):
958
+ pulumi.set(self, "timestamp_ltz_output_format", value)
959
+
960
+ @property
961
+ @pulumi.getter(name="timestampNtzOutputFormat")
962
+ def timestamp_ntz_output_format(self) -> Optional[pulumi.Input[str]]:
963
+ """
964
+ Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
965
+ """
966
+ return pulumi.get(self, "timestamp_ntz_output_format")
967
+
968
+ @timestamp_ntz_output_format.setter
969
+ def timestamp_ntz_output_format(self, value: Optional[pulumi.Input[str]]):
970
+ pulumi.set(self, "timestamp_ntz_output_format", value)
971
+
972
+ @property
973
+ @pulumi.getter(name="timestampOutputFormat")
974
+ def timestamp_output_format(self) -> Optional[pulumi.Input[str]]:
975
+ """
976
+ Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
977
+ """
978
+ return pulumi.get(self, "timestamp_output_format")
979
+
980
+ @timestamp_output_format.setter
981
+ def timestamp_output_format(self, value: Optional[pulumi.Input[str]]):
982
+ pulumi.set(self, "timestamp_output_format", value)
983
+
984
+ @property
985
+ @pulumi.getter(name="timestampTypeMapping")
986
+ def timestamp_type_mapping(self) -> Optional[pulumi.Input[str]]:
987
+ """
988
+ Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
989
+ """
990
+ return pulumi.get(self, "timestamp_type_mapping")
991
+
992
+ @timestamp_type_mapping.setter
993
+ def timestamp_type_mapping(self, value: Optional[pulumi.Input[str]]):
994
+ pulumi.set(self, "timestamp_type_mapping", value)
995
+
996
+ @property
997
+ @pulumi.getter(name="timestampTzOutputFormat")
998
+ def timestamp_tz_output_format(self) -> Optional[pulumi.Input[str]]:
999
+ """
1000
+ Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
1001
+ """
1002
+ return pulumi.get(self, "timestamp_tz_output_format")
1003
+
1004
+ @timestamp_tz_output_format.setter
1005
+ def timestamp_tz_output_format(self, value: Optional[pulumi.Input[str]]):
1006
+ pulumi.set(self, "timestamp_tz_output_format", value)
1007
+
1008
+ @property
1009
+ @pulumi.getter
1010
+ def timezone(self) -> Optional[pulumi.Input[str]]:
1011
+ """
1012
+ Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
1013
+ """
1014
+ return pulumi.get(self, "timezone")
1015
+
1016
+ @timezone.setter
1017
+ def timezone(self, value: Optional[pulumi.Input[str]]):
1018
+ pulumi.set(self, "timezone", value)
1019
+
1020
+ @property
1021
+ @pulumi.getter(name="traceLevel")
1022
+ def trace_level(self) -> Optional[pulumi.Input[str]]:
1023
+ """
1024
+ Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
1025
+ """
1026
+ return pulumi.get(self, "trace_level")
1027
+
1028
+ @trace_level.setter
1029
+ def trace_level(self, value: Optional[pulumi.Input[str]]):
1030
+ pulumi.set(self, "trace_level", value)
1031
+
1032
+ @property
1033
+ @pulumi.getter(name="transactionAbortOnError")
1034
+ def transaction_abort_on_error(self) -> Optional[pulumi.Input[bool]]:
1035
+ """
1036
+ Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
1037
+ """
1038
+ return pulumi.get(self, "transaction_abort_on_error")
1039
+
1040
+ @transaction_abort_on_error.setter
1041
+ def transaction_abort_on_error(self, value: Optional[pulumi.Input[bool]]):
1042
+ pulumi.set(self, "transaction_abort_on_error", value)
1043
+
1044
+ @property
1045
+ @pulumi.getter(name="transactionDefaultIsolationLevel")
1046
+ def transaction_default_isolation_level(self) -> Optional[pulumi.Input[str]]:
1047
+ """
1048
+ Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
1049
+ """
1050
+ return pulumi.get(self, "transaction_default_isolation_level")
1051
+
1052
+ @transaction_default_isolation_level.setter
1053
+ def transaction_default_isolation_level(self, value: Optional[pulumi.Input[str]]):
1054
+ pulumi.set(self, "transaction_default_isolation_level", value)
1055
+
1056
+ @property
1057
+ @pulumi.getter(name="twoDigitCenturyStart")
1058
+ def two_digit_century_start(self) -> Optional[pulumi.Input[int]]:
1059
+ """
1060
+ Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
1061
+ """
1062
+ return pulumi.get(self, "two_digit_century_start")
1063
+
1064
+ @two_digit_century_start.setter
1065
+ def two_digit_century_start(self, value: Optional[pulumi.Input[int]]):
1066
+ pulumi.set(self, "two_digit_century_start", value)
1067
+
1068
+ @property
1069
+ @pulumi.getter(name="unsupportedDdlAction")
1070
+ def unsupported_ddl_action(self) -> Optional[pulumi.Input[str]]:
1071
+ """
1072
+ Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
1073
+ """
1074
+ return pulumi.get(self, "unsupported_ddl_action")
1075
+
1076
+ @unsupported_ddl_action.setter
1077
+ def unsupported_ddl_action(self, value: Optional[pulumi.Input[str]]):
1078
+ pulumi.set(self, "unsupported_ddl_action", value)
1079
+
1080
+ @property
1081
+ @pulumi.getter(name="useCachedResult")
1082
+ def use_cached_result(self) -> Optional[pulumi.Input[bool]]:
1083
+ """
1084
+ Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
1085
+ """
1086
+ return pulumi.get(self, "use_cached_result")
1087
+
1088
+ @use_cached_result.setter
1089
+ def use_cached_result(self, value: Optional[pulumi.Input[bool]]):
1090
+ pulumi.set(self, "use_cached_result", value)
1091
+
1092
+ @property
1093
+ @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
1094
+ def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
1095
+ """
1096
+ Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
1097
+ """
1098
+ return pulumi.get(self, "user_task_managed_initial_warehouse_size")
1099
+
1100
+ @user_task_managed_initial_warehouse_size.setter
1101
+ def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
1102
+ pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
1103
+
1104
+ @property
1105
+ @pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
1106
+ def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[int]]:
1107
+ """
1108
+ Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
1109
+ """
1110
+ return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
1111
+
1112
+ @user_task_minimum_trigger_interval_in_seconds.setter
1113
+ def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[int]]):
1114
+ pulumi.set(self, "user_task_minimum_trigger_interval_in_seconds", value)
1115
+
1116
+ @property
1117
+ @pulumi.getter(name="userTaskTimeoutMs")
1118
+ def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
1119
+ """
1120
+ Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
1121
+ """
1122
+ return pulumi.get(self, "user_task_timeout_ms")
1123
+
1124
+ @user_task_timeout_ms.setter
1125
+ def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
1126
+ pulumi.set(self, "user_task_timeout_ms", value)
1127
+
1128
+ @property
1129
+ @pulumi.getter
1130
+ def warehouse(self) -> Optional[pulumi.Input[str]]:
1131
+ """
1132
+ The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
1133
+ """
1134
+ return pulumi.get(self, "warehouse")
1135
+
1136
+ @warehouse.setter
1137
+ def warehouse(self, value: Optional[pulumi.Input[str]]):
1138
+ pulumi.set(self, "warehouse", value)
1139
+
1140
+ @property
1141
+ @pulumi.getter(name="weekOfYearPolicy")
1142
+ def week_of_year_policy(self) -> Optional[pulumi.Input[int]]:
1143
+ """
1144
+ Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
1145
+ """
1146
+ return pulumi.get(self, "week_of_year_policy")
1147
+
1148
+ @week_of_year_policy.setter
1149
+ def week_of_year_policy(self, value: Optional[pulumi.Input[int]]):
1150
+ pulumi.set(self, "week_of_year_policy", value)
1151
+
1152
+ @property
1153
+ @pulumi.getter(name="weekStart")
1154
+ def week_start(self) -> Optional[pulumi.Input[int]]:
1155
+ """
1156
+ Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
1157
+ """
1158
+ return pulumi.get(self, "week_start")
1159
+
1160
+ @week_start.setter
1161
+ def week_start(self, value: Optional[pulumi.Input[int]]):
1162
+ pulumi.set(self, "week_start", value)
1163
+
1164
+ @property
1165
+ @pulumi.getter
1166
+ def when(self) -> Optional[pulumi.Input[str]]:
1167
+ """
1168
+ Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
1169
+ """
1170
+ return pulumi.get(self, "when")
1171
+
1172
+ @when.setter
1173
+ def when(self, value: Optional[pulumi.Input[str]]):
1174
+ pulumi.set(self, "when", value)
1175
+
1176
+
1177
+ @pulumi.input_type
1178
+ class _TaskState:
1179
+ def __init__(__self__, *,
1180
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
1181
+ afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1182
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
1183
+ autocommit: Optional[pulumi.Input[bool]] = None,
1184
+ binary_input_format: Optional[pulumi.Input[str]] = None,
1185
+ binary_output_format: Optional[pulumi.Input[str]] = None,
1186
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
1187
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
1188
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
1189
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
1190
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
1191
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
1192
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
1193
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
1194
+ comment: Optional[pulumi.Input[str]] = None,
1195
+ config: Optional[pulumi.Input[str]] = None,
1196
+ database: Optional[pulumi.Input[str]] = None,
1197
+ date_input_format: Optional[pulumi.Input[str]] = None,
1198
+ date_output_format: Optional[pulumi.Input[str]] = None,
1199
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
1200
+ error_integration: Optional[pulumi.Input[str]] = None,
1201
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
1202
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
1203
+ finalize: Optional[pulumi.Input[str]] = None,
1204
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
1205
+ geography_output_format: Optional[pulumi.Input[str]] = None,
1206
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
1207
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
1208
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
1209
+ json_indent: Optional[pulumi.Input[int]] = None,
1210
+ lock_timeout: Optional[pulumi.Input[int]] = None,
1211
+ log_level: Optional[pulumi.Input[str]] = None,
1212
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
1213
+ name: Optional[pulumi.Input[str]] = None,
1214
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
1215
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
1216
+ parameters: Optional[pulumi.Input[Sequence[pulumi.Input['TaskParameterArgs']]]] = None,
1217
+ query_tag: Optional[pulumi.Input[str]] = None,
1218
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
1219
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
1220
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
1221
+ schedule: Optional[pulumi.Input['TaskScheduleArgs']] = None,
1222
+ schema: Optional[pulumi.Input[str]] = None,
1223
+ search_path: Optional[pulumi.Input[str]] = None,
1224
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['TaskShowOutputArgs']]]] = None,
1225
+ sql_statement: Optional[pulumi.Input[str]] = None,
1226
+ started: Optional[pulumi.Input[bool]] = None,
1227
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
1228
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
1229
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
1230
+ suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
1231
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
1232
+ time_input_format: Optional[pulumi.Input[str]] = None,
1233
+ time_output_format: Optional[pulumi.Input[str]] = None,
1234
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
1235
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
1236
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
1237
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
1238
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
1239
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
1240
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
1241
+ timezone: Optional[pulumi.Input[str]] = None,
1242
+ trace_level: Optional[pulumi.Input[str]] = None,
1243
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
1244
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
1245
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
1246
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
1247
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
1248
+ user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
1249
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
1250
+ user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
1251
+ warehouse: Optional[pulumi.Input[str]] = None,
1252
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
1253
+ week_start: Optional[pulumi.Input[int]] = None,
1254
+ when: Optional[pulumi.Input[str]] = None):
1255
+ """
1256
+ Input properties used for looking up and filtering Task resources.
1257
+ :param pulumi.Input[bool] abort_detached_query: Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
1258
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1259
+ :param pulumi.Input[str] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
1260
+ :param pulumi.Input[bool] autocommit: Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
1261
+ :param pulumi.Input[str] binary_input_format: The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
1262
+ :param pulumi.Input[str] binary_output_format: The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
1263
+ :param pulumi.Input[int] client_memory_limit: Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
1264
+ :param pulumi.Input[bool] client_metadata_request_use_connection_ctx: For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
1265
+ :param pulumi.Input[int] client_prefetch_threads: Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
1266
+ :param pulumi.Input[int] client_result_chunk_size: Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
1267
+ :param pulumi.Input[bool] client_result_column_case_insensitive: Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
1268
+ :param pulumi.Input[bool] client_session_keep_alive: Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
1269
+ :param pulumi.Input[int] client_session_keep_alive_heartbeat_frequency: Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
1270
+ :param pulumi.Input[str] client_timestamp_type_mapping: Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
1271
+ :param pulumi.Input[str] comment: Specifies a comment for the task.
1272
+ :param pulumi.Input[str] config: Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
1273
+ :param pulumi.Input[str] database: The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1274
+ :param pulumi.Input[str] date_input_format: Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
1275
+ :param pulumi.Input[str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
1276
+ :param pulumi.Input[bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
1277
+ :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
1278
+ :param pulumi.Input[bool] error_on_nondeterministic_merge: Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
1279
+ :param pulumi.Input[bool] error_on_nondeterministic_update: Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
1280
+ :param pulumi.Input[str] finalize: Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1281
+ :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).
1282
+ :param pulumi.Input[str] geography_output_format: Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
1283
+ :param pulumi.Input[str] geometry_output_format: Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
1284
+ :param pulumi.Input[bool] jdbc_treat_timestamp_ntz_as_utc: Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
1285
+ :param pulumi.Input[bool] jdbc_use_session_timezone: Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
1286
+ :param pulumi.Input[int] json_indent: Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
1287
+ :param pulumi.Input[int] lock_timeout: Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
1288
+ :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
1289
+ :param pulumi.Input[int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
1290
+ :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1291
+ :param pulumi.Input[bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
1292
+ :param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
1293
+ :param pulumi.Input[Sequence[pulumi.Input['TaskParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
1294
+ :param pulumi.Input[str] query_tag: Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
1295
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
1296
+ :param pulumi.Input[int] rows_per_resultset: Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
1297
+ :param pulumi.Input[str] s3_stage_vpce_dns_name: Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
1298
+ :param pulumi.Input['TaskScheduleArgs'] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
1299
+ :param pulumi.Input[str] schema: The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1300
+ :param pulumi.Input[str] search_path: Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
1301
+ :param pulumi.Input[Sequence[pulumi.Input['TaskShowOutputArgs']]] show_outputs: Outputs the result of `SHOW TASKS` for the given task.
1302
+ :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
1303
+ :param pulumi.Input[bool] started: Specifies if the task should be started or suspended.
1304
+ :param pulumi.Input[int] statement_queued_timeout_in_seconds: Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
1305
+ :param pulumi.Input[int] statement_timeout_in_seconds: Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
1306
+ :param pulumi.Input[bool] strict_json_output: This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
1307
+ :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
1308
+ :param pulumi.Input[int] task_auto_retry_attempts: Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
1309
+ :param pulumi.Input[str] time_input_format: Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
1310
+ :param pulumi.Input[str] time_output_format: Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
1311
+ :param pulumi.Input[bool] timestamp_day_is_always24h: Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
1312
+ :param pulumi.Input[str] timestamp_input_format: Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
1313
+ :param pulumi.Input[str] timestamp_ltz_output_format: Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
1314
+ :param pulumi.Input[str] timestamp_ntz_output_format: Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
1315
+ :param pulumi.Input[str] timestamp_output_format: Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
1316
+ :param pulumi.Input[str] timestamp_type_mapping: Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
1317
+ :param pulumi.Input[str] timestamp_tz_output_format: Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
1318
+ :param pulumi.Input[str] timezone: Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
1319
+ :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
1320
+ :param pulumi.Input[bool] transaction_abort_on_error: Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
1321
+ :param pulumi.Input[str] transaction_default_isolation_level: Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
1322
+ :param pulumi.Input[int] two_digit_century_start: Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
1323
+ :param pulumi.Input[str] unsupported_ddl_action: Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
1324
+ :param pulumi.Input[bool] use_cached_result: Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
1325
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
1326
+ :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
1327
+ :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
1328
+ :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
1329
+ :param pulumi.Input[int] week_of_year_policy: Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
1330
+ :param pulumi.Input[int] week_start: Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
1331
+ :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
1332
+ """
1333
+ if abort_detached_query is not None:
1334
+ pulumi.set(__self__, "abort_detached_query", abort_detached_query)
1335
+ if afters is not None:
1336
+ pulumi.set(__self__, "afters", afters)
1337
+ if allow_overlapping_execution is not None:
1338
+ pulumi.set(__self__, "allow_overlapping_execution", allow_overlapping_execution)
1339
+ if autocommit is not None:
1340
+ pulumi.set(__self__, "autocommit", autocommit)
1341
+ if binary_input_format is not None:
1342
+ pulumi.set(__self__, "binary_input_format", binary_input_format)
1343
+ if binary_output_format is not None:
1344
+ pulumi.set(__self__, "binary_output_format", binary_output_format)
1345
+ if client_memory_limit is not None:
1346
+ pulumi.set(__self__, "client_memory_limit", client_memory_limit)
1347
+ if client_metadata_request_use_connection_ctx is not None:
1348
+ pulumi.set(__self__, "client_metadata_request_use_connection_ctx", client_metadata_request_use_connection_ctx)
1349
+ if client_prefetch_threads is not None:
1350
+ pulumi.set(__self__, "client_prefetch_threads", client_prefetch_threads)
1351
+ if client_result_chunk_size is not None:
1352
+ pulumi.set(__self__, "client_result_chunk_size", client_result_chunk_size)
1353
+ if client_result_column_case_insensitive is not None:
1354
+ pulumi.set(__self__, "client_result_column_case_insensitive", client_result_column_case_insensitive)
1355
+ if client_session_keep_alive is not None:
1356
+ pulumi.set(__self__, "client_session_keep_alive", client_session_keep_alive)
1357
+ if client_session_keep_alive_heartbeat_frequency is not None:
1358
+ pulumi.set(__self__, "client_session_keep_alive_heartbeat_frequency", client_session_keep_alive_heartbeat_frequency)
1359
+ if client_timestamp_type_mapping is not None:
1360
+ pulumi.set(__self__, "client_timestamp_type_mapping", client_timestamp_type_mapping)
1361
+ if comment is not None:
1362
+ pulumi.set(__self__, "comment", comment)
1363
+ if config is not None:
1364
+ pulumi.set(__self__, "config", config)
1365
+ if database is not None:
1366
+ pulumi.set(__self__, "database", database)
1367
+ if date_input_format is not None:
1368
+ pulumi.set(__self__, "date_input_format", date_input_format)
1369
+ if date_output_format is not None:
1370
+ pulumi.set(__self__, "date_output_format", date_output_format)
1371
+ if enable_unload_physical_type_optimization is not None:
1372
+ pulumi.set(__self__, "enable_unload_physical_type_optimization", enable_unload_physical_type_optimization)
1373
+ if error_integration is not None:
1374
+ pulumi.set(__self__, "error_integration", error_integration)
1375
+ if error_on_nondeterministic_merge is not None:
1376
+ pulumi.set(__self__, "error_on_nondeterministic_merge", error_on_nondeterministic_merge)
1377
+ if error_on_nondeterministic_update is not None:
1378
+ pulumi.set(__self__, "error_on_nondeterministic_update", error_on_nondeterministic_update)
1379
+ if finalize is not None:
1380
+ pulumi.set(__self__, "finalize", finalize)
1381
+ if fully_qualified_name is not None:
1382
+ pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
1383
+ if geography_output_format is not None:
1384
+ pulumi.set(__self__, "geography_output_format", geography_output_format)
1385
+ if geometry_output_format is not None:
1386
+ pulumi.set(__self__, "geometry_output_format", geometry_output_format)
1387
+ if jdbc_treat_timestamp_ntz_as_utc is not None:
1388
+ pulumi.set(__self__, "jdbc_treat_timestamp_ntz_as_utc", jdbc_treat_timestamp_ntz_as_utc)
1389
+ if jdbc_use_session_timezone is not None:
1390
+ pulumi.set(__self__, "jdbc_use_session_timezone", jdbc_use_session_timezone)
1391
+ if json_indent is not None:
1392
+ pulumi.set(__self__, "json_indent", json_indent)
1393
+ if lock_timeout is not None:
1394
+ pulumi.set(__self__, "lock_timeout", lock_timeout)
1395
+ if log_level is not None:
1396
+ pulumi.set(__self__, "log_level", log_level)
1397
+ if multi_statement_count is not None:
1398
+ pulumi.set(__self__, "multi_statement_count", multi_statement_count)
1399
+ if name is not None:
1400
+ pulumi.set(__self__, "name", name)
1401
+ if noorder_sequence_as_default is not None:
1402
+ pulumi.set(__self__, "noorder_sequence_as_default", noorder_sequence_as_default)
1403
+ if odbc_treat_decimal_as_int is not None:
1404
+ pulumi.set(__self__, "odbc_treat_decimal_as_int", odbc_treat_decimal_as_int)
1405
+ if parameters is not None:
1406
+ pulumi.set(__self__, "parameters", parameters)
1407
+ if query_tag is not None:
1408
+ pulumi.set(__self__, "query_tag", query_tag)
1409
+ if quoted_identifiers_ignore_case is not None:
1410
+ pulumi.set(__self__, "quoted_identifiers_ignore_case", quoted_identifiers_ignore_case)
1411
+ if rows_per_resultset is not None:
1412
+ pulumi.set(__self__, "rows_per_resultset", rows_per_resultset)
1413
+ if s3_stage_vpce_dns_name is not None:
1414
+ pulumi.set(__self__, "s3_stage_vpce_dns_name", s3_stage_vpce_dns_name)
1415
+ if schedule is not None:
1416
+ pulumi.set(__self__, "schedule", schedule)
1417
+ if schema is not None:
1418
+ pulumi.set(__self__, "schema", schema)
1419
+ if search_path is not None:
1420
+ pulumi.set(__self__, "search_path", search_path)
1421
+ if show_outputs is not None:
1422
+ pulumi.set(__self__, "show_outputs", show_outputs)
1423
+ if sql_statement is not None:
1424
+ pulumi.set(__self__, "sql_statement", sql_statement)
1425
+ if started is not None:
1426
+ pulumi.set(__self__, "started", started)
1427
+ if statement_queued_timeout_in_seconds is not None:
1428
+ pulumi.set(__self__, "statement_queued_timeout_in_seconds", statement_queued_timeout_in_seconds)
1429
+ if statement_timeout_in_seconds is not None:
1430
+ pulumi.set(__self__, "statement_timeout_in_seconds", statement_timeout_in_seconds)
1431
+ if strict_json_output is not None:
1432
+ pulumi.set(__self__, "strict_json_output", strict_json_output)
1433
+ if suspend_task_after_num_failures is not None:
1434
+ pulumi.set(__self__, "suspend_task_after_num_failures", suspend_task_after_num_failures)
1435
+ if task_auto_retry_attempts is not None:
1436
+ pulumi.set(__self__, "task_auto_retry_attempts", task_auto_retry_attempts)
1437
+ if time_input_format is not None:
1438
+ pulumi.set(__self__, "time_input_format", time_input_format)
1439
+ if time_output_format is not None:
1440
+ pulumi.set(__self__, "time_output_format", time_output_format)
1441
+ if timestamp_day_is_always24h is not None:
1442
+ pulumi.set(__self__, "timestamp_day_is_always24h", timestamp_day_is_always24h)
1443
+ if timestamp_input_format is not None:
1444
+ pulumi.set(__self__, "timestamp_input_format", timestamp_input_format)
1445
+ if timestamp_ltz_output_format is not None:
1446
+ pulumi.set(__self__, "timestamp_ltz_output_format", timestamp_ltz_output_format)
1447
+ if timestamp_ntz_output_format is not None:
1448
+ pulumi.set(__self__, "timestamp_ntz_output_format", timestamp_ntz_output_format)
1449
+ if timestamp_output_format is not None:
1450
+ pulumi.set(__self__, "timestamp_output_format", timestamp_output_format)
1451
+ if timestamp_type_mapping is not None:
1452
+ pulumi.set(__self__, "timestamp_type_mapping", timestamp_type_mapping)
1453
+ if timestamp_tz_output_format is not None:
1454
+ pulumi.set(__self__, "timestamp_tz_output_format", timestamp_tz_output_format)
1455
+ if timezone is not None:
1456
+ pulumi.set(__self__, "timezone", timezone)
1457
+ if trace_level is not None:
1458
+ pulumi.set(__self__, "trace_level", trace_level)
1459
+ if transaction_abort_on_error is not None:
1460
+ pulumi.set(__self__, "transaction_abort_on_error", transaction_abort_on_error)
1461
+ if transaction_default_isolation_level is not None:
1462
+ pulumi.set(__self__, "transaction_default_isolation_level", transaction_default_isolation_level)
1463
+ if two_digit_century_start is not None:
1464
+ pulumi.set(__self__, "two_digit_century_start", two_digit_century_start)
1465
+ if unsupported_ddl_action is not None:
1466
+ pulumi.set(__self__, "unsupported_ddl_action", unsupported_ddl_action)
1467
+ if use_cached_result is not None:
1468
+ pulumi.set(__self__, "use_cached_result", use_cached_result)
1469
+ if user_task_managed_initial_warehouse_size is not None:
1470
+ pulumi.set(__self__, "user_task_managed_initial_warehouse_size", user_task_managed_initial_warehouse_size)
1471
+ if user_task_minimum_trigger_interval_in_seconds is not None:
1472
+ pulumi.set(__self__, "user_task_minimum_trigger_interval_in_seconds", user_task_minimum_trigger_interval_in_seconds)
1473
+ if user_task_timeout_ms is not None:
1474
+ pulumi.set(__self__, "user_task_timeout_ms", user_task_timeout_ms)
1475
+ if warehouse is not None:
1476
+ pulumi.set(__self__, "warehouse", warehouse)
1477
+ if week_of_year_policy is not None:
1478
+ pulumi.set(__self__, "week_of_year_policy", week_of_year_policy)
1479
+ if week_start is not None:
1480
+ pulumi.set(__self__, "week_start", week_start)
1481
+ if when is not None:
1482
+ pulumi.set(__self__, "when", when)
1483
+
1484
+ @property
1485
+ @pulumi.getter(name="abortDetachedQuery")
1486
+ def abort_detached_query(self) -> Optional[pulumi.Input[bool]]:
1487
+ """
1488
+ Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
1489
+ """
1490
+ return pulumi.get(self, "abort_detached_query")
1491
+
1492
+ @abort_detached_query.setter
1493
+ def abort_detached_query(self, value: Optional[pulumi.Input[bool]]):
1494
+ pulumi.set(self, "abort_detached_query", value)
1495
+
1496
+ @property
1497
+ @pulumi.getter
1498
+ def afters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1499
+ """
1500
+ Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1501
+ """
1502
+ return pulumi.get(self, "afters")
1503
+
1504
+ @afters.setter
1505
+ def afters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1506
+ pulumi.set(self, "afters", value)
1507
+
1508
+ @property
1509
+ @pulumi.getter(name="allowOverlappingExecution")
1510
+ def allow_overlapping_execution(self) -> Optional[pulumi.Input[str]]:
1511
+ """
1512
+ By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
1513
+ """
1514
+ return pulumi.get(self, "allow_overlapping_execution")
1515
+
1516
+ @allow_overlapping_execution.setter
1517
+ def allow_overlapping_execution(self, value: Optional[pulumi.Input[str]]):
1518
+ pulumi.set(self, "allow_overlapping_execution", value)
1519
+
1520
+ @property
1521
+ @pulumi.getter
1522
+ def autocommit(self) -> Optional[pulumi.Input[bool]]:
1523
+ """
1524
+ Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
1525
+ """
1526
+ return pulumi.get(self, "autocommit")
1527
+
1528
+ @autocommit.setter
1529
+ def autocommit(self, value: Optional[pulumi.Input[bool]]):
1530
+ pulumi.set(self, "autocommit", value)
1531
+
1532
+ @property
1533
+ @pulumi.getter(name="binaryInputFormat")
1534
+ def binary_input_format(self) -> Optional[pulumi.Input[str]]:
1535
+ """
1536
+ The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
1537
+ """
1538
+ return pulumi.get(self, "binary_input_format")
1539
+
1540
+ @binary_input_format.setter
1541
+ def binary_input_format(self, value: Optional[pulumi.Input[str]]):
1542
+ pulumi.set(self, "binary_input_format", value)
1543
+
1544
+ @property
1545
+ @pulumi.getter(name="binaryOutputFormat")
1546
+ def binary_output_format(self) -> Optional[pulumi.Input[str]]:
1547
+ """
1548
+ The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
1549
+ """
1550
+ return pulumi.get(self, "binary_output_format")
1551
+
1552
+ @binary_output_format.setter
1553
+ def binary_output_format(self, value: Optional[pulumi.Input[str]]):
1554
+ pulumi.set(self, "binary_output_format", value)
1555
+
1556
+ @property
1557
+ @pulumi.getter(name="clientMemoryLimit")
1558
+ def client_memory_limit(self) -> Optional[pulumi.Input[int]]:
1559
+ """
1560
+ Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
1561
+ """
1562
+ return pulumi.get(self, "client_memory_limit")
1563
+
1564
+ @client_memory_limit.setter
1565
+ def client_memory_limit(self, value: Optional[pulumi.Input[int]]):
1566
+ pulumi.set(self, "client_memory_limit", value)
1567
+
1568
+ @property
1569
+ @pulumi.getter(name="clientMetadataRequestUseConnectionCtx")
1570
+ def client_metadata_request_use_connection_ctx(self) -> Optional[pulumi.Input[bool]]:
1571
+ """
1572
+ For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
1573
+ """
1574
+ return pulumi.get(self, "client_metadata_request_use_connection_ctx")
1575
+
1576
+ @client_metadata_request_use_connection_ctx.setter
1577
+ def client_metadata_request_use_connection_ctx(self, value: Optional[pulumi.Input[bool]]):
1578
+ pulumi.set(self, "client_metadata_request_use_connection_ctx", value)
1579
+
1580
+ @property
1581
+ @pulumi.getter(name="clientPrefetchThreads")
1582
+ def client_prefetch_threads(self) -> Optional[pulumi.Input[int]]:
1583
+ """
1584
+ Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
1585
+ """
1586
+ return pulumi.get(self, "client_prefetch_threads")
1587
+
1588
+ @client_prefetch_threads.setter
1589
+ def client_prefetch_threads(self, value: Optional[pulumi.Input[int]]):
1590
+ pulumi.set(self, "client_prefetch_threads", value)
1591
+
1592
+ @property
1593
+ @pulumi.getter(name="clientResultChunkSize")
1594
+ def client_result_chunk_size(self) -> Optional[pulumi.Input[int]]:
1595
+ """
1596
+ Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
1597
+ """
1598
+ return pulumi.get(self, "client_result_chunk_size")
1599
+
1600
+ @client_result_chunk_size.setter
1601
+ def client_result_chunk_size(self, value: Optional[pulumi.Input[int]]):
1602
+ pulumi.set(self, "client_result_chunk_size", value)
1603
+
1604
+ @property
1605
+ @pulumi.getter(name="clientResultColumnCaseInsensitive")
1606
+ def client_result_column_case_insensitive(self) -> Optional[pulumi.Input[bool]]:
1607
+ """
1608
+ Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
1609
+ """
1610
+ return pulumi.get(self, "client_result_column_case_insensitive")
1611
+
1612
+ @client_result_column_case_insensitive.setter
1613
+ def client_result_column_case_insensitive(self, value: Optional[pulumi.Input[bool]]):
1614
+ pulumi.set(self, "client_result_column_case_insensitive", value)
1615
+
1616
+ @property
1617
+ @pulumi.getter(name="clientSessionKeepAlive")
1618
+ def client_session_keep_alive(self) -> Optional[pulumi.Input[bool]]:
1619
+ """
1620
+ Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
1621
+ """
1622
+ return pulumi.get(self, "client_session_keep_alive")
1623
+
1624
+ @client_session_keep_alive.setter
1625
+ def client_session_keep_alive(self, value: Optional[pulumi.Input[bool]]):
1626
+ pulumi.set(self, "client_session_keep_alive", value)
1627
+
1628
+ @property
1629
+ @pulumi.getter(name="clientSessionKeepAliveHeartbeatFrequency")
1630
+ def client_session_keep_alive_heartbeat_frequency(self) -> Optional[pulumi.Input[int]]:
1631
+ """
1632
+ Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
1633
+ """
1634
+ return pulumi.get(self, "client_session_keep_alive_heartbeat_frequency")
1635
+
1636
+ @client_session_keep_alive_heartbeat_frequency.setter
1637
+ def client_session_keep_alive_heartbeat_frequency(self, value: Optional[pulumi.Input[int]]):
1638
+ pulumi.set(self, "client_session_keep_alive_heartbeat_frequency", value)
1639
+
1640
+ @property
1641
+ @pulumi.getter(name="clientTimestampTypeMapping")
1642
+ def client_timestamp_type_mapping(self) -> Optional[pulumi.Input[str]]:
1643
+ """
1644
+ Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
1645
+ """
1646
+ return pulumi.get(self, "client_timestamp_type_mapping")
1647
+
1648
+ @client_timestamp_type_mapping.setter
1649
+ def client_timestamp_type_mapping(self, value: Optional[pulumi.Input[str]]):
1650
+ pulumi.set(self, "client_timestamp_type_mapping", value)
1651
+
1652
+ @property
1653
+ @pulumi.getter
1654
+ def comment(self) -> Optional[pulumi.Input[str]]:
1655
+ """
1656
+ Specifies a comment for the task.
1657
+ """
1658
+ return pulumi.get(self, "comment")
1659
+
1660
+ @comment.setter
1661
+ def comment(self, value: Optional[pulumi.Input[str]]):
1662
+ pulumi.set(self, "comment", value)
1663
+
1664
+ @property
1665
+ @pulumi.getter
1666
+ def config(self) -> Optional[pulumi.Input[str]]:
1667
+ """
1668
+ Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
1669
+ """
1670
+ return pulumi.get(self, "config")
1671
+
1672
+ @config.setter
1673
+ def config(self, value: Optional[pulumi.Input[str]]):
1674
+ pulumi.set(self, "config", value)
1675
+
1676
+ @property
1677
+ @pulumi.getter
1678
+ def database(self) -> Optional[pulumi.Input[str]]:
1679
+ """
1680
+ The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1681
+ """
1682
+ return pulumi.get(self, "database")
1683
+
1684
+ @database.setter
1685
+ def database(self, value: Optional[pulumi.Input[str]]):
1686
+ pulumi.set(self, "database", value)
1687
+
1688
+ @property
1689
+ @pulumi.getter(name="dateInputFormat")
1690
+ def date_input_format(self) -> Optional[pulumi.Input[str]]:
1691
+ """
1692
+ Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
1693
+ """
1694
+ return pulumi.get(self, "date_input_format")
1695
+
1696
+ @date_input_format.setter
1697
+ def date_input_format(self, value: Optional[pulumi.Input[str]]):
1698
+ pulumi.set(self, "date_input_format", value)
1699
+
1700
+ @property
1701
+ @pulumi.getter(name="dateOutputFormat")
1702
+ def date_output_format(self) -> Optional[pulumi.Input[str]]:
1703
+ """
1704
+ Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
1705
+ """
1706
+ return pulumi.get(self, "date_output_format")
1707
+
1708
+ @date_output_format.setter
1709
+ def date_output_format(self, value: Optional[pulumi.Input[str]]):
1710
+ pulumi.set(self, "date_output_format", value)
1711
+
1712
+ @property
1713
+ @pulumi.getter(name="enableUnloadPhysicalTypeOptimization")
1714
+ def enable_unload_physical_type_optimization(self) -> Optional[pulumi.Input[bool]]:
1715
+ """
1716
+ Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
1717
+ """
1718
+ return pulumi.get(self, "enable_unload_physical_type_optimization")
1719
+
1720
+ @enable_unload_physical_type_optimization.setter
1721
+ def enable_unload_physical_type_optimization(self, value: Optional[pulumi.Input[bool]]):
1722
+ pulumi.set(self, "enable_unload_physical_type_optimization", value)
1723
+
1724
+ @property
1725
+ @pulumi.getter(name="errorIntegration")
1726
+ def error_integration(self) -> Optional[pulumi.Input[str]]:
1727
+ """
1728
+ Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
1729
+ """
1730
+ return pulumi.get(self, "error_integration")
1731
+
1732
+ @error_integration.setter
1733
+ def error_integration(self, value: Optional[pulumi.Input[str]]):
1734
+ pulumi.set(self, "error_integration", value)
1735
+
1736
+ @property
1737
+ @pulumi.getter(name="errorOnNondeterministicMerge")
1738
+ def error_on_nondeterministic_merge(self) -> Optional[pulumi.Input[bool]]:
1739
+ """
1740
+ Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
1741
+ """
1742
+ return pulumi.get(self, "error_on_nondeterministic_merge")
1743
+
1744
+ @error_on_nondeterministic_merge.setter
1745
+ def error_on_nondeterministic_merge(self, value: Optional[pulumi.Input[bool]]):
1746
+ pulumi.set(self, "error_on_nondeterministic_merge", value)
1747
+
1748
+ @property
1749
+ @pulumi.getter(name="errorOnNondeterministicUpdate")
1750
+ def error_on_nondeterministic_update(self) -> Optional[pulumi.Input[bool]]:
1751
+ """
1752
+ Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
1753
+ """
1754
+ return pulumi.get(self, "error_on_nondeterministic_update")
1755
+
1756
+ @error_on_nondeterministic_update.setter
1757
+ def error_on_nondeterministic_update(self, value: Optional[pulumi.Input[bool]]):
1758
+ pulumi.set(self, "error_on_nondeterministic_update", value)
1759
+
1760
+ @property
1761
+ @pulumi.getter
1762
+ def finalize(self) -> Optional[pulumi.Input[str]]:
1763
+ """
1764
+ Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1765
+ """
1766
+ return pulumi.get(self, "finalize")
1767
+
1768
+ @finalize.setter
1769
+ def finalize(self, value: Optional[pulumi.Input[str]]):
1770
+ pulumi.set(self, "finalize", value)
1771
+
1772
+ @property
1773
+ @pulumi.getter(name="fullyQualifiedName")
1774
+ def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
1775
+ """
1776
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
1777
+ """
1778
+ return pulumi.get(self, "fully_qualified_name")
1779
+
1780
+ @fully_qualified_name.setter
1781
+ def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
1782
+ pulumi.set(self, "fully_qualified_name", value)
1783
+
1784
+ @property
1785
+ @pulumi.getter(name="geographyOutputFormat")
1786
+ def geography_output_format(self) -> Optional[pulumi.Input[str]]:
1787
+ """
1788
+ Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
1789
+ """
1790
+ return pulumi.get(self, "geography_output_format")
1791
+
1792
+ @geography_output_format.setter
1793
+ def geography_output_format(self, value: Optional[pulumi.Input[str]]):
1794
+ pulumi.set(self, "geography_output_format", value)
1795
+
1796
+ @property
1797
+ @pulumi.getter(name="geometryOutputFormat")
1798
+ def geometry_output_format(self) -> Optional[pulumi.Input[str]]:
1799
+ """
1800
+ Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
1801
+ """
1802
+ return pulumi.get(self, "geometry_output_format")
1803
+
1804
+ @geometry_output_format.setter
1805
+ def geometry_output_format(self, value: Optional[pulumi.Input[str]]):
1806
+ pulumi.set(self, "geometry_output_format", value)
1807
+
1808
+ @property
1809
+ @pulumi.getter(name="jdbcTreatTimestampNtzAsUtc")
1810
+ def jdbc_treat_timestamp_ntz_as_utc(self) -> Optional[pulumi.Input[bool]]:
1811
+ """
1812
+ Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
1813
+ """
1814
+ return pulumi.get(self, "jdbc_treat_timestamp_ntz_as_utc")
1815
+
1816
+ @jdbc_treat_timestamp_ntz_as_utc.setter
1817
+ def jdbc_treat_timestamp_ntz_as_utc(self, value: Optional[pulumi.Input[bool]]):
1818
+ pulumi.set(self, "jdbc_treat_timestamp_ntz_as_utc", value)
1819
+
1820
+ @property
1821
+ @pulumi.getter(name="jdbcUseSessionTimezone")
1822
+ def jdbc_use_session_timezone(self) -> Optional[pulumi.Input[bool]]:
1823
+ """
1824
+ Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
1825
+ """
1826
+ return pulumi.get(self, "jdbc_use_session_timezone")
1827
+
1828
+ @jdbc_use_session_timezone.setter
1829
+ def jdbc_use_session_timezone(self, value: Optional[pulumi.Input[bool]]):
1830
+ pulumi.set(self, "jdbc_use_session_timezone", value)
1831
+
1832
+ @property
1833
+ @pulumi.getter(name="jsonIndent")
1834
+ def json_indent(self) -> Optional[pulumi.Input[int]]:
1835
+ """
1836
+ Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
1837
+ """
1838
+ return pulumi.get(self, "json_indent")
1839
+
1840
+ @json_indent.setter
1841
+ def json_indent(self, value: Optional[pulumi.Input[int]]):
1842
+ pulumi.set(self, "json_indent", value)
1843
+
1844
+ @property
1845
+ @pulumi.getter(name="lockTimeout")
1846
+ def lock_timeout(self) -> Optional[pulumi.Input[int]]:
1847
+ """
1848
+ Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
1849
+ """
1850
+ return pulumi.get(self, "lock_timeout")
1851
+
1852
+ @lock_timeout.setter
1853
+ def lock_timeout(self, value: Optional[pulumi.Input[int]]):
1854
+ pulumi.set(self, "lock_timeout", value)
1855
+
1856
+ @property
1857
+ @pulumi.getter(name="logLevel")
1858
+ def log_level(self) -> Optional[pulumi.Input[str]]:
1859
+ """
1860
+ Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
1861
+ """
1862
+ return pulumi.get(self, "log_level")
1863
+
1864
+ @log_level.setter
1865
+ def log_level(self, value: Optional[pulumi.Input[str]]):
1866
+ pulumi.set(self, "log_level", value)
1867
+
1868
+ @property
1869
+ @pulumi.getter(name="multiStatementCount")
1870
+ def multi_statement_count(self) -> Optional[pulumi.Input[int]]:
1871
+ """
1872
+ Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
1873
+ """
1874
+ return pulumi.get(self, "multi_statement_count")
1875
+
1876
+ @multi_statement_count.setter
1877
+ def multi_statement_count(self, value: Optional[pulumi.Input[int]]):
1878
+ pulumi.set(self, "multi_statement_count", value)
1879
+
1880
+ @property
1881
+ @pulumi.getter
1882
+ def name(self) -> Optional[pulumi.Input[str]]:
1883
+ """
1884
+ Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1885
+ """
1886
+ return pulumi.get(self, "name")
1887
+
1888
+ @name.setter
1889
+ def name(self, value: Optional[pulumi.Input[str]]):
1890
+ pulumi.set(self, "name", value)
1891
+
1892
+ @property
1893
+ @pulumi.getter(name="noorderSequenceAsDefault")
1894
+ def noorder_sequence_as_default(self) -> Optional[pulumi.Input[bool]]:
1895
+ """
1896
+ Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
1897
+ """
1898
+ return pulumi.get(self, "noorder_sequence_as_default")
1899
+
1900
+ @noorder_sequence_as_default.setter
1901
+ def noorder_sequence_as_default(self, value: Optional[pulumi.Input[bool]]):
1902
+ pulumi.set(self, "noorder_sequence_as_default", value)
1903
+
1904
+ @property
1905
+ @pulumi.getter(name="odbcTreatDecimalAsInt")
1906
+ def odbc_treat_decimal_as_int(self) -> Optional[pulumi.Input[bool]]:
1907
+ """
1908
+ Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
1909
+ """
1910
+ return pulumi.get(self, "odbc_treat_decimal_as_int")
1911
+
1912
+ @odbc_treat_decimal_as_int.setter
1913
+ def odbc_treat_decimal_as_int(self, value: Optional[pulumi.Input[bool]]):
1914
+ pulumi.set(self, "odbc_treat_decimal_as_int", value)
1915
+
1916
+ @property
1917
+ @pulumi.getter
1918
+ def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TaskParameterArgs']]]]:
1919
+ """
1920
+ Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
1921
+ """
1922
+ return pulumi.get(self, "parameters")
1923
+
1924
+ @parameters.setter
1925
+ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TaskParameterArgs']]]]):
1926
+ pulumi.set(self, "parameters", value)
1927
+
1928
+ @property
1929
+ @pulumi.getter(name="queryTag")
1930
+ def query_tag(self) -> Optional[pulumi.Input[str]]:
1931
+ """
1932
+ Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
1933
+ """
1934
+ return pulumi.get(self, "query_tag")
1935
+
1936
+ @query_tag.setter
1937
+ def query_tag(self, value: Optional[pulumi.Input[str]]):
1938
+ pulumi.set(self, "query_tag", value)
1939
+
1940
+ @property
1941
+ @pulumi.getter(name="quotedIdentifiersIgnoreCase")
1942
+ def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
1943
+ """
1944
+ Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
1945
+ """
1946
+ return pulumi.get(self, "quoted_identifiers_ignore_case")
1947
+
1948
+ @quoted_identifiers_ignore_case.setter
1949
+ def quoted_identifiers_ignore_case(self, value: Optional[pulumi.Input[bool]]):
1950
+ pulumi.set(self, "quoted_identifiers_ignore_case", value)
1951
+
1952
+ @property
1953
+ @pulumi.getter(name="rowsPerResultset")
1954
+ def rows_per_resultset(self) -> Optional[pulumi.Input[int]]:
1955
+ """
1956
+ Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
1957
+ """
1958
+ return pulumi.get(self, "rows_per_resultset")
1959
+
1960
+ @rows_per_resultset.setter
1961
+ def rows_per_resultset(self, value: Optional[pulumi.Input[int]]):
1962
+ pulumi.set(self, "rows_per_resultset", value)
1963
+
1964
+ @property
1965
+ @pulumi.getter(name="s3StageVpceDnsName")
1966
+ def s3_stage_vpce_dns_name(self) -> Optional[pulumi.Input[str]]:
1967
+ """
1968
+ Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
1969
+ """
1970
+ return pulumi.get(self, "s3_stage_vpce_dns_name")
1971
+
1972
+ @s3_stage_vpce_dns_name.setter
1973
+ def s3_stage_vpce_dns_name(self, value: Optional[pulumi.Input[str]]):
1974
+ pulumi.set(self, "s3_stage_vpce_dns_name", value)
1975
+
1976
+ @property
1977
+ @pulumi.getter
1978
+ def schedule(self) -> Optional[pulumi.Input['TaskScheduleArgs']]:
1979
+ """
1980
+ The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
1981
+ """
1982
+ return pulumi.get(self, "schedule")
1983
+
1984
+ @schedule.setter
1985
+ def schedule(self, value: Optional[pulumi.Input['TaskScheduleArgs']]):
1986
+ pulumi.set(self, "schedule", value)
1987
+
1988
+ @property
1989
+ @pulumi.getter
1990
+ def schema(self) -> Optional[pulumi.Input[str]]:
1991
+ """
1992
+ The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1993
+ """
1994
+ return pulumi.get(self, "schema")
1995
+
1996
+ @schema.setter
1997
+ def schema(self, value: Optional[pulumi.Input[str]]):
1998
+ pulumi.set(self, "schema", value)
1999
+
2000
+ @property
2001
+ @pulumi.getter(name="searchPath")
2002
+ def search_path(self) -> Optional[pulumi.Input[str]]:
2003
+ """
2004
+ Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
2005
+ """
2006
+ return pulumi.get(self, "search_path")
2007
+
2008
+ @search_path.setter
2009
+ def search_path(self, value: Optional[pulumi.Input[str]]):
2010
+ pulumi.set(self, "search_path", value)
2011
+
2012
+ @property
2013
+ @pulumi.getter(name="showOutputs")
2014
+ def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TaskShowOutputArgs']]]]:
2015
+ """
2016
+ Outputs the result of `SHOW TASKS` for the given task.
2017
+ """
2018
+ return pulumi.get(self, "show_outputs")
2019
+
2020
+ @show_outputs.setter
2021
+ def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TaskShowOutputArgs']]]]):
2022
+ pulumi.set(self, "show_outputs", value)
2023
+
2024
+ @property
2025
+ @pulumi.getter(name="sqlStatement")
2026
+ def sql_statement(self) -> Optional[pulumi.Input[str]]:
2027
+ """
2028
+ Any single SQL statement, or a call to a stored procedure, executed when the task runs.
2029
+ """
2030
+ return pulumi.get(self, "sql_statement")
2031
+
2032
+ @sql_statement.setter
2033
+ def sql_statement(self, value: Optional[pulumi.Input[str]]):
2034
+ pulumi.set(self, "sql_statement", value)
2035
+
2036
+ @property
2037
+ @pulumi.getter
2038
+ def started(self) -> Optional[pulumi.Input[bool]]:
2039
+ """
2040
+ Specifies if the task should be started or suspended.
2041
+ """
2042
+ return pulumi.get(self, "started")
2043
+
2044
+ @started.setter
2045
+ def started(self, value: Optional[pulumi.Input[bool]]):
2046
+ pulumi.set(self, "started", value)
2047
+
2048
+ @property
2049
+ @pulumi.getter(name="statementQueuedTimeoutInSeconds")
2050
+ def statement_queued_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
2051
+ """
2052
+ Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
2053
+ """
2054
+ return pulumi.get(self, "statement_queued_timeout_in_seconds")
2055
+
2056
+ @statement_queued_timeout_in_seconds.setter
2057
+ def statement_queued_timeout_in_seconds(self, value: Optional[pulumi.Input[int]]):
2058
+ pulumi.set(self, "statement_queued_timeout_in_seconds", value)
2059
+
2060
+ @property
2061
+ @pulumi.getter(name="statementTimeoutInSeconds")
2062
+ def statement_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
2063
+ """
2064
+ Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
2065
+ """
2066
+ return pulumi.get(self, "statement_timeout_in_seconds")
2067
+
2068
+ @statement_timeout_in_seconds.setter
2069
+ def statement_timeout_in_seconds(self, value: Optional[pulumi.Input[int]]):
2070
+ pulumi.set(self, "statement_timeout_in_seconds", value)
2071
+
2072
+ @property
2073
+ @pulumi.getter(name="strictJsonOutput")
2074
+ def strict_json_output(self) -> Optional[pulumi.Input[bool]]:
2075
+ """
2076
+ This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
2077
+ """
2078
+ return pulumi.get(self, "strict_json_output")
2079
+
2080
+ @strict_json_output.setter
2081
+ def strict_json_output(self, value: Optional[pulumi.Input[bool]]):
2082
+ pulumi.set(self, "strict_json_output", value)
2083
+
2084
+ @property
2085
+ @pulumi.getter(name="suspendTaskAfterNumFailures")
2086
+ def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
2087
+ """
2088
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
2089
+ """
2090
+ return pulumi.get(self, "suspend_task_after_num_failures")
2091
+
2092
+ @suspend_task_after_num_failures.setter
2093
+ def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
2094
+ pulumi.set(self, "suspend_task_after_num_failures", value)
2095
+
2096
+ @property
2097
+ @pulumi.getter(name="taskAutoRetryAttempts")
2098
+ def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
2099
+ """
2100
+ Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
2101
+ """
2102
+ return pulumi.get(self, "task_auto_retry_attempts")
2103
+
2104
+ @task_auto_retry_attempts.setter
2105
+ def task_auto_retry_attempts(self, value: Optional[pulumi.Input[int]]):
2106
+ pulumi.set(self, "task_auto_retry_attempts", value)
2107
+
2108
+ @property
2109
+ @pulumi.getter(name="timeInputFormat")
2110
+ def time_input_format(self) -> Optional[pulumi.Input[str]]:
2111
+ """
2112
+ Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
2113
+ """
2114
+ return pulumi.get(self, "time_input_format")
2115
+
2116
+ @time_input_format.setter
2117
+ def time_input_format(self, value: Optional[pulumi.Input[str]]):
2118
+ pulumi.set(self, "time_input_format", value)
2119
+
2120
+ @property
2121
+ @pulumi.getter(name="timeOutputFormat")
2122
+ def time_output_format(self) -> Optional[pulumi.Input[str]]:
2123
+ """
2124
+ Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
2125
+ """
2126
+ return pulumi.get(self, "time_output_format")
2127
+
2128
+ @time_output_format.setter
2129
+ def time_output_format(self, value: Optional[pulumi.Input[str]]):
2130
+ pulumi.set(self, "time_output_format", value)
2131
+
2132
+ @property
2133
+ @pulumi.getter(name="timestampDayIsAlways24h")
2134
+ def timestamp_day_is_always24h(self) -> Optional[pulumi.Input[bool]]:
2135
+ """
2136
+ Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
2137
+ """
2138
+ return pulumi.get(self, "timestamp_day_is_always24h")
2139
+
2140
+ @timestamp_day_is_always24h.setter
2141
+ def timestamp_day_is_always24h(self, value: Optional[pulumi.Input[bool]]):
2142
+ pulumi.set(self, "timestamp_day_is_always24h", value)
2143
+
2144
+ @property
2145
+ @pulumi.getter(name="timestampInputFormat")
2146
+ def timestamp_input_format(self) -> Optional[pulumi.Input[str]]:
2147
+ """
2148
+ Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
2149
+ """
2150
+ return pulumi.get(self, "timestamp_input_format")
2151
+
2152
+ @timestamp_input_format.setter
2153
+ def timestamp_input_format(self, value: Optional[pulumi.Input[str]]):
2154
+ pulumi.set(self, "timestamp_input_format", value)
2155
+
2156
+ @property
2157
+ @pulumi.getter(name="timestampLtzOutputFormat")
2158
+ def timestamp_ltz_output_format(self) -> Optional[pulumi.Input[str]]:
2159
+ """
2160
+ Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
2161
+ """
2162
+ return pulumi.get(self, "timestamp_ltz_output_format")
2163
+
2164
+ @timestamp_ltz_output_format.setter
2165
+ def timestamp_ltz_output_format(self, value: Optional[pulumi.Input[str]]):
2166
+ pulumi.set(self, "timestamp_ltz_output_format", value)
2167
+
2168
+ @property
2169
+ @pulumi.getter(name="timestampNtzOutputFormat")
2170
+ def timestamp_ntz_output_format(self) -> Optional[pulumi.Input[str]]:
2171
+ """
2172
+ Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
2173
+ """
2174
+ return pulumi.get(self, "timestamp_ntz_output_format")
2175
+
2176
+ @timestamp_ntz_output_format.setter
2177
+ def timestamp_ntz_output_format(self, value: Optional[pulumi.Input[str]]):
2178
+ pulumi.set(self, "timestamp_ntz_output_format", value)
2179
+
2180
+ @property
2181
+ @pulumi.getter(name="timestampOutputFormat")
2182
+ def timestamp_output_format(self) -> Optional[pulumi.Input[str]]:
2183
+ """
2184
+ Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
2185
+ """
2186
+ return pulumi.get(self, "timestamp_output_format")
2187
+
2188
+ @timestamp_output_format.setter
2189
+ def timestamp_output_format(self, value: Optional[pulumi.Input[str]]):
2190
+ pulumi.set(self, "timestamp_output_format", value)
2191
+
2192
+ @property
2193
+ @pulumi.getter(name="timestampTypeMapping")
2194
+ def timestamp_type_mapping(self) -> Optional[pulumi.Input[str]]:
2195
+ """
2196
+ Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
2197
+ """
2198
+ return pulumi.get(self, "timestamp_type_mapping")
2199
+
2200
+ @timestamp_type_mapping.setter
2201
+ def timestamp_type_mapping(self, value: Optional[pulumi.Input[str]]):
2202
+ pulumi.set(self, "timestamp_type_mapping", value)
2203
+
2204
+ @property
2205
+ @pulumi.getter(name="timestampTzOutputFormat")
2206
+ def timestamp_tz_output_format(self) -> Optional[pulumi.Input[str]]:
2207
+ """
2208
+ Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
2209
+ """
2210
+ return pulumi.get(self, "timestamp_tz_output_format")
2211
+
2212
+ @timestamp_tz_output_format.setter
2213
+ def timestamp_tz_output_format(self, value: Optional[pulumi.Input[str]]):
2214
+ pulumi.set(self, "timestamp_tz_output_format", value)
2215
+
2216
+ @property
2217
+ @pulumi.getter
2218
+ def timezone(self) -> Optional[pulumi.Input[str]]:
2219
+ """
2220
+ Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
2221
+ """
2222
+ return pulumi.get(self, "timezone")
2223
+
2224
+ @timezone.setter
2225
+ def timezone(self, value: Optional[pulumi.Input[str]]):
2226
+ pulumi.set(self, "timezone", value)
2227
+
2228
+ @property
2229
+ @pulumi.getter(name="traceLevel")
2230
+ def trace_level(self) -> Optional[pulumi.Input[str]]:
2231
+ """
2232
+ Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
2233
+ """
2234
+ return pulumi.get(self, "trace_level")
2235
+
2236
+ @trace_level.setter
2237
+ def trace_level(self, value: Optional[pulumi.Input[str]]):
2238
+ pulumi.set(self, "trace_level", value)
2239
+
2240
+ @property
2241
+ @pulumi.getter(name="transactionAbortOnError")
2242
+ def transaction_abort_on_error(self) -> Optional[pulumi.Input[bool]]:
2243
+ """
2244
+ Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
2245
+ """
2246
+ return pulumi.get(self, "transaction_abort_on_error")
2247
+
2248
+ @transaction_abort_on_error.setter
2249
+ def transaction_abort_on_error(self, value: Optional[pulumi.Input[bool]]):
2250
+ pulumi.set(self, "transaction_abort_on_error", value)
2251
+
2252
+ @property
2253
+ @pulumi.getter(name="transactionDefaultIsolationLevel")
2254
+ def transaction_default_isolation_level(self) -> Optional[pulumi.Input[str]]:
2255
+ """
2256
+ Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
2257
+ """
2258
+ return pulumi.get(self, "transaction_default_isolation_level")
2259
+
2260
+ @transaction_default_isolation_level.setter
2261
+ def transaction_default_isolation_level(self, value: Optional[pulumi.Input[str]]):
2262
+ pulumi.set(self, "transaction_default_isolation_level", value)
2263
+
2264
+ @property
2265
+ @pulumi.getter(name="twoDigitCenturyStart")
2266
+ def two_digit_century_start(self) -> Optional[pulumi.Input[int]]:
2267
+ """
2268
+ Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
2269
+ """
2270
+ return pulumi.get(self, "two_digit_century_start")
2271
+
2272
+ @two_digit_century_start.setter
2273
+ def two_digit_century_start(self, value: Optional[pulumi.Input[int]]):
2274
+ pulumi.set(self, "two_digit_century_start", value)
2275
+
2276
+ @property
2277
+ @pulumi.getter(name="unsupportedDdlAction")
2278
+ def unsupported_ddl_action(self) -> Optional[pulumi.Input[str]]:
2279
+ """
2280
+ Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
2281
+ """
2282
+ return pulumi.get(self, "unsupported_ddl_action")
2283
+
2284
+ @unsupported_ddl_action.setter
2285
+ def unsupported_ddl_action(self, value: Optional[pulumi.Input[str]]):
2286
+ pulumi.set(self, "unsupported_ddl_action", value)
2287
+
2288
+ @property
2289
+ @pulumi.getter(name="useCachedResult")
2290
+ def use_cached_result(self) -> Optional[pulumi.Input[bool]]:
2291
+ """
2292
+ Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
2293
+ """
2294
+ return pulumi.get(self, "use_cached_result")
2295
+
2296
+ @use_cached_result.setter
2297
+ def use_cached_result(self, value: Optional[pulumi.Input[bool]]):
2298
+ pulumi.set(self, "use_cached_result", value)
2299
+
2300
+ @property
2301
+ @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
2302
+ def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
2303
+ """
2304
+ Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
2305
+ """
2306
+ return pulumi.get(self, "user_task_managed_initial_warehouse_size")
2307
+
2308
+ @user_task_managed_initial_warehouse_size.setter
2309
+ def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
2310
+ pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
2311
+
2312
+ @property
2313
+ @pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
2314
+ def user_task_minimum_trigger_interval_in_seconds(self) -> Optional[pulumi.Input[int]]:
2315
+ """
2316
+ Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
2317
+ """
2318
+ return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
2319
+
2320
+ @user_task_minimum_trigger_interval_in_seconds.setter
2321
+ def user_task_minimum_trigger_interval_in_seconds(self, value: Optional[pulumi.Input[int]]):
2322
+ pulumi.set(self, "user_task_minimum_trigger_interval_in_seconds", value)
2323
+
2324
+ @property
2325
+ @pulumi.getter(name="userTaskTimeoutMs")
2326
+ def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
2327
+ """
2328
+ Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
2329
+ """
2330
+ return pulumi.get(self, "user_task_timeout_ms")
2331
+
2332
+ @user_task_timeout_ms.setter
2333
+ def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
2334
+ pulumi.set(self, "user_task_timeout_ms", value)
2335
+
2336
+ @property
2337
+ @pulumi.getter
2338
+ def warehouse(self) -> Optional[pulumi.Input[str]]:
2339
+ """
2340
+ The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
2341
+ """
2342
+ return pulumi.get(self, "warehouse")
2343
+
2344
+ @warehouse.setter
2345
+ def warehouse(self, value: Optional[pulumi.Input[str]]):
2346
+ pulumi.set(self, "warehouse", value)
2347
+
2348
+ @property
2349
+ @pulumi.getter(name="weekOfYearPolicy")
2350
+ def week_of_year_policy(self) -> Optional[pulumi.Input[int]]:
2351
+ """
2352
+ Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
2353
+ """
2354
+ return pulumi.get(self, "week_of_year_policy")
2355
+
2356
+ @week_of_year_policy.setter
2357
+ def week_of_year_policy(self, value: Optional[pulumi.Input[int]]):
2358
+ pulumi.set(self, "week_of_year_policy", value)
513
2359
 
514
2360
  @property
515
- @pulumi.getter
516
- def warehouse(self) -> Optional[pulumi.Input[str]]:
2361
+ @pulumi.getter(name="weekStart")
2362
+ def week_start(self) -> Optional[pulumi.Input[int]]:
517
2363
  """
518
- The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
2364
+ Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
519
2365
  """
520
- return pulumi.get(self, "warehouse")
2366
+ return pulumi.get(self, "week_start")
521
2367
 
522
- @warehouse.setter
523
- def warehouse(self, value: Optional[pulumi.Input[str]]):
524
- pulumi.set(self, "warehouse", value)
2368
+ @week_start.setter
2369
+ def week_start(self, value: Optional[pulumi.Input[int]]):
2370
+ pulumi.set(self, "week_start", value)
525
2371
 
526
2372
  @property
527
2373
  @pulumi.getter
528
2374
  def when(self) -> Optional[pulumi.Input[str]]:
529
2375
  """
530
- Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
2376
+ Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
531
2377
  """
532
2378
  return pulumi.get(self, "when")
533
2379
 
@@ -541,95 +2387,160 @@ class Task(pulumi.CustomResource):
541
2387
  def __init__(__self__,
542
2388
  resource_name: str,
543
2389
  opts: Optional[pulumi.ResourceOptions] = None,
2390
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
544
2391
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
545
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
2392
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
2393
+ autocommit: Optional[pulumi.Input[bool]] = None,
2394
+ binary_input_format: Optional[pulumi.Input[str]] = None,
2395
+ binary_output_format: Optional[pulumi.Input[str]] = None,
2396
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
2397
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
2398
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
2399
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
2400
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
2401
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
2402
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
2403
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
546
2404
  comment: Optional[pulumi.Input[str]] = None,
2405
+ config: Optional[pulumi.Input[str]] = None,
547
2406
  database: Optional[pulumi.Input[str]] = None,
548
- enabled: Optional[pulumi.Input[bool]] = None,
2407
+ date_input_format: Optional[pulumi.Input[str]] = None,
2408
+ date_output_format: Optional[pulumi.Input[str]] = None,
2409
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
549
2410
  error_integration: Optional[pulumi.Input[str]] = None,
2411
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
2412
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
2413
+ finalize: Optional[pulumi.Input[str]] = None,
2414
+ geography_output_format: Optional[pulumi.Input[str]] = None,
2415
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
2416
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
2417
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
2418
+ json_indent: Optional[pulumi.Input[int]] = None,
2419
+ lock_timeout: Optional[pulumi.Input[int]] = None,
2420
+ log_level: Optional[pulumi.Input[str]] = None,
2421
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
550
2422
  name: Optional[pulumi.Input[str]] = None,
551
- schedule: Optional[pulumi.Input[str]] = None,
2423
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
2424
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
2425
+ query_tag: Optional[pulumi.Input[str]] = None,
2426
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
2427
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
2428
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
2429
+ schedule: Optional[pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']]] = None,
552
2430
  schema: Optional[pulumi.Input[str]] = None,
553
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2431
+ search_path: Optional[pulumi.Input[str]] = None,
554
2432
  sql_statement: Optional[pulumi.Input[str]] = None,
2433
+ started: Optional[pulumi.Input[bool]] = None,
2434
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2435
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2436
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
555
2437
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
2438
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
2439
+ time_input_format: Optional[pulumi.Input[str]] = None,
2440
+ time_output_format: Optional[pulumi.Input[str]] = None,
2441
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
2442
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
2443
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
2444
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
2445
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
2446
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
2447
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
2448
+ timezone: Optional[pulumi.Input[str]] = None,
2449
+ trace_level: Optional[pulumi.Input[str]] = None,
2450
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
2451
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
2452
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
2453
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
2454
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
556
2455
  user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
2456
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
557
2457
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
558
2458
  warehouse: Optional[pulumi.Input[str]] = None,
2459
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
2460
+ week_start: Optional[pulumi.Input[int]] = None,
559
2461
  when: Optional[pulumi.Input[str]] = None,
560
2462
  __props__=None):
561
2463
  """
562
- ## Example Usage
563
-
564
- <!--Start PulumiCodeChooser -->
565
- ```python
566
- import pulumi
567
- import pulumi_snowflake as snowflake
568
-
569
- task = snowflake.Task("task",
570
- comment="my task",
571
- database="database",
572
- schema="schema",
573
- warehouse="warehouse",
574
- schedule="10 MINUTE",
575
- sql_statement="select * from foo;",
576
- session_parameters={
577
- "foo": "bar",
578
- },
579
- user_task_timeout_ms=10000,
580
- afters="preceding_task",
581
- when="foo AND bar",
582
- enabled=True)
583
- serverless_task = snowflake.Task("serverlessTask",
584
- comment="my serverless task",
585
- database="db",
586
- schema="schema",
587
- schedule="10 MINUTE",
588
- sql_statement="select * from foo;",
589
- session_parameters={
590
- "foo": "bar",
591
- },
592
- user_task_timeout_ms=10000,
593
- user_task_managed_initial_warehouse_size="XSMALL",
594
- afters=[task.name],
595
- when="foo AND bar",
596
- enabled=True)
597
- test_task = snowflake.Task("testTask",
598
- comment="task with allow_overlapping_execution",
599
- database="database",
600
- schema="schema",
601
- sql_statement="select 1 as c;",
602
- allow_overlapping_execution=True,
603
- enabled=True)
604
- ```
605
- <!--End PulumiCodeChooser -->
606
-
607
2464
  ## Import
608
2465
 
609
- format is database name | schema name | task name
610
-
611
2466
  ```sh
612
- $ pulumi import snowflake:index/task:Task example 'dbName|schemaName|taskName'
2467
+ $ pulumi import snowflake:index/task:Task example '"<database_name>"."<schema_name>"."<task_name>"'
613
2468
  ```
614
2469
 
615
2470
  :param str resource_name: The name of the resource.
616
2471
  :param pulumi.ResourceOptions opts: Options for the resource.
617
- :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
618
- :param pulumi.Input[bool] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
2472
+ :param pulumi.Input[bool] abort_detached_query: Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
2473
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2474
+ :param pulumi.Input[str] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
2475
+ :param pulumi.Input[bool] autocommit: Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
2476
+ :param pulumi.Input[str] binary_input_format: The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
2477
+ :param pulumi.Input[str] binary_output_format: The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
2478
+ :param pulumi.Input[int] client_memory_limit: Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
2479
+ :param pulumi.Input[bool] client_metadata_request_use_connection_ctx: For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
2480
+ :param pulumi.Input[int] client_prefetch_threads: Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
2481
+ :param pulumi.Input[int] client_result_chunk_size: Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
2482
+ :param pulumi.Input[bool] client_result_column_case_insensitive: Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
2483
+ :param pulumi.Input[bool] client_session_keep_alive: Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
2484
+ :param pulumi.Input[int] client_session_keep_alive_heartbeat_frequency: Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
2485
+ :param pulumi.Input[str] client_timestamp_type_mapping: Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
619
2486
  :param pulumi.Input[str] comment: Specifies a comment for the task.
620
- :param pulumi.Input[str] database: The database in which to create the task.
621
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
622
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
623
- :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
624
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
625
- :param pulumi.Input[str] schema: The schema in which to create the task.
626
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] session_parameters: Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
2487
+ :param pulumi.Input[str] config: Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
2488
+ :param pulumi.Input[str] database: The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2489
+ :param pulumi.Input[str] date_input_format: Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
2490
+ :param pulumi.Input[str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
2491
+ :param pulumi.Input[bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
2492
+ :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
2493
+ :param pulumi.Input[bool] error_on_nondeterministic_merge: Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
2494
+ :param pulumi.Input[bool] error_on_nondeterministic_update: Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
2495
+ :param pulumi.Input[str] finalize: Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2496
+ :param pulumi.Input[str] geography_output_format: Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
2497
+ :param pulumi.Input[str] geometry_output_format: Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
2498
+ :param pulumi.Input[bool] jdbc_treat_timestamp_ntz_as_utc: Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
2499
+ :param pulumi.Input[bool] jdbc_use_session_timezone: Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
2500
+ :param pulumi.Input[int] json_indent: Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
2501
+ :param pulumi.Input[int] lock_timeout: Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
2502
+ :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
2503
+ :param pulumi.Input[int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
2504
+ :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2505
+ :param pulumi.Input[bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
2506
+ :param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
2507
+ :param pulumi.Input[str] query_tag: Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
2508
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
2509
+ :param pulumi.Input[int] rows_per_resultset: Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
2510
+ :param pulumi.Input[str] s3_stage_vpce_dns_name: Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
2511
+ :param pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
2512
+ :param pulumi.Input[str] schema: The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2513
+ :param pulumi.Input[str] search_path: Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
627
2514
  :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
628
- :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
629
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
630
- :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds).
631
- :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
632
- :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
2515
+ :param pulumi.Input[bool] started: Specifies if the task should be started or suspended.
2516
+ :param pulumi.Input[int] statement_queued_timeout_in_seconds: Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
2517
+ :param pulumi.Input[int] statement_timeout_in_seconds: Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
2518
+ :param pulumi.Input[bool] strict_json_output: This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
2519
+ :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
2520
+ :param pulumi.Input[int] task_auto_retry_attempts: Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
2521
+ :param pulumi.Input[str] time_input_format: Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
2522
+ :param pulumi.Input[str] time_output_format: Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
2523
+ :param pulumi.Input[bool] timestamp_day_is_always24h: Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
2524
+ :param pulumi.Input[str] timestamp_input_format: Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
2525
+ :param pulumi.Input[str] timestamp_ltz_output_format: Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
2526
+ :param pulumi.Input[str] timestamp_ntz_output_format: Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
2527
+ :param pulumi.Input[str] timestamp_output_format: Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
2528
+ :param pulumi.Input[str] timestamp_type_mapping: Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
2529
+ :param pulumi.Input[str] timestamp_tz_output_format: Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
2530
+ :param pulumi.Input[str] timezone: Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
2531
+ :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
2532
+ :param pulumi.Input[bool] transaction_abort_on_error: Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
2533
+ :param pulumi.Input[str] transaction_default_isolation_level: Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
2534
+ :param pulumi.Input[int] two_digit_century_start: Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
2535
+ :param pulumi.Input[str] unsupported_ddl_action: Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
2536
+ :param pulumi.Input[bool] use_cached_result: Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
2537
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
2538
+ :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
2539
+ :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
2540
+ :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
2541
+ :param pulumi.Input[int] week_of_year_policy: Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
2542
+ :param pulumi.Input[int] week_start: Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
2543
+ :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
633
2544
  """
634
2545
  ...
635
2546
  @overload
@@ -638,57 +2549,10 @@ class Task(pulumi.CustomResource):
638
2549
  args: TaskArgs,
639
2550
  opts: Optional[pulumi.ResourceOptions] = None):
640
2551
  """
641
- ## Example Usage
642
-
643
- <!--Start PulumiCodeChooser -->
644
- ```python
645
- import pulumi
646
- import pulumi_snowflake as snowflake
647
-
648
- task = snowflake.Task("task",
649
- comment="my task",
650
- database="database",
651
- schema="schema",
652
- warehouse="warehouse",
653
- schedule="10 MINUTE",
654
- sql_statement="select * from foo;",
655
- session_parameters={
656
- "foo": "bar",
657
- },
658
- user_task_timeout_ms=10000,
659
- afters="preceding_task",
660
- when="foo AND bar",
661
- enabled=True)
662
- serverless_task = snowflake.Task("serverlessTask",
663
- comment="my serverless task",
664
- database="db",
665
- schema="schema",
666
- schedule="10 MINUTE",
667
- sql_statement="select * from foo;",
668
- session_parameters={
669
- "foo": "bar",
670
- },
671
- user_task_timeout_ms=10000,
672
- user_task_managed_initial_warehouse_size="XSMALL",
673
- afters=[task.name],
674
- when="foo AND bar",
675
- enabled=True)
676
- test_task = snowflake.Task("testTask",
677
- comment="task with allow_overlapping_execution",
678
- database="database",
679
- schema="schema",
680
- sql_statement="select 1 as c;",
681
- allow_overlapping_execution=True,
682
- enabled=True)
683
- ```
684
- <!--End PulumiCodeChooser -->
685
-
686
2552
  ## Import
687
2553
 
688
- format is database name | schema name | task name
689
-
690
2554
  ```sh
691
- $ pulumi import snowflake:index/task:Task example 'dbName|schemaName|taskName'
2555
+ $ pulumi import snowflake:index/task:Task example '"<database_name>"."<schema_name>"."<task_name>"'
692
2556
  ```
693
2557
 
694
2558
  :param str resource_name: The name of the resource.
@@ -706,21 +2570,77 @@ class Task(pulumi.CustomResource):
706
2570
  def _internal_init(__self__,
707
2571
  resource_name: str,
708
2572
  opts: Optional[pulumi.ResourceOptions] = None,
2573
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
709
2574
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
710
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
2575
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
2576
+ autocommit: Optional[pulumi.Input[bool]] = None,
2577
+ binary_input_format: Optional[pulumi.Input[str]] = None,
2578
+ binary_output_format: Optional[pulumi.Input[str]] = None,
2579
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
2580
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
2581
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
2582
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
2583
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
2584
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
2585
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
2586
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
711
2587
  comment: Optional[pulumi.Input[str]] = None,
2588
+ config: Optional[pulumi.Input[str]] = None,
712
2589
  database: Optional[pulumi.Input[str]] = None,
713
- enabled: Optional[pulumi.Input[bool]] = None,
2590
+ date_input_format: Optional[pulumi.Input[str]] = None,
2591
+ date_output_format: Optional[pulumi.Input[str]] = None,
2592
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
714
2593
  error_integration: Optional[pulumi.Input[str]] = None,
2594
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
2595
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
2596
+ finalize: Optional[pulumi.Input[str]] = None,
2597
+ geography_output_format: Optional[pulumi.Input[str]] = None,
2598
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
2599
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
2600
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
2601
+ json_indent: Optional[pulumi.Input[int]] = None,
2602
+ lock_timeout: Optional[pulumi.Input[int]] = None,
2603
+ log_level: Optional[pulumi.Input[str]] = None,
2604
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
715
2605
  name: Optional[pulumi.Input[str]] = None,
716
- schedule: Optional[pulumi.Input[str]] = None,
2606
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
2607
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
2608
+ query_tag: Optional[pulumi.Input[str]] = None,
2609
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
2610
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
2611
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
2612
+ schedule: Optional[pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']]] = None,
717
2613
  schema: Optional[pulumi.Input[str]] = None,
718
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2614
+ search_path: Optional[pulumi.Input[str]] = None,
719
2615
  sql_statement: Optional[pulumi.Input[str]] = None,
2616
+ started: Optional[pulumi.Input[bool]] = None,
2617
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2618
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2619
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
720
2620
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
2621
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
2622
+ time_input_format: Optional[pulumi.Input[str]] = None,
2623
+ time_output_format: Optional[pulumi.Input[str]] = None,
2624
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
2625
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
2626
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
2627
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
2628
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
2629
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
2630
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
2631
+ timezone: Optional[pulumi.Input[str]] = None,
2632
+ trace_level: Optional[pulumi.Input[str]] = None,
2633
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
2634
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
2635
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
2636
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
2637
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
721
2638
  user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
2639
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
722
2640
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
723
2641
  warehouse: Optional[pulumi.Input[str]] = None,
2642
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
2643
+ week_start: Optional[pulumi.Input[int]] = None,
724
2644
  when: Optional[pulumi.Input[str]] = None,
725
2645
  __props__=None):
726
2646
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -731,28 +2651,89 @@ class Task(pulumi.CustomResource):
731
2651
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
732
2652
  __props__ = TaskArgs.__new__(TaskArgs)
733
2653
 
2654
+ __props__.__dict__["abort_detached_query"] = abort_detached_query
734
2655
  __props__.__dict__["afters"] = afters
735
2656
  __props__.__dict__["allow_overlapping_execution"] = allow_overlapping_execution
2657
+ __props__.__dict__["autocommit"] = autocommit
2658
+ __props__.__dict__["binary_input_format"] = binary_input_format
2659
+ __props__.__dict__["binary_output_format"] = binary_output_format
2660
+ __props__.__dict__["client_memory_limit"] = client_memory_limit
2661
+ __props__.__dict__["client_metadata_request_use_connection_ctx"] = client_metadata_request_use_connection_ctx
2662
+ __props__.__dict__["client_prefetch_threads"] = client_prefetch_threads
2663
+ __props__.__dict__["client_result_chunk_size"] = client_result_chunk_size
2664
+ __props__.__dict__["client_result_column_case_insensitive"] = client_result_column_case_insensitive
2665
+ __props__.__dict__["client_session_keep_alive"] = client_session_keep_alive
2666
+ __props__.__dict__["client_session_keep_alive_heartbeat_frequency"] = client_session_keep_alive_heartbeat_frequency
2667
+ __props__.__dict__["client_timestamp_type_mapping"] = client_timestamp_type_mapping
736
2668
  __props__.__dict__["comment"] = comment
2669
+ __props__.__dict__["config"] = config
737
2670
  if database is None and not opts.urn:
738
2671
  raise TypeError("Missing required property 'database'")
739
2672
  __props__.__dict__["database"] = database
740
- __props__.__dict__["enabled"] = enabled
2673
+ __props__.__dict__["date_input_format"] = date_input_format
2674
+ __props__.__dict__["date_output_format"] = date_output_format
2675
+ __props__.__dict__["enable_unload_physical_type_optimization"] = enable_unload_physical_type_optimization
741
2676
  __props__.__dict__["error_integration"] = error_integration
2677
+ __props__.__dict__["error_on_nondeterministic_merge"] = error_on_nondeterministic_merge
2678
+ __props__.__dict__["error_on_nondeterministic_update"] = error_on_nondeterministic_update
2679
+ __props__.__dict__["finalize"] = finalize
2680
+ __props__.__dict__["geography_output_format"] = geography_output_format
2681
+ __props__.__dict__["geometry_output_format"] = geometry_output_format
2682
+ __props__.__dict__["jdbc_treat_timestamp_ntz_as_utc"] = jdbc_treat_timestamp_ntz_as_utc
2683
+ __props__.__dict__["jdbc_use_session_timezone"] = jdbc_use_session_timezone
2684
+ __props__.__dict__["json_indent"] = json_indent
2685
+ __props__.__dict__["lock_timeout"] = lock_timeout
2686
+ __props__.__dict__["log_level"] = log_level
2687
+ __props__.__dict__["multi_statement_count"] = multi_statement_count
742
2688
  __props__.__dict__["name"] = name
2689
+ __props__.__dict__["noorder_sequence_as_default"] = noorder_sequence_as_default
2690
+ __props__.__dict__["odbc_treat_decimal_as_int"] = odbc_treat_decimal_as_int
2691
+ __props__.__dict__["query_tag"] = query_tag
2692
+ __props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
2693
+ __props__.__dict__["rows_per_resultset"] = rows_per_resultset
2694
+ __props__.__dict__["s3_stage_vpce_dns_name"] = s3_stage_vpce_dns_name
743
2695
  __props__.__dict__["schedule"] = schedule
744
2696
  if schema is None and not opts.urn:
745
2697
  raise TypeError("Missing required property 'schema'")
746
2698
  __props__.__dict__["schema"] = schema
747
- __props__.__dict__["session_parameters"] = session_parameters
2699
+ __props__.__dict__["search_path"] = search_path
748
2700
  if sql_statement is None and not opts.urn:
749
2701
  raise TypeError("Missing required property 'sql_statement'")
750
2702
  __props__.__dict__["sql_statement"] = sql_statement
2703
+ if started is None and not opts.urn:
2704
+ raise TypeError("Missing required property 'started'")
2705
+ __props__.__dict__["started"] = started
2706
+ __props__.__dict__["statement_queued_timeout_in_seconds"] = statement_queued_timeout_in_seconds
2707
+ __props__.__dict__["statement_timeout_in_seconds"] = statement_timeout_in_seconds
2708
+ __props__.__dict__["strict_json_output"] = strict_json_output
751
2709
  __props__.__dict__["suspend_task_after_num_failures"] = suspend_task_after_num_failures
2710
+ __props__.__dict__["task_auto_retry_attempts"] = task_auto_retry_attempts
2711
+ __props__.__dict__["time_input_format"] = time_input_format
2712
+ __props__.__dict__["time_output_format"] = time_output_format
2713
+ __props__.__dict__["timestamp_day_is_always24h"] = timestamp_day_is_always24h
2714
+ __props__.__dict__["timestamp_input_format"] = timestamp_input_format
2715
+ __props__.__dict__["timestamp_ltz_output_format"] = timestamp_ltz_output_format
2716
+ __props__.__dict__["timestamp_ntz_output_format"] = timestamp_ntz_output_format
2717
+ __props__.__dict__["timestamp_output_format"] = timestamp_output_format
2718
+ __props__.__dict__["timestamp_type_mapping"] = timestamp_type_mapping
2719
+ __props__.__dict__["timestamp_tz_output_format"] = timestamp_tz_output_format
2720
+ __props__.__dict__["timezone"] = timezone
2721
+ __props__.__dict__["trace_level"] = trace_level
2722
+ __props__.__dict__["transaction_abort_on_error"] = transaction_abort_on_error
2723
+ __props__.__dict__["transaction_default_isolation_level"] = transaction_default_isolation_level
2724
+ __props__.__dict__["two_digit_century_start"] = two_digit_century_start
2725
+ __props__.__dict__["unsupported_ddl_action"] = unsupported_ddl_action
2726
+ __props__.__dict__["use_cached_result"] = use_cached_result
752
2727
  __props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
2728
+ __props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
753
2729
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
754
2730
  __props__.__dict__["warehouse"] = warehouse
2731
+ __props__.__dict__["week_of_year_policy"] = week_of_year_policy
2732
+ __props__.__dict__["week_start"] = week_start
755
2733
  __props__.__dict__["when"] = when
2734
+ __props__.__dict__["fully_qualified_name"] = None
2735
+ __props__.__dict__["parameters"] = None
2736
+ __props__.__dict__["show_outputs"] = None
756
2737
  super(Task, __self__).__init__(
757
2738
  'snowflake:index/task:Task',
758
2739
  resource_name,
@@ -763,21 +2744,80 @@ class Task(pulumi.CustomResource):
763
2744
  def get(resource_name: str,
764
2745
  id: pulumi.Input[str],
765
2746
  opts: Optional[pulumi.ResourceOptions] = None,
2747
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
766
2748
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
767
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
2749
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
2750
+ autocommit: Optional[pulumi.Input[bool]] = None,
2751
+ binary_input_format: Optional[pulumi.Input[str]] = None,
2752
+ binary_output_format: Optional[pulumi.Input[str]] = None,
2753
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
2754
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
2755
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
2756
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
2757
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
2758
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
2759
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
2760
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
768
2761
  comment: Optional[pulumi.Input[str]] = None,
2762
+ config: Optional[pulumi.Input[str]] = None,
769
2763
  database: Optional[pulumi.Input[str]] = None,
770
- enabled: Optional[pulumi.Input[bool]] = None,
2764
+ date_input_format: Optional[pulumi.Input[str]] = None,
2765
+ date_output_format: Optional[pulumi.Input[str]] = None,
2766
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
771
2767
  error_integration: Optional[pulumi.Input[str]] = None,
2768
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
2769
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
2770
+ finalize: Optional[pulumi.Input[str]] = None,
2771
+ fully_qualified_name: Optional[pulumi.Input[str]] = None,
2772
+ geography_output_format: Optional[pulumi.Input[str]] = None,
2773
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
2774
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
2775
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
2776
+ json_indent: Optional[pulumi.Input[int]] = None,
2777
+ lock_timeout: Optional[pulumi.Input[int]] = None,
2778
+ log_level: Optional[pulumi.Input[str]] = None,
2779
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
772
2780
  name: Optional[pulumi.Input[str]] = None,
773
- schedule: Optional[pulumi.Input[str]] = None,
2781
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
2782
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
2783
+ parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TaskParameterArgs', 'TaskParameterArgsDict']]]]] = None,
2784
+ query_tag: Optional[pulumi.Input[str]] = None,
2785
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
2786
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
2787
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
2788
+ schedule: Optional[pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']]] = None,
774
2789
  schema: Optional[pulumi.Input[str]] = None,
775
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2790
+ search_path: Optional[pulumi.Input[str]] = None,
2791
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TaskShowOutputArgs', 'TaskShowOutputArgsDict']]]]] = None,
776
2792
  sql_statement: Optional[pulumi.Input[str]] = None,
2793
+ started: Optional[pulumi.Input[bool]] = None,
2794
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2795
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2796
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
777
2797
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
2798
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
2799
+ time_input_format: Optional[pulumi.Input[str]] = None,
2800
+ time_output_format: Optional[pulumi.Input[str]] = None,
2801
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
2802
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
2803
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
2804
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
2805
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
2806
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
2807
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
2808
+ timezone: Optional[pulumi.Input[str]] = None,
2809
+ trace_level: Optional[pulumi.Input[str]] = None,
2810
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
2811
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
2812
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
2813
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
2814
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
778
2815
  user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
2816
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
779
2817
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
780
2818
  warehouse: Optional[pulumi.Input[str]] = None,
2819
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
2820
+ week_start: Optional[pulumi.Input[int]] = None,
781
2821
  when: Optional[pulumi.Input[str]] = None) -> 'Task':
782
2822
  """
783
2823
  Get an existing Task resource's state with the given name, id, and optional extra
@@ -786,61 +2826,275 @@ class Task(pulumi.CustomResource):
786
2826
  :param str resource_name: The unique name of the resulting resource.
787
2827
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
788
2828
  :param pulumi.ResourceOptions opts: Options for the resource.
789
- :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
790
- :param pulumi.Input[bool] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
2829
+ :param pulumi.Input[bool] abort_detached_query: Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
2830
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] afters: Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2831
+ :param pulumi.Input[str] allow_overlapping_execution: By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
2832
+ :param pulumi.Input[bool] autocommit: Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
2833
+ :param pulumi.Input[str] binary_input_format: The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
2834
+ :param pulumi.Input[str] binary_output_format: The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
2835
+ :param pulumi.Input[int] client_memory_limit: Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
2836
+ :param pulumi.Input[bool] client_metadata_request_use_connection_ctx: For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
2837
+ :param pulumi.Input[int] client_prefetch_threads: Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
2838
+ :param pulumi.Input[int] client_result_chunk_size: Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
2839
+ :param pulumi.Input[bool] client_result_column_case_insensitive: Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
2840
+ :param pulumi.Input[bool] client_session_keep_alive: Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
2841
+ :param pulumi.Input[int] client_session_keep_alive_heartbeat_frequency: Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
2842
+ :param pulumi.Input[str] client_timestamp_type_mapping: Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
791
2843
  :param pulumi.Input[str] comment: Specifies a comment for the task.
792
- :param pulumi.Input[str] database: The database in which to create the task.
793
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
794
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
795
- :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
796
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
797
- :param pulumi.Input[str] schema: The schema in which to create the task.
798
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] session_parameters: Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
2844
+ :param pulumi.Input[str] config: Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
2845
+ :param pulumi.Input[str] database: The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2846
+ :param pulumi.Input[str] date_input_format: Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
2847
+ :param pulumi.Input[str] date_output_format: Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
2848
+ :param pulumi.Input[bool] enable_unload_physical_type_optimization: Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
2849
+ :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
2850
+ :param pulumi.Input[bool] error_on_nondeterministic_merge: Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
2851
+ :param pulumi.Input[bool] error_on_nondeterministic_update: Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
2852
+ :param pulumi.Input[str] finalize: Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2853
+ :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).
2854
+ :param pulumi.Input[str] geography_output_format: Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
2855
+ :param pulumi.Input[str] geometry_output_format: Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
2856
+ :param pulumi.Input[bool] jdbc_treat_timestamp_ntz_as_utc: Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
2857
+ :param pulumi.Input[bool] jdbc_use_session_timezone: Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
2858
+ :param pulumi.Input[int] json_indent: Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
2859
+ :param pulumi.Input[int] lock_timeout: Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
2860
+ :param pulumi.Input[str] log_level: Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
2861
+ :param pulumi.Input[int] multi_statement_count: Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
2862
+ :param pulumi.Input[str] name: Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2863
+ :param pulumi.Input[bool] noorder_sequence_as_default: Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
2864
+ :param pulumi.Input[bool] odbc_treat_decimal_as_int: Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
2865
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TaskParameterArgs', 'TaskParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
2866
+ :param pulumi.Input[str] query_tag: Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
2867
+ :param pulumi.Input[bool] quoted_identifiers_ignore_case: Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
2868
+ :param pulumi.Input[int] rows_per_resultset: Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
2869
+ :param pulumi.Input[str] s3_stage_vpce_dns_name: Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
2870
+ :param pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
2871
+ :param pulumi.Input[str] schema: The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
2872
+ :param pulumi.Input[str] search_path: Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
2873
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TaskShowOutputArgs', 'TaskShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW TASKS` for the given task.
799
2874
  :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
800
- :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
801
- :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
802
- :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds).
803
- :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
804
- :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
2875
+ :param pulumi.Input[bool] started: Specifies if the task should be started or suspended.
2876
+ :param pulumi.Input[int] statement_queued_timeout_in_seconds: Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
2877
+ :param pulumi.Input[int] statement_timeout_in_seconds: Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
2878
+ :param pulumi.Input[bool] strict_json_output: This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
2879
+ :param pulumi.Input[int] suspend_task_after_num_failures: Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
2880
+ :param pulumi.Input[int] task_auto_retry_attempts: Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
2881
+ :param pulumi.Input[str] time_input_format: Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
2882
+ :param pulumi.Input[str] time_output_format: Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
2883
+ :param pulumi.Input[bool] timestamp_day_is_always24h: Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
2884
+ :param pulumi.Input[str] timestamp_input_format: Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
2885
+ :param pulumi.Input[str] timestamp_ltz_output_format: Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
2886
+ :param pulumi.Input[str] timestamp_ntz_output_format: Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
2887
+ :param pulumi.Input[str] timestamp_output_format: Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
2888
+ :param pulumi.Input[str] timestamp_type_mapping: Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
2889
+ :param pulumi.Input[str] timestamp_tz_output_format: Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
2890
+ :param pulumi.Input[str] timezone: Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
2891
+ :param pulumi.Input[str] trace_level: Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
2892
+ :param pulumi.Input[bool] transaction_abort_on_error: Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
2893
+ :param pulumi.Input[str] transaction_default_isolation_level: Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
2894
+ :param pulumi.Input[int] two_digit_century_start: Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
2895
+ :param pulumi.Input[str] unsupported_ddl_action: Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
2896
+ :param pulumi.Input[bool] use_cached_result: Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
2897
+ :param pulumi.Input[str] user_task_managed_initial_warehouse_size: Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
2898
+ :param pulumi.Input[int] user_task_minimum_trigger_interval_in_seconds: Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
2899
+ :param pulumi.Input[int] user_task_timeout_ms: Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
2900
+ :param pulumi.Input[str] warehouse: The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
2901
+ :param pulumi.Input[int] week_of_year_policy: Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
2902
+ :param pulumi.Input[int] week_start: Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
2903
+ :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
805
2904
  """
806
2905
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
807
2906
 
808
2907
  __props__ = _TaskState.__new__(_TaskState)
809
2908
 
2909
+ __props__.__dict__["abort_detached_query"] = abort_detached_query
810
2910
  __props__.__dict__["afters"] = afters
811
2911
  __props__.__dict__["allow_overlapping_execution"] = allow_overlapping_execution
2912
+ __props__.__dict__["autocommit"] = autocommit
2913
+ __props__.__dict__["binary_input_format"] = binary_input_format
2914
+ __props__.__dict__["binary_output_format"] = binary_output_format
2915
+ __props__.__dict__["client_memory_limit"] = client_memory_limit
2916
+ __props__.__dict__["client_metadata_request_use_connection_ctx"] = client_metadata_request_use_connection_ctx
2917
+ __props__.__dict__["client_prefetch_threads"] = client_prefetch_threads
2918
+ __props__.__dict__["client_result_chunk_size"] = client_result_chunk_size
2919
+ __props__.__dict__["client_result_column_case_insensitive"] = client_result_column_case_insensitive
2920
+ __props__.__dict__["client_session_keep_alive"] = client_session_keep_alive
2921
+ __props__.__dict__["client_session_keep_alive_heartbeat_frequency"] = client_session_keep_alive_heartbeat_frequency
2922
+ __props__.__dict__["client_timestamp_type_mapping"] = client_timestamp_type_mapping
812
2923
  __props__.__dict__["comment"] = comment
2924
+ __props__.__dict__["config"] = config
813
2925
  __props__.__dict__["database"] = database
814
- __props__.__dict__["enabled"] = enabled
2926
+ __props__.__dict__["date_input_format"] = date_input_format
2927
+ __props__.__dict__["date_output_format"] = date_output_format
2928
+ __props__.__dict__["enable_unload_physical_type_optimization"] = enable_unload_physical_type_optimization
815
2929
  __props__.__dict__["error_integration"] = error_integration
2930
+ __props__.__dict__["error_on_nondeterministic_merge"] = error_on_nondeterministic_merge
2931
+ __props__.__dict__["error_on_nondeterministic_update"] = error_on_nondeterministic_update
2932
+ __props__.__dict__["finalize"] = finalize
2933
+ __props__.__dict__["fully_qualified_name"] = fully_qualified_name
2934
+ __props__.__dict__["geography_output_format"] = geography_output_format
2935
+ __props__.__dict__["geometry_output_format"] = geometry_output_format
2936
+ __props__.__dict__["jdbc_treat_timestamp_ntz_as_utc"] = jdbc_treat_timestamp_ntz_as_utc
2937
+ __props__.__dict__["jdbc_use_session_timezone"] = jdbc_use_session_timezone
2938
+ __props__.__dict__["json_indent"] = json_indent
2939
+ __props__.__dict__["lock_timeout"] = lock_timeout
2940
+ __props__.__dict__["log_level"] = log_level
2941
+ __props__.__dict__["multi_statement_count"] = multi_statement_count
816
2942
  __props__.__dict__["name"] = name
2943
+ __props__.__dict__["noorder_sequence_as_default"] = noorder_sequence_as_default
2944
+ __props__.__dict__["odbc_treat_decimal_as_int"] = odbc_treat_decimal_as_int
2945
+ __props__.__dict__["parameters"] = parameters
2946
+ __props__.__dict__["query_tag"] = query_tag
2947
+ __props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
2948
+ __props__.__dict__["rows_per_resultset"] = rows_per_resultset
2949
+ __props__.__dict__["s3_stage_vpce_dns_name"] = s3_stage_vpce_dns_name
817
2950
  __props__.__dict__["schedule"] = schedule
818
2951
  __props__.__dict__["schema"] = schema
819
- __props__.__dict__["session_parameters"] = session_parameters
2952
+ __props__.__dict__["search_path"] = search_path
2953
+ __props__.__dict__["show_outputs"] = show_outputs
820
2954
  __props__.__dict__["sql_statement"] = sql_statement
2955
+ __props__.__dict__["started"] = started
2956
+ __props__.__dict__["statement_queued_timeout_in_seconds"] = statement_queued_timeout_in_seconds
2957
+ __props__.__dict__["statement_timeout_in_seconds"] = statement_timeout_in_seconds
2958
+ __props__.__dict__["strict_json_output"] = strict_json_output
821
2959
  __props__.__dict__["suspend_task_after_num_failures"] = suspend_task_after_num_failures
2960
+ __props__.__dict__["task_auto_retry_attempts"] = task_auto_retry_attempts
2961
+ __props__.__dict__["time_input_format"] = time_input_format
2962
+ __props__.__dict__["time_output_format"] = time_output_format
2963
+ __props__.__dict__["timestamp_day_is_always24h"] = timestamp_day_is_always24h
2964
+ __props__.__dict__["timestamp_input_format"] = timestamp_input_format
2965
+ __props__.__dict__["timestamp_ltz_output_format"] = timestamp_ltz_output_format
2966
+ __props__.__dict__["timestamp_ntz_output_format"] = timestamp_ntz_output_format
2967
+ __props__.__dict__["timestamp_output_format"] = timestamp_output_format
2968
+ __props__.__dict__["timestamp_type_mapping"] = timestamp_type_mapping
2969
+ __props__.__dict__["timestamp_tz_output_format"] = timestamp_tz_output_format
2970
+ __props__.__dict__["timezone"] = timezone
2971
+ __props__.__dict__["trace_level"] = trace_level
2972
+ __props__.__dict__["transaction_abort_on_error"] = transaction_abort_on_error
2973
+ __props__.__dict__["transaction_default_isolation_level"] = transaction_default_isolation_level
2974
+ __props__.__dict__["two_digit_century_start"] = two_digit_century_start
2975
+ __props__.__dict__["unsupported_ddl_action"] = unsupported_ddl_action
2976
+ __props__.__dict__["use_cached_result"] = use_cached_result
822
2977
  __props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
2978
+ __props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
823
2979
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
824
2980
  __props__.__dict__["warehouse"] = warehouse
2981
+ __props__.__dict__["week_of_year_policy"] = week_of_year_policy
2982
+ __props__.__dict__["week_start"] = week_start
825
2983
  __props__.__dict__["when"] = when
826
2984
  return Task(resource_name, opts=opts, __props__=__props__)
827
2985
 
2986
+ @property
2987
+ @pulumi.getter(name="abortDetachedQuery")
2988
+ def abort_detached_query(self) -> pulumi.Output[bool]:
2989
+ """
2990
+ Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
2991
+ """
2992
+ return pulumi.get(self, "abort_detached_query")
2993
+
828
2994
  @property
829
2995
  @pulumi.getter
830
2996
  def afters(self) -> pulumi.Output[Optional[Sequence[str]]]:
831
2997
  """
832
- Specifies one or more predecessor tasks for the current task. Use this option to create a DAG of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies.
2998
+ Specifies one or more predecessor tasks for the current task. Use this option to [create a DAG](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-task-dag) of tasks or add this task to an existing DAG. A DAG is a series of tasks that starts with a scheduled root task and is linked together by dependencies. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
833
2999
  """
834
3000
  return pulumi.get(self, "afters")
835
3001
 
836
3002
  @property
837
3003
  @pulumi.getter(name="allowOverlappingExecution")
838
- def allow_overlapping_execution(self) -> pulumi.Output[Optional[bool]]:
3004
+ def allow_overlapping_execution(self) -> pulumi.Output[Optional[str]]:
839
3005
  """
840
- By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap.
3006
+ By default, Snowflake ensures that only one instance of a particular DAG is allowed to run at a time, setting the parameter value to TRUE permits DAG runs to overlap. 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.
841
3007
  """
842
3008
  return pulumi.get(self, "allow_overlapping_execution")
843
3009
 
3010
+ @property
3011
+ @pulumi.getter
3012
+ def autocommit(self) -> pulumi.Output[bool]:
3013
+ """
3014
+ Specifies whether autocommit is enabled for the session. Autocommit determines whether a DML statement, when executed without an active transaction, is automatically committed after the statement successfully completes. For more information, see [Transactions](https://docs.snowflake.com/en/sql-reference/transactions). For more information, check [AUTOCOMMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#autocommit).
3015
+ """
3016
+ return pulumi.get(self, "autocommit")
3017
+
3018
+ @property
3019
+ @pulumi.getter(name="binaryInputFormat")
3020
+ def binary_input_format(self) -> pulumi.Output[str]:
3021
+ """
3022
+ The format of VARCHAR values passed as input to VARCHAR-to-BINARY conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-input-format).
3023
+ """
3024
+ return pulumi.get(self, "binary_input_format")
3025
+
3026
+ @property
3027
+ @pulumi.getter(name="binaryOutputFormat")
3028
+ def binary_output_format(self) -> pulumi.Output[str]:
3029
+ """
3030
+ The format for VARCHAR values returned as output by BINARY-to-VARCHAR conversion functions. For more information, see [Binary input and output](https://docs.snowflake.com/en/sql-reference/binary-input-output). For more information, check [BINARY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#binary-output-format).
3031
+ """
3032
+ return pulumi.get(self, "binary_output_format")
3033
+
3034
+ @property
3035
+ @pulumi.getter(name="clientMemoryLimit")
3036
+ def client_memory_limit(self) -> pulumi.Output[int]:
3037
+ """
3038
+ Parameter that specifies the maximum amount of memory the JDBC driver or ODBC driver should use for the result set from queries (in MB). For more information, check [CLIENT*MEMORY*LIMIT docs](https://docs.snowflake.com/en/sql-reference/parameters#client-memory-limit).
3039
+ """
3040
+ return pulumi.get(self, "client_memory_limit")
3041
+
3042
+ @property
3043
+ @pulumi.getter(name="clientMetadataRequestUseConnectionCtx")
3044
+ def client_metadata_request_use_connection_ctx(self) -> pulumi.Output[bool]:
3045
+ """
3046
+ For specific ODBC functions and JDBC methods, this parameter can change the default search scope from all databases/schemas to the current database/schema. The narrower search typically returns fewer rows and executes more quickly. For more information, check [CLIENT*METADATA*REQUEST*USE*CONNECTION_CTX docs](https://docs.snowflake.com/en/sql-reference/parameters#client-metadata-request-use-connection-ctx).
3047
+ """
3048
+ return pulumi.get(self, "client_metadata_request_use_connection_ctx")
3049
+
3050
+ @property
3051
+ @pulumi.getter(name="clientPrefetchThreads")
3052
+ def client_prefetch_threads(self) -> pulumi.Output[int]:
3053
+ """
3054
+ Parameter that specifies the number of threads used by the client to pre-fetch large result sets. The driver will attempt to honor the parameter value, but defines the minimum and maximum values (depending on your system’s resources) to improve performance. For more information, check [CLIENT*PREFETCH*THREADS docs](https://docs.snowflake.com/en/sql-reference/parameters#client-prefetch-threads).
3055
+ """
3056
+ return pulumi.get(self, "client_prefetch_threads")
3057
+
3058
+ @property
3059
+ @pulumi.getter(name="clientResultChunkSize")
3060
+ def client_result_chunk_size(self) -> pulumi.Output[int]:
3061
+ """
3062
+ Parameter that specifies the maximum size of each set (or chunk) of query results to download (in MB). The JDBC driver downloads query results in chunks. For more information, check [CLIENT*RESULT*CHUNK_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-chunk-size).
3063
+ """
3064
+ return pulumi.get(self, "client_result_chunk_size")
3065
+
3066
+ @property
3067
+ @pulumi.getter(name="clientResultColumnCaseInsensitive")
3068
+ def client_result_column_case_insensitive(self) -> pulumi.Output[bool]:
3069
+ """
3070
+ Parameter that indicates whether to match column name case-insensitively in ResultSet.get* methods in JDBC. For more information, check [CLIENT*RESULT*COLUMN*CASE*INSENSITIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-result-column-case-insensitive).
3071
+ """
3072
+ return pulumi.get(self, "client_result_column_case_insensitive")
3073
+
3074
+ @property
3075
+ @pulumi.getter(name="clientSessionKeepAlive")
3076
+ def client_session_keep_alive(self) -> pulumi.Output[bool]:
3077
+ """
3078
+ Parameter that indicates whether to force a user to log in again after a period of inactivity in the session. For more information, check [CLIENT*SESSION*KEEP_ALIVE docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive).
3079
+ """
3080
+ return pulumi.get(self, "client_session_keep_alive")
3081
+
3082
+ @property
3083
+ @pulumi.getter(name="clientSessionKeepAliveHeartbeatFrequency")
3084
+ def client_session_keep_alive_heartbeat_frequency(self) -> pulumi.Output[int]:
3085
+ """
3086
+ Number of seconds in-between client attempts to update the token for the session. For more information, check [CLIENT*SESSION*KEEP*ALIVE*HEARTBEAT_FREQUENCY docs](https://docs.snowflake.com/en/sql-reference/parameters#client-session-keep-alive-heartbeat-frequency).
3087
+ """
3088
+ return pulumi.get(self, "client_session_keep_alive_heartbeat_frequency")
3089
+
3090
+ @property
3091
+ @pulumi.getter(name="clientTimestampTypeMapping")
3092
+ def client_timestamp_type_mapping(self) -> pulumi.Output[str]:
3093
+ """
3094
+ Specifies the [TIMESTAMP_* variation](https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#label-datatypes-timestamp-variations) to use when binding timestamp variables for JDBC or ODBC applications that use the bind API to load data. For more information, check [CLIENT*TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#client-timestamp-type-mapping).
3095
+ """
3096
+ return pulumi.get(self, "client_timestamp_type_mapping")
3097
+
844
3098
  @property
845
3099
  @pulumi.getter
846
3100
  def comment(self) -> pulumi.Output[Optional[str]]:
@@ -849,43 +3103,219 @@ class Task(pulumi.CustomResource):
849
3103
  """
850
3104
  return pulumi.get(self, "comment")
851
3105
 
3106
+ @property
3107
+ @pulumi.getter
3108
+ def config(self) -> pulumi.Output[Optional[str]]:
3109
+ """
3110
+ Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
3111
+ """
3112
+ return pulumi.get(self, "config")
3113
+
852
3114
  @property
853
3115
  @pulumi.getter
854
3116
  def database(self) -> pulumi.Output[str]:
855
3117
  """
856
- The database in which to create the task.
3118
+ The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
857
3119
  """
858
3120
  return pulumi.get(self, "database")
859
3121
 
860
3122
  @property
861
- @pulumi.getter
862
- def enabled(self) -> pulumi.Output[Optional[bool]]:
3123
+ @pulumi.getter(name="dateInputFormat")
3124
+ def date_input_format(self) -> pulumi.Output[str]:
3125
+ """
3126
+ Specifies the input format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-input-format).
3127
+ """
3128
+ return pulumi.get(self, "date_input_format")
3129
+
3130
+ @property
3131
+ @pulumi.getter(name="dateOutputFormat")
3132
+ def date_output_format(self) -> pulumi.Output[str]:
863
3133
  """
864
- Specifies if the task should be started (enabled) after creation or should remain suspended (default).
3134
+ Specifies the display format for the DATE data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [DATE*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#date-output-format).
865
3135
  """
866
- return pulumi.get(self, "enabled")
3136
+ return pulumi.get(self, "date_output_format")
3137
+
3138
+ @property
3139
+ @pulumi.getter(name="enableUnloadPhysicalTypeOptimization")
3140
+ def enable_unload_physical_type_optimization(self) -> pulumi.Output[bool]:
3141
+ """
3142
+ Specifies whether to set the schema for unloaded Parquet files based on the logical column data types (i.e. the types in the unload SQL query or source table) or on the unloaded column values (i.e. the smallest data types and precision that support the values in the output columns of the unload SQL statement or source table). For more information, check [ENABLE*UNLOAD*PHYSICAL*TYPE*OPTIMIZATION docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-unload-physical-type-optimization).
3143
+ """
3144
+ return pulumi.get(self, "enable_unload_physical_type_optimization")
867
3145
 
868
3146
  @property
869
3147
  @pulumi.getter(name="errorIntegration")
870
3148
  def error_integration(self) -> pulumi.Output[Optional[str]]:
871
3149
  """
872
- Specifies the name of the notification integration used for error notifications.
3150
+ Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
873
3151
  """
874
3152
  return pulumi.get(self, "error_integration")
875
3153
 
3154
+ @property
3155
+ @pulumi.getter(name="errorOnNondeterministicMerge")
3156
+ def error_on_nondeterministic_merge(self) -> pulumi.Output[bool]:
3157
+ """
3158
+ Specifies whether to return an error when the [MERGE](https://docs.snowflake.com/en/sql-reference/sql/merge) command is used to update or delete a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_MERGE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-merge).
3159
+ """
3160
+ return pulumi.get(self, "error_on_nondeterministic_merge")
3161
+
3162
+ @property
3163
+ @pulumi.getter(name="errorOnNondeterministicUpdate")
3164
+ def error_on_nondeterministic_update(self) -> pulumi.Output[bool]:
3165
+ """
3166
+ Specifies whether to return an error when the [UPDATE](https://docs.snowflake.com/en/sql-reference/sql/update) command is used to update a target row that joins multiple source rows and the system cannot determine the action to perform on the target row. For more information, check [ERROR*ON*NONDETERMINISTIC_UPDATE docs](https://docs.snowflake.com/en/sql-reference/parameters#error-on-nondeterministic-update).
3167
+ """
3168
+ return pulumi.get(self, "error_on_nondeterministic_update")
3169
+
3170
+ @property
3171
+ @pulumi.getter
3172
+ def finalize(self) -> pulumi.Output[Optional[str]]:
3173
+ """
3174
+ Specifies the name of a root task that the finalizer task is associated with. Finalizer tasks run after all other tasks in the task graph run to completion. You can define the SQL of a finalizer task to handle notifications and the release and cleanup of resources that a task graph uses. For more information, see [Release and cleanup of task graphs](https://docs.snowflake.com/en/user-guide/tasks-graphs.html#label-finalizer-task). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
3175
+ """
3176
+ return pulumi.get(self, "finalize")
3177
+
3178
+ @property
3179
+ @pulumi.getter(name="fullyQualifiedName")
3180
+ def fully_qualified_name(self) -> pulumi.Output[str]:
3181
+ """
3182
+ Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
3183
+ """
3184
+ return pulumi.get(self, "fully_qualified_name")
3185
+
3186
+ @property
3187
+ @pulumi.getter(name="geographyOutputFormat")
3188
+ def geography_output_format(self) -> pulumi.Output[str]:
3189
+ """
3190
+ Display format for [GEOGRAPHY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geography). For more information, check [GEOGRAPHY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geography-output-format).
3191
+ """
3192
+ return pulumi.get(self, "geography_output_format")
3193
+
3194
+ @property
3195
+ @pulumi.getter(name="geometryOutputFormat")
3196
+ def geometry_output_format(self) -> pulumi.Output[str]:
3197
+ """
3198
+ Display format for [GEOMETRY values](https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#label-data-types-geometry). For more information, check [GEOMETRY*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#geometry-output-format).
3199
+ """
3200
+ return pulumi.get(self, "geometry_output_format")
3201
+
3202
+ @property
3203
+ @pulumi.getter(name="jdbcTreatTimestampNtzAsUtc")
3204
+ def jdbc_treat_timestamp_ntz_as_utc(self) -> pulumi.Output[bool]:
3205
+ """
3206
+ Specifies how JDBC processes TIMESTAMP*NTZ values. For more information, check [JDBC*TREAT*TIMESTAMP*NTZ*AS*UTC docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-treat-timestamp-ntz-as-utc).
3207
+ """
3208
+ return pulumi.get(self, "jdbc_treat_timestamp_ntz_as_utc")
3209
+
3210
+ @property
3211
+ @pulumi.getter(name="jdbcUseSessionTimezone")
3212
+ def jdbc_use_session_timezone(self) -> pulumi.Output[bool]:
3213
+ """
3214
+ Specifies whether the JDBC Driver uses the time zone of the JVM or the time zone of the session (specified by the [TIMEZONE](https://docs.snowflake.com/en/sql-reference/parameters#label-timezone) parameter) for the getDate(), getTime(), and getTimestamp() methods of the ResultSet class. For more information, check [JDBC*USE*SESSION_TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#jdbc-use-session-timezone).
3215
+ """
3216
+ return pulumi.get(self, "jdbc_use_session_timezone")
3217
+
3218
+ @property
3219
+ @pulumi.getter(name="jsonIndent")
3220
+ def json_indent(self) -> pulumi.Output[int]:
3221
+ """
3222
+ Specifies the number of blank spaces to indent each new element in JSON output in the session. Also specifies whether to insert newline characters after each element. For more information, check [JSON_INDENT docs](https://docs.snowflake.com/en/sql-reference/parameters#json-indent).
3223
+ """
3224
+ return pulumi.get(self, "json_indent")
3225
+
3226
+ @property
3227
+ @pulumi.getter(name="lockTimeout")
3228
+ def lock_timeout(self) -> pulumi.Output[int]:
3229
+ """
3230
+ Number of seconds to wait while trying to lock a resource, before timing out and aborting the statement. For more information, check [LOCK_TIMEOUT docs](https://docs.snowflake.com/en/sql-reference/parameters#lock-timeout).
3231
+ """
3232
+ return pulumi.get(self, "lock_timeout")
3233
+
3234
+ @property
3235
+ @pulumi.getter(name="logLevel")
3236
+ def log_level(self) -> pulumi.Output[str]:
3237
+ """
3238
+ Specifies the severity level of messages that should be ingested and made available in the active event table. Messages at the specified level (and at more severe levels) are ingested. For more information about log levels, see [Setting log level](https://docs.snowflake.com/en/developer-guide/logging-tracing/logging-log-level). For more information, check [LOG_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
3239
+ """
3240
+ return pulumi.get(self, "log_level")
3241
+
3242
+ @property
3243
+ @pulumi.getter(name="multiStatementCount")
3244
+ def multi_statement_count(self) -> pulumi.Output[int]:
3245
+ """
3246
+ Number of statements to execute when using the multi-statement capability. For more information, check [MULTI*STATEMENT*COUNT docs](https://docs.snowflake.com/en/sql-reference/parameters#multi-statement-count).
3247
+ """
3248
+ return pulumi.get(self, "multi_statement_count")
3249
+
876
3250
  @property
877
3251
  @pulumi.getter
878
3252
  def name(self) -> pulumi.Output[str]:
879
3253
  """
880
- Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
3254
+ Specifies the identifier for the task; must be unique for the database and schema in which the task is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
881
3255
  """
882
3256
  return pulumi.get(self, "name")
883
3257
 
3258
+ @property
3259
+ @pulumi.getter(name="noorderSequenceAsDefault")
3260
+ def noorder_sequence_as_default(self) -> pulumi.Output[bool]:
3261
+ """
3262
+ Specifies whether the ORDER or NOORDER property is set by default when you create a new sequence or add a new table column. The ORDER and NOORDER properties determine whether or not the values are generated for the sequence or auto-incremented column in [increasing or decreasing order](https://docs.snowflake.com/en/user-guide/querying-sequences.html#label-querying-sequences-increasing-values). For more information, check [NOORDER*SEQUENCE*AS_DEFAULT docs](https://docs.snowflake.com/en/sql-reference/parameters#noorder-sequence-as-default).
3263
+ """
3264
+ return pulumi.get(self, "noorder_sequence_as_default")
3265
+
3266
+ @property
3267
+ @pulumi.getter(name="odbcTreatDecimalAsInt")
3268
+ def odbc_treat_decimal_as_int(self) -> pulumi.Output[bool]:
3269
+ """
3270
+ Specifies how ODBC processes columns that have a scale of zero (0). For more information, check [ODBC*TREAT*DECIMAL*AS*INT docs](https://docs.snowflake.com/en/sql-reference/parameters#odbc-treat-decimal-as-int).
3271
+ """
3272
+ return pulumi.get(self, "odbc_treat_decimal_as_int")
3273
+
3274
+ @property
3275
+ @pulumi.getter
3276
+ def parameters(self) -> pulumi.Output[Sequence['outputs.TaskParameter']]:
3277
+ """
3278
+ Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
3279
+ """
3280
+ return pulumi.get(self, "parameters")
3281
+
3282
+ @property
3283
+ @pulumi.getter(name="queryTag")
3284
+ def query_tag(self) -> pulumi.Output[str]:
3285
+ """
3286
+ Optional string that can be used to tag queries and other SQL statements executed within a session. The tags are displayed in the output of the [QUERY*HISTORY, QUERY*HISTORY*BY**](https://docs.snowflake.com/en/sql-reference/functions/query_history) functions. For more information, check [QUERY_TAG docs](https://docs.snowflake.com/en/sql-reference/parameters#query-tag).
3287
+ """
3288
+ return pulumi.get(self, "query_tag")
3289
+
3290
+ @property
3291
+ @pulumi.getter(name="quotedIdentifiersIgnoreCase")
3292
+ def quoted_identifiers_ignore_case(self) -> pulumi.Output[bool]:
3293
+ """
3294
+ Specifies whether letters in double-quoted object identifiers are stored and resolved as uppercase letters. By default, Snowflake preserves the case of alphabetic characters when storing and resolving double-quoted identifiers (see [Identifier resolution](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing)). You can use this parameter in situations in which [third-party applications always use double quotes around identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html#label-identifier-casing-parameter). For more information, check [QUOTED*IDENTIFIERS*IGNORE_CASE docs](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
3295
+ """
3296
+ return pulumi.get(self, "quoted_identifiers_ignore_case")
3297
+
3298
+ @property
3299
+ @pulumi.getter(name="rowsPerResultset")
3300
+ def rows_per_resultset(self) -> pulumi.Output[int]:
3301
+ """
3302
+ Specifies the maximum number of rows returned in a result set. A value of 0 specifies no maximum. For more information, check [ROWS*PER*RESULTSET docs](https://docs.snowflake.com/en/sql-reference/parameters#rows-per-resultset).
3303
+ """
3304
+ return pulumi.get(self, "rows_per_resultset")
3305
+
3306
+ @property
3307
+ @pulumi.getter(name="s3StageVpceDnsName")
3308
+ def s3_stage_vpce_dns_name(self) -> pulumi.Output[str]:
3309
+ """
3310
+ Specifies the DNS name of an Amazon S3 interface endpoint. Requests sent to the internal stage of an account via [AWS PrivateLink for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html) use this endpoint to connect. For more information, see [Accessing Internal stages with dedicated interface endpoints](https://docs.snowflake.com/en/user-guide/private-internal-stages-aws.html#label-aws-privatelink-internal-stage-network-isolation). For more information, check [S3*STAGE*VPCE*DNS*NAME docs](https://docs.snowflake.com/en/sql-reference/parameters#s3-stage-vpce-dns-name).
3311
+ """
3312
+ return pulumi.get(self, "s3_stage_vpce_dns_name")
3313
+
884
3314
  @property
885
3315
  @pulumi.getter
886
- def schedule(self) -> pulumi.Output[Optional[str]]:
3316
+ def schedule(self) -> pulumi.Output[Optional['outputs.TaskSchedule']]:
887
3317
  """
888
- The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
3318
+ The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflicts with finalize and after; when set, one of the sub-fields `minutes` or `using_cron` should be set)
889
3319
  """
890
3320
  return pulumi.get(self, "schedule")
891
3321
 
@@ -893,17 +3323,25 @@ class Task(pulumi.CustomResource):
893
3323
  @pulumi.getter
894
3324
  def schema(self) -> pulumi.Output[str]:
895
3325
  """
896
- The schema in which to create the task.
3326
+ The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
897
3327
  """
898
3328
  return pulumi.get(self, "schema")
899
3329
 
900
3330
  @property
901
- @pulumi.getter(name="sessionParameters")
902
- def session_parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
3331
+ @pulumi.getter(name="searchPath")
3332
+ def search_path(self) -> pulumi.Output[str]:
3333
+ """
3334
+ Specifies the path to search to resolve unqualified object names in queries. For more information, see [Name resolution in queries](https://docs.snowflake.com/en/sql-reference/name-resolution.html#label-object-name-resolution-search-path). Comma-separated list of identifiers. An identifier can be a fully or partially qualified schema name. For more information, check [SEARCH_PATH docs](https://docs.snowflake.com/en/sql-reference/parameters#search-path).
3335
+ """
3336
+ return pulumi.get(self, "search_path")
3337
+
3338
+ @property
3339
+ @pulumi.getter(name="showOutputs")
3340
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.TaskShowOutput']]:
903
3341
  """
904
- Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
3342
+ Outputs the result of `SHOW TASKS` for the given task.
905
3343
  """
906
- return pulumi.get(self, "session_parameters")
3344
+ return pulumi.get(self, "show_outputs")
907
3345
 
908
3346
  @property
909
3347
  @pulumi.getter(name="sqlStatement")
@@ -913,27 +3351,203 @@ class Task(pulumi.CustomResource):
913
3351
  """
914
3352
  return pulumi.get(self, "sql_statement")
915
3353
 
3354
+ @property
3355
+ @pulumi.getter
3356
+ def started(self) -> pulumi.Output[bool]:
3357
+ """
3358
+ Specifies if the task should be started or suspended.
3359
+ """
3360
+ return pulumi.get(self, "started")
3361
+
3362
+ @property
3363
+ @pulumi.getter(name="statementQueuedTimeoutInSeconds")
3364
+ def statement_queued_timeout_in_seconds(self) -> pulumi.Output[int]:
3365
+ """
3366
+ Amount of time, in seconds, a SQL statement (query, DDL, DML, etc.) remains queued for a warehouse before it is canceled by the system. This parameter can be used in conjunction with the [MAX*CONCURRENCY*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters#label-max-concurrency-level) parameter to ensure a warehouse is never backlogged. For more information, check [STATEMENT*QUEUED*TIMEOUT*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-queued-timeout-in-seconds).
3367
+ """
3368
+ return pulumi.get(self, "statement_queued_timeout_in_seconds")
3369
+
3370
+ @property
3371
+ @pulumi.getter(name="statementTimeoutInSeconds")
3372
+ def statement_timeout_in_seconds(self) -> pulumi.Output[int]:
3373
+ """
3374
+ Amount of time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system. For more information, check [STATEMENT*TIMEOUT*IN_SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#statement-timeout-in-seconds).
3375
+ """
3376
+ return pulumi.get(self, "statement_timeout_in_seconds")
3377
+
3378
+ @property
3379
+ @pulumi.getter(name="strictJsonOutput")
3380
+ def strict_json_output(self) -> pulumi.Output[bool]:
3381
+ """
3382
+ This parameter specifies whether JSON output in a session is compatible with the general standard (as described by [http://json.org](http://json.org)). By design, Snowflake allows JSON input that contains non-standard values; however, these non-standard values might result in Snowflake outputting JSON that is incompatible with other platforms and languages. This parameter, when enabled, ensures that Snowflake outputs valid/compatible JSON. For more information, check [STRICT*JSON*OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#strict-json-output).
3383
+ """
3384
+ return pulumi.get(self, "strict_json_output")
3385
+
916
3386
  @property
917
3387
  @pulumi.getter(name="suspendTaskAfterNumFailures")
918
- def suspend_task_after_num_failures(self) -> pulumi.Output[Optional[int]]:
3388
+ def suspend_task_after_num_failures(self) -> pulumi.Output[int]:
919
3389
  """
920
- Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
3390
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension). For more information, check [SUSPEND*TASK*AFTER*NUM*FAILURES docs](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
921
3391
  """
922
3392
  return pulumi.get(self, "suspend_task_after_num_failures")
923
3393
 
3394
+ @property
3395
+ @pulumi.getter(name="taskAutoRetryAttempts")
3396
+ def task_auto_retry_attempts(self) -> pulumi.Output[int]:
3397
+ """
3398
+ Specifies the number of automatic task graph retry attempts. If any task graphs complete in a FAILED state, Snowflake can automatically retry the task graphs from the last task in the graph that failed. For more information, check [TASK*AUTO*RETRY_ATTEMPTS docs](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
3399
+ """
3400
+ return pulumi.get(self, "task_auto_retry_attempts")
3401
+
3402
+ @property
3403
+ @pulumi.getter(name="timeInputFormat")
3404
+ def time_input_format(self) -> pulumi.Output[str]:
3405
+ """
3406
+ Specifies the input format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported time format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of times stored in the system during the session). For more information, check [TIME*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-input-format).
3407
+ """
3408
+ return pulumi.get(self, "time_input_format")
3409
+
3410
+ @property
3411
+ @pulumi.getter(name="timeOutputFormat")
3412
+ def time_output_format(self) -> pulumi.Output[str]:
3413
+ """
3414
+ Specifies the display format for the TIME data type. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIME*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#time-output-format).
3415
+ """
3416
+ return pulumi.get(self, "time_output_format")
3417
+
3418
+ @property
3419
+ @pulumi.getter(name="timestampDayIsAlways24h")
3420
+ def timestamp_day_is_always24h(self) -> pulumi.Output[bool]:
3421
+ """
3422
+ Specifies whether the [DATEADD](https://docs.snowflake.com/en/sql-reference/functions/dateadd) function (and its aliases) always consider a day to be exactly 24 hours for expressions that span multiple days. For more information, check [TIMESTAMP*DAY*IS*ALWAYS*24H docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-day-is-always-24h).
3423
+ """
3424
+ return pulumi.get(self, "timestamp_day_is_always24h")
3425
+
3426
+ @property
3427
+ @pulumi.getter(name="timestampInputFormat")
3428
+ def timestamp_input_format(self) -> pulumi.Output[str]:
3429
+ """
3430
+ Specifies the input format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). Any valid, supported timestamp format or AUTO (AUTO specifies that Snowflake attempts to automatically detect the format of timestamps stored in the system during the session). For more information, check [TIMESTAMP*INPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-input-format).
3431
+ """
3432
+ return pulumi.get(self, "timestamp_input_format")
3433
+
3434
+ @property
3435
+ @pulumi.getter(name="timestampLtzOutputFormat")
3436
+ def timestamp_ltz_output_format(self) -> pulumi.Output[str]:
3437
+ """
3438
+ Specifies the display format for the TIMESTAMP*LTZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*LTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ltz-output-format).
3439
+ """
3440
+ return pulumi.get(self, "timestamp_ltz_output_format")
3441
+
3442
+ @property
3443
+ @pulumi.getter(name="timestampNtzOutputFormat")
3444
+ def timestamp_ntz_output_format(self) -> pulumi.Output[str]:
3445
+ """
3446
+ Specifies the display format for the TIMESTAMP*NTZ data type. For more information, check [TIMESTAMP*NTZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-ntz-output-format).
3447
+ """
3448
+ return pulumi.get(self, "timestamp_ntz_output_format")
3449
+
3450
+ @property
3451
+ @pulumi.getter(name="timestampOutputFormat")
3452
+ def timestamp_output_format(self) -> pulumi.Output[str]:
3453
+ """
3454
+ Specifies the display format for the TIMESTAMP data type alias. For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-output-format).
3455
+ """
3456
+ return pulumi.get(self, "timestamp_output_format")
3457
+
3458
+ @property
3459
+ @pulumi.getter(name="timestampTypeMapping")
3460
+ def timestamp_type_mapping(self) -> pulumi.Output[str]:
3461
+ """
3462
+ Specifies the TIMESTAMP** variation that the TIMESTAMP data type alias maps to. For more information, check [TIMESTAMP*TYPE_MAPPING docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-type-mapping).
3463
+ """
3464
+ return pulumi.get(self, "timestamp_type_mapping")
3465
+
3466
+ @property
3467
+ @pulumi.getter(name="timestampTzOutputFormat")
3468
+ def timestamp_tz_output_format(self) -> pulumi.Output[str]:
3469
+ """
3470
+ Specifies the display format for the TIMESTAMP*TZ data type. If no format is specified, defaults to [TIMESTAMP*OUTPUT*FORMAT](https://docs.snowflake.com/en/sql-reference/parameters#label-timestamp-output-format). For more information, see [Date and time input and output formats](https://docs.snowflake.com/en/sql-reference/date-time-input-output). For more information, check [TIMESTAMP*TZ*OUTPUT*FORMAT docs](https://docs.snowflake.com/en/sql-reference/parameters#timestamp-tz-output-format).
3471
+ """
3472
+ return pulumi.get(self, "timestamp_tz_output_format")
3473
+
3474
+ @property
3475
+ @pulumi.getter
3476
+ def timezone(self) -> pulumi.Output[str]:
3477
+ """
3478
+ Specifies the time zone for the session. You can specify a [time zone name](https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab) or a [link name](https://data.iana.org/time-zones/tzdb-2021a/backward) from release 2021a of the [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/Los_Angeles, Europe/London, UTC, Etc/GMT, etc.). For more information, check [TIMEZONE docs](https://docs.snowflake.com/en/sql-reference/parameters#timezone).
3479
+ """
3480
+ return pulumi.get(self, "timezone")
3481
+
3482
+ @property
3483
+ @pulumi.getter(name="traceLevel")
3484
+ def trace_level(self) -> pulumi.Output[str]:
3485
+ """
3486
+ Controls how trace events are ingested into the event table. For more information about trace levels, see [Setting trace level](https://docs.snowflake.com/en/developer-guide/logging-tracing/tracing-trace-level). For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
3487
+ """
3488
+ return pulumi.get(self, "trace_level")
3489
+
3490
+ @property
3491
+ @pulumi.getter(name="transactionAbortOnError")
3492
+ def transaction_abort_on_error(self) -> pulumi.Output[bool]:
3493
+ """
3494
+ Specifies the action to perform when a statement issued within a non-autocommit transaction returns with an error. For more information, check [TRANSACTION*ABORT*ON_ERROR docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-abort-on-error).
3495
+ """
3496
+ return pulumi.get(self, "transaction_abort_on_error")
3497
+
3498
+ @property
3499
+ @pulumi.getter(name="transactionDefaultIsolationLevel")
3500
+ def transaction_default_isolation_level(self) -> pulumi.Output[str]:
3501
+ """
3502
+ Specifies the isolation level for transactions in the user session. For more information, check [TRANSACTION*DEFAULT*ISOLATION_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#transaction-default-isolation-level).
3503
+ """
3504
+ return pulumi.get(self, "transaction_default_isolation_level")
3505
+
3506
+ @property
3507
+ @pulumi.getter(name="twoDigitCenturyStart")
3508
+ def two_digit_century_start(self) -> pulumi.Output[int]:
3509
+ """
3510
+ Specifies the “century start” year for 2-digit years (i.e. the earliest year such dates can represent). This parameter prevents ambiguous dates when importing or converting data with the `YY` date format component (i.e. years represented as 2 digits). For more information, check [TWO*DIGIT*CENTURY_START docs](https://docs.snowflake.com/en/sql-reference/parameters#two-digit-century-start).
3511
+ """
3512
+ return pulumi.get(self, "two_digit_century_start")
3513
+
3514
+ @property
3515
+ @pulumi.getter(name="unsupportedDdlAction")
3516
+ def unsupported_ddl_action(self) -> pulumi.Output[str]:
3517
+ """
3518
+ Determines if an unsupported (i.e. non-default) value specified for a constraint property returns an error. For more information, check [UNSUPPORTED*DDL*ACTION docs](https://docs.snowflake.com/en/sql-reference/parameters#unsupported-ddl-action).
3519
+ """
3520
+ return pulumi.get(self, "unsupported_ddl_action")
3521
+
3522
+ @property
3523
+ @pulumi.getter(name="useCachedResult")
3524
+ def use_cached_result(self) -> pulumi.Output[bool]:
3525
+ """
3526
+ Specifies whether to reuse persisted query results, if available, when a matching query is submitted. For more information, check [USE*CACHED*RESULT docs](https://docs.snowflake.com/en/sql-reference/parameters#use-cached-result).
3527
+ """
3528
+ return pulumi.get(self, "use_cached_result")
3529
+
924
3530
  @property
925
3531
  @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
926
- def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[Optional[str]]:
3532
+ def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[str]:
927
3533
  """
928
- Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. (Conflicts with warehouse)
3534
+ Specifies the size of the compute resources to provision for the first run of the task, before a task history is available for Snowflake to determine an ideal size. Once a task has successfully completed a few runs, Snowflake ignores this parameter setting. Valid values are (case-insensitive): %s. (Conflicts with warehouse). For more information about warehouses, see docs. For more information, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
929
3535
  """
930
3536
  return pulumi.get(self, "user_task_managed_initial_warehouse_size")
931
3537
 
3538
+ @property
3539
+ @pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
3540
+ def user_task_minimum_trigger_interval_in_seconds(self) -> pulumi.Output[int]:
3541
+ """
3542
+ Minimum amount of time between Triggered Task executions in seconds For more information, check [USER*TASK*MINIMUM*TRIGGER*INTERVAL*IN*SECONDS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-minimum-trigger-interval-in-seconds).
3543
+ """
3544
+ return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
3545
+
932
3546
  @property
933
3547
  @pulumi.getter(name="userTaskTimeoutMs")
934
- def user_task_timeout_ms(self) -> pulumi.Output[Optional[int]]:
3548
+ def user_task_timeout_ms(self) -> pulumi.Output[int]:
935
3549
  """
936
- Specifies the time limit on a single run of the task before it times out (in milliseconds).
3550
+ Specifies the time limit on a single run of the task before it times out (in milliseconds). For more information, check [USER*TASK*TIMEOUT_MS docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
937
3551
  """
938
3552
  return pulumi.get(self, "user_task_timeout_ms")
939
3553
 
@@ -941,15 +3555,31 @@ class Task(pulumi.CustomResource):
941
3555
  @pulumi.getter
942
3556
  def warehouse(self) -> pulumi.Output[Optional[str]]:
943
3557
  """
944
- The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. (Conflicts with user*task*managed*initial*warehouse_size)
3558
+ The warehouse the task will use. Omit this parameter to use Snowflake-managed compute resources for runs of this task. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. (Conflicts with user*task*managed*initial*warehouse_size) For more information about this resource, see docs.
945
3559
  """
946
3560
  return pulumi.get(self, "warehouse")
947
3561
 
3562
+ @property
3563
+ @pulumi.getter(name="weekOfYearPolicy")
3564
+ def week_of_year_policy(self) -> pulumi.Output[int]:
3565
+ """
3566
+ Specifies how the weeks in a given year are computed. `0`: The semantics used are equivalent to the ISO semantics, in which a week belongs to a given year if at least 4 days of that week are in that year. `1`: January 1 is included in the first week of the year and December 31 is included in the last week of the year. For more information, check [WEEK*OF*YEAR_POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#week-of-year-policy).
3567
+ """
3568
+ return pulumi.get(self, "week_of_year_policy")
3569
+
3570
+ @property
3571
+ @pulumi.getter(name="weekStart")
3572
+ def week_start(self) -> pulumi.Output[int]:
3573
+ """
3574
+ Specifies the first day of the week (used by week-related date functions). `0`: Legacy Snowflake behavior is used (i.e. ISO-like semantics). `1` (Monday) to `7` (Sunday): All the week-related functions use weeks that start on the specified day of the week. For more information, check [WEEK_START docs](https://docs.snowflake.com/en/sql-reference/parameters#week-start).
3575
+ """
3576
+ return pulumi.get(self, "week_start")
3577
+
948
3578
  @property
949
3579
  @pulumi.getter
950
3580
  def when(self) -> pulumi.Output[Optional[str]]:
951
3581
  """
952
- Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
3582
+ Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported. When a task is triggered (based on its SCHEDULE or AFTER setting), it validates the conditions of the expression to determine whether to execute. If the conditions of the expression are not met, then the task skips the current run. Any tasks that identify this task as a predecessor also don’t run.
953
3583
  """
954
3584
  return pulumi.get(self, "when")
955
3585