@pulumi/snowflake 0.62.0-alpha.1732688512 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/accountRole.d.ts +3 -3
  2. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +3 -3
  3. package/apiAuthenticationIntegrationWithClientCredentials.d.ts +3 -3
  4. package/apiAuthenticationIntegrationWithJwtBearer.d.ts +3 -3
  5. package/authenticationPolicy.d.ts +9 -9
  6. package/database.d.ts +3 -3
  7. package/databaseRole.d.ts +6 -6
  8. package/externalOauthIntegration.d.ts +3 -3
  9. package/externalVolume.d.ts +3 -3
  10. package/getTags.d.ts +62 -0
  11. package/getTags.js +36 -0
  12. package/getTags.js.map +1 -0
  13. package/getTasks.d.ts +70 -37
  14. package/getTasks.js +18 -24
  15. package/getTasks.js.map +1 -1
  16. package/index.d.ts +3 -0
  17. package/index.js +5 -2
  18. package/index.js.map +1 -1
  19. package/legacyServiceUser.d.ts +3 -3
  20. package/maskingPolicy.d.ts +9 -9
  21. package/networkPolicy.d.ts +3 -3
  22. package/oauthIntegrationForCustomClients.d.ts +3 -3
  23. package/oauthIntegrationForPartnerApplications.d.ts +3 -3
  24. package/package.json +2 -2
  25. package/passwordPolicy.d.ts +0 -3
  26. package/passwordPolicy.js +0 -3
  27. package/passwordPolicy.js.map +1 -1
  28. package/primaryConnection.d.ts +3 -3
  29. package/resourceMonitor.d.ts +3 -3
  30. package/role.d.ts +3 -3
  31. package/rowAccessPolicy.d.ts +9 -9
  32. package/saml2Integration.d.ts +3 -3
  33. package/scimIntegration.d.ts +3 -3
  34. package/secondaryConnection.d.ts +3 -3
  35. package/secondaryDatabase.d.ts +3 -3
  36. package/secretWithAuthorizationCodeGrant.d.ts +9 -9
  37. package/secretWithBasicAuthentication.d.ts +9 -9
  38. package/secretWithClientCredentials.d.ts +9 -9
  39. package/secretWithGenericString.d.ts +9 -9
  40. package/serviceUser.d.ts +3 -3
  41. package/sharedDatabase.d.ts +3 -3
  42. package/storageIntegration.d.ts +9 -0
  43. package/storageIntegration.js.map +1 -1
  44. package/streamOnDirectoryTable.d.ts +12 -12
  45. package/streamOnExternalTable.d.ts +12 -12
  46. package/streamOnTable.d.ts +12 -12
  47. package/streamOnView.d.ts +12 -12
  48. package/tag.d.ts +35 -15
  49. package/tag.js +5 -3
  50. package/tag.js.map +1 -1
  51. package/task.d.ts +747 -63
  52. package/task.js +123 -4
  53. package/task.js.map +1 -1
  54. package/types/input.d.ts +623 -0
  55. package/types/output.d.ts +2935 -1852
  56. package/user.d.ts +3 -3
  57. package/view.d.ts +9 -9
  58. package/warehouse.d.ts +3 -3
package/task.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  /**
3
5
  * ## Import
4
6
  *
@@ -25,73 +27,303 @@ export declare class Task extends pulumi.CustomResource {
25
27
  */
26
28
  static isInstance(obj: any): obj is Task;
27
29
  /**
28
- * 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.
30
+ * 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).
31
+ */
32
+ readonly abortDetachedQuery: pulumi.Output<boolean>;
33
+ /**
34
+ * 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: `|`, `.`, `"`
29
35
  */
30
36
  readonly afters: pulumi.Output<string[] | undefined>;
31
37
  /**
32
- * 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.
38
+ * 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.
39
+ */
40
+ readonly allowOverlappingExecution: pulumi.Output<string | undefined>;
41
+ /**
42
+ * 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).
43
+ */
44
+ readonly autocommit: pulumi.Output<boolean>;
45
+ /**
46
+ * 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).
47
+ */
48
+ readonly binaryInputFormat: pulumi.Output<string>;
49
+ /**
50
+ * 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).
51
+ */
52
+ readonly binaryOutputFormat: pulumi.Output<string>;
53
+ /**
54
+ * 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).
55
+ */
56
+ readonly clientMemoryLimit: pulumi.Output<number>;
57
+ /**
58
+ * 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).
59
+ */
60
+ readonly clientMetadataRequestUseConnectionCtx: pulumi.Output<boolean>;
61
+ /**
62
+ * 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).
63
+ */
64
+ readonly clientPrefetchThreads: pulumi.Output<number>;
65
+ /**
66
+ * 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).
67
+ */
68
+ readonly clientResultChunkSize: pulumi.Output<number>;
69
+ /**
70
+ * 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).
71
+ */
72
+ readonly clientResultColumnCaseInsensitive: pulumi.Output<boolean>;
73
+ /**
74
+ * 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).
75
+ */
76
+ readonly clientSessionKeepAlive: pulumi.Output<boolean>;
77
+ /**
78
+ * 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).
33
79
  */
