@pulumi/dbtcloud 1.8.1 → 1.8.2-alpha.1778733461

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 (407) hide show
  1. package/accountFeatures.d.ts +15 -14
  2. package/accountFeatures.d.ts.map +1 -0
  3. package/accountFeatures.js +27 -4
  4. package/accountFeatures.js.map +1 -1
  5. package/athenaCredential.d.ts +18 -17
  6. package/athenaCredential.d.ts.map +1 -0
  7. package/athenaCredential.js +29 -6
  8. package/athenaCredential.js.map +1 -1
  9. package/authProvider.d.ts +47 -46
  10. package/authProvider.d.ts.map +1 -0
  11. package/authProvider.js +27 -4
  12. package/authProvider.js.map +1 -1
  13. package/azureAdApplication.d.ts +11 -10
  14. package/azureAdApplication.d.ts.map +1 -0
  15. package/azureAdApplication.js +27 -4
  16. package/azureAdApplication.js.map +1 -1
  17. package/bigQueryCredential.d.ts +12 -11
  18. package/bigQueryCredential.d.ts.map +1 -0
  19. package/bigQueryCredential.js +30 -7
  20. package/bigQueryCredential.js.map +1 -1
  21. package/bigquerySemanticLayerCredential.d.ts +21 -20
  22. package/bigquerySemanticLayerCredential.d.ts.map +1 -0
  23. package/bigquerySemanticLayerCredential.js +30 -7
  24. package/bigquerySemanticLayerCredential.js.map +1 -1
  25. package/config/index.d.ts +1 -0
  26. package/config/index.d.ts.map +1 -0
  27. package/config/vars.d.ts +1 -0
  28. package/config/vars.d.ts.map +1 -0
  29. package/config/vars.js +25 -2
  30. package/config/vars.js.map +1 -1
  31. package/connectionCatalogConfig.d.ts +22 -21
  32. package/connectionCatalogConfig.d.ts.map +1 -0
  33. package/connectionCatalogConfig.js +31 -8
  34. package/connectionCatalogConfig.js.map +1 -1
  35. package/databricksCredential.d.ts +21 -20
  36. package/databricksCredential.d.ts.map +1 -0
  37. package/databricksCredential.js +29 -6
  38. package/databricksCredential.js.map +1 -1
  39. package/databricksPlatformMetadataCredential.d.ts +19 -18
  40. package/databricksPlatformMetadataCredential.d.ts.map +1 -0
  41. package/databricksPlatformMetadataCredential.js +29 -6
  42. package/databricksPlatformMetadataCredential.js.map +1 -1
  43. package/databricksSemanticLayerCredential.d.ts +5 -4
  44. package/databricksSemanticLayerCredential.d.ts.map +1 -0
  45. package/databricksSemanticLayerCredential.js +29 -6
  46. package/databricksSemanticLayerCredential.js.map +1 -1
  47. package/environment.d.ts +36 -35
  48. package/environment.d.ts.map +1 -0
  49. package/environment.js +37 -14
  50. package/environment.js.map +1 -1
  51. package/environmentVariable.d.ts +6 -5
  52. package/environmentVariable.d.ts.map +1 -0
  53. package/environmentVariable.js +28 -5
  54. package/environmentVariable.js.map +1 -1
  55. package/environmentVariableJobOverride.d.ts +10 -9
  56. package/environmentVariableJobOverride.d.ts.map +1 -0
  57. package/environmentVariableJobOverride.js +29 -6
  58. package/environmentVariableJobOverride.js.map +1 -1
  59. package/extendedAttributes.d.ts +9 -8
  60. package/extendedAttributes.d.ts.map +1 -0
  61. package/extendedAttributes.js +30 -7
  62. package/extendedAttributes.js.map +1 -1
  63. package/fabricCredential.d.ts +29 -28
  64. package/fabricCredential.d.ts.map +1 -0
  65. package/fabricCredential.js +31 -8
  66. package/fabricCredential.js.map +1 -1
  67. package/getAthenaCredential.d.ts +1 -0
  68. package/getAthenaCredential.d.ts.map +1 -0
  69. package/getAthenaCredential.js +25 -2
  70. package/getAthenaCredential.js.map +1 -1
  71. package/getAzureDevOpsProject.d.ts +1 -0
  72. package/getAzureDevOpsProject.d.ts.map +1 -0
  73. package/getAzureDevOpsProject.js +25 -2
  74. package/getAzureDevOpsProject.js.map +1 -1
  75. package/getAzureDevOpsRepository.d.ts +1 -0
  76. package/getAzureDevOpsRepository.d.ts.map +1 -0
  77. package/getAzureDevOpsRepository.js +25 -2
  78. package/getAzureDevOpsRepository.js.map +1 -1
  79. package/getBigQueryCredential.d.ts +1 -0
  80. package/getBigQueryCredential.d.ts.map +1 -0
  81. package/getBigQueryCredential.js +25 -2
  82. package/getBigQueryCredential.js.map +1 -1
  83. package/getDatabricksCredential.d.ts +1 -0
  84. package/getDatabricksCredential.d.ts.map +1 -0
  85. package/getDatabricksCredential.js +25 -2
  86. package/getDatabricksCredential.js.map +1 -1
  87. package/getEnvironment.d.ts +1 -0
  88. package/getEnvironment.d.ts.map +1 -0
  89. package/getEnvironment.js +25 -2
  90. package/getEnvironment.js.map +1 -1
  91. package/getEnvironmentVariable.d.ts +1 -0
  92. package/getEnvironmentVariable.d.ts.map +1 -0
  93. package/getEnvironmentVariable.js +25 -2
  94. package/getEnvironmentVariable.js.map +1 -1
  95. package/getEnvironments.d.ts +2 -1
  96. package/getEnvironments.d.ts.map +1 -0
  97. package/getEnvironments.js +25 -2
  98. package/getEnvironments.js.map +1 -1
  99. package/getExtendedAttributes.d.ts +1 -0
  100. package/getExtendedAttributes.d.ts.map +1 -0
  101. package/getExtendedAttributes.js +25 -2
  102. package/getExtendedAttributes.js.map +1 -1
  103. package/getGlobalConnection.d.ts +1 -0
  104. package/getGlobalConnection.d.ts.map +1 -0
  105. package/getGlobalConnection.js +25 -2
  106. package/getGlobalConnection.js.map +1 -1
  107. package/getGlobalConnections.d.ts +1 -0
  108. package/getGlobalConnections.d.ts.map +1 -0
  109. package/getGlobalConnections.js +25 -2
  110. package/getGlobalConnections.js.map +1 -1
  111. package/getGroup.d.ts +1 -0
  112. package/getGroup.d.ts.map +1 -0
  113. package/getGroup.js +25 -2
  114. package/getGroup.js.map +1 -1
  115. package/getGroupUsers.d.ts +1 -0
  116. package/getGroupUsers.d.ts.map +1 -0
  117. package/getGroupUsers.js +25 -2
  118. package/getGroupUsers.js.map +1 -1
  119. package/getGroups.d.ts +4 -3
  120. package/getGroups.d.ts.map +1 -0
  121. package/getGroups.js +25 -2
  122. package/getGroups.js.map +1 -1
  123. package/getJob.d.ts +2 -1
  124. package/getJob.d.ts.map +1 -0
  125. package/getJob.js +25 -2
  126. package/getJob.js.map +1 -1
  127. package/getJobs.d.ts +3 -2
  128. package/getJobs.d.ts.map +1 -0
  129. package/getJobs.js +25 -2
  130. package/getJobs.js.map +1 -1
  131. package/getModelNotifications.d.ts +1 -0
  132. package/getModelNotifications.d.ts.map +1 -0
  133. package/getModelNotifications.js +25 -2
  134. package/getModelNotifications.js.map +1 -1
  135. package/getNotification.d.ts +1 -0
  136. package/getNotification.d.ts.map +1 -0
  137. package/getNotification.js +25 -2
  138. package/getNotification.js.map +1 -1
  139. package/getPostgresCredential.d.ts +1 -0
  140. package/getPostgresCredential.d.ts.map +1 -0
  141. package/getPostgresCredential.js +25 -2
  142. package/getPostgresCredential.js.map +1 -1
  143. package/getPrivatelinkEndpoint.d.ts +4 -3
  144. package/getPrivatelinkEndpoint.d.ts.map +1 -0
  145. package/getPrivatelinkEndpoint.js +25 -2
  146. package/getPrivatelinkEndpoint.js.map +1 -1
  147. package/getPrivatelinkEndpoints.d.ts +3 -2
  148. package/getPrivatelinkEndpoints.d.ts.map +1 -0
  149. package/getPrivatelinkEndpoints.js +27 -4
  150. package/getPrivatelinkEndpoints.js.map +1 -1
  151. package/getProfile.d.ts +1 -0
  152. package/getProfile.d.ts.map +1 -0
  153. package/getProfile.js +25 -2
  154. package/getProfile.js.map +1 -1
  155. package/getProfiles.d.ts +1 -0
  156. package/getProfiles.d.ts.map +1 -0
  157. package/getProfiles.js +25 -2
  158. package/getProfiles.js.map +1 -1
  159. package/getProject.d.ts +3 -2
  160. package/getProject.d.ts.map +1 -0
  161. package/getProject.js +25 -2
  162. package/getProject.js.map +1 -1
  163. package/getProjects.d.ts +2 -1
  164. package/getProjects.d.ts.map +1 -0
  165. package/getProjects.js +25 -2
  166. package/getProjects.js.map +1 -1
  167. package/getRedshiftCredential.d.ts +1 -0
  168. package/getRedshiftCredential.d.ts.map +1 -0
  169. package/getRedshiftCredential.js +25 -2
  170. package/getRedshiftCredential.js.map +1 -1
  171. package/getRepository.d.ts +2 -1
  172. package/getRepository.d.ts.map +1 -0
  173. package/getRepository.js +25 -2
  174. package/getRepository.js.map +1 -1
  175. package/getRuns.d.ts +2 -1
  176. package/getRuns.d.ts.map +1 -0
  177. package/getRuns.js +25 -2
  178. package/getRuns.js.map +1 -1
  179. package/getSalesforceCredential.d.ts +1 -0
  180. package/getSalesforceCredential.d.ts.map +1 -0
  181. package/getSalesforceCredential.js +25 -2
  182. package/getSalesforceCredential.js.map +1 -1
  183. package/getServiceToken.d.ts +2 -1
  184. package/getServiceToken.d.ts.map +1 -0
  185. package/getServiceToken.js +25 -2
  186. package/getServiceToken.js.map +1 -1
  187. package/getSnowflakeCredential.d.ts +1 -0
  188. package/getSnowflakeCredential.d.ts.map +1 -0
  189. package/getSnowflakeCredential.js +25 -2
  190. package/getSnowflakeCredential.js.map +1 -1
  191. package/getSparkCredential.d.ts +3 -2
  192. package/getSparkCredential.d.ts.map +1 -0
  193. package/getSparkCredential.js +27 -4
  194. package/getSparkCredential.js.map +1 -1
  195. package/getStarburstCredential.d.ts +1 -0
  196. package/getStarburstCredential.d.ts.map +1 -0
  197. package/getStarburstCredential.js +25 -2
  198. package/getStarburstCredential.js.map +1 -1
  199. package/getSynapseCredential.d.ts +1 -0
  200. package/getSynapseCredential.d.ts.map +1 -0
  201. package/getSynapseCredential.js +25 -2
  202. package/getSynapseCredential.js.map +1 -1
  203. package/getTeradataCredential.d.ts +1 -0
  204. package/getTeradataCredential.d.ts.map +1 -0
  205. package/getTeradataCredential.js +25 -2
  206. package/getTeradataCredential.js.map +1 -1
  207. package/getUser.d.ts +1 -0
  208. package/getUser.d.ts.map +1 -0
  209. package/getUser.js +25 -2
  210. package/getUser.js.map +1 -1
  211. package/getUserGroups.d.ts +1 -0
  212. package/getUserGroups.d.ts.map +1 -0
  213. package/getUserGroups.js +25 -2
  214. package/getUserGroups.js.map +1 -1
  215. package/getUsers.d.ts +1 -0
  216. package/getUsers.d.ts.map +1 -0
  217. package/getUsers.js +25 -2
  218. package/getUsers.js.map +1 -1
  219. package/getWebhook.d.ts +1 -0
  220. package/getWebhook.d.ts.map +1 -0
  221. package/getWebhook.js +25 -2
  222. package/getWebhook.js.map +1 -1
  223. package/globalConnection.d.ts +33 -32
  224. package/globalConnection.d.ts.map +1 -0
  225. package/globalConnection.js +27 -4
  226. package/globalConnection.js.map +1 -1
  227. package/group.d.ts +14 -13
  228. package/group.d.ts.map +1 -0
  229. package/group.js +29 -6
  230. package/group.js.map +1 -1
  231. package/groupPartialPermissions.d.ts +12 -11
  232. package/groupPartialPermissions.d.ts.map +1 -0
  233. package/groupPartialPermissions.js +30 -7
  234. package/groupPartialPermissions.js.map +1 -1
  235. package/index.d.ts +1 -0
  236. package/index.d.ts.map +1 -0
  237. package/index.js +16 -4
  238. package/index.js.map +1 -1
  239. package/ipRestrictionsRule.d.ts +8 -7
  240. package/ipRestrictionsRule.d.ts.map +1 -0
  241. package/ipRestrictionsRule.js +27 -4
  242. package/ipRestrictionsRule.js.map +1 -1
  243. package/job.d.ts +65 -64
  244. package/job.d.ts.map +1 -0
  245. package/job.js +29 -6
  246. package/job.js.map +1 -1
  247. package/licenseMap.d.ts +4 -3
  248. package/licenseMap.d.ts.map +1 -0
  249. package/licenseMap.js +27 -4
  250. package/licenseMap.js.map +1 -1
  251. package/lineageIntegration.d.ts +15 -14
  252. package/lineageIntegration.d.ts.map +1 -0
  253. package/lineageIntegration.js +29 -6
  254. package/lineageIntegration.js.map +1 -1
  255. package/modelNotifications.d.ts +12 -11
  256. package/modelNotifications.d.ts.map +1 -0
  257. package/modelNotifications.js +27 -4
  258. package/modelNotifications.js.map +1 -1
  259. package/notification.d.ts +20 -19
  260. package/notification.d.ts.map +1 -0
  261. package/notification.js +27 -4
  262. package/notification.js.map +1 -1
  263. package/notificationSetting.d.ts +9 -8
  264. package/notificationSetting.d.ts.map +1 -0
  265. package/notificationSetting.js +29 -6
  266. package/notificationSetting.js.map +1 -1
  267. package/oauthConfiguration.d.ts +16 -15
  268. package/oauthConfiguration.d.ts.map +1 -0
  269. package/oauthConfiguration.js +27 -4
  270. package/oauthConfiguration.js.map +1 -1
  271. package/openaiIntegration.d.ts +17 -16
  272. package/openaiIntegration.d.ts.map +1 -0
  273. package/openaiIntegration.js +27 -4
  274. package/openaiIntegration.js.map +1 -1
  275. package/package.json +3 -3
  276. package/partialEnvironmentVariable.d.ts +5 -4
  277. package/partialEnvironmentVariable.d.ts.map +1 -0
  278. package/partialEnvironmentVariable.js +27 -4
  279. package/partialEnvironmentVariable.js.map +1 -1
  280. package/partialLicenseMap.d.ts +3 -2
  281. package/partialLicenseMap.d.ts.map +1 -0
  282. package/partialLicenseMap.js +27 -4
  283. package/partialLicenseMap.js.map +1 -1
  284. package/partialNotification.d.ts +20 -19
  285. package/partialNotification.d.ts.map +1 -0
  286. package/partialNotification.js +27 -4
  287. package/partialNotification.js.map +1 -1
  288. package/postgresCredential.d.ts +24 -23
  289. package/postgresCredential.d.ts.map +1 -0
  290. package/postgresCredential.js +29 -6
  291. package/postgresCredential.js.map +1 -1
  292. package/postgresSemanticLayerCredential.d.ts +5 -4
  293. package/postgresSemanticLayerCredential.d.ts.map +1 -0
  294. package/postgresSemanticLayerCredential.js +29 -6
  295. package/postgresSemanticLayerCredential.js.map +1 -1
  296. package/profile.d.ts +15 -14
  297. package/profile.d.ts.map +1 -0
  298. package/profile.js +34 -11
  299. package/profile.js.map +1 -1
  300. package/project.d.ts +9 -8
  301. package/project.d.ts.map +1 -0
  302. package/project.js +27 -4
  303. package/project.js.map +1 -1
  304. package/projectArtefacts.d.ts +9 -8
  305. package/projectArtefacts.d.ts.map +1 -0
  306. package/projectArtefacts.js +30 -7
  307. package/projectArtefacts.js.map +1 -1
  308. package/projectRepository.d.ts +5 -4
  309. package/projectRepository.d.ts.map +1 -0
  310. package/projectRepository.js +29 -6
  311. package/projectRepository.js.map +1 -1
  312. package/provider.d.ts +10 -9
  313. package/provider.d.ts.map +1 -0
  314. package/provider.js +27 -4
  315. package/provider.js.map +1 -1
  316. package/redshiftCredential.d.ts +17 -16
  317. package/redshiftCredential.d.ts.map +1 -0
  318. package/redshiftCredential.js +29 -6
  319. package/redshiftCredential.js.map +1 -1
  320. package/redshiftSemanticLayerCredential.d.ts +6 -5
  321. package/redshiftSemanticLayerCredential.d.ts.map +1 -0
  322. package/redshiftSemanticLayerCredential.js +30 -7
  323. package/redshiftSemanticLayerCredential.js.map +1 -1
  324. package/repository.d.ts +26 -25
  325. package/repository.d.ts.map +1 -0
  326. package/repository.js +27 -4
  327. package/repository.js.map +1 -1
  328. package/salesforceCredential.d.ts +22 -21
  329. package/salesforceCredential.d.ts.map +1 -0
  330. package/salesforceCredential.js +29 -6
  331. package/salesforceCredential.js.map +1 -1
  332. package/scimConfig.d.ts +4 -3
  333. package/scimConfig.d.ts.map +1 -0
  334. package/scimConfig.js +27 -4
  335. package/scimConfig.js.map +1 -1
  336. package/scimConfigToken.d.ts +6 -5
  337. package/scimConfigToken.d.ts.map +1 -0
  338. package/scimConfigToken.js +27 -4
  339. package/scimConfigToken.js.map +1 -1
  340. package/scimGroupPartialPermissions.d.ts +4 -3
  341. package/scimGroupPartialPermissions.d.ts.map +1 -0
  342. package/scimGroupPartialPermissions.js +27 -4
  343. package/scimGroupPartialPermissions.js.map +1 -1
  344. package/scimGroupPermissions.d.ts +4 -3
  345. package/scimGroupPermissions.d.ts.map +1 -0
  346. package/scimGroupPermissions.js +27 -4
  347. package/scimGroupPermissions.js.map +1 -1
  348. package/semanticLayerConfiguration.d.ts +5 -4
  349. package/semanticLayerConfiguration.d.ts.map +1 -0
  350. package/semanticLayerConfiguration.js +29 -6
  351. package/semanticLayerConfiguration.js.map +1 -1
  352. package/semanticLayerCredentialServiceTokenMapping.d.ts +7 -6
  353. package/semanticLayerCredentialServiceTokenMapping.d.ts.map +1 -0
  354. package/semanticLayerCredentialServiceTokenMapping.js +30 -7
  355. package/semanticLayerCredentialServiceTokenMapping.js.map +1 -1
  356. package/serviceToken.d.ts +10 -9
  357. package/serviceToken.d.ts.map +1 -0
  358. package/serviceToken.js +28 -5
  359. package/serviceToken.js.map +1 -1
  360. package/snowflakeCredential.d.ts +39 -38
  361. package/snowflakeCredential.d.ts.map +1 -0
  362. package/snowflakeCredential.js +29 -6
  363. package/snowflakeCredential.js.map +1 -1
  364. package/snowflakePlatformMetadataCredential.d.ts +36 -35
  365. package/snowflakePlatformMetadataCredential.d.ts.map +1 -0
  366. package/snowflakePlatformMetadataCredential.js +31 -8
  367. package/snowflakePlatformMetadataCredential.js.map +1 -1
  368. package/snowflakeSemanticLayerCredential.d.ts +7 -6
  369. package/snowflakeSemanticLayerCredential.d.ts.map +1 -0
  370. package/snowflakeSemanticLayerCredential.js +31 -8
  371. package/snowflakeSemanticLayerCredential.js.map +1 -1
  372. package/sparkCredential.d.ts +14 -13
  373. package/sparkCredential.d.ts.map +1 -0
  374. package/sparkCredential.js +29 -6
  375. package/sparkCredential.js.map +1 -1
  376. package/starburstCredential.d.ts +14 -13
  377. package/starburstCredential.d.ts.map +1 -0
  378. package/starburstCredential.js +29 -6
  379. package/starburstCredential.js.map +1 -1
  380. package/synapseCredential.d.ts +31 -30
  381. package/synapseCredential.d.ts.map +1 -0
  382. package/synapseCredential.js +32 -9
  383. package/synapseCredential.js.map +1 -1
  384. package/teradataCredential.d.ts +15 -14
  385. package/teradataCredential.d.ts.map +1 -0
  386. package/teradataCredential.js +29 -6
  387. package/teradataCredential.js.map +1 -1
  388. package/types/index.d.ts +1 -0
  389. package/types/index.d.ts.map +1 -0
  390. package/types/index.js +25 -2
  391. package/types/index.js.map +1 -1
  392. package/types/input.d.ts +169 -168
  393. package/types/input.d.ts.map +1 -0
  394. package/types/output.d.ts +8 -7
  395. package/types/output.d.ts.map +1 -0
  396. package/userGroups.d.ts +4 -3
  397. package/userGroups.d.ts.map +1 -0
  398. package/userGroups.js +28 -5
  399. package/userGroups.js.map +1 -1
  400. package/utilities.d.ts +1 -0
  401. package/utilities.d.ts.map +1 -0
  402. package/utilities.js +24 -1
  403. package/utilities.js.map +1 -1
  404. package/webhook.d.ts +15 -14
  405. package/webhook.d.ts.map +1 -0
  406. package/webhook.js +27 -4
  407. package/webhook.js.map +1 -1
