pulumi-snowflake 2.3.0a1753339260__py3-none-any.whl → 2.3.0a1753398370__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 (157) hide show
  1. pulumi_snowflake/__init__.py +1 -1
  2. pulumi_snowflake/_inputs.py +16796 -16797
  3. pulumi_snowflake/account.py +252 -253
  4. pulumi_snowflake/account_authentication_policy_attachment.py +18 -19
  5. pulumi_snowflake/account_parameter.py +35 -36
  6. pulumi_snowflake/account_password_policy_attachment.py +18 -19
  7. pulumi_snowflake/account_role.py +42 -43
  8. pulumi_snowflake/alert.py +149 -150
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +197 -198
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +180 -181
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +193 -194
  12. pulumi_snowflake/api_integration.py +251 -252
  13. pulumi_snowflake/authentication_policy.py +167 -168
  14. pulumi_snowflake/compute_pool.py +167 -168
  15. pulumi_snowflake/config/__init__.py +1 -1
  16. pulumi_snowflake/config/__init__.pyi +1 -2
  17. pulumi_snowflake/config/outputs.py +21 -22
  18. pulumi_snowflake/config/vars.py +43 -44
  19. pulumi_snowflake/cortex_search_service.py +191 -192
  20. pulumi_snowflake/current_account.py +2088 -2089
  21. pulumi_snowflake/database.py +353 -354
  22. pulumi_snowflake/database_role.py +63 -64
  23. pulumi_snowflake/dynamic_table.py +274 -275
  24. pulumi_snowflake/email_notification_integration.py +70 -71
  25. pulumi_snowflake/execute.py +61 -62
  26. pulumi_snowflake/external_function.py +280 -281
  27. pulumi_snowflake/external_oauth_integration.py +288 -289
  28. pulumi_snowflake/external_table.py +246 -247
  29. pulumi_snowflake/external_volume.py +68 -69
  30. pulumi_snowflake/failover_group.py +135 -136
  31. pulumi_snowflake/file_format.py +622 -623
  32. pulumi_snowflake/function_java.py +320 -321
  33. pulumi_snowflake/function_javascript.py +243 -244
  34. pulumi_snowflake/function_python.py +334 -335
  35. pulumi_snowflake/function_scala.py +320 -321
  36. pulumi_snowflake/function_sql.py +226 -227
  37. pulumi_snowflake/get_account_roles.py +16 -17
  38. pulumi_snowflake/get_accounts.py +16 -17
  39. pulumi_snowflake/get_alerts.py +22 -23
  40. pulumi_snowflake/get_compute_pools.py +23 -24
  41. pulumi_snowflake/get_connections.py +10 -11
  42. pulumi_snowflake/get_cortex_search_services.py +18 -19
  43. pulumi_snowflake/get_current_account.py +9 -10
  44. pulumi_snowflake/get_current_role.py +5 -6
  45. pulumi_snowflake/get_database.py +25 -26
  46. pulumi_snowflake/get_database_role.py +19 -20
  47. pulumi_snowflake/get_database_roles.py +17 -18
  48. pulumi_snowflake/get_databases.py +29 -30
  49. pulumi_snowflake/get_dynamic_tables.py +13 -14
  50. pulumi_snowflake/get_external_functions.py +16 -17
  51. pulumi_snowflake/get_external_tables.py +16 -17
  52. pulumi_snowflake/get_failover_groups.py +10 -11
  53. pulumi_snowflake/get_file_formats.py +16 -17
  54. pulumi_snowflake/get_functions.py +16 -17
  55. pulumi_snowflake/get_git_repositories.py +18 -19
  56. pulumi_snowflake/get_grants.py +9 -10
  57. pulumi_snowflake/get_image_repositories.py +11 -12
  58. pulumi_snowflake/get_masking_policies.py +18 -19
  59. pulumi_snowflake/get_materialized_views.py +16 -17
  60. pulumi_snowflake/get_network_policies.py +16 -17
  61. pulumi_snowflake/get_parameters.py +34 -35
  62. pulumi_snowflake/get_pipes.py +16 -17
  63. pulumi_snowflake/get_procedures.py +16 -17
  64. pulumi_snowflake/get_resource_monitors.py +10 -11
  65. pulumi_snowflake/get_row_access_policies.py +18 -19
  66. pulumi_snowflake/get_schemas.py +30 -31
  67. pulumi_snowflake/get_secrets.py +17 -18
  68. pulumi_snowflake/get_security_integrations.py +16 -17
  69. pulumi_snowflake/get_sequences.py +16 -17
  70. pulumi_snowflake/get_services.py +30 -31
  71. pulumi_snowflake/get_shares.py +10 -11
  72. pulumi_snowflake/get_stages.py +16 -17
  73. pulumi_snowflake/get_storage_integrations.py +4 -5
  74. pulumi_snowflake/get_streamlits.py +18 -19
  75. pulumi_snowflake/get_streams.py +24 -25
  76. pulumi_snowflake/get_system_generate_scim_access_token.py +11 -12
  77. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +11 -12
  78. pulumi_snowflake/get_system_get_private_link_config.py +21 -22
  79. pulumi_snowflake/get_system_get_snowflake_platform_info.py +7 -8
  80. pulumi_snowflake/get_tables.py +24 -25
  81. pulumi_snowflake/get_tags.py +11 -12
  82. pulumi_snowflake/get_tasks.py +30 -31
  83. pulumi_snowflake/get_users.py +29 -30
  84. pulumi_snowflake/get_views.py +24 -25
  85. pulumi_snowflake/get_warehouses.py +22 -23
  86. pulumi_snowflake/git_repository.py +133 -134
  87. pulumi_snowflake/grant_account_role.py +52 -53
  88. pulumi_snowflake/grant_application_role.py +52 -53
  89. pulumi_snowflake/grant_database_role.py +69 -70
  90. pulumi_snowflake/grant_ownership.py +55 -56
  91. pulumi_snowflake/grant_privileges_to_account_role.py +125 -126
  92. pulumi_snowflake/grant_privileges_to_database_role.py +122 -123
  93. pulumi_snowflake/grant_privileges_to_share.py +154 -155
  94. pulumi_snowflake/image_repository.py +80 -81
  95. pulumi_snowflake/job_service.py +148 -149
  96. pulumi_snowflake/legacy_service_user.py +1269 -1270
  97. pulumi_snowflake/managed_account.py +140 -141
  98. pulumi_snowflake/masking_policy.py +136 -137
  99. pulumi_snowflake/materialized_view.py +149 -150
  100. pulumi_snowflake/network_policy.py +116 -117
  101. pulumi_snowflake/network_policy_attachment.py +52 -53
  102. pulumi_snowflake/network_rule.py +129 -130
  103. pulumi_snowflake/notification_integration.py +298 -299
  104. pulumi_snowflake/oauth_integration_for_custom_clients.py +263 -264
  105. pulumi_snowflake/oauth_integration_for_partner_applications.py +169 -170
  106. pulumi_snowflake/object_parameter.py +72 -73
  107. pulumi_snowflake/outputs.py +15510 -15511
  108. pulumi_snowflake/password_policy.py +299 -300
  109. pulumi_snowflake/pipe.py +181 -182
  110. pulumi_snowflake/primary_connection.py +70 -71
  111. pulumi_snowflake/procedure_java.py +341 -342
  112. pulumi_snowflake/procedure_javascript.py +247 -248
  113. pulumi_snowflake/procedure_python.py +338 -339
  114. pulumi_snowflake/procedure_scala.py +341 -342
  115. pulumi_snowflake/procedure_sql.py +247 -248
  116. pulumi_snowflake/provider.py +377 -378
  117. pulumi_snowflake/pulumi-plugin.json +1 -1
  118. pulumi_snowflake/resource_monitor.py +165 -166
  119. pulumi_snowflake/row_access_policy.py +102 -103
  120. pulumi_snowflake/saml2_integration.py +303 -304
  121. pulumi_snowflake/schema.py +390 -391
  122. pulumi_snowflake/scim_integration.py +133 -134
  123. pulumi_snowflake/secondary_connection.py +72 -73
  124. pulumi_snowflake/secondary_database.py +350 -351
  125. pulumi_snowflake/secret_with_authorization_code_grant.py +138 -139
  126. pulumi_snowflake/secret_with_basic_authentication.py +121 -122
  127. pulumi_snowflake/secret_with_client_credentials.py +125 -126
  128. pulumi_snowflake/secret_with_generic_string.py +104 -105
  129. pulumi_snowflake/sequence.py +121 -122
  130. pulumi_snowflake/service.py +233 -234
  131. pulumi_snowflake/service_user.py +1239 -1240
  132. pulumi_snowflake/share.py +61 -62
  133. pulumi_snowflake/shared_database.py +299 -300
  134. pulumi_snowflake/stage.py +234 -235
  135. pulumi_snowflake/storage_integration.py +230 -231
  136. pulumi_snowflake/stream_on_directory_table.py +128 -129
  137. pulumi_snowflake/stream_on_external_table.py +151 -152
  138. pulumi_snowflake/stream_on_table.py +164 -165
  139. pulumi_snowflake/stream_on_view.py +164 -165
  140. pulumi_snowflake/streamlit.py +184 -185
  141. pulumi_snowflake/table.py +147 -148
  142. pulumi_snowflake/table_column_masking_policy_application.py +52 -53
  143. pulumi_snowflake/table_constraint.py +191 -192
  144. pulumi_snowflake/tag.py +114 -115
  145. pulumi_snowflake/tag_association.py +86 -87
  146. pulumi_snowflake/task.py +1224 -1225
  147. pulumi_snowflake/user.py +1346 -1347
  148. pulumi_snowflake/user_authentication_policy_attachment.py +35 -36
  149. pulumi_snowflake/user_password_policy_attachment.py +35 -36
  150. pulumi_snowflake/user_public_keys.py +52 -53
  151. pulumi_snowflake/view.py +187 -188
  152. pulumi_snowflake/warehouse.py +286 -287
  153. {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/METADATA +1 -1
  154. pulumi_snowflake-2.3.0a1753398370.dist-info/RECORD +158 -0
  155. pulumi_snowflake-2.3.0a1753339260.dist-info/RECORD +0 -158
  156. {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/WHEEL +0 -0
  157. {pulumi_snowflake-2.3.0a1753339260.dist-info → pulumi_snowflake-2.3.0a1753398370.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -22,49 +21,49 @@ __all__ = ['FunctionPythonArgs', 'FunctionPython']
22
21
  @pulumi.input_type
23
22
  class FunctionPythonArgs:
24
23
  def __init__(__self__, *,
25
- database: pulumi.Input[builtins.str],
26
- handler: pulumi.Input[builtins.str],
27
- return_type: pulumi.Input[builtins.str],
28
- runtime_version: pulumi.Input[builtins.str],
29
- schema: pulumi.Input[builtins.str],
24
+ database: pulumi.Input[_builtins.str],
25
+ handler: pulumi.Input[_builtins.str],
26
+ return_type: pulumi.Input[_builtins.str],
27
+ runtime_version: pulumi.Input[_builtins.str],
28
+ schema: pulumi.Input[_builtins.str],
30
29
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]] = None,
31
- comment: Optional[pulumi.Input[builtins.str]] = None,
32
- enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
33
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
34
- function_definition: Optional[pulumi.Input[builtins.str]] = None,
30
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
31
+ enable_console_output: Optional[pulumi.Input[_builtins.bool]] = None,
32
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
33
+ function_definition: Optional[pulumi.Input[_builtins.str]] = None,
35
34
  imports: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]] = None,