34
- readonly allowOverlappingExecution: pulumi.Output<boolean | undefined>;
80
+ readonly clientSessionKeepAliveHeartbeatFrequency: pulumi.Output<number>;
81
+ /**
82
+ * 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).
83
+ */
84
+ readonly clientTimestampTypeMapping: pulumi.Output<string>;
35
85
  /**
36
86
  * Specifies a comment for the task.
37
87
  */
38
88
  readonly comment: pulumi.Output<string | undefined>;
39
89
  /**
40
- * The database in which to create the task.
90
+ * Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
91
+ */
92
+ readonly config: pulumi.Output<string | undefined>;
93
+ /**
94
+ * The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
41
95
  */
42
96
  readonly database: pulumi.Output<string>;
43
97
  /**
44
- * Specifies if the task should be started (enabled) after creation or should remain suspended (default).
98
+ * 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).
99
+ */
100
+ readonly dateInputFormat: pulumi.Output<string>;
101
+ /**
102
+ * 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).
45
103
  */
46
- readonly enabled: pulumi.Output<boolean | undefined>;
104
+ readonly dateOutputFormat: pulumi.Output<string>;
47
105
  /**
48
- * Specifies the name of the notification integration used for error notifications.
106
+ * 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).
107
+ */
108
+ readonly enableUnloadPhysicalTypeOptimization: pulumi.Output<boolean>;
109
+ /**
110
+ * Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
49
111
  */
50
112
  readonly errorIntegration: pulumi.Output<string | undefined>;
113
+ /**
114
+ * 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).
115
+ */
116
+ readonly errorOnNondeterministicMerge: pulumi.Output<boolean>;
117
+ /**
118
+ * 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).
119
+ */
120
+ readonly errorOnNondeterministicUpdate: pulumi.Output<boolean>;
121
+ /**
122
+ * 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: `|`, `.`, `"`
123
+ */
124
+ readonly finalize: pulumi.Output<string | undefined>;
51
125
  /**
52
126
  * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
53
127
  */
54
128
  readonly fullyQualifiedName: pulumi.Output<string>;
55
129
  /**
56
- * Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
130
+ * 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).
131
+ */
132
+ readonly geographyOutputFormat: pulumi.Output<string>;
133
+ /**
134
+ * 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).
135
+ */
136
+ readonly geometryOutputFormat: pulumi.Output<string>;
137
+ /**
138
+ * 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).
139
+ */
140
+ readonly jdbcTreatTimestampNtzAsUtc: pulumi.Output<boolean>;
141
+ /**
142
+ * 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).
143
+ */
144
+ readonly jdbcUseSessionTimezone: pulumi.Output<boolean>;
145
+ /**
146
+ * 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).
147
+ */
148
+ readonly jsonIndent: pulumi.Output<number>;
149
+ /**
150
+ * 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).
151
+ */
152
+ readonly lockTimeout: pulumi.Output<number>;
153
+ /**
154
+ * 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).
155
+ */
156
+ readonly logLevel: pulumi.Output<string>;
157
+ /**
158
+ * 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).
159
+ */
160
+ readonly multiStatementCount: pulumi.Output<number>;
161
+ /**
162
+ * 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: `|`, `.`, `"`
57
163
  */
58
164
  readonly name: pulumi.Output<string>;
59
165
  /**
60
- * The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
166
+ * 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).
167
+ */
168
+ readonly noorderSequenceAsDefault: pulumi.Output<boolean>;
169
+ /**
170
+ * 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).
61
171
  */
