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