@pulumi/linode 6.6.0-alpha.1789107202 → 6.6.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 (390) hide show
  1. package/accountSettings.d.ts +5 -10
  2. package/accountSettings.d.ts.map +1 -1
  3. package/accountSettings.js +4 -5
  4. package/accountSettings.js.map +1 -1
  5. package/databaseAccessControls.d.ts +2 -2
  6. package/databaseAccessControls.js +2 -2
  7. package/databaseMysqlV2.d.ts +9 -9
  8. package/databaseMysqlV2.js +1 -1
  9. package/databasePostgresqlV2.d.ts +8 -8
  10. package/domain.d.ts +0 -12
  11. package/domain.d.ts.map +1 -1
  12. package/domain.js +0 -2
  13. package/domain.js.map +1 -1
  14. package/firewall.d.ts +22 -6
  15. package/firewall.d.ts.map +1 -1
  16. package/firewall.js +4 -0
  17. package/firewall.js.map +1 -1
  18. package/firewallSettings.d.ts +3 -3
  19. package/getAccountAvailabilities.d.ts +3 -0
  20. package/getAccountAvailabilities.d.ts.map +1 -1
  21. package/getAccountAvailabilities.js.map +1 -1
  22. package/getAccountLogins.d.ts +3 -0
  23. package/getAccountLogins.d.ts.map +1 -1
  24. package/getAccountLogins.js.map +1 -1
  25. package/getChildAccounts.d.ts +3 -0
  26. package/getChildAccounts.d.ts.map +1 -1
  27. package/getChildAccounts.js.map +1 -1
  28. package/getConsumerImageShareGroupImageShares.d.ts +11 -2
  29. package/getConsumerImageShareGroupImageShares.d.ts.map +1 -1
  30. package/getConsumerImageShareGroupImageShares.js.map +1 -1
  31. package/getConsumerImageShareGroupTokens.d.ts +9 -0
  32. package/getConsumerImageShareGroupTokens.d.ts.map +1 -1
  33. package/getConsumerImageShareGroupTokens.js.map +1 -1
  34. package/getDatabaseEngines.d.ts +5 -2
  35. package/getDatabaseEngines.d.ts.map +1 -1
  36. package/getDatabaseEngines.js.map +1 -1
  37. package/getDatabaseMysqlConfig.d.ts +54 -54
  38. package/getDatabaseMysqlConfig.js +54 -54
  39. package/getDatabasePostgresqlConfig.d.ts +88 -88
  40. package/getDatabasePostgresqlConfig.js +88 -88
  41. package/getDatabases.d.ts +3 -0
  42. package/getDatabases.d.ts.map +1 -1
  43. package/getDatabases.js.map +1 -1
  44. package/getDomain.d.ts +0 -4
  45. package/getDomain.d.ts.map +1 -1
  46. package/getDomain.js.map +1 -1
  47. package/getDomains.d.ts +3 -4
  48. package/getDomains.d.ts.map +1 -1
  49. package/getDomains.js +0 -4
  50. package/getDomains.js.map +1 -1
  51. package/getFirewall.d.ts +8 -0
  52. package/getFirewall.d.ts.map +1 -1
  53. package/getFirewall.js.map +1 -1
  54. package/getFirewallTemplate.d.ts +2 -2
  55. package/getFirewallTemplates.d.ts +3 -0
  56. package/getFirewallTemplates.d.ts.map +1 -1
  57. package/getFirewallTemplates.js.map +1 -1
  58. package/getFirewalls.d.ts +5 -2
  59. package/getFirewalls.d.ts.map +1 -1
  60. package/getFirewalls.js +2 -2
  61. package/getFirewalls.js.map +1 -1
  62. package/getIamEntities.d.ts +80 -0
  63. package/getIamEntities.d.ts.map +1 -0
  64. package/getIamEntities.js +81 -0
  65. package/getIamEntities.js.map +1 -0
  66. package/getIamUser.d.ts +68 -0
  67. package/getIamUser.d.ts.map +1 -0
  68. package/{getObjectStorageCluster.js → getIamUser.js} +20 -20
  69. package/getIamUser.js.map +1 -0
  70. package/getImage.d.ts +2 -2
  71. package/getImages.d.ts +5 -2
  72. package/getImages.d.ts.map +1 -1
  73. package/getImages.js.map +1 -1
  74. package/getInstanceNetworking.d.ts +5 -2
  75. package/getInstanceNetworking.d.ts.map +1 -1
  76. package/getInstanceNetworking.js +2 -2
  77. package/getInstanceNetworking.js.map +1 -1
  78. package/getInstanceType.d.ts +9 -0
  79. package/getInstanceType.d.ts.map +1 -1
  80. package/getInstanceType.js.map +1 -1
  81. package/getInstanceTypes.d.ts +3 -0
  82. package/getInstanceTypes.d.ts.map +1 -1
  83. package/getInstanceTypes.js.map +1 -1
  84. package/getInstances.d.ts +3 -4
  85. package/getInstances.d.ts.map +1 -1
  86. package/getInstances.js +0 -4
  87. package/getInstances.js.map +1 -1
  88. package/getInterface.d.ts +1 -0
  89. package/getInterface.d.ts.map +1 -1
  90. package/getInterface.js.map +1 -1
  91. package/getIpv6Ranges.d.ts +3 -0
  92. package/getIpv6Ranges.d.ts.map +1 -1
  93. package/getIpv6Ranges.js.map +1 -1
  94. package/getKernel.d.ts +0 -4
  95. package/getKernel.d.ts.map +1 -1
  96. package/getKernel.js.map +1 -1
  97. package/getKernels.d.ts +3 -4
  98. package/getKernels.d.ts.map +1 -1
  99. package/getKernels.js +0 -4
  100. package/getKernels.js.map +1 -1
  101. package/getLinodeObjectStorageBucket.d.ts +2 -18
  102. package/getLinodeObjectStorageBucket.d.ts.map +1 -1
  103. package/getLinodeObjectStorageBucket.js +0 -2
  104. package/getLinodeObjectStorageBucket.js.map +1 -1
  105. package/getLkeCluster.d.ts +2 -6
  106. package/getLkeCluster.d.ts.map +1 -1
  107. package/getLkeCluster.js.map +1 -1
  108. package/getLkeClusters.d.ts +3 -0
  109. package/getLkeClusters.d.ts.map +1 -1
  110. package/getLkeClusters.js.map +1 -1
  111. package/getLkeNodePool.d.ts +12 -4
  112. package/getLkeNodePool.d.ts.map +1 -1
  113. package/getLkeNodePool.js.map +1 -1
  114. package/getLkeTypes.d.ts +59 -0
  115. package/getLkeTypes.d.ts.map +1 -1
  116. package/getLkeTypes.js +56 -0
  117. package/getLkeTypes.js.map +1 -1
  118. package/getLkeVersions.d.ts +3 -0
  119. package/getLkeVersions.d.ts.map +1 -1
  120. package/getLkeVersions.js.map +1 -1
  121. package/getLock.d.ts +2 -6
  122. package/getLock.d.ts.map +1 -1
  123. package/getLock.js +2 -6
  124. package/getLock.js.map +1 -1
  125. package/getLocks.d.ts +3 -7
  126. package/getLocks.d.ts.map +1 -1
  127. package/getLocks.js +2 -6
  128. package/getLocks.js.map +1 -1
  129. package/getMaintenancePolicies.d.ts +3 -0
  130. package/getMaintenancePolicies.d.ts.map +1 -1
  131. package/getMaintenancePolicies.js.map +1 -1
  132. package/getMonitorAlertChannels.d.ts +104 -0
  133. package/getMonitorAlertChannels.d.ts.map +1 -0
  134. package/getMonitorAlertChannels.js +119 -0
  135. package/getMonitorAlertChannels.js.map +1 -0
  136. package/getMonitorAlertDefinition.d.ts +135 -0
  137. package/getMonitorAlertDefinition.d.ts.map +1 -0
  138. package/getMonitorAlertDefinition.js +81 -0
  139. package/getMonitorAlertDefinition.js.map +1 -0
  140. package/getMonitorAlertDefinitionEntities.d.ts +132 -0
  141. package/getMonitorAlertDefinitionEntities.d.ts.map +1 -0
  142. package/getMonitorAlertDefinitionEntities.js +127 -0
  143. package/getMonitorAlertDefinitionEntities.js.map +1 -0
  144. package/getMonitorAlertDefinitions.d.ts +98 -0
  145. package/getMonitorAlertDefinitions.d.ts.map +1 -0
  146. package/getMonitorAlertDefinitions.js +99 -0
  147. package/getMonitorAlertDefinitions.js.map +1 -0
  148. package/getMonitorLogsDestination.d.ts +94 -0
  149. package/getMonitorLogsDestination.d.ts.map +1 -0
  150. package/getMonitorLogsDestination.js +77 -0
  151. package/getMonitorLogsDestination.js.map +1 -0
  152. package/getMonitorLogsDestinations.d.ts +98 -0
  153. package/getMonitorLogsDestinations.d.ts.map +1 -0
  154. package/getMonitorLogsDestinations.js +111 -0
  155. package/getMonitorLogsDestinations.js.map +1 -0
  156. package/getMonitorLogsStream.d.ts +98 -0
  157. package/getMonitorLogsStream.d.ts.map +1 -0
  158. package/getMonitorLogsStream.js +77 -0
  159. package/getMonitorLogsStream.js.map +1 -0
  160. package/getMonitorLogsStreamHistory.d.ts +69 -0
  161. package/getMonitorLogsStreamHistory.d.ts.map +1 -0
  162. package/getMonitorLogsStreamHistory.js +77 -0
  163. package/getMonitorLogsStreamHistory.js.map +1 -0
  164. package/getMonitorLogsStreams.d.ts +110 -0
  165. package/getMonitorLogsStreams.d.ts.map +1 -0
  166. package/getMonitorLogsStreams.js +123 -0
  167. package/getMonitorLogsStreams.js.map +1 -0
  168. package/getNetworkTransferPrices.d.ts +3 -0
  169. package/getNetworkTransferPrices.d.ts.map +1 -1
  170. package/getNetworkTransferPrices.js.map +1 -1
  171. package/getNetworkingIp.d.ts +13 -2
  172. package/getNetworkingIp.d.ts.map +1 -1
  173. package/getNetworkingIp.js.map +1 -1
  174. package/getNetworkingIps.d.ts +6 -0
  175. package/getNetworkingIps.d.ts.map +1 -1
  176. package/getNetworkingIps.js.map +1 -1
  177. package/getNodeBalancer.d.ts +3 -2
  178. package/getNodeBalancer.d.ts.map +1 -1
  179. package/getNodeBalancer.js.map +1 -1
  180. package/getNodebalancerConfigs.d.ts +5 -2
  181. package/getNodebalancerConfigs.d.ts.map +1 -1
  182. package/getNodebalancerConfigs.js.map +1 -1
  183. package/getNodebalancerVpc.d.ts +4 -0
  184. package/getNodebalancerVpc.d.ts.map +1 -1
  185. package/getNodebalancerVpc.js.map +1 -1
  186. package/getNodebalancerVpcs.d.ts +33 -2
  187. package/getNodebalancerVpcs.d.ts.map +1 -1
  188. package/getNodebalancerVpcs.js +28 -0
  189. package/getNodebalancerVpcs.js.map +1 -1
  190. package/getNodebalancers.d.ts +4 -1
  191. package/getNodebalancers.d.ts.map +1 -1
  192. package/getNodebalancers.js.map +1 -1
  193. package/getObjectStorageEndpoints.d.ts +3 -0
  194. package/getObjectStorageEndpoints.d.ts.map +1 -1
  195. package/getObjectStorageEndpoints.js.map +1 -1
  196. package/getObjectStorageGlobalQuota.d.ts +95 -0
  197. package/getObjectStorageGlobalQuota.d.ts.map +1 -0
  198. package/getObjectStorageGlobalQuota.js +79 -0
  199. package/getObjectStorageGlobalQuota.js.map +1 -0
  200. package/getObjectStorageGlobalQuotas.d.ts +101 -0
  201. package/getObjectStorageGlobalQuotas.d.ts.map +1 -0
  202. package/getObjectStorageGlobalQuotas.js +119 -0
  203. package/getObjectStorageGlobalQuotas.js.map +1 -0
  204. package/getObjectStorageQuota.d.ts +9 -1
  205. package/getObjectStorageQuota.d.ts.map +1 -1
  206. package/getObjectStorageQuota.js.map +1 -1
  207. package/getObjectStorageQuotas.d.ts +13 -2
  208. package/getObjectStorageQuotas.d.ts.map +1 -1
  209. package/getObjectStorageQuotas.js +10 -2
  210. package/getObjectStorageQuotas.js.map +1 -1
  211. package/getPlacementGroup.d.ts +2 -2
  212. package/getPlacementGroups.d.ts +3 -0
  213. package/getPlacementGroups.d.ts.map +1 -1
  214. package/getPlacementGroups.js.map +1 -1
  215. package/getProducerImageShareGroupImageShares.d.ts +11 -2
  216. package/getProducerImageShareGroupImageShares.d.ts.map +1 -1
  217. package/getProducerImageShareGroupImageShares.js.map +1 -1
  218. package/getProducerImageShareGroupMembers.d.ts +9 -0
  219. package/getProducerImageShareGroupMembers.d.ts.map +1 -1
  220. package/getProducerImageShareGroupMembers.js.map +1 -1
  221. package/getProducerImageShareGroups.d.ts +9 -0
  222. package/getProducerImageShareGroups.d.ts.map +1 -1
  223. package/getProducerImageShareGroups.js.map +1 -1
  224. package/getProfile.d.ts +1 -1
  225. package/getRegionVpcAvailability.d.ts +70 -0
  226. package/getRegionVpcAvailability.d.ts.map +1 -0
  227. package/getRegionVpcAvailability.js +79 -0
  228. package/getRegionVpcAvailability.js.map +1 -0
  229. package/getRegions.d.ts +3 -0
  230. package/getRegions.d.ts.map +1 -1
  231. package/getRegions.js.map +1 -1
  232. package/getRegionsVpcAvailability.d.ts +42 -0
  233. package/getRegionsVpcAvailability.d.ts.map +1 -0
  234. package/getRegionsVpcAvailability.js +65 -0
  235. package/getRegionsVpcAvailability.js.map +1 -0
  236. package/getReservedIpTypes.d.ts +110 -0
  237. package/getReservedIpTypes.d.ts.map +1 -0
  238. package/getReservedIpTypes.js +111 -0
  239. package/getReservedIpTypes.js.map +1 -0
  240. package/getSshkeys.d.ts +3 -0
  241. package/getSshkeys.d.ts.map +1 -1
  242. package/getSshkeys.js.map +1 -1
  243. package/getStackScript.d.ts +1 -1
  244. package/getStackScripts.d.ts +5 -2
  245. package/getStackScripts.d.ts.map +1 -1
  246. package/getStackScripts.js.map +1 -1
  247. package/getTag.d.ts +69 -0
  248. package/getTag.d.ts.map +1 -0
  249. package/getTag.js +77 -0
  250. package/getTag.js.map +1 -0
  251. package/getUsers.d.ts +3 -0
  252. package/getUsers.d.ts.map +1 -1
  253. package/getUsers.js.map +1 -1
  254. package/getVlans.d.ts +3 -0
  255. package/getVlans.d.ts.map +1 -1
  256. package/getVlans.js.map +1 -1
  257. package/getVolume.d.ts +4 -0
  258. package/getVolume.d.ts.map +1 -1
  259. package/getVolume.js.map +1 -1
  260. package/getVolumeTypes.d.ts +3 -0
  261. package/getVolumeTypes.d.ts.map +1 -1
  262. package/getVolumeTypes.js.map +1 -1
  263. package/getVolumes.d.ts +3 -0
  264. package/getVolumes.d.ts.map +1 -1
  265. package/getVolumes.js.map +1 -1
  266. package/getVpc.d.ts +130 -5
  267. package/getVpc.d.ts.map +1 -1
  268. package/getVpc.js +120 -4
  269. package/getVpc.js.map +1 -1
  270. package/getVpcDefaultRanges.d.ts +49 -0
  271. package/getVpcDefaultRanges.d.ts.map +1 -0
  272. package/getVpcDefaultRanges.js +73 -0
  273. package/getVpcDefaultRanges.js.map +1 -0
  274. package/getVpcIps.d.ts +5 -2
  275. package/getVpcIps.d.ts.map +1 -1
  276. package/getVpcIps.js.map +1 -1
  277. package/getVpcSubnet.d.ts +11 -3
  278. package/getVpcSubnet.d.ts.map +1 -1
  279. package/getVpcSubnet.js.map +1 -1
  280. package/getVpcSubnets.d.ts +6 -3
  281. package/getVpcSubnets.d.ts.map +1 -1
  282. package/getVpcSubnets.js.map +1 -1
  283. package/getVpcs.d.ts +19 -0
  284. package/getVpcs.d.ts.map +1 -1
  285. package/getVpcs.js +16 -0
  286. package/getVpcs.js.map +1 -1
  287. package/iamUser.d.ts +109 -0
  288. package/iamUser.d.ts.map +1 -0
  289. package/iamUser.js +107 -0
  290. package/iamUser.js.map +1 -0
  291. package/image.d.ts +4 -4
  292. package/index.d.ts +69 -3
  293. package/index.d.ts.map +1 -1
  294. package/index.js +84 -7
  295. package/index.js.map +1 -1
  296. package/instance.d.ts +129 -94
  297. package/instance.d.ts.map +1 -1
  298. package/instance.js +23 -2
  299. package/instance.js.map +1 -1
  300. package/instanceConfig.d.ts +15 -9
  301. package/instanceConfig.d.ts.map +1 -1
  302. package/instanceConfig.js.map +1 -1
  303. package/instanceDisk.d.ts +26 -9
  304. package/instanceDisk.d.ts.map +1 -1
  305. package/instanceDisk.js +17 -0
  306. package/instanceDisk.js.map +1 -1
  307. package/instanceIp.d.ts +5 -5
  308. package/instanceIp.js +1 -1
  309. package/interface.d.ts +24 -12
  310. package/interface.d.ts.map +1 -1
  311. package/interface.js +2 -0
  312. package/interface.js.map +1 -1
  313. package/ipv6Range.d.ts +1 -1
  314. package/ipv6Range.js +1 -1
  315. package/lkeCluster.d.ts +32 -17
  316. package/lkeCluster.d.ts.map +1 -1
  317. package/lkeCluster.js +23 -2
  318. package/lkeCluster.js.map +1 -1
  319. package/lkeNodePool.d.ts +34 -6
  320. package/lkeNodePool.d.ts.map +1 -1
  321. package/lkeNodePool.js +5 -1
  322. package/lkeNodePool.js.map +1 -1
  323. package/lock.d.ts +4 -6
  324. package/lock.d.ts.map +1 -1
  325. package/lock.js +1 -3
  326. package/lock.js.map +1 -1
  327. package/monitorAlertDefinition.d.ts +317 -0
  328. package/monitorAlertDefinition.d.ts.map +1 -0
  329. package/monitorAlertDefinition.js +178 -0
  330. package/monitorAlertDefinition.js.map +1 -0
  331. package/monitorLogsDestination.d.ts +206 -0
  332. package/monitorLogsDestination.d.ts.map +1 -0
  333. package/monitorLogsDestination.js +155 -0
  334. package/monitorLogsDestination.js.map +1 -0
  335. package/monitorLogsStream.d.ts +207 -0
  336. package/monitorLogsStream.d.ts.map +1 -0
  337. package/monitorLogsStream.js +161 -0
  338. package/monitorLogsStream.js.map +1 -0
  339. package/networkingIp.d.ts +18 -2
  340. package/networkingIp.d.ts.map +1 -1
  341. package/networkingIp.js +4 -0
  342. package/networkingIp.js.map +1 -1
  343. package/nodeBalancer.d.ts +33 -2
  344. package/nodeBalancer.d.ts.map +1 -1
  345. package/nodeBalancer.js +22 -1
  346. package/nodeBalancer.js.map +1 -1
  347. package/objectStorageBucket.d.ts +11 -32
  348. package/objectStorageBucket.d.ts.map +1 -1
  349. package/objectStorageBucket.js +4 -3
  350. package/objectStorageBucket.js.map +1 -1
  351. package/objectStorageKey.d.ts +5 -5
  352. package/objectStorageObject.d.ts +5 -23
  353. package/objectStorageObject.d.ts.map +1 -1
  354. package/objectStorageObject.js +3 -2
  355. package/objectStorageObject.js.map +1 -1
  356. package/package.json +2 -2
  357. package/producerImageShareGroup.d.ts +3 -3
  358. package/provider.js +2 -2
  359. package/provider.js.map +1 -1
  360. package/rdns.d.ts +1 -1
  361. package/rdns.js +1 -1
  362. package/reservedIp.d.ts +192 -0
  363. package/reservedIp.d.ts.map +1 -0
  364. package/reservedIp.js +140 -0
  365. package/reservedIp.js.map +1 -0
  366. package/reservedIpAssignment.d.ts +57 -23
  367. package/reservedIpAssignment.d.ts.map +1 -1
  368. package/reservedIpAssignment.js +22 -0
  369. package/reservedIpAssignment.js.map +1 -1
  370. package/stackScript.d.ts +2 -2
  371. package/types/input.d.ts +1721 -105
  372. package/types/input.d.ts.map +1 -1
  373. package/types/output.d.ts +5817 -1994
  374. package/types/output.d.ts.map +1 -1
  375. package/user.d.ts +30 -30
  376. package/volume.d.ts +8 -0
  377. package/volume.d.ts.map +1 -1
  378. package/volume.js +2 -0
  379. package/volume.js.map +1 -1
  380. package/vpc.d.ts +115 -6
  381. package/vpc.d.ts.map +1 -1
  382. package/vpc.js +77 -0
  383. package/vpc.js.map +1 -1
  384. package/vpcSubnet.d.ts +23 -7
  385. package/vpcSubnet.d.ts.map +1 -1
  386. package/vpcSubnet.js +4 -0
  387. package/vpcSubnet.js.map +1 -1
  388. package/getObjectStorageCluster.d.ts +0 -78
  389. package/getObjectStorageCluster.d.ts.map +0 -1
  390. package/getObjectStorageCluster.js.map +0 -1