62
- readonly schedule: pulumi.Output<string | undefined>;
172
+ readonly odbcTreatDecimalAsInt: pulumi.Output<boolean>;
63
173
  /**
64
- * The schema in which to create the task.
174
+ * Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
175
+ */
176
+ readonly parameters: pulumi.Output<outputs.TaskParameter[]>;
177
+ /**
178
+ * 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).
179
+ */
180
+ readonly queryTag: pulumi.Output<string>;
181
+ /**
182
+ * 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).
183
+ */
184
+ readonly quotedIdentifiersIgnoreCase: pulumi.Output<boolean>;
185
+ /**
186
+ * 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).
187
+ */
188
+ readonly rowsPerResultset: pulumi.Output<number>;
189
+ /**
190
+ * 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).
191
+ */
192
+ readonly s3StageVpceDnsName: pulumi.Output<string>;
193
+ /**
194
+ * 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 `usingCron` should be set)
195
+ */
196
+ readonly schedule: pulumi.Output<outputs.TaskSchedule | undefined>;
197
+ /**
198
+ * The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
65
199
  */
66
200
  readonly schema: pulumi.Output<string>;
67
201
  /**
68
- * Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
202
+ * 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).
203
+ */
204
+ readonly searchPath: pulumi.Output<string>;
205
+ /**
206
+ * Outputs the result of `SHOW TASKS` for the given task.
69
207
  */
70
- readonly sessionParameters: pulumi.Output<{
71
- [key: string]: string;
72
- } | undefined>;
208
+ readonly showOutputs: pulumi.Output<outputs.TaskShowOutput[]>;
73
209
  /**
74
210
  * Any single SQL statement, or a call to a stored procedure, executed when the task runs.
75
211
  */
76
212
  readonly sqlStatement: pulumi.Output<string>;
77
213
  /**
78
- * Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
214
+ * Specifies if the task should be started or suspended.
215
+ */
216
+ readonly started: pulumi.Output<boolean>;
217
+ /**
218
+ * 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).
219
+ */
220
+ readonly statementQueuedTimeoutInSeconds: pulumi.Output<number>;
221
+ /**
222
+ * 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).
223
+ */
224
+ readonly statementTimeoutInSeconds: pulumi.Output<number>;
225
+ /**
226
+ * 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).
227
+ */
228
+ readonly strictJsonOutput: pulumi.Output<boolean>;
229
+ /**
230
+ * 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).
231
+ */
232
+ readonly suspendTaskAfterNumFailures: pulumi.Output<number>;
233
+ /**
234
+ * 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).
235
+ */
236
+ readonly taskAutoRetryAttempts: pulumi.Output<number>;
237
+ /**
238
+ * 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).
239
+ */
240
+ readonly timeInputFormat: pulumi.Output<string>;
241
+ /**
242
+ * 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).
243
+ */
244
+ readonly timeOutputFormat: pulumi.Output<string>;
245
+ /**
246
+ * 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).
247
+ */
248
+ readonly timestampDayIsAlways24h: pulumi.Output<boolean>;
249
+ /**
250
+ * 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).
79
251
  */
80
- readonly suspendTaskAfterNumFailures: pulumi.Output<number | undefined>;
252
+ readonly timestampInputFormat: pulumi.Output<string>;
81
253
  /**
82
- * 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)
254
+ * 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).
83
255
  */
84
- readonly userTaskManagedInitialWarehouseSize: pulumi.Output<string | undefined>;
256
+ readonly timestampLtzOutputFormat: pulumi.Output<string>;
85
257
  /**
86
- * Specifies the time limit on a single run of the task before it times out (in milliseconds).
258
+ * 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).
87
259
  */
88
- readonly userTaskTimeoutMs: pulumi.Output<number | undefined>;
260
+ readonly timestampNtzOutputFormat: pulumi.Output<string>;
89
261
  /**
90
- * 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)
262
+ * 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).
263
+ */
264
+ readonly timestampOutputFormat: pulumi.Output<string>;
265
+ /**
266
+ * 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).
267
+ */
268
+ readonly timestampTypeMapping: pulumi.Output<string>;
269
+ /**
270
+ * 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).
271
+ */
272
+ readonly timestampTzOutputFormat: pulumi.Output<string>;
273
+ /**
274
+ * 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).
275
+ */
276
+ readonly timezone: pulumi.Output<string>;
277
+ /**
278
+ * 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).
279
+ */
280
+ readonly traceLevel: pulumi.Output<string>;
281
+ /**
282
+ * 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).
283
+ */
284
+ readonly transactionAbortOnError: pulumi.Output<boolean>;
285
+ /**
286
+ * 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).
287
+ */
288
+ readonly transactionDefaultIsolationLevel: pulumi.Output<string>;
289
+ /**
290
+ * 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).
291
+ */
292
+ readonly twoDigitCenturyStart: pulumi.Output<number>;
293
+ /**
294
+ * 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).
295
+ */
296
+ readonly unsupportedDdlAction: pulumi.Output<string>;
297
+ /**
298
+ * 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).
299
+ */
300
+ readonly useCachedResult: pulumi.Output<boolean>;
301
+ /**
302
+ * 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).
303
+ */
304
+ readonly userTaskManagedInitialWarehouseSize: pulumi.Output<string>;
305
+ /**
306
+ * 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).
307
+ */
308
+ readonly userTaskMinimumTriggerIntervalInSeconds: pulumi.Output<number>;
309
+ /**
310
+ * 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).
311
+ */
312
+ readonly userTaskTimeoutMs: pulumi.Output<number>;
313
+ /**
314
+ * 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)
91
315
  */
