@leaflow/sdk 0.212.0 → 0.213.1

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 (648) hide show
  1. package/dist/billing/type/checkout/v1/generated/models.d.ts +5 -0
  2. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  3. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +5 -0
  4. package/dist/billing/v1/generated/functions.d.ts +105 -90
  5. package/dist/billing/v1/generated/functions.js +107 -92
  6. package/dist/billing/v1/generated/models.d.ts +338 -164
  7. package/dist/billing/v1/generated/models.js +16 -10
  8. package/dist/billing/v1/generated/schemas.zod.d.ts +93 -70
  9. package/dist/billing/v1/generated/schemas.zod.js +98 -72
  10. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -0
  11. package/dist/billing/v1/generated/validators/activeResource.zod.js +3 -2
  12. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -0
  13. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -0
  14. package/dist/billing/v1/generated/validators/allowance.zod.js +5 -1
  15. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -0
  16. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -0
  17. package/dist/billing/v1/generated/validators/cancellation.zod.js +2 -2
  18. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +4 -2
  19. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +5 -4
  20. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -0
  21. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +5 -4
  22. package/dist/billing/v1/generated/validators/cancellationItemInput.zod.d.ts +13 -0
  23. package/dist/billing/v1/generated/validators/{autoRenewSet.zod.d.ts → cancellationItemInput.zod.js} +5 -5
  24. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -0
  25. package/dist/billing/v1/generated/validators/cancellationPreview.zod.d.ts +1 -0
  26. package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +2 -2
  27. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.d.ts +1 -0
  28. package/dist/billing/v1/generated/validators/cancellationPreviewItem.zod.js +4 -3
  29. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +4 -2
  30. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +8 -7
  31. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  32. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +5 -0
  33. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +6 -0
  34. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +7 -3
  35. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +4 -1
  36. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +8 -2
  37. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +3 -1
  38. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +7 -2
  39. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +2 -1
  40. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +6 -0
  41. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +7 -0
  42. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +15 -0
  43. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.js +24 -0
  44. package/dist/billing/v1/generated/validators/checkoutSessionSubscriptionInput.zod.d.ts +13 -0
  45. package/dist/billing/v1/generated/validators/{autoRenewSet.zod.js → checkoutSessionSubscriptionInput.zod.js} +5 -3
  46. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  47. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
  48. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  49. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +2 -2
  50. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +2 -2
  51. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -0
  52. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -0
  53. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +2 -2
  54. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +2 -2
  55. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +2 -2
  56. package/dist/billing/v1/generated/validators/{listRenewalPricesParams.zod.d.ts → listRenewalOptionsParams.zod.d.ts} +7 -7
  57. package/dist/billing/v1/generated/validators/{listRenewalPricesParams.zod.js → listRenewalOptionsParams.zod.js} +9 -9
  58. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +2 -2
  59. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +4 -1
  60. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +7 -1
  61. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +2 -2
  62. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -0
  63. package/dist/billing/v1/generated/validators/order.zod.js +2 -2
  64. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -0
  65. package/dist/billing/v1/generated/validators/orderItem.zod.js +8 -4
  66. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -0
  67. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  68. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -0
  69. package/dist/billing/v1/generated/validators/plan.zod.js +2 -2
  70. package/dist/billing/v1/generated/validators/price.zod.js +2 -2
  71. package/dist/billing/v1/generated/validators/priceSearch.zod.js +2 -2
  72. package/dist/billing/v1/generated/validators/product.zod.js +2 -2
  73. package/dist/billing/v1/generated/validators/{productID.zod.d.ts → productId.zod.d.ts} +5 -5
  74. package/dist/billing/v1/generated/validators/{productID.zod.js → productId.zod.js} +5 -5
  75. package/dist/billing/v1/generated/validators/quote.zod.d.ts +8 -1
  76. package/dist/billing/v1/generated/validators/quote.zod.js +1 -1
  77. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +1 -1
  78. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +7 -7
  79. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +1 -1
  80. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -0
  81. package/dist/billing/v1/generated/validators/quoteItem.zod.js +7 -3
  82. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -0
  83. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +6 -2
  84. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +0 -1
  85. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +2 -3
  86. package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.d.ts +17 -0
  87. package/dist/billing/v1/generated/validators/quoteRenewalItem.zod.js +18 -0
  88. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +7 -1
  89. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +6 -3
  90. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +2 -2
  91. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +3 -3
  92. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  93. package/dist/billing/v1/generated/validators/renewRequest.zod.js +3 -3
  94. package/dist/billing/v1/generated/validators/{renewalPriceList.zod.d.ts → renewalOption.zod.d.ts} +15 -18
  95. package/dist/billing/v1/generated/validators/renewalOption.zod.js +22 -0
  96. package/dist/billing/v1/generated/validators/{renewalPrice.zod.d.ts → renewalOptionItem.zod.d.ts} +6 -13
  97. package/dist/billing/v1/generated/validators/{renewalPrice.zod.js → renewalOptionItem.zod.js} +10 -10
  98. package/dist/billing/v1/generated/validators/renewalOptionList.zod.d.ts +44 -0
  99. package/dist/billing/v1/generated/validators/{renewalPriceList.zod.js → renewalOptionList.zod.js} +3 -3
  100. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
  101. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +131 -112
  102. package/dist/billing/v1/generated/validators/subscription.zod.js +39 -73
  103. package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +104 -0
  104. package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +74 -0
  105. package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.d.ts → subscriptionItemCancellation.zod.d.ts} +4 -4
  106. package/dist/billing/v1/generated/validators/{subscriptionCancellation.zod.js → subscriptionItemCancellation.zod.js} +4 -4
  107. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +131 -111
  108. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +1 -0
  109. package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +2 -2
  110. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.d.ts +13 -0
  111. package/dist/billing/v1/generated/validators/subscriptionUpdate.zod.js +13 -0
  112. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.d.ts +18 -0
  113. package/dist/billing/v1/generated/validators/trialEndBehavior.zod.js +17 -0
  114. package/dist/billing/v1/generated/validators/trialSettings.zod.d.ts +20 -0
  115. package/dist/billing/v1/generated/validators/trialSettings.zod.js +14 -0
  116. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  117. package/dist/billing/v1/generated/validators/usageCharge.zod.js +2 -1
  118. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  119. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +2 -2
  120. package/dist/canopy/v1/generated/models.d.ts +5 -0
  121. package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -0
  122. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  123. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +5 -0
  124. package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +1 -0
  125. package/dist/compute/v2/generated/functions.d.ts +372 -284
  126. package/dist/compute/v2/generated/functions.js +232 -76
  127. package/dist/compute/v2/generated/models.d.ts +368 -334
  128. package/dist/compute/v2/generated/models.js +9 -9
  129. package/dist/compute/v2/generated/schemas.zod.d.ts +165 -97
  130. package/dist/compute/v2/generated/schemas.zod.js +156 -84
  131. package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.d.ts → associateElasticIpRequestBody.zod.d.ts} +4 -4
  132. package/dist/compute/v2/generated/validators/{associateElasticIPRequestBody.zod.js → associateElasticIpRequestBody.zod.js} +2 -2
  133. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +1 -1
  134. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +3 -3
  135. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +1 -1
  136. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +3 -3
  137. package/dist/compute/v2/generated/validators/{imageID.zod.d.ts → availabilityZoneId.zod.d.ts} +7 -7
  138. package/dist/compute/v2/generated/validators/availabilityZoneId.zod.js +44 -0
  139. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +1 -1
  140. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +1 -1
  141. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +1 -1
  142. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +5 -5
  143. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +1 -1
  144. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +3 -3
  145. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +1 -1
  146. package/dist/compute/v2/generated/validators/billingChoice.zod.js +1 -1
  147. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +1 -1
  148. package/dist/compute/v2/generated/validators/billingComponent.zod.js +1 -1
  149. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +1 -1
  150. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +1 -1
  151. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +1 -1
  152. package/dist/compute/v2/generated/validators/billingMeter.zod.js +1 -1
  153. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +1 -1
  154. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +1 -1
  155. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +1 -1
  156. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +1 -1
  157. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +1 -1
  158. package/dist/compute/v2/generated/validators/bootVolume.zod.js +1 -1
  159. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +1 -1
  160. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +1 -1
  161. package/dist/compute/v2/generated/validators/{updateElasticIPRequestBody.zod.d.ts → changeElasticIpBandwidthRequestBody.zod.d.ts} +6 -9
  162. package/dist/compute/v2/generated/validators/changeElasticIpBandwidthRequestBody.zod.js +47 -0
  163. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.d.ts +43 -0
  164. package/dist/compute/v2/generated/validators/changeElasticIpChargeTypeRequestBody.zod.js +39 -0
  165. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +1 -1
  166. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +1 -1
  167. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +3 -1
  168. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +6 -1
  169. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +1 -1
  170. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +1 -1
  171. package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.d.ts → createElasticIpRequestBody.zod.d.ts} +9 -7
  172. package/dist/compute/v2/generated/validators/{createElasticIPRequestBody.zod.js → createElasticIpRequestBody.zod.js} +12 -10
  173. package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.d.ts → createElasticIpResponseBody.zod.d.ts} +8 -6
  174. package/dist/compute/v2/generated/validators/{createElasticIPResponseBody.zod.js → createElasticIpResponseBody.zod.js} +4 -4
  175. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -1
  176. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +3 -3
  177. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +3 -1
  178. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +1 -1
  179. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +1 -1
  180. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +3 -3
  181. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +1 -1
  182. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +1 -1
  183. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +1 -1
  184. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +1 -1
  185. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +1 -1
  186. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +5 -5
  187. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -1
  188. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +3 -3
  189. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +3 -1
  190. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +1 -1
  191. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +1 -1
  192. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +3 -3
  193. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +1 -1
  194. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
  195. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +1 -1
  196. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +4 -4
  197. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
  198. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +3 -3
  199. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +1 -1
  200. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +1 -1
  201. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
  202. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
  203. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -1
  204. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +3 -3
  205. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +3 -1
  206. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +1 -1
  207. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +5 -3
  208. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +10 -8
  209. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +3 -1
  210. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +1 -1
  211. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -1
  212. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +3 -3
  213. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +3 -1
  214. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +1 -1
  215. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +1 -1
  216. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +1 -1
  217. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +1 -1
  218. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +1 -1
  219. package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.d.ts → deleteElasticIpResponseBody.zod.d.ts} +8 -6
  220. package/dist/compute/v2/generated/validators/{deleteElasticIPResponseBody.zod.js → deleteElasticIpResponseBody.zod.js} +6 -6
  221. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +1 -1
  222. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +1 -1
  223. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +3 -1
  224. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +3 -3
  225. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +1 -1
  226. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +1 -1
  227. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +3 -1
  228. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +3 -3
  229. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +1 -1
  230. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +1 -1
  231. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +3 -1
  232. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +3 -3
  233. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +1 -1
  234. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +1 -1
  235. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +3 -1
  236. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +3 -3
  237. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +1 -1
  238. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +1 -1
  239. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +3 -1
  240. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +3 -3
  241. package/dist/compute/v2/generated/validators/{elasticIP.zod.d.ts → elasticIp.zod.d.ts} +8 -6
  242. package/dist/compute/v2/generated/validators/{elasticIP.zod.js → elasticIp.zod.js} +22 -18
  243. package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.d.ts → elasticIpAssociation.zod.d.ts} +4 -4
  244. package/dist/compute/v2/generated/validators/{elasticIPAssociation.zod.js → elasticIpAssociation.zod.js} +11 -11
  245. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.d.ts +41 -0
  246. package/dist/compute/v2/generated/validators/elasticIpAssociationId.zod.js +44 -0
  247. package/dist/compute/v2/generated/validators/{updateElasticIPResponseBody.zod.d.ts → elasticIpChangeResponseBody.zod.d.ts} +8 -6
  248. package/dist/compute/v2/generated/validators/elasticIpChangeResponseBody.zod.js +49 -0
  249. package/dist/compute/v2/generated/validators/elasticIpId.zod.d.ts +41 -0
  250. package/dist/compute/v2/generated/validators/{elasticIPID.zod.js → elasticIpId.zod.js} +8 -8
  251. package/dist/compute/v2/generated/validators/{elasticIPLine.zod.d.ts → elasticIpLine.zod.d.ts} +7 -7
  252. package/dist/compute/v2/generated/validators/{elasticIPLine.zod.js → elasticIpLine.zod.js} +12 -12
  253. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.d.ts +41 -0
  254. package/dist/compute/v2/generated/validators/elasticIpLineId.zod.js +44 -0
  255. package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.d.ts → elasticIpLineListResponseBody.zod.d.ts} +4 -4
  256. package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.js → elasticIpLineListResponseBody.zod.js} +4 -4
  257. package/dist/compute/v2/generated/validators/{elasticIPListResponseBody.zod.d.ts → elasticIpListResponseBody.zod.d.ts} +8 -6
  258. package/dist/compute/v2/generated/validators/{elasticIPLineListResponseBody.zod.js → elasticIpListResponseBody.zod.js} +4 -4
  259. package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.d.ts → elasticIpReleaseResource.zod.d.ts} +4 -4
  260. package/dist/compute/v2/generated/validators/{elasticIPReleaseResource.zod.js → elasticIpReleaseResource.zod.js} +4 -4
  261. package/dist/compute/v2/generated/validators/error.zod.d.ts +1 -1
  262. package/dist/compute/v2/generated/validators/error.zod.js +1 -1
  263. package/dist/compute/v2/generated/validators/errorStatus.zod.d.ts +1 -1
  264. package/dist/compute/v2/generated/validators/errorStatus.zod.js +1 -1
  265. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +1 -1
  266. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +3 -3
  267. package/dist/compute/v2/generated/validators/{existingElasticIP.zod.d.ts → existingElasticIp.zod.d.ts} +4 -4
  268. package/dist/compute/v2/generated/validators/{existingElasticIP.zod.js → existingElasticIp.zod.js} +4 -4
  269. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +1 -1
  270. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +3 -3
  271. package/dist/compute/v2/generated/validators/fieldViolation.zod.d.ts +1 -1
  272. package/dist/compute/v2/generated/validators/fieldViolation.zod.js +1 -1
  273. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +1 -1
  274. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +1 -1
  275. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +1 -1
  276. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +1 -1
  277. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +1 -1
  278. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +1 -1
  279. package/dist/compute/v2/generated/validators/imageId.zod.d.ts +41 -0
  280. package/dist/compute/v2/generated/validators/{imageID.zod.js → imageId.zod.js} +8 -8
  281. package/dist/compute/v2/generated/validators/instance.zod.d.ts +3 -1
  282. package/dist/compute/v2/generated/validators/instance.zod.js +25 -21
  283. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +1 -1
  284. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +3 -3
  285. package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.d.ts → instanceElasticIp.zod.d.ts} +4 -4
  286. package/dist/compute/v2/generated/validators/{instanceElasticIP.zod.js → instanceElasticIp.zod.js} +5 -5
  287. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +1 -1
  288. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +5 -5
  289. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +1 -1
  290. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +1 -1
  291. package/dist/compute/v2/generated/validators/instanceFamilyId.zod.d.ts +41 -0
  292. package/dist/compute/v2/generated/validators/{instanceFamilyID.zod.js → instanceFamilyId.zod.js} +8 -8
  293. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +1 -1
  294. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +1 -1
  295. package/dist/compute/v2/generated/validators/instanceId.zod.d.ts +41 -0
  296. package/dist/compute/v2/generated/validators/{instanceID.zod.js → instanceId.zod.js} +8 -8
  297. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +3 -1
  298. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +1 -1
  299. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.d.ts +41 -0
  300. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceId.zod.js +44 -0
  301. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +1 -1
  302. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +3 -3
  303. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +1 -1
  304. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +4 -4
  305. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +1 -1
  306. package/dist/compute/v2/generated/validators/instanceType.zod.js +9 -9
  307. package/dist/compute/v2/generated/validators/instanceTypeId.zod.d.ts +41 -0
  308. package/dist/compute/v2/generated/validators/{instanceTypeID.zod.js → instanceTypeId.zod.js} +8 -8
  309. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
  310. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +1 -1
  311. package/dist/compute/v2/generated/validators/instanceVolumeId.zod.d.ts +41 -0
  312. package/dist/compute/v2/generated/validators/{instanceVolumeID.zod.js → instanceVolumeId.zod.js} +8 -8
  313. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +1 -1
  314. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +2 -2
  315. package/dist/compute/v2/generated/validators/ipv4HostAddress.zod.d.ts +41 -0
  316. package/dist/compute/v2/generated/validators/{iPv4HostAddress.zod.js → ipv4HostAddress.zod.js} +8 -8
  317. package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +1 -1
  318. package/dist/compute/v2/generated/validators/latestOperation.zod.js +1 -1
  319. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +1 -1
  320. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +5 -5
  321. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +1 -1
  322. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +5 -5
  323. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +1 -1
  324. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +3 -3
  325. package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.d.ts → launchTemplateElasticIp.zod.d.ts} +5 -5
  326. package/dist/compute/v2/generated/validators/{launchTemplateElasticIP.zod.js → launchTemplateElasticIp.zod.js} +6 -6
  327. package/dist/compute/v2/generated/validators/launchTemplateId.zod.d.ts +41 -0
  328. package/dist/compute/v2/generated/validators/{launchTemplateID.zod.js → launchTemplateId.zod.js} +8 -8
  329. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +1 -1
  330. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +1 -1
  331. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +1 -1
  332. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +5 -5
  333. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +1 -1
  334. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +3 -3
  335. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +1 -1
  336. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +7 -7
  337. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +1 -1
  338. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +1 -1
  339. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +1 -1
  340. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +3 -3
  341. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +1 -1
  342. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +3 -3
  343. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +1 -1
  344. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +1 -1
  345. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +1 -1
  346. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +1 -1
  347. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +1 -1
  348. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +3 -3
  349. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +1 -1
  350. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +1 -1
  351. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +1 -1
  352. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +7 -7
  353. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +1 -1
  354. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +1 -1
  355. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +1 -1
  356. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +1 -1
  357. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +1 -1
  358. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +1 -1
  359. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +1 -1
  360. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +3 -3
  361. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +1 -1
  362. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +1 -1
  363. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +1 -1
  364. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +1 -1
  365. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +1 -1
  366. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +3 -3
  367. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +1 -1
  368. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +3 -3
  369. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +1 -1
  370. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +1 -1
  371. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +1 -1
  372. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +1 -1
  373. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +1 -1
  374. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +1 -1
  375. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +1 -1
  376. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +5 -5
  377. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +1 -1
  378. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +1 -1
  379. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +1 -1
  380. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +1 -1
  381. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +1 -1
  382. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +1 -1
  383. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +1 -1
  384. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +3 -3
  385. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +1 -1
  386. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +3 -3
  387. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +1 -1
  388. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +3 -3
  389. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +1 -1
  390. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +5 -5
  391. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +1 -1
  392. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +5 -5
  393. package/dist/compute/v2/generated/validators/money.zod.d.ts +1 -1
  394. package/dist/compute/v2/generated/validators/money.zod.js +1 -1
  395. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +1 -1
  396. package/dist/compute/v2/generated/validators/networkInterface.zod.js +7 -7
  397. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +1 -1
  398. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +5 -5
  399. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +1 -1
  400. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +3 -3
  401. package/dist/compute/v2/generated/validators/{regionID.zod.d.ts → networkInterfaceAddressId.zod.d.ts} +7 -7
  402. package/dist/compute/v2/generated/validators/networkInterfaceAddressId.zod.js +44 -0
  403. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +1 -1
  404. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +7 -7
  405. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +1 -1
  406. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +1 -1
  407. package/dist/compute/v2/generated/validators/networkInterfaceId.zod.d.ts +41 -0
  408. package/dist/compute/v2/generated/validators/{networkInterfaceID.zod.js → networkInterfaceId.zod.js} +8 -8
  409. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +1 -1
  410. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +1 -1
  411. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +1 -1
  412. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +5 -5
  413. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +1 -1
  414. package/dist/compute/v2/generated/validators/newCompute.zod.js +3 -3
  415. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +1 -1
  416. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +3 -3
  417. package/dist/compute/v2/generated/validators/{newElasticIP.zod.d.ts → newElasticIp.zod.d.ts} +5 -5
  418. package/dist/compute/v2/generated/validators/{newElasticIP.zod.js → newElasticIp.zod.js} +6 -6
  419. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +1 -1
  420. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +5 -5
  421. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +1 -1
  422. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +5 -5
  423. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +1 -1
  424. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +1 -1
  425. package/dist/compute/v2/generated/validators/operationLogId.zod.d.ts +41 -0
  426. package/dist/compute/v2/generated/validators/{operationLogID.zod.js → operationLogId.zod.js} +8 -8
  427. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +1 -1
  428. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +1 -1
  429. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +1 -1
  430. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +5 -5
  431. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +1 -1
  432. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +1 -1
  433. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +1 -1
  434. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +1 -1
  435. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +1 -1
  436. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +1 -1
  437. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +3 -1
  438. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +1 -1
  439. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +1 -1
  440. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +3 -3
  441. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +3 -1
  442. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +13 -9
  443. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +1 -1
  444. package/dist/compute/v2/generated/validators/projectQuota.zod.js +3 -3
  445. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +1 -1
  446. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +1 -1
  447. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +1 -1
  448. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +1 -1
  449. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +1 -1
  450. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +5 -5
  451. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +1 -1
  452. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +1 -1
  453. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +1 -1
  454. package/dist/compute/v2/generated/validators/quotaSource.zod.js +1 -1
  455. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +1 -1
  456. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +1 -1
  457. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +1 -1
  458. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +3 -3
  459. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +3 -1
  460. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +1 -1
  461. package/dist/compute/v2/generated/validators/regionId.zod.d.ts +41 -0
  462. package/dist/compute/v2/generated/validators/{regionID.zod.js → regionId.zod.js} +8 -8
  463. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +1 -1
  464. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +1 -1
  465. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +1 -1
  466. package/dist/compute/v2/generated/validators/regionResource.zod.js +3 -3
  467. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +1 -1
  468. package/dist/compute/v2/generated/validators/releaseResource.zod.js +3 -3
  469. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +2 -1
  470. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +4 -3
  471. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.d.ts +41 -0
  472. package/dist/compute/v2/generated/validators/replaceNetworkInterfaceSecurityGroupsRequestBody.zod.js +44 -0
  473. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +3 -1
  474. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +1 -1
  475. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +1 -1
  476. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +1 -1
  477. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.d.ts +50 -0
  478. package/dist/compute/v2/generated/validators/resizeInstanceRequestBody.zod.js +45 -0
  479. package/dist/compute/v2/generated/validators/{updateInstanceResponseBody.zod.d.ts → resizeInstanceResponseBody.zod.d.ts} +7 -5
  480. package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.js → resizeInstanceResponseBody.zod.js} +14 -10
  481. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.d.ts +50 -0
  482. package/dist/compute/v2/generated/validators/resizeVolumeRequestBody.zod.js +44 -0
  483. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.d.ts +50 -0
  484. package/dist/compute/v2/generated/validators/retypeVolumeRequestBody.zod.js +45 -0
  485. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +1 -1
  486. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +3 -3
  487. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +1 -1
  488. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +1 -1
  489. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +1 -1
  490. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +1 -1
  491. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +1 -1
  492. package/dist/compute/v2/generated/validators/securityGroup.zod.js +5 -5
  493. package/dist/compute/v2/generated/validators/securityGroupId.zod.d.ts +41 -0
  494. package/dist/compute/v2/generated/validators/{securityGroupID.zod.js → securityGroupId.zod.js} +8 -8
  495. package/dist/compute/v2/generated/validators/securityGroupIdOrWildcard.zod.d.ts +39 -0
  496. package/dist/compute/v2/generated/validators/{securityGroupIDOrWildcard.zod.js → securityGroupIdOrWildcard.zod.js} +4 -4
  497. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +1 -1
  498. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +1 -1
  499. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +1 -1
  500. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +5 -5
  501. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +1 -1
  502. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +1 -1
  503. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.d.ts +41 -0
  504. package/dist/compute/v2/generated/validators/securityGroupRuleId.zod.js +44 -0
  505. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +1 -1
  506. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +1 -1
  507. package/dist/compute/v2/generated/validators/subnetId.zod.d.ts +41 -0
  508. package/dist/compute/v2/generated/validators/{subnetID.zod.js → subnetId.zod.js} +8 -8
  509. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +1 -1
  510. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +1 -1
  511. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +1 -1
  512. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +1 -1
  513. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +1 -1
  514. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +1 -1
  515. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +1 -1
  516. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +1 -1
  517. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +1 -11
  518. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +2 -10
  519. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +1 -1
  520. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +1 -1
  521. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +1 -3
  522. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +2 -10
  523. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +1 -1
  524. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +1 -1
  525. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +1 -1
  526. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +1 -1
  527. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +1 -1
  528. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +1 -1
  529. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +1 -1
  530. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +1 -1
  531. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +1 -1
  532. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +1 -1
  533. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +1 -12
  534. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +2 -15
  535. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +1 -1
  536. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +1 -1
  537. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +1 -1
  538. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +5 -5
  539. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.d.ts +41 -0
  540. package/dist/compute/v2/generated/validators/virtualPrivateCloudId.zod.js +44 -0
  541. package/dist/compute/v2/generated/validators/virtualPrivateCloudIdOrWildcard.zod.d.ts +39 -0
  542. package/dist/compute/v2/generated/validators/{virtualPrivateCloudIDOrWildcard.zod.js → virtualPrivateCloudIdOrWildcard.zod.js} +4 -4
  543. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +1 -1
  544. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +1 -1
  545. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.d.ts +41 -0
  546. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringId.zod.js +44 -0
  547. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +1 -1
  548. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +1 -1
  549. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +1 -1
  550. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +8 -8
  551. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.d.ts +41 -0
  552. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteId.zod.js +44 -0
  553. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +1 -1
  554. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +1 -1
  555. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +1 -1
  556. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +7 -7
  557. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +1 -1
  558. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +1 -1
  559. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +1 -1
  560. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +5 -5
  561. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +1 -1
  562. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +1 -1
  563. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +1 -1
  564. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +7 -7
  565. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +1 -1
  566. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +1 -1
  567. package/dist/compute/v2/generated/validators/volumeBackupId.zod.d.ts +41 -0
  568. package/dist/compute/v2/generated/validators/{volumeBackupID.zod.js → volumeBackupId.zod.js} +8 -8
  569. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +3 -1
  570. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +1 -1
  571. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +1 -1
  572. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +3 -3
  573. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +3 -1
  574. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +15 -11
  575. package/dist/compute/v2/generated/validators/{updateVolumeResponseBody.zod.d.ts → volumeChangeResponseBody.zod.d.ts} +7 -5
  576. package/dist/compute/v2/generated/validators/{availabilityZoneID.zod.d.ts → volumeChangeResponseBody.zod.js} +14 -7
  577. package/dist/compute/v2/generated/validators/volumeId.zod.d.ts +41 -0
  578. package/dist/compute/v2/generated/validators/{volumeID.zod.js → volumeId.zod.js} +8 -8
  579. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +3 -1
  580. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +1 -1
  581. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +1 -1
  582. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +1 -1
  583. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +1 -1
  584. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +3 -3
  585. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +3 -1
  586. package/dist/compute/v2/generated/validators/volumeResource.zod.js +15 -11
  587. package/dist/compute/v2/generated/validators/volumeSnapshotId.zod.d.ts +41 -0
  588. package/dist/compute/v2/generated/validators/{volumeSnapshotID.zod.js → volumeSnapshotId.zod.js} +8 -8
  589. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +3 -1
  590. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +1 -1
  591. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +1 -1
  592. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +3 -3
  593. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +3 -1
  594. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +15 -11
  595. package/dist/compute/v2/generated/validators/volumeTypeId.zod.d.ts +41 -0
  596. package/dist/compute/v2/generated/validators/{volumeTypeID.zod.js → volumeTypeId.zod.js} +8 -8
  597. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +1 -1
  598. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +1 -1
  599. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +1 -1
  600. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +1 -1
  601. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +1 -1
  602. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +7 -7
  603. package/dist/membership/v1/generated/models.d.ts +5 -0
  604. package/dist/membership/v1/generated/schemas.zod.d.ts +2 -0
  605. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +2 -0
  606. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +5 -0
  607. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -0
  608. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -0
  609. package/dist/routes.d.ts +59 -19
  610. package/dist/routes.js +65 -20
  611. package/package.json +1 -1
  612. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +0 -41
  613. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +0 -44
  614. package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +0 -41
  615. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +0 -41
  616. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +0 -44
  617. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +0 -41
  618. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +0 -41
  619. package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +0 -41
  620. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +0 -41
  621. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +0 -44
  622. package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +0 -41
  623. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +0 -41
  624. package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +0 -41
  625. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +0 -41
  626. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +0 -44
  627. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +0 -41
  628. package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +0 -41
  629. package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +0 -41
  630. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +0 -39
  631. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +0 -41
  632. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +0 -44
  633. package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +0 -41
  634. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +0 -48
  635. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +0 -49
  636. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +0 -49
  637. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +0 -49
  638. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +0 -41
  639. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +0 -44
  640. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +0 -39
  641. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +0 -41
  642. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +0 -44
  643. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +0 -41
  644. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +0 -44
  645. package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +0 -41
  646. package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +0 -41
  647. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +0 -41
  648. package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +0 -41
