@pulumi/snowflake 0.57.0-alpha.1722063098 → 0.57.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/accountRole.d.ts +70 -0
- package/accountRole.js +71 -0
- package/accountRole.js.map +1 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +2 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +2 -0
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +2 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js +2 -0
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +2 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js +2 -0
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/database.d.ts +27 -27
- package/externalOauthIntegration.d.ts +1 -1
- package/externalOauthIntegration.js +1 -1
- package/getNetworkPolicies.d.ts +61 -0
- package/getNetworkPolicies.js +31 -0
- package/getNetworkPolicies.js.map +1 -0
- package/getRoles.d.ts +23 -27
- package/getRoles.js +6 -21
- package/getRoles.js.map +1 -1
- package/getSchemas.d.ts +74 -31
- package/getSchemas.js +9 -21
- package/getSchemas.js.map +1 -1
- package/getStreamlits.d.ts +86 -0
- package/getStreamlits.js +33 -0
- package/getStreamlits.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +20 -4
- package/index.js.map +1 -1
- package/networkPolicy.d.ts +39 -8
- package/networkPolicy.js +22 -5
- package/networkPolicy.js.map +1 -1
- package/oauthIntegrationForCustomClients.d.ts +8 -6
- package/oauthIntegrationForCustomClients.js +2 -0
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +8 -6
- package/oauthIntegrationForPartnerApplications.js +2 -0
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/role.d.ts +16 -27
- package/role.js +14 -15
- package/role.js.map +1 -1
- package/saml2Integration.d.ts +14 -12
- package/saml2Integration.js +2 -0
- package/saml2Integration.js.map +1 -1
- package/schema.d.ts +229 -45
- package/schema.js +43 -21
- package/schema.js.map +1 -1
- package/scimIntegration.d.ts +11 -9
- package/scimIntegration.js +2 -0
- package/scimIntegration.js.map +1 -1
- package/secondaryDatabase.d.ts +27 -27
- package/sharedDatabase.d.ts +27 -27
- package/streamlit.d.ts +187 -0
- package/streamlit.js +96 -0
- package/streamlit.js.map +1 -0
- package/table.d.ts +0 -63
- package/table.js +0 -63
- package/table.js.map +1 -1
- package/tableConstraint.d.ts +1 -1
- package/tableConstraint.js +1 -1
- package/types/input.d.ts +329 -41
- package/types/output.d.ts +511 -46
- package/unsafeExecute.d.ts +4 -4
- package/unsafeExecute.js +4 -4
package/role.js
CHANGED
|
@@ -6,23 +6,22 @@ exports.Role = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* > **Deprecation** This resource is deprecated and will be removed in a future major version release. Please use snowflake.AccountRole instead. <deprecation>
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
11
|
+
* The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
14
12
|
*
|
|
15
|
-
*
|
|
16
|
-
* name: "role1",
|
|
17
|
-
* comment: "A role.",
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
13
|
+
* ## Minimal
|
|
20
14
|
*
|
|
21
|
-
*
|
|
15
|
+
* resource "snowflake.Role" "minimal" {
|
|
16
|
+
* name = "roleName"
|
|
17
|
+
* }
|
|
22
18
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
19
|
+
* ## Complete (with every optional set)
|
|
20
|
+
*
|
|
21
|
+
* resource "snowflake.Role" "complete" {
|
|
22
|
+
* name = "roleName"
|
|
23
|
+
* comment = "my account role"
|
|
24
|
+
* }
|
|
26
25
|
*/
|
|
27
26
|
class Role extends pulumi.CustomResource {
|
|
28
27
|
/**
|
|
@@ -54,13 +53,13 @@ class Role extends pulumi.CustomResource {
|
|
|
54
53
|
const state = argsOrState;
|
|
55
54
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
56
55
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
-
resourceInputs["
|
|
56
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
58
57
|
}
|
|
59
58
|
else {
|
|
60
59
|
const args = argsOrState;
|
|
61
60
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
62
61
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
-
resourceInputs["
|
|
62
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
64
63
|
}
|
|
65
64
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
65
|
super(Role.__pulumiType, name, resourceInputs, opts);
|
package/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3DL,oBA4DC;AA9CG,gBAAgB;AACO,iBAAY,GAAG,2BAA2B,CAAC"}
|
package/saml2Integration.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
6
6
|
*
|
|
7
|
+
* Resource used to manage saml2 security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-saml2).
|
|
8
|
+
*
|
|
7
9
|
* ## Import
|
|
8
10
|
*
|
|
9
11
|
* ```sh
|
|
@@ -67,11 +69,11 @@ export declare class Saml2Integration extends pulumi.CustomResource {
|
|
|
67
69
|
*/
|
|
68
70
|
readonly saml2PostLogoutRedirectUrl: pulumi.Output<string | undefined>;
|
|
69
71
|
/**
|
|
70
|
-
* The string describing the IdP. Valid options are:
|
|
72
|
+
* The string describing the IdP. Valid options are: `OKTA` | `ADFS` | `CUSTOM`.
|
|
71
73
|
*/
|
|
72
74
|
readonly saml2Provider: pulumi.Output<string>;
|
|
73
75
|
/**
|
|
74
|
-
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. Valid options are:
|
|
76
|
+
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. Valid options are: `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified` | `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress` | `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName` | `urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName` | `urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos` | `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent` | `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`.
|
|
75
77
|
*/
|
|
76
78
|
readonly saml2RequestedNameidFormat: pulumi.Output<string | undefined>;
|
|
77
79
|
/**
|
|
@@ -79,11 +81,11 @@ export declare class Saml2Integration extends pulumi.CustomResource {
|
|
|
79
81
|
*/
|
|
80
82
|
readonly saml2SignRequest: pulumi.Output<string | undefined>;
|
|
81
83
|
/**
|
|
82
|
-
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
84
|
+
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen. See [docs](https://docs.snowflake.com/en/user-guide/organizations-connect#okta-urls).
|
|
83
85
|
*/
|
|
84
86
|
readonly saml2SnowflakeAcsUrl: pulumi.Output<string | undefined>;
|
|
85
87
|
/**
|
|
86
|
-
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
88
|
+
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen. See [docs](https://docs.snowflake.com/en/user-guide/organizations-connect#okta-urls).
|
|
87
89
|
*/
|
|
88
90
|
readonly saml2SnowflakeIssuerUrl: pulumi.Output<string | undefined>;
|
|
89
91
|
/**
|
|
@@ -156,11 +158,11 @@ export interface Saml2IntegrationState {
|
|
|
156
158
|
*/
|
|
157
159
|
saml2PostLogoutRedirectUrl?: pulumi.Input<string>;
|
|
158
160
|
/**
|
|
159
|
-
* The string describing the IdP. Valid options are:
|
|
161
|
+
* The string describing the IdP. Valid options are: `OKTA` | `ADFS` | `CUSTOM`.
|
|
160
162
|
*/
|
|
161
163
|
saml2Provider?: pulumi.Input<string>;
|
|
162
164
|
/**
|
|
163
|
-
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. Valid options are:
|
|
165
|
+
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. Valid options are: `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified` | `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress` | `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName` | `urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName` | `urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos` | `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent` | `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`.
|
|
164
166
|
*/
|
|
165
167
|
saml2RequestedNameidFormat?: pulumi.Input<string>;
|
|
166
168
|
/**
|
|
@@ -168,11 +170,11 @@ export interface Saml2IntegrationState {
|
|
|
168
170
|
*/
|
|
169
171
|
saml2SignRequest?: pulumi.Input<string>;
|
|
170
172
|
/**
|
|
171
|
-
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
173
|
+
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen. See [docs](https://docs.snowflake.com/en/user-guide/organizations-connect#okta-urls).
|
|
172
174
|
*/
|
|
173
175
|
saml2SnowflakeAcsUrl?: pulumi.Input<string>;
|
|
174
176
|
/**
|
|
175
|
-
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
177
|
+
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen. See [docs](https://docs.snowflake.com/en/user-guide/organizations-connect#okta-urls).
|
|
176
178
|
*/
|
|
177
179
|
saml2SnowflakeIssuerUrl?: pulumi.Input<string>;
|
|
178
180
|
/**
|
|
@@ -233,11 +235,11 @@ export interface Saml2IntegrationArgs {
|
|
|
233
235
|
*/
|
|
234
236
|
saml2PostLogoutRedirectUrl?: pulumi.Input<string>;
|
|
235
237
|
/**
|
|
236
|
-
* The string describing the IdP. Valid options are:
|
|
238
|
+
* The string describing the IdP. Valid options are: `OKTA` | `ADFS` | `CUSTOM`.
|
|
237
239
|
*/
|
|
238
240
|
saml2Provider: pulumi.Input<string>;
|
|
239
241
|
/**
|
|
240
|
-
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. Valid options are:
|
|
242
|
+
* The SAML NameID format allows Snowflake to set an expectation of the identifying attribute of the user (i.e. SAML Subject) in the SAML assertion from the IdP to ensure a valid authentication to Snowflake. Valid options are: `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified` | `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress` | `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName` | `urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName` | `urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos` | `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent` | `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`.
|
|
241
243
|
*/
|
|
242
244
|
saml2RequestedNameidFormat?: pulumi.Input<string>;
|
|
243
245
|
/**
|
|
@@ -245,11 +247,11 @@ export interface Saml2IntegrationArgs {
|
|
|
245
247
|
*/
|
|
246
248
|
saml2SignRequest?: pulumi.Input<string>;
|
|
247
249
|
/**
|
|
248
|
-
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
250
|
+
* The string containing the Snowflake Assertion Consumer Service URL to which the IdP will send its SAML authentication response back to Snowflake. This property will be set in the SAML authentication request generated by Snowflake when initiating a SAML SSO operation with the IdP. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen. See [docs](https://docs.snowflake.com/en/user-guide/organizations-connect#okta-urls).
|
|
249
251
|
*/
|
|
250
252
|
saml2SnowflakeAcsUrl?: pulumi.Input<string>;
|
|
251
253
|
/**
|
|
252
|
-
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use.
|
|
254
|
+
* The string containing the EntityID / Issuer for the Snowflake service provider. If an incorrect value is specified, Snowflake returns an error message indicating the acceptable values to use. Because Okta does not support underscores in URLs, the underscore in the account name must be converted to a hyphen. See [docs](https://docs.snowflake.com/en/user-guide/organizations-connect#okta-urls).
|
|
253
255
|
*/
|
|
254
256
|
saml2SnowflakeIssuerUrl?: pulumi.Input<string>;
|
|
255
257
|
/**
|
package/saml2Integration.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* !> **V1 release candidate** This resource was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
10
10
|
*
|
|
11
|
+
* Resource used to manage saml2 security integration objects. For more information, check [security integrations documentation](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-saml2).
|
|
12
|
+
*
|
|
11
13
|
* ## Import
|
|
12
14
|
*
|
|
13
15
|
* ```sh
|
package/saml2Integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saml2Integration.js","sourceRoot":"","sources":["../saml2Integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"saml2Integration.js","sourceRoot":"","sources":["../saml2Integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuFD,YAAY,IAAY,EAAE,WAA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AAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7KL,4CA8KC;AAhKG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
package/schema.d.ts
CHANGED
|
@@ -2,21 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
10
|
-
*
|
|
11
|
-
* const schema = new snowflake.Schema("schema", {
|
|
12
|
-
* database: "database",
|
|
13
|
-
* name: "schema",
|
|
14
|
-
* comment: "A schema.",
|
|
15
|
-
* isTransient: false,
|
|
16
|
-
* isManaged: false,
|
|
17
|
-
* dataRetentionDays: 1,
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
5
|
+
* Resource used to manage schema objects. For more information, check [schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema).
|
|
20
6
|
*
|
|
21
7
|
* ## Import
|
|
22
8
|
*
|
|
@@ -42,36 +28,106 @@ export declare class Schema extends pulumi.CustomResource {
|
|
|
42
28
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
29
|
*/
|
|
44
30
|
static isInstance(obj: any): obj is Schema;
|
|
31
|
+
/**
|
|
32
|
+
* The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
33
|
+
*/
|
|
34
|
+
readonly catalog: pulumi.Output<string>;
|
|
45
35
|
/**
|
|
46
36
|
* Specifies a comment for the schema.
|
|
47
37
|
*/
|
|
48
38
|
readonly comment: pulumi.Output<string | undefined>;
|
|
49
39
|
/**
|
|
50
|
-
* Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the
|
|
40
|
+
* Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
51
41
|
*/
|
|
52
|
-
readonly
|
|
42
|
+
readonly dataRetentionTimeInDays: pulumi.Output<number>;
|
|
53
43
|
/**
|
|
54
44
|
* The database in which to create the schema.
|
|
55
45
|
*/
|
|
56
46
|
readonly database: pulumi.Output<string>;
|
|
57
47
|
/**
|
|
58
|
-
* Specifies a
|
|
48
|
+
* Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
|
|
49
|
+
*/
|
|
50
|
+
readonly defaultDdlCollation: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
|
|
59
53
|
*/
|
|
60
|
-
readonly
|
|
54
|
+
readonly describeOutputs: pulumi.Output<outputs.SchemaDescribeOutput[]>;
|
|
61
55
|
/**
|
|
62
|
-
*
|
|
56
|
+
* If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
63
57
|
*/
|
|
64
|
-
readonly
|
|
58
|
+
readonly enableConsoleOutput: pulumi.Output<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
61
|
+
*/
|
|
62
|
+
readonly externalVolume: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. 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.
|
|
65
|
+
*/
|
|
66
|
+
readonly isTransient: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
69
|
+
*/
|
|
70
|
+
readonly logLevel: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
73
|
+
*/
|
|
74
|
+
readonly maxDataExtensionTimeInDays: pulumi.Output<number>;
|
|
65
75
|
/**
|
|
66
76
|
* Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
67
77
|
*/
|
|
68
78
|
readonly name: pulumi.Output<string>;
|
|
69
79
|
/**
|
|
70
|
-
*
|
|
71
|
-
|
|
72
|
-
|
|
80
|
+
* Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
81
|
+
*/
|
|
82
|
+
readonly parameters: pulumi.Output<outputs.SchemaParameter[]>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
85
|
+
*/
|
|
86
|
+
readonly pipeExecutionPaused: pulumi.Output<boolean>;
|
|
87
|
+
/**
|
|
88
|
+
* If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
89
|
+
*/
|
|
90
|
+
readonly quotedIdentifiersIgnoreCase: pulumi.Output<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
93
|
+
*/
|
|
94
|
+
readonly replaceInvalidCharacters: pulumi.Output<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Outputs the result of `SHOW SCHEMA` for the given object.
|
|
97
|
+
*/
|
|
98
|
+
readonly showOutputs: pulumi.Output<outputs.SchemaShowOutput[]>;
|
|
99
|
+
/**
|
|
100
|
+
* The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
101
|
+
*/
|
|
102
|
+
readonly storageSerializationPolicy: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
105
|
+
*/
|
|
106
|
+
readonly suspendTaskAfterNumFailures: pulumi.Output<number>;
|
|
107
|
+
/**
|
|
108
|
+
* Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
109
|
+
*/
|
|
110
|
+
readonly taskAutoRetryAttempts: pulumi.Output<number>;
|
|
111
|
+
/**
|
|
112
|
+
* Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
113
|
+
*/
|
|
114
|
+
readonly traceLevel: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
73
117
|
*/
|
|
74
|
-
readonly
|
|
118
|
+
readonly userTaskManagedInitialWarehouseSize: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Minimum amount of time between Triggered Task executions in seconds.
|
|
121
|
+
*/
|
|
122
|
+
readonly userTaskMinimumTriggerIntervalInSeconds: pulumi.Output<number>;
|
|
123
|
+
/**
|
|
124
|
+
* User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
125
|
+
*/
|
|
126
|
+
readonly userTaskTimeoutMs: pulumi.Output<number>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. 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.
|
|
129
|
+
*/
|
|
130
|
+
readonly withManagedAccess: pulumi.Output<string | undefined>;
|
|
75
131
|
/**
|
|
76
132
|
* Create a Schema resource with the given unique name, arguments, and options.
|
|
77
133
|
*
|
|
@@ -85,69 +141,197 @@ export declare class Schema extends pulumi.CustomResource {
|
|
|
85
141
|
* Input properties used for looking up and filtering Schema resources.
|
|
86
142
|
*/
|
|
87
143
|
export interface SchemaState {
|
|
144
|
+
/**
|
|
145
|
+
* The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
146
|
+
*/
|
|
147
|
+
catalog?: pulumi.Input<string>;
|
|
88
148
|
/**
|
|
89
149
|
* Specifies a comment for the schema.
|
|
90
150
|
*/
|
|
91
151
|
comment?: pulumi.Input<string>;
|
|
92
152
|
/**
|
|
93
|
-
* Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the
|
|
153
|
+
* Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
94
154
|
*/
|
|
95
|
-
|
|
155
|
+
dataRetentionTimeInDays?: pulumi.Input<number>;
|
|
96
156
|
/**
|
|
97
157
|
* The database in which to create the schema.
|
|
98
158
|
*/
|
|
99
159
|
database?: pulumi.Input<string>;
|
|
100
160
|
/**
|
|
101
|
-
* Specifies a
|
|
161
|
+
* Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
|
|
162
|
+
*/
|
|
163
|
+
defaultDdlCollation?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Outputs the result of `DESCRIBE SCHEMA` for the given object. In order to handle this output, one must grant sufficient privileges, e.g. grant*ownership on all objects in the schema.
|
|
166
|
+
*/
|
|
167
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.SchemaDescribeOutput>[]>;
|
|
168
|
+
/**
|
|
169
|
+
* If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
170
|
+
*/
|
|
171
|
+
enableConsoleOutput?: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
102
174
|
*/
|
|
103
|
-
|
|
175
|
+
externalVolume?: pulumi.Input<string>;
|
|
104
176
|
/**
|
|
105
|
-
* Specifies
|
|
177
|
+
* Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. 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.
|
|
106
178
|
*/
|
|
107
|
-
isTransient?: pulumi.Input<
|
|
179
|
+
isTransient?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
182
|
+
*/
|
|
183
|
+
logLevel?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
186
|
+
*/
|
|
187
|
+
maxDataExtensionTimeInDays?: pulumi.Input<number>;
|
|
108
188
|
/**
|
|
109
189
|
* Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
110
190
|
*/
|
|
111
191
|
name?: pulumi.Input<string>;
|
|
112
192
|
/**
|
|
113
|
-
*
|
|
114
|
-
|
|
115
|
-
|
|
193
|
+
* Outputs the result of `SHOW PARAMETERS IN SCHEMA` for the given object.
|
|
194
|
+
*/
|
|
195
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.SchemaParameter>[]>;
|
|
196
|
+
/**
|
|
197
|
+
* Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
198
|
+
*/
|
|
199
|
+
pipeExecutionPaused?: pulumi.Input<boolean>;
|
|
200
|
+
/**
|
|
201
|
+
* If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
202
|
+
*/
|
|
203
|
+
quotedIdentifiersIgnoreCase?: pulumi.Input<boolean>;
|
|
204
|
+
/**
|
|
205
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
206
|
+
*/
|
|
207
|
+
replaceInvalidCharacters?: pulumi.Input<boolean>;
|
|
208
|
+
/**
|
|
209
|
+
* Outputs the result of `SHOW SCHEMA` for the given object.
|
|
116
210
|
*/
|
|
117
|
-
|
|
211
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.SchemaShowOutput>[]>;
|
|
212
|
+
/**
|
|
213
|
+
* The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
214
|
+
*/
|
|
215
|
+
storageSerializationPolicy?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
218
|
+
*/
|
|
219
|
+
suspendTaskAfterNumFailures?: pulumi.Input<number>;
|
|
220
|
+
/**
|
|
221
|
+
* Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
222
|
+
*/
|
|
223
|
+
taskAutoRetryAttempts?: pulumi.Input<number>;
|
|
224
|
+
/**
|
|
225
|
+
* Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
226
|
+
*/
|
|
227
|
+
traceLevel?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
230
|
+
*/
|
|
231
|
+
userTaskManagedInitialWarehouseSize?: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* Minimum amount of time between Triggered Task executions in seconds.
|
|
234
|
+
*/
|
|
235
|
+
userTaskMinimumTriggerIntervalInSeconds?: pulumi.Input<number>;
|
|
236
|
+
/**
|
|
237
|
+
* User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
238
|
+
*/
|
|
239
|
+
userTaskTimeoutMs?: pulumi.Input<number>;
|
|
240
|
+
/**
|
|
241
|
+
* Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. 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.
|
|
242
|
+
*/
|
|
243
|
+
withManagedAccess?: pulumi.Input<string>;
|
|
118
244
|
}
|
|
119
245
|
/**
|
|
120
246
|
* The set of arguments for constructing a Schema resource.
|
|
121
247
|
*/
|
|
122
248
|
export interface SchemaArgs {
|
|
249
|
+
/**
|
|
250
|
+
* The database parameter that specifies the default catalog to use for Iceberg tables. For more information, see [CATALOG](https://docs.snowflake.com/en/sql-reference/parameters#catalog).
|
|
251
|
+
*/
|
|
252
|
+
catalog?: pulumi.Input<string>;
|
|
123
253
|
/**
|
|
124
254
|
* Specifies a comment for the schema.
|
|
125
255
|
*/
|
|
126
256
|
comment?: pulumi.Input<string>;
|
|
127
257
|
/**
|
|
128
|
-
* Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the
|
|
258
|
+
* Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. For more details, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
|
|
129
259
|
*/
|
|
130
|
-
|
|
260
|
+
dataRetentionTimeInDays?: pulumi.Input<number>;
|
|
131
261
|
/**
|
|
132
262
|
* The database in which to create the schema.
|
|
133
263
|
*/
|
|
134
264
|
database: pulumi.Input<string>;
|
|
135
265
|
/**
|
|
136
|
-
* Specifies a
|
|
266
|
+
* Specifies a default collation specification for all schemas and tables added to the database. It can be overridden on schema or table level. For more information, see [collation specification](https://docs.snowflake.com/en/sql-reference/collation#label-collation-specification).
|
|
267
|
+
*/
|
|
268
|
+
defaultDdlCollation?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* If true, enables stdout/stderr fast path logging for anonymous stored procedures.
|
|
137
271
|
*/
|
|
138
|
-
|
|
272
|
+
enableConsoleOutput?: pulumi.Input<boolean>;
|
|
139
273
|
/**
|
|
140
|
-
*
|
|
274
|
+
* The database parameter that specifies the default external volume to use for Iceberg tables. For more information, see [EXTERNAL_VOLUME](https://docs.snowflake.com/en/sql-reference/parameters#external-volume).
|
|
141
275
|
*/
|
|
142
|
-
|
|
276
|
+
externalVolume?: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* Specifies the schema as transient. Transient schemas do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss. 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
|
+
*/
|
|
280
|
+
isTransient?: pulumi.Input<string>;
|
|
281
|
+
/**
|
|
282
|
+
* Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF]. Messages at the specified level (and at more severe levels) are ingested. For more information, see [LOG_LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-log-level).
|
|
283
|
+
*/
|
|
284
|
+
logLevel?: pulumi.Input<string>;
|
|
285
|
+
/**
|
|
286
|
+
* Object parameter that specifies the maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. For a detailed description of this parameter, see [MAX*DATA*EXTENSION*TIME*IN_DAYS](https://docs.snowflake.com/en/sql-reference/parameters.html#label-max-data-extension-time-in-days).
|
|
287
|
+
*/
|
|
288
|
+
maxDataExtensionTimeInDays?: pulumi.Input<number>;
|
|
143
289
|
/**
|
|
144
290
|
* Specifies the identifier for the schema; must be unique for the database in which the schema is created.
|
|
145
291
|
*/
|
|
146
292
|
name?: pulumi.Input<string>;
|
|
147
293
|
/**
|
|
148
|
-
*
|
|
149
|
-
|
|
150
|
-
|
|
294
|
+
* Specifies whether to pause a running pipe, primarily in preparation for transferring ownership of the pipe to a different role. For more information, see [PIPE*EXECUTION*PAUSED](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused).
|
|
295
|
+
*/
|
|
296
|
+
pipeExecutionPaused?: pulumi.Input<boolean>;
|
|
297
|
+
/**
|
|
298
|
+
* If true, the case of quoted identifiers is ignored. For more information, see [QUOTED*IDENTIFIERS*IGNORE_CASE](https://docs.snowflake.com/en/sql-reference/parameters#quoted-identifiers-ignore-case).
|
|
299
|
+
*/
|
|
300
|
+
quotedIdentifiersIgnoreCase?: pulumi.Input<boolean>;
|
|
301
|
+
/**
|
|
302
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (�) in query results for an Iceberg table. You can only set this parameter for tables that use an external Iceberg catalog. For more information, see [REPLACE*INVALID*CHARACTERS](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
303
|
+
*/
|
|
304
|
+
replaceInvalidCharacters?: pulumi.Input<boolean>;
|
|
305
|
+
/**
|
|
306
|
+
* The storage serialization policy for Iceberg tables that use Snowflake as the catalog. Valid options are: [COMPATIBLE OPTIMIZED]. COMPATIBLE: Snowflake performs encoding and compression of data files that ensures interoperability with third-party compute engines. OPTIMIZED: Snowflake performs encoding and compression of data files that ensures the best table performance within Snowflake. For more information, see [STORAGE*SERIALIZATION*POLICY](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
307
|
+
*/
|
|
308
|
+
storageSerializationPolicy?: pulumi.Input<string>;
|
|
309
|
+
/**
|
|
310
|
+
* How many times a task must fail in a row before it is automatically suspended. 0 disables auto-suspending. For more information, see [SUSPEND*TASK*AFTER*NUM*FAILURES](https://docs.snowflake.com/en/sql-reference/parameters#suspend-task-after-num-failures).
|
|
311
|
+
*/
|
|
312
|
+
suspendTaskAfterNumFailures?: pulumi.Input<number>;
|
|
313
|
+
/**
|
|
314
|
+
* Maximum automatic retries allowed for a user task. For more information, see [TASK*AUTO*RETRY_ATTEMPTS](https://docs.snowflake.com/en/sql-reference/parameters#task-auto-retry-attempts).
|
|
315
|
+
*/
|
|
316
|
+
taskAutoRetryAttempts?: pulumi.Input<number>;
|
|
317
|
+
/**
|
|
318
|
+
* Controls how trace events are ingested into the event table. Valid options are: [ALWAYS ON*EVENT OFF]. For information about levels, see [TRACE*LEVEL](https://docs.snowflake.com/en/sql-reference/parameters.html#label-trace-level).
|
|
319
|
+
*/
|
|
320
|
+
traceLevel?: pulumi.Input<string>;
|
|
321
|
+
/**
|
|
322
|
+
* The initial size of warehouse to use for managed warehouses in the absence of history. For more information, see [USER*TASK*MANAGED*INITIAL*WAREHOUSE_SIZE](https://docs.snowflake.com/en/sql-reference/parameters#user-task-managed-initial-warehouse-size).
|
|
323
|
+
*/
|
|
324
|
+
userTaskManagedInitialWarehouseSize?: pulumi.Input<string>;
|
|
325
|
+
/**
|
|
326
|
+
* Minimum amount of time between Triggered Task executions in seconds.
|
|
327
|
+
*/
|
|
328
|
+
userTaskMinimumTriggerIntervalInSeconds?: pulumi.Input<number>;
|
|
329
|
+
/**
|
|
330
|
+
* User task execution timeout in milliseconds. For more information, see [USER*TASK*TIMEOUT_MS](https://docs.snowflake.com/en/sql-reference/parameters#user-task-timeout-ms).
|
|
331
|
+
*/
|
|
332
|
+
userTaskTimeoutMs?: pulumi.Input<number>;
|
|
333
|
+
/**
|
|
334
|
+
* Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner. 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.
|
|
151
335
|
*/
|
|
152
|
-
|
|
336
|
+
withManagedAccess?: pulumi.Input<string>;
|
|
153
337
|
}
|