92
316
  readonly warehouse: pulumi.Output<string | undefined>;
93
317
  /**
94
- * Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
318
+ * 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).
319
+ */
320
+ readonly weekOfYearPolicy: pulumi.Output<number>;
321
+ /**
322
+ * 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).
323
+ */
324
+ readonly weekStart: pulumi.Output<number>;
325
+ /**
326
+ * 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.
95
327
  */
96
328
  readonly when: pulumi.Output<string | undefined>;
97
329
  /**
@@ -108,73 +340,303 @@ export declare class Task extends pulumi.CustomResource {
108
340
  */
109
341
  export interface TaskState {
110
342
  /**
111
- * 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.
343
+ * 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).
344
+ */
345
+ abortDetachedQuery?: pulumi.Input<boolean>;
346
+ /**
347
+ * 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: `|`, `.`, `"`
112
348
  */
113
349
  afters?: pulumi.Input<pulumi.Input<string>[]>;
114
350
  /**
115
- * 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.
351
+ * 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.
352
+ */
353
+ allowOverlappingExecution?: pulumi.Input<string>;
354
+ /**
355
+ * 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).
356
+ */
357
+ autocommit?: pulumi.Input<boolean>;
358
+ /**
359
+ * 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).
360
+ */
361
+ binaryInputFormat?: pulumi.Input<string>;
362
+ /**
363
+ * 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).
364
+ */
365
+ binaryOutputFormat?: pulumi.Input<string>;
366
+ /**
367
+ * 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).
368
+ */
369
+ clientMemoryLimit?: pulumi.Input<number>;
370
+ /**
371
+ * 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).
372
+ */
373
+ clientMetadataRequestUseConnectionCtx?: pulumi.Input<boolean>;
374
+ /**
375
+ * 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).
376
+ */
377
+ clientPrefetchThreads?: pulumi.Input<number>;
378
+ /**
379
+ * 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).
380
+ */
381
+ clientResultChunkSize?: pulumi.Input<number>;
382
+ /**
383
+ * 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).
384
+ */
385
+ clientResultColumnCaseInsensitive?: pulumi.Input<boolean>;
386
+ /**
387
+ * 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).
388
+ */
389
+ clientSessionKeepAlive?: pulumi.Input<boolean>;
390
+ /**
391
+ * 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).
392
+ */
393
+ clientSessionKeepAliveHeartbeatFrequency?: pulumi.Input<number>;
394
+ /**
395
+ * 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).
116
396
  */
117
- allowOverlappingExecution?: pulumi.Input<boolean>;
397
+ clientTimestampTypeMapping?: pulumi.Input<string>;
118
398
  /**
119
399
  * Specifies a comment for the task.
120
400
  */
121
401
  comment?: pulumi.Input<string>;
122
402
  /**
123
- * The database in which to create the task.
403
+ * Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
404
+ */
405
+ config?: pulumi.Input<string>;
406
+ /**
407
+ * The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
124
408
  */
125
409
  database?: pulumi.Input<string>;
126
410
  /**
127
- * Specifies if the task should be started (enabled) after creation or should remain suspended (default).
411
+ * 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).
412
+ */
413
+ dateInputFormat?: pulumi.Input<string>;
414
+ /**
415
+ * 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).
416
+ */
417
+ dateOutputFormat?: pulumi.Input<string>;
418
+ /**
419
+ * 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).
128
420
  */
129
- enabled?: pulumi.Input<boolean>;
421
+ enableUnloadPhysicalTypeOptimization?: pulumi.Input<boolean>;
130
422
  /**
131
- * Specifies the name of the notification integration used for error notifications.
423
+ * Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
132
424
  */
133
425
  errorIntegration?: pulumi.Input<string>;
426
+ /**
427
+ * 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).
428
+ */
429
+ errorOnNondeterministicMerge?: pulumi.Input<boolean>;
430
+ /**
431
+ * 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).
432
+ */
433
+ errorOnNondeterministicUpdate?: pulumi.Input<boolean>;
434
+ /**
435
+ * 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: `|`, `.`, `"`
436
+ */
437
+ finalize?: pulumi.Input<string>;
134
438
  /**
135
439
  * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
136
440
  */
137
441
  fullyQualifiedName?: pulumi.Input<string>;
138
442
  /**
139
- * Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
443
+ * 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).
444
+ */
445
+ geographyOutputFormat?: pulumi.Input<string>;
446
+ /**
447
+ * 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).
448
+ */
449
+ geometryOutputFormat?: pulumi.Input<string>;
450
+ /**
451
+ * 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).
452
+ */
453
+ jdbcTreatTimestampNtzAsUtc?: pulumi.Input<boolean>;
454
+ /**
455
+ * 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).
456
+ */
457
+ jdbcUseSessionTimezone?: pulumi.Input<boolean>;
458
+ /**
459
+ * 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).
460
+ */
461
+ jsonIndent?: pulumi.Input<number>;
462
+ /**
463
+ * 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).
464
+ */
465
+ lockTimeout?: pulumi.Input<number>;
466
+ /**
467
+ * 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).
468
+ */
469
+ logLevel?: pulumi.Input<string>;
470
+ /**
471
+ * 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).
472
+ */
473
+ multiStatementCount?: pulumi.Input<number>;
474
+ /**
475
+ * 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: `|`, `.`, `"`
140
476
  */
141
477
  name?: pulumi.Input<string>;
142
478
  /**
143
- * The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
479
+ * 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).
480
+ */
481
+ noorderSequenceAsDefault?: pulumi.Input<boolean>;
482
+ /**
483
+ * 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).
484
+ */
485
+ odbcTreatDecimalAsInt?: pulumi.Input<boolean>;
486
+ /**
487
+ * Outputs the result of `SHOW PARAMETERS IN TASK` for the given task.
144
488
  */
145
- schedule?: pulumi.Input<string>;
489
+ parameters?: pulumi.Input<pulumi.Input<inputs.TaskParameter>[]>;
146
490
  /**
147
- * The schema in which to create the task.
491
+ * 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).
492
+ */
493
+ queryTag?: pulumi.Input<string>;
494
+ /**
495
+ * 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).
496
+ */
497
+ quotedIdentifiersIgnoreCase?: pulumi.Input<boolean>;
498
+ /**
499
+ * 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).
500
+ */
501
+ rowsPerResultset?: pulumi.Input<number>;
502
+ /**
503
+ * 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).
504
+ */
505
+ s3StageVpceDnsName?: pulumi.Input<string>;
506
+ /**
507
+ * 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 `usingCron` should be set)
508
+ */
509
+ schedule?: pulumi.Input<inputs.TaskSchedule>;
510
+ /**
511
+ * The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
148
512
  */
149
513
  schema?: pulumi.Input<string>;
150
514
  /**
151
- * Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
515
+ * 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).
516
+ */
517
+ searchPath?: pulumi.Input<string>;
518
+ /**
519
+ * Outputs the result of `SHOW TASKS` for the given task.
152
520
  */
153
- sessionParameters?: pulumi.Input<{
154
- [key: string]: pulumi.Input<string>;
155
- }>;
521
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.TaskShowOutput>[]>;
156
522
  /**
157
523
  * Any single SQL statement, or a call to a stored procedure, executed when the task runs.
158
524
  */
159
525
  sqlStatement?: pulumi.Input<string>;
160
526
  /**
161
- * Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
527
+ * Specifies if the task should be started or suspended.
528
+ */
529
+ started?: pulumi.Input<boolean>;
530
+ /**
531
+ * 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).
532
+ */
533
+ statementQueuedTimeoutInSeconds?: pulumi.Input<number>;
534
+ /**
535
+ * 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).
536
+ */
537
+ statementTimeoutInSeconds?: pulumi.Input<number>;
538
+ /**
539
+ * 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).
540
+ */
541
+ strictJsonOutput?: pulumi.Input<boolean>;
542
+ /**
543
+ * 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).
162
544
  */
163
545
  suspendTaskAfterNumFailures?: pulumi.Input<number>;
164
546
  /**
165
- * 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)
547
+ * 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).
548
+ */
549
+ taskAutoRetryAttempts?: pulumi.Input<number>;
550
+ /**
551
+ * 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).
552
+ */
553
+ timeInputFormat?: pulumi.Input<string>;
554
+ /**
555
+ * 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).
556
+ */
557
+ timeOutputFormat?: pulumi.Input<string>;
558
+ /**
559
+ * 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).
560
+ */
561
+ timestampDayIsAlways24h?: pulumi.Input<boolean>;
562
+ /**
563
+ * 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).
564
+ */
565
+ timestampInputFormat?: pulumi.Input<string>;
566
+ /**
567
+ * 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).
568
+ */
569
+ timestampLtzOutputFormat?: pulumi.Input<string>;
570
+ /**
571
+ * 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).
572
+ */
573
+ timestampNtzOutputFormat?: pulumi.Input<string>;
574
+ /**
575
+ * 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).
576
+ */
577
+ timestampOutputFormat?: pulumi.Input<string>;
578
+ /**
579
+ * 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).
580
+ */
581
+ timestampTypeMapping?: pulumi.Input<string>;
582
+ /**
583
+ * 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).
584
+ */
585
+ timestampTzOutputFormat?: pulumi.Input<string>;
586
+ /**
587
+ * 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).
588
+ */
589
+ timezone?: pulumi.Input<string>;
590
+ /**
591
+ * 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).
592
+ */
593
+ traceLevel?: pulumi.Input<string>;
594
+ /**
595
+ * 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).
596
+ */
597
+ transactionAbortOnError?: pulumi.Input<boolean>;
598
+ /**
599
+ * 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).
600
+ */
601
+ transactionDefaultIsolationLevel?: pulumi.Input<string>;
602
+ /**
603
+ * 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).
604
+ */
605
+ twoDigitCenturyStart?: pulumi.Input<number>;
606
+ /**
607
+ * 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).
608
+ */
609
+ unsupportedDdlAction?: pulumi.Input<string>;
610
+ /**
611
+ * 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).
612
+ */
613
+ useCachedResult?: pulumi.Input<boolean>;
614
+ /**
615
+ * 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).
166
616
  */
167
617
  userTaskManagedInitialWarehouseSize?: pulumi.Input<string>;
168
618
  /**
169
- * Specifies the time limit on a single run of the task before it times out (in milliseconds).
619
+ * 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).
620
+ */
621
+ userTaskMinimumTriggerIntervalInSeconds?: pulumi.Input<number>;
622
+ /**
623
+ * 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).
170
624
  */
171
625
  userTaskTimeoutMs?: pulumi.Input<number>;
172
626
  /**
173
- * 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)
627
+ * 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)
174
628
  */
175
629
  warehouse?: pulumi.Input<string>;
176
630
  /**
177
- * Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
631
+ * 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).
632
+ */
633
+ weekOfYearPolicy?: pulumi.Input<number>;
634
+ /**
635
+ * 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).
636
+ */
637
+ weekStart?: pulumi.Input<number>;
638
+ /**
639
+ * 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.
178
640
  */
179
641
  when?: pulumi.Input<string>;
180
642
  }
