@pulumi/snowflake 2.19.0-alpha.1785224124 → 2.19.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 (160) hide show
  1. package/accountAuthenticationPolicyAttachment.d.ts +11 -3
  2. package/accountAuthenticationPolicyAttachment.d.ts.map +1 -1
  3. package/accountAuthenticationPolicyAttachment.js +8 -0
  4. package/accountAuthenticationPolicyAttachment.js.map +1 -1
  5. package/accountParameter.d.ts +3 -3
  6. package/accountSessionPolicyAttachment.d.ts +2 -0
  7. package/accountSessionPolicyAttachment.d.ts.map +1 -1
  8. package/accountSessionPolicyAttachment.js +2 -0
  9. package/accountSessionPolicyAttachment.js.map +1 -1
  10. package/config/vars.d.ts +7 -3
  11. package/config/vars.d.ts.map +1 -1
  12. package/config/vars.js +6 -0
  13. package/config/vars.js.map +1 -1
  14. package/currentAccount.d.ts +12 -0
  15. package/currentAccount.d.ts.map +1 -1
  16. package/currentAccount.js +2 -0
  17. package/currentAccount.js.map +1 -1
  18. package/currentOrganizationAccount.d.ts +12 -0
  19. package/currentOrganizationAccount.d.ts.map +1 -1
  20. package/currentOrganizationAccount.js +2 -0
  21. package/currentOrganizationAccount.js.map +1 -1
  22. package/database.d.ts +24 -0
  23. package/database.d.ts.map +1 -1
  24. package/database.js +4 -0
  25. package/database.js.map +1 -1
  26. package/fileFormat.d.ts +2 -0
  27. package/fileFormat.d.ts.map +1 -1
  28. package/fileFormat.js +2 -0
  29. package/fileFormat.js.map +1 -1
  30. package/fileFormatAvro.d.ts +215 -0
  31. package/fileFormatAvro.d.ts.map +1 -0
  32. package/fileFormatAvro.js +148 -0
  33. package/fileFormatAvro.js.map +1 -0
  34. package/fileFormatCsv.d.ts +448 -0
  35. package/fileFormatCsv.d.ts.map +1 -0
  36. package/fileFormatCsv.js +201 -0
  37. package/fileFormatCsv.js.map +1 -0
  38. package/fileFormatJson.d.ts +371 -0
  39. package/fileFormatJson.d.ts.map +1 -0
  40. package/fileFormatJson.js +184 -0
  41. package/fileFormatJson.js.map +1 -0
  42. package/fileFormatOrc.d.ts +202 -0
  43. package/fileFormatOrc.d.ts.map +1 -0
  44. package/fileFormatOrc.js +145 -0
  45. package/fileFormatOrc.js.map +1 -0
  46. package/fileFormatParquet.d.ts +254 -0
  47. package/fileFormatParquet.d.ts.map +1 -0
  48. package/fileFormatParquet.js +157 -0
  49. package/fileFormatParquet.js.map +1 -0
  50. package/fileFormatXml.d.ts +248 -0
  51. package/fileFormatXml.d.ts.map +1 -0
  52. package/fileFormatXml.js +151 -0
  53. package/fileFormatXml.js.map +1 -0
  54. package/getFileFormats.d.ts +32 -43
  55. package/getFileFormats.d.ts.map +1 -1
  56. package/getFileFormats.js +10 -30
  57. package/getFileFormats.js.map +1 -1
  58. package/getGrants.d.ts +48 -0
  59. package/getGrants.d.ts.map +1 -1
  60. package/getGrants.js +38 -0
  61. package/getGrants.js.map +1 -1
  62. package/getIcebergTables.d.ts +111 -0
  63. package/getIcebergTables.d.ts.map +1 -0
  64. package/getIcebergTables.js +67 -0
  65. package/getIcebergTables.js.map +1 -0
  66. package/getMcpServers.d.ts +75 -0
  67. package/getMcpServers.d.ts.map +1 -0
  68. package/getMcpServers.js +61 -0
  69. package/getMcpServers.js.map +1 -0
  70. package/getNetworkRules.d.ts +0 -4
  71. package/getNetworkRules.d.ts.map +1 -1
  72. package/getNetworkRules.js +0 -4
  73. package/getNetworkRules.js.map +1 -1
  74. package/icebergTable.d.ts +615 -0
  75. package/icebergTable.d.ts.map +1 -0
  76. package/icebergTable.js +361 -0
  77. package/icebergTable.js.map +1 -0
  78. package/icebergTableFromAwsGlue.d.ts +237 -0
  79. package/icebergTableFromAwsGlue.d.ts.map +1 -0
  80. package/icebergTableFromAwsGlue.js +153 -0
  81. package/icebergTableFromAwsGlue.js.map +1 -0
  82. package/icebergTableFromDeltaFiles.d.ts +5 -3
  83. package/icebergTableFromDeltaFiles.d.ts.map +1 -1
  84. package/icebergTableFromDeltaFiles.js +5 -3
  85. package/icebergTableFromDeltaFiles.js.map +1 -1
  86. package/icebergTableFromFiles.d.ts +4 -2
  87. package/icebergTableFromFiles.d.ts.map +1 -1
  88. package/icebergTableFromFiles.js +4 -2
  89. package/icebergTableFromFiles.js.map +1 -1
  90. package/icebergTableFromRest.d.ts +304 -0
  91. package/icebergTableFromRest.d.ts.map +1 -0
  92. package/icebergTableFromRest.js +170 -0
  93. package/icebergTableFromRest.js.map +1 -0
  94. package/index.d.ts +39 -0
  95. package/index.d.ts.map +1 -1
  96. package/index.js +67 -6
  97. package/index.js.map +1 -1
  98. package/legacyServiceUser.d.ts +11 -1
  99. package/legacyServiceUser.d.ts.map +1 -1
  100. package/legacyServiceUser.js +11 -1
  101. package/legacyServiceUser.js.map +1 -1
  102. package/mcpServer.d.ts +134 -0
  103. package/mcpServer.d.ts.map +1 -0
  104. package/mcpServer.js +106 -0
  105. package/mcpServer.js.map +1 -0
  106. package/oauthIntegrationForCustomClients.d.ts +13 -1
  107. package/oauthIntegrationForCustomClients.d.ts.map +1 -1
  108. package/oauthIntegrationForCustomClients.js +3 -1
  109. package/oauthIntegrationForCustomClients.js.map +1 -1
  110. package/oauthIntegrationForPartnerApplications.d.ts +12 -0
  111. package/oauthIntegrationForPartnerApplications.d.ts.map +1 -1
  112. package/oauthIntegrationForPartnerApplications.js +2 -0
  113. package/oauthIntegrationForPartnerApplications.js.map +1 -1
  114. package/package.json +2 -2
  115. package/provider.d.ts +13 -3
  116. package/provider.d.ts.map +1 -1
  117. package/provider.js +1 -0
  118. package/provider.js.map +1 -1
  119. package/saml2Integration.d.ts +1 -4
  120. package/saml2Integration.d.ts.map +1 -1
  121. package/saml2Integration.js +1 -4
  122. package/saml2Integration.js.map +1 -1
  123. package/schema.d.ts +24 -0
  124. package/schema.d.ts.map +1 -1
  125. package/schema.js +4 -0
  126. package/schema.js.map +1 -1
  127. package/secondaryDatabase.d.ts +24 -0
  128. package/secondaryDatabase.d.ts.map +1 -1
  129. package/secondaryDatabase.js +4 -0
  130. package/secondaryDatabase.js.map +1 -1
  131. package/serviceUser.d.ts +11 -1
  132. package/serviceUser.d.ts.map +1 -1
  133. package/serviceUser.js +11 -1
  134. package/serviceUser.js.map +1 -1
  135. package/sharedDatabase.d.ts +24 -0
  136. package/sharedDatabase.d.ts.map +1 -1
  137. package/sharedDatabase.js +4 -0
  138. package/sharedDatabase.js.map +1 -1
  139. package/stageExternalS3.d.ts +1 -0
  140. package/stageExternalS3.d.ts.map +1 -1
  141. package/stageExternalS3.js +1 -0
  142. package/stageExternalS3.js.map +1 -1
  143. package/tag.d.ts +3 -3
  144. package/tagAssociation.d.ts +3 -3
  145. package/types/input.d.ts +1123 -49
  146. package/types/input.d.ts.map +1 -1
  147. package/types/output.d.ts +1367 -120
  148. package/types/output.d.ts.map +1 -1
  149. package/userAuthenticationPolicyAttachment.d.ts +13 -7
  150. package/userAuthenticationPolicyAttachment.d.ts.map +1 -1
  151. package/userAuthenticationPolicyAttachment.js +7 -1
  152. package/userAuthenticationPolicyAttachment.js.map +1 -1
  153. package/warehouseAdaptive.d.ts +13 -0
  154. package/warehouseAdaptive.d.ts.map +1 -1
  155. package/warehouseAdaptive.js +3 -0
  156. package/warehouseAdaptive.js.map +1 -1
  157. package/warehouseInteractive.d.ts +295 -0
  158. package/warehouseInteractive.d.ts.map +1 -0
  159. package/warehouseInteractive.js +162 -0
  160. package/warehouseInteractive.js.map +1 -0
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * > **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.
4
4
  *
