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