36
- is_aggregate: Optional[pulumi.Input[builtins.str]] = None,
37
- is_secure: Optional[pulumi.Input[builtins.str]] = None,
38
- log_level: Optional[pulumi.Input[builtins.str]] = None,
39
- metric_level: Optional[pulumi.Input[builtins.str]] = None,
40
- name: Optional[pulumi.Input[builtins.str]] = None,
41
- null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
42
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
43
- return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
35
+ is_aggregate: Optional[pulumi.Input[_builtins.str]] = None,
36
+ is_secure: Optional[pulumi.Input[_builtins.str]] = None,
37
+ log_level: Optional[pulumi.Input[_builtins.str]] = None,
38
+ metric_level: Optional[pulumi.Input[_builtins.str]] = None,
39
+ name: Optional[pulumi.Input[_builtins.str]] = None,
40
+ null_input_behavior: Optional[pulumi.Input[_builtins.str]] = None,
41
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
42
+ return_results_behavior: Optional[pulumi.Input[_builtins.str]] = None,
44
43
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]] = None,
45
- trace_level: Optional[pulumi.Input[builtins.str]] = None):
44
+ trace_level: Optional[pulumi.Input[_builtins.str]] = None):
46
45
  """
47
46
  The set of arguments for constructing a FunctionPython resource.
48
- :param pulumi.Input[builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
49
- :param pulumi.Input[builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
50
- :param pulumi.Input[builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
51
- :param pulumi.Input[builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
52
- :param pulumi.Input[builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
47
+ :param pulumi.Input[_builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
48
+ :param pulumi.Input[_builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
49
+ :param pulumi.Input[_builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
50
+ :param pulumi.Input[_builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
51
+ :param pulumi.Input[_builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
53
52
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]] arguments: List of the arguments for the function. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages) for more details.
54
- :param pulumi.Input[builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
55
- :param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
56
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
57
- :param pulumi.Input[builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
53
+ :param pulumi.Input[_builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
54
+ :param pulumi.Input[_builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
55
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
56
+ :param pulumi.Input[_builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
58
57
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. A file can be a `.py` file or another type of file. Python UDFs can also read non-Python files, such as text files. For an example, see [Reading a file](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-examples.html#label-udf-python-read-files). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#python).
59
- :param pulumi.Input[builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
60
- :param pulumi.Input[builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
61
- :param pulumi.Input[builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
62
- :param pulumi.Input[builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
63
- :param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
64
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
65
- :param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
58
+ :param pulumi.Input[_builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
59
+ :param pulumi.Input[_builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
60
+ :param pulumi.Input[_builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
61
+ :param pulumi.Input[_builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
62
+ :param pulumi.Input[_builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
63
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
64
+ :param pulumi.Input[_builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
66
65
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]] secrets: Assigns the names of [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) to variables so that you can use the variables to reference the secrets when retrieving information from secrets in handler code. Secrets you specify here must be allowed by the [external access integration](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) specified as a value of this CREATE FUNCTION command’s EXTERNAL*ACCESS*INTEGRATIONS parameter.
67
- :param pulumi.Input[builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
66
+ :param pulumi.Input[_builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
68
67
  """
69
68
  pulumi.set(__self__, "database", database)
70
69
  pulumi.set(__self__, "handler", handler)
@@ -104,67 +103,67 @@ class FunctionPythonArgs:
104
103
  if trace_level is not None:
105
104
  pulumi.set(__self__, "trace_level", trace_level)
106
105
 
107
- @property
106
+ @_builtins.property
108
107
  @pulumi.getter
109
- def database(self) -> pulumi.Input[builtins.str]:
108
+ def database(self) -> pulumi.Input[_builtins.str]:
110
109
  """
111
110
  The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
112
111
  """
113
112
  return pulumi.get(self, "database")
114
113
 
115
114
  @database.setter
116
- def database(self, value: pulumi.Input[builtins.str]):
115
+ def database(self, value: pulumi.Input[_builtins.str]):
117
116
  pulumi.set(self, "database", value)
118
117
 
119
- @property
118
+ @_builtins.property
120
119
  @pulumi.getter
121
- def handler(self) -> pulumi.Input[builtins.str]:
120
+ def handler(self) -> pulumi.Input[_builtins.str]:
122
121
  """
123
122
  The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
124
123
  """
125
124
  return pulumi.get(self, "handler")
126
125
 
127
126
  @handler.setter
128
- def handler(self, value: pulumi.Input[builtins.str]):
127
+ def handler(self, value: pulumi.Input[_builtins.str]):
129
128
  pulumi.set(self, "handler", value)
130
129
 
131
- @property
130
+ @_builtins.property
132
131
  @pulumi.getter(name="returnType")
133
- def return_type(self) -> pulumi.Input[builtins.str]:
132
+ def return_type(self) -> pulumi.Input[_builtins.str]:
134
133
  """
135
134
  Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
136
135
  """
137
136
  return pulumi.get(self, "return_type")
138
137
 
139
138
  @return_type.setter
140
- def return_type(self, value: pulumi.Input[builtins.str]):
139
+ def return_type(self, value: pulumi.Input[_builtins.str]):
141
140
  pulumi.set(self, "return_type", value)
142
141
 
143
- @property
142
+ @_builtins.property
144
143
  @pulumi.getter(name="runtimeVersion")
145
- def runtime_version(self) -> pulumi.Input[builtins.str]:
144
+ def runtime_version(self) -> pulumi.Input[_builtins.str]:
146
145
  """
147
146
  Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
148
147
  """
