@pulumi/snowflake 0.59.0-alpha.1726827563 → 0.59.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/getDatabaseRoles.d.ts +4 -0
- package/getDatabaseRoles.js +4 -0
- package/getDatabaseRoles.js.map +1 -1
- package/getMaskingPolicies.d.ts +46 -37
- package/getMaskingPolicies.js +14 -24
- package/getMaskingPolicies.js.map +1 -1
- package/getResourceMonitors.d.ts +29 -17
- package/getResourceMonitors.js +14 -18
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +46 -37
- package/getRowAccessPolicies.js +14 -24
- package/getRowAccessPolicies.js.map +1 -1
- package/getViews.d.ts +4 -0
- package/getViews.js +4 -0
- package/getViews.js.map +1 -1
- package/index.d.ts +1 -1
- package/maskingPolicy.d.ts +54 -64
- package/maskingPolicy.js +15 -17
- package/maskingPolicy.js.map +1 -1
- package/package.json +2 -2
- package/resourceMonitor.d.ts +33 -83
- package/resourceMonitor.js +2 -8
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +48 -38
- package/rowAccessPolicy.js +15 -13
- package/rowAccessPolicy.js.map +1 -1
- package/types/input.d.ts +198 -6
- package/types/output.d.ts +203 -11
- package/view.d.ts +3 -3
- package/warehouse.d.ts +2 -2
package/maskingPolicy.d.ts
CHANGED
|
@@ -4,10 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* format is database name | schema name | policy name
|
|
8
|
-
*
|
|
9
7
|
* ```sh
|
|
10
|
-
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '
|
|
8
|
+
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '"<database_name>"."<schema_name>"."<masking_policy_name>"'
|
|
11
9
|
* ```
|
|
12
10
|
*/
|
|
13
11
|
export declare class MaskingPolicy extends pulumi.CustomResource {
|
|
@@ -27,49 +25,49 @@ export declare class MaskingPolicy extends pulumi.CustomResource {
|
|
|
27
25
|
*/
|
|
28
26
|
static isInstance(obj: any): obj is MaskingPolicy;
|
|
29
27
|
/**
|
|
30
|
-
*
|
|
28
|
+
* List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
31
29
|
*/
|
|
32
|
-
readonly
|
|
30
|
+
readonly arguments: pulumi.Output<outputs.MaskingPolicyArgument[]>;
|
|
33
31
|
/**
|
|
34
|
-
*
|
|
32
|
+
* Specifies the SQL expression that transforms the data. 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.
|
|
35
33
|
*/
|
|
36
|
-
readonly
|
|
34
|
+
readonly body: pulumi.Output<string>;
|
|
37
35
|
/**
|
|
38
|
-
* Specifies
|
|
36
|
+
* Specifies a comment for the masking policy.
|
|
39
37
|
*/
|
|
40
|
-
readonly
|
|
38
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
41
39
|
/**
|
|
42
|
-
*
|
|
40
|
+
* The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
43
41
|
*/
|
|
44
|
-
readonly
|
|
42
|
+
readonly database: pulumi.Output<string>;
|
|
45
43
|
/**
|
|
46
|
-
*
|
|
44
|
+
* Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
47
45
|
*/
|
|
48
|
-
readonly
|
|
46
|
+
readonly describeOutputs: pulumi.Output<outputs.MaskingPolicyDescribeOutput[]>;
|
|
49
47
|
/**
|
|
50
|
-
* Specifies the
|
|
48
|
+
* Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. 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.
|
|
51
49
|
*/
|
|
52
|
-
readonly
|
|
50
|
+
readonly exemptOtherPolicies: pulumi.Output<string | undefined>;
|
|
53
51
|
/**
|
|
54
|
-
*
|
|
52
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
55
53
|
*/
|
|
56
|
-
readonly
|
|
54
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
57
55
|
/**
|
|
58
|
-
*
|
|
56
|
+
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
59
57
|
*/
|
|
60
|
-
readonly
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
61
59
|
/**
|
|
62
|
-
*
|
|
60
|
+
* The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
63
61
|
*/
|
|
64
62
|
readonly returnDataType: pulumi.Output<string>;
|
|
65
63
|
/**
|
|
66
|
-
* The schema in which to create the masking policy.
|
|
64
|
+
* The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
67
65
|
*/
|
|
68
66
|
readonly schema: pulumi.Output<string>;
|
|
69
67
|
/**
|
|
70
|
-
*
|
|
68
|
+
* Outputs the result of `SHOW MASKING POLICY` for the given masking policy.
|
|
71
69
|
*/
|
|
72
|
-
readonly
|
|
70
|
+
readonly showOutputs: pulumi.Output<outputs.MaskingPolicyShowOutput[]>;
|
|
73
71
|
/**
|
|
74
72
|
* Create a MaskingPolicy resource with the given unique name, arguments, and options.
|
|
75
73
|
*
|
|
@@ -84,92 +82,84 @@ export declare class MaskingPolicy extends pulumi.CustomResource {
|
|
|
84
82
|
*/
|
|
85
83
|
export interface MaskingPolicyState {
|
|
86
84
|
/**
|
|
87
|
-
*
|
|
85
|
+
* List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
88
86
|
*/
|
|
89
|
-
|
|
87
|
+
arguments?: pulumi.Input<pulumi.Input<inputs.MaskingPolicyArgument>[]>;
|
|
90
88
|
/**
|
|
91
|
-
*
|
|
89
|
+
* Specifies the SQL expression that transforms the data. 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.
|
|
92
90
|
*/
|
|
93
|
-
|
|
91
|
+
body?: pulumi.Input<string>;
|
|
94
92
|
/**
|
|
95
|
-
* Specifies
|
|
93
|
+
* Specifies a comment for the masking policy.
|
|
96
94
|
*/
|
|
97
|
-
|
|
95
|
+
comment?: pulumi.Input<string>;
|
|
98
96
|
/**
|
|
99
|
-
*
|
|
97
|
+
* The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
100
98
|
*/
|
|
101
|
-
|
|
99
|
+
database?: pulumi.Input<string>;
|
|
102
100
|
/**
|
|
103
|
-
*
|
|
101
|
+
* Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
|
|
104
102
|
*/
|
|
105
|
-
|
|
103
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.MaskingPolicyDescribeOutput>[]>;
|
|
106
104
|
/**
|
|
107
|
-
* Specifies the
|
|
105
|
+
* Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. 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.
|
|
108
106
|
*/
|
|
109
|
-
|
|
107
|
+
exemptOtherPolicies?: pulumi.Input<string>;
|
|
110
108
|
/**
|
|
111
|
-
*
|
|
109
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
112
110
|
*/
|
|
113
|
-
|
|
111
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
114
112
|
/**
|
|
115
|
-
*
|
|
113
|
+
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
116
114
|
*/
|
|
117
|
-
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
118
116
|
/**
|
|
119
|
-
*
|
|
117
|
+
* The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
120
118
|
*/
|
|
121
119
|
returnDataType?: pulumi.Input<string>;
|
|
122
120
|
/**
|
|
123
|
-
* The schema in which to create the masking policy.
|
|
121
|
+
* The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
124
122
|
*/
|
|
125
123
|
schema?: pulumi.Input<string>;
|
|
126
124
|
/**
|
|
127
|
-
*
|
|
125
|
+
* Outputs the result of `SHOW MASKING POLICY` for the given masking policy.
|
|
128
126
|
*/
|
|
129
|
-
|
|
127
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.MaskingPolicyShowOutput>[]>;
|
|
130
128
|
}
|
|
131
129
|
/**
|
|
132
130
|
* The set of arguments for constructing a MaskingPolicy resource.
|
|
133
131
|
*/
|
|
134
132
|
export interface MaskingPolicyArgs {
|
|
135
133
|
/**
|
|
136
|
-
*
|
|
134
|
+
* List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
|
|
137
135
|
*/
|
|
138
|
-
|
|
136
|
+
arguments: pulumi.Input<pulumi.Input<inputs.MaskingPolicyArgument>[]>;
|
|
139
137
|
/**
|
|
140
|
-
*
|
|
138
|
+
* Specifies the SQL expression that transforms the data. 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.
|
|
141
139
|
*/
|
|
142
|
-
|
|
140
|
+
body: pulumi.Input<string>;
|
|
143
141
|
/**
|
|
144
|
-
* Specifies
|
|
142
|
+
* Specifies a comment for the masking policy.
|
|
145
143
|
*/
|
|
146
|
-
|
|
144
|
+
comment?: pulumi.Input<string>;
|
|
147
145
|
/**
|
|
148
|
-
*
|
|
146
|
+
* The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
149
147
|
*/
|
|
150
|
-
|
|
148
|
+
database: pulumi.Input<string>;
|
|
151
149
|
/**
|
|
152
|
-
* Specifies the
|
|
150
|
+
* Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. 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.
|
|
153
151
|
*/
|
|
154
|
-
|
|
152
|
+
exemptOtherPolicies?: pulumi.Input<string>;
|
|
155
153
|
/**
|
|
156
|
-
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
|
|
154
|
+
* Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
157
155
|
*/
|
|
158
156
|
name?: pulumi.Input<string>;
|
|
159
157
|
/**
|
|
160
|
-
*
|
|
161
|
-
*/
|
|
162
|
-
orReplace?: pulumi.Input<boolean>;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the data type to return.
|
|
158
|
+
* The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
165
159
|
*/
|
|
166
160
|
returnDataType: pulumi.Input<string>;
|
|
167
161
|
/**
|
|
168
|
-
* The schema in which to create the masking policy.
|
|
162
|
+
* The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
169
163
|
*/
|
|
170
164
|
schema: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
|
|
173
|
-
*/
|
|
174
|
-
signature: pulumi.Input<inputs.MaskingPolicySignature>;
|
|
175
165
|
}
|
package/maskingPolicy.js
CHANGED
|
@@ -8,10 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* format is database name | schema name | policy name
|
|
12
|
-
*
|
|
13
11
|
* ```sh
|
|
14
|
-
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '
|
|
12
|
+
* $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '"<database_name>"."<schema_name>"."<masking_policy_name>"'
|
|
15
13
|
* ```
|
|
16
14
|
*/
|
|
17
15
|
class MaskingPolicy extends pulumi.CustomResource {
|
|
@@ -42,46 +40,46 @@ class MaskingPolicy extends pulumi.CustomResource {
|
|
|
42
40
|
opts = opts || {};
|
|
43
41
|
if (opts.id) {
|
|
44
42
|
const state = argsOrState;
|
|
43
|
+
resourceInputs["arguments"] = state ? state.arguments : undefined;
|
|
44
|
+
resourceInputs["body"] = state ? state.body : undefined;
|
|
45
45
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
46
46
|
resourceInputs["database"] = state ? state.database : undefined;
|
|
47
|
+
resourceInputs["describeOutputs"] = state ? state.describeOutputs : undefined;
|
|
47
48
|
resourceInputs["exemptOtherPolicies"] = state ? state.exemptOtherPolicies : undefined;
|
|
48
49
|
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
49
|
-
resourceInputs["ifNotExists"] = state ? state.ifNotExists : undefined;
|
|
50
|
-
resourceInputs["maskingExpression"] = state ? state.maskingExpression : undefined;
|
|
51
50
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
52
|
-
resourceInputs["orReplace"] = state ? state.orReplace : undefined;
|
|
53
51
|
resourceInputs["returnDataType"] = state ? state.returnDataType : undefined;
|
|
54
52
|
resourceInputs["schema"] = state ? state.schema : undefined;
|
|
55
|
-
resourceInputs["
|
|
53
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
56
54
|
}
|
|
57
55
|
else {
|
|
58
56
|
const args = argsOrState;
|
|
57
|
+
if ((!args || args.arguments === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'arguments'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.body === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'body'");
|
|
62
|
+
}
|
|
59
63
|
if ((!args || args.database === undefined) && !opts.urn) {
|
|
60
64
|
throw new Error("Missing required property 'database'");
|
|
61
65
|
}
|
|
62
|
-
if ((!args || args.maskingExpression === undefined) && !opts.urn) {
|
|
63
|
-
throw new Error("Missing required property 'maskingExpression'");
|
|
64
|
-
}
|
|
65
66
|
if ((!args || args.returnDataType === undefined) && !opts.urn) {
|
|
66
67
|
throw new Error("Missing required property 'returnDataType'");
|
|
67
68
|
}
|
|
68
69
|
if ((!args || args.schema === undefined) && !opts.urn) {
|
|
69
70
|
throw new Error("Missing required property 'schema'");
|
|
70
71
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
72
|
+
resourceInputs["arguments"] = args ? args.arguments : undefined;
|
|
73
|
+
resourceInputs["body"] = args ? args.body : undefined;
|
|
74
74
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
75
75
|
resourceInputs["database"] = args ? args.database : undefined;
|
|
76
76
|
resourceInputs["exemptOtherPolicies"] = args ? args.exemptOtherPolicies : undefined;
|
|
77
|
-
resourceInputs["ifNotExists"] = args ? args.ifNotExists : undefined;
|
|
78
|
-
resourceInputs["maskingExpression"] = args ? args.maskingExpression : undefined;
|
|
79
77
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
|
-
resourceInputs["orReplace"] = args ? args.orReplace : undefined;
|
|
81
78
|
resourceInputs["returnDataType"] = args ? args.returnDataType : undefined;
|
|
82
79
|
resourceInputs["schema"] = args ? args.schema : undefined;
|
|
83
|
-
resourceInputs["
|
|
80
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
84
81
|
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
85
83
|
}
|
|
86
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
85
|
super(MaskingPolicy.__pulumiType, name, resourceInputs, opts);
|
package/maskingPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maskingPolicy.js","sourceRoot":"","sources":["../maskingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"maskingPolicy.js","sourceRoot":"","sources":["../maskingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,E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OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,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,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAhIL,sCAiIC;AAnHG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/snowflake",
|
|
3
|
-
"version": "0.59.0
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing snowflake cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "snowflake",
|
|
26
|
-
"version": "0.59.0
|
|
26
|
+
"version": "0.59.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/resourceMonitor.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* ## Import
|
|
4
6
|
*
|
|
@@ -25,65 +27,49 @@ export declare class ResourceMonitor extends pulumi.CustomResource {
|
|
|
25
27
|
*/
|
|
26
28
|
static isInstance(obj: any): obj is ResourceMonitor;
|
|
27
29
|
/**
|
|
28
|
-
* The number of credits allocated
|
|
30
|
+
* The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
|
|
29
31
|
*/
|
|
30
|
-
readonly creditQuota: pulumi.Output<number>;
|
|
32
|
+
readonly creditQuota: pulumi.Output<number | undefined>;
|
|
31
33
|
/**
|
|
32
34
|
* The date and time when the resource monitor suspends the assigned warehouses.
|
|
33
35
|
*/
|
|
34
36
|
readonly endTimestamp: pulumi.Output<string | undefined>;
|
|
35
37
|
/**
|
|
36
|
-
* The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set
|
|
38
|
+
* The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `startTimestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
|
|
37
39
|
*/
|
|
38
|
-
readonly frequency: pulumi.Output<string>;
|
|
40
|
+
readonly frequency: pulumi.Output<string | undefined>;
|
|
39
41
|
/**
|
|
40
42
|
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
41
43
|
*/
|
|
42
44
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
45
|
/**
|
|
44
|
-
* Identifier for the resource monitor; must be unique for your account.
|
|
46
|
+
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
45
47
|
*/
|
|
46
48
|
readonly name: pulumi.Output<string>;
|
|
47
49
|
/**
|
|
48
|
-
*
|
|
50
|
+
* Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notifyUsers field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
|
|
49
51
|
*/
|
|
50
52
|
readonly notifyTriggers: pulumi.Output<number[] | undefined>;
|
|
51
53
|
/**
|
|
52
|
-
* Specifies the list of users to receive email notifications on resource monitors.
|
|
54
|
+
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors.
|
|
53
55
|
*/
|
|
54
56
|
readonly notifyUsers: pulumi.Output<string[] | undefined>;
|
|
55
57
|
/**
|
|
56
|
-
*
|
|
58
|
+
* Outputs the result of `SHOW RESOURCE MONITORS` for the given resource monitor.
|
|
57
59
|
*/
|
|
58
|
-
readonly
|
|
60
|
+
readonly showOutputs: pulumi.Output<outputs.ResourceMonitorShowOutput[]>;
|
|
59
61
|
/**
|
|
60
|
-
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
|
|
62
|
+
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `startTimestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
|
|
61
63
|
*/
|
|
62
|
-
readonly startTimestamp: pulumi.Output<string>;
|
|
64
|
+
readonly startTimestamp: pulumi.Output<string | undefined>;
|
|
63
65
|
/**
|
|
64
|
-
*
|
|
66
|
+
* Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
|
|
65
67
|
*/
|
|
66
68
|
readonly suspendImmediateTrigger: pulumi.Output<number | undefined>;
|
|
67
69
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* @deprecated Use suspendImmediateTrigger instead
|
|
71
|
-
*/
|
|
72
|
-
readonly suspendImmediateTriggers: pulumi.Output<number[] | undefined>;
|
|
73
|
-
/**
|
|
74
|
-
* The number that represents the percentage threshold at which to suspend all warehouses.
|
|
70
|
+
* Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
|
|
75
71
|
*/
|
|
76
72
|
readonly suspendTrigger: pulumi.Output<number | undefined>;
|
|
77
|
-
/**
|
|
78
|
-
* A list of percentage thresholds at which to suspend all warehouses.
|
|
79
|
-
*
|
|
80
|
-
* @deprecated Use suspendTrigger instead
|
|
81
|
-
*/
|
|
82
|
-
readonly suspendTriggers: pulumi.Output<number[] | undefined>;
|
|
83
|
-
/**
|
|
84
|
-
* A list of warehouses to apply the resource monitor to.
|
|
85
|
-
*/
|
|
86
|
-
readonly warehouses: pulumi.Output<string[] | undefined>;
|
|
87
73
|
/**
|
|
88
74
|
* Create a ResourceMonitor resource with the given unique name, arguments, and options.
|
|
89
75
|
*
|
|
@@ -98,7 +84,7 @@ export declare class ResourceMonitor extends pulumi.CustomResource {
|
|
|
98
84
|
*/
|
|
99
85
|
export interface ResourceMonitorState {
|
|
100
86
|
/**
|
|
101
|
-
* The number of credits allocated
|
|
87
|
+
* The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
|
|
102
88
|
*/
|
|
103
89
|
creditQuota?: pulumi.Input<number>;
|
|
104
90
|
/**
|
|
@@ -106,7 +92,7 @@ export interface ResourceMonitorState {
|
|
|
106
92
|
*/
|
|
107
93
|
endTimestamp?: pulumi.Input<string>;
|
|
108
94
|
/**
|
|
109
|
-
* The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set
|
|
95
|
+
* The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `startTimestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
|
|
110
96
|
*/
|
|
111
97
|
frequency?: pulumi.Input<string>;
|
|
112
98
|
/**
|
|
@@ -114,56 +100,40 @@ export interface ResourceMonitorState {
|
|
|
114
100
|
*/
|
|
115
101
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
116
102
|
/**
|
|
117
|
-
* Identifier for the resource monitor; must be unique for your account.
|
|
103
|
+
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
118
104
|
*/
|
|
119
105
|
name?: pulumi.Input<string>;
|
|
120
106
|
/**
|
|
121
|
-
*
|
|
107
|
+
* Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notifyUsers field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
|
|
122
108
|
*/
|
|
123
109
|
notifyTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
124
110
|
/**
|
|
125
|
-
* Specifies the list of users to receive email notifications on resource monitors.
|
|
111
|
+
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors.
|
|
126
112
|
*/
|
|
127
113
|
notifyUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
114
|
/**
|
|
129
|
-
*
|
|
115
|
+
* Outputs the result of `SHOW RESOURCE MONITORS` for the given resource monitor.
|
|
130
116
|
*/
|
|
131
|
-
|
|
117
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.ResourceMonitorShowOutput>[]>;
|
|
132
118
|
/**
|
|
133
|
-
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
|
|
119
|
+
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `startTimestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
|
|
134
120
|
*/
|
|
135
121
|
startTimestamp?: pulumi.Input<string>;
|
|
136
122
|
/**
|
|
137
|
-
*
|
|
123
|
+
* Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
|
|
138
124
|
*/
|
|
139
125
|
suspendImmediateTrigger?: pulumi.Input<number>;
|
|
140
126
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* @deprecated Use suspendImmediateTrigger instead
|
|
144
|
-
*/
|
|
145
|
-
suspendImmediateTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
146
|
-
/**
|
|
147
|
-
* The number that represents the percentage threshold at which to suspend all warehouses.
|
|
127
|
+
* Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
|
|
148
128
|
*/
|
|
149
129
|
suspendTrigger?: pulumi.Input<number>;
|
|
150
|
-
/**
|
|
151
|
-
* A list of percentage thresholds at which to suspend all warehouses.
|
|
152
|
-
*
|
|
153
|
-
* @deprecated Use suspendTrigger instead
|
|
154
|
-
*/
|
|
155
|
-
suspendTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
156
|
-
/**
|
|
157
|
-
* A list of warehouses to apply the resource monitor to.
|
|
158
|
-
*/
|
|
159
|
-
warehouses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
160
130
|
}
|
|
161
131
|
/**
|
|
162
132
|
* The set of arguments for constructing a ResourceMonitor resource.
|
|
163
133
|
*/
|
|
164
134
|
export interface ResourceMonitorArgs {
|
|
165
135
|
/**
|
|
166
|
-
* The number of credits allocated
|
|
136
|
+
* The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
|
|
167
137
|
*/
|
|
168
138
|
creditQuota?: pulumi.Input<number>;
|
|
169
139
|
/**
|
|
@@ -171,51 +141,31 @@ export interface ResourceMonitorArgs {
|
|
|
171
141
|
*/
|
|
172
142
|
endTimestamp?: pulumi.Input<string>;
|
|
173
143
|
/**
|
|
174
|
-
* The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set
|
|
144
|
+
* The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `startTimestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
|
|
175
145
|
*/
|
|
176
146
|
frequency?: pulumi.Input<string>;
|
|
177
147
|
/**
|
|
178
|
-
* Identifier for the resource monitor; must be unique for your account.
|
|
148
|
+
* Identifier for the resource monitor; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
|
|
179
149
|
*/
|
|
180
150
|
name?: pulumi.Input<string>;
|
|
181
151
|
/**
|
|
182
|
-
*
|
|
152
|
+
* Specifies a list of percentages of the credit quota. After reaching any of the values the users passed in the notifyUsers field will be notified (to receive the notification they should have notifications enabled). Values over 100 are supported.
|
|
183
153
|
*/
|
|
184
154
|
notifyTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
185
155
|
/**
|
|
186
|
-
* Specifies the list of users to receive email notifications on resource monitors.
|
|
156
|
+
* Specifies the list of users (their identifiers) to receive email notifications on resource monitors.
|
|
187
157
|
*/
|
|
188
158
|
notifyUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
189
159
|
/**
|
|
190
|
-
*
|
|
191
|
-
*/
|
|
192
|
-
setForAccount?: pulumi.Input<boolean>;
|
|
193
|
-
/**
|
|
194
|
-
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses.
|
|
160
|
+
* The date and time when the resource monitor starts monitoring credit usage for the assigned warehouses. If you set a `startTimestamp` for a resource monitor, you must also set `frequency`. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
|
|
195
161
|
*/
|
|
196
162
|
startTimestamp?: pulumi.Input<string>;
|
|
197
163
|
/**
|
|
198
|
-
*
|
|
164
|
+
* Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses immediately cancel any currently running queries or statements. In addition, this action sends a notification to all users who have enabled notifications for themselves.
|
|
199
165
|
*/
|
|
200
166
|
suspendImmediateTrigger?: pulumi.Input<number>;
|
|
201
167
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* @deprecated Use suspendImmediateTrigger instead
|
|
205
|
-
*/
|
|
206
|
-
suspendImmediateTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
207
|
-
/**
|
|
208
|
-
* The number that represents the percentage threshold at which to suspend all warehouses.
|
|
168
|
+
* Represents a numeric value specified as a percentage of the credit quota. Values over 100 are supported. After reaching this value, all assigned warehouses while allowing currently running queries to complete will be suspended. No new queries can be executed by the warehouses until the credit quota for the resource monitor is increased. In addition, this action sends a notification to all users who have enabled notifications for themselves.
|
|
209
169
|
*/
|
|
210
170
|
suspendTrigger?: pulumi.Input<number>;
|
|
211
|
-
/**
|
|
212
|
-
* A list of percentage thresholds at which to suspend all warehouses.
|
|
213
|
-
*
|
|
214
|
-
* @deprecated Use suspendTrigger instead
|
|
215
|
-
*/
|
|
216
|
-
suspendTriggers?: pulumi.Input<pulumi.Input<number>[]>;
|
|
217
|
-
/**
|
|
218
|
-
* A list of warehouses to apply the resource monitor to.
|
|
219
|
-
*/
|
|
220
|
-
warehouses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
221
171
|
}
|
package/resourceMonitor.js
CHANGED
|
@@ -49,13 +49,10 @@ class ResourceMonitor extends pulumi.CustomResource {
|
|
|
49
49
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
50
50
|
resourceInputs["notifyTriggers"] = state ? state.notifyTriggers : undefined;
|
|
51
51
|
resourceInputs["notifyUsers"] = state ? state.notifyUsers : undefined;
|
|
52
|
-
resourceInputs["
|
|
52
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
53
53
|
resourceInputs["startTimestamp"] = state ? state.startTimestamp : undefined;
|
|
54
54
|
resourceInputs["suspendImmediateTrigger"] = state ? state.suspendImmediateTrigger : undefined;
|
|
55
|
-
resourceInputs["suspendImmediateTriggers"] = state ? state.suspendImmediateTriggers : undefined;
|
|
56
55
|
resourceInputs["suspendTrigger"] = state ? state.suspendTrigger : undefined;
|
|
57
|
-
resourceInputs["suspendTriggers"] = state ? state.suspendTriggers : undefined;
|
|
58
|
-
resourceInputs["warehouses"] = state ? state.warehouses : undefined;
|
|
59
56
|
}
|
|
60
57
|
else {
|
|
61
58
|
const args = argsOrState;
|
|
@@ -65,14 +62,11 @@ class ResourceMonitor extends pulumi.CustomResource {
|
|
|
65
62
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
66
63
|
resourceInputs["notifyTriggers"] = args ? args.notifyTriggers : undefined;
|
|
67
64
|
resourceInputs["notifyUsers"] = args ? args.notifyUsers : undefined;
|
|
68
|
-
resourceInputs["setForAccount"] = args ? args.setForAccount : undefined;
|
|
69
65
|
resourceInputs["startTimestamp"] = args ? args.startTimestamp : undefined;
|
|
70
66
|
resourceInputs["suspendImmediateTrigger"] = args ? args.suspendImmediateTrigger : undefined;
|
|
71
|
-
resourceInputs["suspendImmediateTriggers"] = args ? args.suspendImmediateTriggers : undefined;
|
|
72
67
|
resourceInputs["suspendTrigger"] = args ? args.suspendTrigger : undefined;
|
|
73
|
-
resourceInputs["suspendTriggers"] = args ? args.suspendTriggers : undefined;
|
|
74
|
-
resourceInputs["warehouses"] = args ? args.warehouses : undefined;
|
|
75
68
|
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
76
70
|
}
|
|
77
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
72
|
super(ResourceMonitor.__pulumiType, name, resourceInputs, opts);
|
package/resourceMonitor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAA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