@pulumi/snowflake 0.63.0-alpha.1734439451 → 1.0.0
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.
- package/account.d.ts +40 -86
- package/account.js +12 -5
- package/account.js.map +1 -1
- package/accountParameter.d.ts +7 -7
- package/accountParameter.js +1 -1
- package/accountRole.d.ts +4 -4
- package/accountRole.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +4 -13
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +4 -13
- package/apiAuthenticationIntegrationWithClientCredentials.js +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +4 -13
- package/apiAuthenticationIntegrationWithJwtBearer.js +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/authenticationPolicy.d.ts +9 -9
- package/config/vars.d.ts +6 -74
- package/config/vars.js +6 -83
- package/config/vars.js.map +1 -1
- package/database.d.ts +4 -4
- package/database.js +1 -1
- package/databaseRole.d.ts +6 -6
- package/{unsafeExecute.d.ts → execute.d.ts} +21 -14
- package/{unsafeExecute.js → execute.js} +17 -10
- package/execute.js.map +1 -0
- package/externalOauthIntegration.d.ts +12 -12
- package/externalOauthIntegration.js +1 -1
- package/externalVolume.d.ts +5 -3
- package/externalVolume.js +2 -0
- package/externalVolume.js.map +1 -1
- package/functionJava.d.ts +324 -0
- package/{function.js → functionJava.js} +40 -22
- package/functionJava.js.map +1 -0
- package/functionJavascript.d.ts +240 -0
- package/functionJavascript.js +106 -0
- package/functionJavascript.js.map +1 -0
- package/functionPython.d.ts +324 -0
- package/functionPython.js +123 -0
- package/functionPython.js.map +1 -0
- package/functionScala.d.ts +324 -0
- package/functionScala.js +123 -0
- package/functionScala.js.map +1 -0
- package/functionSql.d.ts +228 -0
- package/functionSql.js +104 -0
- package/functionSql.js.map +1 -0
- package/getAccountRoles.d.ts +57 -0
- package/getAccountRoles.js +32 -0
- package/getAccountRoles.js.map +1 -0
- package/getAccounts.d.ts +25 -7
- package/getAccounts.js +10 -2
- package/getAccounts.js.map +1 -1
- package/getAlerts.d.ts +4 -0
- package/getAlerts.js +4 -0
- package/getAlerts.js.map +1 -1
- package/getConnections.d.ts +2 -48
- package/getConnections.js +2 -48
- package/getConnections.js.map +1 -1
- package/getCortexSearchServices.d.ts +4 -0
- package/getCortexSearchServices.js +4 -0
- package/getCortexSearchServices.js.map +1 -1
- package/getCurrentAccount.d.ts +4 -0
- package/getCurrentAccount.js +4 -0
- package/getCurrentAccount.js.map +1 -1
- package/getCurrentRole.d.ts +6 -0
- package/getCurrentRole.js +6 -0
- package/getCurrentRole.js.map +1 -1
- package/getDatabase.d.ts +4 -0
- package/getDatabase.js +4 -0
- package/getDatabase.js.map +1 -1
- package/getDatabaseRole.d.ts +4 -0
- package/getDatabaseRole.js +4 -0
- package/getDatabaseRole.js.map +1 -1
- package/getDatabaseRoles.d.ts +2 -6
- package/getDatabaseRoles.js +2 -6
- package/getDatabaseRoles.js.map +1 -1
- package/getDatabases.d.ts +2 -6
- package/getDatabases.js +2 -6
- package/getDatabases.js.map +1 -1
- package/getDynamicTables.d.ts +6 -0
- package/getDynamicTables.js +6 -0
- package/getDynamicTables.js.map +1 -1
- package/getExternalFunctions.d.ts +4 -0
- package/getExternalFunctions.js +4 -0
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +4 -0
- package/getExternalTables.js +4 -0
- package/getExternalTables.js.map +1 -1
- package/getFailoverGroups.d.ts +6 -0
- package/getFailoverGroups.js +6 -0
- package/getFailoverGroups.js.map +1 -1
- package/getFileFormats.d.ts +4 -0
- package/getFileFormats.js +4 -0
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +4 -0
- package/getFunctions.js +4 -0
- package/getFunctions.js.map +1 -1
- package/getGrants.d.ts +0 -4
- package/getGrants.js +0 -4
- package/getGrants.js.map +1 -1
- package/getMaskingPolicies.d.ts +2 -6
- package/getMaskingPolicies.js +2 -6
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +4 -0
- package/getMaterializedViews.js +4 -0
- package/getMaterializedViews.js.map +1 -1
- package/getNetworkPolicies.d.ts +2 -6
- package/getNetworkPolicies.js +2 -6
- package/getNetworkPolicies.js.map +1 -1
- package/getParameters.d.ts +4 -0
- package/getParameters.js +4 -0
- package/getParameters.js.map +1 -1
- package/getPipes.d.ts +4 -0
- package/getPipes.js +4 -0
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +4 -0
- package/getProcedures.js +4 -0
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +2 -6
- package/getResourceMonitors.js +2 -6
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +2 -6
- package/getRowAccessPolicies.js +2 -6
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +6 -4
- package/getSchemas.js +6 -4
- package/getSchemas.js.map +1 -1
- package/getSecrets.d.ts +2 -6
- package/getSecrets.js +2 -6
- package/getSecrets.js.map +1 -1
- package/getSecurityIntegrations.d.ts +2 -6
- package/getSecurityIntegrations.js +2 -6
- package/getSecurityIntegrations.js.map +1 -1
- package/getSequences.d.ts +4 -0
- package/getSequences.js +4 -0
- package/getSequences.js.map +1 -1
- package/getShares.d.ts +4 -0
- package/getShares.js +4 -0
- package/getShares.js.map +1 -1
- package/getStages.d.ts +4 -0
- package/getStages.js +4 -0
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +4 -0
- package/getStorageIntegrations.js +4 -0
- package/getStorageIntegrations.js.map +1 -1
- package/getStreamlits.d.ts +2 -6
- package/getStreamlits.js +2 -6
- package/getStreamlits.js.map +1 -1
- package/getStreams.d.ts +2 -6
- package/getStreams.js +2 -6
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.d.ts +4 -0
- package/getSystemGenerateScimAccessToken.js +4 -0
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.d.ts +4 -0
- package/getSystemGetPrivateLinkConfig.js +4 -0
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/getSystemGetSnowflakePlatformInfo.d.ts +6 -0
- package/getSystemGetSnowflakePlatformInfo.js +6 -0
- package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
- package/getTables.d.ts +4 -0
- package/getTables.js +4 -0
- package/getTables.js.map +1 -1
- package/getTags.d.ts +2 -6
- package/getTags.js +2 -6
- package/getTags.js.map +1 -1
- package/getTasks.d.ts +0 -4
- package/getTasks.js +0 -4
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +2 -6
- package/getUsers.js +2 -6
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +2 -6
- package/getViews.js +2 -6
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +2 -6
- package/getWarehouses.js +2 -6
- package/getWarehouses.js.map +1 -1
- package/grantAccountRole.d.ts +9 -9
- package/grantApplicationRole.d.ts +3 -3
- package/grantDatabaseRole.d.ts +12 -12
- package/grantOwnership.d.ts +6 -6
- package/grantPrivilegesToAccountRole.d.ts +6 -6
- package/grantPrivilegesToDatabaseRole.d.ts +6 -6
- package/grantPrivilegesToShare.d.ts +18 -18
- package/index.d.ts +36 -36
- package/index.js +62 -60
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +9 -9
- package/maskingPolicy.d.ts +9 -9
- package/networkPolicy.d.ts +10 -10
- package/networkPolicy.js +1 -1
- package/oauthIntegrationForCustomClients.d.ts +23 -15
- package/oauthIntegrationForCustomClients.js +3 -4
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +16 -8
- package/oauthIntegrationForPartnerApplications.js +2 -3
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/passwordPolicy.d.ts +7 -0
- package/passwordPolicy.js +7 -0
- package/passwordPolicy.js.map +1 -1
- package/primaryConnection.d.ts +7 -7
- package/primaryConnection.js +1 -1
- package/procedureJava.d.ts +345 -0
- package/procedureJava.js +128 -0
- package/procedureJava.js.map +1 -0
- package/procedureJavascript.d.ts +249 -0
- package/procedureJavascript.js +106 -0
- package/procedureJavascript.js.map +1 -0
- package/procedurePython.d.ts +333 -0
- package/procedurePython.js +126 -0
- package/procedurePython.js.map +1 -0
- package/procedureScala.d.ts +345 -0
- package/procedureScala.js +128 -0
- package/procedureScala.js.map +1 -0
- package/procedureSql.d.ts +249 -0
- package/{procedure.js → procedureSql.js} +36 -32
- package/procedureSql.js.map +1 -0
- package/provider.d.ts +11 -182
- package/provider.js +10 -21
- package/provider.js.map +1 -1
- package/resourceMonitor.d.ts +7 -9
- package/resourceMonitor.js +1 -3
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +9 -9
- package/saml2Integration.d.ts +4 -4
- package/saml2Integration.js +1 -1
- package/schema.d.ts +6 -8
- package/schema.js +0 -2
- package/schema.js.map +1 -1
- package/scimIntegration.d.ts +7 -7
- package/scimIntegration.js +1 -1
- package/secondaryConnection.d.ts +7 -7
- package/secondaryConnection.js +1 -1
- package/secondaryDatabase.d.ts +7 -7
- package/secondaryDatabase.js +1 -1
- package/secretWithAuthorizationCodeGrant.d.ts +12 -12
- package/secretWithBasicAuthentication.d.ts +9 -9
- package/secretWithClientCredentials.d.ts +12 -12
- package/secretWithGenericString.d.ts +9 -9
- package/serviceUser.d.ts +9 -9
- package/sharedDatabase.d.ts +7 -7
- package/sharedDatabase.js +1 -1
- package/streamOnDirectoryTable.d.ts +12 -21
- package/streamOnDirectoryTable.js.map +1 -1
- package/streamOnExternalTable.d.ts +12 -21
- package/streamOnExternalTable.js.map +1 -1
- package/streamOnTable.d.ts +12 -21
- package/streamOnTable.js.map +1 -1
- package/streamOnView.d.ts +12 -21
- package/streamOnView.js.map +1 -1
- package/streamlit.d.ts +18 -20
- package/streamlit.js +0 -2
- package/streamlit.js.map +1 -1
- package/tag.d.ts +12 -12
- package/tagAssociation.d.ts +11 -31
- package/tagAssociation.js +2 -4
- package/tagAssociation.js.map +1 -1
- package/task.d.ts +25 -27
- package/task.js +1 -3
- package/task.js.map +1 -1
- package/types/input.d.ts +828 -47
- package/types/output.d.ts +846 -94
- package/user.d.ts +9 -9
- package/view.d.ts +12 -21
- package/view.js.map +1 -1
- package/warehouse.d.ts +7 -7
- package/warehouse.js +1 -1
- package/databaseOld.d.ts +0 -147
- package/databaseOld.js +0 -70
- package/databaseOld.js.map +0 -1
- package/function.d.ts +0 -247
- package/function.js.map +0 -1
- package/getRole.d.ts +0 -66
- package/getRole.js +0 -50
- package/getRole.js.map +0 -1
- package/getRoles.d.ts +0 -61
- package/getRoles.js +0 -36
- package/getRoles.js.map +0 -1
- package/oauthIntegration.d.ts +0 -171
- package/oauthIntegration.js +0 -79
- package/oauthIntegration.js.map +0 -1
- package/procedure.d.ts +0 -253
- package/procedure.js.map +0 -1
- package/role.d.ts +0 -76
- package/role.js +0 -62
- package/role.js.map +0 -1
- package/samlIntegration.d.ts +0 -243
- package/samlIntegration.js +0 -104
- package/samlIntegration.js.map +0 -1
- package/sessionParameter.d.ts +0 -91
- package/sessionParameter.js +0 -68
- package/sessionParameter.js.map +0 -1
- package/stream.d.ts +0 -181
- package/stream.js +0 -86
- package/stream.js.map +0 -1
- package/tagMaskingPolicyAssociation.d.ts +0 -69
- package/tagMaskingPolicyAssociation.js +0 -66
- package/tagMaskingPolicyAssociation.js.map +0 -1
- package/unsafeExecute.js.map +0 -1
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import snowflake:index/procedureSql:ProcedureSql example '"<database_name>"."<schema_name>"."<function_name>"(varchar, varchar, varchar)'
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* Note: Snowflake is not returning all information needed to populate the state correctly after import (e.g. data types with attributes like NUMBER(32, 10) are returned as NUMBER, default values for arguments are not returned at all).
|
|
12
|
+
*
|
|
13
|
+
* Also, `ALTER` for functions is very limited so most of the attributes on this resource are marked as force new. Because of that, in multiple situations plan won't be empty after importing and manual state operations may be required.
|
|
14
|
+
*/
|
|
15
|
+
export declare class ProcedureSql extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing ProcedureSql resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProcedureSqlState, opts?: pulumi.CustomResourceOptions): ProcedureSql;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of ProcedureSql. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is ProcedureSql;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
*/
|
|
34
|
+
readonly arguments: pulumi.Output<outputs.ProcedureSqlArgument[] | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies a comment for the procedure.
|
|
37
|
+
*/
|
|
38
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
41
|
+
*/
|
|
42
|
+
readonly database: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* 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).
|
|
45
|
+
*/
|
|
46
|
+
readonly enableConsoleOutput: pulumi.Output<boolean>;
|
|
47
|
+
/**
|
|
48
|
+
* 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
|
+
*/
|
|
50
|
+
readonly executeAs: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
53
|
+
*/
|
|
54
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* 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.
|
|
57
|
+
*/
|
|
58
|
+
readonly isSecure: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
61
|
+
*/
|
|
62
|
+
readonly logLevel: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* 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).
|
|
65
|
+
*/
|
|
66
|
+
readonly metricLevel: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* 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: `|`, `.`, `"`.
|
|
69
|
+
*/
|
|
70
|
+
readonly name: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the behavior of the procedure when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
73
|
+
*/
|
|
74
|
+
readonly nullInputBehavior: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Outputs the result of `SHOW PARAMETERS IN PROCEDURE` for the given procedure.
|
|
77
|
+
*/
|
|
78
|
+
readonly parameters: pulumi.Output<outputs.ProcedureSqlParameter[]>;
|
|
79
|
+
/**
|
|
80
|
+
* Defines the code executed by the stored procedure. The definition can consist of any valid code. Wrapping `$$` signs are added by the provider automatically; do not include them. The `procedureDefinition` value must be SQL source code. For more information, see [Snowflake Scripting](https://docs.snowflake.com/en/developer-guide/snowflake-scripting/index). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
81
|
+
*/
|
|
82
|
+
readonly procedureDefinition: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies language for the procedure. Used to detect external changes.
|
|
85
|
+
*/
|
|
86
|
+
readonly procedureLanguage: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* 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 ( [ colName 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 ()`).
|
|
89
|
+
*/
|
|
90
|
+
readonly returnType: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The schema in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
93
|
+
*/
|
|
94
|
+
readonly schema: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Outputs the result of `SHOW PROCEDURE` for the given procedure.
|
|
97
|
+
*/
|
|
98
|
+
readonly showOutputs: pulumi.Output<outputs.ProcedureSqlShowOutput[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
101
|
+
*/
|
|
102
|
+
readonly traceLevel: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Create a ProcedureSql resource with the given unique name, arguments, and options.
|
|
105
|
+
*
|
|
106
|
+
* @param name The _unique_ name of the resource.
|
|
107
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
108
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
109
|
+
*/
|
|
110
|
+
constructor(name: string, args: ProcedureSqlArgs, opts?: pulumi.CustomResourceOptions);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Input properties used for looking up and filtering ProcedureSql resources.
|
|
114
|
+
*/
|
|
115
|
+
export interface ProcedureSqlState {
|
|
116
|
+
/**
|
|
117
|
+
* 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.
|
|
118
|
+
*/
|
|
119
|
+
arguments?: pulumi.Input<pulumi.Input<inputs.ProcedureSqlArgument>[]>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies a comment for the procedure.
|
|
122
|
+
*/
|
|
123
|
+
comment?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
126
|
+
*/
|
|
127
|
+
database?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* 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).
|
|
130
|
+
*/
|
|
131
|
+
enableConsoleOutput?: pulumi.Input<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* 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`.
|
|
134
|
+
*/
|
|
135
|
+
executeAs?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
138
|
+
*/
|
|
139
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* 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.
|
|
142
|
+
*/
|
|
143
|
+
isSecure?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
146
|
+
*/
|
|
147
|
+
logLevel?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* 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).
|
|
150
|
+
*/
|
|
151
|
+
metricLevel?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* 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: `|`, `.`, `"`.
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Specifies the behavior of the procedure when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
158
|
+
*/
|
|
159
|
+
nullInputBehavior?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Outputs the result of `SHOW PARAMETERS IN PROCEDURE` for the given procedure.
|
|
162
|
+
*/
|
|
163
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.ProcedureSqlParameter>[]>;
|
|
164
|
+
/**
|
|
165
|
+
* Defines the code executed by the stored procedure. The definition can consist of any valid code. Wrapping `$$` signs are added by the provider automatically; do not include them. The `procedureDefinition` value must be SQL source code. For more information, see [Snowflake Scripting](https://docs.snowflake.com/en/developer-guide/snowflake-scripting/index). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
166
|
+
*/
|
|
167
|
+
procedureDefinition?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies language for the procedure. Used to detect external changes.
|
|
170
|
+
*/
|
|
171
|
+
procedureLanguage?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* 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 ( [ colName 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 ()`).
|
|
174
|
+
*/
|
|
175
|
+
returnType?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The schema in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
178
|
+
*/
|
|
179
|
+
schema?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Outputs the result of `SHOW PROCEDURE` for the given procedure.
|
|
182
|
+
*/
|
|
183
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.ProcedureSqlShowOutput>[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
186
|
+
*/
|
|
187
|
+
traceLevel?: pulumi.Input<string>;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* The set of arguments for constructing a ProcedureSql resource.
|
|
191
|
+
*/
|
|
192
|
+
export interface ProcedureSqlArgs {
|
|
193
|
+
/**
|
|
194
|
+
* 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.
|
|
195
|
+
*/
|
|
196
|
+
arguments?: pulumi.Input<pulumi.Input<inputs.ProcedureSqlArgument>[]>;
|
|
197
|
+
/**
|
|
198
|
+
* Specifies a comment for the procedure.
|
|
199
|
+
*/
|
|
200
|
+
comment?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* The database in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
203
|
+
*/
|
|
204
|
+
database: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* 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).
|
|
207
|
+
*/
|
|
208
|
+
enableConsoleOutput?: pulumi.Input<boolean>;
|
|
209
|
+
/**
|
|
210
|
+
* 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`.
|
|
211
|
+
*/
|
|
212
|
+
executeAs?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* 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.
|
|
215
|
+
*/
|
|
216
|
+
isSecure?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* LOG*LEVEL to use when filtering events For more information, check [LOG*LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#log-level).
|
|
219
|
+
*/
|
|
220
|
+
logLevel?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* 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).
|
|
223
|
+
*/
|
|
224
|
+
metricLevel?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* 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: `|`, `.`, `"`.
|
|
227
|
+
*/
|
|
228
|
+
name?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* Specifies the behavior of the procedure when called with null inputs. Valid values are (case-insensitive): `CALLED ON NULL INPUT` | `RETURNS NULL ON NULL INPUT`.
|
|
231
|
+
*/
|
|
232
|
+
nullInputBehavior?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Defines the code executed by the stored procedure. The definition can consist of any valid code. Wrapping `$$` signs are added by the provider automatically; do not include them. The `procedureDefinition` value must be SQL source code. For more information, see [Snowflake Scripting](https://docs.snowflake.com/en/developer-guide/snowflake-scripting/index). To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
|
|
235
|
+
*/
|
|
236
|
+
procedureDefinition: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* 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 ( [ colName 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 ()`).
|
|
239
|
+
*/
|
|
240
|
+
returnType: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* The schema in which to create the procedure. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
243
|
+
*/
|
|
244
|
+
schema: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Trace level value to use when generating/filtering trace events For more information, check [TRACE_LEVEL docs](https://docs.snowflake.com/en/sql-reference/parameters#trace-level).
|
|
247
|
+
*/
|
|
248
|
+
traceLevel?: pulumi.Input<string>;
|
|
249
|
+
}
|
|
@@ -2,21 +2,23 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.ProcedureSql = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* format is <database_name>.<schema_name>.<procedure_name>(<arg types, separated with ','>)
|
|
12
|
-
*
|
|
13
11
|
* ```sh
|
|
14
|
-
* $ pulumi import snowflake:index/
|
|
12
|
+
* $ pulumi import snowflake:index/procedureSql:ProcedureSql example '"<database_name>"."<schema_name>"."<function_name>"(varchar, varchar, varchar)'
|
|
15
13
|
* ```
|
|
14
|
+
*
|
|
15
|
+
* Note: Snowflake is not returning all information needed to populate the state correctly after import (e.g. data types with attributes like NUMBER(32, 10) are returned as NUMBER, default values for arguments are not returned at all).
|
|
16
|
+
*
|
|
17
|
+
* Also, `ALTER` for functions is very limited so most of the attributes on this resource are marked as force new. Because of that, in multiple situations plan won't be empty after importing and manual state operations may be required.
|
|
16
18
|
*/
|
|
17
|
-
class
|
|
19
|
+
class ProcedureSql extends pulumi.CustomResource {
|
|
18
20
|
/**
|
|
19
|
-
* Get an existing
|
|
21
|
+
* Get an existing ProcedureSql resource's state with the given name, ID, and optional extra
|
|
20
22
|
* properties used to qualify the lookup.
|
|
21
23
|
*
|
|
22
24
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -25,17 +27,17 @@ class Procedure extends pulumi.CustomResource {
|
|
|
25
27
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
28
|
*/
|
|
27
29
|
static get(name, id, state, opts) {
|
|
28
|
-
return new
|
|
30
|
+
return new ProcedureSql(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
|
-
* Returns true if the given object is an instance of
|
|
33
|
+
* Returns true if the given object is an instance of ProcedureSql. This is designed to work even
|
|
32
34
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
35
|
*/
|
|
34
36
|
static isInstance(obj) {
|
|
35
37
|
if (obj === undefined || obj === null) {
|
|
36
38
|
return false;
|
|
37
39
|
}
|
|
38
|
-
return obj['__pulumiType'] ===
|
|
40
|
+
return obj['__pulumiType'] === ProcedureSql.__pulumiType;
|
|
39
41
|
}
|
|
40
42
|
constructor(name, argsOrState, opts) {
|
|
41
43
|
let resourceInputs = {};
|
|
@@ -45,58 +47,60 @@ class Procedure extends pulumi.CustomResource {
|
|
|
45
47
|
resourceInputs["arguments"] = state ? state.arguments : undefined;
|
|
46
48
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
47
49
|
resourceInputs["database"] = state ? state.database : undefined;
|
|
50
|
+
resourceInputs["enableConsoleOutput"] = state ? state.enableConsoleOutput : undefined;
|
|
48
51
|
resourceInputs["executeAs"] = state ? state.executeAs : undefined;
|
|
49
52
|
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
50
|
-
resourceInputs["
|
|
51
|
-
resourceInputs["
|
|
52
|
-
resourceInputs["
|
|
53
|
+
resourceInputs["isSecure"] = state ? state.isSecure : undefined;
|
|
54
|
+
resourceInputs["logLevel"] = state ? state.logLevel : undefined;
|
|
55
|
+
resourceInputs["metricLevel"] = state ? state.metricLevel : undefined;
|
|
53
56
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
54
57
|
resourceInputs["nullInputBehavior"] = state ? state.nullInputBehavior : undefined;
|
|
55
|
-
resourceInputs["
|
|
56
|
-
resourceInputs["
|
|
58
|
+
resourceInputs["parameters"] = state ? state.parameters : undefined;
|
|
59
|
+
resourceInputs["procedureDefinition"] = state ? state.procedureDefinition : undefined;
|
|
60
|
+
resourceInputs["procedureLanguage"] = state ? state.procedureLanguage : undefined;
|
|
57
61
|
resourceInputs["returnType"] = state ? state.returnType : undefined;
|
|
58
|
-
resourceInputs["runtimeVersion"] = state ? state.runtimeVersion : undefined;
|
|
59
62
|
resourceInputs["schema"] = state ? state.schema : undefined;
|
|
60
|
-
resourceInputs["
|
|
61
|
-
resourceInputs["
|
|
63
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
64
|
+
resourceInputs["traceLevel"] = state ? state.traceLevel : undefined;
|
|
62
65
|
}
|
|
63
66
|
else {
|
|
64
67
|
const args = argsOrState;
|
|
65
68
|
if ((!args || args.database === undefined) && !opts.urn) {
|
|
66
69
|
throw new Error("Missing required property 'database'");
|
|
67
70
|
}
|
|
71
|
+
if ((!args || args.procedureDefinition === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'procedureDefinition'");
|
|
73
|
+
}
|
|
68
74
|
if ((!args || args.returnType === undefined) && !opts.urn) {
|
|
69
75
|
throw new Error("Missing required property 'returnType'");
|
|
70
76
|
}
|
|
71
77
|
if ((!args || args.schema === undefined) && !opts.urn) {
|
|
72
78
|
throw new Error("Missing required property 'schema'");
|
|
73
79
|
}
|
|
74
|
-
if ((!args || args.statement === undefined) && !opts.urn) {
|
|
75
|
-
throw new Error("Missing required property 'statement'");
|
|
76
|
-
}
|
|
77
80
|
resourceInputs["arguments"] = args ? args.arguments : undefined;
|
|
78
81
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
79
82
|
resourceInputs["database"] = args ? args.database : undefined;
|
|
83
|
+
resourceInputs["enableConsoleOutput"] = args ? args.enableConsoleOutput : undefined;
|
|
80
84
|
resourceInputs["executeAs"] = args ? args.executeAs : undefined;
|
|
81
|
-
resourceInputs["
|
|
82
|
-
resourceInputs["
|
|
83
|
-
resourceInputs["
|
|
85
|
+
resourceInputs["isSecure"] = args ? args.isSecure : undefined;
|
|
86
|
+
resourceInputs["logLevel"] = args ? args.logLevel : undefined;
|
|
87
|
+
resourceInputs["metricLevel"] = args ? args.metricLevel : undefined;
|
|
84
88
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
85
89
|
resourceInputs["nullInputBehavior"] = args ? args.nullInputBehavior : undefined;
|
|
86
|
-
resourceInputs["
|
|
87
|
-
resourceInputs["returnBehavior"] = args ? args.returnBehavior : undefined;
|
|
90
|
+
resourceInputs["procedureDefinition"] = args ? args.procedureDefinition : undefined;
|
|
88
91
|
resourceInputs["returnType"] = args ? args.returnType : undefined;
|
|
89
|
-
resourceInputs["runtimeVersion"] = args ? args.runtimeVersion : undefined;
|
|
90
92
|
resourceInputs["schema"] = args ? args.schema : undefined;
|
|
91
|
-
resourceInputs["
|
|
92
|
-
resourceInputs["statement"] = args ? args.statement : undefined;
|
|
93
|
+
resourceInputs["traceLevel"] = args ? args.traceLevel : undefined;
|
|
93
94
|
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["parameters"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["procedureLanguage"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
94
98
|
}
|
|
95
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
-
super(
|
|
100
|
+
super(ProcedureSql.__pulumiType, name, resourceInputs, opts);
|
|
97
101
|
}
|
|
98
102
|
}
|
|
99
|
-
exports.
|
|
103
|
+
exports.ProcedureSql = ProcedureSql;
|
|
100
104
|
/** @internal */
|
|
101
|
-
|
|
102
|
-
//# sourceMappingURL=
|
|
105
|
+
ProcedureSql.__pulumiType = 'snowflake:index/procedureSql:ProcedureSql';
|
|
106
|
+
//# sourceMappingURL=procedureSql.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"procedureSql.js","sourceRoot":"","sources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