149
148
  return pulumi.get(self, "runtime_version")
150
149
 
151
150
  @runtime_version.setter
152
- def runtime_version(self, value: pulumi.Input[builtins.str]):
151
+ def runtime_version(self, value: pulumi.Input[_builtins.str]):
153
152
  pulumi.set(self, "runtime_version", value)
154
153
 
155
- @property
154
+ @_builtins.property
156
155
  @pulumi.getter
157
- def schema(self) -> pulumi.Input[builtins.str]:
156
+ def schema(self) -> pulumi.Input[_builtins.str]:
158
157
  """
159
158
  The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
160
159
  """
161
160
  return pulumi.get(self, "schema")
162
161
 
163
162
  @schema.setter
164
- def schema(self, value: pulumi.Input[builtins.str]):
163
+ def schema(self, value: pulumi.Input[_builtins.str]):
165
164
  pulumi.set(self, "schema", value)
166
165
 
167
- @property
166
+ @_builtins.property
168
167
  @pulumi.getter
169
168
  def arguments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]]:
170
169
  """
@@ -176,55 +175,55 @@ class FunctionPythonArgs:
176
175
  def arguments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]]):
177
176
  pulumi.set(self, "arguments", value)
178
177
 
179
- @property
178
+ @_builtins.property
180
179
  @pulumi.getter
181
- def comment(self) -> Optional[pulumi.Input[builtins.str]]:
180
+ def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
182
181
  """
183
182
  (Default: `user-defined function`) Specifies a comment for the function.
184
183
  """
185
184
  return pulumi.get(self, "comment")
186
185
 
187
186
  @comment.setter
188
- def comment(self, value: Optional[pulumi.Input[builtins.str]]):
187
+ def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
189
188
  pulumi.set(self, "comment", value)
190
189
 
191
- @property
190
+ @_builtins.property
192
191
  @pulumi.getter(name="enableConsoleOutput")
193
- def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
192
+ def enable_console_output(self) -> Optional[pulumi.Input[_builtins.bool]]:
194
193
  """
195
194
  Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
196
195
  """
197
196
  return pulumi.get(self, "enable_console_output")
198
197
 
199
198
  @enable_console_output.setter
200
- def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
199
+ def enable_console_output(self, value: Optional[pulumi.Input[_builtins.bool]]):
201
200
  pulumi.set(self, "enable_console_output", value)
202
201
 
203
- @property
202
+ @_builtins.property
204
203
  @pulumi.getter(name="externalAccessIntegrations")
205
- def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
204
+ def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
206
205
  """
207
206
  The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
208
207
  """
209
208
  return pulumi.get(self, "external_access_integrations")
210
209
 
211
210
  @external_access_integrations.setter
212
- def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
211
+ def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
213
212
  pulumi.set(self, "external_access_integrations", value)
214
213
 
215
- @property
214
+ @_builtins.property
216
215
  @pulumi.getter(name="functionDefinition")
217
- def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
216
+ def function_definition(self) -> Optional[pulumi.Input[_builtins.str]]:
218
217
  """
219
218
  Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
220
219
  """
221
220
  return pulumi.get(self, "function_definition")
222
221
 
223
222
  @function_definition.setter
224
- def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
223
+ def function_definition(self, value: Optional[pulumi.Input[_builtins.str]]):
225
224
  pulumi.set(self, "function_definition", value)
226
225
 
227
- @property
226
+ @_builtins.property
228
227
  @pulumi.getter
229
228
  def imports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]]:
230
229
  """
@@ -236,100 +235,100 @@ class FunctionPythonArgs:
236
235
  def imports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]]):
237
236
  pulumi.set(self, "imports", value)
238
237
 
239
- @property
238
+ @_builtins.property
240
239
  @pulumi.getter(name="isAggregate")
241
- def is_aggregate(self) -> Optional[pulumi.Input[builtins.str]]:
240
+ def is_aggregate(self) -> Optional[pulumi.Input[_builtins.str]]:
242
241
  """
243
242
  (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
244
243
  """
245
244
  return pulumi.get(self, "is_aggregate")
246
245
 
247
246
  @is_aggregate.setter
248
- def is_aggregate(self, value: Optional[pulumi.Input[builtins.str]]):
247
+ def is_aggregate(self, value: Optional[pulumi.Input[_builtins.str]]):
249
248
  pulumi.set(self, "is_aggregate", value)
250
249
 
251
- @property
250
+ @_builtins.property
252
251
  @pulumi.getter(name="isSecure")
253
- def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
252
+ def is_secure(self) -> Optional[pulumi.Input[_builtins.str]]:
254
253
  return pulumi.get(self, "is_secure")
255
254
 
256
255
  @is_secure.setter
257
- def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
256
+ def is_secure(self, value: Optional[pulumi.Input[_builtins.str]]):
258
257
  pulumi.set(self, "is_secure", value)
259
258
 
260
- @property
259
+ @_builtins.property
261
260
  @pulumi.getter(name="logLevel")
262
- def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
261
+ def log_level(self) -> Optional[pulumi.Input[_builtins.str]]:
263
262
  """
264
263
  LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
265
264
  """
266
265
  return pulumi.get(self, "log_level")
267
266
 
268
267
  @log_level.setter
269
- def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
268
+ def log_level(self, value: Optional[pulumi.Input[_builtins.str]]):
270
269
  pulumi.set(self, "log_level", value)
271
270
 
272
- @property
271
+ @_builtins.property
273
272
  @pulumi.getter(name="metricLevel")
274
- def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
273
+ def metric_level(self) -> Optional[pulumi.Input[_builtins.str]]:
275
274
  """
276
275
  METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
277
276
  """
278
277
  return pulumi.get(self, "metric_level")
279
278
 
280
279
  @metric_level.setter
281
- def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
280
+ def metric_level(self, value: Optional[pulumi.Input[_builtins.str]]):
282
281
  pulumi.set(self, "metric_level", value)
283
282
 
284
- @property
283
+ @_builtins.property
285
284
  @pulumi.getter
286
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
285
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
287
286
  """
288
287
  The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
289
288
  """
290
289
  return pulumi.get(self, "name")
291
290
 
292
291
  @name.setter
293
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
292
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
294
293
  pulumi.set(self, "name", value)
295
294
 
296
- @property
295
+ @_builtins.property
297
296
  @pulumi.getter(name="nullInputBehavior")
298
- def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
297
+ def null_input_behavior(self) -> Optional[pulumi.Input[_builtins.str]]:
299
298
  """
300
299
  Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
301
300
  """
302
301
  return pulumi.get(self, "null_input_behavior")
303
302
 
304
303
  @null_input_behavior.setter
305
- def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
304
+ def null_input_behavior(self, value: Optional[pulumi.Input[_builtins.str]]):
306
305
  pulumi.set(self, "null_input_behavior", value)
307
306
 
308
- @property
307
+ @_builtins.property
309
308
  @pulumi.getter
310
- def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
309
+ def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
311
310
  """
312
311
  The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
313
312
  """
314
313
  return pulumi.get(self, "packages")
315
314
 
316
315
  @packages.setter
317
- def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
316
+ def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
318
317
  pulumi.set(self, "packages", value)
319
318
 
320
- @property
319
+ @_builtins.property
321
320
  @pulumi.getter(name="returnResultsBehavior")
322
- def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
321
+ def return_results_behavior(self) -> Optional[pulumi.Input[_builtins.str]]:
323
322
  """
324
323
  Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
325
324
  """
326
325
  return pulumi.get(self, "return_results_behavior")
327
326
 
328
327
  @return_results_behavior.setter
329
- def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
328
+ def return_results_behavior(self, value: Optional[pulumi.Input[_builtins.str]]):
330
329
  pulumi.set(self, "return_results_behavior", value)
331
330
 
332
- @property
331
+ @_builtins.property
333
332
  @pulumi.getter
334
333
  def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]]:
335
334
  """
@@ -341,16 +340,16 @@ class FunctionPythonArgs:
341
340
  def secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]]):
342
341
  pulumi.set(self, "secrets", value)
343
342
 
344
- @property
343
+ @_builtins.property
345
344
  @pulumi.getter(name="traceLevel")
346
- def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
345
+ def trace_level(self) -> Optional[pulumi.Input[_builtins.str]]:
347
346
  """
348
347
  Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