5
- * > **Required warehouse** For this resource, the provider now uses [policy references](https://docs.snowflake.com/en/sql-reference/functions/policy_references) to get information about policies attached to users. This function requires a warehouse in the connection. Please, make sure you have either set a `DEFAULT_WAREHOUSE` for the user, or specified a warehouse in the provider configuration.
5
+ * > **Required warehouse** For this resource, the provider uses [policy references](https://docs.snowflake.com/en/sql-reference/functions/policy_references) to get information about policies attached to users. This function requires a warehouse in the connection. Please, make sure you have either set a `DEFAULT_WAREHOUSE` for the user, or specified a warehouse in the provider configuration.
6
6
  *
7
7
  * Specifies the authentication policy to use for a certain user.
8
8
  *
@@ -28,6 +28,12 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * <!-- TODO(SNOW-1634854): include an example showing both methods-->
29
29
  *
30
30
  * > **Note** If a field has a default value, it is shown next to the type in the schema.
31
+ *
32
+ * ## Import
33
+ *
34
+ * ```sh
35
+ * $ pulumi import snowflake:index/userAuthenticationPolicyAttachment:UserAuthenticationPolicyAttachment example '"<user_name>"|"<database_name>"."<schema_name>"."<authentication_policy_name>"'
36
+ * ```
31
37
  */
32
38
  export declare class UserAuthenticationPolicyAttachment extends pulumi.CustomResource {
33
39
  /**
@@ -46,11 +52,11 @@ export declare class UserAuthenticationPolicyAttachment extends pulumi.CustomRes
46
52
  */
47
53
  static isInstance(obj: any): obj is UserAuthenticationPolicyAttachment;
48
54
  /**
49
- * Fully qualified name of the authentication policy
55
+ * Fully qualified name of the authentication policy.
50
56
  */
51
57
  readonly authenticationPolicyName: pulumi.Output<string>;
52
58
  /**
53
- * User name of the user you want to attach the authentication policy to
59
+ * User name of the user you want to attach the authentication policy to.
54
60
  */
55
61
  readonly userName: pulumi.Output<string>;
56
62
  /**
@@ -67,11 +73,11 @@ export declare class UserAuthenticationPolicyAttachment extends pulumi.CustomRes
67
73
  */
68
74
  export interface UserAuthenticationPolicyAttachmentState {
69
75
  /**
70
- * Fully qualified name of the authentication policy
76
+ * Fully qualified name of the authentication policy.
71
77
  */
72
78
  authenticationPolicyName?: pulumi.Input<string | undefined>;
73
79
  /**
74
- * User name of the user you want to attach the authentication policy to
80
+ * User name of the user you want to attach the authentication policy to.
75
81
  */
76
82
  userName?: pulumi.Input<string | undefined>;
77
83
  }
@@ -80,11 +86,11 @@ export interface UserAuthenticationPolicyAttachmentState {
80
86
  */
81
87
  export interface UserAuthenticationPolicyAttachmentArgs {
82
88
  /**
83
- * Fully qualified name of the authentication policy
89
+ * Fully qualified name of the authentication policy.
84
90
  */
85
91
  authenticationPolicyName: pulumi.Input<string>;
86
92
  /**
87
- * User name of the user you want to attach the authentication policy to
93
+ * User name of the user you want to attach the authentication policy to.
88
94
  */
89
95
  userName: pulumi.Input<string>;
90
96
  }
@@ -1 +1 @@
1
- {"version":3,"file":"userAuthenticationPolicyAttachment.d.ts","sourceRoot":"","sources":["../userAuthenticationPolicyAttachment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kCAAkC;IAOtL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kCAAkC;IAO7E;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAExD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB9G;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,wBAAwB,CAAC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AwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
@@ -31,7 +31,7 @@ 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
- * > **Required warehouse** For this resource, the provider now uses [policy references](https://docs.snowflake.com/en/sql-reference/functions/policy_references) to get information about policies attached to users. This function requires a warehouse in the connection. Please, make sure you have either set a `DEFAULT_WAREHOUSE` for the user, or specified a warehouse in the provider configuration.
34
+ * > **Required warehouse** For this resource, the provider uses [policy references](https://docs.snowflake.com/en/sql-reference/functions/policy_references) to get information about policies attached to users. This function requires a warehouse in the connection. Please, make sure you have either set a `DEFAULT_WAREHOUSE` for the user, or specified a warehouse in the provider configuration.
35
35
  *
36
36
  * Specifies the authentication policy to use for a certain user.
37
37
  *
@@ -57,6 +57,12 @@ const utilities = __importStar(require("./utilities"));
57
57
  * <!-- TODO(SNOW-1634854): include an example showing both methods-->
58
58
  *
59
59
  * > **Note** If a field has a default value, it is shown next to the type in the schema.
60
+ *
61
+ * ## Import
62
+ *
63
+ * ```sh
64
+ * $ pulumi import snowflake:index/userAuthenticationPolicyAttachment:UserAuthenticationPolicyAttachment example '"<user_name>"|"<database_name>"."<schema_name>"."<authentication_policy_name>"'
65
+ * ```
60
66
  */
61
67
  class UserAuthenticationPolicyAttachment extends pulumi.CustomResource {
62
68
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"userAuthenticationPolicyAttachment.js","sourceRoot":"","sources":["../userAuthenticationPolicyAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uFAAuF,CAAC;IAE9H;;;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,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;YAC7E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SA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,7 @@ import * as outputs from "./types/output";
20
20
  * comment: "My adaptive warehouse with all options set",
21
21
  * maxQueryPerformanceLevel: "MEDIUM",
22
22
  * queryThroughputMultiplier: 1,
23
+ * resourceMonitor: "my_resource_monitor",
23
24
  * statementQueuedTimeoutInSeconds: 30,
24
25
  * statementTimeoutInSeconds: 3600,
25
26
  * });
@@ -75,6 +76,10 @@ export declare class WarehouseAdaptive extends pulumi.CustomResource {
75
76
  * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the query throughput multiplier for the adaptive warehouse.
76
77
  */
77
78
  readonly queryThroughputMultiplier: pulumi.Output<number | undefined>;
79
+ /**
80
+ * Specifies the name of a resource monitor that is explicitly assigned to the adaptive warehouse. For more information about this resource, see docs.
81
+ */
82
+ readonly resourceMonitor: pulumi.Output<string | undefined>;
78
83
  /**
79
84
  * Outputs the result of `SHOW WAREHOUSES` for the given adaptive warehouse.
80
85
  */
@@ -128,6 +133,10 @@ export interface WarehouseAdaptiveState {
128
133
  * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the query throughput multiplier for the adaptive warehouse.
129
134
  */
130
135
  queryThroughputMultiplier?: pulumi.Input<number | undefined>;
136
+ /**
137
+ * Specifies the name of a resource monitor that is explicitly assigned to the adaptive warehouse. For more information about this resource, see docs.
138
+ */
139
+ resourceMonitor?: pulumi.Input<string | undefined>;
131
140
  /**
132
141
  * Outputs the result of `SHOW WAREHOUSES` for the given adaptive warehouse.
133
142
  */
@@ -165,6 +174,10 @@ export interface WarehouseAdaptiveArgs {
165
174
  * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the query throughput multiplier for the adaptive warehouse.
166
175
  */
167
176
  queryThroughputMultiplier?: pulumi.Input<number | undefined>;
177
+ /**
178
+ * Specifies the name of a resource monitor that is explicitly assigned to the adaptive warehouse. For more information about this resource, see docs.
179
+ */
180
+ resourceMonitor?: pulumi.Input<string | undefined>;
168
181
  /**
169
182
  * Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
170
183
  */
@@ -1 +1 @@
1
- {"version":3,"file":"warehouseAdaptive.d.ts","sourceRoot":"","sources":["../warehouseAdaptive.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,SAAgC,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC;IAChG;;OAEG;IACH,SAAwB,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS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AEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChE"}
@@ -47,6 +47,7 @@ const utilities = __importStar(require("./utilities"));
47
47
  * comment: "My adaptive warehouse with all options set",
48
48
  * maxQueryPerformanceLevel: "MEDIUM",
49
49
  * queryThroughputMultiplier: 1,
50
+ * resourceMonitor: "my_resource_monitor",
50
51
  * statementQueuedTimeoutInSeconds: 30,
51
52
  * statementTimeoutInSeconds: 3600,
52
53
  * });
@@ -98,6 +99,7 @@ class WarehouseAdaptive extends pulumi.CustomResource {
98
99
  resourceInputs["name"] = state?.name;
99
100
  resourceInputs["parameters"] = state?.parameters;
100
101
  resourceInputs["queryThroughputMultiplier"] = state?.queryThroughputMultiplier;
102
+ resourceInputs["resourceMonitor"] = state?.resourceMonitor;
101
103
  resourceInputs["showOutputs"] = state?.showOutputs;
102
104
  resourceInputs["statementQueuedTimeoutInSeconds"] = state?.statementQueuedTimeoutInSeconds;
103
105
  resourceInputs["statementTimeoutInSeconds"] = state?.statementTimeoutInSeconds;
@@ -109,6 +111,7 @@ class WarehouseAdaptive extends pulumi.CustomResource {
109
111
  resourceInputs["maxQueryPerformanceLevel"] = args?.maxQueryPerformanceLevel;
110
112
  resourceInputs["name"] = args?.name;
111
113
  resourceInputs["queryThroughputMultiplier"] = args?.queryThroughputMultiplier;
114
+ resourceInputs["resourceMonitor"] = args?.resourceMonitor;
112
115
  resourceInputs["statementQueuedTimeoutInSeconds"] = args?.statementQueuedTimeoutInSeconds;
113
116
  resourceInputs["statementTimeoutInSeconds"] = args?.statementTimeoutInSeconds;
114
117
  resourceInputs["fullyQualifiedName"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"warehouseAdaptive.js","sourceRoot":"","sources":["../warehouseAdaptive.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,qDAAqD,CAAC;IAE5F;;;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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CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,iCAAiC,CAAC,GAAG,IAAI,EAAE,+BAA+B,CAAC;YAC1F,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAjHL,8CAkHC"}
@@ -0,0 +1,295 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
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
+ *
7
+ * Resource used to manage interactive warehouse objects. Interactive warehouses are optimized for low-latency, high-concurrency queries against a defined set of tables. For more information, check [interactive warehouse documentation](https://docs.snowflake.com/en/user-guide/warehouses-interactive).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as snowflake from "@pulumi/snowflake";
14
+ *
15
+ * // Basic interactive warehouse (only required fields)
16
+ * const basic = new snowflake.WarehouseInteractive("basic", {name: "my_interactive_warehouse"});
17
+ * // Complete interactive warehouse (all fields set)
18
+ * const complete = new snowflake.WarehouseInteractive("complete", {
19
+ * name: "my_interactive_warehouse_complete",
20
+ * comment: "My interactive warehouse with all options set",
21
+ * warehouseSize: "XSMALL",
22
+ * maxClusterCount: 2,
23
+ * minClusterCount: 1,
24
+ * autoSuspend: 86400,
25
+ * autoResume: "true",
26
+ * initiallySuspended: true,
27
+ * resourceMonitor: monitor.fullyQualifiedName,
28
+ * fallbackWarehouse: fallback.fullyQualifiedName,
29
+ * tables: [
30
+ * "\"MY_DB\".\"MY_SCHEMA\".\"MY_TABLE_1\"",
31
+ * "\"MY_DB\".\"MY_SCHEMA\".\"MY_TABLE_2\"",
32
+ * ],
33
+ * maxConcurrencyLevel: 8,
34
+ * statementQueuedTimeoutInSeconds: 30,
35
+ * statementTimeoutInSeconds: 5,
36
+ * });
37
+ * ```
38
+ * > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
39
+ * <!-- TODO(SNOW-1634854): include an example showing both methods-->
40
+ *
41
+ * > **Note** If a field has a default value, it is shown next to the type in the schema.
42
+ *
43
+ * ## Interactive warehouse limitations
44
+ *
45
+ * Interactive warehouses differ from standard warehouses in a few ways that affect how this resource behaves:
46
+ *
47
+ * - `autoSuspend` has a Snowflake-enforced minimum for interactive warehouses (currently `86400` seconds). The provider does not validate this on the client side (the limit is server-side and may change), so Snowflake will reject values below the current minimum at apply time.
48
+ * - `tables` associations are applied incrementally with `ADD TABLES` / `DROP TABLES` (only the changed entries), rather than by re-associating the full set on every change.
49
+ * - `fallbackWarehouse` is specific to interactive warehouses; it is not available on standard warehouses (`snowflake.Warehouse`).
50
+ * - Standard-warehouse-only properties (`scalingPolicy`, `enableQueryAcceleration`, `queryAccelerationMaxScaleFactor`, `resourceConstraint`, `generation`) are intentionally omitted from the schema; configuring them yields a plan-time "unsupported argument" error.
51
+ * - `warehouseSize` cannot be changed with `ALTER` while the warehouse is running, so a resize briefly suspends the warehouse, applies the new size, and resumes it. Removing `warehouseSize` from the config recreates the resource, because Snowflake has no `UNSET WAREHOUSE_SIZE` to fall back to the account default.
52
+ * - The warehouse type cannot be changed to or from `INTERACTIVE` with `ALTER`. If the underlying warehouse type changes externally, the only way to reconcile is to recreate the resource.
53
+ *
54
+ * ## Import
55
+ *
56
+ * ```sh
57
+ * $ pulumi import snowflake:index/warehouseInteractive:WarehouseInteractive example '"<warehouse_name>"'
58
+ * ```
59
+ */
60
+ export declare class WarehouseInteractive extends pulumi.CustomResource {
61
+ /**
62
+ * Get an existing WarehouseInteractive resource's state with the given name, ID, and optional extra
63
+ * properties used to qualify the lookup.
64
+ *
65
+ * @param name The _unique_ name of the resulting resource.
66
+ * @param id The _unique_ provider ID of the resource to lookup.
67
+ * @param state Any extra arguments used during the lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WarehouseInteractiveState, opts?: pulumi.CustomResourceOptions): WarehouseInteractive;
71
+ /**
72
+ * Returns true if the given object is an instance of WarehouseInteractive. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj: any): obj is WarehouseInteractive;
76
+ /**
77
+ * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume an interactive warehouse when a SQL statement (e.g. query) is submitted to it. 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.
78
+ */
79
+ readonly autoResume: pulumi.Output<string | undefined>;
80
+ /**
81
+ * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which an interactive warehouse is automatically suspended.
82
+ */
83
+ readonly autoSuspend: pulumi.Output<number | undefined>;
84
+ /**
85
+ * Specifies a comment for the interactive warehouse.
86
+ */
87
+ readonly comment: pulumi.Output<string | undefined>;
88
+ /**
89
+ * Specifies the name of the fallback warehouse for the interactive warehouse. For more information about this resource, see docs.
90
+ */
91
+ readonly fallbackWarehouse: pulumi.Output<string>;
92
+ /**
93
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
94
+ */
95
+ readonly fullyQualifiedName: pulumi.Output<string>;
96
+ /**
97
+ * Specifies whether the interactive warehouse is created initially in the ‘Suspended’ state.
98
+ */
99
+ readonly initiallySuspended: pulumi.Output<boolean | undefined>;
100
+ /**
101
+ * Specifies the maximum number of server clusters for the interactive warehouse.
102
+ */
103
+ readonly maxClusterCount: pulumi.Output<number | undefined>;
104
+ /**
105
+ * Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by an interactive warehouse.
106
+ */
107
+ readonly maxConcurrencyLevel: pulumi.Output<number>;
108
+ /**
109
+ * Specifies the minimum number of server clusters for the interactive warehouse (only applies to multi-cluster warehouses).
110
+ */
111
+ readonly minClusterCount: pulumi.Output<number | undefined>;
112
+ /**
113
+ * Identifier for the interactive warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
114
+ */
115
+ readonly name: pulumi.Output<string>;
116
+ /**
117
+ * Outputs the result of `SHOW PARAMETERS IN WAREHOUSE` for the given interactive warehouse.
118
+ */
119
+ readonly parameters: pulumi.Output<outputs.WarehouseInteractiveParameter[]>;
120
+ /**
121
+ * Specifies the name of a resource monitor that is explicitly assigned to the interactive warehouse. For more information about this resource, see docs.
122
+ */
123
+ readonly resourceMonitor: pulumi.Output<string | undefined>;
124
+ /**
125
+ * Outputs the result of `SHOW WAREHOUSES` for the given interactive warehouse.
126
+ */
127
+ readonly showOutputs: pulumi.Output<outputs.WarehouseInteractiveShowOutput[]>;
128
+ /**
129
+ * Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on an interactive warehouse before it is canceled by the system.
130
+ */
131
+ readonly statementQueuedTimeoutInSeconds: pulumi.Output<number>;
132
+ /**
133
+ * Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system.
134
+ */
135
+ readonly statementTimeoutInSeconds: pulumi.Output<number>;
136
+ /**
137
+ * Specifies the fully qualified names of the tables associated with the interactive warehouse. Changes are applied incrementally (ADD TABLES / DROP TABLES) rather than by full re-association.
138
+ */
139
+ readonly tables: pulumi.Output<string[] | undefined>;
140
+ /**
141
+ * Specifies the size of the interactive warehouse. Valid values are (case-insensitive): `XSMALL` | `X-SMALL` | `SMALL` | `MEDIUM` | `LARGE` | `XLARGE` | `X-LARGE` | `XXLARGE` | `X2LARGE` | `2X-LARGE` | `XXXLARGE` | `X3LARGE` | `3X-LARGE` | `X4LARGE` | `4X-LARGE` | `X5LARGE` | `5X-LARGE` | `X6LARGE` | `6X-LARGE`. Note: changing the size briefly suspends and resumes the warehouse to apply the resize (an interactive warehouse cannot be resized while running); removing the size from config will result in the resource recreation.
142
+ */
143
+ readonly warehouseSize: pulumi.Output<string | undefined>;
144
+ /**
145
+ * Specifies the type for the interactive warehouse. This field is used for checking external changes and recreating the resource if needed.
146
+ */
147
+ readonly warehouseType: pulumi.Output<string>;
148
+ /**
149
+ * Create a WarehouseInteractive resource with the given unique name, arguments, and options.
150
+ *
151
+ * @param name The _unique_ name of the resource.
152
+ * @param args The arguments to use to populate this resource's properties.
153
+ * @param opts A bag of options that control this resource's behavior.
154
+ */
155
+ constructor(name: string, args?: WarehouseInteractiveArgs, opts?: pulumi.CustomResourceOptions);
156
+ }
157
+ /**
158
+ * Input properties used for looking up and filtering WarehouseInteractive resources.
159
+ */
160
+ export interface WarehouseInteractiveState {
161
+ /**
162
+ * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume an interactive warehouse when a SQL statement (e.g. query) is submitted to it. 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.
163
+ */
164
+ autoResume?: pulumi.Input<string | undefined>;
165
+ /**
166
+ * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which an interactive warehouse is automatically suspended.
167
+ */
168
+ autoSuspend?: pulumi.Input<number | undefined>;
169
+ /**
170
+ * Specifies a comment for the interactive warehouse.
171
+ */
172
+ comment?: pulumi.Input<string | undefined>;
173
+ /**
174
+ * Specifies the name of the fallback warehouse for the interactive warehouse. For more information about this resource, see docs.
175
+ */
176
+ fallbackWarehouse?: pulumi.Input<string | undefined>;
177
+ /**
178
+ * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
179
+ */
180
+ fullyQualifiedName?: pulumi.Input<string | undefined>;
181
+ /**
182
+ * Specifies whether the interactive warehouse is created initially in the ‘Suspended’ state.
183
+ */
184
+ initiallySuspended?: pulumi.Input<boolean | undefined>;
185
+ /**
186
+ * Specifies the maximum number of server clusters for the interactive warehouse.
187
+ */
188
+ maxClusterCount?: pulumi.Input<number | undefined>;
189
+ /**
190
+ * Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by an interactive warehouse.
191
+ */
192
+ maxConcurrencyLevel?: pulumi.Input<number | undefined>;
193
+ /**
194
+ * Specifies the minimum number of server clusters for the interactive warehouse (only applies to multi-cluster warehouses).
195
+ */
196
+ minClusterCount?: pulumi.Input<number | undefined>;
197
+ /**
198
+ * Identifier for the interactive warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
199
+ */
200
+ name?: pulumi.Input<string | undefined>;
201
+ /**
202
+ * Outputs the result of `SHOW PARAMETERS IN WAREHOUSE` for the given interactive warehouse.
203
+ */
204
+ parameters?: pulumi.Input<pulumi.Input<inputs.WarehouseInteractiveParameter>[] | undefined>;
205
+ /**
206
+ * Specifies the name of a resource monitor that is explicitly assigned to the interactive warehouse. For more information about this resource, see docs.
207
+ */
208
+ resourceMonitor?: pulumi.Input<string | undefined>;
209
+ /**
210
+ * Outputs the result of `SHOW WAREHOUSES` for the given interactive warehouse.
211
+ */
212
+ showOutputs?: pulumi.Input<pulumi.Input<inputs.WarehouseInteractiveShowOutput>[] | undefined>;
213
+ /**
214
+ * Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on an interactive warehouse before it is canceled by the system.
215
+ */
216
+ statementQueuedTimeoutInSeconds?: pulumi.Input<number | undefined>;
217
+ /**
218
+ * Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system.
219
+ */
220
+ statementTimeoutInSeconds?: pulumi.Input<number | undefined>;
221
+ /**
222
+ * Specifies the fully qualified names of the tables associated with the interactive warehouse. Changes are applied incrementally (ADD TABLES / DROP TABLES) rather than by full re-association.
223
+ */
224
+ tables?: pulumi.Input<pulumi.Input<string>[] | undefined>;
225
+ /**
226
+ * Specifies the size of the interactive warehouse. Valid values are (case-insensitive): `XSMALL` | `X-SMALL` | `SMALL` | `MEDIUM` | `LARGE` | `XLARGE` | `X-LARGE` | `XXLARGE` | `X2LARGE` | `2X-LARGE` | `XXXLARGE` | `X3LARGE` | `3X-LARGE` | `X4LARGE` | `4X-LARGE` | `X5LARGE` | `5X-LARGE` | `X6LARGE` | `6X-LARGE`. Note: changing the size briefly suspends and resumes the warehouse to apply the resize (an interactive warehouse cannot be resized while running); removing the size from config will result in the resource recreation.
227
+ */
228
+ warehouseSize?: pulumi.Input<string | undefined>;
229
+ /**
230
+ * Specifies the type for the interactive warehouse. This field is used for checking external changes and recreating the resource if needed.
231
+ */
232
+ warehouseType?: pulumi.Input<string | undefined>;
233
+ }
234
+ /**
235
+ * The set of arguments for constructing a WarehouseInteractive resource.
236
+ */
237
+ export interface WarehouseInteractiveArgs {
238
+ /**
239
+ * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether to automatically resume an interactive warehouse when a SQL statement (e.g. query) is submitted to it. 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.
240
+ */
241
+ autoResume?: pulumi.Input<string | undefined>;
242
+ /**
243
+ * (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`-1`)) Specifies the number of seconds of inactivity after which an interactive warehouse is automatically suspended.
244
+ */
245
+ autoSuspend?: pulumi.Input<number | undefined>;
246
+ /**
247
+ * Specifies a comment for the interactive warehouse.
248
+ */
249
+ comment?: pulumi.Input<string | undefined>;
250
+ /**
251
+ * Specifies the name of the fallback warehouse for the interactive warehouse. For more information about this resource, see docs.
252
+ */
253
+ fallbackWarehouse?: pulumi.Input<string | undefined>;
254
+ /**
255
+ * Specifies whether the interactive warehouse is created initially in the ‘Suspended’ state.
256
+ */
257
+ initiallySuspended?: pulumi.Input<boolean | undefined>;
258
+ /**
259
+ * Specifies the maximum number of server clusters for the interactive warehouse.
260
+ */
261
+ maxClusterCount?: pulumi.Input<number | undefined>;
262
+ /**
263
+ * Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by an interactive warehouse.
264
+ */
265
+ maxConcurrencyLevel?: pulumi.Input<number | undefined>;
266
+ /**
267
+ * Specifies the minimum number of server clusters for the interactive warehouse (only applies to multi-cluster warehouses).
268
+ */
269
+ minClusterCount?: pulumi.Input<number | undefined>;
270
+ /**
271
+ * Identifier for the interactive warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
272
+ */
273
+ name?: pulumi.Input<string | undefined>;
274
+ /**
275
+ * Specifies the name of a resource monitor that is explicitly assigned to the interactive warehouse. For more information about this resource, see docs.
276
+ */
277
+ resourceMonitor?: pulumi.Input<string | undefined>;
278
+ /**
279
+ * Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on an interactive warehouse before it is canceled by the system.
280
+ */
281
+ statementQueuedTimeoutInSeconds?: pulumi.Input<number | undefined>;
282
+ /**
283
+ * Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system.
284
+ */
285
+ statementTimeoutInSeconds?: pulumi.Input<number | undefined>;
286
+ /**
287
+ * Specifies the fully qualified names of the tables associated with the interactive warehouse. Changes are applied incrementally (ADD TABLES / DROP TABLES) rather than by full re-association.
288
+ */
289
+ tables?: pulumi.Input<pulumi.Input<string>[] | undefined>;
290
+ /**
291
+ * Specifies the size of the interactive warehouse. Valid values are (case-insensitive): `XSMALL` | `X-SMALL` | `SMALL` | `MEDIUM` | `LARGE` | `XLARGE` | `X-LARGE` | `XXLARGE` | `X2LARGE` | `2X-LARGE` | `XXXLARGE` | `X3LARGE` | `3X-LARGE` | `X4LARGE` | `4X-LARGE` | `X5LARGE` | `5X-LARGE` | `X6LARGE` | `6X-LARGE`. Note: changing the size briefly suspends and resumes the warehouse to apply the resize (an interactive warehouse cannot be resized while running); removing the size from config will result in the resource recreation.
292
+ */
293
+ warehouseSize?: pulumi.Input<string | undefined>;
294
+ }
295
+ //# sourceMappingURL=warehouseInteractive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warehouseInteractive.d.ts","sourceRoot":"","sources":["../warehouseInteractive.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oBAAoB;IAO1J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,G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