pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744266763__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 (147) hide show
  1. pulumi_snowflake/__init__.py +1 -0
  2. pulumi_snowflake/_inputs.py +12288 -12287
  3. pulumi_snowflake/account.py +186 -185
  4. pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
  5. pulumi_snowflake/account_parameter.py +29 -28
  6. pulumi_snowflake/account_password_policy_attachment.py +15 -14
  7. pulumi_snowflake/account_role.py +32 -31
  8. pulumi_snowflake/alert.py +120 -119
  9. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
  10. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
  11. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
  12. pulumi_snowflake/api_integration.py +203 -202
  13. pulumi_snowflake/authentication_policy.py +134 -133
  14. pulumi_snowflake/config/__init__.py +1 -0
  15. pulumi_snowflake/config/__init__.pyi +1 -0
  16. pulumi_snowflake/config/outputs.py +16 -15
  17. pulumi_snowflake/config/vars.py +1 -0
  18. pulumi_snowflake/cortex_search_service.py +141 -140
  19. pulumi_snowflake/database.py +288 -287
  20. pulumi_snowflake/database_role.py +50 -49
  21. pulumi_snowflake/dynamic_table.py +218 -217
  22. pulumi_snowflake/email_notification_integration.py +56 -55
  23. pulumi_snowflake/execute.py +50 -49
  24. pulumi_snowflake/external_function.py +225 -224
  25. pulumi_snowflake/external_oauth_integration.py +232 -231
  26. pulumi_snowflake/external_table.py +197 -196
  27. pulumi_snowflake/external_volume.py +50 -49
  28. pulumi_snowflake/failover_group.py +106 -105
  29. pulumi_snowflake/file_format.py +512 -511
  30. pulumi_snowflake/function_java.py +249 -248
  31. pulumi_snowflake/function_javascript.py +193 -192
  32. pulumi_snowflake/function_python.py +263 -262
  33. pulumi_snowflake/function_scala.py +249 -248
  34. pulumi_snowflake/function_sql.py +179 -178
  35. pulumi_snowflake/get_account_roles.py +12 -11
  36. pulumi_snowflake/get_accounts.py +12 -11
  37. pulumi_snowflake/get_alerts.py +17 -16
  38. pulumi_snowflake/get_connections.py +7 -6
  39. pulumi_snowflake/get_cortex_search_services.py +12 -11
  40. pulumi_snowflake/get_current_account.py +5 -4
  41. pulumi_snowflake/get_current_role.py +3 -2
  42. pulumi_snowflake/get_database.py +15 -14
  43. pulumi_snowflake/get_database_role.py +14 -13
  44. pulumi_snowflake/get_database_roles.py +12 -11
  45. pulumi_snowflake/get_databases.py +22 -21
  46. pulumi_snowflake/get_dynamic_tables.py +7 -6
  47. pulumi_snowflake/get_external_functions.py +12 -11
  48. pulumi_snowflake/get_external_tables.py +12 -11
  49. pulumi_snowflake/get_failover_groups.py +7 -6
  50. pulumi_snowflake/get_file_formats.py +12 -11
  51. pulumi_snowflake/get_functions.py +12 -11
  52. pulumi_snowflake/get_grants.py +2 -1
  53. pulumi_snowflake/get_masking_policies.py +12 -11
  54. pulumi_snowflake/get_materialized_views.py +12 -11
  55. pulumi_snowflake/get_network_policies.py +12 -11
  56. pulumi_snowflake/get_parameters.py +27 -26
  57. pulumi_snowflake/get_pipes.py +12 -11
  58. pulumi_snowflake/get_procedures.py +12 -11
  59. pulumi_snowflake/get_resource_monitors.py +7 -6
  60. pulumi_snowflake/get_row_access_policies.py +12 -11
  61. pulumi_snowflake/get_schemas.py +22 -21
  62. pulumi_snowflake/get_secrets.py +12 -11
  63. pulumi_snowflake/get_security_integrations.py +12 -11
  64. pulumi_snowflake/get_sequences.py +12 -11
  65. pulumi_snowflake/get_shares.py +7 -6
  66. pulumi_snowflake/get_stages.py +12 -11
  67. pulumi_snowflake/get_storage_integrations.py +2 -1
  68. pulumi_snowflake/get_streamlits.py +12 -11
  69. pulumi_snowflake/get_streams.py +17 -16
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +11 -10
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
  74. pulumi_snowflake/get_tables.py +12 -11
  75. pulumi_snowflake/get_tags.py +7 -6
  76. pulumi_snowflake/get_tasks.py +22 -21
  77. pulumi_snowflake/get_users.py +22 -21
  78. pulumi_snowflake/get_views.py +17 -16
  79. pulumi_snowflake/get_warehouses.py +17 -16
  80. pulumi_snowflake/grant_account_role.py +43 -42
  81. pulumi_snowflake/grant_application_role.py +43 -42
  82. pulumi_snowflake/grant_database_role.py +57 -56
  83. pulumi_snowflake/grant_ownership.py +43 -42
  84. pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
  85. pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
  86. pulumi_snowflake/grant_privileges_to_share.py +127 -126
  87. pulumi_snowflake/legacy_service_user.py +1039 -1038
  88. pulumi_snowflake/managed_account.py +113 -112
  89. pulumi_snowflake/masking_policy.py +106 -105
  90. pulumi_snowflake/materialized_view.py +120 -119
  91. pulumi_snowflake/network_policy.py +92 -91
  92. pulumi_snowflake/network_policy_attachment.py +43 -42
  93. pulumi_snowflake/network_rule.py +106 -105
  94. pulumi_snowflake/notification_integration.py +238 -237
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
  96. pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
  97. pulumi_snowflake/object_parameter.py +57 -56
  98. pulumi_snowflake/outputs.py +9273 -9272
  99. pulumi_snowflake/password_policy.py +246 -245
  100. pulumi_snowflake/pipe.py +148 -147
  101. pulumi_snowflake/primary_connection.py +55 -54
  102. pulumi_snowflake/procedure_java.py +267 -266
  103. pulumi_snowflake/procedure_javascript.py +197 -196
  104. pulumi_snowflake/procedure_python.py +267 -266
  105. pulumi_snowflake/procedure_scala.py +267 -266
  106. pulumi_snowflake/procedure_sql.py +197 -196
  107. pulumi_snowflake/provider.py +303 -302
  108. pulumi_snowflake/pulumi-plugin.json +1 -1
  109. pulumi_snowflake/resource_monitor.py +134 -133
  110. pulumi_snowflake/row_access_policy.py +78 -77
  111. pulumi_snowflake/saml2_integration.py +246 -245
  112. pulumi_snowflake/schema.py +316 -315
  113. pulumi_snowflake/scim_integration.py +106 -105
  114. pulumi_snowflake/secondary_connection.py +57 -56
  115. pulumi_snowflake/secondary_database.py +288 -287
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
  117. pulumi_snowflake/secret_with_basic_authentication.py +95 -94
  118. pulumi_snowflake/secret_with_client_credentials.py +99 -98
  119. pulumi_snowflake/secret_with_generic_string.py +81 -80
  120. pulumi_snowflake/sequence.py +99 -98
  121. pulumi_snowflake/service_user.py +1015 -1014
  122. pulumi_snowflake/share.py +50 -49
  123. pulumi_snowflake/shared_database.py +246 -245
  124. pulumi_snowflake/stage.py +190 -189
  125. pulumi_snowflake/storage_integration.py +166 -165
  126. pulumi_snowflake/stream_on_directory_table.py +100 -99
  127. pulumi_snowflake/stream_on_external_table.py +114 -113
  128. pulumi_snowflake/stream_on_table.py +124 -123
  129. pulumi_snowflake/stream_on_view.py +124 -123
  130. pulumi_snowflake/streamlit.py +148 -147
  131. pulumi_snowflake/table.py +113 -112
  132. pulumi_snowflake/table_column_masking_policy_application.py +43 -42
  133. pulumi_snowflake/table_constraint.py +155 -154
  134. pulumi_snowflake/tag.py +92 -91
  135. pulumi_snowflake/tag_association.py +71 -70
  136. pulumi_snowflake/task.py +1002 -1001
  137. pulumi_snowflake/user.py +1101 -1100
  138. pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
  139. pulumi_snowflake/user_password_policy_attachment.py +29 -28
  140. pulumi_snowflake/user_public_keys.py +43 -42
  141. pulumi_snowflake/view.py +136 -135
  142. pulumi_snowflake/warehouse.py +232 -231
  143. {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/METADATA +1 -1
  144. pulumi_snowflake-1.2.0a1744266763.dist-info/RECORD +148 -0
  145. pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
  146. {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/WHEEL +0 -0
  147. {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744266763.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,49 +22,49 @@ __all__ = ['FunctionPythonArgs', 'FunctionPython']
21
22
  @pulumi.input_type
22
23
  class FunctionPythonArgs:
23
24
  def __init__(__self__, *,
24
- database: pulumi.Input[str],
25
- handler: pulumi.Input[str],
26
- return_type: pulumi.Input[str],
27
- runtime_version: pulumi.Input[str],
28
- schema: pulumi.Input[str],
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],
29
30
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]] = None,
30
- comment: Optional[pulumi.Input[str]] = None,
31
- enable_console_output: Optional[pulumi.Input[bool]] = None,
32
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
33
- function_definition: Optional[pulumi.Input[str]] = 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,
34
35
  imports: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]] = None,
