pulumi-snowflake 1.2.0a1744439488__py3-none-any.whl → 1.3.0__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 +33 -33
- 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/config/__init__.pyi +7 -0
- pulumi_snowflake/config/vars.py +9 -0
- 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 +22 -22
- 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/provider.py +26 -0
- 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.0.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.3.0.dist-info/RECORD +148 -0
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.3.0.dist-info}/WHEEL +1 -1
- pulumi_snowflake-1.2.0a1744439488.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1744439488.dist-info → pulumi_snowflake-1.3.0.dist-info}/top_level.txt +0 -0
|
@@ -53,12 +53,12 @@ class ProcedureScalaArgs:
|
|
|
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['ProcedureScalaArgumentArgs']]] 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['ProcedureScalaImportArgs']]] 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 ProcedureScalaArgs:
|
|
|
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 ProcedureScalaArgs:
|
|
|
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 _ProcedureScalaState:
|
|
|
405
405
|
"""
|
|
406
406
|
Input properties used for looking up and filtering ProcedureScala resources.
|
|
407
407
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureScalaArgumentArgs']]] 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 _ProcedureScalaState:
|
|
|
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['ProcedureScalaImportArgs']]] 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 _ProcedureScalaState:
|
|
|
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 _ProcedureScalaState:
|
|
|
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 ProcedureScala(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['ProcedureScalaArgumentArgs', 'ProcedureScalaArgumentArgsDict']]]] 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['ProcedureScalaImportArgs', 'ProcedureScalaImportArgsDict']]]] 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 ProcedureScala(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['ProcedureScalaArgumentArgs', 'ProcedureScalaArgumentArgsDict']]]] 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 ProcedureScala(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['ProcedureScalaImportArgs', 'ProcedureScalaImportArgsDict']]]] 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 ProcedureScala(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 ProcedureScala(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 ProcedureSqlArgs:
|
|
|
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 data type](https://docs.snowflake.com/en/sql-reference-data-types)). 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['ProcedureSqlArgumentArgs']]] 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 ProcedureSqlArgs:
|
|
|
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 ProcedureSqlArgs:
|
|
|
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 _ProcedureSqlState:
|
|
|
271
271
|
"""
|
|
272
272
|
Input properties used for looking up and filtering ProcedureSql resources.
|
|
273
273
|
:param pulumi.Input[Sequence[pulumi.Input['ProcedureSqlArgumentArgs']]] 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 _ProcedureSqlState:
|
|
|
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 _ProcedureSqlState:
|
|
|
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 ProcedureSql(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['ProcedureSqlArgumentArgs', 'ProcedureSqlArgumentArgsDict']]]] 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 ProcedureSql(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['ProcedureSqlArgumentArgs', 'ProcedureSqlArgumentArgsDict']]]] 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 ProcedureSql(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 ProcedureSql(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
|
|
pulumi_snowflake/provider.py
CHANGED
|
@@ -59,6 +59,7 @@ class ProviderArgs:
|
|
|
59
59
|
tmp_directory_path: Optional[pulumi.Input[builtins.str]] = None,
|
|
60
60
|
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
61
61
|
token_accessor: Optional[pulumi.Input['ProviderTokenAccessorArgs']] = None,
|
|
62
|
+
use_legacy_toml_file: Optional[pulumi.Input[builtins.bool]] = None,
|
|
62
63
|
user: Optional[pulumi.Input[builtins.str]] = None,
|
|
63
64
|
validate_default_parameters: Optional[pulumi.Input[builtins.str]] = None,
|
|
64
65
|
warehouse: Optional[pulumi.Input[builtins.str]] = None):
|
|
@@ -140,6 +141,9 @@ class ProviderArgs:
|
|
|
140
141
|
the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
141
142
|
:param pulumi.Input[builtins.str] token: Token to use for OAuth and other forms of token based auth. Can also be sourced from the `SNOWFLAKE_TOKEN` environment
|
|
142
143
|
variable.
|
|
144
|
+
:param pulumi.Input[builtins.bool] use_legacy_toml_file: True by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new
|
|
145
|
+
format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment
|
|
146
|
+
variable.
|
|
143
147
|
:param pulumi.Input[builtins.str] user: Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
144
148
|
:param pulumi.Input[builtins.str] validate_default_parameters: True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
145
149
|
connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
@@ -234,6 +238,8 @@ class ProviderArgs:
|
|
|
234
238
|
pulumi.set(__self__, "token", token)
|
|
235
239
|
if token_accessor is not None:
|
|
236
240
|
pulumi.set(__self__, "token_accessor", token_accessor)
|
|
241
|
+
if use_legacy_toml_file is not None:
|
|
242
|
+
pulumi.set(__self__, "use_legacy_toml_file", use_legacy_toml_file)
|
|
237
243
|
if user is not None:
|
|
238
244
|
pulumi.set(__self__, "user", user)
|
|
239
245
|
if validate_default_parameters is not None:
|
|
@@ -733,6 +739,20 @@ class ProviderArgs:
|
|
|
733
739
|
def token_accessor(self, value: Optional[pulumi.Input['ProviderTokenAccessorArgs']]):
|
|
734
740
|
pulumi.set(self, "token_accessor", value)
|
|
735
741
|
|
|
742
|
+
@property
|
|
743
|
+
@pulumi.getter(name="useLegacyTomlFile")
|
|
744
|
+
def use_legacy_toml_file(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
745
|
+
"""
|
|
746
|
+
True by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new
|
|
747
|
+
format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment
|
|
748
|
+
variable.
|
|
749
|
+
"""
|
|
750
|
+
return pulumi.get(self, "use_legacy_toml_file")
|
|
751
|
+
|
|
752
|
+
@use_legacy_toml_file.setter
|
|
753
|
+
def use_legacy_toml_file(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
754
|
+
pulumi.set(self, "use_legacy_toml_file", value)
|
|
755
|
+
|
|
736
756
|
@property
|
|
737
757
|
@pulumi.getter
|
|
738
758
|
def user(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -815,6 +835,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
815
835
|
tmp_directory_path: Optional[pulumi.Input[builtins.str]] = None,
|
|
816
836
|
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
817
837
|
token_accessor: Optional[pulumi.Input[Union['ProviderTokenAccessorArgs', 'ProviderTokenAccessorArgsDict']]] = None,
|
|
838
|
+
use_legacy_toml_file: Optional[pulumi.Input[builtins.bool]] = None,
|
|
818
839
|
user: Optional[pulumi.Input[builtins.str]] = None,
|
|
819
840
|
validate_default_parameters: Optional[pulumi.Input[builtins.str]] = None,
|
|
820
841
|
warehouse: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -903,6 +924,9 @@ class Provider(pulumi.ProviderResource):
|
|
|
903
924
|
the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
904
925
|
:param pulumi.Input[builtins.str] token: Token to use for OAuth and other forms of token based auth. Can also be sourced from the `SNOWFLAKE_TOKEN` environment
|
|
905
926
|
variable.
|
|
927
|
+
:param pulumi.Input[builtins.bool] use_legacy_toml_file: True by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new
|
|
928
|
+
format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment
|
|
929
|
+
variable.
|
|
906
930
|
:param pulumi.Input[builtins.str] user: Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
907
931
|
:param pulumi.Input[builtins.str] validate_default_parameters: True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
908
932
|
connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
@@ -974,6 +998,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
974
998
|
tmp_directory_path: Optional[pulumi.Input[builtins.str]] = None,
|
|
975
999
|
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
976
1000
|
token_accessor: Optional[pulumi.Input[Union['ProviderTokenAccessorArgs', 'ProviderTokenAccessorArgsDict']]] = None,
|
|
1001
|
+
use_legacy_toml_file: Optional[pulumi.Input[builtins.bool]] = None,
|
|
977
1002
|
user: Optional[pulumi.Input[builtins.str]] = None,
|
|
978
1003
|
validate_default_parameters: Optional[pulumi.Input[builtins.str]] = None,
|
|
979
1004
|
warehouse: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1036,6 +1061,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
1036
1061
|
__props__.__dict__["tmp_directory_path"] = tmp_directory_path
|
|
1037
1062
|
__props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token)
|
|
1038
1063
|
__props__.__dict__["token_accessor"] = pulumi.Output.from_input(token_accessor).apply(pulumi.runtime.to_json) if token_accessor is not None else None
|
|
1064
|
+
__props__.__dict__["use_legacy_toml_file"] = pulumi.Output.from_input(use_legacy_toml_file).apply(pulumi.runtime.to_json) if use_legacy_toml_file is not None else None
|
|
1039
1065
|
__props__.__dict__["user"] = user
|
|
1040
1066
|
__props__.__dict__["validate_default_parameters"] = validate_default_parameters
|
|
1041
1067
|
if warehouse is None:
|