@@ -129,43 +129,43 @@ export interface PartialNotificationState {
129
129
  /**
130
130
  * The external email to receive the notification [global, used as identifier]
131
131
  */
132
- externalEmail?: pulumi.Input<string>;
132
+ externalEmail?: pulumi.Input<string | undefined>;
133
133
  /**
134
134
  * Type of notification (1 = dbt Cloud user email (default): does not require an externalEmail ; 2 = Slack channel: requires `slackChannelId` and `slackChannelName` ; 4 = external email: requires setting an `externalEmail`) [global, used as identifier]
135
135
  */
136
- notificationType?: pulumi.Input<number>;
136
+ notificationType?: pulumi.Input<number | undefined>;
137
137
  /**
138
138
  * List of job IDs to trigger the webhook on cancel. Those will be added/removed when config is added/removed.
139
139
  */
140
- onCancels?: pulumi.Input<pulumi.Input<number>[]>;
140
+ onCancels?: pulumi.Input<pulumi.Input<number>[] | undefined>;
141
141
  /**
142
142
  * List of job IDs to trigger the webhook on failure Those will be added/removed when config is added/removed.
143
143
  */
144
- onFailures?: pulumi.Input<pulumi.Input<number>[]>;
144
+ onFailures?: pulumi.Input<pulumi.Input<number>[] | undefined>;
145
145
  /**
146
146
  * List of job IDs to trigger the webhook on success Those will be added/removed when config is added/removed.
147
147
  */
148
- onSuccesses?: pulumi.Input<pulumi.Input<number>[]>;
148
+ onSuccesses?: pulumi.Input<pulumi.Input<number>[] | undefined>;
149
149
  /**
150
150
  * List of job IDs to trigger the webhook on warning Those will be added/removed when config is added/removed.
151
151
  */
152
- onWarnings?: pulumi.Input<pulumi.Input<number>[]>;
152
+ onWarnings?: pulumi.Input<pulumi.Input<number>[] | undefined>;
153
153
  /**
154
154
  * The ID of the Slack channel to receive the notification. It can be found at the bottom of the Slack channel settings [global, used as identifier]
155
155
  */
156
- slackChannelId?: pulumi.Input<string>;
156
+ slackChannelId?: pulumi.Input<string | undefined>;
157
157
  /**
158
158
  * The name of the slack channel [global, used as identifier]
159
159
  */
160
- slackChannelName?: pulumi.Input<string>;
160
+ slackChannelName?: pulumi.Input<string | undefined>;
161
161
  /**
162
162
  * State of the notification (1 = active (default), 2 = inactive) [global]
163
163
  */
164
- state?: pulumi.Input<number>;
164
+ state?: pulumi.Input<number | undefined>;
165
165
  /**
166
166
  * Internal dbt Cloud User ID. Must be the userId for an existing user even if the notification is an external one [global]
167
167
  */
168
- userId?: pulumi.Input<number>;
168
+ userId?: pulumi.Input<number | undefined>;
169
169
  }
