pulumi-snowflake 0.62.0a1732688512__py3-none-any.whl → 0.63.0a1732774995__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 (49) hide show
  1. pulumi_snowflake/__init__.py +1 -0
  2. pulumi_snowflake/_inputs.py +6620 -588
  3. pulumi_snowflake/account_role.py +7 -7
  4. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +7 -7
  5. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +7 -7
  6. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +7 -7
  7. pulumi_snowflake/authentication_policy.py +21 -21
  8. pulumi_snowflake/database.py +7 -7
  9. pulumi_snowflake/database_role.py +14 -14
  10. pulumi_snowflake/external_oauth_integration.py +7 -7
  11. pulumi_snowflake/external_volume.py +7 -7
  12. pulumi_snowflake/get_tags.py +134 -0
  13. pulumi_snowflake/get_tasks.py +125 -56
  14. pulumi_snowflake/legacy_service_user.py +7 -7
  15. pulumi_snowflake/masking_policy.py +21 -21
  16. pulumi_snowflake/network_policy.py +7 -7
  17. pulumi_snowflake/oauth_integration_for_custom_clients.py +7 -7
  18. pulumi_snowflake/oauth_integration_for_partner_applications.py +7 -7
  19. pulumi_snowflake/outputs.py +12197 -5310
  20. pulumi_snowflake/password_policy.py +2 -4
  21. pulumi_snowflake/primary_connection.py +7 -7
  22. pulumi_snowflake/pulumi-plugin.json +1 -1
  23. pulumi_snowflake/resource_monitor.py +7 -7
  24. pulumi_snowflake/role.py +7 -7
  25. pulumi_snowflake/row_access_policy.py +21 -21
  26. pulumi_snowflake/saml2_integration.py +7 -7
  27. pulumi_snowflake/scim_integration.py +7 -7
  28. pulumi_snowflake/secondary_connection.py +7 -7
  29. pulumi_snowflake/secondary_database.py +7 -7
  30. pulumi_snowflake/secret_with_authorization_code_grant.py +21 -21
  31. pulumi_snowflake/secret_with_basic_authentication.py +21 -21
  32. pulumi_snowflake/secret_with_client_credentials.py +21 -21
  33. pulumi_snowflake/secret_with_generic_string.py +21 -21
  34. pulumi_snowflake/service_user.py +7 -7
  35. pulumi_snowflake/shared_database.py +7 -7
  36. pulumi_snowflake/storage_integration.py +13 -0
  37. pulumi_snowflake/stream_on_directory_table.py +28 -28
  38. pulumi_snowflake/stream_on_external_table.py +28 -28
  39. pulumi_snowflake/stream_on_table.py +28 -28
  40. pulumi_snowflake/stream_on_view.py +28 -28
  41. pulumi_snowflake/tag.py +109 -36
  42. pulumi_snowflake/task.py +3008 -317
  43. pulumi_snowflake/user.py +7 -7
  44. pulumi_snowflake/view.py +21 -21
  45. pulumi_snowflake/warehouse.py +7 -7
  46. {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/METADATA +1 -1
  47. {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/RECORD +49 -48
  48. {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/WHEEL +0 -0
  49. {pulumi_snowflake-0.62.0a1732688512.dist-info → pulumi_snowflake-0.63.0a1732774995.dist-info}/top_level.txt +0 -0
pulumi_snowflake/task.py CHANGED
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = ['TaskArgs', 'Task']
18
20
 
@@ -22,65 +24,288 @@ class TaskArgs:
22
24
  database: pulumi.Input[str],
23
25
  schema: pulumi.Input[str],
24
26
  sql_statement: pulumi.Input[str],
27
+ started: pulumi.Input[bool],
28
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
25
29
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
- 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,
27
42
  comment: Optional[pulumi.Input[str]] = None,
28
- 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,
29
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,
30
59
  name: Optional[pulumi.Input[str]] = None,
31
- schedule: Optional[pulumi.Input[str]] = None,
32
- 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,
33
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,
34
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,
35
91
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
36
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,
37
95
  when: Optional[pulumi.Input[str]] = None):
38
96
  """
39
97
  The set of arguments for constructing a Task resource.
40
- :param pulumi.Input[str] database: The database in which to create the task.
41
- :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: `|`, `.`, `"`
42
100
  :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
43
- :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.
44
- :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).
45
116
  :param pulumi.Input[str] comment: Specifies a comment for the task.
46
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
47
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
48
- :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.
49
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
50
- :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.
51
- :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).
52
- :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)
53
- :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).
54
- :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)
55
- :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: `|`, `.`, `"`
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, 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)
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.
56
170
  """
57
171
  pulumi.set(__self__, "database", database)
58
172
  pulumi.set(__self__, "schema", schema)
59
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)
60
177
  if afters is not None:
61
178
  pulumi.set(__self__, "afters", afters)
62
179
  if allow_overlapping_execution is not None:
63
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)
64
203
  if comment is not None:
65
204
  pulumi.set(__self__, "comment", comment)
66
- if enabled is not None:
67
- 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)
68
213
  if error_integration is not None:
69
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)
70
237
  if name is not None:
71
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)
72
251
  if schedule is not None:
73
252
  pulumi.set(__self__, "schedule", schedule)
74
- if session_parameters is not None:
75
- 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)
76
261
  if suspend_task_after_num_failures is not None:
77
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)
78
297
  if user_task_managed_initial_warehouse_size is not None:
79
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)
80
301
  if user_task_timeout_ms is not None:
81
302
  pulumi.set(__self__, "user_task_timeout_ms", user_task_timeout_ms)
82
303
  if warehouse is not None:
83
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)
84
309
  if when is not None:
85
310
  pulumi.set(__self__, "when", when)
86
311
 
@@ -88,7 +313,7 @@ class TaskArgs:
88
313
  @pulumi.getter
89
314
  def database(self) -> pulumi.Input[str]:
90
315
  """
91
- 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: `|`, `.`, `"`
92
317
  """
93
318
  return pulumi.get(self, "database")
94
319
 
@@ -100,7 +325,7 @@ class TaskArgs:
100
325
  @pulumi.getter
101
326
  def schema(self) -> pulumi.Input[str]:
102
327
  """
103
- 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: `|`, `.`, `"`
104
329
  """
105
330
  return pulumi.get(self, "schema")
106
331
 
@@ -120,11 +345,35 @@ class TaskArgs:
120
345
  def sql_statement(self, value: pulumi.Input[str]):
121
346
  pulumi.set(self, "sql_statement", value)
122
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
+
123
372
  @property
124
373
  @pulumi.getter
125
374
  def afters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
126
375
  """
127
- 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: `|`, `.`, `"`
128
377
  """
129
378
  return pulumi.get(self, "afters")
130
379
 
@@ -134,16 +383,148 @@ class TaskArgs:
134
383
 
135
384
  @property
136
385
  @pulumi.getter(name="allowOverlappingExecution")
137
- def allow_overlapping_execution(self) -> Optional[pulumi.Input[bool]]:
386
+ def allow_overlapping_execution(self) -> Optional[pulumi.Input[str]]:
138
387
  """
139
- 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.
140
389
  """
141
390
  return pulumi.get(self, "allow_overlapping_execution")
142
391
 
143
392
  @allow_overlapping_execution.setter
144
- def allow_overlapping_execution(self, value: Optional[pulumi.Input[bool]]):
393
+ def allow_overlapping_execution(self, value: Optional[pulumi.Input[str]]):
145
394
  pulumi.set(self, "allow_overlapping_execution", value)
146
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
+
147
528
  @property
148
529
  @pulumi.getter
149
530
  def comment(self) -> Optional[pulumi.Input[str]]:
@@ -158,21 +539,57 @@ class TaskArgs:
158
539
 
159
540
  @property
160
541
  @pulumi.getter
161
- 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]]:
162
579
  """
163
- 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).
164
581
  """
165
- return pulumi.get(self, "enabled")
582
+ return pulumi.get(self, "enable_unload_physical_type_optimization")
166
583
 
167
- @enabled.setter
168
- def enabled(self, value: Optional[pulumi.Input[bool]]):
169
- 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)
170
587
 
171
588
  @property
172
589
  @pulumi.getter(name="errorIntegration")
173
590
  def error_integration(self) -> Optional[pulumi.Input[str]]:
174
591
  """
175
- 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: `|`, `.`, `"`
176
593
  """
177
594
  return pulumi.get(self, "error_integration")
178
595
 
@@ -181,326 +598,286 @@ class TaskArgs:
181
598
  pulumi.set(self, "error_integration", value)
182
599
 
183
600
  @property
184
- @pulumi.getter
185
- def name(self) -> Optional[pulumi.Input[str]]:
601
+ @pulumi.getter(name="errorOnNondeterministicMerge")
602
+ def error_on_nondeterministic_merge(self) -> Optional[pulumi.Input[bool]]:
186
603
  """
187
- 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).
188
605
  """
189
- return pulumi.get(self, "name")
606
+ return pulumi.get(self, "error_on_nondeterministic_merge")
190
607
 
191
- @name.setter
192
- def name(self, value: Optional[pulumi.Input[str]]):
193
- 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)
194
611
 
195
612
  @property
196
- @pulumi.getter
197
- def schedule(self) -> Optional[pulumi.Input[str]]:
613
+ @pulumi.getter(name="errorOnNondeterministicUpdate")
614
+ def error_on_nondeterministic_update(self) -> Optional[pulumi.Input[bool]]:
198
615
  """
199
- The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
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).
200
617
  """
201
- return pulumi.get(self, "schedule")
618
+ return pulumi.get(self, "error_on_nondeterministic_update")
202
619
 
203
- @schedule.setter
204
- def schedule(self, value: Optional[pulumi.Input[str]]):
205
- pulumi.set(self, "schedule", value)
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)
206
623
 
207
624
  @property
208
- @pulumi.getter(name="sessionParameters")
209
- def session_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
625
+ @pulumi.getter
626
+ def finalize(self) -> Optional[pulumi.Input[str]]:
210
627
  """
211
- Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
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: `|`, `.`, `"`
212
629
  """
213
- return pulumi.get(self, "session_parameters")
630
+ return pulumi.get(self, "finalize")
214
631
 
215
- @session_parameters.setter
216
- def session_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
217
- pulumi.set(self, "session_parameters", value)
632
+ @finalize.setter
633
+ def finalize(self, value: Optional[pulumi.Input[str]]):
634
+ pulumi.set(self, "finalize", value)
218
635
 