35
- is_aggregate: Optional[pulumi.Input[str]] = None,
36
- is_secure: Optional[pulumi.Input[str]] = None,
37
- log_level: Optional[pulumi.Input[str]] = None,
38
- metric_level: Optional[pulumi.Input[str]] = None,
39
- name: Optional[pulumi.Input[str]] = None,
40
- null_input_behavior: Optional[pulumi.Input[str]] = None,
41
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
42
- return_results_behavior: Optional[pulumi.Input[str]] = 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,
43
44
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]] = None,
44
- trace_level: Optional[pulumi.Input[str]] = None):
45
+ trace_level: Optional[pulumi.Input[builtins.str]] = None):
45
46
  """
46
47
  The set of arguments for constructing a FunctionPython resource.
47
- :param pulumi.Input[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[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[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[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[str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
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: `|`, `.`, `"`.
52
53
  :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.
53
- :param pulumi.Input[str] comment: Specifies a comment for the function.
54
- :param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous 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[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[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.
54
+ :param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
55
+ :param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous 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.
57
58
  :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).
58
- :param pulumi.Input[str] is_aggregate: 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[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[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[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[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[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[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
59
+ :param pulumi.Input[builtins.str] is_aggregate: 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`.
65
66
  :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.
66
- :param pulumi.Input[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).
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).
67
68
  """
68
69
  pulumi.set(__self__, "database", database)
69
70
  pulumi.set(__self__, "handler", handler)
@@ -105,62 +106,62 @@ class FunctionPythonArgs:
105
106
 
106
107
  @property
107
108
  @pulumi.getter
108
- def database(self) -> pulumi.Input[str]:
109
+ def database(self) -> pulumi.Input[builtins.str]:
109
110
  """
110
111
  The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
111
112
  """
112
113
  return pulumi.get(self, "database")
113
114
 
114
115
  @database.setter
115
- def database(self, value: pulumi.Input[str]):
116
+ def database(self, value: pulumi.Input[builtins.str]):
116
117
  pulumi.set(self, "database", value)
117
118
 
118
119
  @property
119
120
  @pulumi.getter
120
- def handler(self) -> pulumi.Input[str]:
121
+ def handler(self) -> pulumi.Input[builtins.str]:
121
122
  """
122
123
  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.
123
124
  """
124
125
  return pulumi.get(self, "handler")
125
126
 
126
127
  @handler.setter
127
- def handler(self, value: pulumi.Input[str]):
128
+ def handler(self, value: pulumi.Input[builtins.str]):
128
129
  pulumi.set(self, "handler", value)
129
130
 
130
131
  @property
131
132
  @pulumi.getter(name="returnType")
132
- def return_type(self) -> pulumi.Input[str]:
133
+ def return_type(self) -> pulumi.Input[builtins.str]:
133
134
  """
134
135
  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).
135
136
  """
136
137
  return pulumi.get(self, "return_type")
137
138
 
138
139
  @return_type.setter