349
348
  """
350
349
  return pulumi.get(self, "trace_level")
351
350
 
352
351
  @trace_level.setter
353
- def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
352
+ def trace_level(self, value: Optional[pulumi.Input[_builtins.str]]):
354
353
  pulumi.set(self, "trace_level", value)
355
354
 
356
355
 
@@ -358,56 +357,56 @@ class FunctionPythonArgs:
358
357
  class _FunctionPythonState:
359
358
  def __init__(__self__, *,
360
359
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]] = None,
361
- comment: Optional[pulumi.Input[builtins.str]] = None,
362
- database: Optional[pulumi.Input[builtins.str]] = None,
363
- enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
364
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
365
- fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
366
- function_definition: Optional[pulumi.Input[builtins.str]] = None,
367
- function_language: Optional[pulumi.Input[builtins.str]] = None,
368
- handler: Optional[pulumi.Input[builtins.str]] = None,
360
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
361
+ database: Optional[pulumi.Input[_builtins.str]] = None,
362
+ enable_console_output: Optional[pulumi.Input[_builtins.bool]] = None,
363
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
364
+ fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
365
+ function_definition: Optional[pulumi.Input[_builtins.str]] = None,
366
+ function_language: Optional[pulumi.Input[_builtins.str]] = None,
367
+ handler: Optional[pulumi.Input[_builtins.str]] = None,
369
368
  imports: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]] = None,
370
- is_aggregate: Optional[pulumi.Input[builtins.str]] = None,
371
- is_secure: Optional[pulumi.Input[builtins.str]] = None,
372
- log_level: Optional[pulumi.Input[builtins.str]] = None,
373
- metric_level: Optional[pulumi.Input[builtins.str]] = None,
374
- name: Optional[pulumi.Input[builtins.str]] = None,
375
- null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
376
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
369
+ is_aggregate: Optional[pulumi.Input[_builtins.str]] = None,
370
+ is_secure: Optional[pulumi.Input[_builtins.str]] = None,
371
+ log_level: Optional[pulumi.Input[_builtins.str]] = None,
372
+ metric_level: Optional[pulumi.Input[_builtins.str]] = None,
373
+ name: Optional[pulumi.Input[_builtins.str]] = None,
374
+ null_input_behavior: Optional[pulumi.Input[_builtins.str]] = None,
375
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
377
376
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonParameterArgs']]]] = None,
378
- return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
379
- return_type: Optional[pulumi.Input[builtins.str]] = None,
380
- runtime_version: Optional[pulumi.Input[builtins.str]] = None,
381
- schema: Optional[pulumi.Input[builtins.str]] = None,
377
+ return_results_behavior: Optional[pulumi.Input[_builtins.str]] = None,
378
+ return_type: Optional[pulumi.Input[_builtins.str]] = None,
379
+ runtime_version: Optional[pulumi.Input[_builtins.str]] = None,
380
+ schema: Optional[pulumi.Input[_builtins.str]] = None,
382
381
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]] = None,
383
382
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonShowOutputArgs']]]] = None,
384
- trace_level: Optional[pulumi.Input[builtins.str]] = None):
383
+ trace_level: Optional[pulumi.Input[_builtins.str]] = None):
385
384
  """
386
385
  Input properties used for looking up and filtering FunctionPython resources.