219
636
  @property
220
- @pulumi.getter(name="suspendTaskAfterNumFailures")
221
- def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
637
+ @pulumi.getter(name="geographyOutputFormat")
638
+ def geography_output_format(self) -> Optional[pulumi.Input[str]]:
222
639
  """
223
- Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
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).
224
641
  """
225
- return pulumi.get(self, "suspend_task_after_num_failures")
642
+ return pulumi.get(self, "geography_output_format")
226
643
 
227
- @suspend_task_after_num_failures.setter
228
- def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
229
- pulumi.set(self, "suspend_task_after_num_failures", 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)
230
647
 
231
648
  @property
232
- @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
233
- def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
649
+ @pulumi.getter(name="geometryOutputFormat")
650
+ def geometry_output_format(self) -> Optional[pulumi.Input[str]]:
234
651
  """
235
- 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)
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).
236
653
  """
237
- return pulumi.get(self, "user_task_managed_initial_warehouse_size")
654
+ return pulumi.get(self, "geometry_output_format")
238
655
 
239
- @user_task_managed_initial_warehouse_size.setter
240
- def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
241
- pulumi.set(self, "user_task_managed_initial_warehouse_size", 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)
242
659
 
243
660
  @property
244
- @pulumi.getter(name="userTaskTimeoutMs")
245
- def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
661
+ @pulumi.getter(name="jdbcTreatTimestampNtzAsUtc")
662
+ def jdbc_treat_timestamp_ntz_as_utc(self) -> Optional[pulumi.Input[bool]]:
246
663
  """
247
- Specifies the time limit on a single run of the task before it times out (in milliseconds).
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).
248
665
  """
249
- return pulumi.get(self, "user_task_timeout_ms")
666
+ return pulumi.get(self, "jdbc_treat_timestamp_ntz_as_utc")
250
667
 
251
- @user_task_timeout_ms.setter
252
- def user_task_timeout_ms(self, value: Optional[pulumi.Input[int]]):
253
- pulumi.set(self, "user_task_timeout_ms", 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)
254
671
 
255
672
  @property
256
- @pulumi.getter
257
- def warehouse(self) -> Optional[pulumi.Input[str]]:
673
+ @pulumi.getter(name="jdbcUseSessionTimezone")
674
+ def jdbc_use_session_timezone(self) -> Optional[pulumi.Input[bool]]:
258
675
  """
259
- 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)
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).
260
677
  """
261
- return pulumi.get(self, "warehouse")
678
+ return pulumi.get(self, "jdbc_use_session_timezone")
262
679
 
263
- @warehouse.setter
264
- def warehouse(self, value: Optional[pulumi.Input[str]]):
265
- pulumi.set(self, "warehouse", 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)
266
683
 
267
684
  @property
268
- @pulumi.getter
269
- def when(self) -> Optional[pulumi.Input[str]]:
685
+ @pulumi.getter(name="jsonIndent")
686
+ def json_indent(self) -> Optional[pulumi.Input[int]]:
270
687
  """
271
- Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
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).
272
689
  """
273
- return pulumi.get(self, "when")
274
-
275
- @when.setter
276
- def when(self, value: Optional[pulumi.Input[str]]):
277
- pulumi.set(self, "when", value)
690
+ return pulumi.get(self, "json_indent")
278
691
 
692
+ @json_indent.setter
693
+ def json_indent(self, value: Optional[pulumi.Input[int]]):
694
+ pulumi.set(self, "json_indent", value)
279
695
 
280
- @pulumi.input_type
281
- class _TaskState:
282
- def __init__(__self__, *,
283
- afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
284
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
285
- comment: Optional[pulumi.Input[str]] = None,
286
- database: Optional[pulumi.Input[str]] = None,
287
- enabled: Optional[pulumi.Input[bool]] = None,
288
- error_integration: Optional[pulumi.Input[str]] = None,
289
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
290
- name: Optional[pulumi.Input[str]] = None,
291
- schedule: Optional[pulumi.Input[str]] = None,
292
- schema: Optional[pulumi.Input[str]] = None,
293
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
294
- sql_statement: Optional[pulumi.Input[str]] = None,
295
- suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
296
- user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
297
- user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
298
- warehouse: Optional[pulumi.Input[str]] = None,
299
- when: Optional[pulumi.Input[str]] = None):
696
+ @property
697
+ @pulumi.getter(name="lockTimeout")
698
+ def lock_timeout(self) -> Optional[pulumi.Input[int]]:
300
699
  """
301
- Input properties used for looking up and filtering Task resources.
302
- :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.
303
- :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.
304
- :param pulumi.Input[str] comment: Specifies a comment for the task.
305
- :param pulumi.Input[str] database: The database in which to create the task.
306
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
307
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
308
- :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).
309
- :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.
310
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
311
- :param pulumi.Input[str] schema: The schema in which to create the task.
312
- :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.
313
- :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
314
- :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).
315
- :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)
316
- :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).
317
- :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)
318
- :param pulumi.Input[str] when: 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).
319
701
  """
320
- if afters is not None:
321
- pulumi.set(__self__, "afters", afters)
322
- if allow_overlapping_execution is not None:
323
- pulumi.set(__self__, "allow_overlapping_execution", allow_overlapping_execution)
324
- if comment is not None:
325
- pulumi.set(__self__, "comment", comment)
326
- if database is not None:
327
- pulumi.set(__self__, "database", database)
328
- if enabled is not None:
329
- pulumi.set(__self__, "enabled", enabled)
330
- if error_integration is not None:
331
- pulumi.set(__self__, "error_integration", error_integration)
332
- if fully_qualified_name is not None:
333
- pulumi.set(__self__, "fully_qualified_name", fully_qualified_name)
334
- if name is not None:
335
- pulumi.set(__self__, "name", name)
336
- if schedule is not None:
337
- pulumi.set(__self__, "schedule", schedule)
338
- if schema is not None:
339
- pulumi.set(__self__, "schema", schema)
340
- if session_parameters is not None:
341
- pulumi.set(__self__, "session_parameters", session_parameters)
342
- if sql_statement is not None:
343
- pulumi.set(__self__, "sql_statement", sql_statement)
344
- if suspend_task_after_num_failures is not None:
345
- pulumi.set(__self__, "suspend_task_after_num_failures", suspend_task_after_num_failures)
346
- if user_task_managed_initial_warehouse_size is not None:
347
- pulumi.set(__self__, "user_task_managed_initial_warehouse_size", user_task_managed_initial_warehouse_size)
348
- if user_task_timeout_ms is not None:
349
- pulumi.set(__self__, "user_task_timeout_ms", user_task_timeout_ms)
350
- if warehouse is not None:
351
- pulumi.set(__self__, "warehouse", warehouse)
352
- if when is not None:
353
- pulumi.set(__self__, "when", when)
702
+ return pulumi.get(self, "lock_timeout")
703
+
704
+ @lock_timeout.setter
705
+ def lock_timeout(self, value: Optional[pulumi.Input[int]]):
706
+ pulumi.set(self, "lock_timeout", value)
354
707
 
355
708
  @property
356
- @pulumi.getter
357
- def afters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
709
+ @pulumi.getter(name="logLevel")
710
+ def log_level(self) -> Optional[pulumi.Input[str]]:
358
711
  """
359
- 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.
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).
360
713
  """
361
- return pulumi.get(self, "afters")
714
+ return pulumi.get(self, "log_level")
362
715
 
363
- @afters.setter
364
- def afters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
365
- pulumi.set(self, "afters", value)
716
+ @log_level.setter
717
+ def log_level(self, value: Optional[pulumi.Input[str]]):
718
+ pulumi.set(self, "log_level", value)
366
719
 
367
720
  @property
368
- @pulumi.getter(name="allowOverlappingExecution")
369
- def allow_overlapping_execution(self) -> Optional[pulumi.Input[bool]]:
721
+ @pulumi.getter(name="multiStatementCount")
722
+ def multi_statement_count(self) -> Optional[pulumi.Input[int]]:
370
723
  """
371
- 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.
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).
372
725
  """
373
- return pulumi.get(self, "allow_overlapping_execution")
726
+ return pulumi.get(self, "multi_statement_count")
374
727
 
375
- @allow_overlapping_execution.setter
376
- def allow_overlapping_execution(self, value: Optional[pulumi.Input[bool]]):
377
- pulumi.set(self, "allow_overlapping_execution", value)
728
+ @multi_statement_count.setter
729
+ def multi_statement_count(self, value: Optional[pulumi.Input[int]]):
730
+ pulumi.set(self, "multi_statement_count", value)
378
731
 
379
732
  @property
380
733
  @pulumi.getter
381
- def comment(self) -> Optional[pulumi.Input[str]]:
734
+ def name(self) -> Optional[pulumi.Input[str]]:
382
735
  """
383
- Specifies a comment for the task.
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: `|`, `.`, `"`
384
737
  """
385
- return pulumi.get(self, "comment")
738
+ return pulumi.get(self, "name")
386
739
 
387
- @comment.setter
388
- def comment(self, value: Optional[pulumi.Input[str]]):
389
- pulumi.set(self, "comment", value)
740
+ @name.setter
741
+ def name(self, value: Optional[pulumi.Input[str]]):
742
+ pulumi.set(self, "name", value)
390
743
 
391
744
  @property
392
- @pulumi.getter
393
- def database(self) -> Optional[pulumi.Input[str]]:
745
+ @pulumi.getter(name="noorderSequenceAsDefault")
746
+ def noorder_sequence_as_default(self) -> Optional[pulumi.Input[bool]]:
394
747
  """
395
- The database in which to create the task.
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).
396
749
  """
397
- return pulumi.get(self, "database")
750
+ return pulumi.get(self, "noorder_sequence_as_default")
398
751
 
399
- @database.setter
400
- def database(self, value: Optional[pulumi.Input[str]]):
401
- pulumi.set(self, "database", 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)
402
755
 
403
756
  @property
404
- @pulumi.getter
405
- def enabled(self) -> Optional[pulumi.Input[bool]]:
757
+ @pulumi.getter(name="odbcTreatDecimalAsInt")
758
+ def odbc_treat_decimal_as_int(self) -> Optional[pulumi.Input[bool]]:
406
759
  """
407
- Specifies if the task should be started (enabled) after creation or should remain suspended (default).
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).
408
761
  """
