@pulumi/snowflake 2.23.0-alpha.1793836924 → 2.23.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.
Files changed (186) hide show
  1. package/alert.d.ts +65 -25
  2. package/alert.d.ts.map +1 -1
  3. package/alert.js +33 -8
  4. package/alert.js.map +1 -1
  5. package/authenticationPolicy.d.ts +16 -10
  6. package/authenticationPolicy.d.ts.map +1 -1
  7. package/authenticationPolicy.js +6 -0
  8. package/authenticationPolicy.js.map +1 -1
  9. package/backupPolicy.d.ts +210 -0
  10. package/backupPolicy.d.ts.map +1 -0
  11. package/backupPolicy.js +161 -0
  12. package/backupPolicy.js.map +1 -0
  13. package/catalogIntegrationAwsGlue.d.ts +8 -8
  14. package/catalogIntegrationIcebergRest.d.ts +8 -8
  15. package/catalogIntegrationObjectStorage.d.ts +8 -8
  16. package/catalogIntegrationOpenCatalog.d.ts +8 -8
  17. package/codeBundle.d.ts +171 -0
  18. package/codeBundle.d.ts.map +1 -0
  19. package/codeBundle.js +145 -0
  20. package/codeBundle.js.map +1 -0
  21. package/computePool.d.ts +6 -6
  22. package/config/vars.d.ts +7 -3
  23. package/config/vars.d.ts.map +1 -1
  24. package/config/vars.js +6 -0
  25. package/config/vars.js.map +1 -1
  26. package/database.d.ts +8 -0
  27. package/database.d.ts.map +1 -1
  28. package/database.js +2 -0
  29. package/database.js.map +1 -1
  30. package/externalVolume.d.ts +3 -3
  31. package/getAlerts.d.ts +48 -47
  32. package/getAlerts.d.ts.map +1 -1
  33. package/getAlerts.js +12 -32
  34. package/getAlerts.js.map +1 -1
  35. package/getBackupPolicies.d.ts +99 -0
  36. package/getBackupPolicies.d.ts.map +1 -0
  37. package/getBackupPolicies.js +65 -0
  38. package/getBackupPolicies.js.map +1 -0
  39. package/getCodeBundles.d.ts +63 -0
  40. package/getCodeBundles.d.ts.map +1 -0
  41. package/getCodeBundles.js +59 -0
  42. package/getCodeBundles.js.map +1 -0
  43. package/getCurrentAccount.d.ts +1 -1
  44. package/getNotebooks.d.ts +4 -0
  45. package/getNotebooks.d.ts.map +1 -1
  46. package/getNotebooks.js +4 -0
  47. package/getNotebooks.js.map +1 -1
  48. package/getOpenflowConnectorDefinitions.d.ts +0 -4
  49. package/getOpenflowConnectorDefinitions.d.ts.map +1 -1
  50. package/getOpenflowConnectorDefinitions.js +0 -4
  51. package/getOpenflowConnectorDefinitions.js.map +1 -1
  52. package/getOpenflowConnectors.d.ts +0 -4
  53. package/getOpenflowConnectors.d.ts.map +1 -1
  54. package/getOpenflowConnectors.js +0 -4
  55. package/getOpenflowConnectors.js.map +1 -1
  56. package/getOpenflowDeployments.d.ts +0 -4
  57. package/getOpenflowDeployments.d.ts.map +1 -1
  58. package/getOpenflowDeployments.js +0 -4
  59. package/getOpenflowDeployments.js.map +1 -1
  60. package/getOpenflowRuntimes.d.ts +0 -4
  61. package/getOpenflowRuntimes.d.ts.map +1 -1
  62. package/getOpenflowRuntimes.js +0 -4
  63. package/getOpenflowRuntimes.js.map +1 -1
  64. package/getPipes.d.ts +44 -43
  65. package/getPipes.d.ts.map +1 -1
  66. package/getPipes.js +12 -30
  67. package/getPipes.js.map +1 -1
  68. package/getPostgresMirrors.d.ts +70 -0
  69. package/getPostgresMirrors.d.ts.map +1 -0
  70. package/getPostgresMirrors.js +67 -0
  71. package/getPostgresMirrors.js.map +1 -0
  72. package/getProjectionPolicies.d.ts +99 -0
  73. package/getProjectionPolicies.d.ts.map +1 -0
  74. package/getProjectionPolicies.js +65 -0
  75. package/getProjectionPolicies.js.map +1 -0
  76. package/getReplicationGroups.d.ts +86 -0
  77. package/getReplicationGroups.d.ts.map +1 -0
  78. package/getReplicationGroups.js +93 -0
  79. package/getReplicationGroups.js.map +1 -0
  80. package/getShares.d.ts +46 -33
  81. package/getShares.d.ts.map +1 -1
  82. package/getShares.js +10 -28
  83. package/getShares.js.map +1 -1
  84. package/grantOwnership.d.ts +125 -0
  85. package/grantOwnership.d.ts.map +1 -1
  86. package/grantOwnership.js +125 -0
  87. package/grantOwnership.js.map +1 -1
  88. package/grantPrivilegesToAccountRole.d.ts +3 -3
  89. package/index.d.ts +33 -0
  90. package/index.d.ts.map +1 -1
  91. package/index.js +52 -6
  92. package/index.js.map +1 -1
  93. package/legacyServiceUser.d.ts +329 -165
  94. package/legacyServiceUser.d.ts.map +1 -1
  95. package/legacyServiceUser.js +29 -1
  96. package/legacyServiceUser.js.map +1 -1
  97. package/networkRule.d.ts +3 -3
  98. package/notebook.d.ts +2 -0
  99. package/notebook.d.ts.map +1 -1
  100. package/notebook.js +2 -0
  101. package/notebook.js.map +1 -1
  102. package/objectParameter.d.ts +2 -0
  103. package/objectParameter.d.ts.map +1 -1
  104. package/objectParameter.js +2 -0
  105. package/objectParameter.js.map +1 -1
  106. package/openflowConnector.d.ts +15 -4
  107. package/openflowConnector.d.ts.map +1 -1
  108. package/openflowConnector.js +5 -4
  109. package/openflowConnector.js.map +1 -1
  110. package/openflowDeploymentByoc.d.ts +0 -2
  111. package/openflowDeploymentByoc.d.ts.map +1 -1
  112. package/openflowDeploymentByoc.js +0 -2
  113. package/openflowDeploymentByoc.js.map +1 -1
  114. package/openflowDeploymentSnowflakeManaged.d.ts +0 -2
  115. package/openflowDeploymentSnowflakeManaged.d.ts.map +1 -1
  116. package/openflowDeploymentSnowflakeManaged.js +0 -2
  117. package/openflowDeploymentSnowflakeManaged.js.map +1 -1
  118. package/openflowRuntime.d.ts +0 -2
  119. package/openflowRuntime.d.ts.map +1 -1
  120. package/openflowRuntime.js +0 -2
  121. package/openflowRuntime.js.map +1 -1
  122. package/package.json +2 -2
  123. package/pipe.d.ts +69 -13
  124. package/pipe.d.ts.map +1 -1
  125. package/pipe.js +12 -4
  126. package/pipe.js.map +1 -1
  127. package/postgresMirror.d.ts +301 -0
  128. package/postgresMirror.d.ts.map +1 -0
  129. package/postgresMirror.js +221 -0
  130. package/postgresMirror.js.map +1 -0
  131. package/projectionPolicy.d.ts +170 -0
  132. package/projectionPolicy.d.ts.map +1 -0
  133. package/projectionPolicy.js +144 -0
  134. package/projectionPolicy.js.map +1 -0
  135. package/provider.d.ts +11 -3
  136. package/provider.d.ts.map +1 -1
  137. package/provider.js +1 -0
  138. package/provider.js.map +1 -1
  139. package/replicationGroup.d.ts +262 -0
  140. package/replicationGroup.d.ts.map +1 -0
  141. package/replicationGroup.js +173 -0
  142. package/replicationGroup.js.map +1 -0
  143. package/replicationGroupSecondary.d.ts +125 -0
  144. package/replicationGroupSecondary.d.ts.map +1 -0
  145. package/replicationGroupSecondary.js +120 -0
  146. package/replicationGroupSecondary.js.map +1 -0
  147. package/schema.d.ts +0 -2
  148. package/schema.d.ts.map +1 -1
  149. package/schema.js +0 -2
  150. package/schema.js.map +1 -1
  151. package/serviceUser.d.ts +326 -162
  152. package/serviceUser.d.ts.map +1 -1
  153. package/serviceUser.js +29 -1
  154. package/serviceUser.js.map +1 -1
  155. package/share.d.ts +55 -16
  156. package/share.d.ts.map +1 -1
  157. package/share.js +22 -7
  158. package/share.js.map +1 -1
  159. package/stageExternalAzure.d.ts +1 -1
  160. package/stageExternalAzure.js +1 -1
  161. package/stageExternalGcs.d.ts +1 -1
  162. package/stageExternalGcs.js +1 -1
  163. package/stageExternalS3.d.ts +1 -1
  164. package/stageExternalS3.js +1 -1
  165. package/stageExternalS3Compatible.d.ts +1 -1
  166. package/stageExternalS3Compatible.js +1 -1
  167. package/stageInternal.d.ts +1 -1
  168. package/stageInternal.js +1 -1
  169. package/streamOnTable.d.ts +1 -1
  170. package/streamOnTable.js +1 -1
  171. package/streamOnView.d.ts +1 -1
  172. package/streamOnView.js +1 -1
  173. package/table.d.ts +9 -9
  174. package/tagAssociation.d.ts +3 -3
  175. package/types/input.d.ts +925 -14
  176. package/types/input.d.ts.map +1 -1
  177. package/types/output.d.ts +1136 -39
  178. package/types/output.d.ts.map +1 -1
  179. package/user.d.ts +332 -168
  180. package/user.d.ts.map +1 -1
  181. package/user.js +29 -1
  182. package/user.js.map +1 -1
  183. package/userProgrammaticAccessToken.d.ts +3 -3
  184. package/warehouse.d.ts +6 -6
  185. package/warehouseAdaptive.d.ts +3 -3
  186. package/warehouseInteractive.d.ts +3 -3