139
- def return_type(self, value: pulumi.Input[str]):
140
+ def return_type(self, value: pulumi.Input[builtins.str]):
140
141
  pulumi.set(self, "return_type", value)
141
142
 
142
143
  @property
143
144
  @pulumi.getter(name="runtimeVersion")
144
- def runtime_version(self) -> pulumi.Input[str]:
145
+ def runtime_version(self) -> pulumi.Input[builtins.str]:
145
146
  """
146
147
  Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
147
148
  """
148
149
  return pulumi.get(self, "runtime_version")
149
150
 
150
151
  @runtime_version.setter
151
- def runtime_version(self, value: pulumi.Input[str]):
152
+ def runtime_version(self, value: pulumi.Input[builtins.str]):
152
153
  pulumi.set(self, "runtime_version", value)
153
154
 
154
155
  @property
155
156
  @pulumi.getter
156
- def schema(self) -> pulumi.Input[str]:
157
+ def schema(self) -> pulumi.Input[builtins.str]:
157
158
  """
158
159
  The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
159
160
  """
160
161
  return pulumi.get(self, "schema")
161
162
 
162
163
  @schema.setter
163
- def schema(self, value: pulumi.Input[str]):
164
+ def schema(self, value: pulumi.Input[builtins.str]):
164
165
  pulumi.set(self, "schema", value)
165
166
 
166
167
  @property
@@ -177,50 +178,50 @@ class FunctionPythonArgs:
177
178
 
178
179
  @property
179
180
  @pulumi.getter
180
- def comment(self) -> Optional[pulumi.Input[str]]:
181
+ def comment(self) -> Optional[pulumi.Input[builtins.str]]:
181
182
  """
182
183
  Specifies a comment for the function.
183
184
  """
184
185
  return pulumi.get(self, "comment")
185
186
 
186
187
  @comment.setter
187
- def comment(self, value: Optional[pulumi.Input[str]]):
188
+ def comment(self, value: Optional[pulumi.Input[builtins.str]]):
188
189
  pulumi.set(self, "comment", value)
189
190
 
190
191
  @property
191
192
  @pulumi.getter(name="enableConsoleOutput")
192
- def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
193
+ def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
193
194
  """
194
195
  Enable stdout/stderr fast path logging for anonyous 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).
195
196
  """
196
197
  return pulumi.get(self, "enable_console_output")
197
198
 
198
199
  @enable_console_output.setter
199
- def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
200
+ def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
200
201
  pulumi.set(self, "enable_console_output", value)
201
202
 
202
203
  @property
203
204
  @pulumi.getter(name="externalAccessIntegrations")
204
- def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
205
+ def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
205
206
  """
206
207
  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.
207
208
  """
208
209
  return pulumi.get(self, "external_access_integrations")
209
210
 
210
211
  @external_access_integrations.setter
211
- def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
212
+ def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
212
213
  pulumi.set(self, "external_access_integrations", value)
213
214
 
214
215
  @property
215
216
  @pulumi.getter(name="functionDefinition")
216
- def function_definition(self) -> Optional[pulumi.Input[str]]:
217
+ def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
217
218
  """
218
219
  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.
219
220
  """
220
221
  return pulumi.get(self, "function_definition")
221
222
 
222
223
  @function_definition.setter
223
- def function_definition(self, value: Optional[pulumi.Input[str]]):
224
+ def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
224
225
  pulumi.set(self, "function_definition", value)
225
226
 
226
227
  @property
@@ -237,95 +238,95 @@ class FunctionPythonArgs:
237
238
 
238
239
  @property
239
240
  @pulumi.getter(name="isAggregate")
240
- def is_aggregate(self) -> Optional[pulumi.Input[str]]:
241
+ def is_aggregate(self) -> Optional[pulumi.Input[builtins.str]]:
241
242
  """
242
243
  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.
243
244
  """
244
245
  return pulumi.get(self, "is_aggregate")
245
246
 
246
247
  @is_aggregate.setter
247
- def is_aggregate(self, value: Optional[pulumi.Input[str]]):
248
+ def is_aggregate(self, value: Optional[pulumi.Input[builtins.str]]):
248
249
  pulumi.set(self, "is_aggregate", value)
249
250
 
250
251
  @property
251
252
  @pulumi.getter(name="isSecure")
252
- def is_secure(self) -> Optional[pulumi.Input[str]]:
253
+ def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
253
254
  return pulumi.get(self, "is_secure")
254
255
 
255
256
  @is_secure.setter
256
- def is_secure(self, value: Optional[pulumi.Input[str]]):
257
+ def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
257
258
  pulumi.set(self, "is_secure", value)
258
259
 
259
260
  @property
260
261
  @pulumi.getter(name="logLevel")
261
- def log_level(self) -> Optional[pulumi.Input[str]]:
262
+ def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
262
263
  """
263
264
  LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
264
265
  """
265
266
  return pulumi.get(self, "log_level")
266
267
 
267
268
  @log_level.setter
268
- def log_level(self, value: Optional[pulumi.Input[str]]):
269
+ def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
269
270
  pulumi.set(self, "log_level", value)
270
271
 
271
272
  @property
272
273
  @pulumi.getter(name="metricLevel")
273
- def metric_level(self) -> Optional[pulumi.Input[str]]:
274
+ def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
274
275
  """
275
276
  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).
276
277
  """
277
278
  return pulumi.get(self, "metric_level")
278
279
 
279
280
  @metric_level.setter
280
- def metric_level(self, value: Optional[pulumi.Input[str]]):
281
+ def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
281
282
  pulumi.set(self, "metric_level", value)
282
283
 
283
284
  @property
284
285
  @pulumi.getter
285
- def name(self) -> Optional[pulumi.Input[str]]:
286
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
286
287
  """
287
288
  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: `|`, `.`, `"`.
288
289
  """
289
290
  return pulumi.get(self, "name")
290
291
 
291
292
  @name.setter
292
- def name(self, value: Optional[pulumi.Input[str]]):
293
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
293
294
  pulumi.set(self, "name", value)
294
295
 
295
296
  @property
296
297
  @pulumi.getter(name="nullInputBehavior")
297
- def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
298
+ def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
298
299
  """
299
300
  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`.
300
301
  """
301
302
  return pulumi.get(self, "null_input_behavior")