409
- return pulumi.get(self, "enabled")
762
+ return pulumi.get(self, "odbc_treat_decimal_as_int")
410
763
 
411
- @enabled.setter
412
- def enabled(self, value: Optional[pulumi.Input[bool]]):
413
- pulumi.set(self, "enabled", 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)
414
767
 
415
768
  @property
416
- @pulumi.getter(name="errorIntegration")
417
- def error_integration(self) -> Optional[pulumi.Input[str]]:
769
+ @pulumi.getter(name="queryTag")
770
+ def query_tag(self) -> Optional[pulumi.Input[str]]:
418
771
  """
419
- Specifies the name of the notification integration used for error notifications.
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).
420
773
  """
421
- return pulumi.get(self, "error_integration")
774
+ return pulumi.get(self, "query_tag")
422
775
 
423
- @error_integration.setter
424
- def error_integration(self, value: Optional[pulumi.Input[str]]):
425
- pulumi.set(self, "error_integration", value)
776
+ @query_tag.setter
777
+ def query_tag(self, value: Optional[pulumi.Input[str]]):
778
+ pulumi.set(self, "query_tag", value)
426
779
 
427
780
  @property
428
- @pulumi.getter(name="fullyQualifiedName")
429
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
781
+ @pulumi.getter(name="quotedIdentifiersIgnoreCase")
782
+ def quoted_identifiers_ignore_case(self) -> Optional[pulumi.Input[bool]]:
430
783
  """
431
- Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
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).
432
785
  """
433
- return pulumi.get(self, "fully_qualified_name")
786
+ return pulumi.get(self, "quoted_identifiers_ignore_case")
434
787
 
435
- @fully_qualified_name.setter
436
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
437
- pulumi.set(self, "fully_qualified_name", 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)
438
791
 
439
792
  @property
440
- @pulumi.getter
441
- def name(self) -> Optional[pulumi.Input[str]]:
793
+ @pulumi.getter(name="rowsPerResultset")
794
+ def rows_per_resultset(self) -> Optional[pulumi.Input[int]]:
442
795
  """
443
- Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
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).
444
797
  """
445
- return pulumi.get(self, "name")
798
+ return pulumi.get(self, "rows_per_resultset")
446
799
 
447
- @name.setter
448
- def name(self, value: Optional[pulumi.Input[str]]):
449
- pulumi.set(self, "name", 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)
803
+
804
+ @property
805
+ @pulumi.getter(name="s3StageVpceDnsName")
806
+ def s3_stage_vpce_dns_name(self) -> Optional[pulumi.Input[str]]:
807
+ """
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).
809
+ """
810
+ return pulumi.get(self, "s3_stage_vpce_dns_name")
811
+
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)
450
815
 
451
816
  @property
452
817
  @pulumi.getter
453
- def schedule(self) -> Optional[pulumi.Input[str]]:
818
+ def schedule(self) -> Optional[pulumi.Input['TaskScheduleArgs']]:
454
819
  """
455
- 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)
456
821
  """
457
822
  return pulumi.get(self, "schedule")
458
823
 
459
824
  @schedule.setter
460
- def schedule(self, value: Optional[pulumi.Input[str]]):
825
+ def schedule(self, value: Optional[pulumi.Input['TaskScheduleArgs']]):
461
826
  pulumi.set(self, "schedule", value)
462
827
 
463
828
  @property
464
- @pulumi.getter
465
- def schema(self) -> Optional[pulumi.Input[str]]:
829
+ @pulumi.getter(name="searchPath")
830
+ def search_path(self) -> Optional[pulumi.Input[str]]:
466
831
  """
467
- 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).
468
833
  """
469
- return pulumi.get(self, "schema")
834
+ return pulumi.get(self, "search_path")
470
835
 
471
- @schema.setter
472
- def schema(self, value: Optional[pulumi.Input[str]]):
473
- 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)
474
839
 
475
840
  @property
476
- @pulumi.getter(name="sessionParameters")
477
- 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]]:
478
843
  """
479
- 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).
480
845
  """
481
- return pulumi.get(self, "session_parameters")
846
+ return pulumi.get(self, "statement_queued_timeout_in_seconds")
482
847
 
483
- @session_parameters.setter
484
- def session_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
485
- 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)
486
851
 
487
852
  @property
488
- @pulumi.getter(name="sqlStatement")
489
- def sql_statement(self) -> Optional[pulumi.Input[str]]:
853
+ @pulumi.getter(name="statementTimeoutInSeconds")
854
+ def statement_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]:
490
855
  """
491
- 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).
492
857
  """
493
- return pulumi.get(self, "sql_statement")
858
+ return pulumi.get(self, "statement_timeout_in_seconds")
494
859
 
495
- @sql_statement.setter
496
- def sql_statement(self, value: Optional[pulumi.Input[str]]):
497
- 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)
498
875
 
499
876
  @property
500
877
  @pulumi.getter(name="suspendTaskAfterNumFailures")
501
878
  def suspend_task_after_num_failures(self) -> Optional[pulumi.Input[int]]:
502
879
  """
503
- 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).
504
881
  """
505
882
  return pulumi.get(self, "suspend_task_after_num_failures")
506
883
 
@@ -508,11 +885,1423 @@ class _TaskState:
508
885
  def suspend_task_after_num_failures(self, value: Optional[pulumi.Input[int]]):
509
886
  pulumi.set(self, "suspend_task_after_num_failures", value)
510
887
 
888
+ @property
889
+ @pulumi.getter(name="taskAutoRetryAttempts")
890
+ def task_auto_retry_attempts(self) -> Optional[pulumi.Input[int]]:
891
+ """
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).
893
+ """
894
+ return pulumi.get(self, "task_auto_retry_attempts")
895
+
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)
899
+
900
+ @property
901
+ @pulumi.getter(name="timeInputFormat")
902
+ def time_input_format(self) -> Optional[pulumi.Input[str]]:
903
+ """
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).
905
+ """
906
+ return pulumi.get(self, "time_input_format")
907
+
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, 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)
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: `|`, `.`, `"`
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, 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)
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: `|`, `.`, `"`
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
+
511
2300
  @property
512
2301
  @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
513
2302
  def user_task_managed_initial_warehouse_size(self) -> Optional[pulumi.Input[str]]:
514
2303
  """
515
- 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)
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, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
516
2305
  """
517
2306
  return pulumi.get(self, "user_task_managed_initial_warehouse_size")
518
2307
 
@@ -520,11 +2309,23 @@ class _TaskState:
520
2309
  def user_task_managed_initial_warehouse_size(self, value: Optional[pulumi.Input[str]]):
521
2310
  pulumi.set(self, "user_task_managed_initial_warehouse_size", value)
522
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
+
523
2324
  @property
524
2325
  @pulumi.getter(name="userTaskTimeoutMs")
525
2326
  def user_task_timeout_ms(self) -> Optional[pulumi.Input[int]]:
526
2327
  """
527
- Specifies the time limit on a single run of the task before it times out (in milliseconds).
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).
528
2329
  """
529
2330
  return pulumi.get(self, "user_task_timeout_ms")
530
2331
 
@@ -536,7 +2337,7 @@ class _TaskState:
536
2337
  @pulumi.getter
537
2338
  def warehouse(self) -> Optional[pulumi.Input[str]]:
538
2339
  """
539
- 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)
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)
540
2341
  """
541
2342
  return pulumi.get(self, "warehouse")
542
2343
 
@@ -544,11 +2345,35 @@ class _TaskState:
544
2345
  def warehouse(self, value: Optional[pulumi.Input[str]]):
545
2346
  pulumi.set(self, "warehouse", value)
546
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)
2359
+
2360
+ @property
2361
+ @pulumi.getter(name="weekStart")
2362
+ def week_start(self) -> Optional[pulumi.Input[int]]:
2363
+ """
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).
2365
+ """
2366
+ return pulumi.get(self, "week_start")
2367
+
2368
+ @week_start.setter
2369
+ def week_start(self, value: Optional[pulumi.Input[int]]):
2370
+ pulumi.set(self, "week_start", value)
2371
+
547
2372
  @property
548
2373
  @pulumi.getter
549
2374
  def when(self) -> Optional[pulumi.Input[str]]:
550
2375
  """
551
- 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.
552
2377
  """
553
2378
  return pulumi.get(self, "when")
554
2379
 
@@ -562,21 +2387,77 @@ class Task(pulumi.CustomResource):
562
2387
  def __init__(__self__,
563
2388
  resource_name: str,
564
2389
  opts: Optional[pulumi.ResourceOptions] = None,
2390
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
565
2391
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
566
- 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,
567
2404
  comment: Optional[pulumi.Input[str]] = None,
2405
+ config: Optional[pulumi.Input[str]] = None,
568
2406
  database: Optional[pulumi.Input[str]] = None,
569
- 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,
570
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,
571
2422
  name: Optional[pulumi.Input[str]] = None,
572
- 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,
573
2430
  schema: Optional[pulumi.Input[str]] = None,
574
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2431
+ search_path: Optional[pulumi.Input[str]] = None,
575
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,
576
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,
577
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,
578
2457
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
579
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,
580
2461
  when: Optional[pulumi.Input[str]] = None,
581
2462
  __props__=None):