package/alert.d.ts CHANGED
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
6
6
  *
7
+ * Resource used to manage alert objects. For more information, check [alert documentation](https://docs.snowflake.com/en/sql-reference/sql/create-alert).
8
+ *
7
9
  * ## Example Usage
8
10
  *
9
11
  * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
@@ -13,29 +15,51 @@ import * as outputs from "./types/output";
13
15
  * import * as pulumi from "@pulumi/pulumi";
14
16
  * import * as snowflake from "@pulumi/snowflake";
15
17
  *
16
- * const alert = new snowflake.Alert("alert", {
18
+ * //# Basic resource (serverless, on a schedule)
19
+ * const basic = new snowflake.Alert("basic", {
17
20
  * database: "database",
18
21
  * schema: "schema",
19
22
  * name: "alert",
20
- * warehouse: "warehouse",
21
23
  * alertSchedule: {
22
24
  * interval: 10,
23
25
  * },
24
26
  * condition: "select 1 as c",
25
27
  * action: "select 1 as c",
28
+ * });
29
+ * //# Complete resource
30
+ * const complete = new snowflake.Alert("complete", {
31
+ * database: "database",
32
+ * schema: "schema",
33
+ * name: "alert",
34
+ * warehouse: "warehouse",
35
+ * alertSchedule: {
36
+ * cron: {
37
+ * expression: "0 * * * *",
38
+ * timeZone: "UTC",
39
+ * },
40
+ * },
41
+ * condition: "select 1 as c",
42
+ * action: "select 1 as c",
26
43
  * enabled: true,
27
44
  * comment: "my alert",
28
45
  * });
46
+ * //# Alert on new data (no schedule); the condition table needs change tracking
47
+ * const onNewData = new snowflake.Alert("on_new_data", {
48
+ * database: "database",
49
+ * schema: "schema",
50
+ * name: "alert_on_new_data",
51
+ * warehouse: "warehouse",
52
+ * condition: "select * from database.schema.table",
53
+ * action: "select 1 as c",
54
+ * });
29
55
  * ```
30
56
  *
31
57
  * > **Note** If a field has a default value, it is shown next to the type in the schema.
32
58
  *
33
59
  * ## Import
34
60
  *
35
- * format is database name | schema name | alert name
36
- *
37
61
  * ```sh
38
- * $ pulumi import snowflake:index/alert:Alert example 'dbName|schemaName|alertName'
62
+ * $ pulumi import snowflake:index/alert:Alert example '"<database_name>"."<schema_name>"."<alert_name>"'
39
63
  * ```
40
64
  */
41
65
  export declare class Alert extends pulumi.CustomResource {
@@ -67,7 +91,7 @@ export declare class Alert extends pulumi.CustomResource {
67
91
  */
68
92
  readonly action: pulumi.Output<string>;
69
93
  /**
70
- * The schedule for periodically running an alert.
94
+ * The schedule for periodically running an alert. Without it, the alert runs when new rows arrive in the tables of the condition. Adding or removing the schedule recreates the alert.
71
95
  */
72
96
  readonly alertSchedule: pulumi.Output<outputs.AlertAlertSchedule | undefined>;
73
97
  /**
@@ -79,11 +103,15 @@ export declare class Alert extends pulumi.CustomResource {
79
103
  */
80
104
  readonly condition: pulumi.Output<string>;
81
105
  /**
82
- * The database in which to create the alert.
106
+ * The database in which to create the alert. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
83
107
  */
84
108
  readonly database: pulumi.Output<string>;
85
109
  /**
86
- * (Default: `false`) Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
110
+ * Outputs the result of `DESCRIBE ALERT` for the given alert.
111
+ */
112
+ readonly describeOutputs: pulumi.Output<outputs.AlertDescribeOutput[]>;
113
+ /**
114
+ * Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
87
115
  */
88
116
  readonly enabled: pulumi.Output<boolean | undefined>;
89
117
  /**
@@ -91,17 +119,21 @@ export declare class Alert extends pulumi.CustomResource {
91
119
  */
92
120
  readonly fullyQualifiedName: pulumi.Output<string>;
93
121
  /**
94
- * Specifies the identifier for the alert; must be unique for the database and schema in which the alert is created.
122
+ * Specifies the identifier for the alert; must be unique for the schema in which the alert is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
95
123
  */
96
124
  readonly name: pulumi.Output<string>;
97
125
  /**
98
- * The schema in which to create the alert.
126
+ * The schema in which to create the alert. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
99
127
  */
100
128
  readonly schema: pulumi.Output<string>;
101
129
  /**
102
- * The warehouse the alert will use.
130
+ * Outputs the result of `SHOW ALERTS` for the given alert.
103
131
  */
104
- readonly warehouse: pulumi.Output<string>;
132
+ readonly showOutputs: pulumi.Output<outputs.AlertShowOutput[]>;
133
+ /**
134
+ * The warehouse the alert will use. When not set, the alert uses serverless compute resources. Creating, resuming, or switching to a serverless alert requires the EXECUTE MANAGED ALERT privilege; using a named warehouse requires its USAGE privilege.
135
+ */
136
+ readonly warehouse: pulumi.Output<string | undefined>;
105
137
  /**
106
138
  * Create a Alert resource with the given unique name, arguments, and options.
107
139
  *
@@ -120,7 +152,7 @@ export interface AlertState {
120
152
  */
121
153
  action?: pulumi.Input<string | undefined>;
122
154
  /**
123
- * The schedule for periodically running an alert.
155
+ * The schedule for periodically running an alert. Without it, the alert runs when new rows arrive in the tables of the condition. Adding or removing the schedule recreates the alert.
124
156
  */
125
157
  alertSchedule?: pulumi.Input<inputs.AlertAlertSchedule | undefined>;
126
158
  /**
@@ -132,11 +164,15 @@ export interface AlertState {
132
164
  */
133
165
  condition?: pulumi.Input<string | undefined>;
134
166
  /**
135
- * The database in which to create the alert.
167
+ * The database in which to create the alert. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
136
168
  */
137
169
  database?: pulumi.Input<string | undefined>;
138
170
  /**
139
- * (Default: `false`) Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
171
+ * Outputs the result of `DESCRIBE ALERT` for the given alert.
172
+ */
173
+ describeOutputs?: pulumi.Input<pulumi.Input<inputs.AlertDescribeOutput>[] | undefined>;
174
+ /**
175
+ * Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
140
176
  */
141
177
  enabled?: pulumi.Input<boolean | undefined>;
142
178
  /**
@@ -144,15 +180,19 @@ export interface AlertState {
144
180
  */
145
181
  fullyQualifiedName?: pulumi.Input<string | undefined>;
146
182
  /**
147
- * Specifies the identifier for the alert; must be unique for the database and schema in which the alert is created.
183
+ * Specifies the identifier for the alert; must be unique for the schema in which the alert is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
148
184
  */
149
185
  name?: pulumi.Input<string | undefined>;
150
186
  /**
151
- * The schema in which to create the alert.
187
+ * The schema in which to create the alert. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
152
188
  */
153
189
  schema?: pulumi.Input<string | undefined>;
154
190
  /**
155
- * The warehouse the alert will use.
191
+ * Outputs the result of `SHOW ALERTS` for the given alert.
192
+ */
193
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.AlertShowOutput>[] | undefined>;
194
+ /**
195
+ * The warehouse the alert will use. When not set, the alert uses serverless compute resources. Creating, resuming, or switching to a serverless alert requires the EXECUTE MANAGED ALERT privilege; using a named warehouse requires its USAGE privilege.
156
196
  */
157
197
  warehouse?: pulumi.Input<string | undefined>;
158
198
  }
@@ -165,7 +205,7 @@ export interface AlertArgs {
165
205
  */
166
206
  action: pulumi.Input<string>;
167
207
  /**
168
- * The schedule for periodically running an alert.
208
+ * The schedule for periodically running an alert. Without it, the alert runs when new rows arrive in the tables of the condition. Adding or removing the schedule recreates the alert.
169
209
  */
170
210
  alertSchedule?: pulumi.Input<inputs.AlertAlertSchedule | undefined>;
171
211
  /**
@@ -177,24 +217,24 @@ export interface AlertArgs {
177
217
  */
178
218
  condition: pulumi.Input<string>;
179
219
  /**
180
- * The database in which to create the alert.
220
+ * The database in which to create the alert. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
181
221
  */
182
222
  database: pulumi.Input<string>;
183
223
  /**
184
- * (Default: `false`) Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
224
+ * Specifies if an alert should be 'started' (enabled) after creation or should remain 'suspended' (default).
185
225
  */
186
226
  enabled?: pulumi.Input<boolean | undefined>;
187
227
  /**
188
- * Specifies the identifier for the alert; must be unique for the database and schema in which the alert is created.
228
+ * Specifies the identifier for the alert; must be unique for the schema in which the alert is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
189
229
  */
190
230
  name?: pulumi.Input<string | undefined>;
191
231
  /**
192
- * The schema in which to create the alert.
232
+ * The schema in which to create the alert. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
193
233
  */
194
234
  schema: pulumi.Input<string>;
195
235
  /**
196
- * The warehouse the alert will use.
236
+ * The warehouse the alert will use. When not set, the alert uses serverless compute resources. Creating, resuming, or switching to a serverless alert requires the EXECUTE MANAGED ALERT privilege; using a named warehouse requires its USAGE privilege.
197
237
  */
198
- warehouse: pulumi.Input<string>;
238
+ warehouse?: pulumi.Input<string | undefined>;
199
239
  }
200
240
  //# sourceMappingURL=alert.d.ts.map
package/alert.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU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,eAAe,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
package/alert.js CHANGED
@@ -31,6 +31,8 @@ const utilities = __importStar(require("./utilities"));
31
31
  /**
32
32
  * > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
33
33
  *
34
+ * Resource used to manage alert objects. For more information, check [alert documentation](https://docs.snowflake.com/en/sql-reference/sql/create-alert).
35
+ *
34
36
  * ## Example Usage
35
37
  *
36
38
  * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
@@ -40,29 +42,51 @@ const utilities = __importStar(require("./utilities"));
40
42
  * import * as pulumi from "@pulumi/pulumi";
41
43
  * import * as snowflake from "@pulumi/snowflake";
42
44
  *
43
- * const alert = new snowflake.Alert("alert", {
45
+ * //# Basic resource (serverless, on a schedule)
46
+ * const basic = new snowflake.Alert("basic", {
44
47
  * database: "database",
45
48
  * schema: "schema",
46
49
  * name: "alert",
47
- * warehouse: "warehouse",
48
50
  * alertSchedule: {
49
51
  * interval: 10,
50
52
  * },
51
53
  * condition: "select 1 as c",
52
54
  * action: "select 1 as c",
55
+ * });
56
+ * //# Complete resource
57
+ * const complete = new snowflake.Alert("complete", {
58
+ * database: "database",
59
+ * schema: "schema",
60
+ * name: "alert",
61
+ * warehouse: "warehouse",
62
+ * alertSchedule: {
63
+ * cron: {
64
+ * expression: "0 * * * *",
65
+ * timeZone: "UTC",
66
+ * },
67
+ * },
68
+ * condition: "select 1 as c",
69
+ * action: "select 1 as c",
53
70
  * enabled: true,
54
71
  * comment: "my alert",
55
72
  * });
73
+ * //# Alert on new data (no schedule); the condition table needs change tracking
74
+ * const onNewData = new snowflake.Alert("on_new_data", {
75
+ * database: "database",
76
+ * schema: "schema",
77
+ * name: "alert_on_new_data",
78
+ * warehouse: "warehouse",
79
+ * condition: "select * from database.schema.table",
80
+ * action: "select 1 as c",
81
+ * });
56
82
  * ```
57
83
  *
58
84
  * > **Note** If a field has a default value, it is shown next to the type in the schema.
59
85
  *
60
86
  * ## Import
61
87
  *
62
- * format is database name | schema name | alert name
63
- *
64
88
  * ```sh
65
- * $ pulumi import snowflake:index/alert:Alert example 'dbName|schemaName|alertName'
89
+ * $ pulumi import snowflake:index/alert:Alert example '"<database_name>"."<schema_name>"."<alert_name>"'
66
90
  * ```
67
91
  */
68
92
  class Alert extends pulumi.CustomResource {
@@ -110,10 +134,12 @@ class Alert extends pulumi.CustomResource {
110
134
  resourceInputs["comment"] = state?.comment;
111
135
  resourceInputs["condition"] = state?.condition;
112
136
  resourceInputs["database"] = state?.database;
137
+ resourceInputs["describeOutputs"] = state?.describeOutputs;
113
138
  resourceInputs["enabled"] = state?.enabled;
114
139
  resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
115
140
  resourceInputs["name"] = state?.name;
116
141
  resourceInputs["schema"] = state?.schema;
142
+ resourceInputs["showOutputs"] = state?.showOutputs;
117
143
  resourceInputs["warehouse"] = state?.warehouse;
118
144
  }
119
145
  else {
@@ -130,9 +156,6 @@ class Alert extends pulumi.CustomResource {
130
156
  if (args?.schema === undefined && !opts.urn) {
131
157
  throw new Error("Missing required property 'schema'");
132
158
  }
133
- if (args?.warehouse === undefined && !opts.urn) {
134
- throw new Error("Missing required property 'warehouse'");
135
- }
136
159
  resourceInputs["action"] = args?.action;
137
160
  resourceInputs["alertSchedule"] = args?.alertSchedule;
138
161
  resourceInputs["comment"] = args?.comment;
@@ -142,7 +165,9 @@ class Alert extends pulumi.CustomResource {
142
165
  resourceInputs["name"] = args?.name;
143
166
  resourceInputs["schema"] = args?.schema;
144
167
  resourceInputs["warehouse"] = args?.warehouse;
168
+ resourceInputs["describeOutputs"] = undefined /*out*/;
145
169
  resourceInputs["fullyQualifiedName"] = undefined /*out*/;
170
+ resourceInputs["showOutputs"] = undefined /*out*/;
146
171
  }
147
172
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
148
173
  super(Alert.__pulumiType, name, resourceInputs, opts);
package/alert.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;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E,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA9IL,sBA+IC"}
@@ -37,9 +37,15 @@ import * as outputs from "./types/output";
37
37
  * enforceMfaOnExternalAuthentication: "ALL",
38
38
  * },
39
39
  * patPolicy: {
40
+ * blockedRolesLists: [
41
+ * "ACCOUNTADMIN",
42
+ * "SYSADMIN",
43
+ * ],
40
44
  * defaultExpiryInDays: 1,
41
45
  * maxExpiryInDays: 30,
42
46
  * networkPolicyEvaluation: "NOT_ENFORCED",
47
+ * requireRoleRestrictionForPersonUsers: "true",
48
+ * requireRoleRestrictionForServiceUsers: "false",
43
49
  * },
44
50
  * workloadIdentityPolicy: {
45
51
  * allowedProviders: ["ALL"],
@@ -109,7 +115,7 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
109
115
  */
110
116
  readonly database: pulumi.Output<string>;
111
117
  /**
112
- * Outputs the result of `DESCRIBE AUTHENTICATION POLICY` for the given policy.
118
+ * Outputs the result of `DESCRIBE AUTHENTICATION POLICY` for the given authentication policy.
113
119
  */
114
120
  readonly describeOutputs: pulumi.Output<outputs.AuthenticationPolicyDescribeOutput[]>;
115
121
  /**
@@ -117,7 +123,7 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
117
123
  */
118
124
  readonly fullyQualifiedName: pulumi.Output<string>;
119
125
  /**
120
- * A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
126
+ * A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Valid values are (case-insensitive): `ALL` | `SAML` | `PASSWORD`.
121
127
  *
122
128
  * @deprecated This field is deprecated and will be removed in the future. Currently, it has no effect. Use the new `enforceMfaOnExternalAuthentication` field instead. Read our [BCR Migration Guide](https://github.com/snowflakedb/terraform-provider-snowflake/blob/main/SNOWFLAKE_BCR_MIGRATION_GUIDE.md#changes-in-authentication-policies) for more migration steps and more details.
123
129
  */
@@ -131,7 +137,7 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
131
137
  */
132
138
  readonly mfaPolicy: pulumi.Output<outputs.AuthenticationPolicyMfaPolicy | undefined>;
133
139
  /**
134
- * Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
140
+ * Specifies the identifier for the authentication policy; must be unique for the schema in which the authentication policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
135
141
  */
136
142
  readonly name: pulumi.Output<string>;
137
143
  /**
@@ -147,7 +153,7 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
147
153
  */
148
154
  readonly securityIntegrations: pulumi.Output<string[] | undefined>;
149
155
  /**
150
- * Outputs the result of `SHOW AUTHENTICATION POLICIES` for the given policy.
156
+ * Outputs the result of `SHOW AUTHENTICATION POLICIES` for the given authentication policy.
151
157
  */
152
158
  readonly showOutputs: pulumi.Output<outputs.AuthenticationPolicyShowOutput[]>;
153
159
  /**
@@ -188,7 +194,7 @@ export interface AuthenticationPolicyState {
188
194
  */
189
195
  database?: pulumi.Input<string | undefined>;
190
196
  /**
191
- * Outputs the result of `DESCRIBE AUTHENTICATION POLICY` for the given policy.
197
+ * Outputs the result of `DESCRIBE AUTHENTICATION POLICY` for the given authentication policy.
192
198
  */
193
199
  describeOutputs?: pulumi.Input<pulumi.Input<inputs.AuthenticationPolicyDescribeOutput>[] | undefined>;
194
200
  /**
@@ -196,7 +202,7 @@ export interface AuthenticationPolicyState {
196
202
  */
197
203
  fullyQualifiedName?: pulumi.Input<string | undefined>;
198
204
  /**
199
- * A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
205
+ * A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Valid values are (case-insensitive): `ALL` | `SAML` | `PASSWORD`.
200
206
  *
201
207
  * @deprecated This field is deprecated and will be removed in the future. Currently, it has no effect. Use the new `enforceMfaOnExternalAuthentication` field instead. Read our [BCR Migration Guide](https://github.com/snowflakedb/terraform-provider-snowflake/blob/main/SNOWFLAKE_BCR_MIGRATION_GUIDE.md#changes-in-authentication-policies) for more migration steps and more details.
202
208
  */
@@ -210,7 +216,7 @@ export interface AuthenticationPolicyState {
210
216
  */
211
217
  mfaPolicy?: pulumi.Input<inputs.AuthenticationPolicyMfaPolicy | undefined>;
212
218
  /**
213
- * Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
219
+ * Specifies the identifier for the authentication policy; must be unique for the schema in which the authentication policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
214
220
  */
215
221
  name?: pulumi.Input<string | undefined>;
216
222
  /**
@@ -226,7 +232,7 @@ export interface AuthenticationPolicyState {
226
232
  */
227
233
  securityIntegrations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
228
234
  /**
229
- * Outputs the result of `SHOW AUTHENTICATION POLICIES` for the given policy.
235
+ * Outputs the result of `SHOW AUTHENTICATION POLICIES` for the given authentication policy.
230
236
  */
231
237
  showOutputs?: pulumi.Input<pulumi.Input<inputs.AuthenticationPolicyShowOutput>[] | undefined>;
232
238
  /**
@@ -259,7 +265,7 @@ export interface AuthenticationPolicyArgs {
259
265
  */
260
266
  database: pulumi.Input<string>;
261
267
  /**
262
- * A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are `ALL` | `SAML` | `PASSWORD`.
268
+ * A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Valid values are (case-insensitive): `ALL` | `SAML` | `PASSWORD`.
263
269
  *
264
270
  * @deprecated This field is deprecated and will be removed in the future. Currently, it has no effect. Use the new `enforceMfaOnExternalAuthentication` field instead. Read our [BCR Migration Guide](https://github.com/snowflakedb/terraform-provider-snowflake/blob/main/SNOWFLAKE_BCR_MIGRATION_GUIDE.md#changes-in-authentication-policies) for more migration steps and more details.
265
271
  */
@@ -273,7 +279,7 @@ export interface AuthenticationPolicyArgs {
273
279
  */
274
280
  mfaPolicy?: pulumi.Input<inputs.AuthenticationPolicyMfaPolicy | undefined>;
275
281
  /**
276
- * Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
282
+ * Specifies the identifier for the authentication policy; must be unique for the schema in which the authentication policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
277
283
  */
278
284
  name?: pulumi.Input<string | undefined>;
279
285
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"authenticationPolicy.d.ts","sourceRoot":"","sources":["../authenticationPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,qBAAa,oBAAqB,SA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,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;CACxG"}
@@ -64,9 +64,15 @@ const utilities = __importStar(require("./utilities"));
64
64
  * enforceMfaOnExternalAuthentication: "ALL",
65
65
  * },
66
66
  * patPolicy: {
67
+ * blockedRolesLists: [
68
+ * "ACCOUNTADMIN",
69
+ * "SYSADMIN",
70
+ * ],
67
71
  * defaultExpiryInDays: 1,
68
72
  * maxExpiryInDays: 30,
69
73
  * networkPolicyEvaluation: "NOT_ENFORCED",
74
+ * requireRoleRestrictionForPersonUsers: "true",
75
+ * requireRoleRestrictionForServiceUsers: "false",
70
76
  * },
71
77
  * workloadIdentityPolicy: {
72
78
  * allowedProviders: ["ALL"],
@@ -1 +1 @@
1
- {"version":3,"file":"authenticationPolicy.js","sourceRoot":"","sources":["../authenticationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAiC,EAAE,IAAmC;QACjH,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc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