170
170
  /**
171
171
  * The set of arguments for constructing a PartialNotification resource.
@@ -174,41 +174,42 @@ export interface PartialNotificationArgs {
174
174
  /**
175
175
  * The external email to receive the notification [global, used as identifier]
176
176
  */
177
- externalEmail?: pulumi.Input<string>;
177
+ externalEmail?: pulumi.Input<string | undefined>;
178
178
  /**
179
179
  * Type of notification (1 = dbt Cloud user email (default): does not require an externalEmail ; 2 = Slack channel: requires `slackChannelId` and `slackChannelName` ; 4 = external email: requires setting an `externalEmail`) [global, used as identifier]
180
180
  */
181
- notificationType?: pulumi.Input<number>;
181
+ notificationType?: pulumi.Input<number | undefined>;
182
182
  /**
183
183
  * List of job IDs to trigger the webhook on cancel. Those will be added/removed when config is added/removed.
184
184
  */
185
- onCancels?: pulumi.Input<pulumi.Input<number>[]>;
185
+ onCancels?: pulumi.Input<pulumi.Input<number>[] | undefined>;
186
186
  /**
187
187
  * List of job IDs to trigger the webhook on failure Those will be added/removed when config is added/removed.
188
188
  */
189
- onFailures?: pulumi.Input<pulumi.Input<number>[]>;
189
+ onFailures?: pulumi.Input<pulumi.Input<number>[] | undefined>;
190
190
  /**
191
191
  * List of job IDs to trigger the webhook on success Those will be added/removed when config is added/removed.
192
192
  */