582
2463
  """
@@ -590,22 +2471,78 @@ class Task(pulumi.CustomResource):
590
2471
 
591
2472
  :param str resource_name: The name of the resource.
592
2473
  :param pulumi.ResourceOptions opts: Options for the resource.
593
- :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.
594
- :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.
2474
+ :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).
2475
+ :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: `|`, `.`, `"`
2476
+ :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.
2477
+ :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).
2478
+ :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).
2479
+ :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).
2480
+ :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).
2481
+ :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).
2482
+ :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).
2483
+ :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).
2484
+ :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).
2485
+ :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).
2486
+ :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).
2487
+ :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).
595
2488
  :param pulumi.Input[str] comment: Specifies a comment for the task.
596
- :param pulumi.Input[str] database: The database in which to create the task.
597
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
598
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
599
- :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.
600
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
601
- :param pulumi.Input[str] schema: The schema in which to create the task.
602
- :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.
2489
+ :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.
2490
+ :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: `|`, `.`, `"`
2491
+ :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).
2492
+ :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).
2493
+ :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).
2494
+ :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: `|`, `.`, `"`
2495
+ :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).
2496
+ :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).
2497
+ :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: `|`, `.`, `"`
2498
+ :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).
2499
+ :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).
2500
+ :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).
2501
+ :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).
2502
+ :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).
2503
+ :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).
2504
+ :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).
2505
+ :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).
2506
+ :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: `|`, `.`, `"`
2507
+ :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).
2508
+ :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).
2509
+ :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).
2510
+ :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).
2511
+ :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).
2512
+ :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).
2513
+ :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)
2514
+ :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: `|`, `.`, `"`
2515
+ :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).
603
2516
  :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
604
- :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).
605
- :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)
606
- :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).
607
- :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)
608
- :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
2517
+ :param pulumi.Input[bool] started: Specifies if the task should be started or suspended.
2518
+ :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).
2519
+ :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).
2520
+ :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).
2521
+ :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).
2522
+ :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).
2523
+ :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).
2524
+ :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).
2525
+ :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).
2526
+ :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).
2527
+ :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).
2528
+ :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).
2529
+ :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).
2530
+ :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).
2531
+ :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).
2532
+ :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).
2533
+ :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).
2534
+ :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).
2535
+ :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).
2536
+ :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).
2537
+ :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).
2538
+ :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).
2539
+ :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, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
2540
+ :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).
2541
+ :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).
2542
+ :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)
2543
+ :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).
2544
+ :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).
2545
+ :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.
609
2546
  """
610
2547
  ...
611
2548
  @overload