302
303
 
303
304
  @null_input_behavior.setter
304
- def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
305
+ def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
305
306
  pulumi.set(self, "null_input_behavior", value)
306
307
 
307
308
  @property
308
309
  @pulumi.getter
309
- def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
310
+ def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
310
311
  """
311
312
  The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
312
313
  """
313
314
  return pulumi.get(self, "packages")
314
315
 
315
316
  @packages.setter
316
- def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
317
+ def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
317
318
  pulumi.set(self, "packages", value)
318
319
 
319
320
  @property
320
321
  @pulumi.getter(name="returnResultsBehavior")
321
- def return_results_behavior(self) -> Optional[pulumi.Input[str]]:
322
+ def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
322
323
  """
323
324
  Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
324
325
  """
325
326
  return pulumi.get(self, "return_results_behavior")
326
327
 
327
328
  @return_results_behavior.setter
328
- def return_results_behavior(self, value: Optional[pulumi.Input[str]]):
329
+ def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
329
330
  pulumi.set(self, "return_results_behavior", value)
330
331
 
331
332
  @property
@@ -342,14 +343,14 @@ class FunctionPythonArgs:
342
343
 
343
344
  @property
344
345
  @pulumi.getter(name="traceLevel")
345
- def trace_level(self) -> Optional[pulumi.Input[str]]:
346
+ def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
346
347
  """
347
348
  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).
348
349
  """
349
350
  return pulumi.get(self, "trace_level")
350
351
 
351
352
  @trace_level.setter
352
- def trace_level(self, value: Optional[pulumi.Input[str]]):
353
+ def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
353
354
  pulumi.set(self, "trace_level", value)
354
355
 
355
356
 
@@ -357,56 +358,56 @@ class FunctionPythonArgs:
357
358
  class _FunctionPythonState:
358
359
  def __init__(__self__, *,
359
360
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonArgumentArgs']]]] = None,
360
- comment: Optional[pulumi.Input[str]] = None,
361
- database: Optional[pulumi.Input[str]] = None,
362
- enable_console_output: Optional[pulumi.Input[bool]] = None,
363
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
364
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
365
- function_definition: Optional[pulumi.Input[str]] = None,
366
- function_language: Optional[pulumi.Input[str]] = None,
367
- handler: Optional[pulumi.Input[str]] = 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,
368
369
  imports: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonImportArgs']]]] = None,
369
- is_aggregate: Optional[pulumi.Input[str]] = None,
370
- is_secure: Optional[pulumi.Input[str]] = None,
371
- log_level: Optional[pulumi.Input[str]] = None,
372
- metric_level: Optional[pulumi.Input[str]] = None,
373
- name: Optional[pulumi.Input[str]] = None,
374
- null_input_behavior: Optional[pulumi.Input[str]] = None,
375
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = 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,
376
377
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonParameterArgs']]]] = None,
377
- return_results_behavior: Optional[pulumi.Input[str]] = None,
378
- return_type: Optional[pulumi.Input[str]] = None,
379
- runtime_version: Optional[pulumi.Input[str]] = None,
380
- schema: Optional[pulumi.Input[str]] = 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,
381
382
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonSecretArgs']]]] = None,
382
383
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionPythonShowOutputArgs']]]] = None,
383
- trace_level: Optional[pulumi.Input[str]] = None):
384
+ trace_level: Optional[pulumi.Input[builtins.str]] = None):
384
385
  """
385
386
  Input properties used for looking up and filtering FunctionPython resources.
386
387
  :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.
387
- :param pulumi.Input[str] comment: Specifies a comment for the function.
388
- :param pulumi.Input[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[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous 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[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[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[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[str] function_language: Specifies language for the user. Used to detect external changes.
394
- :param pulumi.Input[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.
388
+ :param pulumi.Input[builtins.str] comment: 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 anonyous 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.
395
396
  :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).
396
- :param pulumi.Input[str] is_aggregate: 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[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[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[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[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[str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
397
+ :param pulumi.Input[builtins.str] is_aggregate: 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`.
402
403
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
403
- :param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
404
- :param pulumi.Input[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[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[str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
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: `|`, `.`, `"`.
407
408
  :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.
408
409
  :param pulumi.Input[Sequence[pulumi.Input['FunctionPythonShowOutputArgs']]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
409
- :param pulumi.Input[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).
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).
410
411
  """
411
412
  if arguments is not None:
412
413
  pulumi.set(__self__, "arguments", arguments)
@@ -473,98 +474,98 @@ class _FunctionPythonState:
473
474
 
474
475
  @property
475
476
  @pulumi.getter
476
- def comment(self) -> Optional[pulumi.Input[str]]:
477
+ def comment(self) -> Optional[pulumi.Input[builtins.str]]:
477
478
  """
478
479
  Specifies a comment for the function.
479
480
  """
480
481
  return pulumi.get(self, "comment")
481
482
 
482
483
  @comment.setter
483
- def comment(self, value: Optional[pulumi.Input[str]]):
484
+ def comment(self, value: Optional[pulumi.Input[builtins.str]]):
484
485
  pulumi.set(self, "comment", value)
485
486
 
486
487
  @property
487
488
  @pulumi.getter
488
- def database(self) -> Optional[pulumi.Input[str]]:
489
+ def database(self) -> Optional[pulumi.Input[builtins.str]]:
489
490
  """
490
491
  The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
491
492
  """
492
493
  return pulumi.get(self, "database")
493
494
 
494
495
  @database.setter
495
- def database(self, value: Optional[pulumi.Input[str]]):
496
+ def database(self, value: Optional[pulumi.Input[builtins.str]]):
496
497
  pulumi.set(self, "database", value)
497
498
 
498
499
  @property
499
500
  @pulumi.getter(name="enableConsoleOutput")
500
- def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
501
+ def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
501
502
  """
502
503
  Enable stdout/stderr fast path logging for anonyous 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).
503
504
  """
504
505
  return pulumi.get(self, "enable_console_output")
505
506
 
506
507
  @enable_console_output.setter
507
- def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
508
+ def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
508
509
  pulumi.set(self, "enable_console_output", value)
509
510
 
510
511
  @property
511
512
  @pulumi.getter(name="externalAccessIntegrations")