@@ -30,11 +30,11 @@ export const CancellationMode = {
30
30
  immediate: "immediate",
31
31
  period_end: "period_end",
32
32
  };
33
- export const ElasticIPLineSaleStatus = {
33
+ export const ElasticIpLineSaleStatus = {
34
34
  on_sale: "on_sale",
35
35
  off_sale: "off_sale",
36
36
  };
37
- export const ElasticIPLineTrafficSaleStatus = {
37
+ export const ElasticIpLineTrafficSaleStatus = {
38
38
  on_sale: "on_sale",
39
39
  off_sale: "off_sale",
40
40
  };
@@ -42,7 +42,7 @@ export const InternetChargeType = {
42
42
  bandwidth: "bandwidth",
43
43
  traffic: "traffic",
44
44
  };
45
- export const ElasticIPStatus = {
45
+ export const ElasticIpStatus = {
46
46
  pending: "pending",
47
47
  available: "available",
48
48
  deleted: "deleted",
@@ -62,7 +62,7 @@ export const InstanceReleaseResourceType = {
62
62
  export const VolumeReleaseResourceType = {
63
63
  volume: "volume",
64
64
  };
65
- export const ElasticIPReleaseResourceType = {
65
+ export const ElasticIpReleaseResourceType = {
66
66
  elastic_ip: "elastic_ip",
67
67
  };
68
68
  export const VolumeSnapshotReleaseResourceType = {
@@ -74,20 +74,20 @@ export const VolumeBackupReleaseResourceType = {
74
74
  export const PrivateImageReleaseResourceType = {
75
75
  private_image: "private_image",
76
76
  };
77
- export const ElasticIPAccessState = {
77
+ export const ElasticIpAccessState = {
78
78
  pending: "pending",
79
79
  enabled: "enabled",
80
80
  suspended: "suspended",
81
81
  reclaimed: "reclaimed",
82
82
  };
83
- export const ElasticIPFailureReason = {
83
+ export const ElasticIpFailureReason = {
84
84
  order_declined: "order_declined",
85
85
  order_canceled: "order_canceled",
86
86
  order_expired: "order_expired",
87
87
  checkout_expired: "checkout_expired",
88
88
  provisioning_failed: "provisioning_failed",
89
89
  };
90
- export const ElasticIPAssociationState = {
90
+ export const ElasticIpAssociationState = {
91
91
  associated: "associated",
92
92
  released: "released",
93
93
  };
@@ -186,10 +186,10 @@ export const NewPrimaryNetworkInterfaceType = {
186
186
  export const ExistingPrimaryNetworkInterfaceType = {
187
187
  existing: "existing",
188
188
  };
189
- export const NewElasticIPType = {
189
+ export const NewElasticIpType = {
190
190
  new: "new",
191
191
  };
192
- export const ExistingElasticIPType = {
192
+ export const ExistingElasticIpType = {
193
193
  existing: "existing",
194
194
  };
195
195
  export const GeneratedPasswordType = {
@@ -16,7 +16,7 @@
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only descriptive fields, all optional and at least one given, and answers 200. A change that starts an operation or a purchase, such as a resize, is its own method (`:resize`, `:retype`, `:changeBandwidth`).
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -109,6 +109,10 @@ export declare const ListElasticIpsQueryParams: zod.ZodObject<{
109
109
  *
110
110
  * Allocation does not select or create a virtual private cloud. A later association selects an assigned network-interface address; Compute then establishes the required network connectivity.
111
111
  *
112
+ * An elastic IP bought on its own has a Billing subscription of its own, with two items: the address, always pay-as-you-go and charged while the address is not associated with anything, and the network, on the chosen terms.
113
+ *
114
+ * **Buying for an instance.** With `instance_id`, the elastic IP is associated with the primary network interface of that instance of the project once created, and its two items join the instance's Billing subscription: a prepaid network item is charged up to the instance's term end, the rest of the current period in proportion to the time left, and from then on renews, renews automatically and expires with the instance. `billing` may be omitted to take the instance's terms; given, its usage type and period must be the instance's (422 `ELASTIC_IP_BILLING_TERMS_MISMATCH`). An instance that cannot take another elastic IP, or whose type allows less bandwidth than `bandwidth_mbps`, is refused before anything is ordered, as associating would be.
115
+ *
112
116
  * The elastic IP is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
113
117
  * @summary Allocate an elastic IP
114
118
  */
@@ -120,7 +124,7 @@ export declare const CreateElasticIpBody: zod.ZodObject<{
120
124
  address: zod.ZodOptional<zod.ZodString>;
121
125
  bandwidth_mbps: zod.ZodInt;
122
126
  line_id: zod.ZodString;
123
- billing: zod.ZodObject<{
127
+ billing: zod.ZodOptional<zod.ZodObject<{
124
128
  usage_type: zod.ZodEnum<{
125
129
  licensed: "licensed";
126
130
  metered: "metered";
@@ -136,7 +140,7 @@ export declare const CreateElasticIpBody: zod.ZodObject<{
136
140
  immediate: "immediate";
137
141
  period_end: "period_end";
138
142
  }>>;
139
- }, zod.z.core.$strict>;
143
+ }, zod.z.core.$strict>>;
140
144
  checkout: zod.ZodOptional<zod.ZodObject<{
141
145
  mode: zod.ZodDefault<zod.ZodEnum<{
142
146
  automatic: "automatic";
@@ -144,7 +148,9 @@ export declare const CreateElasticIpBody: zod.ZodObject<{
144
148
  }>>;
145
149
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
146
150
  return_url: zod.ZodOptional<zod.ZodURL>;
151
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
147
152
  }, zod.z.core.$strict>>;
153
+ instance_id: zod.ZodOptional<zod.ZodString>;
148
154
  }, zod.z.core.$strict>;
149
155
  /**
150
156
  * @summary Retrieve an elastic IP
@@ -156,32 +162,44 @@ export declare const GetElasticIpParams: zod.ZodObject<{
156
162
  elasticIpId: zod.ZodString;
157
163
  }, zod.z.core.$strict>;
158
164
  /**
159
- * Changes the bandwidth of this elastic IP, or what its pay-as-you-go network subscription charges for. `bandwidth_mbps` and `internet_charge_type` are operational fields: each starts a change and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a change that committed beside another that was then refused would leave the request half applied. An elastic IP has no descriptive field today, so 200 is reserved for the fields that may be added to it and every accepted update answers 202. `checkout` and `proration_date` belong to the purchase of the `bandwidth_mbps` change and are accepted only together with it.
165
+ * Releases the elastic IP after dissociating it. The elastic IP is `deleting` until cleanup is confirmed; the address then immediately returns to available inventory, with no cooldown period. Deleting the association or replacing it alone does not release the address.
160
166
  *
161
- * No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network subscription:
167
+ * Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
162
168
  *
163
- * - **Prepaid**: the change goes through a Checkout Session that changes the network subscription, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
164
- * - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
169
+ * While subscription items pay for the elastic IP (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the elastic IP working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
170
+ * @summary Release an elastic IP
171
+ */
172
+ export declare const deleteElasticIpPathElasticIpIdMin = 30;
173
+ export declare const deleteElasticIpPathElasticIpIdMax = 34;
174
+ export declare const deleteElasticIpPathElasticIpIdRegExp: RegExp;
175
+ export declare const DeleteElasticIpParams: zod.ZodObject<{
176
+ elasticIpId: zod.ZodString;
177
+ }, zod.z.core.$strict>;
178
+ export declare const DeleteElasticIpQueryParams: zod.ZodObject<{
179
+ cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
180
+ immediate: "immediate";
181
+ period_end: "period_end";
182
+ }>>;
183
+ }, zod.z.core.$strict>;
184
+ /**
185
+ * Changes the bandwidth ceiling of this elastic IP. No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network item:
165
186
  *
166
- * A change of `internet_charge_type` needs no checkout and is `updating_internet_charge_type` until it is applied; see the field.
187
+ * - **Prepaid**: the change goes through a Checkout Session that changes the network item, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
188
+ * - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
167
189
  *
168
190
  * The elastic IP is `updating_bandwidth` until the change is applied or ends, so other operations and a second change are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The current limit stays in effect until the change is applied.
169
191
  *
170
192
  * While the address is associated with an instance, the limit must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`. The limit of an address that is not associated is checked when the address is associated with an instance.
171
- * @summary Update an elastic IP
193
+ * @summary Change the bandwidth of an elastic IP
172
194
  */
173
- export declare const updateElasticIpPathElasticIpIdMin = 30;
174
- export declare const updateElasticIpPathElasticIpIdMax = 34;
175
- export declare const updateElasticIpPathElasticIpIdRegExp: RegExp;
176
- export declare const UpdateElasticIpParams: zod.ZodObject<{
195
+ export declare const changeElasticIpBandwidthPathElasticIpIdMin = 30;
196
+ export declare const changeElasticIpBandwidthPathElasticIpIdMax = 34;
197
+ export declare const changeElasticIpBandwidthPathElasticIpIdRegExp: RegExp;
198
+ export declare const ChangeElasticIpBandwidthParams: zod.ZodObject<{
177
199
  elasticIpId: zod.ZodString;
178
200
  }, zod.z.core.$strict>;
179
- export declare const UpdateElasticIpBody: zod.ZodObject<{
180
- internet_charge_type: zod.ZodOptional<zod.ZodEnum<{
181
- bandwidth: "bandwidth";
182
- traffic: "traffic";
183
- }>>;
184
- bandwidth_mbps: zod.ZodOptional<zod.ZodInt>;
201
+ export declare const ChangeElasticIpBandwidthBody: zod.ZodObject<{
202
+ bandwidth_mbps: zod.ZodInt;
185
203
  proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
186
204
  checkout: zod.ZodOptional<zod.ZodObject<{
187
205
  mode: zod.ZodDefault<zod.ZodEnum<{
@@ -190,27 +208,26 @@ export declare const UpdateElasticIpBody: zod.ZodObject<{
190
208
  }>>;
191
209
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
192
210
  return_url: zod.ZodOptional<zod.ZodURL>;
211
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
193
212
  }, zod.z.core.$strict>>;
194
213
  }, zod.z.core.$strict>;
195
214
  /**
196
- * Releases the elastic IP after dissociating it. The elastic IP is `deleting` until cleanup is confirmed; the address then immediately returns to available inventory, with no cooldown period. Deleting the association or replacing it alone does not release the address.
215
+ * Moves a pay-as-you-go elastic IP between charging for its bandwidth and charging for its traffic, within the same network item and without checkout. A prepaid network item has paid for its bandwidth and is refused with `ELASTIC_IP_CHARGE_TYPE_PREPAID`; `traffic` on a line whose `traffic_sale_status` is `off_sale` is refused with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`, the type already in effect with `ELASTIC_IP_CHARGE_TYPE_UNCHANGED`, and a type the currency of the network item does not offer on the line with HTTP 403 `ELASTIC_IP_CHARGE_TYPE_NOT_OFFERED`: prices are set per currency, and a currency without one there does not sell that type.
197
216
  *
198
- * Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
199
- *
200
- * While subscriptions pay for the elastic IP (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the elastic IP working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
201
- * @summary Release an elastic IP
217
+ * The change takes effect at the instant it is applied: bandwidth stops being metered then and traffic starts being, or the other way round. Traffic is counted in windows, and a window is charged the way the elastic IP was charged for most of it, so a report that arrives late is still charged as it was at the time and a window the change falls in is never charged both ways. `bandwidth_mbps` stays the ceiling either way. The elastic IP is `updating_internet_charge_type` until the change is applied.
218
+ * @summary Change what an elastic IP is charged for
202
219
  */
203
- export declare const deleteElasticIpPathElasticIpIdMin = 30;
204
- export declare const deleteElasticIpPathElasticIpIdMax = 34;
205
- export declare const deleteElasticIpPathElasticIpIdRegExp: RegExp;
206
- export declare const DeleteElasticIpParams: zod.ZodObject<{
220
+ export declare const changeElasticIpChargeTypePathElasticIpIdMin = 30;
221
+ export declare const changeElasticIpChargeTypePathElasticIpIdMax = 34;
222
+ export declare const changeElasticIpChargeTypePathElasticIpIdRegExp: RegExp;
223
+ export declare const ChangeElasticIpChargeTypeParams: zod.ZodObject<{
207
224
  elasticIpId: zod.ZodString;
208
225
  }, zod.z.core.$strict>;
209
- export declare const DeleteElasticIpQueryParams: zod.ZodObject<{
210
- cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
211
- immediate: "immediate";
212
- period_end: "period_end";
213
- }>>;
226
+ export declare const ChangeElasticIpChargeTypeBody: zod.ZodObject<{
227
+ internet_charge_type: zod.ZodEnum<{
228
+ bandwidth: "bandwidth";
229
+ traffic: "traffic";
230
+ }>;
214
231
  }, zod.z.core.$strict>;
215
232
  /**
216
233
  * The bytes and packets the elastic IP's address sent upstream while the elastic IP held it, summed by hour or by day in UTC over `[start_time, end_time)`. Only intervals with traffic are listed. Inbound traffic is not measured.
@@ -361,7 +378,7 @@ export declare const ListInstancesQueryParams: zod.ZodObject<{
361
378
  *
362
379
  * The instances are created in the availability zone of their instance type, and the volumes bought with them have to be of volume types of that zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`). The types have to have room for all of them, checked before anything is ordered: refused with 409 `INSTANCE_TYPE_SOLD_OUT` or `VOLUME_TYPE_SOLD_OUT` when a type takes no new orders for now, `INSTANCE_TYPE_CAPACITY_REACHED` or `VOLUME_TYPE_CAPACITY_REACHED` when what is sold of it is used up, `INSTANCE_TYPE_NO_HOST_ROOM` when no host of the zone can take the machine, `VOLUME_TYPE_NO_POOL_ROOM` when the storage of the zone cannot take the boot volume, and `ELASTIC_IP_LINE_EXHAUSTED` when the line of the new elastic IPs has fewer addresses left than instances. Two orders placed at the same moment can both pass; an instance that finds a type full when its order is accepted is not created and is refunded, ending `failed` with `provisioning_failed`.
363
380
  *
364
- * Choose an image or existing volume through boot_volume, and exactly one of network_interface_id or subnet_id. Existing network interfaces, boot volumes or elastic IPs require count=1. They are not held while the instance is pending; if one is no longer usable when the order is accepted, the instance ends `failed` with `provisioning_failed`. Image boots require boot_volume; existing volumes retain their own subscription. Instances, volumes and public IPs keep their own subscription items on the same order.
381
+ * Choose an image or existing volume through boot_volume, and exactly one of network_interface_id or subnet_id. Existing network interfaces, boot volumes or elastic IPs require count=1. They are not held while the instance is pending; if one is no longer usable when the order is accepted, the instance ends `failed` with `provisioning_failed`. Image boots require boot_volume; existing volumes retain their own subscription. Each instance gets its own Billing subscription, with the boot volume, data volumes and elastic IP bought with it as items of it: they renew, renew automatically and expire with the machine as a whole, while each can still be changed or released alone. `checkout.auto_renew` turns automatic renewal on for each machine.
365
382
  *
366
383
  * Instances of one request succeed or fail individually. Each instance, with its boot volume, network interface and elastic IP, is created or fails as a whole. Instances that were created are kept; each failed instance ends `failed` with `provisioning_failed`, its part of the order is refunded, and the order then ends `partially_completed`. An instance is delivered whole or not at all: when the customer cancels any of its order items before the order is accepted, it is not created, its remaining items are canceled and refunded, and it ends `failed` with `order_canceled`. Each instance is named after this request with a number appended.
367
384
  *
@@ -522,6 +539,7 @@ export declare const CreateInstanceBody: zod.ZodObject<{
522
539
  }>>;
523
540
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
524
541
  return_url: zod.ZodOptional<zod.ZodURL>;
542
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
525
543
  }, zod.z.core.$strict>>;
526
544
  }, zod.z.core.$strict>;
527
545
  /**
@@ -535,19 +553,11 @@ export declare const GetInstanceParams: zod.ZodObject<{
535
553
  instanceId: zod.ZodString;
536
554
  }, zod.z.core.$strict>;
537
555
  /**
538
- * Changes the descriptive fields (`name`, `labels`, `notes`) or the operational field `instance_type_id`. All fields are optional and at least one is required. Starting and stopping are the `:start` and `:stop` methods.
539
- *
540
- * `instance_type_id` starts a workflow and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied. `checkout` and `proration_date` belong to the purchase of the `instance_type_id` change and are accepted only together with it.
541
- *
542
- * **Descriptive fields** are not operations and are accepted at any time, whatever the instance is doing. The request returns 200 with `checkout_session_id` and `order_id` null.
556
+ * Changes the descriptive fields `name`, `labels` and `description`; all are optional and at least one is required. They are not operations and are accepted at any time, whatever the instance is doing. Changing the instance type is the `:resize` method; starting and stopping are `:start` and `:stop`.
543
557
  *
544
558
  * - `name` changes the display name only. The hostname inside the instance is unchanged; it equals the instance id.
545
559
  * - `labels` records what this instance is for, as key-value pairs. Nothing on the platform reads them. **The whole set is replaced**: whatever is absent from the request is removed, and an empty object clears them all. Do not put credentials here. Labels are visible to platform operators.
546
- * - `notes` is a free-text note about this instance: what it runs, and what to be careful about before touching it. **The whole note is replaced**; send an empty string to clear it. Do not put credentials here. The note is visible to platform operators.
547
- *
548
- * **`instance_type_id`** changes the instance's type **cold**: the instance has to be stopped, and is refused with 409 `INSTANCE_RESIZE_REQUIRES_STOP` otherwise. Its operating system is not booted for the change, and it is still stopped once the change is applied; start it when you are ready. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once and stop it again. A target type that cannot hold what the instance already uses is refused before anything is ordered: fewer network interfaces than are attached with 409 `INSTANCE_RESIZE_NETWORK_INTERFACES_EXCEED`, fewer elastic IPs than are associated with 409 `INSTANCE_RESIZE_ELASTIC_IPS_EXCEED`, and less purchasable bandwidth than an associated elastic IP has with 409 `INSTANCE_BANDWIDTH_CEILING` naming it in `meta.elastic_ip_id`. The request returns 202 with the instance and the Checkout Session for the change, including for metered terms. The instance keeps its usage type and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. The resize starts once Billing accepts the order. Do not submit the change again after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
549
- *
550
- * The instance is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. It keeps its current type until the resize is applied; the new type takes effect, and is billed from then on, when `instance_type_id` shows it. If checkout is not completed, the order is not accepted or the resize fails, the instance keeps its current type and Billing shows the outcome. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
560
+ * - `description` is a free-text note about this instance: what it runs, and what to be careful about before touching it. **The whole note is replaced**; send an empty string to clear it. Do not put credentials here. The note is visible to platform operators.
551
561
  * @summary Update an instance
552
562
  */
553
563
  export declare const updateInstancePathInstanceIdMin = 30;
@@ -560,16 +570,6 @@ export declare const UpdateInstanceBody: zod.ZodObject<{
560
570
  name: zod.ZodOptional<zod.ZodString>;
561
571
  labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
562
572
  description: zod.ZodOptional<zod.ZodString>;
563
- instance_type_id: zod.ZodOptional<zod.ZodString>;
564
- proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
565
- checkout: zod.ZodOptional<zod.ZodObject<{
566
- mode: zod.ZodDefault<zod.ZodEnum<{
567
- automatic: "automatic";
568
- deferred: "deferred";
569
- }>>;
570
- expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
571
- return_url: zod.ZodOptional<zod.ZodURL>;
572
- }, zod.z.core.$strict>>;
573
573
  }, zod.z.core.$strict>;
574
574
  /**
575
575
  * The boot volume is deleted with the instance, and **snapshots created from the boot volume are deleted with it**. Data volumes are detached and kept, and their snapshots and backups are unaffected. The primary network interface is released with the instance.
@@ -578,7 +578,7 @@ export declare const UpdateInstanceBody: zod.ZodObject<{
578
578
  *
579
579
  * Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
580
580
  *
581
- * While subscriptions pay for the instance (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the instance working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
581
+ * While subscription items pay for the instance (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the instance working until `scheduled_at` and releases it then. Volumes and elastic IPs kept after the release keep their items, and the subscription continues with them. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
582
582
  * @summary Release an instance
583
583
  */
584
584
  export declare const deleteInstancePathInstanceIdMin = 30;
@@ -593,6 +593,31 @@ export declare const DeleteInstanceQueryParams: zod.ZodObject<{
593
593
  period_end: "period_end";
594
594
  }>>;
595
595
  }, zod.z.core.$strict>;
596
+ /**
597
+ * Changes the instance's type **cold**, through a change of its subscription item purchased in Billing: the instance has to be stopped, and is refused with 409 `INSTANCE_RESIZE_REQUIRES_STOP` otherwise. Its operating system is not booted for the change, and it is still stopped once the change is applied; start it when you are ready. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once and stop it again. A target type that cannot hold what the instance already uses is refused before anything is ordered: fewer network interfaces than are attached with 409 `INSTANCE_RESIZE_NETWORK_INTERFACES_EXCEED`, fewer elastic IPs than are associated with 409 `INSTANCE_RESIZE_ELASTIC_IPS_EXCEED`, and less purchasable bandwidth than an associated elastic IP has with 409 `INSTANCE_BANDWIDTH_CEILING` naming it in `meta.elastic_ip_id`. The request returns 202 with the instance and the Checkout Session for the change, including for metered terms. The instance keeps its usage type and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. The resize starts once Billing accepts the order. Do not submit the change again after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
598
+ *
599
+ * The instance is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. It keeps its current type until the resize is applied; the new type takes effect, and is billed from then on, when `instance_type_id` shows it. If checkout is not completed, the order is not accepted or the resize fails, the instance keeps its current type and Billing shows the outcome. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
600
+ * @summary Resize an instance
601
+ */
602
+ export declare const resizeInstancePathInstanceIdMin = 30;
603
+ export declare const resizeInstancePathInstanceIdMax = 30;
604
+ export declare const resizeInstancePathInstanceIdRegExp: RegExp;
605
+ export declare const ResizeInstanceParams: zod.ZodObject<{
606
+ instanceId: zod.ZodString;
607
+ }, zod.z.core.$strict>;
608
+ export declare const ResizeInstanceBody: zod.ZodObject<{
609
+ instance_type_id: zod.ZodString;
610
+ proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
611
+ checkout: zod.ZodOptional<zod.ZodObject<{
612
+ mode: zod.ZodDefault<zod.ZodEnum<{
613
+ automatic: "automatic";
614
+ deferred: "deferred";
615
+ }>>;
616
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
617
+ return_url: zod.ZodOptional<zod.ZodURL>;
618
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
619
+ }, zod.z.core.$strict>>;
620
+ }, zod.z.core.$strict>;
596
621
  /**
597
622
  * Boots the stopped instance on the host it kept; outstanding restrictions can prevent starting. It is `starting` until it is running or the start has failed. Starting a running instance changes nothing.
598
623
  *
@@ -608,7 +633,7 @@ export declare const StartInstanceParams: zod.ZodObject<{
608
633
  /**
609
634
  * Shuts the instance down **on its host**, as Alibaba Cloud's ordinary stop does: it keeps its volumes, network interfaces, addresses and quota, and the vCPU and memory of its host stay reserved for it, so it starts again without asking for room. **A metered instance keeps being charged for compute while stopped**; its volumes and elastic IPs are charged as always. An instance stopped by a suspension, for non-payment or by the platform, is not charged for compute while the suspension lasts. It is `stopping` until it is stopped. Stopping a stopped instance changes nothing.
610
635
  *
611
- * Changing `instance_type_id` is done on a stopped instance and only then. A stopped instance can also be rebuilt and have network interfaces and volumes attached and detached; rescuing it needs it running.
636
+ * Resizing is done on a stopped instance and only then. A stopped instance can also be rebuilt and have network interfaces and volumes attached and detached; rescuing it needs it running.
612
637
  * @summary Stop an instance
613
638
  */
614
639
  export declare const stopInstancePathInstanceIdMin = 30;
@@ -648,15 +673,15 @@ export declare const RunInstanceCommandBody: zod.ZodObject<{
648
673
  timeout_seconds: zod.ZodOptional<zod.ZodInt>;
649
674
  }, zod.z.core.$strict>;
650
675
  /**
651
- * The instance's VNC console, operated from a browser through a noVNC client. It does not require the instance to be reachable over the network, which makes it usable when a network misconfiguration prevents login.
676
+ * Issues an address for the instance's VNC console, operated from a browser through a noVNC client. It does not require the instance to be reachable over the network, which makes it usable when a network misconfiguration prevents login.
652
677
  *
653
- * The returned address is single-use and expires within minutes. Every request issues a new address, so request one before each use and do not cache the response.
654
- * @summary Retrieve a VNC console
678
+ * The address is single-use and expires within minutes. Every request issues a new address, so request one before each use and do not cache the response.
679
+ * @summary Create a VNC console address
655
680
  */
656
- export declare const getInstanceConsolePathInstanceIdMin = 30;
657
- export declare const getInstanceConsolePathInstanceIdMax = 30;
658
- export declare const getInstanceConsolePathInstanceIdRegExp: RegExp;
659
- export declare const GetInstanceConsoleParams: zod.ZodObject<{
681
+ export declare const createInstanceConsoleUrlPathInstanceIdMin = 30;
682
+ export declare const createInstanceConsoleUrlPathInstanceIdMax = 30;
683
+ export declare const createInstanceConsoleUrlPathInstanceIdRegExp: RegExp;
684
+ export declare const CreateInstanceConsoleUrlParams: zod.ZodObject<{
660
685
  instanceId: zod.ZodString;
661
686
  }, zod.z.core.$strict>;
662
687
  /**
@@ -1071,10 +1096,7 @@ export declare const GetNetworkInterfaceParams: zod.ZodObject<{
1071
1096
  networkInterfaceId: zod.ZodString;
1072
1097
  }, zod.z.core.$strict>;
1073
1098
  /**
1074
- * Changes the name, or replaces the security groups. The two are never combined (422 `UPDATE_FIELDS_COMBINED`).
1075
- *
1076
- * - `name` is not an operation, is accepted at any time and answers 200.
1077
- * - `security_group_ids` is the complete new set, one to five groups of the network interface's virtual private cloud; groups left out are removed. It applies to traffic of the running instance as soon as it is in place, and answers 202 with the network interface `updating_security_groups` until then.
1099
+ * Changes the name. It is not an operation and is accepted at any time. Replacing the security groups is `:replaceSecurityGroups`.
1078
1100
  *
1079
1101
  * Secondary IPv4 addresses are added and removed under `/network-interfaces/{networkInterfaceId}/addresses`.
1080
1102
  * @summary Update a network interface
@@ -1087,7 +1109,6 @@ export declare const UpdateNetworkInterfaceParams: zod.ZodObject<{
1087
1109
  }, zod.z.core.$strict>;
1088
1110
  export declare const UpdateNetworkInterfaceBody: zod.ZodObject<{
1089
1111
  name: zod.ZodOptional<zod.ZodString>;
1090
- security_group_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1091
1112
  }, zod.z.core.$strict>;
1092
1113
  /**
1093
1114
  * The primary network interface cannot be deleted on its own, as it is released with the instance. A network interface still attached to an instance cannot be deleted either.
@@ -1099,6 +1120,19 @@ export declare const deleteNetworkInterfacePathNetworkInterfaceIdRegExp: RegExp;
1099
1120
  export declare const DeleteNetworkInterfaceParams: zod.ZodObject<{
1100
1121
  networkInterfaceId: zod.ZodString;
1101
1122
  }, zod.z.core.$strict>;
1123
+ /**
1124
+ * `security_group_ids` is the complete new set, one to five groups of the network interface's virtual private cloud; groups left out are removed. It applies to traffic of the running instance as soon as it is in place, and the network interface is `updating_security_groups` until then.
1125
+ * @summary Replace the security groups of a network interface
1126
+ */
1127
+ export declare const replaceNetworkInterfaceSecurityGroupsPathNetworkInterfaceIdMin = 30;
1128
+ export declare const replaceNetworkInterfaceSecurityGroupsPathNetworkInterfaceIdMax = 30;
1129
+ export declare const replaceNetworkInterfaceSecurityGroupsPathNetworkInterfaceIdRegExp: RegExp;
1130
+ export declare const ReplaceNetworkInterfaceSecurityGroupsParams: zod.ZodObject<{
1131
+ networkInterfaceId: zod.ZodString;
1132
+ }, zod.z.core.$strict>;
1133
+ export declare const ReplaceNetworkInterfaceSecurityGroupsBody: zod.ZodObject<{
1134
+ security_group_ids: zod.ZodArray<zod.ZodString>;
1135
+ }, zod.z.core.$strict>;
1102
1136
  /**
1103
1137
  * Adds an IPv4 address in the network interface's subnet, given or chosen by the network, and answers 202 with the network interface `adding_address` until the address is in place; it then appears among `addresses` with `role` `secondary`. An elastic IP can be associated with it like the primary address.
1104
1138
  *
@@ -1196,6 +1230,7 @@ export declare const CreatePrivateImageBody: zod.ZodObject<{
1196
1230
  }>>;
1197
1231
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
1198
1232
  return_url: zod.ZodOptional<zod.ZodURL>;
1233
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
1199
1234
  }, zod.z.core.$strict>>;
1200
1235
  }, zod.z.core.$strict>;
1201
1236
  /**
@@ -1232,7 +1267,7 @@ export declare const UpdatePrivateImageBody: zod.ZodObject<{
1232
1267
  *
1233
1268
  * A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
1234
1269
  *
1235
- * While subscriptions pay for the private image (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the private image working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
1270
+ * While subscription items pay for the private image (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the private image working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
1236
1271
  * @summary Delete a private image
1237
1272
  */
1238
1273
  export declare const deletePrivateImagePathPrivateImageIdMin = 32;
@@ -1785,6 +1820,7 @@ export declare const CreateVolumeBackupBody: zod.ZodObject<{
1785
1820
  }>>;
1786
1821
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
1787
1822
  return_url: zod.ZodOptional<zod.ZodURL>;
1823
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
1788
1824
  }, zod.z.core.$strict>>;
1789
1825
  }, zod.z.core.$strict>;
1790
1826
  /**
@@ -1817,7 +1853,7 @@ export declare const UpdateVolumeBackupBody: zod.ZodObject<{
1817
1853
  *
1818
1854
  * A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
1819
1855
  *
1820
- * While subscriptions pay for the volume backup (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the volume backup working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
1856
+ * While subscription items pay for the volume backup (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the volume backup working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
1821
1857
  * @summary Delete a volume backup
1822
1858
  */
1823
1859
  export declare const deleteVolumeBackupPathVolumeBackupIdMin = 36;
@@ -1865,6 +1901,7 @@ export declare const CreateVolumeSnapshotBody: zod.ZodObject<{
1865
1901
  }>>;
1866
1902
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
1867
1903
  return_url: zod.ZodOptional<zod.ZodURL>;
1904
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
1868
1905
  }, zod.z.core.$strict>>;
1869
1906
  }, zod.z.core.$strict>;
1870
1907
  /**
@@ -1894,7 +1931,7 @@ export declare const UpdateVolumeSnapshotBody: zod.ZodObject<{
1894
1931
  *
1895
1932
  * A resource whose purchase still awaits checkout or payment is refused with `COMPUTE_PURCHASE_PENDING`; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead. A subscribed resource is released through its subscription cancellation. Cleanup must be confirmed before metering is stopped; unknown cleanup is not proof of release.
1896
1933
  *
1897
- * While subscriptions pay for the snapshot (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the snapshot working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
1934
+ * While subscription items pay for the snapshot (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the snapshot working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
1898
1935
  * @summary Delete a snapshot
1899
1936
  */
1900
1937
  export declare const deleteVolumeSnapshotPathVolumeSnapshotIdMin = 38;
@@ -1971,7 +2008,9 @@ export declare const ListVolumesQueryParams: zod.ZodObject<{
1971
2008
  *
1972
2009
  * A volume type that is off sale is rejected with `VOLUME_TYPE_OFF_SALE`, even though its identifier still resolves. Types that are off sale do not appear in the volume type listing; volumes already bought on one keep working and can still be resized.
1973
2010
  *
1974
- * A volume bought on its own is licensed: `billing.usage_type` `metered` is refused with `VOLUME_USAGE_TYPE_UNAVAILABLE`. A volume created with an instance follows the machine's terms instead and may be metered.
2011
+ * A volume bought on its own is licensed, with a Billing subscription of its own: `billing.usage_type` `metered` is refused with `VOLUME_USAGE_TYPE_UNAVAILABLE`. A volume created with an instance follows the machine's terms instead and may be metered.
2012
+ *
2013
+ * **Buying for an instance.** With `instance_id`, the volume is attached to that instance of the project once created, and becomes an item of the instance's Billing subscription: it is charged up to the instance's term end, the rest of the current period in proportion to the time left, and from then on renews, renews automatically and expires with the instance. Its volume type has to be of the instance's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`). `billing` may be omitted to take the instance's terms; given, its usage type and period must be the instance's (422 `VOLUME_BILLING_TERMS_MISMATCH`), while its termination policy may differ. An instance with no room for another volume is refused before anything is ordered, as attaching would be.
1975
2014
  *
1976
2015
  * The volume is `pending` from the moment its Checkout Session is created until it is delivered or its checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its deletion with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
1977
2016
  * @summary Create a volume
@@ -1982,7 +2021,7 @@ export declare const CreateVolumeBody: zod.ZodObject<{
1982
2021
  size_gib: zod.ZodOptional<zod.ZodInt>;
1983
2022
  volume_snapshot_id: zod.ZodOptional<zod.ZodString>;
1984
2023
  volume_backup_id: zod.ZodOptional<zod.ZodString>;
1985
- billing: zod.ZodObject<{
2024
+ billing: zod.ZodOptional<zod.ZodObject<{
1986
2025
  usage_type: zod.ZodEnum<{
1987
2026
  licensed: "licensed";
1988
2027
  metered: "metered";
@@ -1998,7 +2037,7 @@ export declare const CreateVolumeBody: zod.ZodObject<{
1998
2037
  immediate: "immediate";
1999
2038
  period_end: "period_end";
2000
2039
  }>>;
2001
- }, zod.z.core.$strict>;
2040
+ }, zod.z.core.$strict>>;
2002
2041
  checkout: zod.ZodOptional<zod.ZodObject<{
2003
2042
  mode: zod.ZodDefault<zod.ZodEnum<{
2004
2043
  automatic: "automatic";
@@ -2006,7 +2045,9 @@ export declare const CreateVolumeBody: zod.ZodObject<{
2006
2045
  }>>;
2007
2046
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
2008
2047
  return_url: zod.ZodOptional<zod.ZodURL>;
2048
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
2009
2049
  }, zod.z.core.$strict>>;
2050
+ instance_id: zod.ZodOptional<zod.ZodString>;
2010
2051
  }, zod.z.core.$strict>;
2011
2052
  /**
2012
2053
  * Returns the stored state of the volume; it does not query the cloud.
@@ -2019,17 +2060,7 @@ export declare const GetVolumeParams: zod.ZodObject<{
2019
2060
  volumeId: zod.ZodString;
2020
2061
  }, zod.z.core.$strict>;
2021
2062
  /**
2022
- * Changes the name, the capacity or the volume type. The availability zone is immutable.
2023
- *
2024
- * `size_gib` and `volume_type_id` are operational fields: each starts a change and cannot be combined with any other field in the same request, including the other one. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied. `checkout` and `proration_date` belong to the purchase of the change and are accepted only together with one of them.
2025
- *
2026
- * **Renaming** is not an operation and is accepted at any time. It returns 200 with `checkout_session_id` and `order_id` null.
2027
- *
2028
- * **Resizing** accepts only an increase; a smaller `size_gib` is refused with `VOLUME_CANNOT_SHRINK` (422), since a file system cannot be shrunk from outside the instance. It returns 202 with the volume and the Checkout Session for the resize, which keeps the volume's usage type and period. The volume is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The volume keeps its current size until the resize is applied; once `size_gib` shows the new size, extend the file system inside the instance. If checkout is not completed, the order is not accepted or the resize fails, the volume keeps its size and Billing shows the outcome.
2029
- *
2030
- * **Changing the type** moves the volume to another volume type at the same capacity, priced as that type, and returns 202 with the volume and the Checkout Session for the change, which keeps the volume's usage type and period. The volume has to be detached (409 `VOLUME_RETYPE_ATTACHED`), so a boot volume cannot change its type. The target has to be on sale (`VOLUME_TYPE_OFF_SALE`), in the volume's region (422 `VOLUME_RETYPE_OTHER_REGION`), of the volume's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`) with room for the volume (409 `VOLUME_TYPE_SOLD_OUT`, `VOLUME_TYPE_CAPACITY_REACHED`, `VOLUME_TYPE_NO_POOL_ROOM`), admit the volume's capacity (422 `VOLUME_SIZE_OUT_OF_RANGE`, `VOLUME_SIZE_NOT_ON_STEP`) and differ from the current one (422 `VOLUME_RETYPE_SAME_TYPE`). The volume is `retyping` until the change is applied, its Checkout Session expires or its order is canceled. A target on the same storage backend takes effect at once; one on another backend copies the volume's data there first, which takes longer the larger the volume is. The volume keeps its type until `volume_type_id` shows the new one, and its `performance` follows from then on; a change that did not take effect leaves the volume as it was and is refunded.
2031
- *
2032
- * An attached volume, including a boot volume, can be resized. The capacity is usable at once, and the volume's `performance` shows what its type gives the new size. **That performance applies from the volume's next attachment, or the next start of its stopped instance**: the storage reads a volume's limits only while connecting it. Until then the attachment's `performance` shows what is in effect.
2063
+ * Changes the name. It is not an operation and is accepted at any time. Growing the volume is `:resize` and moving it to another type is `:retype`.
2033
2064
  * @summary Update a volume
2034
2065
  */
2035
2066
  export declare const updateVolumePathVolumeIdMin = 30;
@@ -2040,24 +2071,13 @@ export declare const UpdateVolumeParams: zod.ZodObject<{
2040
2071
  }, zod.z.core.$strict>;
2041
2072
  export declare const UpdateVolumeBody: zod.ZodObject<{
2042
2073
  name: zod.ZodOptional<zod.ZodString>;
2043
- size_gib: zod.ZodOptional<zod.ZodInt>;
2044
- volume_type_id: zod.ZodOptional<zod.ZodString>;
2045
- proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
2046
- checkout: zod.ZodOptional<zod.ZodObject<{
2047
- mode: zod.ZodDefault<zod.ZodEnum<{
2048
- automatic: "automatic";
2049
- deferred: "deferred";
2050
- }>>;
2051
- expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
2052
- return_url: zod.ZodOptional<zod.ZodURL>;
2053
- }, zod.z.core.$strict>>;
2054
2074
  }, zod.z.core.$strict>;
2055
2075
  /**
2056
2076
  * Deletion is rejected while the volume is attached, or while snapshots created from it still exist.
2057
2077
  *
2058
2078
  * Refused with `COMPUTE_PURCHASE_PENDING` while the purchase that created it still awaits checkout or payment; `meta.checkout_session_id` names its Checkout Session and `meta.order_id` its order once checkout created one. Expire the session or cancel the order in Billing instead.
2059
2079
  *
2060
- * While subscriptions pay for the volume (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed subscription being refunded under its terms, and `period_end` keeps the volume working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
2080
+ * While subscription items pay for the volume (those in its `release_set`), deleting it cancels them rather than being refused: Compute creates one Billing cancellation for the whole set and answers with it in `cancellation`. `cancellation_mode` chooses when: `immediate` cancels the set now, a licensed item being refunded under its terms, and `period_end` keeps the volume working until `scheduled_at` and releases it then. Asking again while that cancellation is pending answers with it again, whatever mode is asked for.
2061
2081
  * @summary Delete a volume
2062
2082
  */
2063
2083
  export declare const deleteVolumePathVolumeIdMin = 30;
@@ -2072,6 +2092,54 @@ export declare const DeleteVolumeQueryParams: zod.ZodObject<{
2072
2092
  period_end: "period_end";
2073
2093
  }>>;
2074
2094
  }, zod.z.core.$strict>;
2095
+ /**
2096
+ * Grows the volume through a change of its subscription item purchased in Billing. Only an increase is accepted; a smaller `size_gib` is refused with `VOLUME_CANNOT_SHRINK` (422), since a file system cannot be shrunk from outside the instance. It returns 202 with the volume and the Checkout Session for the resize, which keeps the volume's usage type and period. The volume is `resizing` until the resize is applied, its Checkout Session expires or its order is canceled, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The volume keeps its current size until the resize is applied; once `size_gib` shows the new size, extend the file system inside the instance. If checkout is not completed, the order is not accepted or the resize fails, the volume keeps its size and Billing shows the outcome.
2097
+ *
2098
+ * An attached volume, including a boot volume, can be resized. The capacity is usable at once, and the volume's `performance` shows what its type gives the new size. **That performance applies from the volume's next attachment, or the next start of its stopped instance**: the storage reads a volume's limits only while connecting it. Until then the attachment's `performance` shows what is in effect.
2099
+ * @summary Resize a volume
2100
+ */
2101
+ export declare const resizeVolumePathVolumeIdMin = 30;
2102
+ export declare const resizeVolumePathVolumeIdMax = 30;
2103
+ export declare const resizeVolumePathVolumeIdRegExp: RegExp;
2104
+ export declare const ResizeVolumeParams: zod.ZodObject<{
2105
+ volumeId: zod.ZodString;
2106
+ }, zod.z.core.$strict>;
2107
+ export declare const ResizeVolumeBody: zod.ZodObject<{
2108
+ size_gib: zod.ZodInt;
2109
+ proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
2110
+ checkout: zod.ZodOptional<zod.ZodObject<{
2111
+ mode: zod.ZodDefault<zod.ZodEnum<{
2112
+ automatic: "automatic";
2113
+ deferred: "deferred";
2114
+ }>>;
2115
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
2116
+ return_url: zod.ZodOptional<zod.ZodURL>;
2117
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
2118
+ }, zod.z.core.$strict>>;
2119
+ }, zod.z.core.$strict>;
2120
+ /**
2121
+ * Moves the volume to another volume type at the same capacity, priced as that type, through a change of its subscription item purchased in Billing, and returns 202 with the volume and the Checkout Session for the change, which keeps the volume's usage type and period. The volume has to be detached (409 `VOLUME_RETYPE_ATTACHED`), so a boot volume cannot change its type. The target has to be on sale (`VOLUME_TYPE_OFF_SALE`), in the volume's region (422 `VOLUME_RETYPE_OTHER_REGION`), of the volume's availability zone (422 `VOLUME_TYPE_OTHER_AVAILABILITY_ZONE`) with room for the volume (409 `VOLUME_TYPE_SOLD_OUT`, `VOLUME_TYPE_CAPACITY_REACHED`, `VOLUME_TYPE_NO_POOL_ROOM`), admit the volume's capacity (422 `VOLUME_SIZE_OUT_OF_RANGE`, `VOLUME_SIZE_NOT_ON_STEP`) and differ from the current one (422 `VOLUME_RETYPE_SAME_TYPE`). The volume is `retyping` until the change is applied, its Checkout Session expires or its order is canceled. A target on the same storage backend takes effect at once; one on another backend copies the volume's data there first, which takes longer the larger the volume is. The volume keeps its type until `volume_type_id` shows the new one, and its `performance` follows from then on; a change that did not take effect leaves the volume as it was and is refunded.
2122
+ * @summary Change the type of a volume
2123
+ */
2124
+ export declare const retypeVolumePathVolumeIdMin = 30;
2125
+ export declare const retypeVolumePathVolumeIdMax = 30;
2126
+ export declare const retypeVolumePathVolumeIdRegExp: RegExp;
2127
+ export declare const RetypeVolumeParams: zod.ZodObject<{
2128
+ volumeId: zod.ZodString;
2129
+ }, zod.z.core.$strict>;
2130
+ export declare const RetypeVolumeBody: zod.ZodObject<{
2131
+ volume_type_id: zod.ZodString;
2132
+ proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
2133
+ checkout: zod.ZodOptional<zod.ZodObject<{
2134
+ mode: zod.ZodDefault<zod.ZodEnum<{
2135
+ automatic: "automatic";
2136
+ deferred: "deferred";
2137
+ }>>;
2138
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
2139
+ return_url: zod.ZodOptional<zod.ZodURL>;
2140
+ auto_renew: zod.ZodDefault<zod.ZodBoolean>;
2141
+ }, zod.z.core.$strict>>;
2142
+ }, zod.z.core.$strict>;
2075
2143
  /**
2076
2144
  * Restores the contents of the volume to the moment the snapshot was taken. **All data written after that moment is lost and cannot be recovered.**
2077
2145
  *