@@ -637,21 +2574,77 @@ class Task(pulumi.CustomResource):
637
2574
  def _internal_init(__self__,
638
2575
  resource_name: str,
639
2576
  opts: Optional[pulumi.ResourceOptions] = None,
2577
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
640
2578
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
641
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
2579
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
2580
+ autocommit: Optional[pulumi.Input[bool]] = None,
2581
+ binary_input_format: Optional[pulumi.Input[str]] = None,
2582
+ binary_output_format: Optional[pulumi.Input[str]] = None,
2583
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
2584
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
2585
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
2586
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
2587
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
2588
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
2589
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
2590
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
642
2591
  comment: Optional[pulumi.Input[str]] = None,
2592
+ config: Optional[pulumi.Input[str]] = None,
643
2593
  database: Optional[pulumi.Input[str]] = None,
644
- enabled: Optional[pulumi.Input[bool]] = None,
2594
+ date_input_format: Optional[pulumi.Input[str]] = None,
2595
+ date_output_format: Optional[pulumi.Input[str]] = None,
2596
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
645
2597
  error_integration: Optional[pulumi.Input[str]] = None,
2598
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
2599
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
2600
+ finalize: Optional[pulumi.Input[str]] = None,
2601
+ geography_output_format: Optional[pulumi.Input[str]] = None,
2602
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
2603
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
2604
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
2605
+ json_indent: Optional[pulumi.Input[int]] = None,
2606
+ lock_timeout: Optional[pulumi.Input[int]] = None,
2607
+ log_level: Optional[pulumi.Input[str]] = None,
2608
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
646
2609
  name: Optional[pulumi.Input[str]] = None,
647
- schedule: Optional[pulumi.Input[str]] = None,
2610
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
2611
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
2612
+ query_tag: Optional[pulumi.Input[str]] = None,
2613
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
2614
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
2615
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
2616
+ schedule: Optional[pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']]] = None,
648
2617
  schema: Optional[pulumi.Input[str]] = None,
649
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2618
+ search_path: Optional[pulumi.Input[str]] = None,
650
2619
  sql_statement: Optional[pulumi.Input[str]] = None,
2620
+ started: Optional[pulumi.Input[bool]] = None,
2621
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2622
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2623
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
651
2624
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
2625
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
2626
+ time_input_format: Optional[pulumi.Input[str]] = None,
2627
+ time_output_format: Optional[pulumi.Input[str]] = None,
2628
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
2629
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
2630
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
2631
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
2632
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
2633
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
2634
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
2635
+ timezone: Optional[pulumi.Input[str]] = None,
2636
+ trace_level: Optional[pulumi.Input[str]] = None,
2637
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
2638
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
2639
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
2640
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
2641
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
652
2642
  user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
2643
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
653
2644
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
654
2645
  warehouse: Optional[pulumi.Input[str]] = None,
2646
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
2647
+ week_start: Optional[pulumi.Input[int]] = None,
655
2648
  when: Optional[pulumi.Input[str]] = None,
656
2649
  __props__=None):
657
2650
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -662,29 +2655,89 @@ class Task(pulumi.CustomResource):
662
2655
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
663
2656
  __props__ = TaskArgs.__new__(TaskArgs)
664
2657
 
2658
+ __props__.__dict__["abort_detached_query"] = abort_detached_query
665
2659
  __props__.__dict__["afters"] = afters
666
2660
  __props__.__dict__["allow_overlapping_execution"] = allow_overlapping_execution
2661
+ __props__.__dict__["autocommit"] = autocommit
2662
+ __props__.__dict__["binary_input_format"] = binary_input_format
2663
+ __props__.__dict__["binary_output_format"] = binary_output_format
2664
+ __props__.__dict__["client_memory_limit"] = client_memory_limit
2665
+ __props__.__dict__["client_metadata_request_use_connection_ctx"] = client_metadata_request_use_connection_ctx
2666
+ __props__.__dict__["client_prefetch_threads"] = client_prefetch_threads
2667
+ __props__.__dict__["client_result_chunk_size"] = client_result_chunk_size
2668
+ __props__.__dict__["client_result_column_case_insensitive"] = client_result_column_case_insensitive
2669
+ __props__.__dict__["client_session_keep_alive"] = client_session_keep_alive
2670
+ __props__.__dict__["client_session_keep_alive_heartbeat_frequency"] = client_session_keep_alive_heartbeat_frequency
2671
+ __props__.__dict__["client_timestamp_type_mapping"] = client_timestamp_type_mapping
667
2672
  __props__.__dict__["comment"] = comment
2673
+ __props__.__dict__["config"] = config
668
2674
  if database is None and not opts.urn:
669
2675
  raise TypeError("Missing required property 'database'")
670
2676
  __props__.__dict__["database"] = database
671
- __props__.__dict__["enabled"] = enabled
2677
+ __props__.__dict__["date_input_format"] = date_input_format
2678
+ __props__.__dict__["date_output_format"] = date_output_format
2679
+ __props__.__dict__["enable_unload_physical_type_optimization"] = enable_unload_physical_type_optimization
672
2680
  __props__.__dict__["error_integration"] = error_integration
2681
+ __props__.__dict__["error_on_nondeterministic_merge"] = error_on_nondeterministic_merge
2682
+ __props__.__dict__["error_on_nondeterministic_update"] = error_on_nondeterministic_update
2683
+ __props__.__dict__["finalize"] = finalize
2684
+ __props__.__dict__["geography_output_format"] = geography_output_format
2685
+ __props__.__dict__["geometry_output_format"] = geometry_output_format
2686
+ __props__.__dict__["jdbc_treat_timestamp_ntz_as_utc"] = jdbc_treat_timestamp_ntz_as_utc
2687
+ __props__.__dict__["jdbc_use_session_timezone"] = jdbc_use_session_timezone
2688
+ __props__.__dict__["json_indent"] = json_indent
2689
+ __props__.__dict__["lock_timeout"] = lock_timeout
2690
+ __props__.__dict__["log_level"] = log_level
2691
+ __props__.__dict__["multi_statement_count"] = multi_statement_count
673
2692
  __props__.__dict__["name"] = name
2693
+ __props__.__dict__["noorder_sequence_as_default"] = noorder_sequence_as_default
2694
+ __props__.__dict__["odbc_treat_decimal_as_int"] = odbc_treat_decimal_as_int
2695
+ __props__.__dict__["query_tag"] = query_tag
2696
+ __props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
2697
+ __props__.__dict__["rows_per_resultset"] = rows_per_resultset
2698
+ __props__.__dict__["s3_stage_vpce_dns_name"] = s3_stage_vpce_dns_name
674
2699
  __props__.__dict__["schedule"] = schedule
675
2700
  if schema is None and not opts.urn:
676
2701
  raise TypeError("Missing required property 'schema'")
677
2702
  __props__.__dict__["schema"] = schema
678
- __props__.__dict__["session_parameters"] = session_parameters
2703
+ __props__.__dict__["search_path"] = search_path
679
2704
  if sql_statement is None and not opts.urn:
680
2705
  raise TypeError("Missing required property 'sql_statement'")
681
2706
  __props__.__dict__["sql_statement"] = sql_statement
2707
+ if started is None and not opts.urn:
2708
+ raise TypeError("Missing required property 'started'")
2709
+ __props__.__dict__["started"] = started
2710
+ __props__.__dict__["statement_queued_timeout_in_seconds"] = statement_queued_timeout_in_seconds
2711
+ __props__.__dict__["statement_timeout_in_seconds"] = statement_timeout_in_seconds
2712
+ __props__.__dict__["strict_json_output"] = strict_json_output
682
2713
  __props__.__dict__["suspend_task_after_num_failures"] = suspend_task_after_num_failures
2714
+ __props__.__dict__["task_auto_retry_attempts"] = task_auto_retry_attempts
2715
+ __props__.__dict__["time_input_format"] = time_input_format
2716
+ __props__.__dict__["time_output_format"] = time_output_format
2717
+ __props__.__dict__["timestamp_day_is_always24h"] = timestamp_day_is_always24h
2718
+ __props__.__dict__["timestamp_input_format"] = timestamp_input_format
2719
+ __props__.__dict__["timestamp_ltz_output_format"] = timestamp_ltz_output_format
2720
+ __props__.__dict__["timestamp_ntz_output_format"] = timestamp_ntz_output_format
2721
+ __props__.__dict__["timestamp_output_format"] = timestamp_output_format
2722
+ __props__.__dict__["timestamp_type_mapping"] = timestamp_type_mapping
2723
+ __props__.__dict__["timestamp_tz_output_format"] = timestamp_tz_output_format
2724
+ __props__.__dict__["timezone"] = timezone
2725
+ __props__.__dict__["trace_level"] = trace_level
2726
+ __props__.__dict__["transaction_abort_on_error"] = transaction_abort_on_error
2727
+ __props__.__dict__["transaction_default_isolation_level"] = transaction_default_isolation_level
2728
+ __props__.__dict__["two_digit_century_start"] = two_digit_century_start
2729
+ __props__.__dict__["unsupported_ddl_action"] = unsupported_ddl_action
2730
+ __props__.__dict__["use_cached_result"] = use_cached_result
683
2731
  __props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
2732
+ __props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
684
2733
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
685
2734
  __props__.__dict__["warehouse"] = warehouse
2735
+ __props__.__dict__["week_of_year_policy"] = week_of_year_policy
2736
+ __props__.__dict__["week_start"] = week_start
686
2737
  __props__.__dict__["when"] = when
687
2738
  __props__.__dict__["fully_qualified_name"] = None
2739
+ __props__.__dict__["parameters"] = None
2740
+ __props__.__dict__["show_outputs"] = None
688
2741
  super(Task, __self__).__init__(
689
2742
  'snowflake:index/task:Task',
690
2743
  resource_name,
@@ -695,22 +2748,80 @@ class Task(pulumi.CustomResource):
695
2748
  def get(resource_name: str,
696
2749
  id: pulumi.Input[str],
697
2750
  opts: Optional[pulumi.ResourceOptions] = None,
2751
+ abort_detached_query: Optional[pulumi.Input[bool]] = None,
698
2752
  afters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
699
- allow_overlapping_execution: Optional[pulumi.Input[bool]] = None,
2753
+ allow_overlapping_execution: Optional[pulumi.Input[str]] = None,
2754
+ autocommit: Optional[pulumi.Input[bool]] = None,
2755
+ binary_input_format: Optional[pulumi.Input[str]] = None,
2756
+ binary_output_format: Optional[pulumi.Input[str]] = None,
2757
+ client_memory_limit: Optional[pulumi.Input[int]] = None,
2758
+ client_metadata_request_use_connection_ctx: Optional[pulumi.Input[bool]] = None,
2759
+ client_prefetch_threads: Optional[pulumi.Input[int]] = None,
2760
+ client_result_chunk_size: Optional[pulumi.Input[int]] = None,
2761
+ client_result_column_case_insensitive: Optional[pulumi.Input[bool]] = None,
2762
+ client_session_keep_alive: Optional[pulumi.Input[bool]] = None,
2763
+ client_session_keep_alive_heartbeat_frequency: Optional[pulumi.Input[int]] = None,
2764
+ client_timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
700
2765
  comment: Optional[pulumi.Input[str]] = None,
2766
+ config: Optional[pulumi.Input[str]] = None,
701
2767
  database: Optional[pulumi.Input[str]] = None,
702
- enabled: Optional[pulumi.Input[bool]] = None,
2768
+ date_input_format: Optional[pulumi.Input[str]] = None,
2769
+ date_output_format: Optional[pulumi.Input[str]] = None,
2770
+ enable_unload_physical_type_optimization: Optional[pulumi.Input[bool]] = None,
703
2771
  error_integration: Optional[pulumi.Input[str]] = None,
2772
+ error_on_nondeterministic_merge: Optional[pulumi.Input[bool]] = None,
2773
+ error_on_nondeterministic_update: Optional[pulumi.Input[bool]] = None,
2774
+ finalize: Optional[pulumi.Input[str]] = None,
704
2775
  fully_qualified_name: Optional[pulumi.Input[str]] = None,
2776
+ geography_output_format: Optional[pulumi.Input[str]] = None,
2777
+ geometry_output_format: Optional[pulumi.Input[str]] = None,
2778
+ jdbc_treat_timestamp_ntz_as_utc: Optional[pulumi.Input[bool]] = None,
2779
+ jdbc_use_session_timezone: Optional[pulumi.Input[bool]] = None,
2780
+ json_indent: Optional[pulumi.Input[int]] = None,
2781
+ lock_timeout: Optional[pulumi.Input[int]] = None,
2782
+ log_level: Optional[pulumi.Input[str]] = None,
2783
+ multi_statement_count: Optional[pulumi.Input[int]] = None,
705
2784
  name: Optional[pulumi.Input[str]] = None,
706
- schedule: Optional[pulumi.Input[str]] = None,
2785
+ noorder_sequence_as_default: Optional[pulumi.Input[bool]] = None,
2786
+ odbc_treat_decimal_as_int: Optional[pulumi.Input[bool]] = None,
2787
+ parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TaskParameterArgs', 'TaskParameterArgsDict']]]]] = None,
2788
+ query_tag: Optional[pulumi.Input[str]] = None,
2789
+ quoted_identifiers_ignore_case: Optional[pulumi.Input[bool]] = None,
2790
+ rows_per_resultset: Optional[pulumi.Input[int]] = None,
2791
+ s3_stage_vpce_dns_name: Optional[pulumi.Input[str]] = None,
2792
+ schedule: Optional[pulumi.Input[Union['TaskScheduleArgs', 'TaskScheduleArgsDict']]] = None,
707
2793
  schema: Optional[pulumi.Input[str]] = None,
708
- session_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2794
+ search_path: Optional[pulumi.Input[str]] = None,
2795
+ show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TaskShowOutputArgs', 'TaskShowOutputArgsDict']]]]] = None,
709
2796
  sql_statement: Optional[pulumi.Input[str]] = None,
2797
+ started: Optional[pulumi.Input[bool]] = None,
2798
+ statement_queued_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2799
+ statement_timeout_in_seconds: Optional[pulumi.Input[int]] = None,
2800
+ strict_json_output: Optional[pulumi.Input[bool]] = None,
710
2801
  suspend_task_after_num_failures: Optional[pulumi.Input[int]] = None,
2802
+ task_auto_retry_attempts: Optional[pulumi.Input[int]] = None,
2803
+ time_input_format: Optional[pulumi.Input[str]] = None,
2804
+ time_output_format: Optional[pulumi.Input[str]] = None,
2805
+ timestamp_day_is_always24h: Optional[pulumi.Input[bool]] = None,
2806
+ timestamp_input_format: Optional[pulumi.Input[str]] = None,
2807
+ timestamp_ltz_output_format: Optional[pulumi.Input[str]] = None,
2808
+ timestamp_ntz_output_format: Optional[pulumi.Input[str]] = None,
2809
+ timestamp_output_format: Optional[pulumi.Input[str]] = None,
2810
+ timestamp_type_mapping: Optional[pulumi.Input[str]] = None,
2811
+ timestamp_tz_output_format: Optional[pulumi.Input[str]] = None,
2812
+ timezone: Optional[pulumi.Input[str]] = None,
2813
+ trace_level: Optional[pulumi.Input[str]] = None,
2814
+ transaction_abort_on_error: Optional[pulumi.Input[bool]] = None,
2815
+ transaction_default_isolation_level: Optional[pulumi.Input[str]] = None,
2816
+ two_digit_century_start: Optional[pulumi.Input[int]] = None,
2817
+ unsupported_ddl_action: Optional[pulumi.Input[str]] = None,
2818
+ use_cached_result: Optional[pulumi.Input[bool]] = None,
711
2819
  user_task_managed_initial_warehouse_size: Optional[pulumi.Input[str]] = None,
2820
+ user_task_minimum_trigger_interval_in_seconds: Optional[pulumi.Input[int]] = None,
712
2821
  user_task_timeout_ms: Optional[pulumi.Input[int]] = None,
713
2822
  warehouse: Optional[pulumi.Input[str]] = None,
2823
+ week_of_year_policy: Optional[pulumi.Input[int]] = None,
2824
+ week_start: Optional[pulumi.Input[int]] = None,
714
2825
  when: Optional[pulumi.Input[str]] = None) -> 'Task':
715
2826
  """
716
2827
  Get an existing Task resource's state with the given name, id, and optional extra
@@ -719,63 +2830,275 @@ class Task(pulumi.CustomResource):
719
2830
  :param str resource_name: The unique name of the resulting resource.
720
2831
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
721
2832
  :param pulumi.ResourceOptions opts: Options for the resource.
722
- :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.
723
- :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.
2833
+ :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).
2834
+ :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: `|`, `.`, `"`
2835
+ :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.
2836
+ :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).
2837
+ :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).
2838
+ :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).
2839
+ :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).
2840
+ :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).
2841
+ :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).
2842
+ :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).
2843
+ :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).
2844
+ :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).
2845
+ :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).
2846
+ :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).
724
2847
  :param pulumi.Input[str] comment: Specifies a comment for the task.
725
- :param pulumi.Input[str] database: The database in which to create the task.
726
- :param pulumi.Input[bool] enabled: Specifies if the task should be started (enabled) after creation or should remain suspended (default).
727
- :param pulumi.Input[str] error_integration: Specifies the name of the notification integration used for error notifications.
2848
+ :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.
2849
+ :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: `|`, `.`, `"`
2850
+ :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).
2851
+ :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).
2852
+ :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).
2853
+ :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: `|`, `.`, `"`
2854
+ :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).
2855
+ :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).
2856
+ :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: `|`, `.`, `"`
728
2857
  :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).
729
- :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.
730
- :param pulumi.Input[str] schedule: The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
731
- :param pulumi.Input[str] schema: The schema in which to create the task.
732
- :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.
2858
+ :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).
2859
+ :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).
2860
+ :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).
2861
+ :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).
2862
+ :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).
2863
+ :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).
2864
+ :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).
2865
+ :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).
2866
+ :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: `|`, `.`, `"`
2867
+ :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).
2868
+ :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).
2869
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TaskParameterArgs', 'TaskParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
2870
+ :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).
2871
+ :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).
2872
+ :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).
2873
+ :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).
2874
+ :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)
2875
+ :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: `|`, `.`, `"`
2876
+ :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).
2877
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TaskShowOutputArgs', 'TaskShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW TASKS` for the given task.
733
2878
  :param pulumi.Input[str] sql_statement: Any single SQL statement, or a call to a stored procedure, executed when the task runs.
734
- :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).
735
- :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)
736
- :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).
737
- :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)
738
- :param pulumi.Input[str] when: Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
2879
+ :param pulumi.Input[bool] started: Specifies if the task should be started or suspended.
2880
+ :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).
2881
+ :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).
2882
+ :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).
2883
+ :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).
2884
+ :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).
2885
+ :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).
2886
+ :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).
2887
+ :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).
2888
+ :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).
2889
+ :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).
2890
+ :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).
2891
+ :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).
2892
+ :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).
2893
+ :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).
2894
+ :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).
2895
+ :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).
2896
+ :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).
2897
+ :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).
2898
+ :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).
2899
+ :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).
2900
+ :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).
2901
+ :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, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
2902
+ :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).
2903
+ :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).
2904
+ :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)
2905
+ :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).
2906
+ :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).
2907
+ :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.
739
2908
  """
740
2909
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
741
2910
 
742
2911
  __props__ = _TaskState.__new__(_TaskState)
743
2912
 
2913
+ __props__.__dict__["abort_detached_query"] = abort_detached_query
744
2914
  __props__.__dict__["afters"] = afters
745
2915
  __props__.__dict__["allow_overlapping_execution"] = allow_overlapping_execution
2916
+ __props__.__dict__["autocommit"] = autocommit
2917
+ __props__.__dict__["binary_input_format"] = binary_input_format
2918
+ __props__.__dict__["binary_output_format"] = binary_output_format
2919
+ __props__.__dict__["client_memory_limit"] = client_memory_limit
2920
+ __props__.__dict__["client_metadata_request_use_connection_ctx"] = client_metadata_request_use_connection_ctx
2921
+ __props__.__dict__["client_prefetch_threads"] = client_prefetch_threads
2922
+ __props__.__dict__["client_result_chunk_size"] = client_result_chunk_size
2923
+ __props__.__dict__["client_result_column_case_insensitive"] = client_result_column_case_insensitive
2924
+ __props__.__dict__["client_session_keep_alive"] = client_session_keep_alive
2925
+ __props__.__dict__["client_session_keep_alive_heartbeat_frequency"] = client_session_keep_alive_heartbeat_frequency
2926
+ __props__.__dict__["client_timestamp_type_mapping"] = client_timestamp_type_mapping
746
2927
  __props__.__dict__["comment"] = comment
2928
+ __props__.__dict__["config"] = config
747
2929
  __props__.__dict__["database"] = database
748
- __props__.__dict__["enabled"] = enabled
2930
+ __props__.__dict__["date_input_format"] = date_input_format
2931
+ __props__.__dict__["date_output_format"] = date_output_format
2932
+ __props__.__dict__["enable_unload_physical_type_optimization"] = enable_unload_physical_type_optimization
749
2933
  __props__.__dict__["error_integration"] = error_integration
2934
+ __props__.__dict__["error_on_nondeterministic_merge"] = error_on_nondeterministic_merge
2935
+ __props__.__dict__["error_on_nondeterministic_update"] = error_on_nondeterministic_update
2936
+ __props__.__dict__["finalize"] = finalize
750
2937
  __props__.__dict__["fully_qualified_name"] = fully_qualified_name
2938
+ __props__.__dict__["geography_output_format"] = geography_output_format
2939
+ __props__.__dict__["geometry_output_format"] = geometry_output_format
2940
+ __props__.__dict__["jdbc_treat_timestamp_ntz_as_utc"] = jdbc_treat_timestamp_ntz_as_utc
2941
+ __props__.__dict__["jdbc_use_session_timezone"] = jdbc_use_session_timezone
2942
+ __props__.__dict__["json_indent"] = json_indent
2943
+ __props__.__dict__["lock_timeout"] = lock_timeout
2944
+ __props__.__dict__["log_level"] = log_level
2945
+ __props__.__dict__["multi_statement_count"] = multi_statement_count
751
2946
  __props__.__dict__["name"] = name
2947
+ __props__.__dict__["noorder_sequence_as_default"] = noorder_sequence_as_default
2948
+ __props__.__dict__["odbc_treat_decimal_as_int"] = odbc_treat_decimal_as_int
2949
+ __props__.__dict__["parameters"] = parameters
2950
+ __props__.__dict__["query_tag"] = query_tag
2951
+ __props__.__dict__["quoted_identifiers_ignore_case"] = quoted_identifiers_ignore_case
2952
+ __props__.__dict__["rows_per_resultset"] = rows_per_resultset
2953
+ __props__.__dict__["s3_stage_vpce_dns_name"] = s3_stage_vpce_dns_name
752
2954
  __props__.__dict__["schedule"] = schedule
753
2955
  __props__.__dict__["schema"] = schema
754
- __props__.__dict__["session_parameters"] = session_parameters
2956
+ __props__.__dict__["search_path"] = search_path
2957
+ __props__.__dict__["show_outputs"] = show_outputs
755
2958
  __props__.__dict__["sql_statement"] = sql_statement
2959
+ __props__.__dict__["started"] = started
2960
+ __props__.__dict__["statement_queued_timeout_in_seconds"] = statement_queued_timeout_in_seconds
2961
+ __props__.__dict__["statement_timeout_in_seconds"] = statement_timeout_in_seconds
2962
+ __props__.__dict__["strict_json_output"] = strict_json_output
756
2963
  __props__.__dict__["suspend_task_after_num_failures"] = suspend_task_after_num_failures
2964
+ __props__.__dict__["task_auto_retry_attempts"] = task_auto_retry_attempts
2965
+ __props__.__dict__["time_input_format"] = time_input_format
2966
+ __props__.__dict__["time_output_format"] = time_output_format
2967
+ __props__.__dict__["timestamp_day_is_always24h"] = timestamp_day_is_always24h
2968
+ __props__.__dict__["timestamp_input_format"] = timestamp_input_format
2969
+ __props__.__dict__["timestamp_ltz_output_format"] = timestamp_ltz_output_format
2970
+ __props__.__dict__["timestamp_ntz_output_format"] = timestamp_ntz_output_format
2971
+ __props__.__dict__["timestamp_output_format"] = timestamp_output_format
2972
+ __props__.__dict__["timestamp_type_mapping"] = timestamp_type_mapping
2973
+ __props__.__dict__["timestamp_tz_output_format"] = timestamp_tz_output_format
2974
+ __props__.__dict__["timezone"] = timezone
2975
+ __props__.__dict__["trace_level"] = trace_level
2976
+ __props__.__dict__["transaction_abort_on_error"] = transaction_abort_on_error
2977
+ __props__.__dict__["transaction_default_isolation_level"] = transaction_default_isolation_level
2978
+ __props__.__dict__["two_digit_century_start"] = two_digit_century_start
2979
+ __props__.__dict__["unsupported_ddl_action"] = unsupported_ddl_action
2980
+ __props__.__dict__["use_cached_result"] = use_cached_result
757
2981
  __props__.__dict__["user_task_managed_initial_warehouse_size"] = user_task_managed_initial_warehouse_size
2982
+ __props__.__dict__["user_task_minimum_trigger_interval_in_seconds"] = user_task_minimum_trigger_interval_in_seconds
758
2983
  __props__.__dict__["user_task_timeout_ms"] = user_task_timeout_ms
759
2984
  __props__.__dict__["warehouse"] = warehouse
2985
+ __props__.__dict__["week_of_year_policy"] = week_of_year_policy
2986
+ __props__.__dict__["week_start"] = week_start
760
2987
  __props__.__dict__["when"] = when
761
2988
  return Task(resource_name, opts=opts, __props__=__props__)
762
2989
 
2990
+ @property
2991
+ @pulumi.getter(name="abortDetachedQuery")
2992
+ def abort_detached_query(self) -> pulumi.Output[bool]:
2993
+ """
2994
+ 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).
2995
+ """
2996
+ return pulumi.get(self, "abort_detached_query")
2997
+
763
2998
  @property
764
2999
  @pulumi.getter
765
3000
  def afters(self) -> pulumi.Output[Optional[Sequence[str]]]:
766
3001
  """
767
- 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.
3002
+ 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: `|`, `.`, `"`
768
3003
  """
769
3004
  return pulumi.get(self, "afters")
770
3005
 
771
3006
  @property
772
3007
  @pulumi.getter(name="allowOverlappingExecution")
773
- def allow_overlapping_execution(self) -> pulumi.Output[Optional[bool]]:
3008
+ def allow_overlapping_execution(self) -> pulumi.Output[Optional[str]]:
774
3009
  """
775
- 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.
3010
+ 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.
776
3011
  """
777
3012
  return pulumi.get(self, "allow_overlapping_execution")
778
3013
 
3014
+ @property
3015
+ @pulumi.getter
3016
+ def autocommit(self) -> pulumi.Output[bool]:
3017
+ """
3018
+ 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).
3019
+ """
3020
+ return pulumi.get(self, "autocommit")
3021
+
3022
+ @property
3023
+ @pulumi.getter(name="binaryInputFormat")
3024
+ def binary_input_format(self) -> pulumi.Output[str]:
3025
+ """
3026
+ 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).
3027
+ """
3028
+ return pulumi.get(self, "binary_input_format")
3029
+
3030
+ @property
3031
+ @pulumi.getter(name="binaryOutputFormat")
3032
+ def binary_output_format(self) -> pulumi.Output[str]:
3033
+ """
3034
+ 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).
3035
+ """
3036
+ return pulumi.get(self, "binary_output_format")
3037
+
3038
+ @property
3039
+ @pulumi.getter(name="clientMemoryLimit")
3040
+ def client_memory_limit(self) -> pulumi.Output[int]:
3041
+ """
3042
+ 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).
3043
+ """
3044
+ return pulumi.get(self, "client_memory_limit")
3045
+
3046
+ @property
3047
+ @pulumi.getter(name="clientMetadataRequestUseConnectionCtx")
3048
+ def client_metadata_request_use_connection_ctx(self) -> pulumi.Output[bool]:
3049
+ """
3050
+ 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).
3051
+ """
3052
+ return pulumi.get(self, "client_metadata_request_use_connection_ctx")
3053
+
3054
+ @property
3055
+ @pulumi.getter(name="clientPrefetchThreads")
3056
+ def client_prefetch_threads(self) -> pulumi.Output[int]:
3057
+ """
3058
+ 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).
3059
+ """
3060
+ return pulumi.get(self, "client_prefetch_threads")
3061
+
3062
+ @property
3063
+ @pulumi.getter(name="clientResultChunkSize")
3064
+ def client_result_chunk_size(self) -> pulumi.Output[int]:
3065
+ """
3066
+ 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).
3067
+ """
3068
+ return pulumi.get(self, "client_result_chunk_size")
3069
+
3070
+ @property
3071
+ @pulumi.getter(name="clientResultColumnCaseInsensitive")
3072
+ def client_result_column_case_insensitive(self) -> pulumi.Output[bool]:
3073
+ """
3074
+ 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).
3075
+ """
3076
+ return pulumi.get(self, "client_result_column_case_insensitive")
3077
+
3078
+ @property
3079
+ @pulumi.getter(name="clientSessionKeepAlive")
3080
+ def client_session_keep_alive(self) -> pulumi.Output[bool]:
3081
+ """
3082
+ 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).
3083
+ """
3084
+ return pulumi.get(self, "client_session_keep_alive")
3085
+
3086
+ @property
3087
+ @pulumi.getter(name="clientSessionKeepAliveHeartbeatFrequency")
3088
+ def client_session_keep_alive_heartbeat_frequency(self) -> pulumi.Output[int]:
3089
+ """
3090
+ 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).
3091
+ """
3092
+ return pulumi.get(self, "client_session_keep_alive_heartbeat_frequency")
3093
+
3094
+ @property
3095
+ @pulumi.getter(name="clientTimestampTypeMapping")
3096
+ def client_timestamp_type_mapping(self) -> pulumi.Output[str]:
3097
+ """
3098
+ 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).
3099
+ """
3100
+ return pulumi.get(self, "client_timestamp_type_mapping")
3101
+
779
3102
  @property
780
3103
  @pulumi.getter
781
3104
  def comment(self) -> pulumi.Output[Optional[str]]:
@@ -784,30 +3107,78 @@ class Task(pulumi.CustomResource):
784
3107
  """
785
3108
  return pulumi.get(self, "comment")
786
3109
 
3110
+ @property
3111
+ @pulumi.getter
3112
+ def config(self) -> pulumi.Output[Optional[str]]:
3113
+ """
3114
+ Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
3115
+ """
3116
+ return pulumi.get(self, "config")
3117
+
787
3118
  @property
788
3119
  @pulumi.getter
789
3120
  def database(self) -> pulumi.Output[str]:
790
3121
  """
791
- The database in which to create the task.
3122
+ The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
792
3123
  """
793
3124
  return pulumi.get(self, "database")
794
3125
 
795
3126
  @property
796
- @pulumi.getter
797
- def enabled(self) -> pulumi.Output[Optional[bool]]:
3127
+ @pulumi.getter(name="dateInputFormat")
3128
+ def date_input_format(self) -> pulumi.Output[str]:
3129
+ """
3130
+ 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).
3131
+ """
3132
+ return pulumi.get(self, "date_input_format")
3133
+
3134
+ @property
3135
+ @pulumi.getter(name="dateOutputFormat")
3136
+ def date_output_format(self) -> pulumi.Output[str]:
3137
+ """
3138
+ 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).
3139
+ """
3140
+ return pulumi.get(self, "date_output_format")
3141
+
3142
+ @property
3143
+ @pulumi.getter(name="enableUnloadPhysicalTypeOptimization")
3144
+ def enable_unload_physical_type_optimization(self) -> pulumi.Output[bool]:
798
3145
  """