193
- onSuccesses?: pulumi.Input<pulumi.Input<number>[]>;
193
+ onSuccesses?: pulumi.Input<pulumi.Input<number>[] | undefined>;
194
194
  /**
195
195
  * List of job IDs to trigger the webhook on warning Those will be added/removed when config is added/removed.
196
196
  */
197
- onWarnings?: pulumi.Input<pulumi.Input<number>[]>;
197
+ onWarnings?: pulumi.Input<pulumi.Input<number>[] | undefined>;
198
198
  /**
199
199
  * The ID of the Slack channel to receive the notification. It can be found at the bottom of the Slack channel settings [global, used as identifier]
200
200
  */
201
- slackChannelId?: pulumi.Input<string>;
201
+ slackChannelId?: pulumi.Input<string | undefined>;
202
202
  /**
203
203
  * The name of the slack channel [global, used as identifier]
204
204
  */
205
- slackChannelName?: pulumi.Input<string>;
205
+ slackChannelName?: pulumi.Input<string | undefined>;
206
206
  /**
207
207
  * State of the notification (1 = active (default), 2 = inactive) [global]
208
208
  */
209
- state?: pulumi.Input<number>;
209
+ state?: pulumi.Input<number | undefined>;
210
210
  /**
211
211
  * Internal dbt Cloud User ID. Must be the userId for an existing user even if the notification is an external one [global]
212
212
  */
