@pulumi/snowflake 0.59.0-alpha.1726726272 → 0.59.0-alpha.1726831379

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.
Files changed (106) hide show
  1. package/getAccounts.js +5 -1
  2. package/getAccounts.js.map +1 -1
  3. package/getAlerts.js +7 -1
  4. package/getAlerts.js.map +1 -1
  5. package/getCortexSearchServices.js +8 -1
  6. package/getCortexSearchServices.js.map +1 -1
  7. package/getCurrentAccount.js +2 -1
  8. package/getCurrentAccount.js.map +1 -1
  9. package/getCurrentRole.js +2 -1
  10. package/getCurrentRole.js.map +1 -1
  11. package/getDatabase.js +4 -1
  12. package/getDatabase.js.map +1 -1
  13. package/getDatabaseRole.js +5 -1
  14. package/getDatabaseRole.js.map +1 -1
  15. package/getDatabaseRoles.d.ts +4 -0
  16. package/getDatabaseRoles.js +10 -1
  17. package/getDatabaseRoles.js.map +1 -1
  18. package/getDatabases.js +9 -1
  19. package/getDatabases.js.map +1 -1
  20. package/getDynamicTables.js +8 -1
  21. package/getDynamicTables.js.map +1 -1
  22. package/getExternalFunctions.js +6 -1
  23. package/getExternalFunctions.js.map +1 -1
  24. package/getExternalTables.js +5 -1
  25. package/getExternalTables.js.map +1 -1
  26. package/getFailoverGroups.js +5 -1
  27. package/getFailoverGroups.js.map +1 -1
  28. package/getFileFormats.js +5 -1
  29. package/getFileFormats.js.map +1 -1
  30. package/getFunctions.js +5 -1
  31. package/getFunctions.js.map +1 -1
  32. package/getGrants.js +9 -1
  33. package/getGrants.js.map +1 -1
  34. package/getMaskingPolicies.d.ts +46 -37
  35. package/getMaskingPolicies.js +17 -23
  36. package/getMaskingPolicies.js.map +1 -1
  37. package/getMaterializedViews.js +5 -1
  38. package/getMaterializedViews.js.map +1 -1
  39. package/getNetworkPolicies.js +6 -1
  40. package/getNetworkPolicies.js.map +1 -1
  41. package/getParameters.js +9 -1
  42. package/getParameters.js.map +1 -1
  43. package/getPipes.js +5 -1
  44. package/getPipes.js.map +1 -1
  45. package/getProcedures.js +5 -1
  46. package/getProcedures.js.map +1 -1
  47. package/getResourceMonitors.d.ts +29 -17
  48. package/getResourceMonitors.js +15 -18
  49. package/getResourceMonitors.js.map +1 -1
  50. package/getRole.js +4 -1
  51. package/getRole.js.map +1 -1
  52. package/getRoles.js +6 -1
  53. package/getRoles.js.map +1 -1
  54. package/getRowAccessPolicies.d.ts +46 -37
  55. package/getRowAccessPolicies.js +17 -23
  56. package/getRowAccessPolicies.js.map +1 -1
  57. package/getSchemas.js +10 -1
  58. package/getSchemas.js.map +1 -1
  59. package/getSecurityIntegrations.js +6 -1
  60. package/getSecurityIntegrations.js.map +1 -1
  61. package/getSequences.js +5 -1
  62. package/getSequences.js.map +1 -1
  63. package/getShares.js +5 -1
  64. package/getShares.js.map +1 -1
  65. package/getStages.js +5 -1
  66. package/getStages.js.map +1 -1
  67. package/getStorageIntegrations.js +2 -1
  68. package/getStorageIntegrations.js.map +1 -1
  69. package/getStreamlits.js +8 -1
  70. package/getStreamlits.js.map +1 -1
  71. package/getStreams.js +5 -1
  72. package/getStreams.js.map +1 -1
  73. package/getSystemGenerateScimAccessToken.js +4 -1
  74. package/getSystemGenerateScimAccessToken.js.map +1 -1
  75. package/getSystemGetAwsSnsIamPolicy.js +4 -1
  76. package/getSystemGetAwsSnsIamPolicy.js.map +1 -1
  77. package/getSystemGetPrivateLinkConfig.js +2 -1
  78. package/getSystemGetPrivateLinkConfig.js.map +1 -1
  79. package/getSystemGetSnowflakePlatformInfo.js +2 -1
  80. package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
  81. package/getTables.js +5 -1
  82. package/getTables.js.map +1 -1
  83. package/getTasks.js +5 -1
  84. package/getTasks.js.map +1 -1
  85. package/getUsers.js +9 -1
  86. package/getUsers.js.map +1 -1
  87. package/getViews.d.ts +4 -0
  88. package/getViews.js +13 -1
  89. package/getViews.js.map +1 -1
  90. package/getWarehouses.js +7 -1
  91. package/getWarehouses.js.map +1 -1
  92. package/index.d.ts +1 -1
  93. package/maskingPolicy.d.ts +54 -64
  94. package/maskingPolicy.js +15 -17
  95. package/maskingPolicy.js.map +1 -1
  96. package/package.json +2 -2
  97. package/resourceMonitor.d.ts +33 -83
  98. package/resourceMonitor.js +2 -8
  99. package/resourceMonitor.js.map +1 -1
  100. package/rowAccessPolicy.d.ts +48 -38
  101. package/rowAccessPolicy.js +15 -13
  102. package/rowAccessPolicy.js.map +1 -1
  103. package/types/input.d.ts +198 -6
  104. package/types/output.d.ts +203 -11
  105. package/view.d.ts +3 -3
  106. package/warehouse.d.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"maskingPolicy.js","sourceRoot":"","sources":["../maskingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;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,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,SAAS,CAA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AS,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-alpha.1726726272",
3
+ "version": "0.59.0-alpha.1726831379",
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-alpha.1726726272"
26
+ "version": "0.59.0-alpha.1726831379"
27
27
  }
