pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744183688__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.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__ = ['FunctionJavaArgs', 'FunctionJava']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class FunctionJavaArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
database: pulumi.Input[str],
|
|
25
|
-
handler: pulumi.Input[str],
|
|
26
|
-
return_type: pulumi.Input[str],
|
|
27
|
-
schema: pulumi.Input[str],
|
|
25
|
+
database: pulumi.Input[builtins.str],
|
|
26
|
+
handler: pulumi.Input[builtins.str],
|
|
27
|
+
return_type: pulumi.Input[builtins.str],
|
|
28
|
+
schema: pulumi.Input[builtins.str],
|
|
28
29
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavaArgumentArgs']]]] = None,
|
|
29
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
31
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
32
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
32
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
33
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
34
|
imports: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavaImportArgs']]]] = None,
|
|
34
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
38
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
39
|
-
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
40
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
41
|
-
runtime_version: Optional[pulumi.Input[str]] = None,
|
|
35
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
39
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
|
+
packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
41
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
42
|
+
runtime_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
42
43
|
secrets: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavaSecretArgs']]]] = None,
|
|
43
44
|
target_path: Optional[pulumi.Input['FunctionJavaTargetPathArgs']] = 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 FunctionJava 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 method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. 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] 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 method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. 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] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
51
52
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavaArgumentArgs']]] 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.
|
|
52
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
53
|
-
: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).
|
|
54
|
-
: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.
|
|
55
|
-
: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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
53
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
54
|
+
: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).
|
|
55
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
|
|
56
|
+
:param pulumi.Input[builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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.
|
|
56
57
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavaImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. A file can be a JAR file or another type of file. If the file is a JAR file, it can contain one or more .class files and zero or more resource files. JNI (Java Native Interface) is not supported. Snowflake prohibits loading libraries that contain native code (as opposed to Java bytecode). Java UDFs can also read non-JAR files. For an example, see [Reading a file specified statically in IMPORTS](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-cookbook.html#label-reading-file-from-java-udf-imports). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#java).
|
|
57
|
-
: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).
|
|
58
|
-
: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).
|
|
59
|
-
: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: `|`, `.`, `"`.
|
|
60
|
-
: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`.
|
|
61
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
62
|
-
:param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
63
|
-
:param pulumi.Input[str] runtime_version: Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
58
|
+
: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).
|
|
59
|
+
: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).
|
|
60
|
+
: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: `|`, `.`, `"`.
|
|
61
|
+
: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`.
|
|
62
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] packages: The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
63
|
+
:param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
64
|
+
:param pulumi.Input[builtins.str] runtime_version: Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
64
65
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavaSecretArgs']]] 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.
|
|
65
66
|
:param pulumi.Input['FunctionJavaTargetPathArgs'] target_path: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
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)
|
|
@@ -106,50 +107,50 @@ class FunctionJavaArgs:
|
|
|
106
107
|
|
|
107
108
|
@property
|
|
108
109
|
@pulumi.getter
|
|
109
|
-
def database(self) -> pulumi.Input[str]:
|
|
110
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
110
111
|
"""
|
|
111
112
|
The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
112
113
|
"""
|
|
113
114
|
return pulumi.get(self, "database")
|
|
114
115
|
|
|
115
116
|
@database.setter
|
|
116
|
-
def database(self, value: pulumi.Input[str]):
|
|
117
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
117
118
|
pulumi.set(self, "database", value)
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter
|
|
121
|
-
def handler(self) -> pulumi.Input[str]:
|
|
122
|
+
def handler(self) -> pulumi.Input[builtins.str]:
|
|
122
123
|
"""
|
|
123
124
|
The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
124
125
|
"""
|
|
125
126
|
return pulumi.get(self, "handler")
|
|
126
127
|
|
|
127
128
|
@handler.setter
|
|
128
|
-
def handler(self, value: pulumi.Input[str]):
|
|
129
|
+
def handler(self, value: pulumi.Input[builtins.str]):
|
|
129
130
|
pulumi.set(self, "handler", value)
|
|
130
131
|
|
|
131
132
|
@property
|
|
132
133
|
@pulumi.getter(name="returnType")
|
|
133
|
-
def return_type(self) -> pulumi.Input[str]:
|
|
134
|
+
def return_type(self) -> pulumi.Input[builtins.str]:
|
|
134
135
|
"""
|
|
135
136
|
Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
|
|
136
137
|
"""
|
|
137
138
|
return pulumi.get(self, "return_type")
|
|
138
139
|
|
|
139
140
|
@return_type.setter
|
|
140
|
-
def return_type(self, value: pulumi.Input[str]):
|
|
141
|
+
def return_type(self, value: pulumi.Input[builtins.str]):
|
|
141
142
|
pulumi.set(self, "return_type", value)
|
|
142
143
|
|
|
143
144
|
@property
|
|
144
145
|
@pulumi.getter
|
|
145
|
-
def schema(self) -> pulumi.Input[str]:
|
|
146
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
146
147
|
"""
|
|
147
148
|
The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
148
149
|
"""
|
|
149
150
|
return pulumi.get(self, "schema")
|
|
150
151
|
|
|
151
152
|
@schema.setter
|
|
152
|
-
def schema(self, value: pulumi.Input[str]):
|
|
153
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
153
154
|
pulumi.set(self, "schema", value)
|
|
154
155
|
|
|
155
156
|
@property
|
|
@@ -166,50 +167,50 @@ class FunctionJavaArgs:
|
|
|
166
167
|
|
|
167
168
|
@property
|
|
168
169
|
@pulumi.getter
|
|
169
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
170
171
|
"""
|
|
171
172
|
Specifies a comment for the function.
|
|
172
173
|
"""
|
|
173
174
|
return pulumi.get(self, "comment")
|
|
174
175
|
|
|
175
176
|
@comment.setter
|
|
176
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
177
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
177
178
|
pulumi.set(self, "comment", value)
|
|
178
179
|
|
|
179
180
|
@property
|
|
180
181
|
@pulumi.getter(name="enableConsoleOutput")
|
|
181
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
182
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
182
183
|
"""
|
|
183
184
|
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).
|
|
184
185
|
"""
|
|
185
186
|
return pulumi.get(self, "enable_console_output")
|
|
186
187
|
|
|
187
188
|
@enable_console_output.setter
|
|
188
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
189
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
189
190
|
pulumi.set(self, "enable_console_output", value)
|
|
190
191
|
|
|
191
192
|
@property
|
|
192
193
|
@pulumi.getter(name="externalAccessIntegrations")
|
|
193
|
-
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
194
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
194
195
|
"""
|
|
195
196
|
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.
|
|
196
197
|
"""
|
|
197
198
|
return pulumi.get(self, "external_access_integrations")
|
|
198
199
|
|
|
199
200
|
@external_access_integrations.setter
|
|
200
|
-
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
201
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
201
202
|
pulumi.set(self, "external_access_integrations", value)
|
|
202
203
|
|
|
203
204
|
@property
|
|
204
205
|
@pulumi.getter(name="functionDefinition")
|
|
205
|
-
def function_definition(self) -> Optional[pulumi.Input[str]]:
|
|
206
|
+
def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
206
207
|
"""
|
|
207
208
|
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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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.
|
|
208
209
|
"""
|
|
209
210
|
return pulumi.get(self, "function_definition")
|
|
210
211
|
|
|
211
212
|
@function_definition.setter
|
|
212
|
-
def function_definition(self, value: Optional[pulumi.Input[str]]):
|
|
213
|
+
def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
213
214
|
pulumi.set(self, "function_definition", value)
|
|
214
215
|
|
|
215
216
|
@property
|
|
@@ -226,95 +227,95 @@ class FunctionJavaArgs:
|
|
|
226
227
|
|
|
227
228
|
@property
|
|
228
229
|
@pulumi.getter(name="isSecure")
|
|
229
|
-
def is_secure(self) -> Optional[pulumi.Input[str]]:
|
|
230
|
+
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
230
231
|
return pulumi.get(self, "is_secure")
|
|
231
232
|
|
|
232
233
|
@is_secure.setter
|
|
233
|
-
def is_secure(self, value: Optional[pulumi.Input[str]]):
|
|
234
|
+
def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
234
235
|
pulumi.set(self, "is_secure", value)
|
|
235
236
|
|
|
236
237
|
@property
|
|
237
238
|
@pulumi.getter(name="logLevel")
|
|
238
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
239
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
239
240
|
"""
|
|
240
241
|
LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
241
242
|
"""
|
|
242
243
|
return pulumi.get(self, "log_level")
|
|
243
244
|
|
|
244
245
|
@log_level.setter
|
|
245
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
246
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
246
247
|
pulumi.set(self, "log_level", value)
|
|
247
248
|
|
|
248
249
|
@property
|
|
249
250
|
@pulumi.getter(name="metricLevel")
|
|
250
|
-
def metric_level(self) -> Optional[pulumi.Input[str]]:
|
|
251
|
+
def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
251
252
|
"""
|
|
252
253
|
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).
|
|
253
254
|
"""
|
|
254
255
|
return pulumi.get(self, "metric_level")
|
|
255
256
|
|
|
256
257
|
@metric_level.setter
|
|
257
|
-
def metric_level(self, value: Optional[pulumi.Input[str]]):
|
|
258
|
+
def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
258
259
|
pulumi.set(self, "metric_level", value)
|
|
259
260
|
|
|
260
261
|
@property
|
|
261
262
|
@pulumi.getter
|
|
262
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
263
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
263
264
|
"""
|
|
264
265
|
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: `|`, `.`, `"`.
|
|
265
266
|
"""
|
|
266
267
|
return pulumi.get(self, "name")
|
|
267
268
|
|
|
268
269
|
@name.setter
|
|
269
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
270
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
270
271
|
pulumi.set(self, "name", value)
|
|
271
272
|
|
|
272
273
|
@property
|
|
273
274
|
@pulumi.getter(name="nullInputBehavior")
|
|
274
|
-
def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
275
|
+
def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
275
276
|
"""
|
|
276
277
|
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`.
|
|
277
278
|
"""
|
|
278
279
|
return pulumi.get(self, "null_input_behavior")
|
|
279
280
|
|
|
280
281
|
@null_input_behavior.setter
|
|
281
|
-
def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
282
|
+
def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
282
283
|
pulumi.set(self, "null_input_behavior", value)
|
|
283
284
|
|
|
284
285
|
@property
|
|
285
286
|
@pulumi.getter
|
|
286
|
-
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
287
|
+
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
287
288
|
"""
|
|
288
289
|
The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
289
290
|
"""
|
|
290
291
|
return pulumi.get(self, "packages")
|
|
291
292
|
|
|
292
293
|
@packages.setter
|
|
293
|
-
def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
294
|
+
def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
294
295
|
pulumi.set(self, "packages", value)
|
|
295
296
|
|
|
296
297
|
@property
|
|
297
298
|
@pulumi.getter(name="returnResultsBehavior")
|
|
298
|
-
def return_results_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
299
|
+
def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
299
300
|
"""
|
|
300
301
|
Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
301
302
|
"""
|
|
302
303
|
return pulumi.get(self, "return_results_behavior")
|
|
303
304
|
|
|
304
305
|
@return_results_behavior.setter
|
|
305
|
-
def return_results_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
306
|
+
def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
306
307
|
pulumi.set(self, "return_results_behavior", value)
|
|
307
308
|
|
|
308
309
|
@property
|
|
309
310
|
@pulumi.getter(name="runtimeVersion")
|
|
310
|
-
def runtime_version(self) -> Optional[pulumi.Input[str]]:
|
|
311
|
+
def runtime_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
311
312
|
"""
|
|
312
313
|
Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
313
314
|
"""
|
|
314
315
|
return pulumi.get(self, "runtime_version")
|
|
315
316
|
|
|
316
317
|
@runtime_version.setter
|
|
317
|
-
def runtime_version(self, value: Optional[pulumi.Input[str]]):
|
|
318
|
+
def runtime_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
318
319
|
pulumi.set(self, "runtime_version", value)
|
|
319
320
|
|
|
320
321
|
@property
|
|
@@ -343,14 +344,14 @@ class FunctionJavaArgs:
|
|
|
343
344
|
|
|
344
345
|
@property
|
|
345
346
|
@pulumi.getter(name="traceLevel")
|
|
346
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
347
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
347
348
|
"""
|
|
348
349
|
Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
349
350
|
"""
|
|
350
351
|
return pulumi.get(self, "trace_level")
|
|
351
352
|
|
|
352
353
|
@trace_level.setter
|
|
353
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
354
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
354
355
|
pulumi.set(self, "trace_level", value)
|
|
355
356
|
|
|
356
357
|
|
|
@@ -358,56 +359,56 @@ class FunctionJavaArgs:
|
|
|
358
359
|
class _FunctionJavaState:
|
|
359
360
|
def __init__(__self__, *,
|
|
360
361
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavaArgumentArgs']]]] = None,
|
|
361
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
362
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
363
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
364
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
365
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
366
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
367
|
-
function_language: Optional[pulumi.Input[str]] = None,
|
|
368
|
-
handler: Optional[pulumi.Input[str]] = None,
|
|
362
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
363
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
364
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
365
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
366
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
367
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
368
|
+
function_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
369
|
+
handler: Optional[pulumi.Input[builtins.str]] = None,
|
|
369
370
|
imports: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavaImportArgs']]]] = 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,
|
|
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['FunctionJavaParameterArgs']]]] = 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['FunctionJavaSecretArgs']]]] = None,
|
|
382
383
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavaShowOutputArgs']]]] = None,
|
|
383
384
|
target_path: Optional[pulumi.Input['FunctionJavaTargetPathArgs']] = None,
|
|
384
|
-
trace_level: Optional[pulumi.Input[str]] = None):
|
|
385
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None):
|
|
385
386
|
"""
|
|
386
387
|
Input properties used for looking up and filtering FunctionJava resources.
|
|
387
388
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavaArgumentArgs']]] arguments: List of the arguments for the function. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages) for more details.
|
|
388
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
389
|
-
: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: `|`, `.`, `"`.
|
|
390
|
-
: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).
|
|
391
|
-
: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.
|
|
392
|
-
: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).
|
|
393
|
-
: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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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[str] function_language: Specifies language for the user. Used to detect external changes.
|
|
395
|
-
:param pulumi.Input[str] handler: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
389
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
390
|
+
: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: `|`, `.`, `"`.
|
|
391
|
+
: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).
|
|
392
|
+
: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.
|
|
393
|
+
: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).
|
|
394
|
+
: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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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.
|
|
395
|
+
:param pulumi.Input[builtins.str] function_language: Specifies language for the user. Used to detect external changes.
|
|
396
|
+
:param pulumi.Input[builtins.str] handler: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
396
397
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavaImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. A file can be a JAR file or another type of file. If the file is a JAR file, it can contain one or more .class files and zero or more resource files. JNI (Java Native Interface) is not supported. Snowflake prohibits loading libraries that contain native code (as opposed to Java bytecode). Java UDFs can also read non-JAR files. For an example, see [Reading a file specified statically in IMPORTS](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-cookbook.html#label-reading-file-from-java-udf-imports). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#java).
|
|
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 Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
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 Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
402
403
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavaParameterArgs']]] 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 Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
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 Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
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['FunctionJavaSecretArgs']]] 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['FunctionJavaShowOutputArgs']]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
|
|
409
410
|
:param pulumi.Input['FunctionJavaTargetPathArgs'] target_path: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
410
|
-
: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).
|
|
411
|
+
:param pulumi.Input[builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
411
412
|
"""
|
|
412
413
|
if arguments is not None:
|
|
413
414
|
pulumi.set(__self__, "arguments", arguments)
|
|
@@ -474,98 +475,98 @@ class _FunctionJavaState:
|
|
|
474
475
|
|
|
475
476
|
@property
|
|
476
477
|
@pulumi.getter
|
|
477
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
478
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
478
479
|
"""
|
|
479
480
|
Specifies a comment for the function.
|
|
480
481
|
"""
|
|
481
482
|
return pulumi.get(self, "comment")
|
|
482
483
|
|
|
483
484
|
@comment.setter
|
|
484
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
485
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
485
486
|
pulumi.set(self, "comment", value)
|
|
486
487
|
|
|
487
488
|
@property
|
|
488
489
|
@pulumi.getter
|
|
489
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
490
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
490
491
|
"""
|
|
491
492
|
The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
492
493
|
"""
|
|
493
494
|
return pulumi.get(self, "database")
|
|
494
495
|
|
|
495
496
|
@database.setter
|
|
496
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
497
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
497
498
|
pulumi.set(self, "database", value)
|
|
498
499
|
|
|
499
500
|
@property
|
|
500
501
|
@pulumi.getter(name="enableConsoleOutput")
|
|
501
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
502
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
502
503
|
"""
|
|
503
504
|
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).
|
|
504
505
|
"""
|
|
505
506
|
return pulumi.get(self, "enable_console_output")
|
|
506
507
|
|
|
507
508
|
@enable_console_output.setter
|
|
508
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
509
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
509
510
|
pulumi.set(self, "enable_console_output", value)
|
|
510
511
|
|
|
511
512
|
@property
|
|
512
513
|
@pulumi.getter(name="externalAccessIntegrations")
|
|
513
|
-
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
514
|
+
def external_access_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
514
515
|
"""
|
|
515
516
|
The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
|
|
516
517
|
"""
|
|
517
518
|
return pulumi.get(self, "external_access_integrations")
|
|
518
519
|
|
|
519
520
|
@external_access_integrations.setter
|
|
520
|
-
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
521
|
+
def external_access_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
521
522
|
pulumi.set(self, "external_access_integrations", value)
|
|
522
523
|
|
|
523
524
|
@property
|
|
524
525
|
@pulumi.getter(name="fullyQualifiedName")
|
|
525
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
526
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
526
527
|
"""
|
|
527
528
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
528
529
|
"""
|
|
529
530
|
return pulumi.get(self, "fully_qualified_name")
|
|
530
531
|
|
|
531
532
|
@fully_qualified_name.setter
|
|
532
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
533
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
533
534
|
pulumi.set(self, "fully_qualified_name", value)
|
|
534
535
|
|
|
535
536
|
@property
|
|
536
537
|
@pulumi.getter(name="functionDefinition")
|
|
537
|
-
def function_definition(self) -> Optional[pulumi.Input[str]]:
|
|
538
|
+
def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
538
539
|
"""
|
|
539
540
|
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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
540
541
|
"""
|
|
541
542
|
return pulumi.get(self, "function_definition")
|
|
542
543
|
|
|
543
544
|
@function_definition.setter
|
|
544
|
-
def function_definition(self, value: Optional[pulumi.Input[str]]):
|
|
545
|
+
def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
545
546
|
pulumi.set(self, "function_definition", value)
|
|
546
547
|
|
|
547
548
|
@property
|
|
548
549
|
@pulumi.getter(name="functionLanguage")
|
|
549
|
-
def function_language(self) -> Optional[pulumi.Input[str]]:
|
|
550
|
+
def function_language(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
550
551
|
"""
|
|
551
552
|
Specifies language for the user. Used to detect external changes.
|
|
552
553
|
"""
|
|
553
554
|
return pulumi.get(self, "function_language")
|
|
554
555
|
|
|
555
556
|
@function_language.setter
|
|
556
|
-
def function_language(self, value: Optional[pulumi.Input[str]]):
|
|
557
|
+
def function_language(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
557
558
|
pulumi.set(self, "function_language", value)
|
|
558
559
|
|
|
559
560
|
@property
|
|
560
561
|
@pulumi.getter
|
|
561
|
-
def handler(self) -> Optional[pulumi.Input[str]]:
|
|
562
|
+
def handler(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
562
563
|
"""
|
|
563
564
|
The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
564
565
|
"""
|
|
565
566
|
return pulumi.get(self, "handler")
|
|
566
567
|
|
|
567
568
|
@handler.setter
|
|
568
|
-
def handler(self, value: Optional[pulumi.Input[str]]):
|
|
569
|
+
def handler(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
569
570
|
pulumi.set(self, "handler", value)
|
|
570
571
|
|
|
571
572
|
@property
|
|
@@ -582,71 +583,71 @@ class _FunctionJavaState:
|
|
|
582
583
|
|
|
583
584
|
@property
|
|
584
585
|
@pulumi.getter(name="isSecure")
|
|
585
|
-
def is_secure(self) -> Optional[pulumi.Input[str]]:
|
|
586
|
+
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
586
587
|
return pulumi.get(self, "is_secure")
|
|
587
588
|
|
|
588
589
|
@is_secure.setter
|
|
589
|
-
def is_secure(self, value: Optional[pulumi.Input[str]]):
|
|
590
|
+
def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
590
591
|
pulumi.set(self, "is_secure", value)
|
|
591
592
|
|
|
592
593
|
@property
|
|
593
594
|
@pulumi.getter(name="logLevel")
|
|
594
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
595
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
595
596
|
"""
|
|
596
597
|
LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
597
598
|
"""
|
|
598
599
|
return pulumi.get(self, "log_level")
|
|
599
600
|
|
|
600
601
|
@log_level.setter
|
|
601
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
602
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
602
603
|
pulumi.set(self, "log_level", value)
|
|
603
604
|
|
|
604
605
|
@property
|
|
605
606
|
@pulumi.getter(name="metricLevel")
|
|
606
|
-
def metric_level(self) -> Optional[pulumi.Input[str]]:
|
|
607
|
+
def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
607
608
|
"""
|
|
608
609
|
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).
|
|
609
610
|
"""
|
|
610
611
|
return pulumi.get(self, "metric_level")
|
|
611
612
|
|
|
612
613
|
@metric_level.setter
|
|
613
|
-
def metric_level(self, value: Optional[pulumi.Input[str]]):
|
|
614
|
+
def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
614
615
|
pulumi.set(self, "metric_level", value)
|
|
615
616
|
|
|
616
617
|
@property
|
|
617
618
|
@pulumi.getter
|
|
618
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
619
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
619
620
|
"""
|
|
620
621
|
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: `|`, `.`, `"`.
|
|
621
622
|
"""
|
|
622
623
|
return pulumi.get(self, "name")
|
|
623
624
|
|
|
624
625
|
@name.setter
|
|
625
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
626
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
626
627
|
pulumi.set(self, "name", value)
|
|
627
628
|
|
|
628
629
|
@property
|
|
629
630
|
@pulumi.getter(name="nullInputBehavior")
|
|
630
|
-
def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
631
|
+
def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
631
632
|
"""
|
|
632
633
|
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`.
|
|
633
634
|
"""
|
|
634
635
|
return pulumi.get(self, "null_input_behavior")
|
|
635
636
|
|
|
636
637
|
@null_input_behavior.setter
|
|
637
|
-
def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
638
|
+
def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
638
639
|
pulumi.set(self, "null_input_behavior", value)
|
|
639
640
|
|
|
640
641
|
@property
|
|
641
642
|
@pulumi.getter
|
|
642
|
-
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
643
|
+
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
643
644
|
"""
|
|
644
645
|
The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
645
646
|
"""
|
|
646
647
|
return pulumi.get(self, "packages")
|
|
647
648
|
|
|
648
649
|
@packages.setter
|
|
649
|
-
def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
650
|
+
def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
650
651
|
pulumi.set(self, "packages", value)
|
|
651
652
|
|
|
652
653
|
@property
|
|
@@ -663,50 +664,50 @@ class _FunctionJavaState:
|
|
|
663
664
|
|
|
664
665
|
@property
|
|
665
666
|
@pulumi.getter(name="returnResultsBehavior")
|
|
666
|
-
def return_results_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
667
|
+
def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
667
668
|
"""
|
|
668
669
|
Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
669
670
|
"""
|
|
670
671
|
return pulumi.get(self, "return_results_behavior")
|
|
671
672
|
|
|
672
673
|
@return_results_behavior.setter
|
|
673
|
-
def return_results_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
674
|
+
def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
674
675
|
pulumi.set(self, "return_results_behavior", value)
|
|
675
676
|
|
|
676
677
|
@property
|
|
677
678
|
@pulumi.getter(name="returnType")
|
|
678
|
-
def return_type(self) -> Optional[pulumi.Input[str]]:
|
|
679
|
+
def return_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
679
680
|
"""
|
|
680
681
|
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).
|
|
681
682
|
"""
|
|
682
683
|
return pulumi.get(self, "return_type")
|
|
683
684
|
|
|
684
685
|
@return_type.setter
|
|
685
|
-
def return_type(self, value: Optional[pulumi.Input[str]]):
|
|
686
|
+
def return_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
686
687
|
pulumi.set(self, "return_type", value)
|
|
687
688
|
|
|
688
689
|
@property
|
|
689
690
|
@pulumi.getter(name="runtimeVersion")
|
|
690
|
-
def runtime_version(self) -> Optional[pulumi.Input[str]]:
|
|
691
|
+
def runtime_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
691
692
|
"""
|
|
692
693
|
Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
693
694
|
"""
|
|
694
695
|
return pulumi.get(self, "runtime_version")
|
|
695
696
|
|
|
696
697
|
@runtime_version.setter
|
|
697
|
-
def runtime_version(self, value: Optional[pulumi.Input[str]]):
|
|
698
|
+
def runtime_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
698
699
|
pulumi.set(self, "runtime_version", value)
|
|
699
700
|
|
|
700
701
|
@property
|
|
701
702
|
@pulumi.getter
|
|
702
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
703
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
703
704
|
"""
|
|
704
705
|
The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
705
706
|
"""
|
|
706
707
|
return pulumi.get(self, "schema")
|
|
707
708
|
|
|
708
709
|
@schema.setter
|
|
709
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
710
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
710
711
|
pulumi.set(self, "schema", value)
|
|
711
712
|
|
|
712
713
|
@property
|
|
@@ -747,14 +748,14 @@ class _FunctionJavaState:
|
|
|
747
748
|
|
|
748
749
|
@property
|
|
749
750
|
@pulumi.getter(name="traceLevel")
|
|
750
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
751
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
751
752
|
"""
|
|
752
753
|
Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
753
754
|
"""
|
|
754
755
|
return pulumi.get(self, "trace_level")
|
|
755
756
|
|
|
756
757
|
@trace_level.setter
|
|
757
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
758
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
758
759
|
pulumi.set(self, "trace_level", value)
|
|
759
760
|
|
|
760
761
|
|
|
@@ -764,26 +765,26 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
764
765
|
resource_name: str,
|
|
765
766
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
766
767
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaArgumentArgs', 'FunctionJavaArgumentArgsDict']]]]] = None,
|
|
767
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
768
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
769
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
770
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
771
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
772
|
-
handler: Optional[pulumi.Input[str]] = None,
|
|
768
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
769
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
770
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
771
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
772
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
773
|
+
handler: Optional[pulumi.Input[builtins.str]] = None,
|
|
773
774
|
imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaImportArgs', 'FunctionJavaImportArgsDict']]]]] = 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,
|
|
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['FunctionJavaSecretArgs', 'FunctionJavaSecretArgsDict']]]]] = None,
|
|
785
786
|
target_path: Optional[pulumi.Input[Union['FunctionJavaTargetPathArgs', 'FunctionJavaTargetPathArgsDict']]] = None,
|
|
786
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
787
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
787
788
|
__props__=None):
|
|
788
789
|
"""
|
|
789
790
|
## Import
|
|
@@ -799,25 +800,25 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
799
800
|
:param str resource_name: The name of the resource.
|
|
800
801
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
801
802
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaArgumentArgs', 'FunctionJavaArgumentArgsDict']]]] 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.
|
|
802
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
803
|
-
: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: `|`, `.`, `"`.
|
|
804
|
-
: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).
|
|
805
|
-
: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.
|
|
806
|
-
: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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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[str] handler: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
803
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
804
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
805
|
+
:param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for 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).
|
|
806
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] external_access_integrations: The names of [external access integrations](https://docs.snowflake.com/en/sql-reference/sql/create-external-access-integration) needed in order for this function’s handler code to access external networks. An external access integration specifies [network rules](https://docs.snowflake.com/en/sql-reference/sql/create-network-rule) and [secrets](https://docs.snowflake.com/en/sql-reference/sql/create-secret) that specify external locations and credentials (if any) allowed for use by handler code when making requests of an external network, such as an external REST API.
|
|
807
|
+
:param pulumi.Input[builtins.str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-introduction). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
808
|
+
:param pulumi.Input[builtins.str] handler: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
808
809
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaImportArgs', 'FunctionJavaImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. A file can be a JAR file or another type of file. If the file is a JAR file, it can contain one or more .class files and zero or more resource files. JNI (Java Native Interface) is not supported. Snowflake prohibits loading libraries that contain native code (as opposed to Java bytecode). Java UDFs can also read non-JAR files. For an example, see [Reading a file specified statically in IMPORTS](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-cookbook.html#label-reading-file-from-java-udf-imports). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#java).
|
|
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 Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
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 Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
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: `|`, `.`, `"`.
|
|
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 Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
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 Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
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['FunctionJavaSecretArgs', 'FunctionJavaSecretArgsDict']]]] 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
820
|
:param pulumi.Input[Union['FunctionJavaTargetPathArgs', 'FunctionJavaTargetPathArgsDict']] target_path: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
820
|
-
: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).
|
|
821
|
+
:param pulumi.Input[builtins.str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
821
822
|
"""
|
|
822
823
|
...
|
|
823
824
|
@overload
|
|
@@ -852,26 +853,26 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
852
853
|
resource_name: str,
|
|
853
854
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
854
855
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaArgumentArgs', 'FunctionJavaArgumentArgsDict']]]]] = None,
|
|
855
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
856
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
857
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
858
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
859
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
860
|
-
handler: Optional[pulumi.Input[str]] = None,
|
|
856
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
857
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
858
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
859
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
860
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
861
|
+
handler: Optional[pulumi.Input[builtins.str]] = None,
|
|
861
862
|
imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaImportArgs', 'FunctionJavaImportArgsDict']]]]] = 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,
|
|
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['FunctionJavaSecretArgs', 'FunctionJavaSecretArgsDict']]]]] = None,
|
|
873
874
|
target_path: Optional[pulumi.Input[Union['FunctionJavaTargetPathArgs', 'FunctionJavaTargetPathArgsDict']]] = None,
|
|
874
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
875
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
875
876
|
__props__=None):
|
|
876
877
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
877
878
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -925,30 +926,30 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
925
926
|
id: pulumi.Input[str],
|
|
926
927
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
927
928
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaArgumentArgs', 'FunctionJavaArgumentArgsDict']]]]] = None,
|
|
928
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
929
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
930
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
931
|
-
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
932
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
933
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
934
|
-
function_language: Optional[pulumi.Input[str]] = None,
|
|
935
|
-
handler: Optional[pulumi.Input[str]] = None,
|
|
929
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
930
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
931
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
932
|
+
external_access_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
933
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
934
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
935
|
+
function_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
936
|
+
handler: Optional[pulumi.Input[builtins.str]] = None,
|
|
936
937
|
imports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaImportArgs', 'FunctionJavaImportArgsDict']]]]] = None,
|
|
937
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
938
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
939
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
940
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
941
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
942
|
-
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
938
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
939
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
940
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
942
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
943
|
+
packages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
943
944
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaParameterArgs', 'FunctionJavaParameterArgsDict']]]]] = None,
|
|
944
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
945
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
946
|
-
runtime_version: Optional[pulumi.Input[str]] = None,
|
|
947
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
945
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
946
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
947
|
+
runtime_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
948
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
948
949
|
secrets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaSecretArgs', 'FunctionJavaSecretArgsDict']]]]] = None,
|
|
949
950
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaShowOutputArgs', 'FunctionJavaShowOutputArgsDict']]]]] = None,
|
|
950
951
|
target_path: Optional[pulumi.Input[Union['FunctionJavaTargetPathArgs', 'FunctionJavaTargetPathArgsDict']]] = None,
|
|
951
|
-
trace_level: Optional[pulumi.Input[str]] = None) -> 'FunctionJava':
|
|
952
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None) -> 'FunctionJava':
|
|
952
953
|
"""
|
|
953
954
|
Get an existing FunctionJava resource's state with the given name, id, and optional extra
|
|
954
955
|
properties used to qualify the lookup.
|
|
@@ -957,29 +958,29 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
957
958
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
958
959
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
959
960
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaArgumentArgs', 'FunctionJavaArgumentArgsDict']]]] 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.
|
|
960
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
961
|
-
: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: `|`, `.`, `"`.
|
|
962
|
-
: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).
|
|
963
|
-
: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.
|
|
964
|
-
: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).
|
|
965
|
-
: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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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.
|
|
966
|
-
:param pulumi.Input[str] function_language: Specifies language for the user. Used to detect external changes.
|
|
967
|
-
:param pulumi.Input[str] handler: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
961
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
962
|
+
: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: `|`, `.`, `"`.
|
|
963
|
+
: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).
|
|
964
|
+
: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.
|
|
965
|
+
: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).
|
|
966
|
+
: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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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[builtins.str] function_language: Specifies language for the user. Used to detect external changes.
|
|
968
|
+
:param pulumi.Input[builtins.str] handler: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
968
969
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaImportArgs', 'FunctionJavaImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. A file can be a JAR file or another type of file. If the file is a JAR file, it can contain one or more .class files and zero or more resource files. JNI (Java Native Interface) is not supported. Snowflake prohibits loading libraries that contain native code (as opposed to Java bytecode). Java UDFs can also read non-JAR files. For an example, see [Reading a file specified statically in IMPORTS](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-cookbook.html#label-reading-file-from-java-udf-imports). Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#java).
|
|
969
|
-
: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).
|
|
970
|
-
: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).
|
|
971
|
-
: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: `|`, `.`, `"`.
|
|
972
|
-
: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`.
|
|
973
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
970
|
+
: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).
|
|
971
|
+
: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).
|
|
972
|
+
: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: `|`, `.`, `"`.
|
|
973
|
+
: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`.
|
|
974
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] packages: The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
974
975
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaParameterArgs', 'FunctionJavaParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
|
|
975
|
-
:param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
976
|
-
: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).
|
|
977
|
-
:param pulumi.Input[str] runtime_version: Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
978
|
-
: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: `|`, `.`, `"`.
|
|
976
|
+
:param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
977
|
+
: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).
|
|
978
|
+
:param pulumi.Input[builtins.str] runtime_version: Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
979
|
+
: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: `|`, `.`, `"`.
|
|
979
980
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaSecretArgs', 'FunctionJavaSecretArgsDict']]]] 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.
|
|
980
981
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavaShowOutputArgs', 'FunctionJavaShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
|
|
981
982
|
:param pulumi.Input[Union['FunctionJavaTargetPathArgs', 'FunctionJavaTargetPathArgsDict']] target_path: The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
982
|
-
: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).
|
|
983
|
+
: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).
|
|
983
984
|
"""
|
|
984
985
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
985
986
|
|
|
@@ -1022,7 +1023,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1022
1023
|
|
|
1023
1024
|
@property
|
|
1024
1025
|
@pulumi.getter
|
|
1025
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
1026
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1026
1027
|
"""
|
|
1027
1028
|
Specifies a comment for the function.
|
|
1028
1029
|
"""
|
|
@@ -1030,7 +1031,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1030
1031
|
|
|
1031
1032
|
@property
|
|
1032
1033
|
@pulumi.getter
|
|
1033
|
-
def database(self) -> pulumi.Output[str]:
|
|
1034
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
1034
1035
|
"""
|
|
1035
1036
|
The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1036
1037
|
"""
|
|
@@ -1038,7 +1039,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1038
1039
|
|
|
1039
1040
|
@property
|
|
1040
1041
|
@pulumi.getter(name="enableConsoleOutput")
|
|
1041
|
-
def enable_console_output(self) -> pulumi.Output[bool]:
|
|
1042
|
+
def enable_console_output(self) -> pulumi.Output[builtins.bool]:
|
|
1042
1043
|
"""
|
|
1043
1044
|
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).
|
|
1044
1045
|
"""
|
|
@@ -1046,7 +1047,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1046
1047
|
|
|
1047
1048
|
@property
|
|
1048
1049
|
@pulumi.getter(name="externalAccessIntegrations")
|
|
1049
|
-
def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1050
|
+
def external_access_integrations(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1050
1051
|
"""
|
|
1051
1052
|
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.
|
|
1052
1053
|
"""
|
|
@@ -1054,7 +1055,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1054
1055
|
|
|
1055
1056
|
@property
|
|
1056
1057
|
@pulumi.getter(name="fullyQualifiedName")
|
|
1057
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
1058
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
1058
1059
|
"""
|
|
1059
1060
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
1060
1061
|
"""
|
|
@@ -1062,7 +1063,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1062
1063
|
|
|
1063
1064
|
@property
|
|
1064
1065
|
@pulumi.getter(name="functionDefinition")
|
|
1065
|
-
def function_definition(self) -> pulumi.Output[Optional[str]]:
|
|
1066
|
+
def function_definition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1066
1067
|
"""
|
|
1067
1068
|
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 Java source code. For more information, see [Introduction to Java UDFs](https://docs.snowflake.com/en/developer-guide/udf/java/udf-java-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.
|
|
1068
1069
|
"""
|
|
@@ -1070,7 +1071,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1070
1071
|
|
|
1071
1072
|
@property
|
|
1072
1073
|
@pulumi.getter(name="functionLanguage")
|
|
1073
|
-
def function_language(self) -> pulumi.Output[str]:
|
|
1074
|
+
def function_language(self) -> pulumi.Output[builtins.str]:
|
|
1074
1075
|
"""
|
|
1075
1076
|
Specifies language for the user. Used to detect external changes.
|
|
1076
1077
|
"""
|
|
@@ -1078,7 +1079,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1078
1079
|
|
|
1079
1080
|
@property
|
|
1080
1081
|
@pulumi.getter
|
|
1081
|
-
def handler(self) -> pulumi.Output[str]:
|
|
1082
|
+
def handler(self) -> pulumi.Output[builtins.str]:
|
|
1082
1083
|
"""
|
|
1083
1084
|
The name of the handler method or class. If the handler is for a scalar UDF, returning a non-tabular value, the HANDLER value should be a method name, as in the following form: `MyClass.myMethod`. If the handler is for a tabular UDF, the HANDLER value should be the name of a handler class.
|
|
1084
1085
|
"""
|
|
@@ -1094,12 +1095,12 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1094
1095
|
|
|
1095
1096
|
@property
|
|
1096
1097
|
@pulumi.getter(name="isSecure")
|
|
1097
|
-
def is_secure(self) -> pulumi.Output[Optional[str]]:
|
|
1098
|
+
def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1098
1099
|
return pulumi.get(self, "is_secure")
|
|
1099
1100
|
|
|
1100
1101
|
@property
|
|
1101
1102
|
@pulumi.getter(name="logLevel")
|
|
1102
|
-
def log_level(self) -> pulumi.Output[str]:
|
|
1103
|
+
def log_level(self) -> pulumi.Output[builtins.str]:
|
|
1103
1104
|
"""
|
|
1104
1105
|
LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
1105
1106
|
"""
|
|
@@ -1107,7 +1108,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1107
1108
|
|
|
1108
1109
|
@property
|
|
1109
1110
|
@pulumi.getter(name="metricLevel")
|
|
1110
|
-
def metric_level(self) -> pulumi.Output[str]:
|
|
1111
|
+
def metric_level(self) -> pulumi.Output[builtins.str]:
|
|
1111
1112
|
"""
|
|
1112
1113
|
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).
|
|
1113
1114
|
"""
|
|
@@ -1115,7 +1116,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1115
1116
|
|
|
1116
1117
|
@property
|
|
1117
1118
|
@pulumi.getter
|
|
1118
|
-
def name(self) -> pulumi.Output[str]:
|
|
1119
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1119
1120
|
"""
|
|
1120
1121
|
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: `|`, `.`, `"`.
|
|
1121
1122
|
"""
|
|
@@ -1123,7 +1124,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1123
1124
|
|
|
1124
1125
|
@property
|
|
1125
1126
|
@pulumi.getter(name="nullInputBehavior")
|
|
1126
|
-
def null_input_behavior(self) -> pulumi.Output[Optional[str]]:
|
|
1127
|
+
def null_input_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1127
1128
|
"""
|
|
1128
1129
|
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`.
|
|
1129
1130
|
"""
|
|
@@ -1131,7 +1132,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1131
1132
|
|
|
1132
1133
|
@property
|
|
1133
1134
|
@pulumi.getter
|
|
1134
|
-
def packages(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1135
|
+
def packages(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1135
1136
|
"""
|
|
1136
1137
|
The name and version number of Snowflake system packages required as dependencies. The value should be of the form `package_name:version_number`, where `package_name` is `snowflake_domain:package`.
|
|
1137
1138
|
"""
|
|
@@ -1147,7 +1148,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1147
1148
|
|
|
1148
1149
|
@property
|
|
1149
1150
|
@pulumi.getter(name="returnResultsBehavior")
|
|
1150
|
-
def return_results_behavior(self) -> pulumi.Output[Optional[str]]:
|
|
1151
|
+
def return_results_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1151
1152
|
"""
|
|
1152
1153
|
Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
1153
1154
|
"""
|
|
@@ -1155,7 +1156,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1155
1156
|
|
|
1156
1157
|
@property
|
|
1157
1158
|
@pulumi.getter(name="returnType")
|
|
1158
|
-
def return_type(self) -> pulumi.Output[str]:
|
|
1159
|
+
def return_type(self) -> pulumi.Output[builtins.str]:
|
|
1159
1160
|
"""
|
|
1160
1161
|
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).
|
|
1161
1162
|
"""
|
|
@@ -1163,7 +1164,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1163
1164
|
|
|
1164
1165
|
@property
|
|
1165
1166
|
@pulumi.getter(name="runtimeVersion")
|
|
1166
|
-
def runtime_version(self) -> pulumi.Output[Optional[str]]:
|
|
1167
|
+
def runtime_version(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1167
1168
|
"""
|
|
1168
1169
|
Specifies the Java JDK runtime version to use. The supported versions of Java are 11.x and 17.x. If RUNTIME_VERSION is not set, Java JDK 11 is used.
|
|
1169
1170
|
"""
|
|
@@ -1171,7 +1172,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1171
1172
|
|
|
1172
1173
|
@property
|
|
1173
1174
|
@pulumi.getter
|
|
1174
|
-
def schema(self) -> pulumi.Output[str]:
|
|
1175
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
1175
1176
|
"""
|
|
1176
1177
|
The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1177
1178
|
"""
|
|
@@ -1203,7 +1204,7 @@ class FunctionJava(pulumi.CustomResource):
|
|
|
1203
1204
|
|
|
1204
1205
|
@property
|
|
1205
1206
|
@pulumi.getter(name="traceLevel")
|
|
1206
|
-
def trace_level(self) -> pulumi.Output[str]:
|
|
1207
|
+
def trace_level(self) -> pulumi.Output[builtins.str]:
|
|
1207
1208
|
"""
|
|
1208
1209
|
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).
|
|
1209
1210
|
"""
|