@leaflow/sdk 0.169.0 → 0.171.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (837) hide show
  1. package/dist/compute/v2/generated/functions.d.ts +2819 -0
  2. package/dist/compute/v2/generated/functions.js +3040 -0
  3. package/dist/compute/v2/generated/models.d.ts +3548 -0
  4. package/dist/compute/v2/generated/models.js +438 -0
  5. package/dist/compute/v2/generated/schemas.zod.d.ts +2088 -0
  6. package/dist/compute/v2/generated/schemas.zod.js +2532 -0
  7. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +42 -0
  8. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +40 -0
  9. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
  10. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
  11. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
  12. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
  13. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +41 -0
  14. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +44 -0
  15. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
  16. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
  17. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
  18. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
  19. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
  20. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
  21. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
  22. package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
  23. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
  24. package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
  25. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
  26. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
  27. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
  28. package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
  29. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
  30. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
  31. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
  32. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
  33. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
  34. package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
  35. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
  36. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
  37. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
  38. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
  39. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +48 -0
  40. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +53 -0
  41. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
  42. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
  43. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +72 -0
  44. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +53 -0
  45. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +138 -0
  46. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +48 -0
  47. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +196 -0
  48. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +81 -0
  49. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +160 -0
  50. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
  51. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +79 -0
  52. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
  53. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +87 -0
  54. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
  55. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
  56. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
  57. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
  58. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
  59. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +50 -0
  60. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
  61. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +120 -0
  62. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
  63. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
  64. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
  65. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
  66. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
  67. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
  68. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
  69. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
  70. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
  71. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
  72. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
  73. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
  74. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
  75. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +50 -0
  76. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
  77. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +112 -0
  78. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
  79. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +70 -0
  80. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +54 -0
  81. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +149 -0
  82. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
  83. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +50 -0
  84. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
  85. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +111 -0
  86. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
  87. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
  88. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
  89. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +144 -0
  90. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +45 -0
  91. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
  92. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
  93. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
  94. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
  95. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +164 -0
  96. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
  97. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
  98. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
  99. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +126 -0
  100. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
  101. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
  102. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
  103. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +118 -0
  104. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
  105. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
  106. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
  107. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +155 -0
  108. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
  109. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
  110. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
  111. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +117 -0
  112. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
  113. package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +134 -0
  114. package/dist/compute/v2/generated/validators/elasticIP.zod.js +115 -0
  115. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +51 -0
  116. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +50 -0
  117. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +41 -0
  118. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +44 -0
  119. package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +41 -0
  120. package/dist/compute/v2/generated/validators/elasticIPID.zod.js +44 -0
  121. package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +112 -0
  122. package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +65 -0
  123. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +41 -0
  124. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +44 -0
  125. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +116 -0
  126. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +41 -0
  127. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +141 -0
  128. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +41 -0
  129. package/dist/compute/v2/generated/validators/elasticIPOperation.zod.d.ts +50 -0
  130. package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +50 -0
  131. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +44 -0
  132. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +43 -0
  133. package/dist/compute/v2/generated/validators/error.zod.d.ts +43 -0
  134. package/dist/compute/v2/generated/validators/error.zod.js +44 -0
  135. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
  136. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
  137. package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +43 -0
  138. package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +40 -0
  139. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
  140. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
  141. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
  142. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
  143. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
  144. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
  145. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
  146. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
  147. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +41 -0
  148. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +43 -0
  149. package/dist/compute/v2/generated/validators/imageID.zod.d.ts +41 -0
  150. package/dist/compute/v2/generated/validators/imageID.zod.js +44 -0
  151. package/dist/compute/v2/generated/validators/instance.zod.d.ts +157 -0
  152. package/dist/compute/v2/generated/validators/instance.zod.js +149 -0
  153. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
  154. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
  155. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +70 -0
  156. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +40 -0
  157. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
  158. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
  159. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
  160. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
  161. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +41 -0
  162. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +44 -0
  163. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
  164. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
  165. package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +41 -0
  166. package/dist/compute/v2/generated/validators/instanceID.zod.js +44 -0
  167. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +161 -0
  168. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
  169. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +41 -0
  170. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +44 -0
  171. package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +61 -0
  172. package/dist/compute/v2/generated/validators/instanceOperation.zod.js +63 -0
  173. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
  174. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
  175. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
  176. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
  177. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
  178. package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
  179. package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +41 -0
  180. package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +44 -0
  181. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
  182. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
  183. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +41 -0
  184. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +44 -0
  185. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
  186. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
  187. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
  188. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
  189. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
  190. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
  191. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
  192. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
  193. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +46 -0
  194. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +45 -0
  195. package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +41 -0
  196. package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +44 -0
  197. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
  198. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
  199. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
  200. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
  201. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
  202. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
  203. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +75 -0
  204. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +57 -0
  205. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +82 -0
  206. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
  207. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
  208. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
  209. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
  210. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
  211. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
  212. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
  213. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
  214. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
  215. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
  216. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
  217. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
  218. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
  219. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
  220. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
  221. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
  222. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
  223. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
  224. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
  225. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
  226. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
  227. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
  228. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
  229. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
  230. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
  231. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
  232. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
  233. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
  234. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
  235. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
  236. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
  237. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
  238. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
  239. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
  240. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
  241. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
  242. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
  243. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
  244. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
  245. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
  246. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
  247. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
  248. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
  249. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
  250. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
  251. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
  252. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
  253. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
  254. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
  255. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
  256. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
  257. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
  258. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
  259. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
  260. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
  261. package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
  262. package/dist/compute/v2/generated/validators/money.zod.js +38 -0
  263. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +100 -0
  264. package/dist/compute/v2/generated/validators/networkInterface.zod.js +62 -0
  265. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
  266. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
  267. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
  268. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
  269. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +41 -0
  270. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +44 -0
  271. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
  272. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
  273. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
  274. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
  275. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +41 -0
  276. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +44 -0
  277. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +107 -0
  278. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
  279. package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +50 -0
  280. package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +52 -0
  281. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
  282. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
  283. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
  284. package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
  285. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
  286. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
  287. package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +66 -0
  288. package/dist/compute/v2/generated/validators/newElasticIP.zod.js +52 -0
  289. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +76 -0
  290. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +62 -0
  291. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
  292. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
  293. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
  294. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
  295. package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +41 -0
  296. package/dist/compute/v2/generated/validators/operationLogID.zod.js +44 -0
  297. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
  298. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
  299. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
  300. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
  301. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
  302. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
  303. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
  304. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
  305. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
  306. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
  307. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +123 -0
  308. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
  309. package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +46 -0
  310. package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +43 -0
  311. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
  312. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
  313. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +117 -0
  314. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +110 -0
  315. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
  316. package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
  317. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
  318. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
  319. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +61 -0
  320. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
  321. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +55 -0
  322. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +65 -0
  323. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
  324. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
  325. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
  326. package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
  327. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
  328. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
  329. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +50 -0
  330. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +41 -0
  331. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +157 -0
  332. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
  333. package/dist/compute/v2/generated/validators/regionID.zod.d.ts +41 -0
  334. package/dist/compute/v2/generated/validators/regionID.zod.js +44 -0
  335. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
  336. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
  337. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
  338. package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
  339. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +75 -0
  340. package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
  341. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
  342. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +42 -0
  343. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +42 -0
  344. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +44 -0
  345. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +157 -0
  346. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
  347. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
  348. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
  349. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
  350. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
  351. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
  352. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
  353. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
  354. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
  355. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
  356. package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
  357. package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +41 -0
  358. package/dist/compute/v2/generated/validators/securityGroupID.zod.js +44 -0
  359. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +39 -0
  360. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +40 -0
  361. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
  362. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
  363. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
  364. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
  365. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
  366. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
  367. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +41 -0
  368. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +44 -0
  369. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
  370. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
  371. package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +41 -0
  372. package/dist/compute/v2/generated/validators/subnetID.zod.js +44 -0
  373. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
  374. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
  375. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
  376. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
  377. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
  378. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
  379. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
  380. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
  381. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +53 -0
  382. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +48 -0
  383. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +138 -0
  384. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +49 -0
  385. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +55 -0
  386. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +60 -0
  387. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +158 -0
  388. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +49 -0
  389. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
  390. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
  391. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +43 -0
  392. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +49 -0
  393. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
  394. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
  395. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
  396. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
  397. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
  398. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
  399. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
  400. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
  401. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
  402. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
  403. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +52 -0
  404. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +54 -0
  405. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +149 -0
  406. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +49 -0
  407. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
  408. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
  409. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +60 -0
  410. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +56 -0
  411. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +41 -0
  412. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +44 -0
  413. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +39 -0
  414. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +40 -0
  415. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +67 -0
  416. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
  417. package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.d.ts +46 -0
  418. package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +41 -0
  419. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +41 -0
  420. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +44 -0
  421. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +73 -0
  422. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
  423. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +44 -0
  424. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +43 -0
  425. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +66 -0
  426. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +62 -0
  427. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +41 -0
  428. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +44 -0
  429. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
  430. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
  431. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
  432. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
  433. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
  434. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
  435. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
  436. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
  437. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
  438. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
  439. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
  440. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
  441. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
  442. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
  443. package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +41 -0
  444. package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +44 -0
  445. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +115 -0
  446. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
  447. package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.d.ts +45 -0
  448. package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +43 -0
  449. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
  450. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
  451. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +108 -0
  452. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +90 -0
  453. package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +41 -0
  454. package/dist/compute/v2/generated/validators/volumeID.zod.js +44 -0
  455. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +152 -0
  456. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
  457. package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +51 -0
  458. package/dist/compute/v2/generated/validators/volumeOperation.zod.js +53 -0
  459. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
  460. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
  461. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
  462. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
  463. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +145 -0
  464. package/dist/compute/v2/generated/validators/volumeResource.zod.js +93 -0
  465. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +41 -0
  466. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +44 -0
  467. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +114 -0
  468. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
  469. package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.d.ts +45 -0
  470. package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +43 -0
  471. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +45 -0
  472. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
  473. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +107 -0
  474. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +87 -0
  475. package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +41 -0
  476. package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +44 -0
  477. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
  478. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
  479. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
  480. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
  481. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
  482. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
  483. package/dist/index.d.ts +1 -1
  484. package/dist/index.js +1 -1
  485. package/dist/routes.d.ts +362 -236
  486. package/dist/routes.js +376 -236
  487. package/package.json +1 -1
  488. package/dist/compute/v1/generated/functions.d.ts +0 -2481
  489. package/dist/compute/v1/generated/functions.js +0 -2736
  490. package/dist/compute/v1/generated/models.d.ts +0 -2813
  491. package/dist/compute/v1/generated/models.js +0 -363
  492. package/dist/compute/v1/generated/schemas.zod.d.ts +0 -1501
  493. package/dist/compute/v1/generated/schemas.zod.js +0 -1390
  494. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +0 -59
  495. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +0 -44
  496. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +0 -99
  497. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +0 -37
  498. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +0 -29
  499. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +0 -27
  500. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +0 -29
  501. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +0 -27
  502. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +0 -29
  503. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +0 -27
  504. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +0 -44
  505. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +0 -58
  506. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +0 -51
  507. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +0 -30
  508. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +0 -61
  509. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +0 -30
  510. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +0 -34
  511. package/dist/compute/v1/generated/validators/backupOperation.zod.js +0 -32
  512. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +0 -54
  513. package/dist/compute/v1/generated/validators/backupResource.zod.js +0 -53
  514. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +0 -46
  515. package/dist/compute/v1/generated/validators/backupService.zod.js +0 -68
  516. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +0 -43
  517. package/dist/compute/v1/generated/validators/billingChoice.zod.js +0 -35
  518. package/dist/compute/v1/generated/validators/billingComponent.zod.d.ts +0 -54
  519. package/dist/compute/v1/generated/validators/billingComponent.zod.js +0 -43
  520. package/dist/compute/v1/generated/validators/billingMeter.zod.d.ts +0 -36
  521. package/dist/compute/v1/generated/validators/billingMeter.zod.js +0 -34
  522. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +0 -34
  523. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +0 -29
  524. package/dist/compute/v1/generated/validators/billingQuantity.zod.d.ts +0 -32
  525. package/dist/compute/v1/generated/validators/billingQuantity.zod.js +0 -27
  526. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +0 -29
  527. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +0 -27
  528. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +0 -58
  529. package/dist/compute/v1/generated/validators/bootDisk.zod.js +0 -29
  530. package/dist/compute/v1/generated/validators/cancellationMode.zod.d.ts +0 -30
  531. package/dist/compute/v1/generated/validators/cancellationMode.zod.js +0 -27
  532. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +0 -30
  533. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +0 -27
  534. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +0 -37
  535. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +0 -42
  536. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +0 -33
  537. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +0 -38
  538. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +0 -29
  539. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +0 -29
  540. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +0 -29
  541. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +0 -29
  542. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +0 -54
  543. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +0 -31
  544. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +0 -48
  545. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +0 -35
  546. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +0 -31
  547. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +0 -29
  548. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +0 -36
  549. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +0 -28
  550. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +0 -48
  551. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +0 -35
  552. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +0 -59
  553. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +0 -42
  554. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +0 -109
  555. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +0 -37
  556. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +0 -56
  557. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +0 -35
  558. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +0 -94
  559. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +0 -37
  560. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +0 -33
  561. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +0 -31
  562. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +0 -34
  563. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +0 -40
  564. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +0 -33
  565. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +0 -35
  566. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +0 -34
  567. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +0 -40
  568. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +0 -33
  569. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +0 -31
  570. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +0 -44
  571. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +0 -50
  572. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +0 -31
  573. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +0 -31
  574. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +0 -32
  575. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +0 -34
  576. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +0 -30
  577. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +0 -30
  578. package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.d.ts +0 -32
  579. package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.js +0 -30
  580. package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.d.ts +0 -32
  581. package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.js +0 -30
  582. package/dist/compute/v1/generated/validators/deleteDiskParams.zod.d.ts +0 -32
  583. package/dist/compute/v1/generated/validators/deleteDiskParams.zod.js +0 -30
  584. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +0 -121
  585. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.js +0 -32
  586. package/dist/compute/v1/generated/validators/deleteImageParams.zod.d.ts +0 -32
  587. package/dist/compute/v1/generated/validators/deleteImageParams.zod.js +0 -30
  588. package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.d.ts +0 -106
  589. package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.js +0 -32
  590. package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.d.ts +0 -32
  591. package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.js +0 -30
  592. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +0 -135
  593. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.js +0 -32
  594. package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.d.ts +0 -32
  595. package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.js +0 -30
  596. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +0 -46
  597. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +0 -36
  598. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +0 -53
  599. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +0 -30
  600. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +0 -112
  601. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +0 -30
  602. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +0 -39
  603. package/dist/compute/v1/generated/validators/diskOperation.zod.js +0 -32
  604. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +0 -105
  605. package/dist/compute/v1/generated/validators/diskResource.zod.js +0 -100
  606. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +0 -83
  607. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +0 -30
  608. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +0 -30
  609. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +0 -27
  610. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +0 -76
  611. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +0 -54
  612. package/dist/compute/v1/generated/validators/error.zod.d.ts +0 -32
  613. package/dist/compute/v1/generated/validators/error.zod.js +0 -33
  614. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +0 -34
  615. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +0 -36
  616. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -102
  617. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +0 -30
  618. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +0 -38
  619. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +0 -30
  620. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -95
  621. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -93
  622. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +0 -32
  623. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +0 -35
  624. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +0 -41
  625. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +0 -35
  626. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +0 -66
  627. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +0 -30
  628. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +0 -59
  629. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +0 -31
  630. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +0 -35
  631. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +0 -31
  632. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +0 -97
  633. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +0 -30
  634. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +0 -35
  635. package/dist/compute/v1/generated/validators/imageOperation.zod.js +0 -32
  636. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +0 -91
  637. package/dist/compute/v1/generated/validators/imageResource.zod.js +0 -117
  638. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +0 -30
  639. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +0 -27
  640. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +0 -126
  641. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +0 -30
  642. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +0 -47
  643. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +0 -49
  644. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +0 -122
  645. package/dist/compute/v1/generated/validators/instanceResource.zod.js +0 -130
  646. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +0 -39
  647. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +0 -35
  648. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +0 -74
  649. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +0 -30
  650. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +0 -67
  651. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +0 -47
  652. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +0 -121
  653. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +0 -71
  654. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +0 -125
  655. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +0 -46
  656. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +0 -34
  657. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +0 -40
  658. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +0 -34
  659. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +0 -40
  660. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +0 -35
  661. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +0 -37
  662. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +0 -39
  663. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +0 -39
  664. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +0 -36
  665. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +0 -38
  666. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +0 -34
  667. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +0 -40
  668. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +0 -39
  669. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +0 -39
  670. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +0 -34
  671. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +0 -40
  672. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +0 -34
  673. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +0 -40
  674. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +0 -35
  675. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +0 -41
  676. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +0 -36
  677. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +0 -42
  678. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +0 -35
  679. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +0 -37
  680. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +0 -36
  681. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +0 -46
  682. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +0 -34
  683. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +0 -36
  684. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +0 -34
  685. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +0 -36
  686. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +0 -35
  687. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +0 -41
  688. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +0 -34
  689. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +0 -36
  690. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +0 -34
  691. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +0 -36
  692. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +0 -34
  693. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +0 -40
  694. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +0 -36
  695. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +0 -45
  696. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +0 -35
  697. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +0 -37
  698. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +0 -34
  699. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +0 -36
  700. package/dist/compute/v1/generated/validators/money.zod.d.ts +0 -27
  701. package/dist/compute/v1/generated/validators/money.zod.js +0 -27
  702. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +0 -54
  703. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +0 -42
  704. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +0 -47
  705. package/dist/compute/v1/generated/validators/newCompute.zod.js +0 -35
  706. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +0 -48
  707. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +0 -33
  708. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +0 -29
  709. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +0 -29
  710. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +0 -32
  711. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +0 -32
  712. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +0 -47
  713. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +0 -30
  714. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +0 -40
  715. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +0 -48
  716. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +0 -59
  717. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +0 -30
  718. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +0 -33
  719. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +0 -32
  720. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +0 -52
  721. package/dist/compute/v1/generated/validators/peeringResource.zod.js +0 -47
  722. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +0 -41
  723. package/dist/compute/v1/generated/validators/portAddress.zod.js +0 -34
  724. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +0 -45
  725. package/dist/compute/v1/generated/validators/portAttachment.zod.js +0 -35
  726. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +0 -52
  727. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +0 -30
  728. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +0 -91
  729. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +0 -30
  730. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +0 -35
  731. package/dist/compute/v1/generated/validators/portOperation.zod.js +0 -30
  732. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +0 -84
  733. package/dist/compute/v1/generated/validators/portResource.zod.js +0 -47
  734. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +0 -29
  735. package/dist/compute/v1/generated/validators/powerRequest.zod.js +0 -27
  736. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +0 -41
  737. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +0 -30
  738. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +0 -34
  739. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +0 -32
  740. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +0 -29
  741. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +0 -30
  742. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +0 -33
  743. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +0 -34
  744. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +0 -122
  745. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +0 -29
  746. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +0 -151
  747. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +0 -30
  748. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +0 -144
  749. package/dist/compute/v1/generated/validators/regionResource.zod.js +0 -45
  750. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +0 -111
  751. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +0 -32
  752. package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.d.ts +0 -32
  753. package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.js +0 -30
  754. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +0 -39
  755. package/dist/compute/v1/generated/validators/releaseResource.zod.js +0 -43
  756. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +0 -42
  757. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +0 -31
  758. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +0 -30
  759. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +0 -28
  760. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +0 -30
  761. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +0 -28
  762. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +0 -30
  763. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +0 -28
  764. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +0 -30
  765. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +0 -28
  766. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +0 -30
  767. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +0 -28
  768. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +0 -30
  769. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +0 -28
  770. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +0 -30
  771. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +0 -28
  772. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +0 -31
  773. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +0 -36
  774. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +0 -29
  775. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +0 -29
  776. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +0 -38
  777. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +0 -33
  778. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +0 -109
  779. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +0 -37
  780. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +0 -39
  781. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +0 -37
  782. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +0 -123
  783. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +0 -37
  784. package/dist/compute/v1/generated/validators/resourceCancellation.zod.d.ts +0 -40
  785. package/dist/compute/v1/generated/validators/resourceCancellation.zod.js +0 -39
  786. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +0 -59
  787. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +0 -43
  788. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +0 -29
  789. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +0 -27
  790. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +0 -41
  791. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +0 -30
  792. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +0 -34
  793. package/dist/compute/v1/generated/validators/routeResource.zod.js +0 -38
  794. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +0 -32
  795. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +0 -39
  796. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +0 -41
  797. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +0 -30
  798. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +0 -34
  799. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +0 -34
  800. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +0 -50
  801. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +0 -30
  802. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +0 -43
  803. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +0 -41
  804. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +0 -38
  805. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +0 -35
  806. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +0 -99
  807. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +0 -37
  808. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +0 -30
  809. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +0 -30
  810. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +0 -30
  811. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +0 -31
  812. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +0 -55
  813. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +0 -38
  814. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +0 -68
  815. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +0 -35
  816. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +0 -61
  817. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +0 -30
  818. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +0 -34
  819. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +0 -32
  820. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +0 -67
  821. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +0 -86
  822. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +0 -54
  823. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +0 -48
  824. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +0 -41
  825. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +0 -30
  826. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +0 -34
  827. package/dist/compute/v1/generated/validators/subnetResource.zod.js +0 -32
  828. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +0 -32
  829. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +0 -34
  830. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +0 -30
  831. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +0 -27
  832. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +0 -38
  833. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +0 -30
  834. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +0 -31
  835. package/dist/compute/v1/generated/validators/zoneResource.zod.js +0 -33
  836. /package/dist/compute/{v1 → v2}/index.d.ts +0 -0
  837. /package/dist/compute/{v1 → v2}/index.js +0 -0