@@ -183,69 +645,291 @@ export interface TaskState {
183
645
  */
184
646
  export interface TaskArgs {
185
647
  /**
186
- * 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.
648
+ * 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).
649
+ */
650
+ abortDetachedQuery?: pulumi.Input<boolean>;
651
+ /**
652
+ * 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: `|`, `.`, `"`
187
653
  */
188
654
  afters?: pulumi.Input<pulumi.Input<string>[]>;
189
655
  /**
190
- * 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.
656
+ * 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.
191
657
  */
192
- allowOverlappingExecution?: pulumi.Input<boolean>;
658
+ allowOverlappingExecution?: pulumi.Input<string>;
659
+ /**
660
+ * 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).
661
+ */
662
+ autocommit?: pulumi.Input<boolean>;
663
+ /**
664
+ * 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).
665
+ */
666
+ binaryInputFormat?: pulumi.Input<string>;
667
+ /**
668
+ * 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).
669
+ */
670
+ binaryOutputFormat?: pulumi.Input<string>;
671
+ /**
672
+ * 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).
673
+ */
674
+ clientMemoryLimit?: pulumi.Input<number>;
675
+ /**
676
+ * 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).
677
+ */
678
+ clientMetadataRequestUseConnectionCtx?: pulumi.Input<boolean>;
679
+ /**
680
+ * 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).
681
+ */
682
+ clientPrefetchThreads?: pulumi.Input<number>;
683
+ /**
684
+ * 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).
685
+ */
686
+ clientResultChunkSize?: pulumi.Input<number>;
687
+ /**
688
+ * 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).
689
+ */
690
+ clientResultColumnCaseInsensitive?: pulumi.Input<boolean>;
691
+ /**
692
+ * 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).
693
+ */
694
+ clientSessionKeepAlive?: pulumi.Input<boolean>;
695
+ /**
696
+ * 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).
697
+ */
698
+ clientSessionKeepAliveHeartbeatFrequency?: pulumi.Input<number>;
699
+ /**
700
+ * 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).
701
+ */
702
+ clientTimestampTypeMapping?: pulumi.Input<string>;
193
703
  /**
194
704
  * Specifies a comment for the task.
195
705
  */
196
706
  comment?: pulumi.Input<string>;
197
707
  /**
198
- * The database in which to create the task.
708
+ * Specifies a string representation of key value pairs that can be accessed by all tasks in the task graph. Must be in JSON format.
709
+ */
710
+ config?: pulumi.Input<string>;
711
+ /**
712
+ * The database in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
199
713
  */
200
714
  database: pulumi.Input<string>;
201
715
  /**
202
- * Specifies if the task should be started (enabled) after creation or should remain suspended (default).
716
+ * 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).
203
717
  */
204
- enabled?: pulumi.Input<boolean>;
718
+ dateInputFormat?: pulumi.Input<string>;
205
719
  /**
206
- * Specifies the name of the notification integration used for error notifications.
720
+ * 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).
721
+ */
722
+ dateOutputFormat?: pulumi.Input<string>;
723
+ /**
724
+ * 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).
725
+ */
726
+ enableUnloadPhysicalTypeOptimization?: pulumi.Input<boolean>;
727
+ /**
728
+ * Specifies the name of the notification integration used for error notifications. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
207
729
  */
208
730
  errorIntegration?: pulumi.Input<string>;
209
731
  /**
210
- * Specifies the identifier for the task; must be unique for the database and schema in which the task is created.
732
+ * 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).
733
+ */
734
+ errorOnNondeterministicMerge?: pulumi.Input<boolean>;
735
+ /**
736
+ * 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).
737
+ */
738
+ errorOnNondeterministicUpdate?: pulumi.Input<boolean>;
739
+ /**
740
+ * 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: `|`, `.`, `"`
741
+ */
742
+ finalize?: pulumi.Input<string>;
743
+ /**
744
+ * 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).
745
+ */
746
+ geographyOutputFormat?: pulumi.Input<string>;
747
+ /**
748
+ * 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).
749
+ */
750
+ geometryOutputFormat?: pulumi.Input<string>;
751
+ /**
752
+ * 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).
753
+ */
754
+ jdbcTreatTimestampNtzAsUtc?: pulumi.Input<boolean>;
755
+ /**
756
+ * 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).
757
+ */
758
+ jdbcUseSessionTimezone?: pulumi.Input<boolean>;
759
+ /**
760
+ * 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).
761
+ */
762
+ jsonIndent?: pulumi.Input<number>;
763
+ /**
764
+ * 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).
765
+ */
766
+ lockTimeout?: pulumi.Input<number>;
767
+ /**
768
+ * 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).
769
+ */
770
+ logLevel?: pulumi.Input<string>;
771
+ /**
772
+ * 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).
773
+ */
774
+ multiStatementCount?: pulumi.Input<number>;
775
+ /**
776
+ * 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: `|`, `.`, `"`
211
777
  */
212
778
  name?: pulumi.Input<string>;
213
779
  /**
214
- * The schedule for periodically running the task. This can be a cron or interval in minutes. (Conflict with after)
780
+ * 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).
781
+ */
782
+ noorderSequenceAsDefault?: pulumi.Input<boolean>;
783
+ /**
784
+ * 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).
215
785
  */
216
- schedule?: pulumi.Input<string>;
786
+ odbcTreatDecimalAsInt?: pulumi.Input<boolean>;
217
787
  /**
218
- * The schema in which to create the task.
788
+ * 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).
789
+ */
790
+ queryTag?: pulumi.Input<string>;
791
+ /**
792
+ * 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).
793
+ */
794
+ quotedIdentifiersIgnoreCase?: pulumi.Input<boolean>;
795
+ /**
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).
797
+ */
798
+ rowsPerResultset?: pulumi.Input<number>;
799
+ /**
800
+ * 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).
801
+ */
802
+ s3StageVpceDnsName?: pulumi.Input<string>;
803
+ /**
804
+ * 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 `usingCron` should be set)
805
+ */
806
+ schedule?: pulumi.Input<inputs.TaskSchedule>;
807
+ /**
808
+ * The schema in which to create the task. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
219
809
  */
220
810
  schema: pulumi.Input<string>;
221
811
  /**
222
- * Specifies session parameters to set for the session when the task runs. A task supports all session parameters.
812
+ * 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).
223
813
  */
224
- sessionParameters?: pulumi.Input<{
225
- [key: string]: pulumi.Input<string>;
226
- }>;
814
+ searchPath?: pulumi.Input<string>;
227
815
  /**
228
816
  * Any single SQL statement, or a call to a stored procedure, executed when the task runs.
229
817
  */
230
818
  sqlStatement: pulumi.Input<string>;
231
819
  /**
232
- * Specifies the number of consecutive failed task runs after which the current task is suspended automatically. The default is 0 (no automatic suspension).
820
+ * Specifies if the task should be started or suspended.
821
+ */
822
+ started: pulumi.Input<boolean>;
823
+ /**
824
+ * 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).
825
+ */
826
+ statementQueuedTimeoutInSeconds?: pulumi.Input<number>;
827
+ /**
828
+ * 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).
829
+ */
830
+ statementTimeoutInSeconds?: pulumi.Input<number>;
831
+ /**
832
+ * 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).
833
+ */
834
+ strictJsonOutput?: pulumi.Input<boolean>;
835
+ /**
836
+ * 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).
233
837
  */
234
838
  suspendTaskAfterNumFailures?: pulumi.Input<number>;
235
839
  /**
236
- * 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)
840
+ * 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).
841
+ */
842
+ taskAutoRetryAttempts?: pulumi.Input<number>;
843
+ /**
844
+ * 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).
845
+ */
846
+ timeInputFormat?: pulumi.Input<string>;
847
+ /**
848
+ * 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).
849
+ */
850
+ timeOutputFormat?: pulumi.Input<string>;
851
+ /**
852
+ * 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).
853
+ */
854
+ timestampDayIsAlways24h?: pulumi.Input<boolean>;
855
+ /**
856
+ * 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).
857
+ */
858
+ timestampInputFormat?: pulumi.Input<string>;
859
+ /**
860
+ * 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).
861
+ */
862
+ timestampLtzOutputFormat?: pulumi.Input<string>;
863
+ /**
864
+ * 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).
865
+ */
866
+ timestampNtzOutputFormat?: pulumi.Input<string>;
867
+ /**
868
+ * 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).
869
+ */
870
+ timestampOutputFormat?: pulumi.Input<string>;
871
+ /**
872
+ * 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).
873
+ */
874
+ timestampTypeMapping?: pulumi.Input<string>;
875
+ /**
876
+ * 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).
877
+ */
878
+ timestampTzOutputFormat?: pulumi.Input<string>;
879
+ /**
880
+ * 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).
881
+ */
882
+ timezone?: pulumi.Input<string>;
883
+ /**
884
+ * 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).
885
+ */
886
+ traceLevel?: pulumi.Input<string>;
887
+ /**
888
+ * 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).
889
+ */
890
+ transactionAbortOnError?: pulumi.Input<boolean>;
891
+ /**
892
+ * 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).
893
+ */
894
+ transactionDefaultIsolationLevel?: pulumi.Input<string>;
895
+ /**
896
+ * 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).
897
+ */
898
+ twoDigitCenturyStart?: pulumi.Input<number>;
899
+ /**
900
+ * 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).
901
+ */
902
+ unsupportedDdlAction?: pulumi.Input<string>;
903
+ /**
904
+ * 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).
905
+ */
906
+ useCachedResult?: pulumi.Input<boolean>;
907
+ /**
908
+ * 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).
237
909
  */
238
910
  userTaskManagedInitialWarehouseSize?: pulumi.Input<string>;
239
911
  /**
240
- * Specifies the time limit on a single run of the task before it times out (in milliseconds).
912
+ * 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).
913
+ */
914
+ userTaskMinimumTriggerIntervalInSeconds?: pulumi.Input<number>;
915
+ /**
916
+ * 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).
241
917
  */
242
918
  userTaskTimeoutMs?: pulumi.Input<number>;
243
919
  /**
244
- * 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)
920
+ * 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)
245
921
  */
246
922
  warehouse?: pulumi.Input<string>;
247
923
  /**
248
- * Specifies a Boolean SQL expression; multiple conditions joined with AND/OR are supported.
924
+ * 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).
925
+ */
926
+ weekOfYearPolicy?: pulumi.Input<number>;
927
+ /**
928
+ * 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).
929
+ */
930
+ weekStart?: pulumi.Input<number>;
931
+ /**
932
+ * 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.
249
933
  */
250
934
  when?: pulumi.Input<string>;
251
935
  }