799
- Specifies if the task should be started (enabled) after creation or should remain suspended (default).
3146
+ 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).
800
3147
  """
801
- return pulumi.get(self, "enabled")
3148
+ return pulumi.get(self, "enable_unload_physical_type_optimization")
802
3149
 
803
3150
  @property
804
3151
  @pulumi.getter(name="errorIntegration")
805
3152
  def error_integration(self) -> pulumi.Output[Optional[str]]:
806
3153
  """
807
- Specifies the name of the notification integration used for error notifications.
3154
+ Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
808
3155
  """
809
3156
  return pulumi.get(self, "error_integration")
810
3157
 
3158
+ @property
3159
+ @pulumi.getter(name="errorOnNondeterministicMerge")
3160
+ def error_on_nondeterministic_merge(self) -> pulumi.Output[bool]:
3161
+ """
3162
+ 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).
3163
+ """
3164
+ return pulumi.get(self, "error_on_nondeterministic_merge")
3165
+
3166
+ @property
3167
+ @pulumi.getter(name="errorOnNondeterministicUpdate")
3168
+ def error_on_nondeterministic_update(self) -> pulumi.Output[bool]:
3169
+ """
3170
+ 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).
3171
+ """
3172
+ return pulumi.get(self, "error_on_nondeterministic_update")
3173
+
3174
+ @property
3175
+ @pulumi.getter
3176
+ def finalize(self) -> pulumi.Output[Optional[str]]:
3177
+ """
3178
+ 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: `|`, `.`, `"`
3179
+ """
3180
+ return pulumi.get(self, "finalize")
3181
+
811
3182
  @property
812
3183
  @pulumi.getter(name="fullyQualifiedName")
813
3184
  def fully_qualified_name(self) -> pulumi.Output[str]:
@@ -816,19 +3187,139 @@ class Task(pulumi.CustomResource):
816
3187
  """
