@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 +1,207 @@
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 Stream.
6
+ * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-logs-stream). (**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 destination = new linode.MonitorLogsDestination("destination", {
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
+ * const example = new linode.MonitorLogsStream("example", {
35
+ * label: "my-audit-logs-stream",
36
+ * type: "audit_logs",
37
+ * destinations: [destination.id.apply(x =>Number(x))],
38
+ * });
39
+ * ```
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as linode from "@pulumi/linode";
43
+ *
44
+ * const lkeExample = new linode.MonitorLogsStream("lke_example", {
45
+ * label: "my-lke-stream",
46
+ * type: "lke_audit_logs",
47
+ * destinations: [destination.id],
48
+ * details: {
49
+ * clusterIds: [
50
+ * 12345,
51
+ * 67890,
52
+ * ],
53
+ * isAutoAddAllClustersEnabled: false,
54
+ * },
55
+ * });
56
+ * ```
57
+ *
58
+ * ## Import
59
+ *
60
+ * Monitor Logs Streams can be imported using the `id`, e.g.
61
+ *
62
+ * ```sh
63
+ * $ pulumi import linode:index/monitorLogsStream:MonitorLogsStream example 12345
64
+ * ```
65
+ */
66
+ export declare class MonitorLogsStream extends pulumi.CustomResource {
67
+ /**
68
+ * Get an existing MonitorLogsStream resource's state with the given name, ID, and optional extra
69
+ * properties used to qualify the lookup.
70
+ *
71
+ * @param name The _unique_ name of the resulting resource.
72
+ * @param id The _unique_ provider ID of the resource to lookup.
73
+ * @param state Any extra arguments used during the lookup.
74
+ * @param opts Optional settings to control the behavior of the CustomResource.
75
+ */
76
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MonitorLogsStreamState, opts?: pulumi.CustomResourceOptions): MonitorLogsStream;
77
+ /**
78
+ * Returns true if the given object is an instance of MonitorLogsStream. This is designed to work even
79
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
80
+ */
81
+ static isInstance(obj: any): obj is MonitorLogsStream;
82
+ /**
83
+ * The date and time when the logs stream was created.
84
+ */
85
+ readonly created: pulumi.Output<string>;
86
+ /**
87
+ * The user who created the logs stream.
88
+ */
89
+ readonly createdBy: pulumi.Output<string>;
90
+ /**
91
+ * The list of logs destination IDs attached to this stream.
92
+ */
93
+ readonly destinations: pulumi.Output<number[]>;
94
+ /**
95
+ * Additional configuration details. Only applies to lkeAuditLogs streams.
96
+ */
97
+ readonly details: pulumi.Output<outputs.MonitorLogsStreamDetails>;
98
+ /**
99
+ * The label of the logs stream.
100
+ */
101
+ readonly label: pulumi.Output<string>;
102
+ /**
103
+ * The status of the logs stream. One of: `active`, `inactive`, `provisioning`, `deactivating`.
104
+ *
105
+ * * `details` - (Optional, Nested Attribute) Additional configuration details. Only applies to `lkeAuditLogs` streams. Referenced directly (e.g. `details.cluster_ids`).
106
+ */
107
+ readonly status: pulumi.Output<string>;
108
+ /**
109
+ * The type of the logs stream. One of: `auditLogs`, `lkeAuditLogs`.
110
+ */
111
+ readonly type: pulumi.Output<string>;
112
+ /**
113
+ * The date and time when the logs stream was last updated.
114
+ */
115
+ readonly updated: pulumi.Output<string>;
116
+ /**
117
+ * The user who last updated the logs stream.
118
+ */
119
+ readonly updatedBy: pulumi.Output<string>;
120
+ /**
121
+ * The version of the logs stream.
122
+ */
123
+ readonly version: pulumi.Output<number>;
124
+ /**
125
+ * Create a MonitorLogsStream resource with the given unique name, arguments, and options.
126
+ *
127
+ * @param name The _unique_ name of the resource.
128
+ * @param args The arguments to use to populate this resource's properties.
129
+ * @param opts A bag of options that control this resource's behavior.
130
+ */
131
+ constructor(name: string, args: MonitorLogsStreamArgs, opts?: pulumi.CustomResourceOptions);
132
+ }
133
+ /**
134
+ * Input properties used for looking up and filtering MonitorLogsStream resources.
135
+ */
136
+ export interface MonitorLogsStreamState {
137
+ /**
138
+ * The date and time when the logs stream was created.
139
+ */
140
+ created?: pulumi.Input<string | undefined>;
141
+ /**
142
+ * The user who created the logs stream.
143
+ */
144
+ createdBy?: pulumi.Input<string | undefined>;
145
+ /**
146
+ * The list of logs destination IDs attached to this stream.
147
+ */
148
+ destinations?: pulumi.Input<pulumi.Input<number>[] | undefined>;
149
+ /**
150
+ * Additional configuration details. Only applies to lkeAuditLogs streams.
151
+ */
152
+ details?: pulumi.Input<inputs.MonitorLogsStreamDetails | undefined>;
153
+ /**
154
+ * The label of the logs stream.
155
+ */
156
+ label?: pulumi.Input<string | undefined>;
157
+ /**
158
+ * The status of the logs stream. One of: `active`, `inactive`, `provisioning`, `deactivating`.
159
+ *
160
+ * * `details` - (Optional, Nested Attribute) Additional configuration details. Only applies to `lkeAuditLogs` streams. Referenced directly (e.g. `details.cluster_ids`).
161
+ */
162
+ status?: pulumi.Input<string | undefined>;
163
+ /**
164
+ * The type of the logs stream. One of: `auditLogs`, `lkeAuditLogs`.
165
+ */
166
+ type?: pulumi.Input<string | undefined>;
167
+ /**
168
+ * The date and time when the logs stream was last updated.
169
+ */
170
+ updated?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * The user who last updated the logs stream.
173
+ */
174
+ updatedBy?: pulumi.Input<string | undefined>;
175
+ /**
176
+ * The version of the logs stream.
177
+ */
178
+ version?: pulumi.Input<number | undefined>;
179
+ }
180
+ /**
181
+ * The set of arguments for constructing a MonitorLogsStream resource.
182
+ */
183
+ export interface MonitorLogsStreamArgs {
184
+ /**
185
+ * The list of logs destination IDs attached to this stream.
186
+ */
187
+ destinations: pulumi.Input<pulumi.Input<number>[]>;
188
+ /**
189
+ * Additional configuration details. Only applies to lkeAuditLogs streams.
190
+ */
191
+ details?: pulumi.Input<inputs.MonitorLogsStreamDetails | undefined>;
192
+ /**
193
+ * The label of the logs stream.
194
+ */
195
+ label: pulumi.Input<string>;
196
+ /**
197
+ * The status of the logs stream. One of: `active`, `inactive`, `provisioning`, `deactivating`.
198
+ *
199
+ * * `details` - (Optional, Nested Attribute) Additional configuration details. Only applies to `lkeAuditLogs` streams. Referenced directly (e.g. `details.cluster_ids`).
200
+ */
201
+ status?: pulumi.Input<string | undefined>;
202
+ /**
203
+ * The type of the logs stream. One of: `auditLogs`, `lkeAuditLogs`.
204
+ */
205
+ type: pulumi.Input<string>;
206
+ }
207
+ //# sourceMappingURL=monitorLogsStream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitorLogsStream.d.ts","sourceRoot":"","sources":["../monitorLogsStream.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAA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AC1C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,161 @@
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.MonitorLogsStream = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Manages a Linode Monitor Logs Stream.
33
+ * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-logs-stream). (**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 destination = new linode.MonitorLogsDestination("destination", {
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
+ * const example = new linode.MonitorLogsStream("example", {
62
+ * label: "my-audit-logs-stream",
63
+ * type: "audit_logs",
64
+ * destinations: [destination.id.apply(x =>Number(x))],
65
+ * });
66
+ * ```
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as linode from "@pulumi/linode";
70
+ *
71
+ * const lkeExample = new linode.MonitorLogsStream("lke_example", {
72
+ * label: "my-lke-stream",
73
+ * type: "lke_audit_logs",
74
+ * destinations: [destination.id],
75
+ * details: {
76
+ * clusterIds: [
77
+ * 12345,
78
+ * 67890,
79
+ * ],
80
+ * isAutoAddAllClustersEnabled: false,
81
+ * },
82
+ * });
83
+ * ```
84
+ *
85
+ * ## Import
86
+ *
87
+ * Monitor Logs Streams can be imported using the `id`, e.g.
88
+ *
89
+ * ```sh
90
+ * $ pulumi import linode:index/monitorLogsStream:MonitorLogsStream example 12345
91
+ * ```
92
+ */
93
+ class MonitorLogsStream extends pulumi.CustomResource {
94
+ /**
95
+ * Get an existing MonitorLogsStream resource's state with the given name, ID, and optional extra
96
+ * properties used to qualify the lookup.
97
+ *
98
+ * @param name The _unique_ name of the resulting resource.
99
+ * @param id The _unique_ provider ID of the resource to lookup.
100
+ * @param state Any extra arguments used during the lookup.
101
+ * @param opts Optional settings to control the behavior of the CustomResource.
102
+ */
103
+ static get(name, id, state, opts) {
104
+ return new MonitorLogsStream(name, state, { ...opts, id: id });
105
+ }
106
+ /** @internal */
107
+ static __pulumiType = 'linode:index/monitorLogsStream:MonitorLogsStream';
108
+ /**
109
+ * Returns true if the given object is an instance of MonitorLogsStream. This is designed to work even
110
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
111
+ */
112
+ static isInstance(obj) {
113
+ if (obj === undefined || obj === null) {
114
+ return false;
115
+ }
116
+ return obj['__pulumiType'] === MonitorLogsStream.__pulumiType;
117
+ }
118
+ constructor(name, argsOrState, opts) {
119
+ let resourceInputs = {};
120
+ opts = opts || {};
121
+ if (opts.id) {
122
+ const state = argsOrState;
123
+ resourceInputs["created"] = state?.created;
124
+ resourceInputs["createdBy"] = state?.createdBy;
125
+ resourceInputs["destinations"] = state?.destinations;
126
+ resourceInputs["details"] = state?.details;
127
+ resourceInputs["label"] = state?.label;
128
+ resourceInputs["status"] = state?.status;
129
+ resourceInputs["type"] = state?.type;
130
+ resourceInputs["updated"] = state?.updated;
131
+ resourceInputs["updatedBy"] = state?.updatedBy;
132
+ resourceInputs["version"] = state?.version;
133
+ }
134
+ else {
135
+ const args = argsOrState;
136
+ if (args?.destinations === undefined && !opts.urn) {
137
+ throw new Error("Missing required property 'destinations'");
138
+ }
139
+ if (args?.label === undefined && !opts.urn) {
140
+ throw new Error("Missing required property 'label'");
141
+ }
142
+ if (args?.type === undefined && !opts.urn) {
143
+ throw new Error("Missing required property 'type'");
144
+ }
145
+ resourceInputs["destinations"] = args?.destinations;
146
+ resourceInputs["details"] = args?.details;
147
+ resourceInputs["label"] = args?.label;
148
+ resourceInputs["status"] = args?.status;
149
+ resourceInputs["type"] = args?.type;
150
+ resourceInputs["created"] = undefined /*out*/;
151
+ resourceInputs["createdBy"] = undefined /*out*/;
152
+ resourceInputs["updated"] = undefined /*out*/;
153
+ resourceInputs["updatedBy"] = undefined /*out*/;
154
+ resourceInputs["version"] = undefined /*out*/;
155
+ }
156
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
157
+ super(MonitorLogsStream.__pulumiType, name, resourceInputs, opts);
158
+ }
159
+ }
160
+ exports.MonitorLogsStream = MonitorLogsStream;
161
+ //# sourceMappingURL=monitorLogsStream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitorLogsStream.js","sourceRoot":"","sources":["../monitorLogsStream.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,kDAAkD,CAAC;IAEzF;;;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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAqDD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CA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,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtHL,8CAuHC"}
package/networkingIp.d.ts CHANGED
@@ -47,6 +47,10 @@ export declare class NetworkingIp extends pulumi.CustomResource {
47
47
  * The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
48
48
  */
49
49
  readonly address: pulumi.Output<string>;
50
+ /**
51
+ * (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. `assigned_entity.id`).
52
+ */
53
+ readonly assignedEntity: pulumi.Output<outputs.NetworkingIpAssignedEntity>;
50
54
  /**
51
55
  * The default gateway for this address.
52
56
  */
@@ -79,12 +83,16 @@ export declare class NetworkingIp extends pulumi.CustomResource {
79
83
  * The mask that separates host bits from network bits for this address.
80
84
  */
81
85
  readonly subnetMask: pulumi.Output<string>;
86
+ /**
87
+ * A set of tags associated with this IP address.
88
+ */
89
+ readonly tags: pulumi.Output<string[]>;
82
90
  /**
83
91
  * The type of IP address. (ipv4, ipv6, etc.)
84
92
  */
85
93
  readonly type: pulumi.Output<string>;
86
94
  /**
87
- * Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
95
+ * (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. `vpc_nat_1_1.address`).
88
96
  */
89
97
  readonly vpcNat11: pulumi.Output<outputs.NetworkingIpVpcNat11>;
90
98
  /**
@@ -104,6 +112,10 @@ export interface NetworkingIpState {
104
112
  * The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
105
113
  */
106
114
  address?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. `assigned_entity.id`).
117
+ */
118
+ assignedEntity?: pulumi.Input<inputs.NetworkingIpAssignedEntity | undefined>;
107
119
  /**
108
120
  * The default gateway for this address.
109
121
  */
@@ -136,12 +148,16 @@ export interface NetworkingIpState {
136
148
  * The mask that separates host bits from network bits for this address.
137
149
  */
138
150
  subnetMask?: pulumi.Input<string | undefined>;
151
+ /**
152
+ * A set of tags associated with this IP address.
153
+ */
154
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
139
155
  /**
140
156
  * The type of IP address. (ipv4, ipv6, etc.)
141
157
  */
142
158
  type?: pulumi.Input<string | undefined>;
143
159
  /**
144
- * Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
160
+ * (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. `vpc_nat_1_1.address`).
145
161
  */
146
162
  vpcNat11?: pulumi.Input<inputs.NetworkingIpVpcNat11 | undefined>;
147
163
  }
@@ -1 +1 @@
1
- {"version":3,"file":"networkingIp.d.ts","sourceRoot":"","sources":["../networkingIp.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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,G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3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
package/networkingIp.js CHANGED
@@ -85,6 +85,7 @@ class NetworkingIp extends pulumi.CustomResource {
85
85
  if (opts.id) {
86
86
  const state = argsOrState;
87
87
  resourceInputs["address"] = state?.address;
88
+ resourceInputs["assignedEntity"] = state?.assignedEntity;
88
89
  resourceInputs["gateway"] = state?.gateway;
89
90
  resourceInputs["linodeId"] = state?.linodeId;
90
91
  resourceInputs["prefix"] = state?.prefix;
@@ -93,6 +94,7 @@ class NetworkingIp extends pulumi.CustomResource {
93
94
  resourceInputs["region"] = state?.region;
94
95
  resourceInputs["reserved"] = state?.reserved;
95
96
  resourceInputs["subnetMask"] = state?.subnetMask;
97
+ resourceInputs["tags"] = state?.tags;
96
98
  resourceInputs["type"] = state?.type;
97
99
  resourceInputs["vpcNat11"] = state?.vpcNat11;
98
100
  }
@@ -104,10 +106,12 @@ class NetworkingIp extends pulumi.CustomResource {
104
106
  resourceInputs["reserved"] = args?.reserved;
105
107
  resourceInputs["type"] = args?.type;
106
108
  resourceInputs["address"] = undefined /*out*/;
109
+ resourceInputs["assignedEntity"] = undefined /*out*/;
107
110
  resourceInputs["gateway"] = undefined /*out*/;
108
111
  resourceInputs["prefix"] = undefined /*out*/;
109
112
  resourceInputs["rdns"] = undefined /*out*/;
110
113
  resourceInputs["subnetMask"] = undefined /*out*/;
114
+ resourceInputs["tags"] = undefined /*out*/;
111
115
  resourceInputs["vpcNat11"] = undefined /*out*/;
112
116
  }
113
117
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
-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SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7HL,oCA8HC"}
package/nodeBalancer.d.ts CHANGED
@@ -38,6 +38,25 @@ import * as outputs from "./types/output";
38
38
  * });
39
39
  * ```
40
40
  *
41
+ * The following example shows how to create a NodeBalancer with a pre-reserved IPv4 address.
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as linode from "@pulumi/linode";
46
+ *
47
+ * const myReservedIp = new linode.NetworkingIp("my_reserved_ip", {
48
+ * region: "us-east",
49
+ * type: "ipv4",
50
+ * "public": true,
51
+ * reserved: true,
52
+ * });
53
+ * const foobar = new linode.NodeBalancer("foobar", {
54
+ * label: "mynodebalancer",
55
+ * region: "us-east",
56
+ * ipv4: myReservedIp.address,
57
+ * });
58
+ * ```
59
+ *
41
60
  * ## Import
42
61
  *
43
62
  * Linodes NodeBalancers can be imported using the Linode NodeBalancer `id`, e.g.
@@ -89,7 +108,7 @@ export declare class NodeBalancer extends pulumi.CustomResource {
89
108
  */
90
109
  readonly hostname: pulumi.Output<string>;
91
110
  /**
92
- * A list of IPv4 addresses or networks. Must be in IP/mask format.
111
+ * The Public IPv4 address to assign to this NodeBalancer. When provided, the address must be a reserved IPv4 address that is unassigned and owned by the account. *Changing `ipv4` forces the creation of a new Linode NodeBalancer.*
93
112
  */
94
113
  readonly ipv4: pulumi.Output<string>;
95
114
  /**
@@ -100,6 +119,10 @@ export declare class NodeBalancer extends pulumi.CustomResource {
100
119
  * The label of the Linode NodeBalancer
101
120
  */
102
121
  readonly label: pulumi.Output<string | undefined>;
122
+ /**
123
+ * The related LKE cluster for this NodeBalancer, if any.
124
+ */
125
+ readonly lkeClusters: pulumi.Output<outputs.NodeBalancerLkeCluster[]>;
103
126
  /**
104
127
  * The region where this NodeBalancer will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` forces the creation of a new Linode NodeBalancer.*.
105
128
  *
@@ -162,7 +185,7 @@ export interface NodeBalancerState {
162
185
  */
163
186
  hostname?: pulumi.Input<string | undefined>;
164
187
  /**
165
- * A list of IPv4 addresses or networks. Must be in IP/mask format.
188
+ * The Public IPv4 address to assign to this NodeBalancer. When provided, the address must be a reserved IPv4 address that is unassigned and owned by the account. *Changing `ipv4` forces the creation of a new Linode NodeBalancer.*
166
189
  */
167
190
  ipv4?: pulumi.Input<string | undefined>;
168
191
  /**
@@ -173,6 +196,10 @@ export interface NodeBalancerState {
173
196
  * The label of the Linode NodeBalancer
174
197
  */
175
198
  label?: pulumi.Input<string | undefined>;
199
+ /**
200
+ * The related LKE cluster for this NodeBalancer, if any.
201
+ */
202
+ lkeClusters?: pulumi.Input<pulumi.Input<inputs.NodeBalancerLkeCluster>[] | undefined>;
176
203
  /**
177
204
  * The region where this NodeBalancer will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` forces the creation of a new Linode NodeBalancer.*.
178
205
  *
@@ -214,6 +241,10 @@ export interface NodeBalancerArgs {
214
241
  * ID for the firewall you'd like to use with this NodeBalancer.
215
242
  */
216
243
  firewallId?: pulumi.Input<number | undefined>;
244
+ /**
245
+ * The Public IPv4 address to assign to this NodeBalancer. When provided, the address must be a reserved IPv4 address that is unassigned and owned by the account. *Changing `ipv4` forces the creation of a new Linode NodeBalancer.*
246
+ */
247
+ ipv4?: pulumi.Input<string | undefined>;
217
248
  /**
218
249
  * The label of the Linode NodeBalancer
219
250
  */
@@ -1 +1 @@
1
- {"version":3,"file":"nodeBalancer.d.ts","sourceRoot":"","sources":["../nodeBalancer.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAOvD;;OAEG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;;;OAIG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IACzF;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SA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AK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3E"}
package/nodeBalancer.js CHANGED
@@ -65,6 +65,25 @@ const utilities = __importStar(require("./utilities"));
65
65
  * });
66
66
  * ```
67
67
  *
68
+ * The following example shows how to create a NodeBalancer with a pre-reserved IPv4 address.
69
+ *
70
+ * ```typescript
71
+ * import * as pulumi from "@pulumi/pulumi";
72
+ * import * as linode from "@pulumi/linode";
73
+ *
74
+ * const myReservedIp = new linode.NetworkingIp("my_reserved_ip", {
75
+ * region: "us-east",
76
+ * type: "ipv4",
77
+ * "public": true,
78
+ * reserved: true,
79
+ * });
80
+ * const foobar = new linode.NodeBalancer("foobar", {
81
+ * label: "mynodebalancer",
82
+ * region: "us-east",
83
+ * ipv4: myReservedIp.address,
84
+ * });
85
+ * ```
86
+ *
68
87
  * ## Import
69
88
  *
70
89
  * Linodes NodeBalancers can be imported using the Linode NodeBalancer `id`, e.g.
@@ -112,6 +131,7 @@ class NodeBalancer extends pulumi.CustomResource {
112
131
  resourceInputs["ipv4"] = state?.ipv4;
113
132
  resourceInputs["ipv6"] = state?.ipv6;
114
133
  resourceInputs["label"] = state?.label;
134
+ resourceInputs["lkeClusters"] = state?.lkeClusters;
115
135
  resourceInputs["region"] = state?.region;
116
136
  resourceInputs["tags"] = state?.tags;
117
137
  resourceInputs["transfers"] = state?.transfers;
@@ -123,6 +143,7 @@ class NodeBalancer extends pulumi.CustomResource {
123
143
  resourceInputs["clientConnThrottle"] = args?.clientConnThrottle;
124
144
  resourceInputs["clientUdpSessThrottle"] = args?.clientUdpSessThrottle;
125
145
  resourceInputs["firewallId"] = args?.firewallId;
146
+ resourceInputs["ipv4"] = args?.ipv4;
126
147
  resourceInputs["label"] = args?.label;
127
148
  resourceInputs["region"] = args?.region;
128
149
  resourceInputs["tags"] = args?.tags;
@@ -130,8 +151,8 @@ class NodeBalancer extends pulumi.CustomResource {
130
151
  resourceInputs["created"] = undefined /*out*/;
131
152
  resourceInputs["firewalls"] = undefined /*out*/;
132
153
  resourceInputs["hostname"] = undefined /*out*/;
133
- resourceInputs["ipv4"] = undefined /*out*/;
134
154
  resourceInputs["ipv6"] = undefined /*out*/;
155
+ resourceInputs["lkeClusters"] = undefined /*out*/;
135
156
  resourceInputs["transfers"] = undefined /*out*/;
136
157
  resourceInputs["updated"] = undefined /*out*/;
137
158
  }