387
386
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]] arguments: List of the arguments for the function. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages) for more details.
388
- :param pulumi.Input[builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
389
- :param pulumi.Input[builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
390
- :param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
391
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
392
- :param pulumi.Input[builtins.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).
393
- :param pulumi.Input[builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
394
- :param pulumi.Input[builtins.str] function_language: Specifies language for the user. Used to detect external changes.
395
- :param pulumi.Input[builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
387
+ :param pulumi.Input[_builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
388
+ :param pulumi.Input[_builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
389
+ :param pulumi.Input[_builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
390
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
391
+ :param pulumi.Input[_builtins.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).
392
+ :param pulumi.Input[_builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
393
+ :param pulumi.Input[_builtins.str] function_language: Specifies language for the user. Used to detect external changes.
394
+ :param pulumi.Input[_builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
396
395
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. A file can be a `.py` file or another type of file. Python UDFs can also read non-Python files, such as text files. For an example, see [Reading a file](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-examples.html#label-udf-python-read-files). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#python).
397
- :param pulumi.Input[builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
398
- :param pulumi.Input[builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
399
- :param pulumi.Input[builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
400
- :param pulumi.Input[builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
401
- :param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
402
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
396
+ :param pulumi.Input[_builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
397
+ :param pulumi.Input[_builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
398
+ :param pulumi.Input[_builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
399
+ :param pulumi.Input[_builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
400
+ :param pulumi.Input[_builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
401
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
403
402
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
404
- :param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
405
- :param pulumi.Input[builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
406
- :param pulumi.Input[builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
407
- :param pulumi.Input[builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
403
+ :param pulumi.Input[_builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
404
+ :param pulumi.Input[_builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
405
+ :param pulumi.Input[_builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
406
+ :param pulumi.Input[_builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
408
407
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]] secrets: Assigns the names of [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) to variables so that you can use the variables to reference the secrets when retrieving information from secrets in handler code. Secrets you specify here must be allowed by the [external access integration](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) specified as a value of this CREATE FUNCTION command’s EXTERNAL*ACCESS*INTEGRATIONS parameter.
409
408
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonShowOutputArgs']]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
410
- :param pulumi.Input[builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
409
+ :param pulumi.Input[_builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
411
410
  """
412
411
  if arguments is not None:
413
412
  pulumi.set(__self__, "arguments", arguments)
@@ -460,7 +459,7 @@ class _FunctionPythonState:
460
459
  if trace_level is not None:
461
460
  pulumi.set(__self__, "trace_level", trace_level)
462
461
 
463
- @property
462
+ @_builtins.property
464
463
  @pulumi.getter
465
464
  def arguments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]]:
466
465
  """
@@ -472,103 +471,103 @@ class _FunctionPythonState:
472
471
  def arguments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]]):
473
472
  pulumi.set(self, "arguments", value)
474
473
 
475
- @property
474
+ @_builtins.property
476
475
  @pulumi.getter
477
- def comment(self) -> Optional[pulumi.Input[builtins.str]]:
476
+ def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
478
477
  """
479
478
  (Default: `user-defined function`) Specifies a comment for the function.
480
479
  """
481
480
  return pulumi.get(self, "comment")
482
481
 
483
482
  @comment.setter
484
- def comment(self, value: Optional[pulumi.Input[builtins.str]]):
483
+ def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
485
484
  pulumi.set(self, "comment", value)
486
485
 
487
- @property
486
+ @_builtins.property
488
487
  @pulumi.getter
489
- def database(self) -> Optional[pulumi.Input[builtins.str]]:
488
+ def database(self) -> Optional[pulumi.Input[_builtins.str]]:
490
489
  """
491
490
  The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
492
491
  """
493
492
  return pulumi.get(self, "database")
494
493
 
495
494
  @database.setter
496
- def database(self, value: Optional[pulumi.Input[builtins.str]]):
495
+ def database(self, value: Optional[pulumi.Input[_builtins.str]]):
497
496
  pulumi.set(self, "database", value)
498
497
 
499
- @property
498
+ @_builtins.property
500
499
  @pulumi.getter(name="enableConsoleOutput")
501
- def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
500
+ def enable_console_output(self) -> Optional[pulumi.Input[_builtins.bool]]:
502
501
  """
503
502
  Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
504
503
  """
505
504
  return pulumi.get(self, "enable_console_output")
506
505
 
507
506
  @enable_console_output.setter
508
- def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
507
+ def enable_console_output(self, value: Optional[pulumi.Input[_builtins.bool]]):
509
508
  pulumi.set(self, "enable_console_output", value)
510
509
 
511
- @property
510
+ @_builtins.property
512
511
  @pulumi.getter(name="externalAccessIntegrations")
513
- def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
512
+ def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
514
513
  """
515
514
  The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
516
515
  """
517
516
  return pulumi.get(self, "external_access_integrations")
518
517
 
519
518
  @external_access_integrations.setter
520
- def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
519
+ def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
521
520
  pulumi.set(self, "external_access_integrations", value)
522
521
 
523
- @property
522
+ @_builtins.property
524
523
  @pulumi.getter(name="fullyQualifiedName")
525
- def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
524
+ def fully_qualified_name(self) -> Optional[pulumi.Input[_builtins.str]]:
526
525
  """
527
526
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
528
527
  """
529
528
  return pulumi.get(self, "fully_qualified_name")
530
529
 
531
530
  @fully_qualified_name.setter
532
- def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
531
+ def fully_qualified_name(self, value: Optional[pulumi.Input[_builtins.str]]):
533
532
  pulumi.set(self, "fully_qualified_name", value)
534
533
 
535
- @property
534
+ @_builtins.property
536
535
  @pulumi.getter(name="functionDefinition")
537
- def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
536
+ def function_definition(self) -> Optional[pulumi.Input[_builtins.str]]:
538
537
  """
539
538
  Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
540
539
  """
541
540
  return pulumi.get(self, "function_definition")
542
541
 
543
542
  @function_definition.setter
544
- def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
543
+ def function_definition(self, value: Optional[pulumi.Input[_builtins.str]]):
545
544
  pulumi.set(self, "function_definition", value)
546
545
 
547
- @property
546
+ @_builtins.property
548
547
  @pulumi.getter(name="functionLanguage")
549
- def function_language(self) -> Optional[pulumi.Input[builtins.str]]:
548
+ def function_language(self) -> Optional[pulumi.Input[_builtins.str]]:
550
549
  """
551
550
  Specifies language for the user. Used to detect external changes.
552
551
  """
553
552
  return pulumi.get(self, "function_language")
554
553
 
555
554
  @function_language.setter
556
- def function_language(self, value: Optional[pulumi.Input[builtins.str]]):
555
+ def function_language(self, value: Optional[pulumi.Input[_builtins.str]]):
557
556
  pulumi.set(self, "function_language", value)
558
557
 
559
- @property
558
+ @_builtins.property
560
559
  @pulumi.getter
561
- def handler(self) -> Optional[pulumi.Input[builtins.str]]:
560
+ def handler(self) -> Optional[pulumi.Input[_builtins.str]]:
562
561
  """
563
562
  The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
564
563
  """
565
564
  return pulumi.get(self, "handler")
566
565
 
567
566
  @handler.setter
568
- def handler(self, value: Optional[pulumi.Input[builtins.str]]):
567
+ def handler(self, value: Optional[pulumi.Input[_builtins.str]]):
569
568
  pulumi.set(self, "handler", value)
570
569
 
571
- @property
570
+ @_builtins.property
572
571
  @pulumi.getter
573
572
  def imports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]]:
574
573
  """
@@ -580,88 +579,88 @@ class _FunctionPythonState:
580
579
  def imports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]]):
581
580
  pulumi.set(self, "imports", value)
582
581
 
583
- @property
582
+ @_builtins.property
584
583
  @pulumi.getter(name="isAggregate")
585
- def is_aggregate(self) -> Optional[pulumi.Input[builtins.str]]:
584
+ def is_aggregate(self) -> Optional[pulumi.Input[_builtins.str]]:
586
585
  """
587
586
  (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
588
587
  """
589
588
  return pulumi.get(self, "is_aggregate")
590
589
 
591
590
  @is_aggregate.setter
592
- def is_aggregate(self, value: Optional[pulumi.Input[builtins.str]]):
591
+ def is_aggregate(self, value: Optional[pulumi.Input[_builtins.str]]):
593
592
  pulumi.set(self, "is_aggregate", value)
594
593
 
595
- @property
594
+ @_builtins.property
596
595
  @pulumi.getter(name="isSecure")
597
- def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
596
+ def is_secure(self) -> Optional[pulumi.Input[_builtins.str]]:
598
597
  return pulumi.get(self, "is_secure")
599
598
 
600
599
  @is_secure.setter
601
- def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
600
+ def is_secure(self, value: Optional[pulumi.Input[_builtins.str]]):
602
601
  pulumi.set(self, "is_secure", value)
603
602
 
604
- @property
603
+ @_builtins.property
605
604
  @pulumi.getter(name="logLevel")
606
- def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
605
+ def log_level(self) -> Optional[pulumi.Input[_builtins.str]]:
607
606
  """
608
607
  LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
609
608
  """
610
609
  return pulumi.get(self, "log_level")
611
610
 
612
611
  @log_level.setter
613
- def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
612
+ def log_level(self, value: Optional[pulumi.Input[_builtins.str]]):
614
613
  pulumi.set(self, "log_level", value)
615
614
 
616
- @property
615
+ @_builtins.property
617
616
  @pulumi.getter(name="metricLevel")
618
- def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
617
+ def metric_level(self) -> Optional[pulumi.Input[_builtins.str]]:
619
618
  """
620
619
  METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
621
620
  """
622
621
  return pulumi.get(self, "metric_level")
623
622
 
624
623
  @metric_level.setter
625
- def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
624
+ def metric_level(self, value: Optional[pulumi.Input[_builtins.str]]):
626
625
  pulumi.set(self, "metric_level", value)
627
626
 
628
- @property
627
+ @_builtins.property
629
628
  @pulumi.getter
630
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
629
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
631
630
  """
632
631
  The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
633
632
  """
634
633
  return pulumi.get(self, "name")
635
634
 
636
635
  @name.setter
637
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
636
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
638
637
  pulumi.set(self, "name", value)
639
638
 
640
- @property
639
+ @_builtins.property
641
640
  @pulumi.getter(name="nullInputBehavior")
642
- def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
641
+ def null_input_behavior(self) -> Optional[pulumi.Input[_builtins.str]]:
643
642
  """
644
643
  Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
645
644
  """
646
645
  return pulumi.get(self, "null_input_behavior")
647
646
 
648
647
  @null_input_behavior.setter
649
- def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
648
+ def null_input_behavior(self, value: Optional[pulumi.Input[_builtins.str]]):
650
649
  pulumi.set(self, "null_input_behavior", value)
651
650
 
652
- @property
651
+ @_builtins.property
653
652
  @pulumi.getter
654
- def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
653
+ def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
655
654
  """
656
655
  The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
657
656
  """
658
657
  return pulumi.get(self, "packages")
659
658
 
660
659
  @packages.setter
661
- def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
660
+ def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
662
661
  pulumi.set(self, "packages", value)
663
662
 
664
- @property
663
+ @_builtins.property
665
664
  @pulumi.getter
666
665
  def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonParameterArgs']]]]:
667
666
  """
@@ -673,55 +672,55 @@ class _FunctionPythonState:
673
672
  def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonParameterArgs']]]]):
674
673
  pulumi.set(self, "parameters", value)
675
674
 
676
- @property
675
+ @_builtins.property
677
676
  @pulumi.getter(name="returnResultsBehavior")
678
- def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
677
+ def return_results_behavior(self) -> Optional[pulumi.Input[_builtins.str]]:
679
678
  """
680
679
  Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
681
680
  """
682
681
  return pulumi.get(self, "return_results_behavior")
683
682
 
684
683
  @return_results_behavior.setter
685
- def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
684
+ def return_results_behavior(self, value: Optional[pulumi.Input[_builtins.str]]):
686
685
  pulumi.set(self, "return_results_behavior", value)
687
686
 
688
- @property
687
+ @_builtins.property
689
688
  @pulumi.getter(name="returnType")
690
- def return_type(self) -> Optional[pulumi.Input[builtins.str]]:
689
+ def return_type(self) -> Optional[pulumi.Input[_builtins.str]]:
691
690
  """
692
691
  Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
693
692
  """
694
693
  return pulumi.get(self, "return_type")
695
694
 
696
695
  @return_type.setter
697
- def return_type(self, value: Optional[pulumi.Input[builtins.str]]):
696
+ def return_type(self, value: Optional[pulumi.Input[_builtins.str]]):
698
697
  pulumi.set(self, "return_type", value)
699
698
 
700
- @property
699
+ @_builtins.property
701
700
  @pulumi.getter(name="runtimeVersion")
702
- def runtime_version(self) -> Optional[pulumi.Input[builtins.str]]:
701
+ def runtime_version(self) -> Optional[pulumi.Input[_builtins.str]]:
703
702
  """
704
703
  Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
705
704
  """
706
705
  return pulumi.get(self, "runtime_version")
707
706
 
708
707
  @runtime_version.setter
709
- def runtime_version(self, value: Optional[pulumi.Input[builtins.str]]):
708
+ def runtime_version(self, value: Optional[pulumi.Input[_builtins.str]]):
710
709
  pulumi.set(self, "runtime_version", value)
711
710
 
712
- @property
711
+ @_builtins.property
713
712
  @pulumi.getter
714
- def schema(self) -> Optional[pulumi.Input[builtins.str]]:
713
+ def schema(self) -> Optional[pulumi.Input[_builtins.str]]:
715
714
  """
716
715
  The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
717
716
  """
718
717
  return pulumi.get(self, "schema")
719
718
 
720
719
  @schema.setter
721
- def schema(self, value: Optional[pulumi.Input[builtins.str]]):
720
+ def schema(self, value: Optional[pulumi.Input[_builtins.str]]):
722
721
  pulumi.set(self, "schema", value)
723
722
 
724
- @property
723
+ @_builtins.property
725
724
  @pulumi.getter
726
725
  def secrets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]]:
727
726
  """
@@ -733,7 +732,7 @@ class _FunctionPythonState:
733
732
  def secrets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]]):
734
733
  pulumi.set(self, "secrets", value)
735
734
 
736
- @property
735
+ @_builtins.property
737
736
  @pulumi.getter(name="showOutputs")
738
737
  def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonShowOutputArgs']]]]:
739
738
  """
@@ -745,16 +744,16 @@ class _FunctionPythonState:
745
744
  def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonShowOutputArgs']]]]):
746
745
  pulumi.set(self, "show_outputs", value)
747
746
 
748
- @property
747
+ @_builtins.property
749
748
  @pulumi.getter(name="traceLevel")
750
- def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
749
+ def trace_level(self) -> Optional[pulumi.Input[_builtins.str]]:
751
750
  """
752
751
  Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
753
752
  """
754
753
  return pulumi.get(self, "trace_level")
755
754
 
756
755
  @trace_level.setter
757
- def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
756
+ def trace_level(self, value: Optional[pulumi.Input[_builtins.str]]):
758
757
  pulumi.set(self, "trace_level", value)
759
758
 
760
759
 
@@ -765,26 +764,26 @@ class FunctionPython(pulumi.CustomResource):
765
764
  resource_name: str,
766
765
  opts: Optional[pulumi.ResourceOptions] = None,
767
766
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]]] = None,
768
- comment: Optional[pulumi.Input[builtins.str]] = None,
769
- database: Optional[pulumi.Input[builtins.str]] = None,
770
- enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
771
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
772
- function_definition: Optional[pulumi.Input[builtins.str]] = None,
773
- handler: Optional[pulumi.Input[builtins.str]] = None,
767
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
768
+ database: Optional[pulumi.Input[_builtins.str]] = None,
769
+ enable_console_output: Optional[pulumi.Input[_builtins.bool]] = None,
770
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
771
+ function_definition: Optional[pulumi.Input[_builtins.str]] = None,
772
+ handler: Optional[pulumi.Input[_builtins.str]] = None,
774
773
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]]] = None,
775
- is_aggregate: Optional[pulumi.Input[builtins.str]] = None,
776
- is_secure: Optional[pulumi.Input[builtins.str]] = None,
777
- log_level: Optional[pulumi.Input[builtins.str]] = None,
778
- metric_level: Optional[pulumi.Input[builtins.str]] = None,
779
- name: Optional[pulumi.Input[builtins.str]] = None,
780
- null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
781
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
782
- return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
783
- return_type: Optional[pulumi.Input[builtins.str]] = None,
784
- runtime_version: Optional[pulumi.Input[builtins.str]] = None,
785
- schema: Optional[pulumi.Input[builtins.str]] = None,
774
+ is_aggregate: Optional[pulumi.Input[_builtins.str]] = None,
775
+ is_secure: Optional[pulumi.Input[_builtins.str]] = None,
776
+ log_level: Optional[pulumi.Input[_builtins.str]] = None,
777
+ metric_level: Optional[pulumi.Input[_builtins.str]] = None,
778
+ name: Optional[pulumi.Input[_builtins.str]] = None,
779
+ null_input_behavior: Optional[pulumi.Input[_builtins.str]] = None,
780
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
781
+ return_results_behavior: Optional[pulumi.Input[_builtins.str]] = None,
782
+ return_type: Optional[pulumi.Input[_builtins.str]] = None,
783
+ runtime_version: Optional[pulumi.Input[_builtins.str]] = None,
784
+ schema: Optional[pulumi.Input[_builtins.str]] = None,
786
785
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]]] = None,
787
- trace_level: Optional[pulumi.Input[builtins.str]] = None,
786
+ trace_level: Optional[pulumi.Input[_builtins.str]] = None,
788
787
  __props__=None):
789
788
  """
790
789
  ## Import
@@ -800,25 +799,25 @@ class FunctionPython(pulumi.CustomResource):
800
799
  :param str resource_name: The name of the resource.
801
800
  :param pulumi.ResourceOptions opts: Options for the resource.
802
801
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]] arguments: List of the arguments for the function. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages) for more details.
803
- :param pulumi.Input[builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
804
- :param pulumi.Input[builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
805
- :param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
806
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
807
- :param pulumi.Input[builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
808
- :param pulumi.Input[builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
802
+ :param pulumi.Input[_builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
803
+ :param pulumi.Input[_builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
804
+ :param pulumi.Input[_builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
805
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
806
+ :param pulumi.Input[_builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
807
+ :param pulumi.Input[_builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
809
808
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. A file can be a `.py` file or another type of file. Python UDFs can also read non-Python files, such as text files. For an example, see [Reading a file](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-examples.html#label-udf-python-read-files). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#python).
810
- :param pulumi.Input[builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
811
- :param pulumi.Input[builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
812
- :param pulumi.Input[builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
813
- :param pulumi.Input[builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
814
- :param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
815
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
816
- :param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
817
- :param pulumi.Input[builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
818
- :param pulumi.Input[builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
819
- :param pulumi.Input[builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
809
+ :param pulumi.Input[_builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
810
+ :param pulumi.Input[_builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
811
+ :param pulumi.Input[_builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
812
+ :param pulumi.Input[_builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
813
+ :param pulumi.Input[_builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
814
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
815
+ :param pulumi.Input[_builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
816
+ :param pulumi.Input[_builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
817
+ :param pulumi.Input[_builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
818
+ :param pulumi.Input[_builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
820
819
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]] secrets: Assigns the names of [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) to variables so that you can use the variables to reference the secrets when retrieving information from secrets in handler code. Secrets you specify here must be allowed by the [external access integration](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) specified as a value of this CREATE FUNCTION command’s EXTERNAL*ACCESS*INTEGRATIONS parameter.
821
- :param pulumi.Input[builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
820
+ :param pulumi.Input[_builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
822
821
  """
823
822
  ...
824
823
  @overload
@@ -853,26 +852,26 @@ class FunctionPython(pulumi.CustomResource):
853
852
  resource_name: str,
854
853
  opts: Optional[pulumi.ResourceOptions] = None,
855
854
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]]] = None,
856
- comment: Optional[pulumi.Input[builtins.str]] = None,
857
- database: Optional[pulumi.Input[builtins.str]] = None,
858
- enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
859
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
860
- function_definition: Optional[pulumi.Input[builtins.str]] = None,
861
- handler: Optional[pulumi.Input[builtins.str]] = None,
855
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
856
+ database: Optional[pulumi.Input[_builtins.str]] = None,
857
+ enable_console_output: Optional[pulumi.Input[_builtins.bool]] = None,
858
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
859
+ function_definition: Optional[pulumi.Input[_builtins.str]] = None,
860
+ handler: Optional[pulumi.Input[_builtins.str]] = None,
862
861
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]]] = None,
863
- is_aggregate: Optional[pulumi.Input[builtins.str]] = None,
864
- is_secure: Optional[pulumi.Input[builtins.str]] = None,
865
- log_level: Optional[pulumi.Input[builtins.str]] = None,
866
- metric_level: Optional[pulumi.Input[builtins.str]] = None,
867
- name: Optional[pulumi.Input[builtins.str]] = None,
868
- null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
869
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
870
- return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
871
- return_type: Optional[pulumi.Input[builtins.str]] = None,
872
- runtime_version: Optional[pulumi.Input[builtins.str]] = None,
873
- schema: Optional[pulumi.Input[builtins.str]] = None,
862
+ is_aggregate: Optional[pulumi.Input[_builtins.str]] = None,
863
+ is_secure: Optional[pulumi.Input[_builtins.str]] = None,
864
+ log_level: Optional[pulumi.Input[_builtins.str]] = None,
865
+ metric_level: Optional[pulumi.Input[_builtins.str]] = None,
866
+ name: Optional[pulumi.Input[_builtins.str]] = None,
867
+ null_input_behavior: Optional[pulumi.Input[_builtins.str]] = None,
868
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
869
+ return_results_behavior: Optional[pulumi.Input[_builtins.str]] = None,
870
+ return_type: Optional[pulumi.Input[_builtins.str]] = None,
871
+ runtime_version: Optional[pulumi.Input[_builtins.str]] = None,
872
+ schema: Optional[pulumi.Input[_builtins.str]] = None,
874
873
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]]] = None,
875
- trace_level: Optional[pulumi.Input[builtins.str]] = None,
874
+ trace_level: Optional[pulumi.Input[_builtins.str]] = None,
876
875
  __props__=None):