512
- def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
513
+ def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
513
514
  """
514
515
  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.
515
516
  """
516
517
  return pulumi.get(self, "external_access_integrations")
517
518
 
518
519
  @external_access_integrations.setter
519
- def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
520
+ def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
520
521
  pulumi.set(self, "external_access_integrations", value)
521
522
 
522
523
  @property
523
524
  @pulumi.getter(name="fullyQualifiedName")
524
- def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
525
+ def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
525
526
  """
526
527
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
527
528
  """
528
529
  return pulumi.get(self, "fully_qualified_name")
529
530
 
530
531
  @fully_qualified_name.setter
531
- def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
532
+ def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
532
533
  pulumi.set(self, "fully_qualified_name", value)
533
534
 
534
535
  @property
535
536
  @pulumi.getter(name="functionDefinition")
536
- def function_definition(self) -> Optional[pulumi.Input[str]]:
537
+ def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
537
538
  """
538
539
  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.
539
540
  """
540
541
  return pulumi.get(self, "function_definition")
541
542
 
542
543
  @function_definition.setter
543
- def function_definition(self, value: Optional[pulumi.Input[str]]):
544
+ def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
544
545
  pulumi.set(self, "function_definition", value)
545
546
 
546
547
  @property
547
548
  @pulumi.getter(name="functionLanguage")
548
- def function_language(self) -> Optional[pulumi.Input[str]]:
549
+ def function_language(self) -> Optional[pulumi.Input[builtins.str]]:
549
550
  """
550
551
  Specifies language for the user. Used to detect external changes.
551
552
  """
552
553
  return pulumi.get(self, "function_language")
553
554
 
554
555
  @function_language.setter
555
- def function_language(self, value: Optional[pulumi.Input[str]]):
556
+ def function_language(self, value: Optional[pulumi.Input[builtins.str]]):
556
557
  pulumi.set(self, "function_language", value)
557
558
 
558
559
  @property
559
560
  @pulumi.getter
560
- def handler(self) -> Optional[pulumi.Input[str]]:
561
+ def handler(self) -> Optional[pulumi.Input[builtins.str]]:
561
562
  """
562
563
  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.
563
564
  """
564
565
  return pulumi.get(self, "handler")
565
566
 
566
567
  @handler.setter
567
- def handler(self, value: Optional[pulumi.Input[str]]):
568
+ def handler(self, value: Optional[pulumi.Input[builtins.str]]):
568
569
  pulumi.set(self, "handler", value)
569
570
 
570
571
  @property
@@ -581,83 +582,83 @@ class _FunctionPythonState:
581
582
 
582
583
  @property
583
584
  @pulumi.getter(name="isAggregate")
584
- def is_aggregate(self) -> Optional[pulumi.Input[str]]:
585
+ def is_aggregate(self) -> Optional[pulumi.Input[builtins.str]]:
585
586
  """
586
587
  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.
587
588
  """
588
589
  return pulumi.get(self, "is_aggregate")
589
590
 
590
591
  @is_aggregate.setter
591
- def is_aggregate(self, value: Optional[pulumi.Input[str]]):
592
+ def is_aggregate(self, value: Optional[pulumi.Input[builtins.str]]):
592
593
  pulumi.set(self, "is_aggregate", value)
593
594
 
594
595
  @property
595
596
  @pulumi.getter(name="isSecure")
596
- def is_secure(self) -> Optional[pulumi.Input[str]]:
597
+ def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
597
598
  return pulumi.get(self, "is_secure")
598
599
 
599
600
  @is_secure.setter
600
- def is_secure(self, value: Optional[pulumi.Input[str]]):
601
+ def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
601
602
  pulumi.set(self, "is_secure", value)
602
603
 
603
604
  @property
604
605
  @pulumi.getter(name="logLevel")
605
- def log_level(self) -> Optional[pulumi.Input[str]]:
606
+ def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
606
607
  """
607
608
  LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
608
609
  """
609
610
  return pulumi.get(self, "log_level")
610
611
 
611
612
  @log_level.setter
612
- def log_level(self, value: Optional[pulumi.Input[str]]):
613
+ def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
613
614
  pulumi.set(self, "log_level", value)
614
615
 
615
616
  @property
616
617
  @pulumi.getter(name="metricLevel")
617
- def metric_level(self) -> Optional[pulumi.Input[str]]:
618
+ def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
618
619
  """
619
620
  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).
620
621
  """
621
622
  return pulumi.get(self, "metric_level")
622
623
 
623
624
  @metric_level.setter
624
- def metric_level(self, value: Optional[pulumi.Input[str]]):
625
+ def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
625
626
  pulumi.set(self, "metric_level", value)
626
627
 
627
628
  @property
628
629
  @pulumi.getter
629
- def name(self) -> Optional[pulumi.Input[str]]:
630
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
630
631
  """
631
632
  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: `|`, `.`, `"`.
632
633
  """
633
634
  return pulumi.get(self, "name")
634
635
 
635
636
  @name.setter
636
- def name(self, value: Optional[pulumi.Input[str]]):
637
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
637
638
  pulumi.set(self, "name", value)
638
639
 
639
640
  @property
640
641
  @pulumi.getter(name="nullInputBehavior")
641
- def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
642
+ def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
642
643
  """
643
644
  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`.
644
645
  """
645
646
  return pulumi.get(self, "null_input_behavior")
646
647
 
647
648
  @null_input_behavior.setter
648
- def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
649
+ def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
649
650
  pulumi.set(self, "null_input_behavior", value)
650
651
 
651
652
  @property
652
653
  @pulumi.getter
653
- def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
654
+ def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
654
655
  """
655
656
  The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
656
657
  """
657
658
  return pulumi.get(self, "packages")
658
659
 
659
660
  @packages.setter
660
- def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
661
+ def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
661
662
  pulumi.set(self, "packages", value)
662
663
 
663
664
  @property
@@ -674,50 +675,50 @@ class _FunctionPythonState:
674
675
 
675
676
  @property
676
677
  @pulumi.getter(name="returnResultsBehavior")
677
- def return_results_behavior(self) -> Optional[pulumi.Input[str]]:
678
+ def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
678
679
  """
679
680
  Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
680
681
  """
681
682
  return pulumi.get(self, "return_results_behavior")