@@ -0,0 +1,2088 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
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
+ * - **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
+ * - **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 `operation` field names it; the field is null once the operation has finished, and the resource then shows 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.
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
+ * - **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
+ * - **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.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ /**
37
+ * A volume and an instance must reside in the same availability zone to be attached. Confirm the zone before creating either. Without `region_id`, the zones of every region are listed.
38
+ * @summary List availability zones
39
+ */
40
+ export declare const listAvailabilityZonesQueryRegionIdMin = 33;
41
+ export declare const listAvailabilityZonesQueryRegionIdMax = 33;
42
+ export declare const listAvailabilityZonesQueryRegionIdRegExp: RegExp;
43
+ export declare const listAvailabilityZonesQueryPageDefault = 1;
44
+ export declare const listAvailabilityZonesQueryPageMax = 2147483647;
45
+ export declare const listAvailabilityZonesQueryPageSizeDefault = 50;
46
+ export declare const listAvailabilityZonesQueryPageSizeMax = 200;
47
+ export declare const ListAvailabilityZonesQueryParams: zod.ZodObject<{
48
+ region_id: zod.ZodOptional<zod.ZodString>;
49
+ page: zod.ZodDefault<zod.ZodInt>;
50
+ page_size: zod.ZodDefault<zod.ZodInt>;
51
+ }, zod.z.core.$strict>;
52
+ /**
53
+ * A volume and an instance must reside in the same availability zone to be attached.
54
+ * @summary Retrieve an availability zone
55
+ */
56
+ export declare const getAvailabilityZonePathAvailabilityZoneIdMin = 31;
57
+ export declare const getAvailabilityZonePathAvailabilityZoneIdMax = 31;
58
+ export declare const getAvailabilityZonePathAvailabilityZoneIdRegExp: RegExp;
59
+ export declare const GetAvailabilityZoneParams: zod.ZodObject<{
60
+ availabilityZoneId: zod.ZodString;
61
+ }, zod.z.core.$strict>;
62
+ /**
63
+ * Lists the lines on sale. A line is the network an elastic IP is bought on, with the bandwidth that can be chosen and the two Billing Plans its elastic IPs are paid under. Region is optional. Prices, commercial terms and checkout are read directly from Billing. `q` searches the names and descriptions of the lines on sale; filters combine with AND, and pagination is independent of them.
64
+ * @summary List and search elastic IP lines
65
+ */
66
+ export declare const listElasticIpLinesQueryRegionIdMin = 33;
67
+ export declare const listElasticIpLinesQueryRegionIdMax = 33;
68
+ export declare const listElasticIpLinesQueryRegionIdRegExp: RegExp;
69
+ export declare const listElasticIpLinesQueryQMax = 255;
70
+ export declare const listElasticIpLinesQueryPageDefault = 1;
71
+ export declare const listElasticIpLinesQueryPageMax = 2147483647;
72
+ export declare const listElasticIpLinesQueryPageSizeDefault = 50;
73
+ export declare const listElasticIpLinesQueryPageSizeMax = 200;
74
+ export declare const ListElasticIpLinesQueryParams: zod.ZodObject<{
75
+ region_id: zod.ZodOptional<zod.ZodString>;
76
+ q: zod.ZodOptional<zod.ZodString>;
77
+ page: zod.ZodDefault<zod.ZodInt>;
78
+ page_size: zod.ZodDefault<zod.ZodInt>;
79
+ }, zod.z.core.$strict>;
80
+ /**
81
+ * Includes lines off sale that existing elastic IPs are on. No inventory or gateway facts are returned.
82
+ * @summary Get an elastic IP line
83
+ */
84
+ export declare const getElasticIpLinePathElasticIpLineIdMin = 34;
85
+ export declare const getElasticIpLinePathElasticIpLineIdMax = 34;
86
+ export declare const getElasticIpLinePathElasticIpLineIdRegExp: RegExp;
87
+ export declare const GetElasticIpLineParams: zod.ZodObject<{
88
+ elasticIpLineId: zod.ZodString;
89
+ }, zod.z.core.$strict>;
90
+ /**
91
+ * @summary List elastic IPs
92
+ */
93
+ export declare const listElasticIpsQueryPageDefault = 1;
94
+ export declare const listElasticIpsQueryPageMax = 2147483647;
95
+ export declare const listElasticIpsQueryPageSizeDefault = 50;
96
+ export declare const listElasticIpsQueryPageSizeMax = 200;
97
+ export declare const ListElasticIpsQueryParams: zod.ZodObject<{
98
+ page: zod.ZodDefault<zod.ZodInt>;
99
+ page_size: zod.ZodDefault<zod.ZodInt>;
100
+ }, zod.z.core.$strict>;
101
+ /**
102
+ * Select an elastic IP line. The elastic IP is bought through a Billing Checkout Session, and no address is allocated before its order is accepted.
103
+ *
104
+ * The line has to have an address left, counted before anything is ordered: refused with 409 `ELASTIC_IP_LINE_EXHAUSTED` when every address it sells is held or already promised to a purchase waiting for its order. Two purchases checked at the same moment can both pass on the last address; the later one ends `failed` with `provisioning_failed` and its charge is refunded.
105
+ *
106
+ * Returns the elastic IP as `pending` with its Checkout Session; `address` is null until the address is allocated after the order is accepted. A requested `address` is not held while pending; if it is no longer available then, the elastic IP ends `failed` with `provisioning_failed` and its charge is refunded.
107
+ *
108
+ * IPv6 is not requested through this endpoint. IPv6 addresses are assigned to instances by the virtual private cloud; enable IPv6 on that network instead.
109
+ *
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
+ *
112
+ * The elastic IP shows the `create` operation 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
+ * @summary Allocate an elastic IP
114
+ */
115
+ export declare const CreateElasticIpBody: zod.ZodObject<{
116
+ internet_charge_type: zod.ZodOptional<zod.ZodEnum<{
117
+ bandwidth: "bandwidth";
118
+ traffic: "traffic";
119
+ }>>;
120
+ address: zod.ZodOptional<zod.ZodString>;
121
+ bandwidth_mbps: zod.ZodInt;
122
+ line_id: zod.ZodString;
123
+ billing: zod.ZodObject<{
124
+ usage_type: zod.ZodEnum<{
125
+ licensed: "licensed";
126
+ metered: "metered";
127
+ }>;
128
+ period: zod.ZodOptional<zod.ZodObject<{
129
+ unit: zod.ZodEnum<{
130
+ month: "month";
131
+ year: "year";
132
+ }>;
133
+ count: zod.ZodInt;
134
+ }, zod.z.core.$strict>>;
135
+ termination_policy: zod.ZodOptional<zod.ZodEnum<{
136
+ immediate: "immediate";
137
+ period_end: "period_end";
138
+ }>>;
139
+ }, zod.z.core.$strict>;
140
+ checkout: zod.ZodOptional<zod.ZodObject<{
141
+ mode: zod.ZodDefault<zod.ZodEnum<{
142
+ automatic: "automatic";
143
+ deferred: "deferred";
144
+ }>>;
145
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
146
+ return_url: zod.ZodOptional<zod.ZodURL>;
147
+ }, zod.z.core.$strict>>;
148
+ }, zod.z.core.$strict>;
149
+ /**
150
+ * @summary Retrieve an elastic IP
151
+ */
152
+ export declare const getElasticIpPathElasticIpIdMin = 30;
153
+ export declare const getElasticIpPathElasticIpIdMax = 34;
154
+ export declare const getElasticIpPathElasticIpIdRegExp: RegExp;
155
+ export declare const GetElasticIpParams: zod.ZodObject<{
156
+ elasticIpId: zod.ZodString;
157
+ }, zod.z.core.$strict>;
158
+ /**
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.
160
+ *
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:
162
+ *
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`.
165
+ *
166
+ * A change of `internet_charge_type` needs no checkout and shows the `update_internet_charge_type` operation until it is applied; see the field.
167
+ *
168
+ * The elastic IP shows the `update_bandwidth` operation 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
+ *
170
+ * 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
172
+ */
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<{
177
+ elasticIpId: zod.ZodString;
178
+ }, 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>;
185
+ proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
186
+ checkout: zod.ZodOptional<zod.ZodObject<{
187
+ mode: zod.ZodDefault<zod.ZodEnum<{
188
+ automatic: "automatic";
189
+ deferred: "deferred";
190
+ }>>;
191
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
192
+ return_url: zod.ZodOptional<zod.ZodURL>;
193
+ }, zod.z.core.$strict>>;
194
+ }, zod.z.core.$strict>;
195
+ /**
196
+ * Releases the elastic IP after dissociating it. The elastic IP shows the `delete` operation 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.
197
+ *
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
202
+ */
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<{
207
+ elasticIpId: zod.ZodString;
208
+ }, 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
+ }>>;
214
+ }, zod.z.core.$strict>;
215
+ /**
216
+ * 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.
217
+ *
218
+ * Traffic is reported by the region's collectors and appears some minutes after it is sent. Every elastic IP's traffic is shown, whatever it is billed by; only one billed by traffic is charged for it. A span longer than 31 days by hour, or 366 days by day, is refused with `TRAFFIC_USAGE_QUERY_INVALID`.
219
+ * @summary List the traffic an elastic IP sent
220
+ */
221
+ export declare const listElasticIpTrafficUsagePathElasticIpIdMin = 30;
222
+ export declare const listElasticIpTrafficUsagePathElasticIpIdMax = 34;
223
+ export declare const listElasticIpTrafficUsagePathElasticIpIdRegExp: RegExp;
224
+ export declare const ListElasticIpTrafficUsageParams: zod.ZodObject<{
225
+ elasticIpId: zod.ZodString;
226
+ }, zod.z.core.$strict>;
227
+ export declare const listElasticIpTrafficUsageQueryIntervalDefault = "hour";
228
+ export declare const listElasticIpTrafficUsageQueryPageDefault = 1;
229
+ export declare const listElasticIpTrafficUsageQueryPageMax = 2147483647;
230
+ export declare const listElasticIpTrafficUsageQueryPageSizeDefault = 50;
231
+ export declare const listElasticIpTrafficUsageQueryPageSizeMax = 200;
232
+ export declare const ListElasticIpTrafficUsageQueryParams: zod.ZodObject<{
233
+ interval: zod.ZodDefault<zod.ZodEnum<{
234
+ day: "day";
235
+ hour: "hour";
236
+ }>>;
237
+ start_time: zod.z.ZodISODateTime;
238
+ end_time: zod.z.ZodISODateTime;
239
+ page: zod.ZodDefault<zod.ZodInt>;
240
+ page_size: zod.ZodDefault<zod.ZodInt>;
241
+ }, zod.z.core.$strict>;
242
+ /**
243
+ * The private address of a network interface this elastic IP currently points at. Returns the stored state; it does not query the cloud.
244
+ *
245
+ * An elastic IP that points at nothing has no association: the request is refused with 404 `ELASTIC_IP_NOT_ASSOCIATED`.
246
+ * @summary Retrieve the association of an elastic IP
247
+ */
248
+ export declare const getElasticIpAssociationPathElasticIpIdMin = 30;
249
+ export declare const getElasticIpAssociationPathElasticIpIdMax = 34;
250
+ export declare const getElasticIpAssociationPathElasticIpIdRegExp: RegExp;
251
+ export declare const GetElasticIpAssociationParams: zod.ZodObject<{
252
+ elasticIpId: zod.ZodString;
253
+ }, zod.z.core.$strict>;
254
+ /**
255
+ * Points the elastic IP at a target: an instance, which means the primary private IPv4 address of its primary network interface, or a network interface address (`network_interface_address_id`) given directly. Exactly one of `instance_id` and `network_interface_address_id`. A network interface address must be an assigned, unreleased IPv4 address on a network interface in this project and region; IPv6 addresses are rejected.
256
+ *
257
+ * The target becomes what the elastic IP points at. Repeating the request for the target it already points at changes nothing; an elastic IP associated with another target is refused with `ELASTIC_IP_ALREADY_ASSOCIATED` (409), and is moved by disassociating it first, so that the moment traffic stops reaching the old target is one the caller chose. The elastic IP shows the `associate` operation until the association is confirmed, and with an instance as the target that instance shows the `associate_elastic_ip` operation as well, so the instance must not have another operation in progress.
258
+ *
259
+ * The elastic IP must be in the same region as the target. With an instance as the target, the elastic IP's `bandwidth_mbps` must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`.
260
+ * @summary Associate an elastic IP with a target
261
+ */
262
+ export declare const associateElasticIpPathElasticIpIdMin = 30;
263
+ export declare const associateElasticIpPathElasticIpIdMax = 34;
264
+ export declare const associateElasticIpPathElasticIpIdRegExp: RegExp;
265
+ export declare const AssociateElasticIpParams: zod.ZodObject<{
266
+ elasticIpId: zod.ZodString;
267
+ }, zod.z.core.$strict>;
268
+ export declare const AssociateElasticIpBody: zod.ZodUnion<readonly [zod.ZodObject<{
269
+ instance_id: zod.ZodString;
270
+ }, zod.z.core.$strict>, zod.ZodObject<{
271
+ network_interface_address_id: zod.ZodString;
272
+ }, zod.z.core.$strict>]>;
273
+ /**
274
+ * The address remains held by the project and simply no longer points at any network interface. The elastic IP shows the `disassociate` operation until the change is confirmed, and an instance whose primary interface it pointed at shows the `disassociate_elastic_ip` operation. Removing an association that does not exist is refused with 404 `ELASTIC_IP_NOT_ASSOCIATED`.
275
+ * @summary Remove the association of an elastic IP
276
+ */
277
+ export declare const disassociateElasticIpPathElasticIpIdMin = 30;
278
+ export declare const disassociateElasticIpPathElasticIpIdMax = 34;
279
+ export declare const disassociateElasticIpPathElasticIpIdRegExp: RegExp;
280
+ export declare const DisassociateElasticIpParams: zod.ZodObject<{
281
+ elasticIpId: zod.ZodString;
282
+ }, zod.z.core.$strict>;
283
+ /**
284
+ * An instance family is one hardware line of a region, such as `g7`, and its instance types are its sizes in each availability zone. A family shows here while it has an instance type on sale or sold out.
285
+ * @summary List instance families
286
+ */
287
+ export declare const listInstanceFamiliesQueryRegionIdMin = 33;
288
+ export declare const listInstanceFamiliesQueryRegionIdMax = 33;
289
+ export declare const listInstanceFamiliesQueryRegionIdRegExp: RegExp;
290
+ export declare const listInstanceFamiliesQueryPageDefault = 1;
291
+ export declare const listInstanceFamiliesQueryPageMax = 2147483647;
292
+ export declare const listInstanceFamiliesQueryPageSizeDefault = 50;
293
+ export declare const listInstanceFamiliesQueryPageSizeMax = 200;
294
+ export declare const ListInstanceFamiliesQueryParams: zod.ZodObject<{
295
+ region_id: zod.ZodOptional<zod.ZodString>;
296
+ page: zod.ZodDefault<zod.ZodInt>;
297
+ page_size: zod.ZodDefault<zod.ZodInt>;
298
+ }, zod.z.core.$strict>;
299
+ /**
300
+ * Returns an instance family under the same rule as listing; a family with no instance type on sale or sold out returns 404.
301
+ * @summary Get an instance family
302
+ */
303
+ export declare const getInstanceFamilyPathInstanceFamilyIdMin = 36;
304
+ export declare const getInstanceFamilyPathInstanceFamilyIdMax = 36;
305
+ export declare const getInstanceFamilyPathInstanceFamilyIdRegExp: RegExp;
306
+ export declare const GetInstanceFamilyParams: zod.ZodObject<{
307
+ instanceFamilyId: zod.ZodString;
308
+ }, zod.z.core.$strict>;
309
+ /**
310
+ * Instance types on sale are listed, and sold-out ones with `sale_status` `sold_out`. A withdrawn one disappears from here and can no longer be ordered, while the instances already running it keep running.
311
+ * @summary List instance types on sale
312
+ */
313
+ export declare const listInstanceTypesQueryRegionIdMin = 33;
314
+ export declare const listInstanceTypesQueryRegionIdMax = 33;
315
+ export declare const listInstanceTypesQueryRegionIdRegExp: RegExp;
316
+ export declare const listInstanceTypesQueryInstanceFamilyIdMin = 36;
317
+ export declare const listInstanceTypesQueryInstanceFamilyIdMax = 36;
318
+ export declare const listInstanceTypesQueryInstanceFamilyIdRegExp: RegExp;
319
+ export declare const listInstanceTypesQueryAvailabilityZoneIdMin = 31;
320
+ export declare const listInstanceTypesQueryAvailabilityZoneIdMax = 31;
321
+ export declare const listInstanceTypesQueryAvailabilityZoneIdRegExp: RegExp;
322
+ export declare const listInstanceTypesQueryPageDefault = 1;
323
+ export declare const listInstanceTypesQueryPageMax = 2147483647;
324
+ export declare const listInstanceTypesQueryPageSizeDefault = 50;
325
+ export declare const listInstanceTypesQueryPageSizeMax = 200;
326
+ export declare const ListInstanceTypesQueryParams: zod.ZodObject<{
327
+ region_id: zod.ZodOptional<zod.ZodString>;
328
+ instance_family_id: zod.ZodOptional<zod.ZodString>;
329
+ availability_zone_id: zod.ZodOptional<zod.ZodString>;
330
+ page: zod.ZodDefault<zod.ZodInt>;
331
+ page_size: zod.ZodDefault<zod.ZodInt>;
332
+ }, zod.z.core.$strict>;
333
+ /**
334
+ * Returns an instance type on sale or sold out, under the same access rules as listing. Off-sale, retired or absent types return 404.
335
+ * @summary Get an instance type
336
+ */
337
+ export declare const getInstanceTypePathInstanceTypeIdMin = 34;
338
+ export declare const getInstanceTypePathInstanceTypeIdMax = 34;
339
+ export declare const getInstanceTypePathInstanceTypeIdRegExp: RegExp;
340
+ export declare const GetInstanceTypeParams: zod.ZodObject<{
341
+ instanceTypeId: zod.ZodString;
342
+ }, zod.z.core.$strict>;
343
+ /**
344
+ * Every instance in the project, newest first, in their stored state.
345
+ * @summary List instances
346
+ */
347
+ export declare const listInstancesQueryLabelMax = 128;
348
+ export declare const listInstancesQueryPageDefault = 1;
349
+ export declare const listInstancesQueryPageMax = 2147483647;
350
+ export declare const listInstancesQueryPageSizeDefault = 50;
351
+ export declare const listInstancesQueryPageSizeMax = 200;
352
+ export declare const ListInstancesQueryParams: zod.ZodObject<{
353
+ label: zod.ZodOptional<zod.ZodString>;
354
+ page: zod.ZodDefault<zod.ZodInt>;
355
+ page_size: zod.ZodDefault<zod.ZodInt>;
356
+ }, zod.z.core.$strict>;
357
+ /**
358
+ * Creates a Billing Checkout Session, including for metered terms, and returns one `pending` instance per requested instance with it. Each new component carries its own commercial terms; their usage type and period must match. A pending instance has no server, boot volume or address, and is not metered.
359
+ *
360
+ * Creation starts once Billing accepts the order: the instance stays `pending` with the `create` operation while it is created, then becomes `running`. With automatic checkout, insufficient funds refuse the request and nothing is created. With deferred checkout, the instances stay `pending` until the customer completes checkout in Billing and the order is paid; an expired Checkout Session, or a canceled or expired order, leaves them `failed` with `checkout_expired`, `order_canceled` or `order_expired`. Do not submit another creation request after paying. After an uncertain response, look the Checkout Session up in Billing before submitting again.
361
+ *
362
+ * 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
+ *
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.
365
+ *
366
+ * 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
+ *
368
+ * The network is checked before the Checkout Session is created, and a request it refuses orders and charges nothing. It is refused with `VIRTUAL_PRIVATE_CLOUD_UNAVAILABLE` when the virtual private cloud's `status` is not `available`, `VIRTUAL_PRIVATE_CLOUD_SUBNET_UNAVAILABLE` or `SECURITY_GROUP_UNAVAILABLE` when the subnet or a security group is not ready, `SECURITY_GROUP_OTHER_VIRTUAL_PRIVATE_CLOUD` when a security group belongs to another virtual private cloud, and `NETWORK_INTERFACE_UNAVAILABLE` when the port's `status` is not `available`. `meta` names the resource.
369
+ *
370
+ * Each instance shows the `create` operation from the moment the Checkout Session is created until it is delivered or the checkout or order ends. Every other operation on it is refused with `COMPUTE_RESOURCE_BUSY` meanwhile, and its release with `COMPUTE_PURCHASE_PENDING` while its purchase awaits checkout or payment.
371
+ * @summary Create instances
372
+ */
373
+ export declare const CreateInstanceBody: zod.ZodObject<{
374
+ launch_template: zod.ZodOptional<zod.ZodObject<{
375
+ launch_template_id: zod.ZodString;
376
+ version_number: zod.ZodOptional<zod.ZodInt>;
377
+ }, zod.z.core.$strict>>;
378
+ name: zod.ZodString;
379
+ count: zod.ZodDefault<zod.ZodInt>;
380
+ compute: zod.ZodObject<{
381
+ instance_type_id: zod.ZodOptional<zod.ZodString>;
382
+ billing: zod.ZodObject<{
383
+ usage_type: zod.ZodEnum<{
384
+ licensed: "licensed";
385
+ metered: "metered";
386
+ }>;
387
+ period: zod.ZodOptional<zod.ZodObject<{
388
+ unit: zod.ZodEnum<{
389
+ month: "month";
390
+ year: "year";
391
+ }>;
392
+ count: zod.ZodInt;
393
+ }, zod.z.core.$strict>>;
394
+ termination_policy: zod.ZodOptional<zod.ZodEnum<{
395
+ immediate: "immediate";
396
+ period_end: "period_end";
397
+ }>>;
398
+ }, zod.z.core.$strict>;
399
+ }, zod.z.core.$strict>;
400
+ boot_volume: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
401
+ type: zod.ZodEnum<{
402
+ image: "image";
403
+ }>;
404
+ image_id: zod.ZodString;
405
+ volume_type_id: zod.ZodString;
406
+ size_gib: zod.ZodInt;
407
+ on_instance_release: zod.ZodDefault<zod.ZodEnum<{
408
+ delete: "delete";
409
+ detach: "detach";
410
+ }>>;
411
+ billing: zod.ZodOptional<zod.ZodObject<{
412
+ usage_type: zod.ZodEnum<{
413
+ licensed: "licensed";
414
+ metered: "metered";
415
+ }>;
416
+ period: zod.ZodOptional<zod.ZodObject<{
417
+ unit: zod.ZodEnum<{
418
+ month: "month";
419
+ year: "year";
420
+ }>;
421
+ count: zod.ZodInt;
422
+ }, zod.z.core.$strict>>;
423
+ termination_policy: zod.ZodOptional<zod.ZodEnum<{
424
+ immediate: "immediate";
425
+ period_end: "period_end";
426
+ }>>;
427
+ }, zod.z.core.$strict>>;
428
+ }, zod.z.core.$strict>, zod.ZodObject<{
429
+ type: zod.ZodEnum<{
430
+ volume: "volume";
431
+ }>;
432
+ volume_id: zod.ZodString;
433
+ login_username: zod.ZodString;
434
+ }, zod.z.core.$strict>], "type">>;
435
+ data_volumes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
436
+ volume_type_id: zod.ZodString;
437
+ size_gib: zod.ZodInt;
438
+ on_instance_release: zod.ZodDefault<zod.ZodEnum<{
439
+ delete: "delete";
440
+ detach: "detach";
441
+ }>>;
442
+ billing: zod.ZodOptional<zod.ZodObject<{
443
+ usage_type: zod.ZodEnum<{
444
+ licensed: "licensed";
445
+ metered: "metered";
446
+ }>;
447
+ period: zod.ZodOptional<zod.ZodObject<{
448
+ unit: zod.ZodEnum<{
449
+ month: "month";
450
+ year: "year";
451
+ }>;
452
+ count: zod.ZodInt;
453
+ }, zod.z.core.$strict>>;
454
+ termination_policy: zod.ZodOptional<zod.ZodEnum<{
455
+ immediate: "immediate";
456
+ period_end: "period_end";
457
+ }>>;
458
+ }, zod.z.core.$strict>>;
459
+ }, zod.z.core.$strict>>>;
460
+ network_interface: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
461
+ type: zod.ZodEnum<{
462
+ new: "new";
463
+ }>;
464
+ subnet_id: zod.ZodString;
465
+ security_group_ids: zod.ZodArray<zod.ZodString>;
466
+ }, zod.z.core.$strict>, zod.ZodObject<{
467
+ type: zod.ZodEnum<{
468
+ existing: "existing";
469
+ }>;
470
+ network_interface_id: zod.ZodString;
471
+ }, zod.z.core.$strict>], "type">>;
472
+ elastic_ip: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
473
+ type: zod.ZodEnum<{
474
+ new: "new";
475
+ }>;
476
+ line_id: zod.ZodString;
477
+ bandwidth_mbps: zod.ZodInt;
478
+ internet_charge_type: zod.ZodOptional<zod.ZodEnum<{
479
+ bandwidth: "bandwidth";
480
+ traffic: "traffic";
481
+ }>>;
482
+ billing: zod.ZodOptional<zod.ZodObject<{
483
+ usage_type: zod.ZodEnum<{
484
+ licensed: "licensed";
485
+ metered: "metered";
486
+ }>;
487
+ period: zod.ZodOptional<zod.ZodObject<{
488
+ unit: zod.ZodEnum<{
489
+ month: "month";
490
+ year: "year";
491
+ }>;
492
+ count: zod.ZodInt;
493
+ }, zod.z.core.$strict>>;
494
+ termination_policy: zod.ZodOptional<zod.ZodEnum<{
495
+ immediate: "immediate";
496
+ period_end: "period_end";
497
+ }>>;
498
+ }, zod.z.core.$strict>>;
499
+ }, zod.z.core.$strict>, zod.ZodObject<{
500
+ type: zod.ZodEnum<{
501
+ existing: "existing";
502
+ }>;
503
+ elastic_ip_id: zod.ZodString;
504
+ }, zod.z.core.$strict>], "type">>;
505
+ password: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
506
+ type: zod.ZodEnum<{
507
+ generated: "generated";
508
+ }>;
509
+ }, zod.z.core.$strict>, zod.ZodObject<{
510
+ type: zod.ZodEnum<{
511
+ supplied: "supplied";
512
+ }>;
513
+ value: zod.ZodString;
514
+ }, zod.z.core.$strict>], "type">>;
515
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
516
+ description: zod.ZodOptional<zod.ZodString>;
517
+ checkout: zod.ZodOptional<zod.ZodObject<{
518
+ mode: zod.ZodDefault<zod.ZodEnum<{
519
+ automatic: "automatic";
520
+ deferred: "deferred";
521
+ }>>;
522
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
523
+ return_url: zod.ZodOptional<zod.ZodURL>;
524
+ }, zod.z.core.$strict>>;
525
+ }, zod.z.core.$strict>;
526
+ /**
527
+ * Returns the stored state of the instance; it does not query the cloud. Use it to poll creation progress.
528
+ * @summary Retrieve an instance
529
+ */
530
+ export declare const getInstancePathInstanceIdMin = 30;
531
+ export declare const getInstancePathInstanceIdMax = 30;
532
+ export declare const getInstancePathInstanceIdRegExp: RegExp;
533
+ export declare const GetInstanceParams: zod.ZodObject<{
534
+ instanceId: zod.ZodString;
535
+ }, zod.z.core.$strict>;
536
+ /**
537
+ * 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.
538
+ *
539
+ * `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.
540
+ *
541
+ * **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.
542
+ *
543
+ * - `name` changes the display name only. The hostname inside the instance is unchanged; it equals the instance id.
544
+ * - `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.
545
+ * - `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.
546
+ *
547
+ * **`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.
548
+ *
549
+ * The instance shows the `resize` operation 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.
550
+ * @summary Update an instance
551
+ */
552
+ export declare const updateInstancePathInstanceIdMin = 30;
553
+ export declare const updateInstancePathInstanceIdMax = 30;
554
+ export declare const updateInstancePathInstanceIdRegExp: RegExp;
555
+ export declare const UpdateInstanceParams: zod.ZodObject<{
556
+ instanceId: zod.ZodString;
557
+ }, zod.z.core.$strict>;
558
+ export declare const UpdateInstanceBody: zod.ZodObject<{
559
+ name: zod.ZodOptional<zod.ZodString>;
560
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
561
+ description: zod.ZodOptional<zod.ZodString>;
562
+ instance_type_id: zod.ZodOptional<zod.ZodString>;
563
+ proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
564
+ checkout: zod.ZodOptional<zod.ZodObject<{
565
+ mode: zod.ZodDefault<zod.ZodEnum<{
566
+ automatic: "automatic";
567
+ deferred: "deferred";
568
+ }>>;
569
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
570
+ return_url: zod.ZodOptional<zod.ZodURL>;
571
+ }, zod.z.core.$strict>>;
572
+ }, zod.z.core.$strict>;
573
+ /**
574
+ * 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.
575
+ *
576
+ * An instance being captured as a private image cannot be released. Wait for the capture to finish, or delete that image first.
577
+ *
578
+ * 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.
579
+ *
580
+ * 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
+ * @summary Release an instance
582
+ */
583
+ export declare const deleteInstancePathInstanceIdMin = 30;
584
+ export declare const deleteInstancePathInstanceIdMax = 30;
585
+ export declare const deleteInstancePathInstanceIdRegExp: RegExp;
586
+ export declare const DeleteInstanceParams: zod.ZodObject<{
587
+ instanceId: zod.ZodString;
588
+ }, zod.z.core.$strict>;
589
+ export declare const DeleteInstanceQueryParams: zod.ZodObject<{
590
+ cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
591
+ immediate: "immediate";
592
+ period_end: "period_end";
593
+ }>>;
594
+ }, zod.z.core.$strict>;
595
+ /**
596
+ * Boots the stopped instance on the host it kept; outstanding restrictions can prevent starting. It shows the `start` operation until it is running or the start has failed. Starting a running instance changes nothing.
597
+ *
598
+ * When its boot volume grew since it was last connected, the start connects its volumes afresh so that the boot volume runs at the performance of its new size: the instance is taken off its host for that moment and placed again. Only then can the start find no room in the zone; it is refused with 409 `INSTANCE_START_NO_HOST_ROOM`, or ends with the instance still stopped, and can be tried again later. An instance stopped by the legacy stop, which released its host, is placed again the same way.
599
+ * @summary Start an instance
600
+ */
601
+ export declare const startInstancePathInstanceIdMin = 30;
602
+ export declare const startInstancePathInstanceIdMax = 30;
603
+ export declare const startInstancePathInstanceIdRegExp: RegExp;
604
+ export declare const StartInstanceParams: zod.ZodObject<{
605
+ instanceId: zod.ZodString;
606
+ }, zod.z.core.$strict>;
607
+ /**
608
+ * 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 shows the `stop` operation until it is stopped. Stopping a stopped instance changes nothing.
609
+ *
610
+ * 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.
611
+ * @summary Stop an instance
612
+ */
613
+ export declare const stopInstancePathInstanceIdMin = 30;
614
+ export declare const stopInstancePathInstanceIdMax = 30;
615
+ export declare const stopInstancePathInstanceIdRegExp: RegExp;
616
+ export declare const StopInstanceParams: zod.ZodObject<{
617
+ instanceId: zod.ZodString;
618
+ }, zod.z.core.$strict>;
619
+ /**
620
+ * Runs one command over SSH and returns what it wrote. **This is not a shell.** There is no terminal, no standard input and no way to answer a prompt: a command that waits for input produces nothing and is killed at the timeout. Chain steps with `&&`, or write a script and run that.
621
+ *
622
+ * **A command that fails is still a 200.** Its failure is its own result, not this endpoint's: read `exit_code` for what it exited with and `stderr` for what it said, and decide from those. A `grep` that matches nothing exits 1 and is a perfectly successful call.
623
+ *
624
+ * The status therefore answers a different question — did the command run at all. A non-2xx means it did not, and nothing about the instance was changed by this request: it was suspended, not running or had no elastic IP associated; or it refused the platform key; or the connection could not be opened. Retrying is meaningful in those cases and is not for a non-zero `exit_code`.
625
+ *
626
+ * Three conditions must hold; the instance is unreachable otherwise:
627
+ *
628
+ * - it is `running`
629
+ * - an elastic IP is associated with it, since this endpoint connects over the public internet
630
+ * - its security group permits inbound TCP 22
631
+ *
632
+ * Authentication uses the key the platform attaches to every instance at creation, so nothing has to be set up first. The instance must have applied that key at first boot, which images without a full cloud-init do not do.
633
+ *
634
+ * **Do not pass secrets in the command.** Read them from a file on the instance instead: neither the command nor its output is a confidential channel.
635
+ *
636
+ * Each stream is capped at 1 MiB. Beyond that the rest is discarded and `truncated` is true.
637
+ * @summary Run a command on an instance
638
+ */
639
+ export declare const runInstanceCommandPathInstanceIdMin = 30;
640
+ export declare const runInstanceCommandPathInstanceIdMax = 30;
641
+ export declare const runInstanceCommandPathInstanceIdRegExp: RegExp;
642
+ export declare const RunInstanceCommandParams: zod.ZodObject<{
643
+ instanceId: zod.ZodString;
644
+ }, zod.z.core.$strict>;
645
+ export declare const RunInstanceCommandBody: zod.ZodObject<{
646
+ command: zod.ZodString;
647
+ timeout_seconds: zod.ZodOptional<zod.ZodInt>;
648
+ }, zod.z.core.$strict>;
649
+ /**
650
+ * 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.
651
+ *
652
+ * 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.
653
+ * @summary Retrieve a VNC console
654
+ */
655
+ export declare const getInstanceConsolePathInstanceIdMin = 30;
656
+ export declare const getInstanceConsolePathInstanceIdMax = 30;
657
+ export declare const getInstanceConsolePathInstanceIdRegExp: RegExp;
658
+ export declare const GetInstanceConsoleParams: zod.ZodObject<{
659
+ instanceId: zod.ZodString;
660
+ }, zod.z.core.$strict>;
661
+ /**
662
+ * Sets the password of the login account (`login_username`) without a reboot; root is never given one. The instance must be running.
663
+ *
664
+ * **Not every image supports this.** Images whose `supports_password_reset` is false cannot, and a new password can then only be set by rebuilding the instance, which erases all data on the boot volume.
665
+ *
666
+ * The request is also rejected when the image is marked as supported but the corresponding component has been removed or stopped inside the instance.
667
+ * @summary Reset the login password
668
+ */
669
+ export declare const resetInstancePasswordPathInstanceIdMin = 30;
670
+ export declare const resetInstancePasswordPathInstanceIdMax = 30;
671
+ export declare const resetInstancePasswordPathInstanceIdRegExp: RegExp;
672
+ export declare const ResetInstancePasswordParams: zod.ZodObject<{
673
+ instanceId: zod.ZodString;
674
+ }, zod.z.core.$strict>;
675
+ export declare const ResetInstancePasswordBody: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
676
+ type: zod.ZodEnum<{
677
+ generated: "generated";
678
+ }>;
679
+ }, zod.z.core.$strict>, zod.ZodObject<{
680
+ type: zod.ZodEnum<{
681
+ supplied: "supplied";
682
+ }>;
683
+ value: zod.ZodString;
684
+ }, zod.z.core.$strict>], "type">;
685
+ /**
686
+ * A reboot defaults to soft, in which the operating system shuts down normally before starting again.
687
+ *
688
+ * A soft reboot has no effect once the system is unresponsive. Set `force` to reboot forcibly: a forced reboot does not wait for the operating system to shut down, so **unwritten data is lost**.
689
+ *
690
+ * A forced reboot is accepted while a soft reboot is in progress, which is the way out of a soft reboot the instance never carried out. Any other request for an operation, including a second soft reboot, is refused with `COMPUTE_RESOURCE_BUSY` while the reboot is in progress.
691
+ *
692
+ * An instance suspended by the platform must be unsuspended first.
693
+ *
694
+ * The instance shows the `reboot` operation until the reboot has finished.
695
+ * @summary Reboot an instance
696
+ */
697
+ export declare const rebootInstancePathInstanceIdMin = 30;
698
+ export declare const rebootInstancePathInstanceIdMax = 30;
699
+ export declare const rebootInstancePathInstanceIdRegExp: RegExp;
700
+ export declare const RebootInstanceParams: zod.ZodObject<{
701
+ instanceId: zod.ZodString;
702
+ }, zod.z.core.$strict>;
703
+ export declare const RebootInstanceBody: zod.ZodObject<{
704
+ force: zod.ZodOptional<zod.ZodBoolean>;
705
+ }, zod.z.core.$strict>;
706
+ /**
707
+ * **All data on the boot volume is erased and cannot be recovered.** Attached data volumes are unaffected.
708
+ *
709
+ * The instance has to be running or stopped. An instance stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`; start it once first, which works even when its operating system no longer boots.
710
+ *
711
+ * The image this instance already runs is accepted even after the platform has withdrawn it, since rebuilding is the only way back into an instance broken from the inside. Any *other* withdrawn image is rejected with `IMAGE_RETIRED`, which is a change of image and therefore a new order.
712
+ *
713
+ * The instance shows the `rebuild` operation until the rebuild has finished.
714
+ * @summary Rebuild an instance
715
+ */
716
+ export declare const rebuildInstancePathInstanceIdMin = 30;
717
+ export declare const rebuildInstancePathInstanceIdMax = 30;
718
+ export declare const rebuildInstancePathInstanceIdRegExp: RegExp;
719
+ export declare const RebuildInstanceParams: zod.ZodObject<{
720
+ instanceId: zod.ZodString;
721
+ }, zod.z.core.$strict>;
722
+ export declare const RebuildInstanceBody: zod.ZodObject<{
723
+ image_id: zod.ZodString;
724
+ password: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
725
+ type: zod.ZodEnum<{
726
+ generated: "generated";
727
+ }>;
728
+ }, zod.z.core.$strict>, zod.ZodObject<{
729
+ type: zod.ZodEnum<{
730
+ supplied: "supplied";
731
+ }>;
732
+ value: zod.ZodString;
733
+ }, zod.z.core.$strict>], "type">>;
734
+ }, zod.z.core.$strict>;
735
+ /**
736
+ * @summary List the volumes attached to an instance
737
+ */
738
+ export declare const listInstanceVolumesPathInstanceIdMin = 30;
739
+ export declare const listInstanceVolumesPathInstanceIdMax = 30;
740
+ export declare const listInstanceVolumesPathInstanceIdRegExp: RegExp;
741
+ export declare const ListInstanceVolumesParams: zod.ZodObject<{
742
+ instanceId: zod.ZodString;
743
+ }, zod.z.core.$strict>;
744
+ export declare const listInstanceVolumesQueryPageDefault = 1;
745
+ export declare const listInstanceVolumesQueryPageMax = 2147483647;
746
+ export declare const listInstanceVolumesQueryPageSizeDefault = 50;
747
+ export declare const listInstanceVolumesQueryPageSizeMax = 200;
748
+ export declare const ListInstanceVolumesQueryParams: zod.ZodObject<{
749
+ page: zod.ZodDefault<zod.ZodInt>;
750
+ page_size: zod.ZodDefault<zod.ZodInt>;
751
+ }, zod.z.core.$strict>;
752
+ /**
753
+ * The volume must be in the same region and availability zone as the instance. Returns the volume; the instance shows the `attach_volume` operation and the volume the `attach` operation until the attachment is confirmed. Partition the volume and mount the file system inside the instance once it is attached.
754
+ * @summary Attach a volume
755
+ */
756
+ export declare const attachInstanceVolumePathInstanceIdMin = 30;
757
+ export declare const attachInstanceVolumePathInstanceIdMax = 30;
758
+ export declare const attachInstanceVolumePathInstanceIdRegExp: RegExp;
759
+ export declare const AttachInstanceVolumeParams: zod.ZodObject<{
760
+ instanceId: zod.ZodString;
761
+ }, zod.z.core.$strict>;
762
+ export declare const AttachInstanceVolumeBody: zod.ZodObject<{
763
+ volume_id: zod.ZodString;
764
+ }, zod.z.core.$strict>;
765
+ /**
766
+ * Unmount the device inside the instance before calling this endpoint. Forcibly detaching a file system that is being written to corrupts data.
767
+ *
768
+ * The volume the instance boots from cannot be detached, whether it is the boot volume bought with the instance or a volume supplied as the existing boot_volume at launch. Such a request is refused with `INSTANCE_BOOT_VOLUME_LOCKED` and changes nothing; releasing the instance is what frees that volume.
769
+ *
770
+ * Returns the volume; the instance shows the `detach_volume` operation and the volume the `detach` operation until the volume is detached.
771
+ * @summary Detach a volume
772
+ */
773
+ export declare const detachInstanceVolumePathInstanceIdMin = 30;
774
+ export declare const detachInstanceVolumePathInstanceIdMax = 30;
775
+ export declare const detachInstanceVolumePathInstanceIdRegExp: RegExp;
776
+ export declare const detachInstanceVolumePathVolumeIdMin = 30;
777
+ export declare const detachInstanceVolumePathVolumeIdMax = 30;
778
+ export declare const detachInstanceVolumePathVolumeIdRegExp: RegExp;
779
+ export declare const DetachInstanceVolumeParams: zod.ZodObject<{
780
+ instanceId: zod.ZodString;
781
+ volumeId: zod.ZodString;
782
+ }, zod.z.core.$strict>;
783
+ /**
784
+ * @summary List the network interfaces of an instance
785
+ */
786
+ export declare const listInstanceNetworkInterfacesPathInstanceIdMin = 30;
787
+ export declare const listInstanceNetworkInterfacesPathInstanceIdMax = 30;
788
+ export declare const listInstanceNetworkInterfacesPathInstanceIdRegExp: RegExp;
789
+ export declare const ListInstanceNetworkInterfacesParams: zod.ZodObject<{
790
+ instanceId: zod.ZodString;
791
+ }, zod.z.core.$strict>;
792
+ export declare const listInstanceNetworkInterfacesQueryPageDefault = 1;
793
+ export declare const listInstanceNetworkInterfacesQueryPageMax = 2147483647;
794
+ export declare const listInstanceNetworkInterfacesQueryPageSizeDefault = 50;
795
+ export declare const listInstanceNetworkInterfacesQueryPageSizeMax = 200;
796
+ export declare const ListInstanceNetworkInterfacesQueryParams: zod.ZodObject<{
797
+ page: zod.ZodDefault<zod.ZodInt>;
798
+ page_size: zod.ZodDefault<zod.ZodInt>;
799
+ }, zod.z.core.$strict>;
800
+ /**
801
+ * Returns the network interface; the instance shows the `attach_network_interface` operation and the interface the `attach` operation until the attachment is confirmed. The instance has to be running or stopped; one stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`.
802
+ * @summary Attach a network interface
803
+ */
804
+ export declare const attachInstanceNetworkInterfacePathInstanceIdMin = 30;
805
+ export declare const attachInstanceNetworkInterfacePathInstanceIdMax = 30;
806
+ export declare const attachInstanceNetworkInterfacePathInstanceIdRegExp: RegExp;
807
+ export declare const AttachInstanceNetworkInterfaceParams: zod.ZodObject<{
808
+ instanceId: zod.ZodString;
809
+ }, zod.z.core.$strict>;
810
+ export declare const AttachInstanceNetworkInterfaceBody: zod.ZodObject<{
811
+ network_interface_id: zod.ZodString;
812
+ }, zod.z.core.$strict>;
813
+ /**
814
+ * The primary network interface cannot be detached; the instance would lose its network address. The instance has to be running or stopped; one stopped by the legacy stop, which released its host, is refused with 409 `INSTANCE_SHELVED`.
815
+ *
816
+ * Returns the network interface; the instance shows the `detach_network_interface` operation and the interface the `detach` operation until it is detached.
817
+ * @summary Detach a network interface
818
+ */
819
+ export declare const detachInstanceNetworkInterfacePathInstanceIdMin = 30;
820
+ export declare const detachInstanceNetworkInterfacePathInstanceIdMax = 30;
821
+ export declare const detachInstanceNetworkInterfacePathInstanceIdRegExp: RegExp;
822
+ export declare const detachInstanceNetworkInterfacePathNetworkInterfaceIdMin = 30;
823
+ export declare const detachInstanceNetworkInterfacePathNetworkInterfaceIdMax = 30;
824
+ export declare const detachInstanceNetworkInterfacePathNetworkInterfaceIdRegExp: RegExp;
825
+ export declare const DetachInstanceNetworkInterfaceParams: zod.ZodObject<{
826
+ instanceId: zod.ZodString;
827
+ networkInterfaceId: zod.ZodString;
828
+ }, zod.z.core.$strict>;
829
+ /**
830
+ * Boots a temporary rescue environment in place of the instance's own system, with the original boot volume attached to it as a further disk to repair. A running instance can be rescued, and so can one in `error`. A stopped instance is refused with 409 `INSTANCE_NOT_RUNNING`; start it first, which works even when its operating system no longer boots.
831
+ *
832
+ * In rescue mode, everything only the instance's own system can take is refused with 409 `INSTANCE_UNRESCUE_REQUIRED`: starting, stopping, rebooting, rebuilding, resetting the password, changing `instance_type_id`, attaching or detaching volumes and network interfaces, capturing a private image and running commands. Leave rescue mode with `:unrescue` first. The console stays available, releasing the instance works as usual, and the instance is charged as when running. A suspension that begins in rescue mode takes the instance out of rescue before stopping it, and starting it again once the suspension ends boots its own system.
833
+ *
834
+ * A rescue the compute service could not boot ends the `rescue` operation and leaves the instance as it was, or in `error`; request it again or reboot the instance.
835
+ *
836
+ * The request does not name an image. The rescue image is the region's enabled rescue image for the architecture of the instance's boot volume. A region and architecture with no enabled rescue image is refused with `RESCUE_IMAGE_NOT_CONFIGURED` (409).
837
+ * @summary Put an instance into rescue mode
838
+ */
839
+ export declare const rescueInstancePathInstanceIdMin = 30;
840
+ export declare const rescueInstancePathInstanceIdMax = 30;
841
+ export declare const rescueInstancePathInstanceIdRegExp: RegExp;
842
+ export declare const RescueInstanceParams: zod.ZodObject<{
843
+ instanceId: zod.ZodString;
844
+ }, zod.z.core.$strict>;
845
+ export declare const RescueInstanceBody: zod.ZodObject<{
846
+ password: zod.ZodString;
847
+ }, zod.z.core.$strict>;
848
+ /**
849
+ * Restores boot from the original boot volume. Completion is shown by the instance state, and the instance shows the `unrescue` operation until then.
850
+ * @summary Take an instance out of rescue mode
851
+ */
852
+ export declare const unrescueInstancePathInstanceIdMin = 30;
853
+ export declare const unrescueInstancePathInstanceIdMax = 30;
854
+ export declare const unrescueInstancePathInstanceIdRegExp: RegExp;
855
+ export declare const UnrescueInstanceParams: zod.ZodObject<{
856
+ instanceId: zod.ZodString;
857
+ }, zod.z.core.$strict>;
858
+ /**
859
+ * @summary List launch templates
860
+ */
861
+ export declare const listLaunchTemplatesQueryRegionIdMin = 33;
862
+ export declare const listLaunchTemplatesQueryRegionIdMax = 33;
863
+ export declare const listLaunchTemplatesQueryRegionIdRegExp: RegExp;
864
+ export declare const listLaunchTemplatesQueryPageDefault = 1;
865
+ export declare const listLaunchTemplatesQueryPageMax = 2147483647;
866
+ export declare const listLaunchTemplatesQueryPageSizeDefault = 50;
867
+ export declare const listLaunchTemplatesQueryPageSizeMax = 200;
868
+ export declare const ListLaunchTemplatesQueryParams: zod.ZodObject<{
869
+ region_id: zod.ZodOptional<zod.ZodString>;
870
+ page: zod.ZodDefault<zod.ZodInt>;
871
+ page_size: zod.ZodDefault<zod.ZodInt>;
872
+ }, zod.z.core.$strict>;
873
+ /**
874
+ * Creates a launch template with its first version, which becomes its default. A launch template describes how to create instances in one region, and creating an instance can name it (`launch_template`) instead of repeating every part. It costs nothing.
875
+ *
876
+ * A template holds no billing terms, checkout options or password: those belong to each purchase. **What a version names is checked when an instance is created from it**, against the catalog as it is then, so a version naming an image retired since is refused at that creation as any creation would be.
877
+ *
878
+ * A project holds at most 100 launch templates in a region (`LAUNCH_TEMPLATE_LIMIT`), and names are unique among them (`LAUNCH_TEMPLATE_EXISTS`).
879
+ * @summary Create a launch template
880
+ */
881
+ export declare const CreateLaunchTemplateBody: zod.ZodObject<{
882
+ region_id: zod.ZodString;
883
+ name: zod.ZodString;
884
+ description: zod.ZodOptional<zod.ZodString>;
885
+ version: zod.ZodObject<{
886
+ version_description: zod.ZodOptional<zod.ZodString>;
887
+ instance_type_id: zod.ZodOptional<zod.ZodString>;
888
+ boot_volume: zod.ZodOptional<zod.ZodObject<{
889
+ image_id: zod.ZodString;
890
+ volume_type_id: zod.ZodString;
891
+ size_gib: zod.ZodInt;
892
+ on_instance_release: zod.ZodDefault<zod.ZodEnum<{
893
+ delete: "delete";
894
+ detach: "detach";
895
+ }>>;
896
+ }, zod.z.core.$strict>>;
897
+ data_volumes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
898
+ volume_type_id: zod.ZodString;
899
+ size_gib: zod.ZodInt;
900
+ on_instance_release: zod.ZodDefault<zod.ZodEnum<{
901
+ delete: "delete";
902
+ detach: "detach";
903
+ }>>;
904
+ }, zod.z.core.$strict>>>;
905
+ network_interface: zod.ZodOptional<zod.ZodObject<{
906
+ subnet_id: zod.ZodString;
907
+ security_group_ids: zod.ZodArray<zod.ZodString>;
908
+ }, zod.z.core.$strict>>;
909
+ elastic_ip: zod.ZodOptional<zod.ZodObject<{
910
+ line_id: zod.ZodString;
911
+ bandwidth_mbps: zod.ZodInt;
912
+ internet_charge_type: zod.ZodOptional<zod.ZodEnum<{
913
+ bandwidth: "bandwidth";
914
+ traffic: "traffic";
915
+ }>>;
916
+ }, zod.z.core.$strict>>;
917
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
918
+ description: zod.ZodOptional<zod.ZodString>;
919
+ }, zod.z.core.$strict>;
920
+ }, zod.z.core.$strict>;
921
+ /**
922
+ * @summary Get a launch template
923
+ */
924
+ export declare const getLaunchTemplatePathLaunchTemplateIdMin = 29;
925
+ export declare const getLaunchTemplatePathLaunchTemplateIdMax = 29;
926
+ export declare const getLaunchTemplatePathLaunchTemplateIdRegExp: RegExp;
927
+ export declare const GetLaunchTemplateParams: zod.ZodObject<{
928
+ launchTemplateId: zod.ZodString;
929
+ }, zod.z.core.$strict>;
930
+ /**
931
+ * Changes the name or description, or makes another live version the default, the one a creation naming no version uses. Versions themselves never change; describe something else by creating a version.
932
+ * @summary Update a launch template
933
+ */
934
+ export declare const updateLaunchTemplatePathLaunchTemplateIdMin = 29;
935
+ export declare const updateLaunchTemplatePathLaunchTemplateIdMax = 29;
936
+ export declare const updateLaunchTemplatePathLaunchTemplateIdRegExp: RegExp;
937
+ export declare const UpdateLaunchTemplateParams: zod.ZodObject<{
938
+ launchTemplateId: zod.ZodString;
939
+ }, zod.z.core.$strict>;
940
+ export declare const UpdateLaunchTemplateBody: zod.ZodObject<{
941
+ name: zod.ZodOptional<zod.ZodString>;
942
+ description: zod.ZodOptional<zod.ZodString>;
943
+ default_version_number: zod.ZodOptional<zod.ZodInt>;
944
+ }, zod.z.core.$strict>;
945
+ /**
946
+ * Deletes the template with every version. Instances created from it are not affected and keep naming the version they were created from.
947
+ * @summary Delete a launch template
948
+ */
949
+ export declare const deleteLaunchTemplatePathLaunchTemplateIdMin = 29;
950
+ export declare const deleteLaunchTemplatePathLaunchTemplateIdMax = 29;
951
+ export declare const deleteLaunchTemplatePathLaunchTemplateIdRegExp: RegExp;
952
+ export declare const DeleteLaunchTemplateParams: zod.ZodObject<{
953
+ launchTemplateId: zod.ZodString;
954
+ }, zod.z.core.$strict>;
955
+ /**
956
+ * Newest first.
957
+ * @summary List the versions of a launch template
958
+ */
959
+ export declare const listLaunchTemplateVersionsPathLaunchTemplateIdMin = 29;
960
+ export declare const listLaunchTemplateVersionsPathLaunchTemplateIdMax = 29;
961
+ export declare const listLaunchTemplateVersionsPathLaunchTemplateIdRegExp: RegExp;
962
+ export declare const ListLaunchTemplateVersionsParams: zod.ZodObject<{
963
+ launchTemplateId: zod.ZodString;
964
+ }, zod.z.core.$strict>;
965
+ export declare const listLaunchTemplateVersionsQueryPageDefault = 1;
966
+ export declare const listLaunchTemplateVersionsQueryPageMax = 2147483647;
967
+ export declare const listLaunchTemplateVersionsQueryPageSizeDefault = 50;
968
+ export declare const listLaunchTemplateVersionsQueryPageSizeMax = 200;
969
+ export declare const ListLaunchTemplateVersionsQueryParams: zod.ZodObject<{
970
+ page: zod.ZodDefault<zod.ZodInt>;
971
+ page_size: zod.ZodDefault<zod.ZodInt>;
972
+ }, zod.z.core.$strict>;
973
+ /**
974
+ * Adds a version, numbered after every version the template ever had, so a deleted version's number is never reused. It does not become the default by itself; set `default_version_number` on the template for that. A template holds at most 100 live versions (`LAUNCH_TEMPLATE_VERSION_LIMIT`).
975
+ * @summary Create a launch template version
976
+ */
977
+ export declare const createLaunchTemplateVersionPathLaunchTemplateIdMin = 29;
978
+ export declare const createLaunchTemplateVersionPathLaunchTemplateIdMax = 29;
979
+ export declare const createLaunchTemplateVersionPathLaunchTemplateIdRegExp: RegExp;
980
+ export declare const CreateLaunchTemplateVersionParams: zod.ZodObject<{
981
+ launchTemplateId: zod.ZodString;
982
+ }, zod.z.core.$strict>;
983
+ export declare const CreateLaunchTemplateVersionBody: zod.ZodObject<{
984
+ version_description: zod.ZodOptional<zod.ZodString>;
985
+ instance_type_id: zod.ZodOptional<zod.ZodString>;
986
+ boot_volume: zod.ZodOptional<zod.ZodObject<{
987
+ image_id: zod.ZodString;
988
+ volume_type_id: zod.ZodString;
989
+ size_gib: zod.ZodInt;
990
+ on_instance_release: zod.ZodDefault<zod.ZodEnum<{
991
+ delete: "delete";
992
+ detach: "detach";
993
+ }>>;
994
+ }, zod.z.core.$strict>>;
995
+ data_volumes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
996
+ volume_type_id: zod.ZodString;
997
+ size_gib: zod.ZodInt;
998
+ on_instance_release: zod.ZodDefault<zod.ZodEnum<{
999
+ delete: "delete";
1000
+ detach: "detach";
1001
+ }>>;
1002
+ }, zod.z.core.$strict>>>;
1003
+ network_interface: zod.ZodOptional<zod.ZodObject<{
1004
+ subnet_id: zod.ZodString;
1005
+ security_group_ids: zod.ZodArray<zod.ZodString>;
1006
+ }, zod.z.core.$strict>>;
1007
+ elastic_ip: zod.ZodOptional<zod.ZodObject<{
1008
+ line_id: zod.ZodString;
1009
+ bandwidth_mbps: zod.ZodInt;
1010
+ internet_charge_type: zod.ZodOptional<zod.ZodEnum<{
1011
+ bandwidth: "bandwidth";
1012
+ traffic: "traffic";
1013
+ }>>;
1014
+ }, zod.z.core.$strict>>;
1015
+ labels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1016
+ description: zod.ZodOptional<zod.ZodString>;
1017
+ }, zod.z.core.$strict>;
1018
+ /**
1019
+ * @summary Get a launch template version
1020
+ */
1021
+ export declare const getLaunchTemplateVersionPathLaunchTemplateIdMin = 29;
1022
+ export declare const getLaunchTemplateVersionPathLaunchTemplateIdMax = 29;
1023
+ export declare const getLaunchTemplateVersionPathLaunchTemplateIdRegExp: RegExp;
1024
+ export declare const GetLaunchTemplateVersionParams: zod.ZodObject<{
1025
+ launchTemplateId: zod.ZodString;
1026
+ versionNumber: zod.ZodInt;
1027
+ }, zod.z.core.$strict>;
1028
+ /**
1029
+ * The default version cannot be deleted (`LAUNCH_TEMPLATE_VERSION_DEFAULT`); make another version the default first.
1030
+ * @summary Delete a launch template version
1031
+ */
1032
+ export declare const deleteLaunchTemplateVersionPathLaunchTemplateIdMin = 29;
1033
+ export declare const deleteLaunchTemplateVersionPathLaunchTemplateIdMax = 29;
1034
+ export declare const deleteLaunchTemplateVersionPathLaunchTemplateIdRegExp: RegExp;
1035
+ export declare const DeleteLaunchTemplateVersionParams: zod.ZodObject<{
1036
+ launchTemplateId: zod.ZodString;
1037
+ versionNumber: zod.ZodInt;
1038
+ }, zod.z.core.$strict>;
1039
+ /**
1040
+ * @summary List network interfaces
1041
+ */
1042
+ export declare const listNetworkInterfacesQueryPageDefault = 1;
1043
+ export declare const listNetworkInterfacesQueryPageMax = 2147483647;
1044
+ export declare const listNetworkInterfacesQueryPageSizeDefault = 50;
1045
+ export declare const listNetworkInterfacesQueryPageSizeMax = 200;
1046
+ export declare const ListNetworkInterfacesQueryParams: zod.ZodObject<{
1047
+ page: zod.ZodDefault<zod.ZodInt>;
1048
+ page_size: zod.ZodDefault<zod.ZodInt>;
1049
+ }, zod.z.core.$strict>;
1050
+ /**
1051
+ * The new network interface is not attached to any instance. Primary network interfaces are not created here; they are created with the instance.
1052
+ * @summary Create a network interface
1053
+ */
1054
+ export declare const CreateNetworkInterfaceBody: zod.ZodObject<{
1055
+ name: zod.ZodOptional<zod.ZodString>;
1056
+ security_group_ids: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
1057
+ subnet_id: zod.ZodString;
1058
+ address: zod.ZodOptional<zod.ZodString>;
1059
+ }, zod.z.core.$strict>;
1060
+ /**
1061
+ * Returns the stored state of the network interface; it does not query the cloud.
1062
+ * @summary Retrieve a network interface
1063
+ */
1064
+ export declare const getNetworkInterfacePathNetworkInterfaceIdMin = 30;
1065
+ export declare const getNetworkInterfacePathNetworkInterfaceIdMax = 30;
1066
+ export declare const getNetworkInterfacePathNetworkInterfaceIdRegExp: RegExp;
1067
+ export declare const GetNetworkInterfaceParams: zod.ZodObject<{
1068
+ networkInterfaceId: zod.ZodString;
1069
+ }, zod.z.core.$strict>;
1070
+ /**
1071
+ * Changes the name, or replaces the security groups. The two are never combined (422 `UPDATE_FIELDS_COMBINED`).
1072
+ *
1073
+ * - `name` is not an operation, is accepted at any time and answers 200.
1074
+ * - `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 showing the `update_security_groups` operation until then.
1075
+ *
1076
+ * Secondary IPv4 addresses are added and removed under `/network-interfaces/{networkInterfaceId}/addresses`.
1077
+ * @summary Update a network interface
1078
+ */
1079
+ export declare const updateNetworkInterfacePathNetworkInterfaceIdMin = 30;
1080
+ export declare const updateNetworkInterfacePathNetworkInterfaceIdMax = 30;
1081
+ export declare const updateNetworkInterfacePathNetworkInterfaceIdRegExp: RegExp;
1082
+ export declare const UpdateNetworkInterfaceParams: zod.ZodObject<{
1083
+ networkInterfaceId: zod.ZodString;
1084
+ }, zod.z.core.$strict>;
1085
+ export declare const UpdateNetworkInterfaceBody: zod.ZodObject<{
1086
+ name: zod.ZodOptional<zod.ZodString>;
1087
+ security_group_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1088
+ }, zod.z.core.$strict>;
1089
+ /**
1090
+ * 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.
1091
+ * @summary Delete a network interface
1092
+ */
1093
+ export declare const deleteNetworkInterfacePathNetworkInterfaceIdMin = 30;
1094
+ export declare const deleteNetworkInterfacePathNetworkInterfaceIdMax = 30;
1095
+ export declare const deleteNetworkInterfacePathNetworkInterfaceIdRegExp: RegExp;
1096
+ export declare const DeleteNetworkInterfaceParams: zod.ZodObject<{
1097
+ networkInterfaceId: zod.ZodString;
1098
+ }, zod.z.core.$strict>;
1099
+ /**
1100
+ * Adds an IPv4 address in the network interface's subnet, given or chosen by the network, and answers 202 with the network interface showing the `add_address` operation 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.
1101
+ *
1102
+ * **The operating system has to be configured to use it**: DHCP hands out only the primary address. Changing the addresses of a network interface in use may briefly interrupt its traffic.
1103
+ *
1104
+ * A network interface holds at most its instance's instance type's `max_ipv4_per_network_interface` IPv4 addresses while attached, and 50 otherwise (409 `NETWORK_INTERFACE_ADDRESS_CEILING`). An address already in use in the subnet is refused with 409 `NETWORK_INTERFACE_ADDRESS_ALREADY_TAKEN`, a full subnet with 409 `NETWORK_INTERFACE_SUBNET_EXHAUSTED`.
1105
+ * @summary Add a secondary IPv4 address
1106
+ */
1107
+ export declare const createNetworkInterfaceAddressPathNetworkInterfaceIdMin = 30;
1108
+ export declare const createNetworkInterfaceAddressPathNetworkInterfaceIdMax = 30;
1109
+ export declare const createNetworkInterfaceAddressPathNetworkInterfaceIdRegExp: RegExp;
1110
+ export declare const CreateNetworkInterfaceAddressParams: zod.ZodObject<{
1111
+ networkInterfaceId: zod.ZodString;
1112
+ }, zod.z.core.$strict>;
1113
+ export declare const CreateNetworkInterfaceAddressBody: zod.ZodObject<{
1114
+ address: zod.ZodOptional<zod.ZodString>;
1115
+ }, zod.z.core.$strict>;
1116
+ /**
1117
+ * Removes a secondary IPv4 address and answers 202 with the network interface showing the `remove_address` operation until it is gone. The primary address goes only with the network interface (409 `NETWORK_INTERFACE_ADDRESS_PRIMARY`), and an address an elastic IP is associated with is refused until it is disassociated (409 `NETWORK_INTERFACE_ADDRESS_ASSOCIATED`).
1118
+ * @summary Remove a secondary IPv4 address
1119
+ */
1120
+ export declare const deleteNetworkInterfaceAddressPathNetworkInterfaceIdMin = 30;
1121
+ export declare const deleteNetworkInterfaceAddressPathNetworkInterfaceIdMax = 30;
1122
+ export declare const deleteNetworkInterfaceAddressPathNetworkInterfaceIdRegExp: RegExp;
1123
+ export declare const deleteNetworkInterfaceAddressPathAddressIdMin = 37;
1124
+ export declare const deleteNetworkInterfaceAddressPathAddressIdMax = 37;
1125
+ export declare const deleteNetworkInterfaceAddressPathAddressIdRegExp: RegExp;
1126
+ export declare const DeleteNetworkInterfaceAddressParams: zod.ZodObject<{
1127
+ networkInterfaceId: zod.ZodString;
1128
+ addressId: zod.ZodString;
1129
+ }, zod.z.core.$strict>;
1130
+ /**
1131
+ * Records every write operation in the project: who performed it, when, on what, and its outcome. Read operations are not recorded.
1132
+ *
1133
+ * **Operations performed by the platform are included, but the individual operator is not disclosed** and `actor_type` is `platform`. Suspension for non-payment and bans for abuse are examples: the time at which an instance was stopped by the platform is needed, whereas the operator is internal information.
1134
+ *
1135
+ * Fields such as passwords are replaced with a placeholder as the record is written and never appear in `payload`.
1136
+ * @summary List the operation log of the project
1137
+ */
1138
+ export declare const listOperationLogsQueryActionMax = 64;
1139
+ export declare const listOperationLogsQueryPageDefault = 1;
1140
+ export declare const listOperationLogsQueryPageMax = 2147483647;
1141
+ export declare const listOperationLogsQueryPageSizeDefault = 50;
1142
+ export declare const listOperationLogsQueryPageSizeMax = 200;
1143
+ export declare const ListOperationLogsQueryParams: zod.ZodObject<{
1144
+ action: zod.ZodOptional<zod.ZodString>;
1145
+ page: zod.ZodDefault<zod.ZodInt>;
1146
+ page_size: zod.ZodDefault<zod.ZodInt>;
1147
+ }, zod.z.core.$strict>;
1148
+ /**
1149
+ * Returns one entry of the project's operation log. Like the listing, it never discloses the individual operator of an operation performed by the platform.
1150
+ * @summary Retrieve an operation log entry
1151
+ */
1152
+ export declare const getOperationLogPathOperationLogIdMin = 39;
1153
+ export declare const getOperationLogPathOperationLogIdMax = 39;
1154
+ export declare const getOperationLogPathOperationLogIdRegExp: RegExp;
1155
+ export declare const GetOperationLogParams: zod.ZodObject<{
1156
+ operationLogId: zod.ZodString;
1157
+ }, zod.z.core.$strict>;
1158
+ /**
1159
+ * Lists the private images of this project, newest first, in every status: including while a capture is in progress and after it failed. Private images of other projects are never listed.
1160
+ *
1161
+ * A private image is usable only by the project that captured it from one of its instances. Its storage is metered by the hour on a subscription of the project.
1162
+ *
1163
+ * An image can only be used in the region that holds it. An image whose `min_memory_mib` exceeds the memory of the selected instance type cannot boot; filter the options accordingly. Public images are in `/public-images`.
1164
+ * @summary List private images
1165
+ */
1166
+ export declare const listPrivateImagesQueryRegionIdMin = 33;
1167
+ export declare const listPrivateImagesQueryRegionIdMax = 33;
1168
+ export declare const listPrivateImagesQueryRegionIdRegExp: RegExp;
1169
+ export declare const listPrivateImagesQueryPageDefault = 1;
1170
+ export declare const listPrivateImagesQueryPageMax = 2147483647;
1171
+ export declare const listPrivateImagesQueryPageSizeDefault = 50;
1172
+ export declare const listPrivateImagesQueryPageSizeMax = 200;
1173
+ export declare const ListPrivateImagesQueryParams: zod.ZodObject<{
1174
+ region_id: zod.ZodOptional<zod.ZodString>;
1175
+ page: zod.ZodDefault<zod.ZodInt>;
1176
+ page_size: zod.ZodDefault<zod.ZodInt>;
1177
+ }, zod.z.core.$strict>;
1178
+ /**
1179
+ * Creates a project image from the instance boot volume, excluding data volumes. Stop the instance first for file-system consistency. The instance cannot be released while its source volume is being captured. Compute project quotas are enforced independently of billing.
1180
+ *
1181
+ * It is metered on a subscription of its own and takes no billing choice. Each second the image is stored is reported under its region and its `billing_position`: its place among the project's stored private images in the region, counted from the oldest, which moves up whenever an older one is deleted. Billing prices each position, and a position it prices at zero costs nothing; that is how a number of images in each region are free. The image's size does not change what it costs. It is bought through a Billing Checkout Session: automatic checkout completes at once for metered pricing and the image is captured as soon as the order is accepted; with deferred checkout it stays `pending` until the customer completes checkout in Billing. The source and project quotas are checked before the Checkout Session is created, and a refused request creates nothing.
1182
+ *
1183
+ * The image shows the `create` operation from the moment its Checkout Session is created until it is delivered or its checkout or order ends. While its purchase awaits checkout or payment its deletion is refused with `COMPUTE_PURCHASE_PENDING`; once the capture runs, deletion is the one operation it accepts.
1184
+ * @summary Capture an instance as a private image
1185
+ */
1186
+ export declare const CreatePrivateImageBody: zod.ZodObject<{
1187
+ instance_id: zod.ZodString;
1188
+ name: zod.ZodString;
1189
+ checkout: zod.ZodOptional<zod.ZodObject<{
1190
+ mode: zod.ZodDefault<zod.ZodEnum<{
1191
+ automatic: "automatic";
1192
+ deferred: "deferred";
1193
+ }>>;
1194
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
1195
+ return_url: zod.ZodOptional<zod.ZodURL>;
1196
+ }, zod.z.core.$strict>>;
1197
+ }, zod.z.core.$strict>;
1198
+ /**
1199
+ * Returns a private image of this project; any other image, public images included, is reported as not found. Use this endpoint to poll capture progress. When `status` is `failed`, `failure` describes the outcome.
1200
+ * @summary Retrieve a private image
1201
+ */
1202
+ export declare const getPrivateImagePathPrivateImageIdMin = 32;
1203
+ export declare const getPrivateImagePathPrivateImageIdMax = 32;
1204
+ export declare const getPrivateImagePathPrivateImageIdRegExp: RegExp;
1205
+ export declare const GetPrivateImageParams: zod.ZodObject<{
1206
+ privateImageId: zod.ZodString;
1207
+ }, zod.z.core.$strict>;
1208
+ /**
1209
+ * Renames a private image of this project. Any other image, public images included, is reported as not found.
1210
+ * @summary Update a private image
1211
+ */
1212
+ export declare const updatePrivateImagePathPrivateImageIdMin = 32;
1213
+ export declare const updatePrivateImagePathPrivateImageIdMax = 32;
1214
+ export declare const updatePrivateImagePathPrivateImageIdRegExp: RegExp;
1215
+ export declare const UpdatePrivateImageParams: zod.ZodObject<{
1216
+ privateImageId: zod.ZodString;
1217
+ }, zod.z.core.$strict>;
1218
+ export declare const UpdatePrivateImageBody: zod.ZodObject<{
1219
+ name: zod.ZodString;
1220
+ }, zod.z.core.$strict>;
1221
+ /**
1222
+ * Deletes a private image of this project; any other image, public images included, is reported as not found.
1223
+ *
1224
+ * Deletion is rejected while instances created from the image still exist, as they need it in order to be rebuilt.
1225
+ *
1226
+ * An image whose capture has not finished can be deleted; the capture is aborted. This is the one operation accepted while the `create` operation is in progress.
1227
+ *
1228
+ * Quota capacity and storage metering are released only after cleanup is confirmed.
1229
+ *
1230
+ * 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.
1231
+ *
1232
+ * 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.
1233
+ * @summary Delete a private image
1234
+ */
1235
+ export declare const deletePrivateImagePathPrivateImageIdMin = 32;
1236
+ export declare const deletePrivateImagePathPrivateImageIdMax = 32;
1237
+ export declare const deletePrivateImagePathPrivateImageIdRegExp: RegExp;
1238
+ export declare const DeletePrivateImageParams: zod.ZodObject<{
1239
+ privateImageId: zod.ZodString;
1240
+ }, zod.z.core.$strict>;
1241
+ export declare const DeletePrivateImageQueryParams: zod.ZodObject<{
1242
+ cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
1243
+ immediate: "immediate";
1244
+ period_end: "period_end";
1245
+ }>>;
1246
+ }, zod.z.core.$strict>;
1247
+ /**
1248
+ * Lists the platform's public images that are on sale. A public image is offered to every project. One the platform withdraws disappears from here and can no longer install new instances, while the instances already running it keep running and can still be rebuilt onto it; retrieve it by id to see it.
1249
+ *
1250
+ * An image can only be used in the region that holds it. An image whose `min_memory_mib` exceeds the memory of the selected instance type cannot boot; filter the options accordingly.
1251
+ *
1252
+ * Images this project captured from its own instances are in `/private-images`.
1253
+ * @summary List public images
1254
+ */
1255
+ export declare const listPublicImagesQueryRegionIdMin = 33;
1256
+ export declare const listPublicImagesQueryRegionIdMax = 33;
1257
+ export declare const listPublicImagesQueryRegionIdRegExp: RegExp;
1258
+ export declare const listPublicImagesQueryPageDefault = 1;
1259
+ export declare const listPublicImagesQueryPageMax = 2147483647;
1260
+ export declare const listPublicImagesQueryPageSizeDefault = 50;
1261
+ export declare const listPublicImagesQueryPageSizeMax = 200;
1262
+ export declare const ListPublicImagesQueryParams: zod.ZodObject<{
1263
+ region_id: zod.ZodOptional<zod.ZodString>;
1264
+ page: zod.ZodDefault<zod.ZodInt>;
1265
+ page_size: zod.ZodDefault<zod.ZodInt>;
1266
+ }, zod.z.core.$strict>;
1267
+ /**
1268
+ * Returns a public image, on sale or withdrawn. A withdrawn image (`sale_status` is `off_sale`) is still returned because instances may keep running it; it cannot be chosen for a new instance and can only be rebuilt onto by an instance that already runs it. A private image id is reported as not found here; use `/private-images`.
1269
+ * @summary Retrieve a public image
1270
+ */
1271
+ export declare const getPublicImagePathPublicImageIdMin = 32;
1272
+ export declare const getPublicImagePathPublicImageIdMax = 32;
1273
+ export declare const getPublicImagePathPublicImageIdRegExp: RegExp;
1274
+ export declare const GetPublicImageParams: zod.ZodObject<{
1275
+ publicImageId: zod.ZodString;
1276
+ }, zod.z.core.$strict>;
1277
+ /**
1278
+ * Reads only the IAM project authorized by the scoped token; callers cannot select another project. Returns every resource's limit for the project in the region through shared pagination, the platform default included where no limit was set. A quota is per region, since each region has its own capacity; what the project holds in one region never counts against another. An unknown region is refused with 404. No usage is returned.
1279
+ * @summary List project quotas in a region
1280
+ */
1281
+ export declare const listQuotasPathRegionIdMin = 33;
1282
+ export declare const listQuotasPathRegionIdMax = 33;
1283
+ export declare const listQuotasPathRegionIdRegExp: RegExp;
1284
+ export declare const ListQuotasParams: zod.ZodObject<{
1285
+ regionId: zod.ZodString;
1286
+ }, zod.z.core.$strict>;
1287
+ export declare const listQuotasQueryPageDefault = 1;
1288
+ export declare const listQuotasQueryPageMax = 2147483647;
1289
+ export declare const listQuotasQueryPageSizeDefault = 50;
1290
+ export declare const listQuotasQueryPageSizeMax = 200;
1291
+ export declare const ListQuotasQueryParams: zod.ZodObject<{
1292
+ page: zod.ZodDefault<zod.ZodInt>;
1293
+ page_size: zod.ZodDefault<zod.ZodInt>;
1294
+ }, zod.z.core.$strict>;
1295
+ /**
1296
+ * Reads only the IAM project authorized by the scoped token; callers cannot select another project. Returns the limit in force, the platform default when no limit was set. Unknown resource values are rejected; an unknown region is refused with 404.
1297
+ * @summary Get a project quota in a region
1298
+ */
1299
+ export declare const getQuotaPathRegionIdMin = 33;
1300
+ export declare const getQuotaPathRegionIdMax = 33;
1301
+ export declare const getQuotaPathRegionIdRegExp: RegExp;
1302
+ export declare const GetQuotaParams: zod.ZodObject<{
1303
+ regionId: zod.ZodString;
1304
+ resource: zod.ZodEnum<{
1305
+ instances: "instances";
1306
+ vcpus: "vcpus";
1307
+ memory_mib: "memory_mib";
1308
+ volumes: "volumes";
1309
+ volume_gib: "volume_gib";
1310
+ virtual_private_clouds: "virtual_private_clouds";
1311
+ virtual_private_cloud_subnets: "virtual_private_cloud_subnets";
1312
+ network_interfaces: "network_interfaces";
1313
+ elastic_ips: "elastic_ips";
1314
+ security_groups: "security_groups";
1315
+ security_group_rules: "security_group_rules";
1316
+ volume_snapshots: "volume_snapshots";
1317
+ volume_backups: "volume_backups";
1318
+ private_images: "private_images";
1319
+ }>;
1320
+ }, zod.z.core.$strict>;
1321
+ /**
1322
+ * @summary List available regions
1323
+ */
1324
+ export declare const listRegionsQueryPageDefault = 1;
1325
+ export declare const listRegionsQueryPageMax = 2147483647;
1326
+ export declare const listRegionsQueryPageSizeDefault = 50;
1327
+ export declare const listRegionsQueryPageSizeMax = 200;
1328
+ export declare const ListRegionsQueryParams: zod.ZodObject<{
1329
+ page: zod.ZodDefault<zod.ZodInt>;
1330
+ page_size: zod.ZodDefault<zod.ZodInt>;
1331
+ }, zod.z.core.$strict>;
1332
+ /**
1333
+ * The availability zones of a region are listed by `list-availability-zones` with `region_id`.
1334
+ * @summary Retrieve a region
1335
+ */
1336
+ export declare const getRegionPathRegionIdMin = 33;
1337
+ export declare const getRegionPathRegionIdMax = 33;
1338
+ export declare const getRegionPathRegionIdRegExp: RegExp;
1339
+ export declare const GetRegionParams: zod.ZodObject<{
1340
+ regionId: zod.ZodString;
1341
+ }, zod.z.core.$strict>;
1342
+ /**
1343
+ * The rules of the security group, or with `-` those of every security group of the project.
1344
+ * @summary List security group rules
1345
+ */
1346
+ export declare const listSecurityGroupRulesPathSecurityGroupIdRegExp: RegExp;
1347
+ export declare const ListSecurityGroupRulesParams: zod.ZodObject<{
1348
+ securityGroupId: zod.ZodString;
1349
+ }, zod.z.core.$strict>;
1350
+ export declare const listSecurityGroupRulesQueryPageDefault = 1;
1351
+ export declare const listSecurityGroupRulesQueryPageMax = 2147483647;
1352
+ export declare const listSecurityGroupRulesQueryPageSizeDefault = 50;
1353
+ export declare const listSecurityGroupRulesQueryPageSizeMax = 200;
1354
+ export declare const ListSecurityGroupRulesQueryParams: zod.ZodObject<{
1355
+ page: zod.ZodDefault<zod.ZodInt>;
1356
+ page_size: zod.ZodDefault<zod.ZodInt>;
1357
+ }, zod.z.core.$strict>;
1358
+ /**
1359
+ * Refused when the group already has a rule meaning the same thing; `0.0.0.0/0`, `::/0` and an omitted remote prefix all mean every address. Rules cannot be changed; replace one by creating the new rule and deleting the old one.
1360
+ * @summary Create a security group rule
1361
+ */
1362
+ export declare const createSecurityGroupRulePathSecurityGroupIdMin = 29;
1363
+ export declare const createSecurityGroupRulePathSecurityGroupIdMax = 29;
1364
+ export declare const createSecurityGroupRulePathSecurityGroupIdRegExp: RegExp;
1365
+ export declare const CreateSecurityGroupRuleParams: zod.ZodObject<{
1366
+ securityGroupId: zod.ZodString;
1367
+ }, zod.z.core.$strict>;
1368
+ export declare const CreateSecurityGroupRuleBody: zod.ZodObject<{
1369
+ direction: zod.ZodEnum<{
1370
+ ingress: "ingress";
1371
+ egress: "egress";
1372
+ }>;
1373
+ ip_version: zod.ZodUnion<readonly [zod.ZodLiteral<4>, zod.ZodLiteral<6>]>;
1374
+ protocol: zod.ZodOptional<zod.ZodString>;
1375
+ port_range_min: zod.ZodOptional<zod.ZodInt>;
1376
+ port_range_max: zod.ZodOptional<zod.ZodInt>;
1377
+ remote_cidr: zod.ZodOptional<zod.ZodString>;
1378
+ description: zod.ZodOptional<zod.ZodString>;
1379
+ }, zod.z.core.$strict>;
1380
+ /**
1381
+ * @summary Get a security group rule
1382
+ */
1383
+ export declare const getSecurityGroupRulePathSecurityGroupIdMin = 29;
1384
+ export declare const getSecurityGroupRulePathSecurityGroupIdMax = 29;
1385
+ export declare const getSecurityGroupRulePathSecurityGroupIdRegExp: RegExp;
1386
+ export declare const getSecurityGroupRulePathSecurityGroupRuleIdMin = 33;
1387
+ export declare const getSecurityGroupRulePathSecurityGroupRuleIdMax = 33;
1388
+ export declare const getSecurityGroupRulePathSecurityGroupRuleIdRegExp: RegExp;
1389
+ export declare const GetSecurityGroupRuleParams: zod.ZodObject<{
1390
+ securityGroupId: zod.ZodString;
1391
+ securityGroupRuleId: zod.ZodString;
1392
+ }, zod.z.core.$strict>;
1393
+ /**
1394
+ * @summary Delete a security group rule
1395
+ */
1396
+ export declare const deleteSecurityGroupRulePathSecurityGroupIdMin = 29;
1397
+ export declare const deleteSecurityGroupRulePathSecurityGroupIdMax = 29;
1398
+ export declare const deleteSecurityGroupRulePathSecurityGroupIdRegExp: RegExp;
1399
+ export declare const deleteSecurityGroupRulePathSecurityGroupRuleIdMin = 33;
1400
+ export declare const deleteSecurityGroupRulePathSecurityGroupRuleIdMax = 33;
1401
+ export declare const deleteSecurityGroupRulePathSecurityGroupRuleIdRegExp: RegExp;
1402
+ export declare const DeleteSecurityGroupRuleParams: zod.ZodObject<{
1403
+ securityGroupId: zod.ZodString;
1404
+ securityGroupRuleId: zod.ZodString;
1405
+ }, zod.z.core.$strict>;
1406
+ /**
1407
+ * @summary List security groups
1408
+ */
1409
+ export declare const listSecurityGroupsQueryRegionIdMin = 33;
1410
+ export declare const listSecurityGroupsQueryRegionIdMax = 33;
1411
+ export declare const listSecurityGroupsQueryRegionIdRegExp: RegExp;
1412
+ export declare const listSecurityGroupsQueryVirtualPrivateCloudIdMin = 30;
1413
+ export declare const listSecurityGroupsQueryVirtualPrivateCloudIdMax = 30;
1414
+ export declare const listSecurityGroupsQueryVirtualPrivateCloudIdRegExp: RegExp;
1415
+ export declare const listSecurityGroupsQueryPageDefault = 1;
1416
+ export declare const listSecurityGroupsQueryPageMax = 2147483647;
1417
+ export declare const listSecurityGroupsQueryPageSizeDefault = 50;
1418
+ export declare const listSecurityGroupsQueryPageSizeMax = 200;
1419
+ export declare const ListSecurityGroupsQueryParams: zod.ZodObject<{
1420
+ region_id: zod.ZodOptional<zod.ZodString>;
1421
+ virtual_private_cloud_id: zod.ZodOptional<zod.ZodString>;
1422
+ page: zod.ZodDefault<zod.ZodInt>;
1423
+ page_size: zod.ZodDefault<zod.ZodInt>;
1424
+ }, zod.z.core.$strict>;
1425
+ /**
1426
+ * A new security group admits all outbound traffic and denies inbound traffic, except ICMP fragmentation-needed (IPv4) and Packet Too Big (IPv6). Without those two, path MTU discovery fails, which shows as connections that establish and then stall on large packets. All of these are ordinary rules and can be deleted.
1427
+ * @summary Create a security group
1428
+ */
1429
+ export declare const CreateSecurityGroupBody: zod.ZodObject<{
1430
+ virtual_private_cloud_id: zod.ZodString;
1431
+ name: zod.ZodString;
1432
+ description: zod.ZodOptional<zod.ZodString>;
1433
+ }, zod.z.core.$strict>;
1434
+ /**
1435
+ * @summary Get a security group
1436
+ */
1437
+ export declare const getSecurityGroupPathSecurityGroupIdMin = 29;
1438
+ export declare const getSecurityGroupPathSecurityGroupIdMax = 29;
1439
+ export declare const getSecurityGroupPathSecurityGroupIdRegExp: RegExp;
1440
+ export declare const GetSecurityGroupParams: zod.ZodObject<{
1441
+ securityGroupId: zod.ZodString;
1442
+ }, zod.z.core.$strict>;
1443
+ /**
1444
+ * Changes the name or description. Rules are resources of their own, created and deleted under `/security-group-rules`.
1445
+ * @summary Update a security group
1446
+ */
1447
+ export declare const updateSecurityGroupPathSecurityGroupIdMin = 29;
1448
+ export declare const updateSecurityGroupPathSecurityGroupIdMax = 29;
1449
+ export declare const updateSecurityGroupPathSecurityGroupIdRegExp: RegExp;
1450
+ export declare const UpdateSecurityGroupParams: zod.ZodObject<{
1451
+ securityGroupId: zod.ZodString;
1452
+ }, zod.z.core.$strict>;
1453
+ export declare const UpdateSecurityGroupBody: zod.ZodObject<{
1454
+ name: zod.ZodOptional<zod.ZodString>;
1455
+ description: zod.ZodOptional<zod.ZodString>;
1456
+ }, zod.z.core.$strict>;
1457
+ /**
1458
+ * Refused while a network interface uses the group. The default security group cannot be deleted; it goes with its virtual private cloud.
1459
+ * @summary Delete a security group
1460
+ */
1461
+ export declare const deleteSecurityGroupPathSecurityGroupIdMin = 29;
1462
+ export declare const deleteSecurityGroupPathSecurityGroupIdMax = 29;
1463
+ export declare const deleteSecurityGroupPathSecurityGroupIdRegExp: RegExp;
1464
+ export declare const DeleteSecurityGroupParams: zod.ZodObject<{
1465
+ securityGroupId: zod.ZodString;
1466
+ }, zod.z.core.$strict>;
1467
+ /**
1468
+ * @summary List peerings
1469
+ */
1470
+ export declare const listVirtualPrivateCloudPeeringsQueryPageDefault = 1;
1471
+ export declare const listVirtualPrivateCloudPeeringsQueryPageMax = 2147483647;
1472
+ export declare const listVirtualPrivateCloudPeeringsQueryPageSizeDefault = 50;
1473
+ export declare const listVirtualPrivateCloudPeeringsQueryPageSizeMax = 200;
1474
+ export declare const ListVirtualPrivateCloudPeeringsQueryParams: zod.ZodObject<{
1475
+ page: zod.ZodDefault<zod.ZodInt>;
1476
+ page_size: zod.ZodDefault<zod.ZodInt>;
1477
+ }, zod.z.core.$strict>;
1478
+ /**
1479
+ * Request IPv4 peering between non-overlapping VPCs in the same Region. The target project must accept before any connectivity is created. Does not change security groups or provide transitive routing.
1480
+ * @summary Create peering
1481
+ */
1482
+ export declare const CreateVirtualPrivateCloudPeeringBody: zod.ZodObject<{
1483
+ name: zod.ZodString;
1484
+ requester_virtual_private_cloud_id: zod.ZodString;
1485
+ accepter_project_id: zod.ZodUUID;
1486
+ accepter_virtual_private_cloud_id: zod.ZodString;
1487
+ }, zod.z.core.$strict>;
1488
+ /**
1489
+ * @summary Get peering
1490
+ */
1491
+ export declare const getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
1492
+ export declare const getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
1493
+ export declare const getVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp: RegExp;
1494
+ export declare const GetVirtualPrivateCloudPeeringParams: zod.ZodObject<{
1495
+ virtualPrivateCloudPeeringId: zod.ZodString;
1496
+ }, zod.z.core.$strict>;
1497
+ /**
1498
+ * @summary Delete peering
1499
+ */
1500
+ export declare const deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
1501
+ export declare const deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
1502
+ export declare const deleteVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp: RegExp;
1503
+ export declare const DeleteVirtualPrivateCloudPeeringParams: zod.ZodObject<{
1504
+ virtualPrivateCloudPeeringId: zod.ZodString;
1505
+ }, zod.z.core.$strict>;
1506
+ /**
1507
+ * Starts the provisioning of the connectivity; the peering shows the `provision` operation until it is `active`. It does not change security groups or provide transitive routing. Only the accepter project may decide; the requester project is refused, because a peering would otherwise be accepted by the party who asked for it. The decision is made once: a peering whose `acceptance` is no longer `pending` refuses both methods.
1508
+ * @summary Accept a peering
1509
+ */
1510
+ export declare const acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
1511
+ export declare const acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
1512
+ export declare const acceptVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp: RegExp;
1513
+ export declare const AcceptVirtualPrivateCloudPeeringParams: zod.ZodObject<{
1514
+ virtualPrivateCloudPeeringId: zod.ZodString;
1515
+ }, zod.z.core.$strict>;
1516
+ /**
1517
+ * Ends the peering with its `acceptance` `rejected` and its `status` `deleted`; no connectivity is ever created. Only the accepter project may decide; the requester project is refused, because a peering would otherwise be accepted by the party who asked for it. The decision is made once: a peering whose `acceptance` is no longer `pending` refuses both methods.
1518
+ * @summary Reject a peering
1519
+ */
1520
+ export declare const rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMin = 37;
1521
+ export declare const rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdMax = 37;
1522
+ export declare const rejectVirtualPrivateCloudPeeringPathVirtualPrivateCloudPeeringIdRegExp: RegExp;
1523
+ export declare const RejectVirtualPrivateCloudPeeringParams: zod.ZodObject<{
1524
+ virtualPrivateCloudPeeringId: zod.ZodString;
1525
+ }, zod.z.core.$strict>;
1526
+ /**
1527
+ * Static routes of the virtual private cloud, or with `-` those of every virtual private cloud of the project, including the routes peerings write, which show `type` peering.
1528
+ * @summary List routes
1529
+ */
1530
+ export declare const listVirtualPrivateCloudRoutesPathVirtualPrivateCloudIdRegExp: RegExp;
1531
+ export declare const ListVirtualPrivateCloudRoutesParams: zod.ZodObject<{
1532
+ virtualPrivateCloudId: zod.ZodString;
1533
+ }, zod.z.core.$strict>;
1534
+ export declare const listVirtualPrivateCloudRoutesQueryPageDefault = 1;
1535
+ export declare const listVirtualPrivateCloudRoutesQueryPageMax = 2147483647;
1536
+ export declare const listVirtualPrivateCloudRoutesQueryPageSizeDefault = 50;
1537
+ export declare const listVirtualPrivateCloudRoutesQueryPageSizeMax = 200;
1538
+ export declare const ListVirtualPrivateCloudRoutesQueryParams: zod.ZodObject<{
1539
+ page: zod.ZodDefault<zod.ZodInt>;
1540
+ page_size: zod.ZodDefault<zod.ZodInt>;
1541
+ }, zod.z.core.$strict>;
1542
+ /**
1543
+ * Three forms that would sever connectivity are refused: a destination of `0.0.0.0/0`, which overrides the default route and takes every elastic IP offline immediately; a destination equal to the CIDR of a subnet, which overrides its directly connected route; and a next hop equal to the gateway of a subnet, which points back at the router itself. A destination overlapping a peering's route is refused with `VIRTUAL_PRIVATE_CLOUD_ROUTE_OVERLAPS_PEERING`.
1544
+ * @summary Create a static route
1545
+ */
1546
+ export declare const createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin = 30;
1547
+ export declare const createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax = 30;
1548
+ export declare const createVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp: RegExp;
1549
+ export declare const CreateVirtualPrivateCloudRouteParams: zod.ZodObject<{
1550
+ virtualPrivateCloudId: zod.ZodString;
1551
+ }, zod.z.core.$strict>;
1552
+ export declare const CreateVirtualPrivateCloudRouteBody: zod.ZodObject<{
1553
+ destination_cidr: zod.ZodString;
1554
+ next_hop_address: zod.ZodString;
1555
+ description: zod.ZodOptional<zod.ZodString>;
1556
+ }, zod.z.core.$strict>;
1557
+ /**
1558
+ * @summary Get a route
1559
+ */
1560
+ export declare const getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin = 30;
1561
+ export declare const getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax = 30;
1562
+ export declare const getVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp: RegExp;
1563
+ export declare const getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMin = 35;
1564
+ export declare const getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMax = 35;
1565
+ export declare const getVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdRegExp: RegExp;
1566
+ export declare const GetVirtualPrivateCloudRouteParams: zod.ZodObject<{
1567
+ virtualPrivateCloudId: zod.ZodString;
1568
+ virtualPrivateCloudRouteId: zod.ZodString;
1569
+ }, zod.z.core.$strict>;
1570
+ /**
1571
+ * A route has no update; replace it by creating the new route and deleting the old one. A peering's route is refused with `VIRTUAL_PRIVATE_CLOUD_ROUTE_HELD_BY_PEERING` and goes away with its peering.
1572
+ * @summary Delete a static route
1573
+ */
1574
+ export declare const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMin = 30;
1575
+ export declare const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdMax = 30;
1576
+ export declare const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudIdRegExp: RegExp;
1577
+ export declare const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMin = 35;
1578
+ export declare const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdMax = 35;
1579
+ export declare const deleteVirtualPrivateCloudRoutePathVirtualPrivateCloudRouteIdRegExp: RegExp;
1580
+ export declare const DeleteVirtualPrivateCloudRouteParams: zod.ZodObject<{
1581
+ virtualPrivateCloudId: zod.ZodString;
1582
+ virtualPrivateCloudRouteId: zod.ZodString;
1583
+ }, zod.z.core.$strict>;
1584
+ /**
1585
+ * The subnets of the virtual private cloud, or with `-` those of every virtual private cloud of the project. A subnet is dual-stack once IPv6 is enabled on its virtual private cloud, which gives every subnet a /64 of the cloud's /56.
1586
+ * @summary List subnets
1587
+ */
1588
+ export declare const listVirtualPrivateCloudSubnetsPathVirtualPrivateCloudIdRegExp: RegExp;
1589
+ export declare const ListVirtualPrivateCloudSubnetsParams: zod.ZodObject<{
1590
+ virtualPrivateCloudId: zod.ZodString;
1591
+ }, zod.z.core.$strict>;
1592
+ export declare const listVirtualPrivateCloudSubnetsQueryPageDefault = 1;
1593
+ export declare const listVirtualPrivateCloudSubnetsQueryPageMax = 2147483647;
1594
+ export declare const listVirtualPrivateCloudSubnetsQueryPageSizeDefault = 50;
1595
+ export declare const listVirtualPrivateCloudSubnetsQueryPageSizeMax = 200;
1596
+ export declare const ListVirtualPrivateCloudSubnetsQueryParams: zod.ZodObject<{
1597
+ page: zod.ZodDefault<zod.ZodInt>;
1598
+ page_size: zod.ZodDefault<zod.ZodInt>;
1599
+ }, zod.z.core.$strict>;
1600
+ /**
1601
+ * The IPv4 CIDR must fall inside the virtual private cloud's CIDR and must not overlap another subnet of it; to find a free one, read the virtual private cloud's `free-subnet-cidr`. In a virtual private cloud with IPv6 enabled the subnet also takes the lowest free /64 of the cloud's /56, refused with 409 `VIRTUAL_PRIVATE_CLOUD_SUBNET_IPV6_CIDR_EXHAUSTED` when none is left.
1602
+ * @summary Create a subnet
1603
+ */
1604
+ export declare const createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
1605
+ export declare const createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
1606
+ export declare const createVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp: RegExp;
1607
+ export declare const CreateVirtualPrivateCloudSubnetParams: zod.ZodObject<{
1608
+ virtualPrivateCloudId: zod.ZodString;
1609
+ }, zod.z.core.$strict>;
1610
+ export declare const CreateVirtualPrivateCloudSubnetBody: zod.ZodObject<{
1611
+ name: zod.ZodString;
1612
+ ipv4_cidr: zod.ZodString;
1613
+ }, zod.z.core.$strict>;
1614
+ /**
1615
+ * @summary Get a subnet
1616
+ */
1617
+ export declare const getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
1618
+ export declare const getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
1619
+ export declare const getVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp: RegExp;
1620
+ export declare const getVirtualPrivateCloudSubnetPathSubnetIdMin = 33;
1621
+ export declare const getVirtualPrivateCloudSubnetPathSubnetIdMax = 33;
1622
+ export declare const getVirtualPrivateCloudSubnetPathSubnetIdRegExp: RegExp;
1623
+ export declare const GetVirtualPrivateCloudSubnetParams: zod.ZodObject<{
1624
+ virtualPrivateCloudId: zod.ZodString;
1625
+ subnetId: zod.ZodString;
1626
+ }, zod.z.core.$strict>;
1627
+ /**
1628
+ * Only the name can change. The CIDR is fixed for the subnet's life, because addresses already handed out inside it would fall outside a changed range.
1629
+ * @summary Update a subnet
1630
+ */
1631
+ export declare const updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
1632
+ export declare const updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
1633
+ export declare const updateVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp: RegExp;
1634
+ export declare const updateVirtualPrivateCloudSubnetPathSubnetIdMin = 33;
1635
+ export declare const updateVirtualPrivateCloudSubnetPathSubnetIdMax = 33;
1636
+ export declare const updateVirtualPrivateCloudSubnetPathSubnetIdRegExp: RegExp;
1637
+ export declare const UpdateVirtualPrivateCloudSubnetParams: zod.ZodObject<{
1638
+ virtualPrivateCloudId: zod.ZodString;
1639
+ subnetId: zod.ZodString;
1640
+ }, zod.z.core.$strict>;
1641
+ export declare const UpdateVirtualPrivateCloudSubnetBody: zod.ZodObject<{
1642
+ name: zod.ZodOptional<zod.ZodString>;
1643
+ }, zod.z.core.$strict>;
1644
+ /**
1645
+ * Refused while network interfaces remain in the subnet, or while a static route has a next hop inside its CIDR. Its /64 goes back to the virtual private cloud's /56.
1646
+ * @summary Delete a subnet
1647
+ */
1648
+ export declare const deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMin = 30;
1649
+ export declare const deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdMax = 30;
1650
+ export declare const deleteVirtualPrivateCloudSubnetPathVirtualPrivateCloudIdRegExp: RegExp;
1651
+ export declare const deleteVirtualPrivateCloudSubnetPathSubnetIdMin = 33;
1652
+ export declare const deleteVirtualPrivateCloudSubnetPathSubnetIdMax = 33;
1653
+ export declare const deleteVirtualPrivateCloudSubnetPathSubnetIdRegExp: RegExp;
1654
+ export declare const DeleteVirtualPrivateCloudSubnetParams: zod.ZodObject<{
1655
+ virtualPrivateCloudId: zod.ZodString;
1656
+ subnetId: zod.ZodString;
1657
+ }, zod.z.core.$strict>;
1658
+ /**
1659
+ * @summary List virtual private clouds
1660
+ */
1661
+ export declare const listVirtualPrivateCloudsQueryRegionIdMin = 33;
1662
+ export declare const listVirtualPrivateCloudsQueryRegionIdMax = 33;
1663
+ export declare const listVirtualPrivateCloudsQueryRegionIdRegExp: RegExp;
1664
+ export declare const listVirtualPrivateCloudsQueryPageDefault = 1;
1665
+ export declare const listVirtualPrivateCloudsQueryPageMax = 2147483647;
1666
+ export declare const listVirtualPrivateCloudsQueryPageSizeDefault = 50;
1667
+ export declare const listVirtualPrivateCloudsQueryPageSizeMax = 200;
1668
+ export declare const ListVirtualPrivateCloudsQueryParams: zod.ZodObject<{
1669
+ region_id: zod.ZodOptional<zod.ZodString>;
1670
+ page: zod.ZodDefault<zod.ZodInt>;
1671
+ page_size: zod.ZodDefault<zod.ZodInt>;
1672
+ }, zod.z.core.$strict>;
1673
+ /**
1674
+ * Creates a virtual private cloud definition and its default security group. The default security group denies all inbound traffic and permits all outbound traffic.
1675
+ * @summary Create a virtual private cloud
1676
+ */
1677
+ export declare const CreateVirtualPrivateCloudBody: zod.ZodObject<{
1678
+ region_id: zod.ZodString;
1679
+ name: zod.ZodString;
1680
+ ipv4_cidr: zod.ZodString;
1681
+ }, zod.z.core.$strict>;
1682
+ /**
1683
+ * @summary Retrieve a virtual private cloud
1684
+ */
1685
+ export declare const getVirtualPrivateCloudPathVirtualPrivateCloudIdMin = 30;
1686
+ export declare const getVirtualPrivateCloudPathVirtualPrivateCloudIdMax = 30;
1687
+ export declare const getVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp: RegExp;
1688
+ export declare const GetVirtualPrivateCloudParams: zod.ZodObject<{
1689
+ virtualPrivateCloudId: zod.ZodString;
1690
+ }, zod.z.core.$strict>;
1691
+ /**
1692
+ * Only the name can change. The CIDR is fixed for the network's life, because every subnet and address inside it was allocated from it.
1693
+ * @summary Update a virtual private cloud
1694
+ */
1695
+ export declare const updateVirtualPrivateCloudPathVirtualPrivateCloudIdMin = 30;
1696
+ export declare const updateVirtualPrivateCloudPathVirtualPrivateCloudIdMax = 30;
1697
+ export declare const updateVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp: RegExp;
1698
+ export declare const UpdateVirtualPrivateCloudParams: zod.ZodObject<{
1699
+ virtualPrivateCloudId: zod.ZodString;
1700
+ }, zod.z.core.$strict>;
1701
+ export declare const UpdateVirtualPrivateCloudBody: zod.ZodObject<{
1702
+ name: zod.ZodOptional<zod.ZodString>;
1703
+ }, zod.z.core.$strict>;
1704
+ /**
1705
+ * Deletion is rejected while instances or network interfaces remain in the network. Its subnets, routes, security groups and IPv6 configuration are removed with it.
1706
+ * @summary Release a virtual private cloud
1707
+ */
1708
+ export declare const deleteVirtualPrivateCloudPathVirtualPrivateCloudIdMin = 30;
1709
+ export declare const deleteVirtualPrivateCloudPathVirtualPrivateCloudIdMax = 30;
1710
+ export declare const deleteVirtualPrivateCloudPathVirtualPrivateCloudIdRegExp: RegExp;
1711
+ export declare const DeleteVirtualPrivateCloudParams: zod.ZodObject<{
1712
+ virtualPrivateCloudId: zod.ZodString;
1713
+ }, zod.z.core.$strict>;
1714
+ /**
1715
+ * Gives the virtual private cloud a /56 that is routed to it, and every subnet of it a /64 of that /56; a subnet created afterwards takes its /64 at creation. It requires no elastic IP or NAT gateway: IPv6 is routed, not translated. A network interface created afterwards receives an address of its subnet's /64; addresses cannot be requested or released individually, and security groups apply to them as to IPv4. An interface created before IPv6 was enabled keeps only its IPv4 address.
1716
+ *
1717
+ * Enabling IPv6 that is already enabled answers with the virtual private cloud as it is.
1718
+ * @summary Enable IPv6 on a virtual private cloud
1719
+ */
1720
+ export declare const enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMin = 30;
1721
+ export declare const enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMax = 30;
1722
+ export declare const enableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdRegExp: RegExp;
1723
+ export declare const EnableVirtualPrivateCloudIpv6Params: zod.ZodObject<{
1724
+ virtualPrivateCloudId: zod.ZodString;
1725
+ }, zod.z.core.$strict>;
1726
+ /**
1727
+ * Removes the IPv6 of every subnet and gives the /56 back. Refused while a network interface remains in the virtual private cloud, since its IPv6 address would stop working with nothing reporting it.
1728
+ * @summary Disable IPv6 on a virtual private cloud
1729
+ */
1730
+ export declare const disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMin = 30;
1731
+ export declare const disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdMax = 30;
1732
+ export declare const disableVirtualPrivateCloudIpv6PathVirtualPrivateCloudIdRegExp: RegExp;
1733
+ export declare const DisableVirtualPrivateCloudIpv6Params: zod.ZodObject<{
1734
+ virtualPrivateCloudId: zod.ZodString;
1735
+ }, zod.z.core.$strict>;
1736
+ /**
1737
+ * The first CIDR of the given prefix length inside the virtual private cloud that no subnet overlaps. It is not reserved; creating the subnet checks it again.
1738
+ * @summary Get a free subnet CIDR
1739
+ */
1740
+ export declare const getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdMin = 30;
1741
+ export declare const getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdMax = 30;
1742
+ export declare const getVirtualPrivateCloudFreeSubnetCidrPathVirtualPrivateCloudIdRegExp: RegExp;
1743
+ export declare const GetVirtualPrivateCloudFreeSubnetCidrParams: zod.ZodObject<{
1744
+ virtualPrivateCloudId: zod.ZodString;
1745
+ }, zod.z.core.$strict>;
1746
+ export declare const getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthDefault = 24;
1747
+ export declare const getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthMin = 16;
1748
+ export declare const getVirtualPrivateCloudFreeSubnetCidrQueryPrefixLengthMax = 30;
1749
+ export declare const GetVirtualPrivateCloudFreeSubnetCidrQueryParams: zod.ZodObject<{
1750
+ prefix_length: zod.ZodDefault<zod.ZodInt>;
1751
+ }, zod.z.core.$strict>;
1752
+ /**
1753
+ * @summary List volume backups
1754
+ */
1755
+ export declare const listVolumeBackupsQueryVolumeIdMin = 30;
1756
+ export declare const listVolumeBackupsQueryVolumeIdMax = 30;
1757
+ export declare const listVolumeBackupsQueryVolumeIdRegExp: RegExp;
1758
+ export declare const listVolumeBackupsQueryPageDefault = 1;
1759
+ export declare const listVolumeBackupsQueryPageMax = 2147483647;
1760
+ export declare const listVolumeBackupsQueryPageSizeDefault = 50;
1761
+ export declare const listVolumeBackupsQueryPageSizeMax = 200;
1762
+ export declare const ListVolumeBackupsQueryParams: zod.ZodObject<{
1763
+ volume_id: zod.ZodOptional<zod.ZodString>;
1764
+ page: zod.ZodDefault<zod.ZodInt>;
1765
+ page_size: zod.ZodDefault<zod.ZodInt>;
1766
+ }, zod.z.core.$strict>;
1767
+ /**
1768
+ * Creates a backup of the volume. It remains restorable after the source volume is deleted and may be restored to another availability zone in the same region, by creating a volume with `volume_backup_id` (`create-volume`). A running instance may produce a file-system-inconsistent backup. Pending backups count toward Compute project quotas until cleanup is confirmed.
1769
+ *
1770
+ * It is metered by the hour on a subscription of its own and takes no billing choice. It is bought through a Billing Checkout Session: automatic checkout completes at once for metered pricing and the backup is taken as soon as the order is accepted; with deferred checkout it stays `pending` until the customer completes checkout in Billing. The source and project quotas are checked before the Checkout Session is created, and a refused request creates nothing.
1771
+ *
1772
+ * The backup shows the `create` operation 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.
1773
+ * @summary Create a volume backup
1774
+ */
1775
+ export declare const CreateVolumeBackupBody: zod.ZodObject<{
1776
+ volume_id: zod.ZodString;
1777
+ name: zod.ZodString;
1778
+ checkout: zod.ZodOptional<zod.ZodObject<{
1779
+ mode: zod.ZodDefault<zod.ZodEnum<{
1780
+ automatic: "automatic";
1781
+ deferred: "deferred";
1782
+ }>>;
1783
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
1784
+ return_url: zod.ZodOptional<zod.ZodURL>;
1785
+ }, zod.z.core.$strict>>;
1786
+ }, zod.z.core.$strict>;
1787
+ /**
1788
+ * Returns the stored state of the backup; it does not query the cloud. Use it to poll creation progress.
1789
+ * @summary Retrieve a volume backup
1790
+ */
1791
+ export declare const getVolumeBackupPathVolumeBackupIdMin = 36;
1792
+ export declare const getVolumeBackupPathVolumeBackupIdMax = 36;
1793
+ export declare const getVolumeBackupPathVolumeBackupIdRegExp: RegExp;
1794
+ export declare const GetVolumeBackupParams: zod.ZodObject<{
1795
+ volumeBackupId: zod.ZodString;
1796
+ }, zod.z.core.$strict>;
1797
+ /**
1798
+ * Changes the name only. A backup's source volume and capacity cannot be changed.
1799
+ * @summary Update a volume backup
1800
+ */
1801
+ export declare const updateVolumeBackupPathVolumeBackupIdMin = 36;
1802
+ export declare const updateVolumeBackupPathVolumeBackupIdMax = 36;
1803
+ export declare const updateVolumeBackupPathVolumeBackupIdRegExp: RegExp;
1804
+ export declare const UpdateVolumeBackupParams: zod.ZodObject<{
1805
+ volumeBackupId: zod.ZodString;
1806
+ }, zod.z.core.$strict>;
1807
+ export declare const UpdateVolumeBackupBody: zod.ZodObject<{
1808
+ name: zod.ZodOptional<zod.ZodString>;
1809
+ }, zod.z.core.$strict>;
1810
+ /**
1811
+ * Independent of the source volume: deletion succeeds whether or not that volume still exists. Metering of the backup ends once it is deleted.
1812
+ *
1813
+ * Quota capacity and storage metering are released only after cleanup is confirmed.
1814
+ *
1815
+ * 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.
1816
+ *
1817
+ * 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.
1818
+ * @summary Delete a volume backup
1819
+ */
1820
+ export declare const deleteVolumeBackupPathVolumeBackupIdMin = 36;
1821
+ export declare const deleteVolumeBackupPathVolumeBackupIdMax = 36;
1822
+ export declare const deleteVolumeBackupPathVolumeBackupIdRegExp: RegExp;
1823
+ export declare const DeleteVolumeBackupParams: zod.ZodObject<{
1824
+ volumeBackupId: zod.ZodString;
1825
+ }, zod.z.core.$strict>;
1826
+ export declare const DeleteVolumeBackupQueryParams: zod.ZodObject<{
1827
+ cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
1828
+ immediate: "immediate";
1829
+ period_end: "period_end";
1830
+ }>>;
1831
+ }, zod.z.core.$strict>;
1832
+ /**
1833
+ * @summary List snapshots
1834
+ */
1835
+ export declare const listVolumeSnapshotsQueryVolumeIdMin = 30;
1836
+ export declare const listVolumeSnapshotsQueryVolumeIdMax = 30;
1837
+ export declare const listVolumeSnapshotsQueryVolumeIdRegExp: RegExp;
1838
+ export declare const listVolumeSnapshotsQueryPageDefault = 1;
1839
+ export declare const listVolumeSnapshotsQueryPageMax = 2147483647;
1840
+ export declare const listVolumeSnapshotsQueryPageSizeDefault = 50;
1841
+ export declare const listVolumeSnapshotsQueryPageSizeMax = 200;
1842
+ export declare const ListVolumeSnapshotsQueryParams: zod.ZodObject<{
1843
+ volume_id: zod.ZodOptional<zod.ZodString>;
1844
+ page: zod.ZodDefault<zod.ZodInt>;
1845
+ page_size: zod.ZodDefault<zod.ZodInt>;
1846
+ }, zod.z.core.$strict>;
1847
+ /**
1848
+ * Creates a snapshot of the volume. A running instance may produce a file-system-inconsistent snapshot; flush pending writes first. A boot volume cannot be reverted while attached. Pending snapshots count toward Compute project quotas until creation fails and cleanup is confirmed.
1849
+ *
1850
+ * It is metered by the hour on a subscription of its own and takes no billing choice. It is bought through a Billing Checkout Session: automatic checkout completes at once for metered pricing and the snapshot is taken as soon as the order is accepted; with deferred checkout it stays `pending` until the customer completes checkout in Billing. The source and project quotas are checked before the Checkout Session is created, and a refused request creates nothing.
1851
+ *
1852
+ * The snapshot shows the `create` operation 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.
1853
+ * @summary Create a snapshot
1854
+ */
1855
+ export declare const CreateVolumeSnapshotBody: zod.ZodObject<{
1856
+ volume_id: zod.ZodString;
1857
+ name: zod.ZodString;
1858
+ checkout: zod.ZodOptional<zod.ZodObject<{
1859
+ mode: zod.ZodDefault<zod.ZodEnum<{
1860
+ automatic: "automatic";
1861
+ deferred: "deferred";
1862
+ }>>;
1863
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
1864
+ return_url: zod.ZodOptional<zod.ZodURL>;
1865
+ }, zod.z.core.$strict>>;
1866
+ }, zod.z.core.$strict>;
1867
+ /**
1868
+ * @summary Retrieve a snapshot
1869
+ */
1870
+ export declare const getVolumeSnapshotPathVolumeSnapshotIdMin = 38;
1871
+ export declare const getVolumeSnapshotPathVolumeSnapshotIdMax = 38;
1872
+ export declare const getVolumeSnapshotPathVolumeSnapshotIdRegExp: RegExp;
1873
+ export declare const GetVolumeSnapshotParams: zod.ZodObject<{
1874
+ volumeSnapshotId: zod.ZodString;
1875
+ }, zod.z.core.$strict>;
1876
+ /**
1877
+ * Changes the name only. A snapshot's source volume and capacity cannot be changed.
1878
+ * @summary Update a snapshot
1879
+ */
1880
+ export declare const updateVolumeSnapshotPathVolumeSnapshotIdMin = 38;
1881
+ export declare const updateVolumeSnapshotPathVolumeSnapshotIdMax = 38;
1882
+ export declare const updateVolumeSnapshotPathVolumeSnapshotIdRegExp: RegExp;
1883
+ export declare const UpdateVolumeSnapshotParams: zod.ZodObject<{
1884
+ volumeSnapshotId: zod.ZodString;
1885
+ }, zod.z.core.$strict>;
1886
+ export declare const UpdateVolumeSnapshotBody: zod.ZodObject<{
1887
+ name: zod.ZodOptional<zod.ZodString>;
1888
+ }, zod.z.core.$strict>;
1889
+ /**
1890
+ * Deletes this resource. Quota capacity and storage metering are released only after cleanup is confirmed.
1891
+ *
1892
+ * 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.
1893
+ *
1894
+ * 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.
1895
+ * @summary Delete a snapshot
1896
+ */
1897
+ export declare const deleteVolumeSnapshotPathVolumeSnapshotIdMin = 38;
1898
+ export declare const deleteVolumeSnapshotPathVolumeSnapshotIdMax = 38;
1899
+ export declare const deleteVolumeSnapshotPathVolumeSnapshotIdRegExp: RegExp;
1900
+ export declare const DeleteVolumeSnapshotParams: zod.ZodObject<{
1901
+ volumeSnapshotId: zod.ZodString;
1902
+ }, zod.z.core.$strict>;
1903
+ export declare const DeleteVolumeSnapshotQueryParams: zod.ZodObject<{
1904
+ cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
1905
+ immediate: "immediate";
1906
+ period_end: "period_end";
1907
+ }>>;
1908
+ }, zod.z.core.$strict>;
1909
+ /**
1910
+ * Volume types on sale are listed, and sold-out ones with `sale_status` `sold_out`. Any of them boots an instance of its zone, holds data or takes a restore. A withdrawn one disappears from here and can no longer be bought, while the volumes already on it keep working and can still be resized.
1911
+ * @summary List volume types on sale
1912
+ */
1913
+ export declare const listVolumeTypesQueryRegionIdMin = 33;
1914
+ export declare const listVolumeTypesQueryRegionIdMax = 33;
1915
+ export declare const listVolumeTypesQueryRegionIdRegExp: RegExp;
1916
+ export declare const listVolumeTypesQueryAvailabilityZoneIdMin = 31;
1917
+ export declare const listVolumeTypesQueryAvailabilityZoneIdMax = 31;
1918
+ export declare const listVolumeTypesQueryAvailabilityZoneIdRegExp: RegExp;
1919
+ export declare const listVolumeTypesQueryPageDefault = 1;
1920
+ export declare const listVolumeTypesQueryPageMax = 2147483647;
1921
+ export declare const listVolumeTypesQueryPageSizeDefault = 50;
1922
+ export declare const listVolumeTypesQueryPageSizeMax = 200;
1923
+ export declare const ListVolumeTypesQueryParams: zod.ZodObject<{
1924
+ region_id: zod.ZodOptional<zod.ZodString>;
1925
+ availability_zone_id: zod.ZodOptional<zod.ZodString>;
1926
+ page: zod.ZodDefault<zod.ZodInt>;
1927
+ page_size: zod.ZodDefault<zod.ZodInt>;
1928
+ }, zod.z.core.$strict>;
1929
+ /**
1930
+ * Retrieve capacity and performance constraints for an existing volume, including types withdrawn from sale.
1931
+ * @summary Get a volume type
1932
+ */
1933
+ export declare const getVolumeTypePathVolumeTypeIdMin = 34;
1934
+ export declare const getVolumeTypePathVolumeTypeIdMax = 34;
1935
+ export declare const getVolumeTypePathVolumeTypeIdRegExp: RegExp;
1936
+ export declare const GetVolumeTypeParams: zod.ZodObject<{
1937
+ volumeTypeId: zod.ZodString;
1938
+ }, zod.z.core.$strict>;
1939
+ /**
1940
+ * When both `region_id` and `availability_zone_id` are supplied, only volumes attachable to an instance at that location are returned.
1941
+ * @summary List volumes
1942
+ */
1943
+ export declare const listVolumesQueryRegionIdMin = 33;
1944
+ export declare const listVolumesQueryRegionIdMax = 33;
1945
+ export declare const listVolumesQueryRegionIdRegExp: RegExp;
1946
+ export declare const listVolumesQueryAvailabilityZoneIdMin = 31;
1947
+ export declare const listVolumesQueryAvailabilityZoneIdMax = 31;
1948
+ export declare const listVolumesQueryAvailabilityZoneIdRegExp: RegExp;
1949
+ export declare const listVolumesQueryPageDefault = 1;
1950
+ export declare const listVolumesQueryPageMax = 2147483647;
1951
+ export declare const listVolumesQueryPageSizeDefault = 50;
1952
+ export declare const listVolumesQueryPageSizeMax = 200;
1953
+ export declare const ListVolumesQueryParams: zod.ZodObject<{
1954
+ region_id: zod.ZodOptional<zod.ZodString>;
1955
+ availability_zone_id: zod.ZodOptional<zod.ZodString>;
1956
+ page: zod.ZodDefault<zod.ZodInt>;
1957
+ page_size: zod.ZodDefault<zod.ZodInt>;
1958
+ }, zod.z.core.$strict>;
1959
+ /**
1960
+ * The volume is created in the availability zone of its volume type, and only an instance in the same zone can attach it.
1961
+ *
1962
+ * The type has to have room for it, checked before anything is ordered: refused with 409 `VOLUME_TYPE_SOLD_OUT` when the type takes no new volumes for now, `VOLUME_TYPE_CAPACITY_REACHED` when what is sold of it is used up, and `VOLUME_TYPE_NO_POOL_ROOM` when the storage of its zone cannot take the volume. Two orders placed at the same moment can both pass; the one that finds the type full when its order is accepted is not created and is refunded, ending `failed` with `provisioning_failed`.
1963
+ *
1964
+ * The volume is empty, or is restored from exactly one source: `volume_snapshot_id` or `volume_backup_id`. Giving both is refused with 422 `VOLUME_SOURCE_CONFLICT`. A restore is a purchase of a **new** volume; the source volume is unaffected and need not still exist.
1965
+ *
1966
+ * - **From a snapshot**, the volume type has to be of the snapshot's availability zone (422 `VOLUME_SNAPSHOT_OTHER_AVAILABILITY_ZONE`), because a snapshot lives in the same storage pool as its source and restores only into its own zone. `size_gib` is required and must be no smaller than the snapshot.
1967
+ * - **From a volume backup**, the volume type may be of any zone of the backup's region, because a backup is an independent copy in different storage. `size_gib` matches the size of the backup when omitted, and when given it must not be smaller than the backup. The volume cannot be attached until it is `available`.
1968
+ *
1969
+ * 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.
1970
+ *
1971
+ * 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.
1972
+ *
1973
+ * The volume shows the `create` operation 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.
1974
+ * @summary Create a volume
1975
+ */
1976
+ export declare const CreateVolumeBody: zod.ZodObject<{
1977
+ volume_type_id: zod.ZodString;
1978
+ name: zod.ZodString;
1979
+ size_gib: zod.ZodOptional<zod.ZodInt>;
1980
+ volume_snapshot_id: zod.ZodOptional<zod.ZodString>;
1981
+ volume_backup_id: zod.ZodOptional<zod.ZodString>;
1982
+ billing: zod.ZodObject<{
1983
+ usage_type: zod.ZodEnum<{
1984
+ licensed: "licensed";
1985
+ metered: "metered";
1986
+ }>;
1987
+ period: zod.ZodOptional<zod.ZodObject<{
1988
+ unit: zod.ZodEnum<{
1989
+ month: "month";
1990
+ year: "year";
1991
+ }>;
1992
+ count: zod.ZodInt;
1993
+ }, zod.z.core.$strict>>;
1994
+ termination_policy: zod.ZodOptional<zod.ZodEnum<{
1995
+ immediate: "immediate";
1996
+ period_end: "period_end";
1997
+ }>>;
1998
+ }, zod.z.core.$strict>;
1999
+ checkout: zod.ZodOptional<zod.ZodObject<{
2000
+ mode: zod.ZodDefault<zod.ZodEnum<{
2001
+ automatic: "automatic";
2002
+ deferred: "deferred";
2003
+ }>>;
2004
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
2005
+ return_url: zod.ZodOptional<zod.ZodURL>;
2006
+ }, zod.z.core.$strict>>;
2007
+ }, zod.z.core.$strict>;
2008
+ /**
2009
+ * Returns the stored state of the volume; it does not query the cloud.
2010
+ * @summary Retrieve a volume
2011
+ */
2012
+ export declare const getVolumePathVolumeIdMin = 30;
2013
+ export declare const getVolumePathVolumeIdMax = 30;
2014
+ export declare const getVolumePathVolumeIdRegExp: RegExp;
2015
+ export declare const GetVolumeParams: zod.ZodObject<{
2016
+ volumeId: zod.ZodString;
2017
+ }, zod.z.core.$strict>;
2018
+ /**
2019
+ * Changes the name, the capacity or the volume type. The availability zone is immutable.
2020
+ *
2021
+ * `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.
2022
+ *
2023
+ * **Renaming** is not an operation and is accepted at any time. It returns 200 with `checkout_session_id` and `order_id` null.
2024
+ *
2025
+ * **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 shows the `resize` operation 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.
2026
+ *
2027
+ * **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 shows the `retype` operation 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.
2028
+ *
2029
+ * 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.
2030
+ * @summary Update a volume
2031
+ */
2032
+ export declare const updateVolumePathVolumeIdMin = 30;
2033
+ export declare const updateVolumePathVolumeIdMax = 30;
2034
+ export declare const updateVolumePathVolumeIdRegExp: RegExp;
2035
+ export declare const UpdateVolumeParams: zod.ZodObject<{
2036
+ volumeId: zod.ZodString;
2037
+ }, zod.z.core.$strict>;
2038
+ export declare const UpdateVolumeBody: zod.ZodObject<{
2039
+ name: zod.ZodOptional<zod.ZodString>;
2040
+ size_gib: zod.ZodOptional<zod.ZodInt>;
2041
+ volume_type_id: zod.ZodOptional<zod.ZodString>;
2042
+ proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
2043
+ checkout: zod.ZodOptional<zod.ZodObject<{
2044
+ mode: zod.ZodDefault<zod.ZodEnum<{
2045
+ automatic: "automatic";
2046
+ deferred: "deferred";
2047
+ }>>;
2048
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
2049
+ return_url: zod.ZodOptional<zod.ZodURL>;
2050
+ }, zod.z.core.$strict>>;
2051
+ }, zod.z.core.$strict>;
2052
+ /**
2053
+ * Deletion is rejected while the volume is attached, or while snapshots created from it still exist.
2054
+ *
2055
+ * 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.
2056
+ *
2057
+ * 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.
2058
+ * @summary Delete a volume
2059
+ */
2060
+ export declare const deleteVolumePathVolumeIdMin = 30;
2061
+ export declare const deleteVolumePathVolumeIdMax = 30;
2062
+ export declare const deleteVolumePathVolumeIdRegExp: RegExp;
2063
+ export declare const DeleteVolumeParams: zod.ZodObject<{
2064
+ volumeId: zod.ZodString;
2065
+ }, zod.z.core.$strict>;
2066
+ export declare const DeleteVolumeQueryParams: zod.ZodObject<{
2067
+ cancellation_mode: zod.ZodOptional<zod.ZodEnum<{
2068
+ immediate: "immediate";
2069
+ period_end: "period_end";
2070
+ }>>;
2071
+ }, zod.z.core.$strict>;
2072
+ /**
2073
+ * 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.**
2074
+ *
2075
+ * Three restrictions apply: only the most recent snapshot of the volume can be reverted to; the volume must be detached from its instance first; and a volume resized since the snapshot was taken cannot be reverted. To return to an earlier point in time, or to keep the existing volume, create a new volume from the snapshot instead.
2076
+ *
2077
+ * The revert is a request of its own rather than a state of the volume: the response is the volume, which shows the `revert` operation until the revert is complete.
2078
+ * @summary Revert a volume to a snapshot
2079
+ */
2080
+ export declare const revertVolumePathVolumeIdMin = 30;
2081
+ export declare const revertVolumePathVolumeIdMax = 30;
2082
+ export declare const revertVolumePathVolumeIdRegExp: RegExp;
2083
+ export declare const RevertVolumeParams: zod.ZodObject<{
2084
+ volumeId: zod.ZodString;
2085
+ }, zod.z.core.$strict>;
2086
+ export declare const RevertVolumeBody: zod.ZodObject<{
2087
+ volume_snapshot_id: zod.ZodString;
2088
+ }, zod.z.core.$strict>;