877
876
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
878
877
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -928,30 +927,30 @@ class FunctionPython(pulumi.CustomResource):
928
927
  id: pulumi.Input[str],
929
928
  opts: Optional[pulumi.ResourceOptions] = None,
930
929
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]]] = None,
931
- comment: Optional[pulumi.Input[builtins.str]] = None,
932
- database: Optional[pulumi.Input[builtins.str]] = None,
933
- enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
934
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
935
- fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
936
- function_definition: Optional[pulumi.Input[builtins.str]] = None,
937
- function_language: Optional[pulumi.Input[builtins.str]] = None,
938
- handler: Optional[pulumi.Input[builtins.str]] = None,
930
+ comment: Optional[pulumi.Input[_builtins.str]] = None,
931
+ database: Optional[pulumi.Input[_builtins.str]] = None,
932
+ enable_console_output: Optional[pulumi.Input[_builtins.bool]] = None,
933
+ external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
934
+ fully_qualified_name: Optional[pulumi.Input[_builtins.str]] = None,
935
+ function_definition: Optional[pulumi.Input[_builtins.str]] = None,
936
+ function_language: Optional[pulumi.Input[_builtins.str]] = None,
937
+ handler: Optional[pulumi.Input[_builtins.str]] = None,
939
938
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]]] = None,
940
- is_aggregate: Optional[pulumi.Input[builtins.str]] = None,
941
- is_secure: Optional[pulumi.Input[builtins.str]] = None,
942
- log_level: Optional[pulumi.Input[builtins.str]] = None,
943
- metric_level: Optional[pulumi.Input[builtins.str]] = None,
944
- name: Optional[pulumi.Input[builtins.str]] = None,
945
- null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
946
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
939
+ is_aggregate: Optional[pulumi.Input[_builtins.str]] = None,
940
+ is_secure: Optional[pulumi.Input[_builtins.str]] = None,
941
+ log_level: Optional[pulumi.Input[_builtins.str]] = None,
942
+ metric_level: Optional[pulumi.Input[_builtins.str]] = None,
943
+ name: Optional[pulumi.Input[_builtins.str]] = None,
944
+ null_input_behavior: Optional[pulumi.Input[_builtins.str]] = None,
945
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
947
946
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonParameterArgs', 'FunctionPythonParameterArgsDict']]]]] = None,
948
- return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
949
- return_type: Optional[pulumi.Input[builtins.str]] = None,
950
- runtime_version: Optional[pulumi.Input[builtins.str]] = None,
951
- schema: Optional[pulumi.Input[builtins.str]] = None,
947
+ return_results_behavior: Optional[pulumi.Input[_builtins.str]] = None,
948
+ return_type: Optional[pulumi.Input[_builtins.str]] = None,
949
+ runtime_version: Optional[pulumi.Input[_builtins.str]] = None,
950
+ schema: Optional[pulumi.Input[_builtins.str]] = None,
952
951
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]]] = None,
953
952
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonShowOutputArgs', 'FunctionPythonShowOutputArgsDict']]]]] = None,
954
- trace_level: Optional[pulumi.Input[builtins.str]] = None) -> 'FunctionPython':
953
+ trace_level: Optional[pulumi.Input[_builtins.str]] = None) -> 'FunctionPython':
955
954
  """
956
955
  Get an existing FunctionPython resource's state with the given name, id, and optional extra
957
956
  properties used to qualify the lookup.
@@ -960,29 +959,29 @@ class FunctionPython(pulumi.CustomResource):
960
959
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
961
960
  :param pulumi.ResourceOptions opts: Options for the resource.
962
961
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]] arguments: List of the arguments for the function. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages) for more details.
963
- :param pulumi.Input[builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
964
- :param pulumi.Input[builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
965
- :param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
966
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
967
- :param pulumi.Input[builtins.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).
968
- :param pulumi.Input[builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
969
- :param pulumi.Input[builtins.str] function_language: Specifies language for the user. Used to detect external changes.
970
- :param pulumi.Input[builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
962
+ :param pulumi.Input[_builtins.str] comment: (Default: `user-defined function`) Specifies a comment for the function.
963
+ :param pulumi.Input[_builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
964
+ :param pulumi.Input[_builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
965
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
966
+ :param pulumi.Input[_builtins.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).
967
+ :param pulumi.Input[_builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
968
+ :param pulumi.Input[_builtins.str] function_language: Specifies language for the user. Used to detect external changes.
969
+ :param pulumi.Input[_builtins.str] handler: The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
971
970
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. A file can be a `.py` file or another type of file. Python UDFs can also read non-Python files, such as text files. For an example, see [Reading a file](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-examples.html#label-udf-python-read-files). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#python).
972
- :param pulumi.Input[builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
973
- :param pulumi.Input[builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
974
- :param pulumi.Input[builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
975
- :param pulumi.Input[builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
976
- :param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
977
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
971
+ :param pulumi.Input[_builtins.str] is_aggregate: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
972
+ :param pulumi.Input[_builtins.str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
973
+ :param pulumi.Input[_builtins.str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
974
+ :param pulumi.Input[_builtins.str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
975
+ :param pulumi.Input[_builtins.str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
976
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
978
977
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonParameterArgs', 'FunctionPythonParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
979
- :param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
980
- :param pulumi.Input[builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
981
- :param pulumi.Input[builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
982
- :param pulumi.Input[builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
978
+ :param pulumi.Input[_builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
979
+ :param pulumi.Input[_builtins.str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
980
+ :param pulumi.Input[_builtins.str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
981
+ :param pulumi.Input[_builtins.str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
983
982
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]] secrets: Assigns the names of [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) to variables so that you can use the variables to reference the secrets when retrieving information from secrets in handler code. Secrets you specify here must be allowed by the [external access integration](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) specified as a value of this CREATE FUNCTION command’s EXTERNAL*ACCESS*INTEGRATIONS parameter.
984
983
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonShowOutputArgs', 'FunctionPythonShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
985
- :param pulumi.Input[builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
984
+ :param pulumi.Input[_builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
986
985
  """
