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