682
683
 
683
684
  @return_results_behavior.setter
684
- def return_results_behavior(self, value: Optional[pulumi.Input[str]]):
685
+ def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
685
686
  pulumi.set(self, "return_results_behavior", value)
686
687
 
687
688
  @property
688
689
  @pulumi.getter(name="returnType")
689
- def return_type(self) -> Optional[pulumi.Input[str]]:
690
+ def return_type(self) -> Optional[pulumi.Input[builtins.str]]:
690
691
  """
691
692
  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).
692
693
  """
693
694
  return pulumi.get(self, "return_type")
694
695
 
695
696
  @return_type.setter
696
- def return_type(self, value: Optional[pulumi.Input[str]]):
697
+ def return_type(self, value: Optional[pulumi.Input[builtins.str]]):
697
698
  pulumi.set(self, "return_type", value)
698
699
 
699
700
  @property
700
701
  @pulumi.getter(name="runtimeVersion")
701
- def runtime_version(self) -> Optional[pulumi.Input[str]]:
702
+ def runtime_version(self) -> Optional[pulumi.Input[builtins.str]]:
702
703
  """
703
704
  Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
704
705
  """
705
706
  return pulumi.get(self, "runtime_version")
706
707
 
707
708
  @runtime_version.setter
708
- def runtime_version(self, value: Optional[pulumi.Input[str]]):
709
+ def runtime_version(self, value: Optional[pulumi.Input[builtins.str]]):
709
710
  pulumi.set(self, "runtime_version", value)
710
711
 
711
712
  @property
712
713
  @pulumi.getter
713
- def schema(self) -> Optional[pulumi.Input[str]]:
714
+ def schema(self) -> Optional[pulumi.Input[builtins.str]]:
714
715
  """
715
716
  The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
716
717
  """
717
718
  return pulumi.get(self, "schema")
718
719
 
719
720
  @schema.setter
720
- def schema(self, value: Optional[pulumi.Input[str]]):
721
+ def schema(self, value: Optional[pulumi.Input[builtins.str]]):
721
722
  pulumi.set(self, "schema", value)
722
723
 
723
724
  @property
@@ -746,14 +747,14 @@ class _FunctionPythonState:
746
747
 
747
748
  @property
748
749
  @pulumi.getter(name="traceLevel")
749
- def trace_level(self) -> Optional[pulumi.Input[str]]:
750
+ def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
750
751
  """
751
752
  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).
752
753
  """
753
754
  return pulumi.get(self, "trace_level")
754
755
 
755
756
  @trace_level.setter
756
- def trace_level(self, value: Optional[pulumi.Input[str]]):
757
+ def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
757
758
  pulumi.set(self, "trace_level", value)
758
759
 
759
760
 
@@ -763,26 +764,26 @@ class FunctionPython(pulumi.CustomResource):
763
764
  resource_name: str,
764
765
  opts: Optional[pulumi.ResourceOptions] = None,
765
766
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]]] = None,
766
- comment: Optional[pulumi.Input[str]] = None,
767
- database: Optional[pulumi.Input[str]] = None,
768
- enable_console_output: Optional[pulumi.Input[bool]] = None,
769
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
770
- function_definition: Optional[pulumi.Input[str]] = None,
771
- handler: Optional[pulumi.Input[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,
772
773
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]]] = None,
773
- is_aggregate: Optional[pulumi.Input[str]] = None,
774
- is_secure: Optional[pulumi.Input[str]] = None,
775
- log_level: Optional[pulumi.Input[str]] = None,
776
- metric_level: Optional[pulumi.Input[str]] = None,
777
- name: Optional[pulumi.Input[str]] = None,
778
- null_input_behavior: Optional[pulumi.Input[str]] = None,
779
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
780
- return_results_behavior: Optional[pulumi.Input[str]] = None,
781
- return_type: Optional[pulumi.Input[str]] = None,
782
- runtime_version: Optional[pulumi.Input[str]] = None,
783
- schema: Optional[pulumi.Input[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,
784
785
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]]] = None,
785
- trace_level: Optional[pulumi.Input[str]] = None,
786
+ trace_level: Optional[pulumi.Input[builtins.str]] = None,
786
787
  __props__=None):
787
788
  """
788
789
  ## Import
@@ -798,25 +799,25 @@ class FunctionPython(pulumi.CustomResource):
798
799
  :param str resource_name: The name of the resource.
799
800
  :param pulumi.ResourceOptions opts: Options for the resource.
800
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.
801
- :param pulumi.Input[str] comment: Specifies a comment for the function.
802
- :param pulumi.Input[str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
803
- :param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous 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).
804
- :param pulumi.Input[Sequence[pulumi.Input[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.
805
- :param pulumi.Input[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.
806
- :param pulumi.Input[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: 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 anonyous 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.
807
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).
808
- :param pulumi.Input[str] is_aggregate: 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.
809
- :param pulumi.Input[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).
810
- :param pulumi.Input[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).
811
- :param pulumi.Input[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: `|`, `.`, `"`.
812
- :param pulumi.Input[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`.
813
- :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
814
- :param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
815
- :param pulumi.Input[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).
816
- :param pulumi.Input[str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
817
- :param pulumi.Input[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: 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: `|`, `.`, `"`.
818
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.
819
- :param pulumi.Input[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).
820
821
  """
821
822
  ...
822
823
  @overload
@@ -851,26 +852,26 @@ class FunctionPython(pulumi.CustomResource):
851
852
  resource_name: str,
852
853
  opts: Optional[pulumi.ResourceOptions] = None,
853
854
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]]] = None,
854
- comment: Optional[pulumi.Input[str]] = None,
855
- database: Optional[pulumi.Input[str]] = None,
856
- enable_console_output: Optional[pulumi.Input[bool]] = None,
857
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
858
- function_definition: Optional[pulumi.Input[str]] = None,
859
- handler: Optional[pulumi.Input[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,
860
861
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]]] = None,
861
- is_aggregate: Optional[pulumi.Input[str]] = None,
862
- is_secure: Optional[pulumi.Input[str]] = None,
863
- log_level: Optional[pulumi.Input[str]] = None,
864
- metric_level: Optional[pulumi.Input[str]] = None,
865
- name: Optional[pulumi.Input[str]] = None,
866
- null_input_behavior: Optional[pulumi.Input[str]] = None,
867
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
868
- return_results_behavior: Optional[pulumi.Input[str]] = None,
869
- return_type: Optional[pulumi.Input[str]] = None,
870
- runtime_version: Optional[pulumi.Input[str]] = None,
871
- schema: Optional[pulumi.Input[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,
872
873
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]]] = None,
873
- trace_level: Optional[pulumi.Input[str]] = None,
874
+ trace_level: Optional[pulumi.Input[builtins.str]] = None,
874
875
  __props__=None):
