@pulumi/snowflake 0.16.2 → 0.17.1-alpha.1677788078
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/objectParameter.d.ts +15 -10
- package/objectParameter.js +5 -6
- package/objectParameter.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
package/objectParameter.d.ts
CHANGED
|
@@ -45,6 +45,11 @@ import * as outputs from "./types/output";
|
|
|
45
45
|
* name: table.name,
|
|
46
46
|
* }],
|
|
47
47
|
* });
|
|
48
|
+
* // Setting object parameter at account level
|
|
49
|
+
* const o4 = new snowflake.ObjectParameter("o4", {
|
|
50
|
+
* key: "DATA_RETENTION_TIME_IN_DAYS",
|
|
51
|
+
* value: "89",
|
|
52
|
+
* });
|
|
48
53
|
* ```
|
|
49
54
|
*
|
|
50
55
|
* ## Import
|
|
@@ -74,13 +79,13 @@ export declare class ObjectParameter extends pulumi.CustomResource {
|
|
|
74
79
|
*/
|
|
75
80
|
readonly key: pulumi.Output<string>;
|
|
76
81
|
/**
|
|
77
|
-
* Specifies the object identifier for the object parameter.
|
|
82
|
+
* Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
78
83
|
*/
|
|
79
|
-
readonly objectIdentifiers: pulumi.Output<outputs.ObjectParameterObjectIdentifier[]>;
|
|
84
|
+
readonly objectIdentifiers: pulumi.Output<outputs.ObjectParameterObjectIdentifier[] | undefined>;
|
|
80
85
|
/**
|
|
81
|
-
* Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types).
|
|
86
|
+
* Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
82
87
|
*/
|
|
83
|
-
readonly objectType: pulumi.Output<string>;
|
|
88
|
+
readonly objectType: pulumi.Output<string | undefined>;
|
|
84
89
|
/**
|
|
85
90
|
* Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
86
91
|
*/
|
|
@@ -103,11 +108,11 @@ export interface ObjectParameterState {
|
|
|
103
108
|
*/
|
|
104
109
|
key?: pulumi.Input<string>;
|
|
105
110
|
/**
|
|
106
|
-
* Specifies the object identifier for the object parameter.
|
|
111
|
+
* Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
107
112
|
*/
|
|
108
113
|
objectIdentifiers?: pulumi.Input<pulumi.Input<inputs.ObjectParameterObjectIdentifier>[]>;
|
|
109
114
|
/**
|
|
110
|
-
* Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types).
|
|
115
|
+
* Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
111
116
|
*/
|
|
112
117
|
objectType?: pulumi.Input<string>;
|
|
113
118
|
/**
|
|
@@ -124,13 +129,13 @@ export interface ObjectParameterArgs {
|
|
|
124
129
|
*/
|
|
125
130
|
key: pulumi.Input<string>;
|
|
126
131
|
/**
|
|
127
|
-
* Specifies the object identifier for the object parameter.
|
|
132
|
+
* Specifies the object identifier for the object parameter. If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
128
133
|
*/
|
|
129
|
-
objectIdentifiers
|
|
134
|
+
objectIdentifiers?: pulumi.Input<pulumi.Input<inputs.ObjectParameterObjectIdentifier>[]>;
|
|
130
135
|
/**
|
|
131
|
-
* Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types).
|
|
136
|
+
* Type of object to which the parameter applies. Valid values are those in [object types](https://docs.snowflake.com/en/sql-reference/parameters.html#object-types). If no value is provided, then the resource will default to setting the object parameter at account level.
|
|
132
137
|
*/
|
|
133
|
-
objectType
|
|
138
|
+
objectType?: pulumi.Input<string>;
|
|
134
139
|
/**
|
|
135
140
|
* Value of object parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
136
141
|
*/
|
package/objectParameter.js
CHANGED
|
@@ -49,6 +49,11 @@ const utilities = require("./utilities");
|
|
|
49
49
|
* name: table.name,
|
|
50
50
|
* }],
|
|
51
51
|
* });
|
|
52
|
+
* // Setting object parameter at account level
|
|
53
|
+
* const o4 = new snowflake.ObjectParameter("o4", {
|
|
54
|
+
* key: "DATA_RETENTION_TIME_IN_DAYS",
|
|
55
|
+
* value: "89",
|
|
56
|
+
* });
|
|
52
57
|
* ```
|
|
53
58
|
*
|
|
54
59
|
* ## Import
|
|
@@ -95,12 +100,6 @@ class ObjectParameter extends pulumi.CustomResource {
|
|
|
95
100
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
96
101
|
throw new Error("Missing required property 'key'");
|
|
97
102
|
}
|
|
98
|
-
if ((!args || args.objectIdentifiers === undefined) && !opts.urn) {
|
|
99
|
-
throw new Error("Missing required property 'objectIdentifiers'");
|
|
100
|
-
}
|
|
101
|
-
if ((!args || args.objectType === undefined) && !opts.urn) {
|
|
102
|
-
throw new Error("Missing required property 'objectType'");
|
|
103
|
-
}
|
|
104
103
|
if ((!args || args.value === undefined) && !opts.urn) {
|
|
105
104
|
throw new Error("Missing required property 'value'");
|
|
106
105
|
}
|
package/objectParameter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectParameter.js","sourceRoot":"","sources":["../objectParameter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectParameter.js","sourceRoot":"","sources":["../objectParameter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,eAAgB,SAAQ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,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA7EL,0CA8EC;AAhEG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/snowflake",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.17.1-alpha.1677788078+26d293f8",
|
|
4
4
|
"description": "A Pulumi package for creating and managing snowflake cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource snowflake v0.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource snowflake v0.17.1-alpha.1677788078+26d293f8"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/snowflake",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.17.1-alpha.1677788078+26d293f8",
|
|
4
4
|
"description": "A Pulumi package for creating and managing snowflake cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource snowflake v0.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource snowflake v0.17.1-alpha.1677788078+26d293f8"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|