pulumi-snowflake 1.2.0a1743489585__py3-none-any.whl → 1.2.0a1744183688__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743489585.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743489585.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,35 +22,35 @@ __all__ = ['FunctionJavascriptArgs', 'FunctionJavascript']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class FunctionJavascriptArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
database: pulumi.Input[str],
|
|
25
|
-
function_definition: pulumi.Input[str],
|
|
26
|
-
return_type: pulumi.Input[str],
|
|
27
|
-
schema: pulumi.Input[str],
|
|
25
|
+
database: pulumi.Input[builtins.str],
|
|
26
|
+
function_definition: pulumi.Input[builtins.str],
|
|
27
|
+
return_type: pulumi.Input[builtins.str],
|
|
28
|
+
schema: pulumi.Input[builtins.str],
|
|
28
29
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptArgumentArgs']]]] = None,
|
|
29
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
31
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
trace_level: Optional[pulumi.Input[str]] = None):
|
|
30
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
32
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None):
|
|
38
39
|
"""
|
|
39
40
|
The set of arguments for constructing a FunctionJavascript resource.
|
|
40
|
-
:param pulumi.Input[str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
|
-
:param pulumi.Input[str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
42
|
-
:param pulumi.Input[str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
|
|
43
|
-
:param pulumi.Input[str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
|
+
: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: `|`, `.`, `"`.
|
|
42
|
+
: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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
43
|
+
: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).
|
|
44
|
+
: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: `|`, `.`, `"`.
|
|
44
45
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptArgumentArgs']]] 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.
|
|
45
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
46
|
-
:param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
47
|
-
:param pulumi.Input[str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
48
|
-
:param pulumi.Input[str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
|
|
49
|
-
:param pulumi.Input[str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
50
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
51
|
-
:param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
52
|
-
:param pulumi.Input[str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
46
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
47
|
+
:param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
48
|
+
: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).
|
|
49
|
+
: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).
|
|
50
|
+
: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: `|`, `.`, `"`.
|
|
51
|
+
: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`.
|
|
52
|
+
:param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
53
|
+
: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).
|
|
53
54
|
"""
|
|
54
55
|
pulumi.set(__self__, "database", database)
|
|
55
56
|
pulumi.set(__self__, "function_definition", function_definition)
|
|
@@ -78,50 +79,50 @@ class FunctionJavascriptArgs:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def database(self) -> pulumi.Input[str]:
|
|
82
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
82
83
|
"""
|
|
83
84
|
The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
84
85
|
"""
|
|
85
86
|
return pulumi.get(self, "database")
|
|
86
87
|
|
|
87
88
|
@database.setter
|
|
88
|
-
def database(self, value: pulumi.Input[str]):
|
|
89
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
89
90
|
pulumi.set(self, "database", value)
|
|
90
91
|
|
|
91
92
|
@property
|
|
92
93
|
@pulumi.getter(name="functionDefinition")
|
|
93
|
-
def function_definition(self) -> pulumi.Input[str]:
|
|
94
|
+
def function_definition(self) -> pulumi.Input[builtins.str]:
|
|
94
95
|
"""
|
|
95
96
|
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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
96
97
|
"""
|
|
97
98
|
return pulumi.get(self, "function_definition")
|
|
98
99
|
|
|
99
100
|
@function_definition.setter
|
|
100
|
-
def function_definition(self, value: pulumi.Input[str]):
|
|
101
|
+
def function_definition(self, value: pulumi.Input[builtins.str]):
|
|
101
102
|
pulumi.set(self, "function_definition", value)
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter(name="returnType")
|
|
105
|
-
def return_type(self) -> pulumi.Input[str]:
|
|
106
|
+
def return_type(self) -> pulumi.Input[builtins.str]:
|
|
106
107
|
"""
|
|
107
108
|
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).
|
|
108
109
|
"""
|
|
109
110
|
return pulumi.get(self, "return_type")
|
|
110
111
|
|
|
111
112
|
@return_type.setter
|
|
112
|
-
def return_type(self, value: pulumi.Input[str]):
|
|
113
|
+
def return_type(self, value: pulumi.Input[builtins.str]):
|
|
113
114
|
pulumi.set(self, "return_type", value)
|
|
114
115
|
|
|
115
116
|
@property
|
|
116
117
|
@pulumi.getter
|
|
117
|
-
def schema(self) -> pulumi.Input[str]:
|
|
118
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
118
119
|
"""
|
|
119
120
|
The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
120
121
|
"""
|
|
121
122
|
return pulumi.get(self, "schema")
|
|
122
123
|
|
|
123
124
|
@schema.setter
|
|
124
|
-
def schema(self, value: pulumi.Input[str]):
|
|
125
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
125
126
|
pulumi.set(self, "schema", value)
|
|
126
127
|
|
|
127
128
|
@property
|
|
@@ -138,107 +139,107 @@ class FunctionJavascriptArgs:
|
|
|
138
139
|
|
|
139
140
|
@property
|
|
140
141
|
@pulumi.getter
|
|
141
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
142
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
142
143
|
"""
|
|
143
144
|
Specifies a comment for the function.
|
|
144
145
|
"""
|
|
145
146
|
return pulumi.get(self, "comment")
|
|
146
147
|
|
|
147
148
|
@comment.setter
|
|
148
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
149
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
149
150
|
pulumi.set(self, "comment", value)
|
|
150
151
|
|
|
151
152
|
@property
|
|
152
153
|
@pulumi.getter(name="enableConsoleOutput")
|
|
153
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
154
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
154
155
|
"""
|
|
155
156
|
Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
156
157
|
"""
|
|
157
158
|
return pulumi.get(self, "enable_console_output")
|
|
158
159
|
|
|
159
160
|
@enable_console_output.setter
|
|
160
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
161
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
161
162
|
pulumi.set(self, "enable_console_output", value)
|
|
162
163
|
|
|
163
164
|
@property
|
|
164
165
|
@pulumi.getter(name="isSecure")
|
|
165
|
-
def is_secure(self) -> Optional[pulumi.Input[str]]:
|
|
166
|
+
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
166
167
|
return pulumi.get(self, "is_secure")
|
|
167
168
|
|
|
168
169
|
@is_secure.setter
|
|
169
|
-
def is_secure(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
+
def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
170
171
|
pulumi.set(self, "is_secure", value)
|
|
171
172
|
|
|
172
173
|
@property
|
|
173
174
|
@pulumi.getter(name="logLevel")
|
|
174
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
175
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
175
176
|
"""
|
|
176
177
|
LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
177
178
|
"""
|
|
178
179
|
return pulumi.get(self, "log_level")
|
|
179
180
|
|
|
180
181
|
@log_level.setter
|
|
181
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
182
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
182
183
|
pulumi.set(self, "log_level", value)
|
|
183
184
|
|
|
184
185
|
@property
|
|
185
186
|
@pulumi.getter(name="metricLevel")
|
|
186
|
-
def metric_level(self) -> Optional[pulumi.Input[str]]:
|
|
187
|
+
def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
187
188
|
"""
|
|
188
189
|
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).
|
|
189
190
|
"""
|
|
190
191
|
return pulumi.get(self, "metric_level")
|
|
191
192
|
|
|
192
193
|
@metric_level.setter
|
|
193
|
-
def metric_level(self, value: Optional[pulumi.Input[str]]):
|
|
194
|
+
def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
194
195
|
pulumi.set(self, "metric_level", value)
|
|
195
196
|
|
|
196
197
|
@property
|
|
197
198
|
@pulumi.getter
|
|
198
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
199
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
199
200
|
"""
|
|
200
201
|
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: `|`, `.`, `"`.
|
|
201
202
|
"""
|
|
202
203
|
return pulumi.get(self, "name")
|
|
203
204
|
|
|
204
205
|
@name.setter
|
|
205
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
206
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
206
207
|
pulumi.set(self, "name", value)
|
|
207
208
|
|
|
208
209
|
@property
|
|
209
210
|
@pulumi.getter(name="nullInputBehavior")
|
|
210
|
-
def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
211
|
+
def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
211
212
|
"""
|
|
212
213
|
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`.
|
|
213
214
|
"""
|
|
214
215
|
return pulumi.get(self, "null_input_behavior")
|
|
215
216
|
|
|
216
217
|
@null_input_behavior.setter
|
|
217
|
-
def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
218
|
+
def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
218
219
|
pulumi.set(self, "null_input_behavior", value)
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter(name="returnResultsBehavior")
|
|
222
|
-
def return_results_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
223
|
+
def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
223
224
|
"""
|
|
224
225
|
Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
225
226
|
"""
|
|
226
227
|
return pulumi.get(self, "return_results_behavior")
|
|
227
228
|
|
|
228
229
|
@return_results_behavior.setter
|
|
229
|
-
def return_results_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
230
|
+
def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
230
231
|
pulumi.set(self, "return_results_behavior", value)
|
|
231
232
|
|
|
232
233
|
@property
|
|
233
234
|
@pulumi.getter(name="traceLevel")
|
|
234
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
235
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
235
236
|
"""
|
|
236
237
|
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).
|
|
237
238
|
"""
|
|
238
239
|
return pulumi.get(self, "trace_level")
|
|
239
240
|
|
|
240
241
|
@trace_level.setter
|
|
241
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
242
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
242
243
|
pulumi.set(self, "trace_level", value)
|
|
243
244
|
|
|
244
245
|
|
|
@@ -246,42 +247,42 @@ class FunctionJavascriptArgs:
|
|
|
246
247
|
class _FunctionJavascriptState:
|
|
247
248
|
def __init__(__self__, *,
|
|
248
249
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptArgumentArgs']]]] = None,
|
|
249
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
250
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
251
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
252
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
253
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
254
|
-
function_language: Optional[pulumi.Input[str]] = None,
|
|
255
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
256
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
257
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
258
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
259
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
251
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
252
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
253
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
254
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
255
|
+
function_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
256
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
257
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
258
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
259
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
260
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
260
261
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptParameterArgs']]]] = None,
|
|
261
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
262
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
263
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
262
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
263
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
264
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
264
265
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptShowOutputArgs']]]] = None,
|
|
265
|
-
trace_level: Optional[pulumi.Input[str]] = None):
|
|
266
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None):
|
|
266
267
|
"""
|
|
267
268
|
Input properties used for looking up and filtering FunctionJavascript resources.
|
|
268
269
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptArgumentArgs']]] 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.
|
|
269
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
270
|
-
:param pulumi.Input[str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
271
|
-
:param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
272
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
273
|
-
:param pulumi.Input[str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
274
|
-
:param pulumi.Input[str] function_language: Specifies language for the user. Used to detect external changes.
|
|
275
|
-
:param pulumi.Input[str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
276
|
-
:param pulumi.Input[str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
|
|
277
|
-
:param pulumi.Input[str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
278
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
270
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
271
|
+
: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: `|`, `.`, `"`.
|
|
272
|
+
:param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
273
|
+
: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).
|
|
274
|
+
: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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
275
|
+
:param pulumi.Input[builtins.str] function_language: Specifies language for the user. Used to detect external changes.
|
|
276
|
+
: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).
|
|
277
|
+
: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).
|
|
278
|
+
: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: `|`, `.`, `"`.
|
|
279
|
+
: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`.
|
|
279
280
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptParameterArgs']]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
|
|
280
|
-
:param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
281
|
-
:param pulumi.Input[str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
|
|
282
|
-
:param pulumi.Input[str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
281
|
+
:param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
282
|
+
: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).
|
|
283
|
+
: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: `|`, `.`, `"`.
|
|
283
284
|
:param pulumi.Input[Sequence[pulumi.Input['FunctionJavascriptShowOutputArgs']]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
|
|
284
|
-
:param pulumi.Input[str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
285
|
+
: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).
|
|
285
286
|
"""
|
|
286
287
|
if arguments is not None:
|
|
287
288
|
pulumi.set(__self__, "arguments", arguments)
|
|
@@ -334,131 +335,131 @@ class _FunctionJavascriptState:
|
|
|
334
335
|
|
|
335
336
|
@property
|
|
336
337
|
@pulumi.getter
|
|
337
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
338
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
338
339
|
"""
|
|
339
340
|
Specifies a comment for the function.
|
|
340
341
|
"""
|
|
341
342
|
return pulumi.get(self, "comment")
|
|
342
343
|
|
|
343
344
|
@comment.setter
|
|
344
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
345
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
345
346
|
pulumi.set(self, "comment", value)
|
|
346
347
|
|
|
347
348
|
@property
|
|
348
349
|
@pulumi.getter
|
|
349
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
350
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
350
351
|
"""
|
|
351
352
|
The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
352
353
|
"""
|
|
353
354
|
return pulumi.get(self, "database")
|
|
354
355
|
|
|
355
356
|
@database.setter
|
|
356
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
357
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
357
358
|
pulumi.set(self, "database", value)
|
|
358
359
|
|
|
359
360
|
@property
|
|
360
361
|
@pulumi.getter(name="enableConsoleOutput")
|
|
361
|
-
def enable_console_output(self) -> Optional[pulumi.Input[bool]]:
|
|
362
|
+
def enable_console_output(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
362
363
|
"""
|
|
363
364
|
Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
364
365
|
"""
|
|
365
366
|
return pulumi.get(self, "enable_console_output")
|
|
366
367
|
|
|
367
368
|
@enable_console_output.setter
|
|
368
|
-
def enable_console_output(self, value: Optional[pulumi.Input[bool]]):
|
|
369
|
+
def enable_console_output(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
369
370
|
pulumi.set(self, "enable_console_output", value)
|
|
370
371
|
|
|
371
372
|
@property
|
|
372
373
|
@pulumi.getter(name="fullyQualifiedName")
|
|
373
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
374
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
374
375
|
"""
|
|
375
376
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
376
377
|
"""
|
|
377
378
|
return pulumi.get(self, "fully_qualified_name")
|
|
378
379
|
|
|
379
380
|
@fully_qualified_name.setter
|
|
380
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
381
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
381
382
|
pulumi.set(self, "fully_qualified_name", value)
|
|
382
383
|
|
|
383
384
|
@property
|
|
384
385
|
@pulumi.getter(name="functionDefinition")
|
|
385
|
-
def function_definition(self) -> Optional[pulumi.Input[str]]:
|
|
386
|
+
def function_definition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
386
387
|
"""
|
|
387
388
|
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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
388
389
|
"""
|
|
389
390
|
return pulumi.get(self, "function_definition")
|
|
390
391
|
|
|
391
392
|
@function_definition.setter
|
|
392
|
-
def function_definition(self, value: Optional[pulumi.Input[str]]):
|
|
393
|
+
def function_definition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
393
394
|
pulumi.set(self, "function_definition", value)
|
|
394
395
|
|
|
395
396
|
@property
|
|
396
397
|
@pulumi.getter(name="functionLanguage")
|
|
397
|
-
def function_language(self) -> Optional[pulumi.Input[str]]:
|
|
398
|
+
def function_language(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
398
399
|
"""
|
|
399
400
|
Specifies language for the user. Used to detect external changes.
|
|
400
401
|
"""
|
|
401
402
|
return pulumi.get(self, "function_language")
|
|
402
403
|
|
|
403
404
|
@function_language.setter
|
|
404
|
-
def function_language(self, value: Optional[pulumi.Input[str]]):
|
|
405
|
+
def function_language(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
405
406
|
pulumi.set(self, "function_language", value)
|
|
406
407
|
|
|
407
408
|
@property
|
|
408
409
|
@pulumi.getter(name="isSecure")
|
|
409
|
-
def is_secure(self) -> Optional[pulumi.Input[str]]:
|
|
410
|
+
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
410
411
|
return pulumi.get(self, "is_secure")
|
|
411
412
|
|
|
412
413
|
@is_secure.setter
|
|
413
|
-
def is_secure(self, value: Optional[pulumi.Input[str]]):
|
|
414
|
+
def is_secure(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
414
415
|
pulumi.set(self, "is_secure", value)
|
|
415
416
|
|
|
416
417
|
@property
|
|
417
418
|
@pulumi.getter(name="logLevel")
|
|
418
|
-
def log_level(self) -> Optional[pulumi.Input[str]]:
|
|
419
|
+
def log_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
419
420
|
"""
|
|
420
421
|
LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
421
422
|
"""
|
|
422
423
|
return pulumi.get(self, "log_level")
|
|
423
424
|
|
|
424
425
|
@log_level.setter
|
|
425
|
-
def log_level(self, value: Optional[pulumi.Input[str]]):
|
|
426
|
+
def log_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
426
427
|
pulumi.set(self, "log_level", value)
|
|
427
428
|
|
|
428
429
|
@property
|
|
429
430
|
@pulumi.getter(name="metricLevel")
|
|
430
|
-
def metric_level(self) -> Optional[pulumi.Input[str]]:
|
|
431
|
+
def metric_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
431
432
|
"""
|
|
432
433
|
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).
|
|
433
434
|
"""
|
|
434
435
|
return pulumi.get(self, "metric_level")
|
|
435
436
|
|
|
436
437
|
@metric_level.setter
|
|
437
|
-
def metric_level(self, value: Optional[pulumi.Input[str]]):
|
|
438
|
+
def metric_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
438
439
|
pulumi.set(self, "metric_level", value)
|
|
439
440
|
|
|
440
441
|
@property
|
|
441
442
|
@pulumi.getter
|
|
442
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
443
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
443
444
|
"""
|
|
444
445
|
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: `|`, `.`, `"`.
|
|
445
446
|
"""
|
|
446
447
|
return pulumi.get(self, "name")
|
|
447
448
|
|
|
448
449
|
@name.setter
|
|
449
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
450
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
450
451
|
pulumi.set(self, "name", value)
|
|
451
452
|
|
|
452
453
|
@property
|
|
453
454
|
@pulumi.getter(name="nullInputBehavior")
|
|
454
|
-
def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
455
|
+
def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
455
456
|
"""
|
|
456
457
|
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`.
|
|
457
458
|
"""
|
|
458
459
|
return pulumi.get(self, "null_input_behavior")
|
|
459
460
|
|
|
460
461
|
@null_input_behavior.setter
|
|
461
|
-
def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
462
|
+
def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
462
463
|
pulumi.set(self, "null_input_behavior", value)
|
|
463
464
|
|
|
464
465
|
@property
|
|
@@ -475,38 +476,38 @@ class _FunctionJavascriptState:
|
|
|
475
476
|
|
|
476
477
|
@property
|
|
477
478
|
@pulumi.getter(name="returnResultsBehavior")
|
|
478
|
-
def return_results_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
479
|
+
def return_results_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
479
480
|
"""
|
|
480
481
|
Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
481
482
|
"""
|
|
482
483
|
return pulumi.get(self, "return_results_behavior")
|
|
483
484
|
|
|
484
485
|
@return_results_behavior.setter
|
|
485
|
-
def return_results_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
486
|
+
def return_results_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
486
487
|
pulumi.set(self, "return_results_behavior", value)
|
|
487
488
|
|
|
488
489
|
@property
|
|
489
490
|
@pulumi.getter(name="returnType")
|
|
490
|
-
def return_type(self) -> Optional[pulumi.Input[str]]:
|
|
491
|
+
def return_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
491
492
|
"""
|
|
492
493
|
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).
|
|
493
494
|
"""
|
|
494
495
|
return pulumi.get(self, "return_type")
|
|
495
496
|
|
|
496
497
|
@return_type.setter
|
|
497
|
-
def return_type(self, value: Optional[pulumi.Input[str]]):
|
|
498
|
+
def return_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
498
499
|
pulumi.set(self, "return_type", value)
|
|
499
500
|
|
|
500
501
|
@property
|
|
501
502
|
@pulumi.getter
|
|
502
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
503
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
503
504
|
"""
|
|
504
505
|
The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
505
506
|
"""
|
|
506
507
|
return pulumi.get(self, "schema")
|
|
507
508
|
|
|
508
509
|
@schema.setter
|
|
509
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
510
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
510
511
|
pulumi.set(self, "schema", value)
|
|
511
512
|
|
|
512
513
|
@property
|
|
@@ -523,14 +524,14 @@ class _FunctionJavascriptState:
|
|
|
523
524
|
|
|
524
525
|
@property
|
|
525
526
|
@pulumi.getter(name="traceLevel")
|
|
526
|
-
def trace_level(self) -> Optional[pulumi.Input[str]]:
|
|
527
|
+
def trace_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
527
528
|
"""
|
|
528
529
|
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).
|
|
529
530
|
"""
|
|
530
531
|
return pulumi.get(self, "trace_level")
|
|
531
532
|
|
|
532
533
|
@trace_level.setter
|
|
533
|
-
def trace_level(self, value: Optional[pulumi.Input[str]]):
|
|
534
|
+
def trace_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
534
535
|
pulumi.set(self, "trace_level", value)
|
|
535
536
|
|
|
536
537
|
|
|
@@ -540,19 +541,19 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
540
541
|
resource_name: str,
|
|
541
542
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
542
543
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptArgumentArgs', 'FunctionJavascriptArgumentArgsDict']]]]] = None,
|
|
543
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
544
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
545
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
546
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
547
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
548
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
549
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
550
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
551
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
552
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
553
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
554
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
555
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
544
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
545
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
546
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
547
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
548
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
549
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
550
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
551
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
552
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
553
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
554
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
555
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
556
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
556
557
|
__props__=None):
|
|
557
558
|
"""
|
|
558
559
|
## Import
|
|
@@ -568,18 +569,18 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
568
569
|
:param str resource_name: The name of the resource.
|
|
569
570
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
570
571
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptArgumentArgs', 'FunctionJavascriptArgumentArgsDict']]]] 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.
|
|
571
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
572
|
-
:param pulumi.Input[str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
573
|
-
:param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
574
|
-
:param pulumi.Input[str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
575
|
-
:param pulumi.Input[str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
576
|
-
:param pulumi.Input[str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
|
|
577
|
-
:param pulumi.Input[str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
578
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
579
|
-
:param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
580
|
-
:param pulumi.Input[str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
|
|
581
|
-
:param pulumi.Input[str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
582
|
-
:param pulumi.Input[str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
572
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
573
|
+
: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: `|`, `.`, `"`.
|
|
574
|
+
:param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
575
|
+
: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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
576
|
+
: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).
|
|
577
|
+
: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).
|
|
578
|
+
: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: `|`, `.`, `"`.
|
|
579
|
+
: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`.
|
|
580
|
+
:param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
581
|
+
: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).
|
|
582
|
+
: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: `|`, `.`, `"`.
|
|
583
|
+
: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).
|
|
583
584
|
"""
|
|
584
585
|
...
|
|
585
586
|
@overload
|
|
@@ -614,19 +615,19 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
614
615
|
resource_name: str,
|
|
615
616
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
616
617
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptArgumentArgs', 'FunctionJavascriptArgumentArgsDict']]]]] = None,
|
|
617
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
618
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
619
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
620
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
621
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
622
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
623
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
624
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
625
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
626
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
627
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
628
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
629
|
-
trace_level: Optional[pulumi.Input[str]] = None,
|
|
618
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
619
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
620
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
621
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
622
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
623
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
624
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
625
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
626
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
627
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
628
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
629
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
630
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
630
631
|
__props__=None):
|
|
631
632
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
632
633
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -673,23 +674,23 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
673
674
|
id: pulumi.Input[str],
|
|
674
675
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
675
676
|
arguments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptArgumentArgs', 'FunctionJavascriptArgumentArgsDict']]]]] = None,
|
|
676
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
677
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
678
|
-
enable_console_output: Optional[pulumi.Input[bool]] = None,
|
|
679
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
680
|
-
function_definition: Optional[pulumi.Input[str]] = None,
|
|
681
|
-
function_language: Optional[pulumi.Input[str]] = None,
|
|
682
|
-
is_secure: Optional[pulumi.Input[str]] = None,
|
|
683
|
-
log_level: Optional[pulumi.Input[str]] = None,
|
|
684
|
-
metric_level: Optional[pulumi.Input[str]] = None,
|
|
685
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
686
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
677
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
678
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
679
|
+
enable_console_output: Optional[pulumi.Input[builtins.bool]] = None,
|
|
680
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
681
|
+
function_definition: Optional[pulumi.Input[builtins.str]] = None,
|
|
682
|
+
function_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
683
|
+
is_secure: Optional[pulumi.Input[builtins.str]] = None,
|
|
684
|
+
log_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
685
|
+
metric_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
686
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
687
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
687
688
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptParameterArgs', 'FunctionJavascriptParameterArgsDict']]]]] = None,
|
|
688
|
-
return_results_behavior: Optional[pulumi.Input[str]] = None,
|
|
689
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
690
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
689
|
+
return_results_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
690
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
691
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
691
692
|
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptShowOutputArgs', 'FunctionJavascriptShowOutputArgsDict']]]]] = None,
|
|
692
|
-
trace_level: Optional[pulumi.Input[str]] = None) -> 'FunctionJavascript':
|
|
693
|
+
trace_level: Optional[pulumi.Input[builtins.str]] = None) -> 'FunctionJavascript':
|
|
693
694
|
"""
|
|
694
695
|
Get an existing FunctionJavascript resource's state with the given name, id, and optional extra
|
|
695
696
|
properties used to qualify the lookup.
|
|
@@ -698,22 +699,22 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
698
699
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
699
700
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
700
701
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptArgumentArgs', 'FunctionJavascriptArgumentArgsDict']]]] 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.
|
|
701
|
-
:param pulumi.Input[str] comment: Specifies a comment for the function.
|
|
702
|
-
:param pulumi.Input[str] database: The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
703
|
-
:param pulumi.Input[bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
704
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
705
|
-
:param pulumi.Input[str] function_definition: Defines the handler code executed when the UDF is called. Wrapping `$$` signs are added by the provider automatically; do not include them. The `function_definition` value must be JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
706
|
-
:param pulumi.Input[str] function_language: Specifies language for the user. Used to detect external changes.
|
|
707
|
-
:param pulumi.Input[str] log_level: LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
708
|
-
:param pulumi.Input[str] metric_level: METRIC*LEVEL value to control whether to emit metrics to Event Table For more information, check [METRIC*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#metric-level).
|
|
709
|
-
:param pulumi.Input[str] name: The name of the function; the identifier does not need to be unique for the schema in which the function is created because UDFs are identified and resolved by the combination of the name and argument types. Check the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
710
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the function when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
702
|
+
:param pulumi.Input[builtins.str] comment: Specifies a comment for the function.
|
|
703
|
+
: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: `|`, `.`, `"`.
|
|
704
|
+
:param pulumi.Input[builtins.bool] enable_console_output: Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
705
|
+
: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).
|
|
706
|
+
: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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
707
|
+
:param pulumi.Input[builtins.str] function_language: Specifies language for the user. Used to detect external changes.
|
|
708
|
+
: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).
|
|
709
|
+
: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).
|
|
710
|
+
: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: `|`, `.`, `"`.
|
|
711
|
+
: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`.
|
|
711
712
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptParameterArgs', 'FunctionJavascriptParameterArgsDict']]]] parameters: Outputs the result of `SHOW PARAMETERS IN FUNCTION` for the given function.
|
|
712
|
-
:param pulumi.Input[str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
713
|
-
:param pulumi.Input[str] return_type: Specifies the results returned by the UDF, which determines the UDF type. Use `<result_data_type>` to create a scalar UDF that returns a single value with the specified data type. Use `TABLE (col_name col_data_type, ...)` to creates a table UDF that returns tabular results with the specified table column(s) and column type(s). For the details, consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-function#all-languages).
|
|
714
|
-
:param pulumi.Input[str] schema: The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
713
|
+
:param pulumi.Input[builtins.str] return_results_behavior: Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
714
|
+
: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).
|
|
715
|
+
: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: `|`, `.`, `"`.
|
|
715
716
|
:param pulumi.Input[Sequence[pulumi.Input[Union['FunctionJavascriptShowOutputArgs', 'FunctionJavascriptShowOutputArgsDict']]]] show_outputs: Outputs the result of `SHOW FUNCTION` for the given function.
|
|
716
|
-
:param pulumi.Input[str] trace_level: Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
717
|
+
: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).
|
|
717
718
|
"""
|
|
718
719
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
719
720
|
|
|
@@ -749,7 +750,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
749
750
|
|
|
750
751
|
@property
|
|
751
752
|
@pulumi.getter
|
|
752
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
753
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
753
754
|
"""
|
|
754
755
|
Specifies a comment for the function.
|
|
755
756
|
"""
|
|
@@ -757,7 +758,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
757
758
|
|
|
758
759
|
@property
|
|
759
760
|
@pulumi.getter
|
|
760
|
-
def database(self) -> pulumi.Output[str]:
|
|
761
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
761
762
|
"""
|
|
762
763
|
The database in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
763
764
|
"""
|
|
@@ -765,7 +766,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
765
766
|
|
|
766
767
|
@property
|
|
767
768
|
@pulumi.getter(name="enableConsoleOutput")
|
|
768
|
-
def enable_console_output(self) -> pulumi.Output[bool]:
|
|
769
|
+
def enable_console_output(self) -> pulumi.Output[builtins.bool]:
|
|
769
770
|
"""
|
|
770
771
|
Enable stdout/stderr fast path logging for anonyous stored procs. This is a public parameter (similar to LOG*LEVEL). For more information, check [ENABLE*CONSOLE_OUTPUT docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-console-output).
|
|
771
772
|
"""
|
|
@@ -773,7 +774,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
773
774
|
|
|
774
775
|
@property
|
|
775
776
|
@pulumi.getter(name="fullyQualifiedName")
|
|
776
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
777
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
777
778
|
"""
|
|
778
779
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
779
780
|
"""
|
|
@@ -781,7 +782,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
781
782
|
|
|
782
783
|
@property
|
|
783
784
|
@pulumi.getter(name="functionDefinition")
|
|
784
|
-
def function_definition(self) -> pulumi.Output[str]:
|
|
785
|
+
def function_definition(self) -> pulumi.Output[builtins.str]:
|
|
785
786
|
"""
|
|
786
787
|
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 JavaScript source code. For more information, see [Introduction to JavaScript UDFs](https://docs.snowflake.com/en/developer-guide/udf/javascript/udf-javascript-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.
|
|
787
788
|
"""
|
|
@@ -789,7 +790,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
789
790
|
|
|
790
791
|
@property
|
|
791
792
|
@pulumi.getter(name="functionLanguage")
|
|
792
|
-
def function_language(self) -> pulumi.Output[str]:
|
|
793
|
+
def function_language(self) -> pulumi.Output[builtins.str]:
|
|
793
794
|
"""
|
|
794
795
|
Specifies language for the user. Used to detect external changes.
|
|
795
796
|
"""
|
|
@@ -797,12 +798,12 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
797
798
|
|
|
798
799
|
@property
|
|
799
800
|
@pulumi.getter(name="isSecure")
|
|
800
|
-
def is_secure(self) -> pulumi.Output[Optional[str]]:
|
|
801
|
+
def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
801
802
|
return pulumi.get(self, "is_secure")
|
|
802
803
|
|
|
803
804
|
@property
|
|
804
805
|
@pulumi.getter(name="logLevel")
|
|
805
|
-
def log_level(self) -> pulumi.Output[str]:
|
|
806
|
+
def log_level(self) -> pulumi.Output[builtins.str]:
|
|
806
807
|
"""
|
|
807
808
|
LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
808
809
|
"""
|
|
@@ -810,7 +811,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
810
811
|
|
|
811
812
|
@property
|
|
812
813
|
@pulumi.getter(name="metricLevel")
|
|
813
|
-
def metric_level(self) -> pulumi.Output[str]:
|
|
814
|
+
def metric_level(self) -> pulumi.Output[builtins.str]:
|
|
814
815
|
"""
|
|
815
816
|
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).
|
|
816
817
|
"""
|
|
@@ -818,7 +819,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
818
819
|
|
|
819
820
|
@property
|
|
820
821
|
@pulumi.getter
|
|
821
|
-
def name(self) -> pulumi.Output[str]:
|
|
822
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
822
823
|
"""
|
|
823
824
|
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: `|`, `.`, `"`.
|
|
824
825
|
"""
|
|
@@ -826,7 +827,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
826
827
|
|
|
827
828
|
@property
|
|
828
829
|
@pulumi.getter(name="nullInputBehavior")
|
|
829
|
-
def null_input_behavior(self) -> pulumi.Output[Optional[str]]:
|
|
830
|
+
def null_input_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
830
831
|
"""
|
|
831
832
|
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`.
|
|
832
833
|
"""
|
|
@@ -842,7 +843,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
842
843
|
|
|
843
844
|
@property
|
|
844
845
|
@pulumi.getter(name="returnResultsBehavior")
|
|
845
|
-
def return_results_behavior(self) -> pulumi.Output[Optional[str]]:
|
|
846
|
+
def return_results_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
846
847
|
"""
|
|
847
848
|
Specifies the behavior of the function when returning results. Valid values are (case-insensitive): `VOLATILE` | `IMMUTABLE`.
|
|
848
849
|
"""
|
|
@@ -850,7 +851,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
850
851
|
|
|
851
852
|
@property
|
|
852
853
|
@pulumi.getter(name="returnType")
|
|
853
|
-
def return_type(self) -> pulumi.Output[str]:
|
|
854
|
+
def return_type(self) -> pulumi.Output[builtins.str]:
|
|
854
855
|
"""
|
|
855
856
|
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).
|
|
856
857
|
"""
|
|
@@ -858,7 +859,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
858
859
|
|
|
859
860
|
@property
|
|
860
861
|
@pulumi.getter
|
|
861
|
-
def schema(self) -> pulumi.Output[str]:
|
|
862
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
862
863
|
"""
|
|
863
864
|
The schema in which to create the function. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
864
865
|
"""
|
|
@@ -874,7 +875,7 @@ class FunctionJavascript(pulumi.CustomResource):
|
|
|
874
875
|
|
|
875
876
|
@property
|
|
876
877
|
@pulumi.getter(name="traceLevel")
|
|
877
|
-
def trace_level(self) -> pulumi.Output[str]:
|
|
878
|
+
def trace_level(self) -> pulumi.Output[builtins.str]:
|
|
878
879
|
"""
|
|
879
880
|
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).
|
|
880
881
|
"""
|