pulumi-snowflake 0.50.3a1710160126__py3-none-any.whl → 1.2.0a1736835738__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

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