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