28
28
  }
@@ -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 monthly to the resource monitor.
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 START_TIMESTAMP.
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
- * A list of percentage thresholds at which to send an alert to subscribed users.
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
- * Specifies whether the resource monitor should be applied globally to your Snowflake account (defaults to false).
58
+ * Outputs the result of `SHOW RESOURCE MONITORS` for the given resource monitor.
57
59
  */
58
- readonly setForAccount: pulumi.Output<boolean | undefined>;
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
- * The number that represents the percentage threshold at which to immediately suspend all warehouses.
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
- * A list of percentage thresholds at which to suspend all warehouses.
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 monthly to the resource monitor.
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 START_TIMESTAMP.
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
- * A list of percentage thresholds at which to send an alert to subscribed users.
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
- * Specifies whether the resource monitor should be applied globally to your Snowflake account (defaults to false).
115
+ * Outputs the result of `SHOW RESOURCE MONITORS` for the given resource monitor.
130
116
  */
131
- setForAccount?: pulumi.Input<boolean>;
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
- * The number that represents the percentage threshold at which to immediately suspend all warehouses.
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
- * A list of percentage thresholds at which to suspend all warehouses.
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 monthly to the resource monitor.
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 START_TIMESTAMP.
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
- * A list of percentage thresholds at which to send an alert to subscribed users.
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
- * Specifies whether the resource monitor should be applied globally to your Snowflake account (defaults to false).
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
- * The number that represents the percentage threshold at which to immediately suspend all warehouses.
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
- * A list of percentage thresholds at which to suspend all warehouses.
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
  }