817
3188
  return pulumi.get(self, "fully_qualified_name")
818
3189
 
3190
+ @property
3191
+ @pulumi.getter(name="geographyOutputFormat")
3192
+ def geography_output_format(self) -> pulumi.Output[str]:
3193
+ """
3194
+ 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).
3195
+ """
3196
+ return pulumi.get(self, "geography_output_format")
3197
+
3198
+ @property
3199
+ @pulumi.getter(name="geometryOutputFormat")
3200
+ def geometry_output_format(self) -> pulumi.Output[str]:
3201
+ """
3202
+ 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).
3203
+ """
3204
+ return pulumi.get(self, "geometry_output_format")
3205
+
3206
+ @property
3207
+ @pulumi.getter(name="jdbcTreatTimestampNtzAsUtc")
3208
+ def jdbc_treat_timestamp_ntz_as_utc(self) -> pulumi.Output[bool]:
3209
+ """
3210
+ 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).
3211
+ """
3212
+ return pulumi.get(self, "jdbc_treat_timestamp_ntz_as_utc")
3213
+
3214
+ @property
3215
+ @pulumi.getter(name="jdbcUseSessionTimezone")
3216
+ def jdbc_use_session_timezone(self) -> pulumi.Output[bool]:
3217
+ """
3218
+ 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).
3219
+ """
3220
+ return pulumi.get(self, "jdbc_use_session_timezone")
3221
+
3222
+ @property
3223
+ @pulumi.getter(name="jsonIndent")
3224
+ def json_indent(self) -> pulumi.Output[int]:
3225
+ """
3226
+ 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).
3227
+ """
3228
+ return pulumi.get(self, "json_indent")
3229
+
3230
+ @property
3231
+ @pulumi.getter(name="lockTimeout")
3232
+ def lock_timeout(self) -> pulumi.Output[int]:
3233
+ """
3234
+ 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).
3235
+ """
3236
+ return pulumi.get(self, "lock_timeout")
3237
+
3238
+ @property
3239
+ @pulumi.getter(name="logLevel")
3240
+ def log_level(self) -> pulumi.Output[str]:
3241
+ """
3242
+ 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).
3243
+ """
3244
+ return pulumi.get(self, "log_level")
3245
+
3246
+ @property
3247
+ @pulumi.getter(name="multiStatementCount")
3248
+ def multi_statement_count(self) -> pulumi.Output[int]:
3249
+ """
3250
+ 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).
3251
+ """
3252
+ return pulumi.get(self, "multi_statement_count")
3253
+
819
3254
  @property
820
3255
  @pulumi.getter
821
3256
  def name(self) -> pulumi.Output[str]:
822
3257
  """
823
- Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
3258
+ 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: `|`, `.`, `"`
824
3259
  """
825
3260
  return pulumi.get(self, "name")
826
3261
 
3262
+ @property
3263
+ @pulumi.getter(name="noorderSequenceAsDefault")
3264
+ def noorder_sequence_as_default(self) -> pulumi.Output[bool]:
3265
+ """
3266
+ 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).
3267
+ """
3268
+ return pulumi.get(self, "noorder_sequence_as_default")
3269
+
3270
+ @property
3271
+ @pulumi.getter(name="odbcTreatDecimalAsInt")
3272
+ def odbc_treat_decimal_as_int(self) -> pulumi.Output[bool]:
3273
+ """
3274
+ 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).
3275
+ """
3276
+ return pulumi.get(self, "odbc_treat_decimal_as_int")
3277
+
3278
+ @property
3279
+ @pulumi.getter
3280
+ def parameters(self) -> pulumi.Output[Sequence['outputs.TaskParameter']]:
3281
+ """
3282
+ Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
3283
+ """
3284
+ return pulumi.get(self, "parameters")
3285
+
3286
+ @property
3287
+ @pulumi.getter(name="queryTag")
3288
+ def query_tag(self) -> pulumi.Output[str]:
3289
+ """
3290
+ 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).
3291
+ """
3292
+ return pulumi.get(self, "query_tag")
3293
+
3294
+ @property
3295
+ @pulumi.getter(name="quotedIdentifiersIgnoreCase")
3296
+ def quoted_identifiers_ignore_case(self) -> pulumi.Output[bool]:
3297
+ """
3298
+ 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).
3299
+ """
3300
+ return pulumi.get(self, "quoted_identifiers_ignore_case")
3301
+
3302
+ @property
3303
+ @pulumi.getter(name="rowsPerResultset")
3304
+ def rows_per_resultset(self) -> pulumi.Output[int]:
3305
+ """
3306
+ 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).
3307
+ """
3308
+ return pulumi.get(self, "rows_per_resultset")
3309
+
3310
+ @property
3311
+ @pulumi.getter(name="s3StageVpceDnsName")
3312
+ def s3_stage_vpce_dns_name(self) -> pulumi.Output[str]:
3313
+ """
3314
+ 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).
3315
+ """
3316
+ return pulumi.get(self, "s3_stage_vpce_dns_name")
3317
+
827
3318
  @property
828
3319
  @pulumi.getter
829
- def schedule(self) -> pulumi.Output[Optional[str]]:
3320
+ def schedule(self) -> pulumi.Output[Optional['outputs.TaskSchedule']]:
830
3321
  """
831
- The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
3322
+ 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)
832
3323
  """
833
3324
  return pulumi.get(self, "schedule")
834
3325
 
@@ -836,17 +3327,25 @@ class Task(pulumi.CustomResource):
836
3327
  @pulumi.getter
837
3328
  def schema(self) -> pulumi.Output[str]:
838
3329
  """
839
- The schema in which to create the task.
3330
+ The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
840
3331
  """
841
3332
  return pulumi.get(self, "schema")