987
986
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
988
987
 
@@ -1015,7 +1014,7 @@ class FunctionPython(pulumi.CustomResource):
1015
1014
  __props__.__dict__["trace_level"] = trace_level
1016
1015
  return FunctionPython(resource_name, opts=opts, __props__=__props__)
1017
1016
 
1018
- @property
1017
+ @_builtins.property
1019
1018
  @pulumi.getter
1020
1019
  def arguments(self) -> pulumi.Output[Optional[Sequence['outputs.FunctionPythonArgument']]]:
1021
1020
  """
@@ -1023,71 +1022,71 @@ class FunctionPython(pulumi.CustomResource):
1023
1022
  """
1024
1023
  return pulumi.get(self, "arguments")
1025
1024
 
1026
- @property
1025
+ @_builtins.property
1027
1026
  @pulumi.getter
1028
- def comment(self) -> pulumi.Output[Optional[builtins.str]]:
1027
+ def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
1029
1028
  """
1030
1029
  (Default: `user-defined function`) Specifies a comment for the function.
1031
1030
  """
1032
1031
  return pulumi.get(self, "comment")
1033
1032
 
1034
- @property
1033
+ @_builtins.property
1035
1034
  @pulumi.getter
1036
- def database(self) -> pulumi.Output[builtins.str]:
1035
+ def database(self) -> pulumi.Output[_builtins.str]:
1037
1036
  """
1038
1037
  The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1039
1038
  """
1040
1039
  return pulumi.get(self, "database")
1041
1040
 
1042
- @property
1041
+ @_builtins.property
1043
1042
  @pulumi.getter(name="enableConsoleOutput")
1044
- def enable_console_output(self) -> pulumi.Output[builtins.bool]:
1043
+ def enable_console_output(self) -> pulumi.Output[_builtins.bool]:
1045
1044
  """
1046
1045
  Enable stdout/stderr fast path logging for anonymous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
1047
1046
  """
1048
1047
  return pulumi.get(self, "enable_console_output")
1049
1048
 
1050
- @property
1049
+ @_builtins.property
1051
1050
  @pulumi.getter(name="externalAccessIntegrations")