213
213
  userId: pulumi.Input<number>;
214
214
  }
215
+ //# sourceMappingURL=partialNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partialNotification.d.ts","sourceRoot":"","sources":["../partialNotification.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,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AAC;IAC/D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.PartialNotification = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * Setup partial notifications on jobs success/failure to internal users, external email addresses or Slack channels. This is different from `dbtCloudNotification` as it allows to have multiple resources updating the same notification recipient (email, user or Slack channel) and is useful for companies managing a single dbt Cloud Account configuration from different Terraform projects/workspaces.
10
33
  *
@@ -76,6 +99,8 @@ class PartialNotification extends pulumi.CustomResource {
76
99
  static get(name, id, state, opts) {
77
100
  return new PartialNotification(name, state, { ...opts, id: id });
78
101
  }
102
+ /** @internal */
103
+ static __pulumiType = 'dbtcloud:index/partialNotification:PartialNotification';
79
104
  /**
80
105
  * Returns true if the given object is an instance of PartialNotification. This is designed to work even
81
106
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -123,6 +148,4 @@ class PartialNotification extends pulumi.CustomResource {
123
148
  }
124
149
  }
125
150
  exports.PartialNotification = PartialNotification;
126
- /** @internal */
127
- PartialNotification.__pulumiType = 'dbtcloud:index/partialNotification:PartialNotification';
128
151
  //# sourceMappingURL=partialNotification.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"partialNotification.js","sourceRoot":"","sources":["../partialNotification.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAA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;YACvC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9GL,kDA+GC"}
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * // Using the classic sensitive attribute (stored in state)
12
12
  * const postgresProdCredential = new dbtcloud.PostgresCredential("postgres_prod_credential", {
13
13
  * isActive: true,
14
- * projectId: dbtProject.id,
14
+ * projectId: Number(dbtProject.id),
15
15
  * type: "postgres",
16
16
  * defaultSchema: "my_schema",
17
17
  * username: "my_username",
@@ -22,7 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
22
22
  * const postgresPassword = config.require("postgresPassword");
23
23
  * const postgresProdCredentialWo = new dbtcloud.PostgresCredential("postgres_prod_credential_wo", {
24
24
  * isActive: true,
25
- * projectId: dbtProject.id,
25
+ * projectId: Number(dbtProject.id),
26
26
  * type: "postgres",
27
27
  * defaultSchema: "my_schema",
28
28
  * username: "my_username",
@@ -133,52 +133,52 @@ export interface PostgresCredentialState {
133
133
  /**
134
134
  * The system Postgres/Redshift/AlloyDB credential ID.
135
135
  */
136
- credentialId?: pulumi.Input<number>;
136
+ credentialId?: pulumi.Input<number | undefined>;
137
137
  /**
138
138
  * Default schema name. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
139
139
  */
140
- defaultSchema?: pulumi.Input<string>;
140
+ defaultSchema?: pulumi.Input<string | undefined>;
141
141
  /**
142
142
  * Whether the Postgres/Redshift/AlloyDB credential is active
143
143
  */
144
- isActive?: pulumi.Input<boolean>;
144
+ isActive?: pulumi.Input<boolean | undefined>;
145
145
  /**
146
146
  * Number of threads to use (required for Redshift)
147
147
  */
148
- numThreads?: pulumi.Input<number>;
148
+ numThreads?: pulumi.Input<number | undefined>;
149
149
  /**
150
150
  * Password for Postgres/Redshift/AlloyDB. Consider using `passwordWo` instead, which is not stored in state.
151
151
  */
152
- password?: pulumi.Input<string>;
152
+ password?: pulumi.Input<string | undefined>;
153
153
  /**
154
154
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
155
155
  * Write-only alternative to `password`. The value is not stored in state. Requires `passwordWoVersion` to trigger updates.
156
156
  */
157
- passwordWo?: pulumi.Input<string>;
157
+ passwordWo?: pulumi.Input<string | undefined>;
158
158
  /**
159
159
  * Version number for `passwordWo`. Increment this value to trigger an update of the password when using `passwordWo`.
160
160
  */
161
- passwordWoVersion?: pulumi.Input<number>;
161
+ passwordWoVersion?: pulumi.Input<number | undefined>;
162
162
  /**
163
163
  * Project ID to create the Postgres/Redshift/AlloyDB credential in.
164
164
  */
165
- projectId?: pulumi.Input<number>;
165
+ projectId?: pulumi.Input<number | undefined>;
166
166
  /**
167
167
  * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Postgres credential for the Semantic Layer.
168
168
  */
169
- semanticLayerCredential?: pulumi.Input<boolean>;
169
+ semanticLayerCredential?: pulumi.Input<boolean | undefined>;
170
170
  /**
171
171
  * Default schema name
172
172
  */
173
- targetName?: pulumi.Input<string>;
173
+ targetName?: pulumi.Input<string | undefined>;
174
174
  /**
175
175
  * Type of connection. One of (postgres/redshift). Use postgres for alloydb connections. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
176
176
  */
177
- type?: pulumi.Input<string>;
177
+ type?: pulumi.Input<string | undefined>;
178
178
  /**
179
179
  * Username for Postgres/Redshift/AlloyDB
180
180
  */
181
- username?: pulumi.Input<string>;
181
+ username?: pulumi.Input<string | undefined>;
182
182
  }
183
183
  /**
184
184
  * The set of arguments for constructing a PostgresCredential resource.
@@ -187,28 +187,28 @@ export interface PostgresCredentialArgs {
187
187
  /**
188
188
  * Default schema name. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
189
189
  */
190
- defaultSchema?: pulumi.Input<string>;
190
+ defaultSchema?: pulumi.Input<string | undefined>;
191
191
  /**
192
192
  * Whether the Postgres/Redshift/AlloyDB credential is active
193
193
  */
194
- isActive?: pulumi.Input<boolean>;
194
+ isActive?: pulumi.Input<boolean | undefined>;
195
195
  /**
196
196
  * Number of threads to use (required for Redshift)
197
197
  */
198
- numThreads?: pulumi.Input<number>;
198
+ numThreads?: pulumi.Input<number | undefined>;
199
199
  /**
200
200
  * Password for Postgres/Redshift/AlloyDB. Consider using `passwordWo` instead, which is not stored in state.
201
201
  */
202
- password?: pulumi.Input<string>;
202
+ password?: pulumi.Input<string | undefined>;
203
203
  /**
204
204
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
205
205
  * Write-only alternative to `password`. The value is not stored in state. Requires `passwordWoVersion` to trigger updates.
206
206
  */
207
- passwordWo?: pulumi.Input<string>;
207
+ passwordWo?: pulumi.Input<string | undefined>;
208
208
  /**
209
209
  * Version number for `passwordWo`. Increment this value to trigger an update of the password when using `passwordWo`.
210
210
  */
211
- passwordWoVersion?: pulumi.Input<number>;
211
+ passwordWoVersion?: pulumi.Input<number | undefined>;
212
212
  /**
213
213
  * Project ID to create the Postgres/Redshift/AlloyDB credential in.
214
214
  */
@@ -216,17 +216,18 @@ export interface PostgresCredentialArgs {
216
216
  /**
217
217
  * This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Postgres credential for the Semantic Layer.
218
218
  */
219
- semanticLayerCredential?: pulumi.Input<boolean>;
219
+ semanticLayerCredential?: pulumi.Input<boolean | undefined>;
220
220
  /**
221
221
  * Default schema name
222
222
  */
223
- targetName?: pulumi.Input<string>;
223
+ targetName?: pulumi.Input<string | undefined>;
224
224
  /**
225
225
  * Type of connection. One of (postgres/redshift). Use postgres for alloydb connections. Optional only when semantic*layer*credential is set to true; otherwise, this field is required.
226
226
  */
227
- type?: pulumi.Input<string>;
227
+ type?: pulumi.Input<string | undefined>;
228
228
  /**
229
229
  * Username for Postgres/Redshift/AlloyDB
230
230
  */
231
231
  username: pulumi.Input<string>;
232
232
  }
233
+ //# sourceMappingURL=postgresCredential.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresCredential.d.ts","sourceRoot":"","sources":["../postgresCredential.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,E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AAG,SAAS,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.PostgresCredential = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * Postgres credential resource.
10
33
  *
@@ -17,7 +40,7 @@ const utilities = require("./utilities");
17
40
  * // Using the classic sensitive attribute (stored in state)
18
41
  * const postgresProdCredential = new dbtcloud.PostgresCredential("postgres_prod_credential", {
19
42
  * isActive: true,
20
- * projectId: dbtProject.id,
43
+ * projectId: Number(dbtProject.id),
21
44
  * type: "postgres",
22
45
  * defaultSchema: "my_schema",
23
46
  * username: "my_username",
@@ -28,7 +51,7 @@ const utilities = require("./utilities");
28
51
  * const postgresPassword = config.require("postgresPassword");
29
52
  * const postgresProdCredentialWo = new dbtcloud.PostgresCredential("postgres_prod_credential_wo", {
30
53
  * isActive: true,
31
- * projectId: dbtProject.id,
54
+ * projectId: Number(dbtProject.id),
32
55
  * type: "postgres",
33
56
  * defaultSchema: "my_schema",
34
57
  * username: "my_username",
@@ -71,6 +94,8 @@ class PostgresCredential extends pulumi.CustomResource {
71
94
  static get(name, id, state, opts) {
72
95
  return new PostgresCredential(name, state, { ...opts, id: id });
73
96
  }
97
+ /** @internal */
98
+ static __pulumiType = 'dbtcloud:index/postgresCredential:PostgresCredential';
74
99
  /**
75
100
  * Returns true if the given object is an instance of PostgresCredential. This is designed to work even
76
101
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -127,6 +152,4 @@ class PostgresCredential extends pulumi.CustomResource {
127
152
  }
128
153
  }
129
154
  exports.PostgresCredential = PostgresCredential;
130
- /** @internal */
131
- PostgresCredential.__pulumiType = 'dbtcloud:index/postgresCredential:PostgresCredential';
132
155
  //# sourceMappingURL=postgresCredential.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"postgresCredential.js","sourceRoot":"","sources":["../postgresCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA4DD,YAAY,IAAY,EAAE,WAA8D,EAAE,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AAC,CAAC,CAAC,SAAS,CAAC;YACvF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAhIL,gDAiIC"}
@@ -12,12 +12,12 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * const testPostgresSemanticLayerCredential = new dbtcloud.PostgresSemanticLayerCredential("test_postgres_semantic_layer_credential", {
14
14
  * configuration: {
15
- * projectId: projectId,
15
+ * projectId: Number(projectId),
16
16
  * name: "Postgres SL Credential",
17
17
  * adapterVersion: "postgres_v0",
18
18
  * },
19
19
  * credential: {
20
- * projectId: projectId,
20
+ * projectId: Number(projectId),
21
21
  * username: username,
22
22
  * password: password,
23
23
  * semanticLayerCredential: true,
@@ -85,11 +85,11 @@ export interface PostgresSemanticLayerCredentialState {
85
85
  /**
86
86
  * Semantic Layer credential configuration details.
87
87
  */
88
- configuration?: pulumi.Input<inputs.PostgresSemanticLayerCredentialConfiguration>;
88
+ configuration?: pulumi.Input<inputs.PostgresSemanticLayerCredentialConfiguration | undefined>;
89
89
  /**
90
90
  * Postgres credential details, but used in the context of the Semantic Layer.
91
91
  */
92
- credential?: pulumi.Input<inputs.PostgresSemanticLayerCredentialCredential>;
92
+ credential?: pulumi.Input<inputs.PostgresSemanticLayerCredentialCredential | undefined>;
93
93
  }
94
94
  /**
95
95
  * The set of arguments for constructing a PostgresSemanticLayerCredential resource.
@@ -104,3 +104,4 @@ export interface PostgresSemanticLayerCredentialArgs {
104
104
  */
105
105
  credential: pulumi.Input<inputs.PostgresSemanticLayerCredentialCredential>;
106
106
  }
107
+ //# sourceMappingURL=postgresSemanticLayerCredential.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresSemanticLayerCredential.d.ts","sourceRoot":"","sources":["../postgresSemanticLayerCredential.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,qBAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,+BAA+B;IAOhL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,+BAA+B;IAO1E;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;IAC3G;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC;IAErG;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB3G;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4CAA4C,GAAG,SAAS,CAAC,CAAC;IAC9F;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yCAAyC,GAAG,SAAS,CAAC,CAAC;CAC3F;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4CAA4C,CAAC,CAAC;IACjF;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yCAAyC,CAAC,CAAC;CAC9E"}
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.PostgresSemanticLayerCredential = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * Postgres credential resource. This resource is composed of a Postgres credential and a Semantic Layer configuration. It is used to create a Postgres credential for the Semantic Layer.
10
33
  *
@@ -16,12 +39,12 @@ const utilities = require("./utilities");
16
39
  *
17
40
  * const testPostgresSemanticLayerCredential = new dbtcloud.PostgresSemanticLayerCredential("test_postgres_semantic_layer_credential", {
18
41
  * configuration: {
19
- * projectId: projectId,
42
+ * projectId: Number(projectId),
20
43
  * name: "Postgres SL Credential",
21
44
  * adapterVersion: "postgres_v0",
22
45
  * },
23
46
  * credential: {
24
- * projectId: projectId,
47
+ * projectId: Number(projectId),
25
48
  * username: username,
26
49
  * password: password,
27
50
  * semanticLayerCredential: true,
@@ -62,6 +85,8 @@ class PostgresSemanticLayerCredential extends pulumi.CustomResource {
62
85
  static get(name, id, state, opts) {
63
86
  return new PostgresSemanticLayerCredential(name, state, { ...opts, id: id });
64
87
  }
88
+ /** @internal */
89
+ static __pulumiType = 'dbtcloud:index/postgresSemanticLayerCredential:PostgresSemanticLayerCredential';
65
90
  /**
66
91
  * Returns true if the given object is an instance of PostgresSemanticLayerCredential. This is designed to work even
67
92
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -96,6 +121,4 @@ class PostgresSemanticLayerCredential extends pulumi.CustomResource {
96
121
  }
97
122
  }
98
123
  exports.PostgresSemanticLayerCredential = PostgresSemanticLayerCredential;
99
- /** @internal */
100
- PostgresSemanticLayerCredential.__pulumiType = 'dbtcloud:index/postgresSemanticLayerCredential:PostgresSemanticLayerCredential';
101
124
  //# sourceMappingURL=postgresSemanticLayerCredential.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"postgresSemanticLayerCredential.js","sourceRoot":"","sources":["../postgresSemanticLayerCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cA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C;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAjEL,0EAkEC"}
package/profile.d.ts CHANGED
@@ -10,18 +10,18 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * // A profile ties together a connection and credentials for use within environments.
12
12
  * const myProfile = new dbtcloud.Profile("my_profile", {
13
- * projectId: myProject.id,
13
+ * projectId: Number(myProject.id),
14
14
  * key: "my-profile",
15
- * connectionId: myConnection.id,
16
- * credentialsId: myCredential.credentialId,
15
+ * connectionId: Number(myConnection.id),
16
+ * credentialsId: Number(myCredential.credentialId),
17
17
  * });
18
18
  * // A profile with extended attributes
19
19
  * const myProfileWithAttrs = new dbtcloud.Profile("my_profile_with_attrs", {
20
- * projectId: myProject.id,
20
+ * projectId: Number(myProject.id),
21
21
  * key: "my-profile-with-attrs",
22
- * connectionId: myConnection.id,
23
- * credentialsId: myCredential.credentialId,
24
- * extendedAttributesId: myAttributes.extendedAttributesId,
22
+ * connectionId: Number(myConnection.id),
23
+ * credentialsId: Number(myCredential.credentialId),
24
+ * extendedAttributesId: Number(myAttributes.extendedAttributesId),
25
25
  * });
26
26
  * ```
27
27
  *
@@ -101,27 +101,27 @@ export interface ProfileState {
101
101
  /**
102
102
  * The ID of the connection to use for this profile
103
103
  */
104
- connectionId?: pulumi.Input<number>;
104
+ connectionId?: pulumi.Input<number | undefined>;
105
105
  /**
106
106
  * The ID of the credentials to use for this profile
107
107
  */
108
- credentialsId?: pulumi.Input<number>;
108
+ credentialsId?: pulumi.Input<number | undefined>;
109
109
  /**
110
110
  * The ID of the extended attributes for this profile. Set to null to unset.
111
111
  */
112
- extendedAttributesId?: pulumi.Input<number>;
112
+ extendedAttributesId?: pulumi.Input<number | undefined>;
113
113
  /**
114
114
  * Unique identifier for the profile
115
115
  */
116
- key?: pulumi.Input<string>;
116
+ key?: pulumi.Input<string | undefined>;
117
117
  /**
118
118
  * The ID of the profile
119
119
  */
120
- profileId?: pulumi.Input<number>;
120
+ profileId?: pulumi.Input<number | undefined>;
121
121
  /**
122
122
  * The ID of the project in which to create the profile
123
123
  */
124
- projectId?: pulumi.Input<number>;
124
+ projectId?: pulumi.Input<number | undefined>;
125
125
  }
126
126
  /**
127
127
  * The set of arguments for constructing a Profile resource.
@@ -138,7 +138,7 @@ export interface ProfileArgs {
138
138
  /**
139
139
  * The ID of the extended attributes for this profile. Set to null to unset.
140
140
  */
141
- extendedAttributesId?: pulumi.Input<number>;
141
+ extendedAttributesId?: pulumi.Input<number | undefined>;
142
142
  /**
143
143
  * Unique identifier for the profile
144
144
  */
@@ -148,3 +148,4 @@ export interface ProfileArgs {
148
148
  */
149
149
  projectId: pulumi.Input<number>;
150
150
  }
151
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../profile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAOhI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,oBAAoB,E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