@@ -0,0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AAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAAC;IACtE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAAC;IAChF;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.MonitorAlertDefinition = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Manages a Monitor Alert Definition.
33
+ * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-alert-definition-for-service-type). (**Note: v4beta only.**)
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as linode from "@pulumi/linode";
40
+ *
41
+ * const test = new linode.MonitorAlertDefinition("test", {
42
+ * serviceType: "dbaas",
43
+ * description: "An alert definition for ansible test",
44
+ * label: "test-alert-definition",
45
+ * severity: 1,
46
+ * channelIds: [10000],
47
+ * groupBies: ["entity_id"],
48
+ * waitFor: true,
49
+ * triggerConditions: {
50
+ * criteriaCondition: "ALL",
51
+ * evaluationPeriodSeconds: 300,
52
+ * pollingIntervalSeconds: 300,
53
+ * triggerOccurrences: 1,
54
+ * },
55
+ * ruleCriteria: {
56
+ * rules: [{
57
+ * aggregateFunction: "avg",
58
+ * dimensionFilters: [{
59
+ * dimensionLabel: "node_type",
60
+ * operator: "eq",
61
+ * value: "primary",
62
+ * }],
63
+ * metric: "memory_usage",
64
+ * operator: "gt",
65
+ * threshold: 90,
66
+ * }],
67
+ * },
68
+ * });
69
+ * ```
70
+ *
71
+ * ## Import
72
+ *
73
+ * Monitor Alert Definitions can be imported using the id and service type, e.g. `id,service_type`, e.g.
74
+ *
75
+ * ```sh
76
+ * $ pulumi import linode:index/monitorAlertDefinition:MonitorAlertDefinition example 12345,dbaas
77
+ * ```
78
+ */
79
+ class MonitorAlertDefinition extends pulumi.CustomResource {
80
+ /**
81
+ * Get an existing MonitorAlertDefinition resource's state with the given name, ID, and optional extra
82
+ * properties used to qualify the lookup.
83
+ *
84
+ * @param name The _unique_ name of the resulting resource.
85
+ * @param id The _unique_ provider ID of the resource to lookup.
86
+ * @param state Any extra arguments used during the lookup.
87
+ * @param opts Optional settings to control the behavior of the CustomResource.
88
+ */
89
+ static get(name, id, state, opts) {
90
+ return new MonitorAlertDefinition(name, state, { ...opts, id: id });
91
+ }
92
+ /** @internal */
93
+ static __pulumiType = 'linode:index/monitorAlertDefinition:MonitorAlertDefinition';
94
+ /**
95
+ * Returns true if the given object is an instance of MonitorAlertDefinition. This is designed to work even
96
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
+ */
98
+ static isInstance(obj) {
99
+ if (obj === undefined || obj === null) {
100
+ return false;
101
+ }
102
+ return obj['__pulumiType'] === MonitorAlertDefinition.__pulumiType;
103
+ }
104
+ constructor(name, argsOrState, opts) {
105
+ let resourceInputs = {};
106
+ opts = opts || {};
107
+ if (opts.id) {
108
+ const state = argsOrState;
109
+ resourceInputs["alertChannels"] = state?.alertChannels;
110
+ resourceInputs["channelIds"] = state?.channelIds;
111
+ resourceInputs["class"] = state?.class;
112
+ resourceInputs["created"] = state?.created;
113
+ resourceInputs["createdBy"] = state?.createdBy;
114
+ resourceInputs["description"] = state?.description;
115
+ resourceInputs["entities"] = state?.entities;
116
+ resourceInputs["entityIds"] = state?.entityIds;
117
+ resourceInputs["groupBies"] = state?.groupBies;
118
+ resourceInputs["label"] = state?.label;
119
+ resourceInputs["regions"] = state?.regions;
120
+ resourceInputs["ruleCriteria"] = state?.ruleCriteria;
121
+ resourceInputs["scope"] = state?.scope;
122
+ resourceInputs["serviceType"] = state?.serviceType;
123
+ resourceInputs["severity"] = state?.severity;
124
+ resourceInputs["status"] = state?.status;
125
+ resourceInputs["triggerConditions"] = state?.triggerConditions;
126
+ resourceInputs["type"] = state?.type;
127
+ resourceInputs["updated"] = state?.updated;
128
+ resourceInputs["updatedBy"] = state?.updatedBy;
129
+ resourceInputs["waitFor"] = state?.waitFor;
130
+ }
131
+ else {
132
+ const args = argsOrState;
133
+ if (args?.channelIds === undefined && !opts.urn) {
134
+ throw new Error("Missing required property 'channelIds'");
135
+ }
136
+ if (args?.label === undefined && !opts.urn) {
137
+ throw new Error("Missing required property 'label'");
138
+ }
139
+ if (args?.ruleCriteria === undefined && !opts.urn) {
140
+ throw new Error("Missing required property 'ruleCriteria'");
141
+ }
142
+ if (args?.serviceType === undefined && !opts.urn) {
143
+ throw new Error("Missing required property 'serviceType'");
144
+ }
145
+ if (args?.severity === undefined && !opts.urn) {
146
+ throw new Error("Missing required property 'severity'");
147
+ }
148
+ if (args?.triggerConditions === undefined && !opts.urn) {
149
+ throw new Error("Missing required property 'triggerConditions'");
150
+ }
151
+ resourceInputs["channelIds"] = args?.channelIds;
152
+ resourceInputs["description"] = args?.description;
153
+ resourceInputs["entityIds"] = args?.entityIds;
154
+ resourceInputs["groupBies"] = args?.groupBies;
155
+ resourceInputs["label"] = args?.label;
156
+ resourceInputs["regions"] = args?.regions;
157
+ resourceInputs["ruleCriteria"] = args?.ruleCriteria;
158
+ resourceInputs["scope"] = args?.scope;
159
+ resourceInputs["serviceType"] = args?.serviceType;
160
+ resourceInputs["severity"] = args?.severity;
161
+ resourceInputs["status"] = args?.status;
162
+ resourceInputs["triggerConditions"] = args?.triggerConditions;
163
+ resourceInputs["waitFor"] = args?.waitFor;
164
+ resourceInputs["alertChannels"] = undefined /*out*/;
165
+ resourceInputs["class"] = undefined /*out*/;
166
+ resourceInputs["created"] = undefined /*out*/;
167
+ resourceInputs["createdBy"] = undefined /*out*/;
168
+ resourceInputs["entities"] = undefined /*out*/;
169
+ resourceInputs["type"] = undefined /*out*/;
170
+ resourceInputs["updated"] = undefined /*out*/;
171
+ resourceInputs["updatedBy"] = undefined /*out*/;
172
+ }
173
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
174
+ super(MonitorAlertDefinition.__pulumiType, name, resourceInputs, opts);
175
+ }
176
+ }
177
+ exports.MonitorAlertDefinition = MonitorAlertDefinition;
178
+ //# sourceMappingURL=monitorAlertDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitorAlertDefinition.js","sourceRoot":"","sources":["../monitorAlertDefinition.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4DAA4D,CAAC;IAEnG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAnML,wDAoMC"}
@@ -0,0 +1,206 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Manages a Linode Monitor Logs Destination.
6
+ * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-logs-destination). (**Note: v4beta only.**)
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as linode from "@pulumi/linode";
13
+ *
14
+ * const key = new linode.ObjectStorageKey("key", {
15
+ * label: "my-logs-key",
16
+ * regions: ["us-east"],
17
+ * });
18
+ * const bucket = new linode.ObjectStorageBucket("bucket", {
19
+ * region: "us-east",
20
+ * label: "my-logs-bucket",
21
+ * accessKey: key.accessKey,
22
+ * secretKey: key.secretKey,
23
+ * });
24
+ * const example = new linode.MonitorLogsDestination("example", {
25
+ * label: "my-logs-destination",
26
+ * type: "akamai_object_storage",
27
+ * akamaiObjectStorageDetails: {
28
+ * accessKeyId: key.accessKey,
29
+ * accessKeySecret: key.secretKey,
30
+ * bucketName: bucket.label,
31
+ * host: bucket.hostname,
32
+ * },
33
+ * });
34
+ * ```
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as linode from "@pulumi/linode";
38
+ *
39
+ * const httpsExample = new linode.MonitorLogsDestination("https_example", {
40
+ * label: "my-https-destination",
41
+ * type: "custom_https",
42
+ * customHttpsDetails: {
43
+ * endpointUrl: "https://logs.example.com/ingest",
44
+ * contentType: "application/json",
45
+ * dataCompression: "gzip",
46
+ * authentication: {
47
+ * type: "basic",
48
+ * username: "myuser",
49
+ * password: "mypassword",
50
+ * },
51
+ * },
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * Monitor Logs Destinations can be imported using the `id`, e.g.
58
+ *
59
+ * ```sh
60
+ * $ pulumi import linode:index/monitorLogsDestination:MonitorLogsDestination example 12345
61
+ * ```
62
+ */
63
+ export declare class MonitorLogsDestination extends pulumi.CustomResource {
64
+ /**
65
+ * Get an existing MonitorLogsDestination resource's state with the given name, ID, and optional extra
66
+ * properties used to qualify the lookup.
67
+ *
68
+ * @param name The _unique_ name of the resulting resource.
69
+ * @param id The _unique_ provider ID of the resource to lookup.
70
+ * @param state Any extra arguments used during the lookup.
71
+ * @param opts Optional settings to control the behavior of the CustomResource.
72
+ */
73
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MonitorLogsDestinationState, opts?: pulumi.CustomResourceOptions): MonitorLogsDestination;
74
+ /**
75
+ * Returns true if the given object is an instance of MonitorLogsDestination. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj: any): obj is MonitorLogsDestination;
79
+ /**
80
+ * Details for an akamaiObjectStorage logs destination.
81
+ */
82
+ readonly akamaiObjectStorageDetails: pulumi.Output<outputs.MonitorLogsDestinationAkamaiObjectStorageDetails | undefined>;
83
+ /**
84
+ * When this logs destination was created.
85
+ */
86
+ readonly created: pulumi.Output<string>;
87
+ /**
88
+ * The user who created this logs destination.
89
+ */
90
+ readonly createdBy: pulumi.Output<string>;
91
+ /**
92
+ * Details for a customHttps logs destination.
93
+ */
94
+ readonly customHttpsDetails: pulumi.Output<outputs.MonitorLogsDestinationCustomHttpsDetails | undefined>;
95
+ /**
96
+ * The label for this logs destination.
97
+ */
98
+ readonly label: pulumi.Output<string>;
99
+ /**
100
+ * The status of this logs destination.
101
+ */
102
+ readonly status: pulumi.Output<string>;
103
+ /**
104
+ * The type of this logs destination. One of: `akamaiObjectStorage`, `customHttps`.
105
+ *
106
+ * * `akamaiObjectStorageDetails` - (Optional, Nested Attribute) Details for an `akamaiObjectStorage` logs destination. Exactly one of `akamaiObjectStorageDetails` or `customHttpsDetails` must be specified. Referenced directly (e.g. `akamai_object_storage_details.access_key_id`).
107
+ *
108
+ * * `customHttpsDetails` - (Optional, Nested Attribute) Details for a `customHttps` logs destination. Exactly one of `akamaiObjectStorageDetails` or `customHttpsDetails` must be specified. Referenced directly (e.g. `custom_https_details.endpoint_url`).
109
+ */
110
+ readonly type: pulumi.Output<string>;
111
+ /**
112
+ * When this logs destination was last updated.
113
+ */
114
+ readonly updated: pulumi.Output<string>;
115
+ /**
116
+ * The user who last updated this logs destination.
117
+ */
118
+ readonly updatedBy: pulumi.Output<string>;
119
+ /**
120
+ * The version of this logs destination.
121
+ */
122
+ readonly version: pulumi.Output<number>;
123
+ /**
124
+ * Create a MonitorLogsDestination resource with the given unique name, arguments, and options.
125
+ *
126
+ * @param name The _unique_ name of the resource.
127
+ * @param args The arguments to use to populate this resource's properties.
128
+ * @param opts A bag of options that control this resource's behavior.
129
+ */
130
+ constructor(name: string, args: MonitorLogsDestinationArgs, opts?: pulumi.CustomResourceOptions);
131
+ }
132
+ /**
133
+ * Input properties used for looking up and filtering MonitorLogsDestination resources.
134
+ */
135
+ export interface MonitorLogsDestinationState {
136
+ /**
137
+ * Details for an akamaiObjectStorage logs destination.
138
+ */
139
+ akamaiObjectStorageDetails?: pulumi.Input<inputs.MonitorLogsDestinationAkamaiObjectStorageDetails | undefined>;
140
+ /**
141
+ * When this logs destination was created.
142
+ */
143
+ created?: pulumi.Input<string | undefined>;
144
+ /**
145
+ * The user who created this logs destination.
146
+ */
147
+ createdBy?: pulumi.Input<string | undefined>;
148
+ /**
149
+ * Details for a customHttps logs destination.
150
+ */
151
+ customHttpsDetails?: pulumi.Input<inputs.MonitorLogsDestinationCustomHttpsDetails | undefined>;
152
+ /**
153
+ * The label for this logs destination.
154
+ */
155
+ label?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * The status of this logs destination.
158
+ */
159
+ status?: pulumi.Input<string | undefined>;
160
+ /**
161
+ * The type of this logs destination. One of: `akamaiObjectStorage`, `customHttps`.
162
+ *
163
+ * * `akamaiObjectStorageDetails` - (Optional, Nested Attribute) Details for an `akamaiObjectStorage` logs destination. Exactly one of `akamaiObjectStorageDetails` or `customHttpsDetails` must be specified. Referenced directly (e.g. `akamai_object_storage_details.access_key_id`).
164
+ *
165
+ * * `customHttpsDetails` - (Optional, Nested Attribute) Details for a `customHttps` logs destination. Exactly one of `akamaiObjectStorageDetails` or `customHttpsDetails` must be specified. Referenced directly (e.g. `custom_https_details.endpoint_url`).
166
+ */
167
+ type?: pulumi.Input<string | undefined>;
168
+ /**
169
+ * When this logs destination was last updated.
170
+ */
171
+ updated?: pulumi.Input<string | undefined>;
172
+ /**
173
+ * The user who last updated this logs destination.
174
+ */
175
+ updatedBy?: pulumi.Input<string | undefined>;
176
+ /**
177
+ * The version of this logs destination.
178
+ */
179
+ version?: pulumi.Input<number | undefined>;
180
+ }
181
+ /**
182
+ * The set of arguments for constructing a MonitorLogsDestination resource.
183
+ */
184
+ export interface MonitorLogsDestinationArgs {
185
+ /**
186
+ * Details for an akamaiObjectStorage logs destination.
187
+ */
188
+ akamaiObjectStorageDetails?: pulumi.Input<inputs.MonitorLogsDestinationAkamaiObjectStorageDetails | undefined>;
189
+ /**
190
+ * Details for a customHttps logs destination.
191
+ */
192
+ customHttpsDetails?: pulumi.Input<inputs.MonitorLogsDestinationCustomHttpsDetails | undefined>;
193
+ /**
194
+ * The label for this logs destination.
195
+ */
196
+ label: pulumi.Input<string>;
197
+ /**
198
+ * The type of this logs destination. One of: `akamaiObjectStorage`, `customHttps`.
199
+ *
200
+ * * `akamaiObjectStorageDetails` - (Optional, Nested Attribute) Details for an `akamaiObjectStorage` logs destination. Exactly one of `akamaiObjectStorageDetails` or `customHttpsDetails` must be specified. Referenced directly (e.g. `akamai_object_storage_details.access_key_id`).
201
+ *
202
+ * * `customHttpsDetails` - (Optional, Nested Attribute) Details for a `customHttps` logs destination. Exactly one of `akamaiObjectStorageDetails` or `customHttpsDetails` must be specified. Referenced directly (e.g. `custom_https_details.endpoint_url`).
203
+ */
204
+ type: pulumi.Input<string>;
205
+ }
206
+ //# sourceMappingURL=monitorLogsDestination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitorLogsDestination.d.ts","sourceRoot":"","sources":["../monitorLogsDestination.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,sBAAsB;IAO9J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,sBAAsB;IAOjE;;OAEG;IACH,SAAwB,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gDAAgD,GAAG,SAAS,CAAC,CAAC;IACxI;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,kBAAkB,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AAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gDAAgD,GAAG,SAAS,CAAC,CAAC;IAC/G;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;IAC/F;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.MonitorLogsDestination = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Manages a Linode Monitor Logs Destination.
33
+ * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-logs-destination). (**Note: v4beta only.**)
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as linode from "@pulumi/linode";
40
+ *
41
+ * const key = new linode.ObjectStorageKey("key", {
42
+ * label: "my-logs-key",
43
+ * regions: ["us-east"],
44
+ * });
45
+ * const bucket = new linode.ObjectStorageBucket("bucket", {
46
+ * region: "us-east",
47
+ * label: "my-logs-bucket",
48
+ * accessKey: key.accessKey,
49
+ * secretKey: key.secretKey,
50
+ * });
51
+ * const example = new linode.MonitorLogsDestination("example", {
52
+ * label: "my-logs-destination",
53
+ * type: "akamai_object_storage",
54
+ * akamaiObjectStorageDetails: {
55
+ * accessKeyId: key.accessKey,
56
+ * accessKeySecret: key.secretKey,
57
+ * bucketName: bucket.label,
58
+ * host: bucket.hostname,
59
+ * },
60
+ * });
61
+ * ```
62
+ * ```typescript
63
+ * import * as pulumi from "@pulumi/pulumi";
64
+ * import * as linode from "@pulumi/linode";
65
+ *
66
+ * const httpsExample = new linode.MonitorLogsDestination("https_example", {
67
+ * label: "my-https-destination",
68
+ * type: "custom_https",
69
+ * customHttpsDetails: {
70
+ * endpointUrl: "https://logs.example.com/ingest",
71
+ * contentType: "application/json",
72
+ * dataCompression: "gzip",
73
+ * authentication: {
74
+ * type: "basic",
75
+ * username: "myuser",
76
+ * password: "mypassword",
77
+ * },
78
+ * },
79
+ * });
80
+ * ```
81
+ *
82
+ * ## Import
83
+ *
84
+ * Monitor Logs Destinations can be imported using the `id`, e.g.
85
+ *
86
+ * ```sh
87
+ * $ pulumi import linode:index/monitorLogsDestination:MonitorLogsDestination example 12345
88
+ * ```
89
+ */
90
+ class MonitorLogsDestination extends pulumi.CustomResource {
91
+ /**
92
+ * Get an existing MonitorLogsDestination resource's state with the given name, ID, and optional extra
93
+ * properties used to qualify the lookup.
94
+ *
95
+ * @param name The _unique_ name of the resulting resource.
96
+ * @param id The _unique_ provider ID of the resource to lookup.
97
+ * @param state Any extra arguments used during the lookup.
98
+ * @param opts Optional settings to control the behavior of the CustomResource.
99
+ */
100
+ static get(name, id, state, opts) {
101
+ return new MonitorLogsDestination(name, state, { ...opts, id: id });
102
+ }
103
+ /** @internal */
104
+ static __pulumiType = 'linode:index/monitorLogsDestination:MonitorLogsDestination';
105
+ /**
106
+ * Returns true if the given object is an instance of MonitorLogsDestination. This is designed to work even
107
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
108
+ */
109
+ static isInstance(obj) {
110
+ if (obj === undefined || obj === null) {
111
+ return false;
112
+ }
113
+ return obj['__pulumiType'] === MonitorLogsDestination.__pulumiType;
114
+ }
115
+ constructor(name, argsOrState, opts) {
116
+ let resourceInputs = {};
117
+ opts = opts || {};
118
+ if (opts.id) {
119
+ const state = argsOrState;
120
+ resourceInputs["akamaiObjectStorageDetails"] = state?.akamaiObjectStorageDetails;
121
+ resourceInputs["created"] = state?.created;
122
+ resourceInputs["createdBy"] = state?.createdBy;
123
+ resourceInputs["customHttpsDetails"] = state?.customHttpsDetails;
124
+ resourceInputs["label"] = state?.label;
125
+ resourceInputs["status"] = state?.status;
126
+ resourceInputs["type"] = state?.type;
127
+ resourceInputs["updated"] = state?.updated;
128
+ resourceInputs["updatedBy"] = state?.updatedBy;
129
+ resourceInputs["version"] = state?.version;
130
+ }
131
+ else {
132
+ const args = argsOrState;
133
+ if (args?.label === undefined && !opts.urn) {
134
+ throw new Error("Missing required property 'label'");
135
+ }
136
+ if (args?.type === undefined && !opts.urn) {
137
+ throw new Error("Missing required property 'type'");
138
+ }
139
+ resourceInputs["akamaiObjectStorageDetails"] = args?.akamaiObjectStorageDetails;
140
+ resourceInputs["customHttpsDetails"] = args?.customHttpsDetails;
141
+ resourceInputs["label"] = args?.label;
142
+ resourceInputs["type"] = args?.type;
143
+ resourceInputs["created"] = undefined /*out*/;
144
+ resourceInputs["createdBy"] = undefined /*out*/;
145
+ resourceInputs["status"] = undefined /*out*/;
146
+ resourceInputs["updated"] = undefined /*out*/;
147
+ resourceInputs["updatedBy"] = undefined /*out*/;
148
+ resourceInputs["version"] = undefined /*out*/;
149
+ }
150
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
151
+ super(MonitorLogsDestination.__pulumiType, name, resourceInputs, opts);
152
+ }
153
+ }
154
+ exports.MonitorLogsDestination = MonitorLogsDestination;
155
+ //# sourceMappingURL=monitorLogsDestination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitorLogsDestination.js","sourceRoot":"","sources":["../monitorLogsDestination.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC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