1052
- def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1051
+ def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
1053
1052
  """
1054
1053
  The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
1055
1054
  """
1056
1055
  return pulumi.get(self, "external_access_integrations")
1057
1056
 
1058
- @property
1057
+ @_builtins.property
1059
1058
  @pulumi.getter(name="fullyQualifiedName")
1060
- def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
1059
+ def fully_qualified_name(self) -> pulumi.Output[_builtins.str]:
1061
1060
  """
1062
1061
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
1063
1062
  """
1064
1063
  return pulumi.get(self, "fully_qualified_name")
1065
1064
 
1066
- @property
1065
+ @_builtins.property
1067
1066
  @pulumi.getter(name="functionDefinition")
1068
- def function_definition(self) -> pulumi.Output[Optional[builtins.str]]:
1067
+ def function_definition(self) -> pulumi.Output[Optional[_builtins.str]]:
1069
1068
  """
1070
1069
  Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Python source code. For more information, see [Introduction to Python UDFs](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
1071
1070
  """
1072
1071
  return pulumi.get(self, "function_definition")
1073
1072
 
1074
- @property
1073
+ @_builtins.property
1075
1074
  @pulumi.getter(name="functionLanguage")
1076
- def function_language(self) -> pulumi.Output[builtins.str]:
1075
+ def function_language(self) -> pulumi.Output[_builtins.str]:
1077
1076
  """
1078
1077
  Specifies language for the user. Used to detect external changes.
1079
1078
  """
1080
1079
  return pulumi.get(self, "function_language")
1081
1080
 
1082
- @property
1081
+ @_builtins.property
1083
1082
  @pulumi.getter
1084
- def handler(self) -> pulumi.Output[builtins.str]:
1083
+ def handler(self) -> pulumi.Output[_builtins.str]:
1085
1084
  """
1086
1085
  The name of the handler function or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a function name. If the handler code is in-line with the CREATE FUNCTION statement, you can use the function name alone. When the handler code is referenced at a stage, this value should be qualified with the module name, as in the following form: `my_module.my_function`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
1087
1086
  """
1088
1087
  return pulumi.get(self, "handler")
1089
1088
 
1090
- @property
1089
+ @_builtins.property
1091
1090
  @pulumi.getter
1092
1091
  def imports(self) -> pulumi.Output[Optional[Sequence['outputs.FunctionPythonImport']]]:
1093
1092
  """
@@ -1095,60 +1094,60 @@ class FunctionPython(pulumi.CustomResource):
1095
1094
  """
1096
1095
  return pulumi.get(self, "imports")
1097
1096
 
1098
- @property
1097
+ @_builtins.property
1099
1098
  @pulumi.getter(name="isAggregate")
1100
- def is_aggregate(self) -> pulumi.Output[Optional[builtins.str]]:
1099
+ def is_aggregate(self) -> pulumi.Output[Optional[_builtins.str]]:
1101
1100
  """
1102
1101
  (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the function is an aggregate function. For more information about user-defined aggregate functions, see [Python user-defined aggregate functions](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-aggregate-functions). 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.
1103
1102
  """
1104
1103
  return pulumi.get(self, "is_aggregate")
1105
1104
 
1106
- @property
1105
+ @_builtins.property
1107
1106
  @pulumi.getter(name="isSecure")
1108
- def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
1107
+ def is_secure(self) -> pulumi.Output[Optional[_builtins.str]]:
1109
1108
  return pulumi.get(self, "is_secure")
1110
1109
 
1111
- @property
1110
+ @_builtins.property
1112
1111
  @pulumi.getter(name="logLevel")
1113
- def log_level(self) -> pulumi.Output[builtins.str]:
1112
+ def log_level(self) -> pulumi.Output[_builtins.str]:
1114
1113
  """
1115
1114
  LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
1116
1115
  """
1117
1116
  return pulumi.get(self, "log_level")
1118
1117
 
1119
- @property
1118
+ @_builtins.property
1120
1119
  @pulumi.getter(name="metricLevel")
1121
- def metric_level(self) -> pulumi.Output[builtins.str]:
1120
+ def metric_level(self) -> pulumi.Output[_builtins.str]:
1122
1121
  """
1123
1122
  METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
1124
1123
  """
1125
1124
  return pulumi.get(self, "metric_level")
1126
1125
 
1127
- @property
1126
+ @_builtins.property
1128
1127
  @pulumi.getter
1129
- def name(self) -> pulumi.Output[builtins.str]:
1128
+ def name(self) -> pulumi.Output[_builtins.str]:
1130
1129
  """
1131
1130
  The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1132
1131
  """
1133
1132
  return pulumi.get(self, "name")
1134
1133
 
1135
- @property
1134
+ @_builtins.property
1136
1135
  @pulumi.getter(name="nullInputBehavior")
1137
- def null_input_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
1136
+ def null_input_behavior(self) -> pulumi.Output[Optional[_builtins.str]]:
1138
1137
  """
1139
1138
  Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
1140
1139
  """
1141
1140
  return pulumi.get(self, "null_input_behavior")
1142
1141
 
1143
- @property
1142
+ @_builtins.property
1144
1143
  @pulumi.getter
1145
- def packages(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1144
+ def packages(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
1146
1145
  """
1147
1146
  The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
1148
1147
  """
1149
1148
  return pulumi.get(self, "packages")
1150
1149
 
1151
- @property
1150
+ @_builtins.property
1152
1151
  @pulumi.getter
1153
1152
  def parameters(self) -> pulumi.Output[Sequence['outputs.FunctionPythonParameter']]:
1154
1153
  """
@@ -1156,39 +1155,39 @@ class FunctionPython(pulumi.CustomResource):
1156
1155
  """
1157
1156
  return pulumi.get(self, "parameters")
1158
1157
 
1159
- @property
1158
+ @_builtins.property
1160
1159
  @pulumi.getter(name="returnResultsBehavior")
1161
- def return_results_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
1160
+ def return_results_behavior(self) -> pulumi.Output[Optional[_builtins.str]]:
1162
1161
  """
1163
1162
  Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
1164
1163
  """
1165
1164
  return pulumi.get(self, "return_results_behavior")
1166
1165
 
1167
- @property
1166
+ @_builtins.property
1168
1167
  @pulumi.getter(name="returnType")
1169
- def return_type(self) -> pulumi.Output[builtins.str]:
1168
+ def return_type(self) -> pulumi.Output[_builtins.str]:
1170
1169
  """
1171
1170
  Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
1172
1171
  """
1173
1172
  return pulumi.get(self, "return_type")
1174
1173
 
1175
- @property
1174
+ @_builtins.property
1176
1175
  @pulumi.getter(name="runtimeVersion")
1177
- def runtime_version(self) -> pulumi.Output[builtins.str]:
1176
+ def runtime_version(self) -> pulumi.Output[_builtins.str]:
1178
1177
  """
1179
1178
  Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
1180
1179
  """
1181
1180
  return pulumi.get(self, "runtime_version")
1182
1181
 
1183
- @property
1182
+ @_builtins.property
1184
1183
  @pulumi.getter
1185
- def schema(self) -> pulumi.Output[builtins.str]:
1184
+ def schema(self) -> pulumi.Output[_builtins.str]:
1186
1185
  """
1187
1186
  The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1188
1187
  """
1189
1188
  return pulumi.get(self, "schema")
1190
1189
 
1191
- @property
1190
+ @_builtins.property
1192
1191
  @pulumi.getter
1193
1192
  def secrets(self) -> pulumi.Output[Optional[Sequence['outputs.FunctionPythonSecret']]]:
1194
1193
  """
@@ -1196,7 +1195,7 @@ class FunctionPython(pulumi.CustomResource):
1196
1195
  """
1197
1196
  return pulumi.get(self, "secrets")
1198
1197
 
1199
- @property
1198
+ @_builtins.property
1200
1199
  @pulumi.getter(name="showOutputs")
1201
1200
  def show_outputs(self) -> pulumi.Output[Sequence['outputs.FunctionPythonShowOutput']]:
1202
1201
  """
@@ -1204,9 +1203,9 @@ class FunctionPython(pulumi.CustomResource):
1204
1203
  """
1205
1204
  return pulumi.get(self, "show_outputs")
1206
1205
 
1207
- @property
1206
+ @_builtins.property
1208
1207
  @pulumi.getter(name="traceLevel")
1209
- def trace_level(self) -> pulumi.Output[builtins.str]:
1208
+ def trace_level(self) -> pulumi.Output[_builtins.str]:
1210
1209
  """
1211
1210
  Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
1212
1211
  """