842
3333
 
843
3334
  @property
844
- @pulumi.getter(name="sessionParameters")
845
- def session_parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
3335
+ @pulumi.getter(name="searchPath")
3336
+ def search_path(self) -> pulumi.Output[str]:
3337
+ """
3338
+ 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).
3339
+ """
3340
+ return pulumi.get(self, "search_path")
3341
+
3342
+ @property
3343
+ @pulumi.getter(name="showOutputs")
3344
+ def show_outputs(self) -> pulumi.Output[Sequence['outputs.TaskShowOutput']]:
846
3345
  """
847
- Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
3346
+ Outputs the result of `SHOW TASKS` for the given task.
848
3347
  """
849
- return pulumi.get(self, "session_parameters")
3348
+ return pulumi.get(self, "show_outputs")
850
3349
 
851
3350
  @property
852
3351
  @pulumi.getter(name="sqlStatement")
@@ -856,27 +3355,203 @@ class Task(pulumi.CustomResource):
856
3355
  """
857
3356
  return pulumi.get(self, "sql_statement")
858
3357
 
3358
+ @property
3359
+ @pulumi.getter
3360
+ def started(self) -> pulumi.Output[bool]:
3361
+ """
3362
+ Specifies if the task should be started or suspended.
3363
+ """
3364
+ return pulumi.get(self, "started")
3365
+
3366
+ @property
3367
+ @pulumi.getter(name="statementQueuedTimeoutInSeconds")
3368
+ def statement_queued_timeout_in_seconds(self) -> pulumi.Output[int]:
3369
+ """
3370
+ 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).
3371
+ """
3372
+ return pulumi.get(self, "statement_queued_timeout_in_seconds")
3373
+
3374
+ @property
3375
+ @pulumi.getter(name="statementTimeoutInSeconds")
3376
+ def statement_timeout_in_seconds(self) -> pulumi.Output[int]:
3377
+ """
3378
+ 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).
3379
+ """
3380
+ return pulumi.get(self, "statement_timeout_in_seconds")
3381
+
3382
+ @property
3383
+ @pulumi.getter(name="strictJsonOutput")
3384
+ def strict_json_output(self) -> pulumi.Output[bool]:
3385
+ """
3386
+ 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).
3387
+ """
3388
+ return pulumi.get(self, "strict_json_output")
3389
+
859
3390
  @property
860
3391
  @pulumi.getter(name="suspendTaskAfterNumFailures")
861
- def suspend_task_after_num_failures(self) -> pulumi.Output[Optional[int]]:
3392
+ def suspend_task_after_num_failures(self) -> pulumi.Output[int]:
862
3393
  """
863
- Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
3394
+ 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).
864
3395
  """
865
3396
  return pulumi.get(self, "suspend_task_after_num_failures")
866
3397
 
3398
+ @property
3399
+ @pulumi.getter(name="taskAutoRetryAttempts")
3400
+ def task_auto_retry_attempts(self) -> pulumi.Output[int]:
3401
+ """
3402
+ 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).
3403
+ """
3404
+ return pulumi.get(self, "task_auto_retry_attempts")
3405
+
3406
+ @property
3407
+ @pulumi.getter(name="timeInputFormat")
3408
+ def time_input_format(self) -> pulumi.Output[str]:
3409
+ """
3410
+ 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).
3411
+ """
3412
+ return pulumi.get(self, "time_input_format")
3413
+
3414
+ @property
3415
+ @pulumi.getter(name="timeOutputFormat")
3416
+ def time_output_format(self) -> pulumi.Output[str]:
3417
+ """
3418
+ 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).
3419
+ """
3420
+ return pulumi.get(self, "time_output_format")
3421
+
3422
+ @property
3423
+ @pulumi.getter(name="timestampDayIsAlways24h")
3424
+ def timestamp_day_is_always24h(self) -> pulumi.Output[bool]:
3425
+ """
3426
+ 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).
3427
+ """
3428
+ return pulumi.get(self, "timestamp_day_is_always24h")
3429
+
3430
+ @property
3431
+ @pulumi.getter(name="timestampInputFormat")
3432
+ def timestamp_input_format(self) -> pulumi.Output[str]:
3433
+ """
3434
+ 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).
3435
+ """
3436
+ return pulumi.get(self, "timestamp_input_format")
3437
+
3438
+ @property
3439
+ @pulumi.getter(name="timestampLtzOutputFormat")
3440
+ def timestamp_ltz_output_format(self) -> pulumi.Output[str]:
3441
+ """
3442
+ 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).
3443
+ """
3444
+ return pulumi.get(self, "timestamp_ltz_output_format")
3445
+
3446
+ @property
3447
+ @pulumi.getter(name="timestampNtzOutputFormat")
3448
+ def timestamp_ntz_output_format(self) -> pulumi.Output[str]:
3449
+ """
3450
+ 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).
3451
+ """
3452
+ return pulumi.get(self, "timestamp_ntz_output_format")
3453
+
3454
+ @property
3455
+ @pulumi.getter(name="timestampOutputFormat")
3456
+ def timestamp_output_format(self) -> pulumi.Output[str]:
3457
+ """
3458
+ 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).
3459
+ """
3460
+ return pulumi.get(self, "timestamp_output_format")
3461
+
3462
+ @property
3463
+ @pulumi.getter(name="timestampTypeMapping")
3464
+ def timestamp_type_mapping(self) -> pulumi.Output[str]:
3465
+ """
3466
+ 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).
3467
+ """
3468
+ return pulumi.get(self, "timestamp_type_mapping")
3469
+
3470
+ @property
3471
+ @pulumi.getter(name="timestampTzOutputFormat")
3472
+ def timestamp_tz_output_format(self) -> pulumi.Output[str]:
3473
+ """
3474
+ 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).
3475
+ """
3476
+ return pulumi.get(self, "timestamp_tz_output_format")
3477
+
3478
+ @property
3479
+ @pulumi.getter
3480
+ def timezone(self) -> pulumi.Output[str]:
3481
+ """
3482
+ 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).
3483
+ """
3484
+ return pulumi.get(self, "timezone")
3485
+
3486
+ @property
3487
+ @pulumi.getter(name="traceLevel")
3488
+ def trace_level(self) -> pulumi.Output[str]:
3489
+ """
3490
+ 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).
3491
+ """
3492
+ return pulumi.get(self, "trace_level")
3493
+
3494
+ @property
3495
+ @pulumi.getter(name="transactionAbortOnError")
3496
+ def transaction_abort_on_error(self) -> pulumi.Output[bool]:
3497
+ """
3498
+ 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).
3499
+ """
3500
+ return pulumi.get(self, "transaction_abort_on_error")
3501
+
3502
+ @property
3503
+ @pulumi.getter(name="transactionDefaultIsolationLevel")
3504
+ def transaction_default_isolation_level(self) -> pulumi.Output[str]:
3505
+ """
3506
+ 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).
3507
+ """
3508
+ return pulumi.get(self, "transaction_default_isolation_level")
3509
+
3510
+ @property
3511
+ @pulumi.getter(name="twoDigitCenturyStart")
3512
+ def two_digit_century_start(self) -> pulumi.Output[int]:
3513
+ """
3514
+ 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).
3515
+ """
3516
+ return pulumi.get(self, "two_digit_century_start")
3517
+
3518
+ @property
3519
+ @pulumi.getter(name="unsupportedDdlAction")
3520
+ def unsupported_ddl_action(self) -> pulumi.Output[str]:
3521
+ """
3522
+ 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).
3523
+ """
3524
+ return pulumi.get(self, "unsupported_ddl_action")
3525
+
3526
+ @property
3527
+ @pulumi.getter(name="useCachedResult")
3528
+ def use_cached_result(self) -> pulumi.Output[bool]:
3529
+ """
3530
+ 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).
3531
+ """
3532
+ return pulumi.get(self, "use_cached_result")
3533
+
867
3534
  @property
868
3535
  @pulumi.getter(name="userTaskManagedInitialWarehouseSize")
869
- def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[Optional[str]]:
3536
+ def user_task_managed_initial_warehouse_size(self) -> pulumi.Output[str]:
870
3537
  """
871
- 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)
3538
+ 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, check [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
872
3539
  """
873
3540
  return pulumi.get(self, "user_task_managed_initial_warehouse_size")
874
3541
 
3542
+ @property
3543
+ @pulumi.getter(name="userTaskMinimumTriggerIntervalInSeconds")
3544
+ def user_task_minimum_trigger_interval_in_seconds(self) -> pulumi.Output[int]:
3545
+ """
3546
+ 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).
3547
+ """
3548
+ return pulumi.get(self, "user_task_minimum_trigger_interval_in_seconds")
3549
+
875
3550
  @property
876
3551
  @pulumi.getter(name="userTaskTimeoutMs")
877
- def user_task_timeout_ms(self) -> pulumi.Output[Optional[int]]:
3552
+ def user_task_timeout_ms(self) -> pulumi.Output[int]:
878
3553
  """
879
- Specifies the time limit on a single run of the task before it times out (in milliseconds).
3554
+ 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).
880
3555
  """
881
3556
  return pulumi.get(self, "user_task_timeout_ms")
882
3557
 
@@ -884,15 +3559,31 @@ class Task(pulumi.CustomResource):
884
3559
  @pulumi.getter
885
3560
  def warehouse(self) -> pulumi.Output[Optional[str]]:
886
3561
  """
887
- 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)
3562
+ 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)
888
3563
  """
889
3564
  return pulumi.get(self, "warehouse")
890
3565
 
3566
+ @property
3567
+ @pulumi.getter(name="weekOfYearPolicy")
3568
+ def week_of_year_policy(self) -> pulumi.Output[int]:
3569
+ """
3570
+ 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).
3571
+ """
3572
+ return pulumi.get(self, "week_of_year_policy")
3573
+
3574
+ @property
3575
+ @pulumi.getter(name="weekStart")
3576
+ def week_start(self) -> pulumi.Output[int]:
3577
+ """
3578
+ 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).
3579
+ """
3580
+ return pulumi.get(self, "week_start")
3581
+
891
3582
  @property
892
3583
  @pulumi.getter
893
3584
  def when(self) -> pulumi.Output[Optional[str]]:
894
3585
  """
895
- Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
3586
+ 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.
896
3587
  """
897
3588
  return pulumi.get(self, "when")
898
3589