875
876
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
876
877
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -926,30 +927,30 @@ class FunctionPython(pulumi.CustomResource):
926
927
  id: pulumi.Input[str],
927
928
  opts: Optional[pulumi.ResourceOptions] = None,
928
929
  arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonArgumentArgs', 'FunctionPythonArgumentArgsDict']]]]] = None,
929
- comment: Optional[pulumi.Input[str]] = None,
930
- database: Optional[pulumi.Input[str]] = None,
931
- enable_console_output: Optional[pulumi.Input[bool]] = None,
932
- external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
933
- fully_qualified_name: Optional[pulumi.Input[str]] = None,
934
- function_definition: Optional[pulumi.Input[str]] = None,
935
- function_language: Optional[pulumi.Input[str]] = None,
936
- handler: Optional[pulumi.Input[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,
937
938
  imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonImportArgs', 'FunctionPythonImportArgsDict']]]]] = None,
938
- is_aggregate: Optional[pulumi.Input[str]] = None,
939
- is_secure: Optional[pulumi.Input[str]] = None,
940
- log_level: Optional[pulumi.Input[str]] = None,
941
- metric_level: Optional[pulumi.Input[str]] = None,
942
- name: Optional[pulumi.Input[str]] = None,
943
- null_input_behavior: Optional[pulumi.Input[str]] = None,
944
- packages: Optional[pulumi.Input[Sequence[pulumi.Input[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,
945
946
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonParameterArgs', 'FunctionPythonParameterArgsDict']]]]] = None,
946
- return_results_behavior: Optional[pulumi.Input[str]] = None,
947
- return_type: Optional[pulumi.Input[str]] = None,
948
- runtime_version: Optional[pulumi.Input[str]] = None,
949
- schema: Optional[pulumi.Input[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,
950
951
  secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonSecretArgs', 'FunctionPythonSecretArgsDict']]]]] = None,
951
952
  show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonShowOutputArgs', 'FunctionPythonShowOutputArgsDict']]]]] = None,
952
- trace_level: Optional[pulumi.Input[str]] = None) -> 'FunctionPython':
953
+ trace_level: Optional[pulumi.Input[builtins.str]] = None) -> 'FunctionPython':
953
954
  """
954
955
  Get an existing FunctionPython resource's state with the given name, id, and optional extra
955
956
  properties used to qualify the lookup.
@@ -958,29 +959,29 @@ class FunctionPython(pulumi.CustomResource):
958
959
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
959
960
  :param pulumi.ResourceOptions opts: Options for the resource.
960
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.
961
- :param pulumi.Input[str] comment: Specifies a comment for the function.
962
- :param pulumi.Input[str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
963
- :param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous 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).
964
- :param pulumi.Input[Sequence[pulumi.Input[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.
965
- :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
966
- :param pulumi.Input[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.
967
- :param pulumi.Input[str] function_language: Specifies language for the user. Used to detect external changes.
968
- :param pulumi.Input[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: 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 anonyous 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.
969
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).
970
- :param pulumi.Input[str] is_aggregate: 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.
971
- :param pulumi.Input[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).
972
- :param pulumi.Input[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).
973
- :param pulumi.Input[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: `|`, `.`, `"`.
974
- :param pulumi.Input[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`.
975
- :param pulumi.Input[Sequence[pulumi.Input[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: 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`.
976
977
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonParameterArgs', 'FunctionPythonParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
977
- :param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
978
- :param pulumi.Input[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).
979
- :param pulumi.Input[str] runtime_version: Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
980
- :param pulumi.Input[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: `|`, `.`, `"`.
981
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.
982
983
  :param pulumi.Input[Sequence[pulumi.Input[Union['FunctionPythonShowOutputArgs', 'FunctionPythonShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
983
- :param pulumi.Input[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).
984
985
  """
985
986
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
986
987
 
@@ -1023,7 +1024,7 @@ class FunctionPython(pulumi.CustomResource):
1023
1024
 
1024
1025
  @property
1025
1026
  @pulumi.getter
1026
- def comment(self) -> pulumi.Output[Optional[str]]:
1027
+ def comment(self) -> pulumi.Output[Optional[builtins.str]]:
1027
1028
  """
1028
1029
  Specifies a comment for the function.
1029
1030
  """
@@ -1031,7 +1032,7 @@ class FunctionPython(pulumi.CustomResource):
1031
1032
 
1032
1033
  @property
1033
1034
  @pulumi.getter
1034
- def database(self) -> pulumi.Output[str]:
1035
+ def database(self) -> pulumi.Output[builtins.str]:
1035
1036
  """
1036
1037
  The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1037
1038
  """
@@ -1039,7 +1040,7 @@ class FunctionPython(pulumi.CustomResource):
1039
1040
 
1040
1041
  @property
1041
1042
  @pulumi.getter(name="enableConsoleOutput")
1042
- def enable_console_output(self) -> pulumi.Output[bool]:
1043
+ def enable_console_output(self) -> pulumi.Output[builtins.bool]:
1043
1044
  """
1044
1045
  Enable stdout/stderr fast path logging for anonyous 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).
1045
1046
  """
@@ -1047,7 +1048,7 @@ class FunctionPython(pulumi.CustomResource):
1047
1048
 
1048
1049
  @property
1049
1050
  @pulumi.getter(name="externalAccessIntegrations")
1050
- def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[str]]]:
1051
+ def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1051
1052
  """
1052
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.
1053
1054
  """
@@ -1055,7 +1056,7 @@ class FunctionPython(pulumi.CustomResource):
1055
1056
 
1056
1057
  @property
1057
1058
  @pulumi.getter(name="fullyQualifiedName")
1058
- def fully_qualified_name(self) -> pulumi.Output[str]:
1059
+ def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
1059
1060
  """
1060
1061
  Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
1061
1062
  """
@@ -1063,7 +1064,7 @@ class FunctionPython(pulumi.CustomResource):
1063
1064
 
1064
1065
  @property
1065
1066
  @pulumi.getter(name="functionDefinition")
1066
- def function_definition(self) -> pulumi.Output[Optional[str]]:
1067
+ def function_definition(self) -> pulumi.Output[Optional[builtins.str]]:
1067
1068
  """
1068
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.
1069
1070
  """
@@ -1071,7 +1072,7 @@ class FunctionPython(pulumi.CustomResource):
1071
1072
 
1072
1073
  @property
1073
1074
  @pulumi.getter(name="functionLanguage")
1074
- def function_language(self) -> pulumi.Output[str]:
1075
+ def function_language(self) -> pulumi.Output[builtins.str]:
1075
1076
  """
1076
1077
  Specifies language for the user. Used to detect external changes.
1077
1078
  """
@@ -1079,7 +1080,7 @@ class FunctionPython(pulumi.CustomResource):
1079
1080
 
1080
1081
  @property
1081
1082
  @pulumi.getter
1082
- def handler(self) -> pulumi.Output[str]:
1083
+ def handler(self) -> pulumi.Output[builtins.str]:
1083
1084
  """
1084
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.
1085
1086
  """
@@ -1095,7 +1096,7 @@ class FunctionPython(pulumi.CustomResource):
1095
1096
 
1096
1097
  @property
1097
1098
  @pulumi.getter(name="isAggregate")
1098
- def is_aggregate(self) -> pulumi.Output[Optional[str]]:
1099
+ def is_aggregate(self) -> pulumi.Output[Optional[builtins.str]]:
1099
1100
  """
1100
1101
  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.
1101
1102
  """
@@ -1103,12 +1104,12 @@ class FunctionPython(pulumi.CustomResource):
1103
1104
 
1104
1105
  @property
1105
1106
  @pulumi.getter(name="isSecure")
1106
- def is_secure(self) -> pulumi.Output[Optional[str]]:
1107
+ def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
1107
1108
  return pulumi.get(self, "is_secure")
1108
1109
 
1109
1110
  @property
1110
1111
  @pulumi.getter(name="logLevel")
1111
- def log_level(self) -> pulumi.Output[str]:
1112
+ def log_level(self) -> pulumi.Output[builtins.str]:
1112
1113
  """
1113
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).
1114
1115
  """
@@ -1116,7 +1117,7 @@ class FunctionPython(pulumi.CustomResource):
1116
1117
 
1117
1118
  @property
1118
1119
  @pulumi.getter(name="metricLevel")
1119
- def metric_level(self) -> pulumi.Output[str]:
1120
+ def metric_level(self) -> pulumi.Output[builtins.str]:
1120
1121
  """
1121
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).
1122
1123
  """
@@ -1124,7 +1125,7 @@ class FunctionPython(pulumi.CustomResource):
1124
1125
 
1125
1126
  @property
1126
1127
  @pulumi.getter
1127
- def name(self) -> pulumi.Output[str]:
1128
+ def name(self) -> pulumi.Output[builtins.str]:
1128
1129
  """
1129
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: `|`, `.`, `"`.
1130
1131
  """
@@ -1132,7 +1133,7 @@ class FunctionPython(pulumi.CustomResource):
1132
1133
 
1133
1134
  @property
1134
1135
  @pulumi.getter(name="nullInputBehavior")
1135
- def null_input_behavior(self) -> pulumi.Output[Optional[str]]:
1136
+ def null_input_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
1136
1137
  """
1137
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`.
1138
1139
  """
@@ -1140,7 +1141,7 @@ class FunctionPython(pulumi.CustomResource):
1140
1141
 
1141
1142
  @property
1142
1143
  @pulumi.getter
1143
- def packages(self) -> pulumi.Output[Optional[Sequence[str]]]:
1144
+ def packages(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1144
1145
  """
1145
1146
  The name and version number of packages required as dependencies. The value should be of the form `package_name==version_number`.
1146
1147
  """
@@ -1156,7 +1157,7 @@ class FunctionPython(pulumi.CustomResource):
1156
1157
 
1157
1158
  @property
1158
1159
  @pulumi.getter(name="returnResultsBehavior")
1159
- def return_results_behavior(self) -> pulumi.Output[Optional[str]]:
1160
+ def return_results_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
1160
1161
  """
1161
1162
  Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
1162
1163
  """
@@ -1164,7 +1165,7 @@ class FunctionPython(pulumi.CustomResource):
1164
1165
 
1165
1166
  @property
1166
1167
  @pulumi.getter(name="returnType")
1167
- def return_type(self) -> pulumi.Output[str]:
1168
+ def return_type(self) -> pulumi.Output[builtins.str]:
1168
1169
  """
1169
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).
1170
1171
  """
@@ -1172,7 +1173,7 @@ class FunctionPython(pulumi.CustomResource):
1172
1173
 
1173
1174
  @property
1174
1175
  @pulumi.getter(name="runtimeVersion")
1175
- def runtime_version(self) -> pulumi.Output[str]:
1176
+ def runtime_version(self) -> pulumi.Output[builtins.str]:
1176
1177
  """
1177
1178
  Specifies the Python version to use. The supported versions of Python are: 3.9, 3.10, and 3.11.
1178
1179
  """
@@ -1180,7 +1181,7 @@ class FunctionPython(pulumi.CustomResource):
1180
1181
 
1181
1182
  @property
1182
1183
  @pulumi.getter
1183
- def schema(self) -> pulumi.Output[str]:
1184
+ def schema(self) -> pulumi.Output[builtins.str]:
1184
1185
  """
1185
1186
  The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
1186
1187
  """
@@ -1204,7 +1205,7 @@ class FunctionPython(pulumi.CustomResource):
1204
1205
 
1205
1206
  @property
1206
1207
  @pulumi.getter(name="traceLevel")
1207
- def trace_level(self) -> pulumi.Output[str]:
1208
+ def trace_level(self) -> pulumi.Output[builtins.str]:
1208
1209
  """
1209
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).
1210
1211
  """