pulumi-snowflake 1.2.0a1744439488__py3-none-any.whl → 1.3.0a1744699038__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/_inputs.py +27 -27
- pulumi_snowflake/account.py +7 -7
- pulumi_snowflake/alert.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +7 -7
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +7 -7
- pulumi_snowflake/api_integration.py +35 -35
- pulumi_snowflake/authentication_policy.py +7 -7
- pulumi_snowflake/dynamic_table.py +21 -21
- pulumi_snowflake/external_function.py +28 -28
- pulumi_snowflake/external_table.py +21 -21
- pulumi_snowflake/external_volume.py +13 -9
- pulumi_snowflake/failover_group.py +7 -7
- pulumi_snowflake/function_java.py +14 -14
- pulumi_snowflake/function_javascript.py +14 -14
- pulumi_snowflake/function_python.py +21 -21
- pulumi_snowflake/function_scala.py +14 -14
- pulumi_snowflake/function_sql.py +14 -14
- pulumi_snowflake/get_alerts.py +6 -2
- pulumi_snowflake/get_cortex_search_services.py +6 -2
- pulumi_snowflake/get_current_account.py +6 -2
- pulumi_snowflake/get_current_role.py +6 -2
- pulumi_snowflake/get_database.py +6 -2
- pulumi_snowflake/get_database_role.py +6 -2
- pulumi_snowflake/get_databases.py +6 -6
- pulumi_snowflake/get_dynamic_tables.py +6 -2
- pulumi_snowflake/get_external_functions.py +6 -2
- pulumi_snowflake/get_external_tables.py +6 -2
- pulumi_snowflake/get_failover_groups.py +6 -2
- pulumi_snowflake/get_file_formats.py +6 -2
- pulumi_snowflake/get_functions.py +6 -2
- pulumi_snowflake/get_grants.py +4 -0
- pulumi_snowflake/get_masking_policies.py +3 -3
- pulumi_snowflake/get_materialized_views.py +6 -2
- pulumi_snowflake/get_network_policies.py +3 -3
- pulumi_snowflake/get_parameters.py +9 -5
- pulumi_snowflake/get_pipes.py +6 -2
- pulumi_snowflake/get_procedures.py +6 -2
- pulumi_snowflake/get_row_access_policies.py +3 -3
- pulumi_snowflake/get_schemas.py +6 -6
- pulumi_snowflake/get_secrets.py +7 -3
- pulumi_snowflake/get_security_integrations.py +3 -3
- pulumi_snowflake/get_sequences.py +6 -2
- pulumi_snowflake/get_shares.py +6 -2
- pulumi_snowflake/get_stages.py +6 -2
- pulumi_snowflake/get_storage_integrations.py +6 -2
- pulumi_snowflake/get_streamlits.py +3 -3
- pulumi_snowflake/get_streams.py +3 -3
- pulumi_snowflake/get_system_generate_scim_access_token.py +6 -2
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +4 -0
- pulumi_snowflake/get_system_get_private_link_config.py +6 -2
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +6 -2
- pulumi_snowflake/get_tables.py +6 -2
- pulumi_snowflake/get_tasks.py +3 -3
- pulumi_snowflake/get_users.py +6 -6
- pulumi_snowflake/get_views.py +3 -3
- pulumi_snowflake/get_warehouses.py +6 -6
- pulumi_snowflake/grant_privileges_to_account_role.py +28 -28
- pulumi_snowflake/grant_privileges_to_database_role.py +21 -21
- pulumi_snowflake/legacy_service_user.py +21 -21
- pulumi_snowflake/managed_account.py +7 -7
- pulumi_snowflake/masking_policy.py +7 -7
- pulumi_snowflake/materialized_view.py +14 -14
- pulumi_snowflake/network_policy_attachment.py +7 -7
- pulumi_snowflake/notification_integration.py +20 -7
- pulumi_snowflake/oauth_integration_for_custom_clients.py +35 -35
- pulumi_snowflake/oauth_integration_for_partner_applications.py +21 -21
- pulumi_snowflake/object_parameter.py +7 -7
- pulumi_snowflake/outputs.py +18 -18
- pulumi_snowflake/password_policy.py +97 -93
- pulumi_snowflake/pipe.py +7 -7
- pulumi_snowflake/procedure_java.py +14 -14
- pulumi_snowflake/procedure_javascript.py +14 -14
- pulumi_snowflake/procedure_python.py +14 -14
- pulumi_snowflake/procedure_scala.py +14 -14
- pulumi_snowflake/procedure_sql.py +14 -14
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/saml2_integration.py +28 -28
- pulumi_snowflake/schema.py +14 -14
- pulumi_snowflake/scim_integration.py +7 -7
- pulumi_snowflake/sequence.py +21 -21
- pulumi_snowflake/service_user.py +14 -14
- pulumi_snowflake/storage_integration.py +65 -0
- pulumi_snowflake/stream_on_external_table.py +7 -7
- pulumi_snowflake/stream_on_table.py +7 -7
- pulumi_snowflake/stream_on_view.py +7 -7
- pulumi_snowflake/table.py +14 -14
- pulumi_snowflake/table_constraint.py +42 -42
- pulumi_snowflake/tag_association.py +7 -7
- pulumi_snowflake/task.py +7 -7
- pulumi_snowflake/user.py +21 -21
- pulumi_snowflake/view.py +14 -14
- pulumi_snowflake/warehouse.py +28 -28
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.3.0a1744699038.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.3.0a1744699038.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1744439488.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.3.0a1744699038.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.3.0a1744699038.dist-info}/top_level.txt +0 -0
|
@@ -53,12 +53,12 @@ class ProcedureJavaArgs:
|
|
|
53
53
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
54
54
|
:param pulumi.Input[builtins.str] snowpark_package: The Snowpark package is required for stored procedures, so it must always be present. For more information about Snowpark, see [Snowpark API](https://docs.snowflake.com/en/developer-guide/snowpark/index).
|
|
55
55
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureJavaArgumentArgs']]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
56
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
56
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
57
57
|
: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).
|
|
58
58
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
59
59
|
: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 procedure’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.
|
|
60
60
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureJavaImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If you are writing a stored procedure with a staged handler, you must also include a path to the JAR file containing the stored procedure’s handler code. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
61
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
61
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
62
62
|
: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).
|
|
63
63
|
: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).
|
|
64
64
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -196,7 +196,7 @@ class ProcedureJavaArgs:
|
|
|
196
196
|
@pulumi.getter
|
|
197
197
|
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
198
198
|
"""
|
|
199
|
-
Specifies a comment for the procedure.
|
|
199
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
200
200
|
"""
|
|
201
201
|
return pulumi.get(self, "comment")
|
|
202
202
|
|
|
@@ -256,7 +256,7 @@ class ProcedureJavaArgs:
|
|
|
256
256
|
@pulumi.getter(name="isSecure")
|
|
257
257
|
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
258
258
|
"""
|
|
259
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
259
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
260
260
|
"""
|
|
261
261
|
return pulumi.get(self, "is_secure")
|
|
262
262
|
|
|
@@ -405,7 +405,7 @@ class _ProcedureJavaState:
|
|
|
405
405
|
"""
|
|
406
406
|
Input properties used for looking up and filtering ProcedureJava resources.
|
|
407
407
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureJavaArgumentArgs']]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
408
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
408
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
409
409
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
410
410
|
: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).
|
|
411
411
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
@@ -413,7 +413,7 @@ class _ProcedureJavaState:
|
|
|
413
413
|
: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).
|
|
414
414
|
:param pulumi.Input[builtins.str] handler: Use the fully qualified name of the method or function for the stored procedure. This is typically in the following form `com.my_company.my_package.MyClass.myMethod` where `com.my_company.my_package` corresponds to the package containing the object or class: `package com.my_company.my_package;`.
|
|
415
415
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureJavaImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If you are writing a stored procedure with a staged handler, you must also include a path to the JAR file containing the stored procedure’s handler code. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
416
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
416
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
417
417
|
: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).
|
|
418
418
|
: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).
|
|
419
419
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -500,7 +500,7 @@ class _ProcedureJavaState:
|
|
|
500
500
|
@pulumi.getter
|
|
501
501
|
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
502
502
|
"""
|
|
503
|
-
Specifies a comment for the procedure.
|
|
503
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
504
504
|
"""
|
|
505
505
|
return pulumi.get(self, "comment")
|
|
506
506
|
|
|
@@ -596,7 +596,7 @@ class _ProcedureJavaState:
|
|
|
596
596
|
@pulumi.getter(name="isSecure")
|
|
597
597
|
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
598
598
|
"""
|
|
599
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
599
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
600
600
|
"""
|
|
601
601
|
return pulumi.get(self, "is_secure")
|
|
602
602
|
|
|
@@ -839,14 +839,14 @@ class ProcedureJava(pulumi.CustomResource):
|
|
|
839
839
|
:param str resource_name: The name of the resource.
|
|
840
840
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
841
841
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureJavaArgumentArgs', 'ProcedureJavaArgumentArgsDict']]]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
842
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
842
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
843
843
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
844
844
|
: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).
|
|
845
845
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
846
846
|
: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 procedure’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.
|
|
847
847
|
:param pulumi.Input[builtins.str] handler: Use the fully qualified name of the method or function for the stored procedure. This is typically in the following form `com.my_company.my_package.MyClass.myMethod` where `com.my_company.my_package` corresponds to the package containing the object or class: `package com.my_company.my_package;`.
|
|
848
848
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureJavaImportArgs', 'ProcedureJavaImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If you are writing a stored procedure with a staged handler, you must also include a path to the JAR file containing the stored procedure’s handler code. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
849
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
849
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
850
850
|
: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).
|
|
851
851
|
: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).
|
|
852
852
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -1006,7 +1006,7 @@ class ProcedureJava(pulumi.CustomResource):
|
|
|
1006
1006
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1007
1007
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1008
1008
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureJavaArgumentArgs', 'ProcedureJavaArgumentArgsDict']]]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
1009
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
1009
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
1010
1010
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
1011
1011
|
: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).
|
|
1012
1012
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
@@ -1014,7 +1014,7 @@ class ProcedureJava(pulumi.CustomResource):
|
|
|
1014
1014
|
: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).
|
|
1015
1015
|
:param pulumi.Input[builtins.str] handler: Use the fully qualified name of the method or function for the stored procedure. This is typically in the following form `com.my_company.my_package.MyClass.myMethod` where `com.my_company.my_package` corresponds to the package containing the object or class: `package com.my_company.my_package;`.
|
|
1016
1016
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureJavaImportArgs', 'ProcedureJavaImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If you are writing a stored procedure with a staged handler, you must also include a path to the JAR file containing the stored procedure’s handler code. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
1017
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1017
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1018
1018
|
: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).
|
|
1019
1019
|
: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).
|
|
1020
1020
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -1076,7 +1076,7 @@ class ProcedureJava(pulumi.CustomResource):
|
|
|
1076
1076
|
@pulumi.getter
|
|
1077
1077
|
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1078
1078
|
"""
|
|
1079
|
-
Specifies a comment for the procedure.
|
|
1079
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
1080
1080
|
"""
|
|
1081
1081
|
return pulumi.get(self, "comment")
|
|
1082
1082
|
|
|
@@ -1140,7 +1140,7 @@ class ProcedureJava(pulumi.CustomResource):
|
|
|
1140
1140
|
@pulumi.getter(name="isSecure")
|
|
1141
1141
|
def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1142
1142
|
"""
|
|
1143
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1143
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1144
1144
|
"""
|
|
1145
1145
|
return pulumi.get(self, "is_secure")
|
|
1146
1146
|
|
|
@@ -43,10 +43,10 @@ class ProcedureJavascriptArgs:
|
|
|
43
43
|
:param pulumi.Input[builtins.str] return_type: Specifies the type of the result returned by the stored procedure. For `<result_data_type>`, use the Snowflake data type that corresponds to the type of the language that you are using (see [SQL and JavaScript data type mapping](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-javascript.html#label-stored-procedure-data-type-mapping)). For `RETURNS TABLE ( [ col_name col_data_type [ , ... ] ] )`, if you know the Snowflake data types of the columns in the returned table, specify the column names and types. Otherwise (e.g. if you are determining the column types during run time), you can omit the column names and types (i.e. `TABLE ()`).
|
|
44
44
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
45
45
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureJavascriptArgumentArgs']]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
46
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
46
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
47
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
48
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
49
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
49
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
50
50
|
: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).
|
|
51
51
|
: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).
|
|
52
52
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -142,7 +142,7 @@ class ProcedureJavascriptArgs:
|
|
|
142
142
|
@pulumi.getter
|
|
143
143
|
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
144
144
|
"""
|
|
145
|
-
Specifies a comment for the procedure.
|
|
145
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
146
146
|
"""
|
|
147
147
|
return pulumi.get(self, "comment")
|
|
148
148
|
|
|
@@ -178,7 +178,7 @@ class ProcedureJavascriptArgs:
|
|
|
178
178
|
@pulumi.getter(name="isSecure")
|
|
179
179
|
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
180
|
"""
|
|
181
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
181
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
182
182
|
"""
|
|
183
183
|
return pulumi.get(self, "is_secure")
|
|
184
184
|
|
|
@@ -271,12 +271,12 @@ class _ProcedureJavascriptState:
|
|
|
271
271
|
"""
|
|
272
272
|
Input properties used for looking up and filtering ProcedureJavascript resources.
|
|
273
273
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureJavascriptArgumentArgs']]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
274
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
274
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
275
275
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
276
276
|
: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).
|
|
277
277
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
278
278
|
: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).
|
|
279
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
279
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
280
280
|
: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).
|
|
281
281
|
: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).
|
|
282
282
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -342,7 +342,7 @@ class _ProcedureJavascriptState:
|
|
|
342
342
|
@pulumi.getter
|
|
343
343
|
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
344
344
|
"""
|
|
345
|
-
Specifies a comment for the procedure.
|
|
345
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
346
346
|
"""
|
|
347
347
|
return pulumi.get(self, "comment")
|
|
348
348
|
|
|
@@ -402,7 +402,7 @@ class _ProcedureJavascriptState:
|
|
|
402
402
|
@pulumi.getter(name="isSecure")
|
|
403
403
|
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
404
404
|
"""
|
|
405
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
405
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
406
406
|
"""
|
|
407
407
|
return pulumi.get(self, "is_secure")
|
|
408
408
|
|
|
@@ -577,11 +577,11 @@ class ProcedureJavascript(pulumi.CustomResource):
|
|
|
577
577
|
:param str resource_name: The name of the resource.
|
|
578
578
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
579
579
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureJavascriptArgumentArgs', 'ProcedureJavascriptArgumentArgsDict']]]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
580
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
580
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
581
581
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
582
582
|
: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).
|
|
583
583
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
584
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
584
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
585
585
|
: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).
|
|
586
586
|
: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).
|
|
587
587
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -708,12 +708,12 @@ class ProcedureJavascript(pulumi.CustomResource):
|
|
|
708
708
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
709
709
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
710
710
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedureJavascriptArgumentArgs', 'ProcedureJavascriptArgumentArgsDict']]]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
711
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
711
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
712
712
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
713
713
|
: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).
|
|
714
714
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
715
715
|
: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).
|
|
716
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
716
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
717
717
|
: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).
|
|
718
718
|
: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).
|
|
719
719
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -762,7 +762,7 @@ class ProcedureJavascript(pulumi.CustomResource):
|
|
|
762
762
|
@pulumi.getter
|
|
763
763
|
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
764
764
|
"""
|
|
765
|
-
Specifies a comment for the procedure.
|
|
765
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
766
766
|
"""
|
|
767
767
|
return pulumi.get(self, "comment")
|
|
768
768
|
|
|
@@ -802,7 +802,7 @@ class ProcedureJavascript(pulumi.CustomResource):
|
|
|
802
802
|
@pulumi.getter(name="isSecure")
|
|
803
803
|
def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
804
804
|
"""
|
|
805
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
805
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
806
806
|
"""
|
|
807
807
|
return pulumi.get(self, "is_secure")
|
|
808
808
|
|
|
@@ -52,12 +52,12 @@ class ProcedurePythonArgs:
|
|
|
52
52
|
:param pulumi.Input[builtins.str] schema: The schema in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
53
53
|
:param pulumi.Input[builtins.str] snowpark_package: The Snowpark package is required for stored procedures, so it must always be present. For more information about Snowpark, see [Snowpark API](https://docs.snowflake.com/en/developer-guide/snowpark/index).
|
|
54
54
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedurePythonArgumentArgs']]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
55
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
55
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
56
56
|
: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).
|
|
57
57
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
58
58
|
: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 procedure’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.
|
|
59
59
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedurePythonImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If your stored procedure’s code will be on a stage, you must also include a path to the module file your code is in. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
60
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
60
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
61
61
|
: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).
|
|
62
62
|
: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).
|
|
63
63
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -192,7 +192,7 @@ class ProcedurePythonArgs:
|
|
|
192
192
|
@pulumi.getter
|
|
193
193
|
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
194
194
|
"""
|
|
195
|
-
Specifies a comment for the procedure.
|
|
195
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
196
196
|
"""
|
|
197
197
|
return pulumi.get(self, "comment")
|
|
198
198
|
|
|
@@ -252,7 +252,7 @@ class ProcedurePythonArgs:
|
|
|
252
252
|
@pulumi.getter(name="isSecure")
|
|
253
253
|
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
254
254
|
"""
|
|
255
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
255
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
256
256
|
"""
|
|
257
257
|
return pulumi.get(self, "is_secure")
|
|
258
258
|
|
|
@@ -388,7 +388,7 @@ class _ProcedurePythonState:
|
|
|
388
388
|
"""
|
|
389
389
|
Input properties used for looking up and filtering ProcedurePython resources.
|
|
390
390
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedurePythonArgumentArgs']]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
391
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
391
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
392
392
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
393
393
|
: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).
|
|
394
394
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
@@ -396,7 +396,7 @@ class _ProcedurePythonState:
|
|
|
396
396
|
: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).
|
|
397
397
|
:param pulumi.Input[builtins.str] handler: Use the name of the stored procedure’s function or method. This can differ depending on whether the code is in-line or referenced at a stage. When the code is in-line, you can specify just the function name. When the code is imported from a stage, specify the fully-qualified handler function name as `<module_name>.<function_name>`.
|
|
398
398
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedurePythonImportArgs']]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If your stored procedure’s code will be on a stage, you must also include a path to the module file your code is in. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
399
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
399
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
400
400
|
: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).
|
|
401
401
|
: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).
|
|
402
402
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -480,7 +480,7 @@ class _ProcedurePythonState:
|
|
|
480
480
|
@pulumi.getter
|
|
481
481
|
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
482
482
|
"""
|
|
483
|
-
Specifies a comment for the procedure.
|
|
483
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
484
484
|
"""
|
|
485
485
|
return pulumi.get(self, "comment")
|
|
486
486
|
|
|
@@ -576,7 +576,7 @@ class _ProcedurePythonState:
|
|
|
576
576
|
@pulumi.getter(name="isSecure")
|
|
577
577
|
def is_secure(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
578
578
|
"""
|
|
579
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
579
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
580
580
|
"""
|
|
581
581
|
return pulumi.get(self, "is_secure")
|
|
582
582
|
|
|
@@ -806,14 +806,14 @@ class ProcedurePython(pulumi.CustomResource):
|
|
|
806
806
|
:param str resource_name: The name of the resource.
|
|
807
807
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
808
808
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedurePythonArgumentArgs', 'ProcedurePythonArgumentArgsDict']]]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
809
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
809
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
810
810
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
811
811
|
: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).
|
|
812
812
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
813
813
|
: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 procedure’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.
|
|
814
814
|
:param pulumi.Input[builtins.str] handler: Use the name of the stored procedure’s function or method. This can differ depending on whether the code is in-line or referenced at a stage. When the code is in-line, you can specify just the function name. When the code is imported from a stage, specify the fully-qualified handler function name as `<module_name>.<function_name>`.
|
|
815
815
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedurePythonImportArgs', 'ProcedurePythonImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If your stored procedure’s code will be on a stage, you must also include a path to the module file your code is in. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
816
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
816
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
817
817
|
: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).
|
|
818
818
|
: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).
|
|
819
819
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -969,7 +969,7 @@ class ProcedurePython(pulumi.CustomResource):
|
|
|
969
969
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
970
970
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
971
971
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedurePythonArgumentArgs', 'ProcedurePythonArgumentArgsDict']]]] arguments: List of the arguments for the procedure. Consult the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#all-languages) for more details.
|
|
972
|
-
:param pulumi.Input[builtins.str] comment: Specifies a comment for the procedure.
|
|
972
|
+
:param pulumi.Input[builtins.str] comment: (Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
973
973
|
:param pulumi.Input[builtins.str] database: The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
974
974
|
: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).
|
|
975
975
|
:param pulumi.Input[builtins.str] execute_as: Specifies whether the stored procedure executes with the privileges of the owner (an “owner’s rights” stored procedure) or with the privileges of the caller (a “caller’s rights” stored procedure). If you execute the statement CREATE PROCEDURE … EXECUTE AS CALLER, then in the future the procedure will execute as a caller’s rights procedure. If you execute CREATE PROCEDURE … EXECUTE AS OWNER, then the procedure will execute as an owner’s rights procedure. For more information, see [Understanding caller’s rights and owner’s rights stored procedures](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights). Valid values are (case-insensitive): `CALLER` | `OWNER`.
|
|
@@ -977,7 +977,7 @@ class ProcedurePython(pulumi.CustomResource):
|
|
|
977
977
|
: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).
|
|
978
978
|
:param pulumi.Input[builtins.str] handler: Use the name of the stored procedure’s function or method. This can differ depending on whether the code is in-line or referenced at a stage. When the code is in-line, you can specify just the function name. When the code is imported from a stage, specify the fully-qualified handler function name as `<module_name>.<function_name>`.
|
|
979
979
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProcedurePythonImportArgs', 'ProcedurePythonImportArgsDict']]]] imports: The location (stage), path, and name of the file(s) to import. You must set the IMPORTS clause to include any files that your stored procedure depends on. If you are writing an in-line stored procedure, you can omit this clause, unless your code depends on classes defined outside the stored procedure or resource files. If your stored procedure’s code will be on a stage, you must also include a path to the module file your code is in. The IMPORTS definition cannot reference variables from arguments that are passed into the stored procedure. Each file in the IMPORTS clause must have a unique name, even if the files are in different subdirectories or different stages.
|
|
980
|
-
:param pulumi.Input[builtins.str] is_secure: Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
980
|
+
:param pulumi.Input[builtins.str] is_secure: (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
981
981
|
: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).
|
|
982
982
|
: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).
|
|
983
983
|
:param pulumi.Input[builtins.str] name: The name of the procedure; the identifier does not need to be unique for the schema in which the procedure is created because stored procedures are [identified and resolved by the combination of the name and argument types](https://docs.snowflake.com/en/developer-guide/udf-stored-procedure-naming-conventions.html#label-procedure-function-name-overloading). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
@@ -1037,7 +1037,7 @@ class ProcedurePython(pulumi.CustomResource):
|
|
|
1037
1037
|
@pulumi.getter
|
|
1038
1038
|
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1039
1039
|
"""
|
|
1040
|
-
Specifies a comment for the procedure.
|
|
1040
|
+
(Default: `user-defined procedure`) Specifies a comment for the procedure.
|
|
1041
1041
|
"""
|
|
1042
1042
|
return pulumi.get(self, "comment")
|
|
1043
1043
|
|
|
@@ -1101,7 +1101,7 @@ class ProcedurePython(pulumi.CustomResource):
|
|
|
1101
1101
|
@pulumi.getter(name="isSecure")
|
|
1102
1102
|
def is_secure(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1103
1103
|
"""
|
|
1104
|
-
Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1104
|
+
(Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies that the procedure is secure. For more information about secure procedures, see [Protecting Sensitive Information with Secure UDFs and Stored Procedures](https://docs.snowflake.com/en/developer-guide/secure-udf-procedure). Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
1105
1105
|
"""
|
|
1106
1106
|
return pulumi.get(self, "is_secure")
|
|
1107
1107
|
|