@@ -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["setForAccount"] = state ? state.setForAccount : undefined;
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);
@@ -1 +1 @@
1
- {"version":3,"file":"resourceMonitor.js","sourceRoot":"","sources":["../resourceMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,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,I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puts from "./types/output";
2
4
  /**
3
5
  * ## Import
4
6
  *
5
- * format is database name | schema name | policy name
6
- *
7
7
  * ```sh
8
- * $ pulumi import snowflake:index/rowAccessPolicy:RowAccessPolicy example 'dbName|schemaName|policyName'
8
+ * $ pulumi import snowflake:index/rowAccessPolicy:RowAccessPolicy example '"<database_name>"."<schema_name>"."<row_access_policy_name>"'
9
9
  * ```
10
10
  */
11
11
  export declare class RowAccessPolicy extends pulumi.CustomResource {
@@ -24,36 +24,42 @@ export declare class RowAccessPolicy extends pulumi.CustomResource {
24
24
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
25
  */
26
26
  static isInstance(obj: any): obj is RowAccessPolicy;
27
+ /**
28
+ * List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
29
+ */
30
+ readonly arguments: pulumi.Output<outputs.RowAccessPolicyArgument[]>;
31
+ /**
32
+ * Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
33
+ */
34
+ readonly body: pulumi.Output<string>;
27
35
  /**
28
36
  * Specifies a comment for the row access policy.
29
37
  */
30
38
  readonly comment: pulumi.Output<string | undefined>;
31
39
  /**
32
- * The database in which to create the row access policy.
40
+ * The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
33
41
  */
34
42
  readonly database: pulumi.Output<string>;
43
+ /**
44
+ * Outputs the result of `DESCRIBE ROW ACCESS POLICY` for the given row access policy.
45
+ */
46
+ readonly describeOutputs: pulumi.Output<outputs.RowAccessPolicyDescribeOutput[]>;
35
47
  /**
36
48
  * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
37
49
  */
38
50
  readonly fullyQualifiedName: pulumi.Output<string>;
39
51
  /**
40
- * Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
52
+ * Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
41
53
  */
42
54
  readonly name: pulumi.Output<string>;
43
55
  /**
44
- * Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
45
- */
46
- readonly rowAccessExpression: pulumi.Output<string>;
47
- /**
48
- * The schema in which to create the row access policy.
56
+ * The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
49
57
  */
50
58
  readonly schema: pulumi.Output<string>;
51
59
  /**
52
- * Specifies signature (arguments) for the row access policy (uppercase and sorted to avoid recreation of resource). A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy.
60
+ * Outputs the result of `SHOW ROW ACCESS POLICY` for the given row access policy.
53
61
  */
54
- readonly signature: pulumi.Output<{
55
- [key: string]: string;
56
- }>;
62
+ readonly showOutputs: pulumi.Output<outputs.RowAccessPolicyShowOutput[]>;
57
63
  /**
58
64
  * Create a RowAccessPolicy resource with the given unique name, arguments, and options.
59
65
  *
@@ -67,65 +73,69 @@ export declare class RowAccessPolicy extends pulumi.CustomResource {
67
73
  * Input properties used for looking up and filtering RowAccessPolicy resources.
68
74
  */
69
75
  export interface RowAccessPolicyState {
76
+ /**
77
+ * List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
78
+ */
79
+ arguments?: pulumi.Input<pulumi.Input<inputs.RowAccessPolicyArgument>[]>;
80
+ /**
81
+ * Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
82
+ */
83
+ body?: pulumi.Input<string>;
70
84
  /**
71
85
  * Specifies a comment for the row access policy.
72
86
  */
73
87
  comment?: pulumi.Input<string>;
74
88
  /**
75
- * The database in which to create the row access policy.
89
+ * The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
76
90
  */
77
91
  database?: pulumi.Input<string>;
92
+ /**
93
+ * Outputs the result of `DESCRIBE ROW ACCESS POLICY` for the given row access policy.
94
+ */
95
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.RowAccessPolicyDescribeOutput>[]>;
78
96
  /**
79
97
  * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
80
98
  */
81
99
  fullyQualifiedName?: pulumi.Input<string>;
82
100
  /**
83
- * Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
101
+ * Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
84
102
  */
85
103
  name?: pulumi.Input<string>;
86
104
  /**
87
- * Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
88
- */
89
- rowAccessExpression?: pulumi.Input<string>;
90
- /**
91
- * The schema in which to create the row access policy.
105
+ * The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
92
106
  */
93
107
  schema?: pulumi.Input<string>;
94
108
  /**
95
- * Specifies signature (arguments) for the row access policy (uppercase and sorted to avoid recreation of resource). A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy.
109
+ * Outputs the result of `SHOW ROW ACCESS POLICY` for the given row access policy.
96
110
  */
97
- signature?: pulumi.Input<{
98
- [key: string]: pulumi.Input<string>;
99
- }>;
111
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.RowAccessPolicyShowOutput>[]>;
100
112
  }
101
113
  /**
102
114
  * The set of arguments for constructing a RowAccessPolicy resource.
103
115
  */
104
116
  export interface RowAccessPolicyArgs {
117
+ /**
118
+ * List of the arguments for the row access policy. A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy. If any argument name or type is changed, the resource is recreated.
119
+ */
120
+ arguments: pulumi.Input<pulumi.Input<inputs.RowAccessPolicyArgument>[]>;
121
+ /**
122
+ * Specifies the SQL expression. The expression can be any boolean-valued SQL expression. 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.
123
+ */
124
+ body: pulumi.Input<string>;
105
125
  /**
106
126
  * Specifies a comment for the row access policy.
107
127
  */
108
128
  comment?: pulumi.Input<string>;
109
129
  /**
110
- * The database in which to create the row access policy.
130
+ * The database in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
111
131
  */
112
132
  database: pulumi.Input<string>;
113
133
  /**
114
- * Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created.
134
+ * Specifies the identifier for the row access policy; must be unique for the database and schema in which the row access policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
115
135
  */
116
136
  name?: pulumi.Input<string>;
117
137
  /**
118
- * Specifies the SQL expression. The expression can be any boolean-valued SQL expression.
119
- */
120
- rowAccessExpression: pulumi.Input<string>;
121
- /**
122
- * The schema in which to create the row access policy.
138
+ * The schema in which to create the row access policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
123
139
  */
124
140
  schema: pulumi.Input<string>;
125
- /**
126
- * Specifies signature (arguments) for the row access policy (uppercase and sorted to avoid recreation of resource). A signature specifies a set of attributes that must be considered to determine whether the row is accessible. The attribute values come from the database object (e.g. table or view) to be protected by the row access policy.
127
- */
128
- signature: pulumi.Input<{
129
- [key: string]: pulumi.Input<string>;
130
- }>;
131
141
  }
@@ -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/rowAccessPolicy:RowAccessPolicy example 'dbName|schemaName|policyName'
12
+ * $ pulumi import snowflake:index/rowAccessPolicy:RowAccessPolicy example '"<database_name>"."<schema_name>"."<row_access_policy_name>"'
15
13
  * ```
16
14
  */
17
15
  class RowAccessPolicy extends pulumi.CustomResource {
@@ -42,35 +40,39 @@ class RowAccessPolicy 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["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
48
49
  resourceInputs["name"] = state ? state.name : undefined;
49
- resourceInputs["rowAccessExpression"] = state ? state.rowAccessExpression : undefined;
50
50
  resourceInputs["schema"] = state ? state.schema : undefined;
51
- resourceInputs["signature"] = state ? state.signature : undefined;
51
+ resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
52
52
  }
53
53
  else {
54
54
  const args = argsOrState;
55
+ if ((!args || args.arguments === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'arguments'");
57
+ }
58
+ if ((!args || args.body === undefined) && !opts.urn) {
59
+ throw new Error("Missing required property 'body'");
60
+ }
55
61
  if ((!args || args.database === undefined) && !opts.urn) {
56
62
  throw new Error("Missing required property 'database'");
57
63
  }
58
- if ((!args || args.rowAccessExpression === undefined) && !opts.urn) {
59
- throw new Error("Missing required property 'rowAccessExpression'");
60
- }
61
64
  if ((!args || args.schema === undefined) && !opts.urn) {
62
65
  throw new Error("Missing required property 'schema'");
63
66
  }
64
- if ((!args || args.signature === undefined) && !opts.urn) {
65
- throw new Error("Missing required property 'signature'");
66
- }
67
+ resourceInputs["arguments"] = args ? args.arguments : undefined;
68
+ resourceInputs["body"] = args ? args.body : undefined;
67
69
  resourceInputs["comment"] = args ? args.comment : undefined;
68
70
  resourceInputs["database"] = args ? args.database : undefined;
69
71
  resourceInputs["name"] = args ? args.name : undefined;
70
- resourceInputs["rowAccessExpression"] = args ? args.rowAccessExpression : undefined;
71
72
  resourceInputs["schema"] = args ? args.schema : undefined;
72
- resourceInputs["signature"] = args ? args.signature : undefined;
73
+ resourceInputs["describeOutputs"] = undefined /*out*/;
73
74
  resourceInputs["fullyQualifiedName"] = undefined /*out*/;
75
+ resourceInputs["showOutputs"] = undefined /*out*/;
74
76
  }
75
77
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
76
78
  super(RowAccessPolicy.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"rowAccessPolicy.js","sourceRoot":"","sources":["../rowAccessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,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,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,E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