@leaflow/sdk 0.169.0 → 0.170.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 +3550 -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 +113 -0
  122. package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +68 -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 +117 -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
@@ -1,2813 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- export type PeeringResourceStatus = (typeof PeeringResourceStatus)[keyof typeof PeeringResourceStatus];
25
- export declare const PeeringResourceStatus: {
26
- readonly pending_acceptance: "pending_acceptance";
27
- readonly provisioning: "provisioning";
28
- readonly active: "active";
29
- readonly deleted: "deleted";
30
- readonly rejected: "rejected";
31
- readonly error: "error";
32
- };
33
- /**
34
- * `provision` runs after the peering is accepted, until it is `active`.
35
- */
36
- export type PeeringOperationType = (typeof PeeringOperationType)[keyof typeof PeeringOperationType];
37
- export declare const PeeringOperationType: {
38
- readonly provision: "provision";
39
- readonly delete: "delete";
40
- };
41
- /**
42
- * An operation still running on this peering. It is not a separate resource; once it finishes, the peering's `operation` is null again and the peering shows the result.
43
- */
44
- export interface PeeringOperation {
45
- /** `provision` runs after the peering is accepted, until it is `active`. */
46
- type: PeeringOperationType;
47
- started_at: string;
48
- }
49
- export interface PeeringResource {
50
- id: string;
51
- name: string;
52
- region_id: string;
53
- requester_project_id: string;
54
- accepter_project_id: string;
55
- requester_network_id: string;
56
- accepter_network_id: string;
57
- status: PeeringResourceStatus;
58
- created_at: string;
59
- failure_code?: string;
60
- /** The operation in progress on this peering, or null when none is. */
61
- readonly operation: PeeringOperation | null;
62
- }
63
- /**
64
- * Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan.
65
- */
66
- export interface OffsetPagination {
67
- /** @minimum 1 */
68
- page: number;
69
- /** @minimum 1 */
70
- page_size: number;
71
- /** @minimum 0 */
72
- total_count?: number;
73
- }
74
- export interface PeeringListResponseBody {
75
- items: PeeringResource[];
76
- pagination: OffsetPagination;
77
- }
78
- export interface CreatePeeringRequestBody {
79
- /**
80
- * @minLength 1
81
- * @maxLength 128
82
- */
83
- name: string;
84
- requester_network_id: string;
85
- accepter_project_id: string;
86
- accepter_network_id: string;
87
- }
88
- /**
89
- * The dimension values the order line carries.
90
- */
91
- export type BillingComponentDimensions = {
92
- [key: string]: string;
93
- };
94
- /**
95
- * `one`: one per item. `size_gib`: the size or capacity bought, in GiB. `bandwidth_mbps`: the bandwidth bought, in Mbps. `snapshots`: the number of snapshots the quota allows.
96
- */
97
- export type BillingQuantity = (typeof BillingQuantity)[keyof typeof BillingQuantity];
98
- export declare const BillingQuantity: {
99
- readonly one: "one";
100
- readonly size_gib: "size_gib";
101
- readonly bandwidth_mbps: "bandwidth_mbps";
102
- readonly snapshots: "snapshots";
103
- };
104
- /**
105
- * What the order line's quantity counts, for each usage type the item is sold under. A usage type that is absent is not sold for this item.
106
- */
107
- export type BillingComponentQuantity = {
108
- licensed?: BillingQuantity;
109
- metered?: BillingQuantity;
110
- };
111
- /**
112
- * What the meter's quantity measures while the item exists: `one` is one item, `size_gib` its size in GiB, `bandwidth_mbps` its bandwidth in Mbps, `stored_gib` the GiB it stores.
113
- */
114
- export type BillingMeterQuantity = (typeof BillingMeterQuantity)[keyof typeof BillingMeterQuantity];
115
- export declare const BillingMeterQuantity: {
116
- readonly one: "one";
117
- readonly size_gib: "size_gib";
118
- readonly bandwidth_mbps: "bandwidth_mbps";
119
- readonly stored_gib: "stored_gib";
120
- };
121
- /**
122
- * The dimension values the meter's usage carries, when they differ from the line's.
123
- */
124
- export type BillingMeterDimensions = {
125
- [key: string]: string;
126
- };
127
- export interface BillingMeter {
128
- meter_lookup_key: string;
129
- /** What the meter's quantity measures while the item exists: `one` is one item, `size_gib` its size in GiB, `bandwidth_mbps` its bandwidth in Mbps, `stored_gib` the GiB it stores. */
130
- quantity: BillingMeterQuantity;
131
- /** The dimension values the meter's usage carries, when they differ from the line's. */
132
- dimensions?: BillingMeterDimensions;
133
- }
134
- /**
135
- * How one order line of an item is sold in Billing. Give `plan_id` to Billing's `search-prices` for its prices, with `dimensions` to narrow the `rates` of a price that delegates to a rate card. Quote a purchase or a change with Billing's `get-quote` using these values, the quantity this describes and the chosen terms, and estimate metered usage with `estimate-usage` and `meters`.
136
- */
137
- export interface BillingComponent {
138
- /** The Billing plan the line is ordered under. */
139
- plan_id: string;
140
- /** The dimension values the order line carries. */
141
- dimensions: BillingComponentDimensions;
142
- /** What the order line's quantity counts, for each usage type the item is sold under. A usage type that is absent is not sold for this item. */
143
- quantity: BillingComponentQuantity;
144
- /** What the line's metered price reads. Empty when the line is never metered or its usage is not estimated in advance. */
145
- meters: BillingMeter[];
146
- }
147
- /**
148
- * `requested` and `scheduled` have not begun release; `releasing` is releasing the resource.
149
- */
150
- export type ResourceCancellationStatus = (typeof ResourceCancellationStatus)[keyof typeof ResourceCancellationStatus];
151
- export declare const ResourceCancellationStatus: {
152
- readonly requested: "requested";
153
- readonly scheduled: "scheduled";
154
- readonly releasing: "releasing";
155
- };
156
- /**
157
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
158
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
159
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
160
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
161
- * BILLING_CANCELLATION_MODE_FIXED.
162
- */
163
- export type CancellationMode = (typeof CancellationMode)[keyof typeof CancellationMode];
164
- export declare const CancellationMode: {
165
- readonly immediate: "immediate";
166
- readonly period_end: "period_end";
167
- };
168
- /**
169
- * The Billing cancellation of the subscriptions that pay for a resource. Read it in Billing with `get-cancellation` for its refund and progress.
170
- */
171
- export interface ResourceCancellation {
172
- id: string;
173
- /** `immediate` releases the resource now; `period_end` keeps it until `scheduled_at`. */
174
- mode: CancellationMode;
175
- /** `requested` and `scheduled` have not begun release; `releasing` is releasing the resource. */
176
- status: ResourceCancellationStatus;
177
- /**
178
- * For `period_end`, when release begins; null otherwise.
179
- * @nullable
180
- */
181
- scheduled_at: string | null;
182
- subscription_ids: string[];
183
- }
184
- /**
185
- * `pending` until the order is accepted: no virtual machine exists and addresses are null. `provisioning` while the instance is created, then `active`. `failed` means the instance was not created; `failure_reason` states why. `missing` means the virtual machine no longer exists in the cloud. The other values are the state last observed in the cloud; an operation in progress appears in `operation`, not here.
186
- */
187
- export type InstanceResourceStatus = (typeof InstanceResourceStatus)[keyof typeof InstanceResourceStatus];
188
- export declare const InstanceResourceStatus: {
189
- readonly pending: "pending";
190
- readonly provisioning: "provisioning";
191
- readonly active: "active";
192
- readonly stopped: "stopped";
193
- readonly paused: "paused";
194
- readonly suspended: "suspended";
195
- readonly shelved: "shelved";
196
- readonly shelved_offloaded: "shelved_offloaded";
197
- readonly rescued: "rescued";
198
- readonly deleted: "deleted";
199
- readonly failed: "failed";
200
- readonly error: "error";
201
- readonly unknown: "unknown";
202
- readonly missing: "missing";
203
- };
204
- export type InstanceRestrictionSource = (typeof InstanceRestrictionSource)[keyof typeof InstanceRestrictionSource];
205
- export declare const InstanceRestrictionSource: {
206
- readonly billing: "billing";
207
- readonly iam: "iam";
208
- readonly operator: "operator";
209
- };
210
- /**
211
- * An independent restriction on use. Removing one restriction never removes another source’s restriction, and never starts an instance its user stopped.
212
- */
213
- export interface InstanceRestriction {
214
- id: string;
215
- source: InstanceRestrictionSource;
216
- /**
217
- * @minLength 1
218
- * @maxLength 255
219
- */
220
- source_id: string;
221
- /**
222
- * @minLength 1
223
- * @maxLength 128
224
- */
225
- reason_code: string;
226
- created_at: string;
227
- }
228
- /**
229
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this instance is refunded.
230
- * @nullable
231
- */
232
- export type InstanceResourceFailureReason = (typeof InstanceResourceFailureReason)[keyof typeof InstanceResourceFailureReason] | null;
233
- export declare const InstanceResourceFailureReason: {
234
- readonly checkout_expired: "checkout_expired";
235
- readonly order_declined: "order_declined";
236
- readonly order_canceled: "order_canceled";
237
- readonly order_expired: "order_expired";
238
- readonly provisioning_failed: "provisioning_failed";
239
- };
240
- /**
241
- * `create` runs from acceptance of the order until the instance is `active` or `failed`. `suspend` and `resume` impose and lift a suspension by the platform or for non-payment. `delete` includes release through a Billing cancellation.
242
- */
243
- export type InstanceOperationType = (typeof InstanceOperationType)[keyof typeof InstanceOperationType];
244
- export declare const InstanceOperationType: {
245
- readonly create: "create";
246
- readonly start: "start";
247
- readonly stop: "stop";
248
- readonly reboot: "reboot";
249
- readonly rebuild: "rebuild";
250
- readonly resize: "resize";
251
- readonly reset_password: "reset_password";
252
- readonly attach_disk: "attach_disk";
253
- readonly detach_disk: "detach_disk";
254
- readonly attach_port: "attach_port";
255
- readonly detach_port: "detach_port";
256
- readonly bind_floating_ip: "bind_floating_ip";
257
- readonly unbind_floating_ip: "unbind_floating_ip";
258
- readonly suspend: "suspend";
259
- readonly resume: "resume";
260
- readonly delete: "delete";
261
- };
262
- /**
263
- * An operation still running on this instance. It is not a separate resource; once it finishes, the instance's `operation` is null again and the instance shows the result.
264
- */
265
- export interface InstanceOperation {
266
- /** `create` runs from acceptance of the order until the instance is `active` or `failed`. `suspend` and `resume` impose and lift a suspension by the platform or for non-payment. `delete` includes release through a Billing cancellation. */
267
- type: InstanceOperationType;
268
- started_at: string;
269
- }
270
- export type ReleaseResourceType = (typeof ReleaseResourceType)[keyof typeof ReleaseResourceType];
271
- export declare const ReleaseResourceType: {
272
- readonly instance: "instance";
273
- readonly disk: "disk";
274
- readonly image: "image";
275
- readonly floating_ip: "floating_ip";
276
- readonly backup_service: "backup_service";
277
- readonly snapshot_quota: "snapshot_quota";
278
- readonly backup_capacity_pack: "backup_capacity_pack";
279
- };
280
- /**
281
- * A resource a release set releases.
282
- */
283
- export interface ReleaseResource {
284
- type: ReleaseResourceType;
285
- /** The resource's ID; for `backup_service` and `snapshot_quota`, the ID of their region. */
286
- id: string;
287
- /** The resource's name. A floating IP is named by its address, a backup service or snapshot quota by its region, and a capacity pack by its capacity, such as 100 GiB. */
288
- name: string;
289
- }
290
- /**
291
- * One subscription of a release set and the resource it pays for.
292
- */
293
- export interface ReleaseSetItem {
294
- subscription_id: string;
295
- resource: ReleaseResource;
296
- }
297
- /**
298
- * @nullable
299
- */
300
- export type InstanceResourceAccessState = (typeof InstanceResourceAccessState)[keyof typeof InstanceResourceAccessState] | null;
301
- export declare const InstanceResourceAccessState: {
302
- readonly pending: "pending";
303
- readonly enabled: "enabled";
304
- readonly suspended: "suspended";
305
- readonly reclaimed: "reclaimed";
306
- };
307
- /**
308
- * Your own classification of this instance, as key-value pairs. Empty when never set
309
- */
310
- export type InstanceResourceLabels = {
311
- [key: string]: string;
312
- };
313
- export interface InstanceResource {
314
- availability_zone_id: string;
315
- created_at: string;
316
- /** Hostname inside the instance; equals the instance id */
317
- hostname: string;
318
- id: string;
319
- /**
320
- * Non-empty when the instance was created from an image, public or private
321
- * @nullable
322
- */
323
- image_id: string | null;
324
- /** The instance type in effect, and the basis for billing */
325
- instance_type_id: string;
326
- /**
327
- * IPv6 address of the primary network interface. Assigned automatically once IPv6 is enabled on the private network
328
- * @nullable
329
- */
330
- ipv6_address: string | null;
331
- /** Your own classification of this instance, as key-value pairs. Empty when never set */
332
- labels: InstanceResourceLabels;
333
- /**
334
- * The account to log in as over SSH. The password set at creation belongs to this account
335
- * @maxLength 32
336
- */
337
- login_username: string;
338
- name: string;
339
- /**
340
- * A free-text note about this instance. Empty when never set
341
- * @maxLength 4096
342
- */
343
- notes: string;
344
- /**
345
- * Private address of the instance
346
- * @nullable
347
- */
348
- private_ip: string | null;
349
- /** @nullable */
350
- private_network_id: string | null;
351
- /**
352
- * Floating IPv4 addresses bound to the primary network interface; an empty array when none are bound
353
- * @nullable
354
- */
355
- public_ips: string[] | null;
356
- region_id: string;
357
- /** `pending` until the order is accepted: no virtual machine exists and addresses are null. `provisioning` while the instance is created, then `active`. `failed` means the instance was not created; `failure_reason` states why. `missing` means the virtual machine no longer exists in the cloud. The other values are the state last observed in the cloud; an operation in progress appears in `operation`, not here. */
358
- status: InstanceResourceStatus;
359
- /** @nullable */
360
- subnet_id: string | null;
361
- updated_at: string;
362
- /** @minimum 1 */
363
- generation: number;
364
- /** @nullable */
365
- observed_at: string | null;
366
- restrictions: InstanceRestriction[];
367
- /**
368
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this instance is refunded.
369
- * @nullable
370
- */
371
- failure_reason: InstanceResourceFailureReason;
372
- /** The operation in progress on this instance, or null when none is. */
373
- readonly operation: InstanceOperation | null;
374
- /** @nullable */
375
- order_id: string | null;
376
- /**
377
- * The Billing order item for this resource.
378
- * @nullable
379
- */
380
- order_item_id: string | null;
381
- /**
382
- * The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
383
- * @nullable
384
- */
385
- checkout_session_id: string | null;
386
- /**
387
- * The Billing subscription associated with this resource. It may still be pending; its
388
- * presence does not imply delivery or metering. Null when no subscription is associated.
389
- * @nullable
390
- */
391
- subscription_id: string | null;
392
- /** The subscriptions a cancellation through Billing has to cover to release this instance: its own and those of the disks deleted with it. Snapshots are cleaned up with their source disk without canceling the project's snapshot quota. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
393
- release_subscription_ids: string[];
394
- /** The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
395
- release_set: ReleaseSetItem[];
396
- /** @nullable */
397
- access_state: InstanceResourceAccessState;
398
- /**
399
- * Non-empty when the instance was created from a disk you already had, instead of from an image
400
- * @nullable
401
- */
402
- source_disk_id: string | null;
403
- }
404
- export interface DeleteInstanceResponseBody {
405
- instance: InstanceResource;
406
- /** The cancellation this request created or found open, when subscriptions pay for the resource; null when the resource was released directly. */
407
- cancellation: ResourceCancellation | null;
408
- }
409
- /**
410
- * `pending` until the order is accepted, with no storage allocated; `provisioning` while the disk is created; then `available`, or `in_use` once attached. `failed` means the disk was not created; `failure_reason` states why. `missing` means the disk no longer exists in the cloud.
411
- */
412
- export type DiskResourceStatus = (typeof DiskResourceStatus)[keyof typeof DiskResourceStatus];
413
- export declare const DiskResourceStatus: {
414
- readonly pending: "pending";
415
- readonly provisioning: "provisioning";
416
- readonly available: "available";
417
- readonly in_use: "in_use";
418
- readonly deleted: "deleted";
419
- readonly failed: "failed";
420
- readonly error: "error";
421
- readonly missing: "missing";
422
- };
423
- /**
424
- * @nullable
425
- */
426
- export type DiskResourceAccessState = (typeof DiskResourceAccessState)[keyof typeof DiskResourceAccessState] | null;
427
- export declare const DiskResourceAccessState: {
428
- readonly pending: "pending";
429
- readonly enabled: "enabled";
430
- readonly suspended: "suspended";
431
- readonly reclaimed: "reclaimed";
432
- };
433
- /**
434
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this disk is refunded.
435
- * @nullable
436
- */
437
- export type DiskResourceFailureReason = (typeof DiskResourceFailureReason)[keyof typeof DiskResourceFailureReason] | null;
438
- export declare const DiskResourceFailureReason: {
439
- readonly checkout_expired: "checkout_expired";
440
- readonly order_declined: "order_declined";
441
- readonly order_canceled: "order_canceled";
442
- readonly order_expired: "order_expired";
443
- readonly provisioning_failed: "provisioning_failed";
444
- };
445
- /**
446
- * `attach` and `detach` accompany the instance's `attach_disk` and `detach_disk`. `delete` includes release through a Billing cancellation and deletion with an instance.
447
- */
448
- export type DiskOperationType = (typeof DiskOperationType)[keyof typeof DiskOperationType];
449
- export declare const DiskOperationType: {
450
- readonly create: "create";
451
- readonly resize: "resize";
452
- readonly revert: "revert";
453
- readonly attach: "attach";
454
- readonly detach: "detach";
455
- readonly suspend: "suspend";
456
- readonly resume: "resume";
457
- readonly delete: "delete";
458
- };
459
- /**
460
- * An operation still running on this disk. It is not a separate resource; once it finishes, the disk's `operation` is null again and the disk shows the result.
461
- */
462
- export interface DiskOperation {
463
- /** `attach` and `detach` accompany the instance's `attach_disk` and `detach_disk`. `delete` includes release through a Billing cancellation and deletion with an instance. */
464
- type: DiskOperationType;
465
- started_at: string;
466
- }
467
- export type DiskAttachmentRole = (typeof DiskAttachmentRole)[keyof typeof DiskAttachmentRole];
468
- export declare const DiskAttachmentRole: {
469
- readonly boot: "boot";
470
- readonly data: "data";
471
- };
472
- export type DiskAttachmentState = (typeof DiskAttachmentState)[keyof typeof DiskAttachmentState];
473
- export declare const DiskAttachmentState: {
474
- readonly reserved: "reserved";
475
- readonly attached: "attached";
476
- readonly released: "released";
477
- readonly unknown: "unknown";
478
- };
479
- export interface DiskAttachment {
480
- id: string;
481
- instance_id: string;
482
- disk_id: string;
483
- role: DiskAttachmentRole;
484
- delete_with_instance: boolean;
485
- state: DiskAttachmentState;
486
- /** @nullable */
487
- attached_at: string | null;
488
- /** @nullable */
489
- detached_at: string | null;
490
- /** @nullable */
491
- released_at: string | null;
492
- /** @nullable */
493
- device: string | null;
494
- }
495
- export interface DiskResource {
496
- /** Availability zone the disk actually resides in. An instance must be in the same zone to attach it */
497
- availability_zone_id: string;
498
- created_at: string;
499
- disk_type_id: string;
500
- id: string;
501
- name: string;
502
- region_id: string;
503
- size_gb: number;
504
- /**
505
- * IOPS this disk is allowed. Null when its type is not rate-limited.
506
- *
507
- * Computed from the disk's own capacity, so it grows when the disk is grown — but see the
508
- * note on the resize endpoint: growing a disk that is attached is refused, precisely because
509
- * the new figure would not take effect until it was attached again.
510
- * @nullable
511
- */
512
- iops: number | null;
513
- /**
514
- * Throughput this disk is allowed, in bytes per second. Null when its type is not rate-limited
515
- * @nullable
516
- */
517
- throughput_bytes_per_sec: number | null;
518
- /** `pending` until the order is accepted, with no storage allocated; `provisioning` while the disk is created; then `available`, or `in_use` once attached. `failed` means the disk was not created; `failure_reason` states why. `missing` means the disk no longer exists in the cloud. */
519
- status: DiskResourceStatus;
520
- /** @nullable */
521
- order_id: string | null;
522
- /**
523
- * The Billing order item for this resource.
524
- * @nullable
525
- */
526
- order_item_id: string | null;
527
- /**
528
- * The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
529
- * @nullable
530
- */
531
- checkout_session_id: string | null;
532
- /**
533
- * The Billing subscription associated with this resource. It may still be pending; its
534
- * presence does not imply delivery or metering. Null when no subscription is associated.
535
- * @nullable
536
- */
537
- subscription_id: string | null;
538
- /** The subscriptions a cancellation through Billing has to cover to release this disk: its own. Snapshots have no individual subscriptions. A system disk is released only with its instance, so for a system disk the list is that of the instance. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
539
- release_subscription_ids: string[];
540
- /** The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
541
- release_set: ReleaseSetItem[];
542
- /** @nullable */
543
- access_state: DiskResourceAccessState;
544
- /**
545
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this disk is refunded.
546
- * @nullable
547
- */
548
- failure_reason: DiskResourceFailureReason;
549
- /** The operation in progress on this disk, or null when none is. */
550
- readonly operation: DiskOperation | null;
551
- attachment?: DiskAttachment | null;
552
- /** @minimum 1 */
553
- generation: number;
554
- /** @nullable */
555
- observed_at: string | null;
556
- }
557
- export interface DeleteDiskResponseBody {
558
- disk: DiskResource;
559
- /** The cancellation this request created or found open, when subscriptions pay for the resource; null when the resource was released directly. */
560
- cancellation: ResourceCancellation | null;
561
- }
562
- /**
563
- * `pending` until the order is accepted, with no address allocated; `provisioning` while the address is allocated; then `available`. `failed` means no address was allocated; `failure_reason` states why. `missing` means the address no longer exists in the cloud.
564
- */
565
- export type FloatingIPResourceStatus = (typeof FloatingIPResourceStatus)[keyof typeof FloatingIPResourceStatus];
566
- export declare const FloatingIPResourceStatus: {
567
- readonly pending: "pending";
568
- readonly provisioning: "provisioning";
569
- readonly available: "available";
570
- readonly deleted: "deleted";
571
- readonly failed: "failed";
572
- readonly error: "error";
573
- readonly unknown: "unknown";
574
- readonly missing: "missing";
575
- };
576
- /**
577
- * @nullable
578
- */
579
- export type FloatingIPResourceAccessState = (typeof FloatingIPResourceAccessState)[keyof typeof FloatingIPResourceAccessState] | null;
580
- export declare const FloatingIPResourceAccessState: {
581
- readonly pending: "pending";
582
- readonly enabled: "enabled";
583
- readonly suspended: "suspended";
584
- readonly reclaimed: "reclaimed";
585
- };
586
- /**
587
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this floating IP is refunded.
588
- * @nullable
589
- */
590
- export type FloatingIPResourceFailureReason = (typeof FloatingIPResourceFailureReason)[keyof typeof FloatingIPResourceFailureReason] | null;
591
- export declare const FloatingIPResourceFailureReason: {
592
- readonly checkout_expired: "checkout_expired";
593
- readonly order_declined: "order_declined";
594
- readonly order_canceled: "order_canceled";
595
- readonly order_expired: "order_expired";
596
- readonly provisioning_failed: "provisioning_failed";
597
- };
598
- export type FloatingIPOperationType = (typeof FloatingIPOperationType)[keyof typeof FloatingIPOperationType];
599
- export declare const FloatingIPOperationType: {
600
- readonly create: "create";
601
- readonly bind: "bind";
602
- readonly unbind: "unbind";
603
- readonly set_bandwidth: "set_bandwidth";
604
- readonly suspend: "suspend";
605
- readonly resume: "resume";
606
- readonly delete: "delete";
607
- };
608
- /**
609
- * An operation still running on this floating IP. It is not a separate resource; once it finishes, the floating IP's `operation` is null again and the floating IP shows the result.
610
- */
611
- export interface FloatingIPOperation {
612
- type: FloatingIPOperationType;
613
- started_at: string;
614
- }
615
- export type IPv4BindingState = (typeof IPv4BindingState)[keyof typeof IPv4BindingState];
616
- export declare const IPv4BindingState: {
617
- readonly bound: "bound";
618
- readonly released: "released";
619
- readonly unknown: "unknown";
620
- };
621
- export interface IPv4Binding {
622
- id: string;
623
- ipv4_allocation_id: string;
624
- port_address_id: string;
625
- address: string;
626
- fixed_ip: string;
627
- state: IPv4BindingState;
628
- /** @nullable */
629
- bound_at: string | null;
630
- /** @nullable */
631
- unbound_at: string | null;
632
- /** @nullable */
633
- released_at: string | null;
634
- }
635
- /**
636
- * One purchased public IP resource, including its bandwidth configuration. Bandwidth has no
637
- * separate Compute resource ID; one subscription pays for the address and its bandwidth.
638
- * Changing bandwidth updates this same resource, not another allocation.
639
- */
640
- export interface FloatingIPResource {
641
- /**
642
- * The allocated public address. Null until the address is allocated.
643
- * @nullable
644
- */
645
- address: string | null;
646
- /** @nullable */
647
- bandwidth_mbps: number | null;
648
- created_at: string;
649
- id: string;
650
- region_id: string;
651
- /** `pending` until the order is accepted, with no address allocated; `provisioning` while the address is allocated; then `available`. `failed` means no address was allocated; `failure_reason` states why. `missing` means the address no longer exists in the cloud. */
652
- status: FloatingIPResourceStatus;
653
- /** @nullable */
654
- order_id: string | null;
655
- /**
656
- * The Billing order item for this resource.
657
- * @nullable
658
- */
659
- order_item_id: string | null;
660
- /**
661
- * The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
662
- * @nullable
663
- */
664
- checkout_session_id: string | null;
665
- /**
666
- * The Billing subscription associated with this resource. It may still be pending; its
667
- * presence does not imply delivery or metering. Null when no subscription is associated.
668
- * @nullable
669
- */
670
- subscription_id: string | null;
671
- /** The subscription a cancellation through Billing has to cover to release this floating IP. A subscription that has ended is not listed, and the list is empty when no subscription pays for the floating IP. */
672
- release_subscription_ids: string[];
673
- /** The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
674
- release_set: ReleaseSetItem[];
675
- /** @nullable */
676
- access_state: FloatingIPResourceAccessState;
677
- /**
678
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this floating IP is refunded.
679
- * @nullable
680
- */
681
- failure_reason: FloatingIPResourceFailureReason;
682
- /** The operation in progress on this floating IP, or null when none is. */
683
- readonly operation: FloatingIPOperation | null;
684
- /** @minimum 1 */
685
- generation: number;
686
- /** @nullable */
687
- observed_at: string | null;
688
- binding: IPv4Binding | null;
689
- }
690
- export interface ReleaseFloatingIPResponseBody {
691
- floating_ip: FloatingIPResource;
692
- /** The cancellation this request created or found open, when subscriptions pay for the resource; null when the resource was released directly. */
693
- cancellation: ResourceCancellation | null;
694
- }
695
- /**
696
- * Who can see and use an image. `public` — offered to every project by the platform. `private` — usable only by the project that owns it.
697
- */
698
- export type ImageVisibility = (typeof ImageVisibility)[keyof typeof ImageVisibility];
699
- export declare const ImageVisibility: {
700
- readonly public: "public";
701
- readonly private: "private";
702
- };
703
- /**
704
- * Only `available` images can install instances. A public image is always `available`; a private image is `pending` until its order is accepted, then goes through `provisioning` and `uploading` while it is captured. `failed` means the capture produced no image; `failure_reason` states why. `missing` means a private image no longer exists in the cloud.
705
- */
706
- export type ImageResourceStatus = (typeof ImageResourceStatus)[keyof typeof ImageResourceStatus];
707
- export declare const ImageResourceStatus: {
708
- readonly pending: "pending";
709
- readonly provisioning: "provisioning";
710
- readonly uploading: "uploading";
711
- readonly available: "available";
712
- readonly deleted: "deleted";
713
- readonly failed: "failed";
714
- readonly error: "error";
715
- readonly missing: "missing";
716
- };
717
- /**
718
- * @nullable
719
- */
720
- export type ImageResourceAccessState = (typeof ImageResourceAccessState)[keyof typeof ImageResourceAccessState] | null;
721
- export declare const ImageResourceAccessState: {
722
- readonly pending: "pending";
723
- readonly enabled: "enabled";
724
- readonly suspended: "suspended";
725
- readonly reclaimed: "reclaimed";
726
- };
727
- /**
728
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this image is refunded.
729
- * @nullable
730
- */
731
- export type ImageResourceFailureReason = (typeof ImageResourceFailureReason)[keyof typeof ImageResourceFailureReason] | null;
732
- export declare const ImageResourceFailureReason: {
733
- readonly checkout_expired: "checkout_expired";
734
- readonly order_declined: "order_declined";
735
- readonly order_canceled: "order_canceled";
736
- readonly order_expired: "order_expired";
737
- readonly provisioning_failed: "provisioning_failed";
738
- };
739
- /**
740
- * `create` is the capture of a private image.
741
- */
742
- export type ImageOperationType = (typeof ImageOperationType)[keyof typeof ImageOperationType];
743
- export declare const ImageOperationType: {
744
- readonly create: "create";
745
- readonly suspend: "suspend";
746
- readonly resume: "resume";
747
- readonly delete: "delete";
748
- };
749
- /**
750
- * An operation still running on this image. It is not a separate resource; once it finishes, the image's `operation` is null again and the image shows the result.
751
- */
752
- export interface ImageOperation {
753
- /** `create` is the capture of a private image. */
754
- type: ImageOperationType;
755
- started_at: string;
756
- }
757
- /**
758
- * An image that installs the system of an instance. Fields that describe a capture or its billing apply only to private images and are null, zero or empty for public ones.
759
- */
760
- export interface ImageResource {
761
- id: string;
762
- region_id: string;
763
- visibility: ImageVisibility;
764
- name: string;
765
- os_family: string;
766
- os_version: string;
767
- architecture: string;
768
- /**
769
- * The account this image lets you log in as. The password set at creation belongs to this account
770
- * @maxLength 32
771
- */
772
- login_username: string;
773
- /** The system disk of an instance created from this image cannot be smaller than this */
774
- min_disk_gb: number;
775
- /** The instance type of an instance created from this image must have at least this much memory */
776
- min_ram_mb: number;
777
- /** False means a new password can only be set by rebuilding an instance created from this image */
778
- supports_password_reset: boolean;
779
- /** Only `available` images can install instances. A public image is always `available`; a private image is `pending` until its order is accepted, then goes through `provisioning` and `uploading` while it is captured. `failed` means the capture produced no image; `failure_reason` states why. `missing` means a private image no longer exists in the cloud. */
780
- status: ImageResourceStatus;
781
- /**
782
- * Details of why the capture failed; non-empty only when `status` is `failed`
783
- * @nullable
784
- */
785
- failure: string | null;
786
- /** Storage occupied by a private image, which is what it is billed for; 0 until its capture completes, and 0 for public images */
787
- size_bytes: number;
788
- /**
789
- * The instance a private image was captured from. The image remains usable after that instance is released. Null for public images
790
- * @nullable
791
- */
792
- source_instance_id: string | null;
793
- created_at: string;
794
- /** @nullable */
795
- order_id: string | null;
796
- /**
797
- * The Billing order item for this resource.
798
- * @nullable
799
- */
800
- order_item_id: string | null;
801
- /**
802
- * The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one.
803
- * @nullable
804
- */
805
- checkout_session_id: string | null;
806
- /**
807
- * The Billing subscription associated with this resource. It may still be pending; its
808
- * presence does not imply delivery or metering. Null when no subscription is associated.
809
- * @nullable
810
- */
811
- subscription_id: string | null;
812
- /** The subscriptions a cancellation through Billing has to cover to release this private image: its own. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for it, and for public images. */
813
- release_subscription_ids: string[];
814
- /** The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
815
- release_set: ReleaseSetItem[];
816
- /** @nullable */
817
- access_state: ImageResourceAccessState;
818
- /**
819
- * Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this image is refunded.
820
- * @nullable
821
- */
822
- failure_reason: ImageResourceFailureReason;
823
- /** The operation in progress on this image, or null when none is. */
824
- readonly operation: ImageOperation | null;
825
- /** @minimum 1 */
826
- generation: number;
827
- /** @nullable */
828
- observed_at: string | null;
829
- }
830
- export interface DeleteImageResponseBody {
831
- image: ImageResource;
832
- /** The cancellation this request created or found open, when subscriptions pay for the resource; null when the resource was released directly. */
833
- cancellation: ResourceCancellation | null;
834
- }
835
- /**
836
- * What a given `code` carries alongside the message. The keys depend on the code,
837
- * and a client that does not recognise one ignores it.
838
- */
839
- export type ErrorMeta = {
840
- [key: string]: unknown;
841
- };
842
- export interface Error {
843
- code?: string;
844
- message: string;
845
- /**
846
- * What a given `code` carries alongside the message. The keys depend on the code,
847
- * and a client that does not recognise one ignores it.
848
- */
849
- meta?: ErrorMeta;
850
- status: number;
851
- }
852
- /**
853
- * `provisioning` while the backup is taken, then `available`. `failed` means the backup was not created. `missing` means the backup no longer exists in the cloud.
854
- */
855
- export type BackupResourceStatus = (typeof BackupResourceStatus)[keyof typeof BackupResourceStatus];
856
- export declare const BackupResourceStatus: {
857
- readonly provisioning: "provisioning";
858
- readonly available: "available";
859
- readonly deleted: "deleted";
860
- readonly failed: "failed";
861
- readonly error: "error";
862
- readonly missing: "missing";
863
- };
864
- /**
865
- * `restore`: a disk is being restored from this backup.
866
- */
867
- export type BackupOperationType = (typeof BackupOperationType)[keyof typeof BackupOperationType];
868
- export declare const BackupOperationType: {
869
- readonly create: "create";
870
- readonly restore: "restore";
871
- readonly delete: "delete";
872
- };
873
- /**
874
- * An operation still running on this backup. It is not a separate resource; once it finishes, the backup's `operation` is null again and the backup shows the result.
875
- */
876
- export interface BackupOperation {
877
- /** `restore`: a disk is being restored from this backup. */
878
- type: BackupOperationType;
879
- started_at: string;
880
- }
881
- /**
882
- * A copy of a disk, metered on the backup service of its region by `capacity_gib` for as long as it is retained. It has no order or subscription of its own.
883
- */
884
- export interface BackupResource {
885
- created_at: string;
886
- id: string;
887
- name: string;
888
- region_id: string;
889
- /** Capacity of the source disk when the backup was created. A restored disk cannot be smaller than this */
890
- size_gb: number;
891
- /** The capacity metered for this backup, in GiB: the size of the source disk when the backup was taken. Usage is this capacity multiplied by the time the backup is retained. */
892
- capacity_gib: number;
893
- /** The disk this backup was taken from. The backup remains usable after that disk is deleted */
894
- source_disk_id: string;
895
- /** `provisioning` while the backup is taken, then `available`. `failed` means the backup was not created. `missing` means the backup no longer exists in the cloud. */
896
- status: BackupResourceStatus;
897
- /** The operation in progress on this backup, or null when none is. */
898
- readonly operation: BackupOperation | null;
899
- /** @minimum 1 */
900
- generation: number;
901
- /** @nullable */
902
- observed_at: string | null;
903
- /** Availability zone of the source disk. A restore may target another zone in the same region */
904
- source_availability_zone_id: string;
905
- }
906
- export interface BackupListResponseBody {
907
- /** @nullable */
908
- items: BackupResource[] | null;
909
- pagination: OffsetPagination;
910
- }
911
- export interface CreateBackupRequestBody {
912
- disk_id: string;
913
- /**
914
- * @minLength 1
915
- * @maxLength 128
916
- */
917
- name: string;
918
- }
919
- export interface RenameBackupRequestBody {
920
- /**
921
- * @minLength 1
922
- * @maxLength 128
923
- */
924
- name: string;
925
- }
926
- /**
927
- * `licensed` pays for a period in advance; `metered` bills usage until canceled.
928
- */
929
- export type BillingChoiceUsageType = (typeof BillingChoiceUsageType)[keyof typeof BillingChoiceUsageType];
930
- export declare const BillingChoiceUsageType: {
931
- readonly licensed: "licensed";
932
- readonly metered: "metered";
933
- };
934
- export type BillingPeriodUnit = (typeof BillingPeriodUnit)[keyof typeof BillingPeriodUnit];
935
- export declare const BillingPeriodUnit: {
936
- readonly month: "month";
937
- readonly year: "year";
938
- };
939
- export interface BillingPeriod {
940
- unit: BillingPeriodUnit;
941
- /**
942
- * @minimum 1
943
- * @maximum 2147483647
944
- */
945
- count: number;
946
- }
947
- /**
948
- * Immediate ends service when cancellation takes effect, with refunds governed by the purchased terms. Period-end keeps service until the paid period ends.
949
- */
950
- export type TerminationPolicy = (typeof TerminationPolicy)[keyof typeof TerminationPolicy];
951
- export declare const TerminationPolicy: {
952
- readonly immediate: "immediate";
953
- readonly period_end: "period_end";
954
- };
955
- /**
956
- * The commercial terms for one newly purchased component. Licensed requires period and termination_policy; metered refuses both. Components in one instance order must use the same usage type and period, while their termination policies may differ.
957
- */
958
- export interface BillingChoice {
959
- /** `licensed` pays for a period in advance; `metered` bills usage until canceled. */
960
- usage_type: BillingChoiceUsageType;
961
- period?: BillingPeriod;
962
- termination_policy?: TerminationPolicy;
963
- }
964
- /**
965
- * automatic completes checkout with the purchase: the best applicable account discount is applied, and the
966
- * order is created with its invoice issued and paid from eligible credit grants and available balance.
967
- * Insufficient funds fail the purchase with HTTP 422 BILLING_INSUFFICIENT_FUNDS; no Billing order, charge or
968
- * discount redemption is committed.
969
- * deferred creates an open Billing Checkout Session and charges nothing, even for a zero total. The customer
970
- * completes it through Billing, where a promotion code can be applied, and then pays the issued invoice; a
971
- * session not completed by its deadline expires.
972
- */
973
- export type CheckoutMode = (typeof CheckoutMode)[keyof typeof CheckoutMode];
974
- export declare const CheckoutMode: {
975
- readonly automatic: "automatic";
976
- readonly deferred: "deferred";
977
- };
978
- /**
979
- * A decimal string, in the currency stated alongside it.
980
- *
981
- * **The currency is not part of this type.** It is carried by a `currency` field next to the
982
- * amount, or by the account the amount belongs to. Reading an amount without that field is
983
- * reading a number with no unit.
984
- *
985
- * It is a string rather than a JSON number because a JSON number is a float in most parsers,
986
- * and a float loses precision on the first arithmetic. Nothing on this platform puts an amount
987
- * through a float.
988
- */
989
- export type Money = string;
990
- /**
991
- * Shared checkout choices for a product purchase. The service may set them or forward its client's
992
- * choices unchanged; it does not need to read them, and Billing validates them. Omitting this object or
993
- * mode selects automatic checkout. Each purchase creates its own Checkout Session. Promotion codes are supplied
994
- * only to Billing. A service may retain a failed creation record when Billing refuses a purchase; no
995
- * infrastructure is created for that refusal.
996
- */
997
- export interface CheckoutOptions {
998
- mode?: CheckoutMode;
999
- /**
1000
- * Expected invoice total after discounts and tax, before applying credit grants or balance.
1001
- * A different total fails with BILLING_AMOUNT_CHANGED without charging or reserving a discount.
1002
- * Accepted only in automatic mode; with deferred it is refused with HTTP 400. For deferred
1003
- * checkout, give the expected amount when completing it through Billing.
1004
- */
1005
- expected_amount?: Money & string;
1006
- /**
1007
- * Where the client goes after the customer finishes a deferred checkout. Any absolute URI with a
1008
- * scheme, including mobile and desktop application schemes. Billing stores it without checking the
1009
- * target; each client validates its own.
1010
- * @maxLength 2048
1011
- */
1012
- return_url?: string;
1013
- }
1014
- export interface RestoreBackupRequestBody {
1015
- /**
1016
- * May differ from the availability zone of the source disk, but must be in the same region. It has to be a data disk type on sale — restoring creates a new data disk, so a withdrawn type or a system disk type is rejected here as well
1017
- * @maxLength 64
1018
- */
1019
- disk_type_id: string;
1020
- /**
1021
- * @minLength 1
1022
- * @maxLength 128
1023
- */
1024
- name: string;
1025
- /**
1026
- * Matches the size of the backup when omitted. When given, it must not be smaller than the backup
1027
- * @minimum 0
1028
- */
1029
- size_gb?: number;
1030
- billing: BillingChoice;
1031
- checkout?: CheckoutOptions;
1032
- }
1033
- /**
1034
- * The intended purchase use of a disk type, not the current boot role or deletion policy of an individual disk.
1035
- */
1036
- export type DiskTypePurpose = (typeof DiskTypePurpose)[keyof typeof DiskTypePurpose];
1037
- export declare const DiskTypePurpose: {
1038
- readonly system: "system";
1039
- readonly data: "data";
1040
- };
1041
- export type DiskTypeResourceMedia = (typeof DiskTypeResourceMedia)[keyof typeof DiskTypeResourceMedia];
1042
- export declare const DiskTypeResourceMedia: {
1043
- readonly ssd: "ssd";
1044
- readonly hdd: "hdd";
1045
- readonly nvme: "nvme";
1046
- };
1047
- export interface DiskTypeResource {
1048
- availability_zone_id: string;
1049
- id: string;
1050
- purpose: DiskTypePurpose;
1051
- /**
1052
- * IOPS a disk of `min_size_gb` gets. Null when this type is not rate-limited.
1053
- *
1054
- * Performance grows with capacity, so this and `iops_at_max_size` are the two ends of the
1055
- * range. The exact figure for the size actually bought appears on the disk itself once it
1056
- * exists.
1057
- * @nullable
1058
- */
1059
- iops_at_min_size: number | null;
1060
- /**
1061
- * IOPS a disk of `max_size_gb` gets. Null when this type is not rate-limited
1062
- * @nullable
1063
- */
1064
- iops_at_max_size: number | null;
1065
- max_size_gb: number;
1066
- media: DiskTypeResourceMedia;
1067
- min_size_gb: number;
1068
- name: string;
1069
- region_id: string;
1070
- step_gb: number;
1071
- /**
1072
- * Throughput a disk of `min_size_gb` gets, in **bytes per second**. Null when this type is
1073
- * not rate-limited.
1074
- *
1075
- * Bytes rather than MiB so the number needs no rounding on the way out; divide by 1048576
1076
- * for MiB/s at the point of display.
1077
- * @nullable
1078
- */
1079
- throughput_at_min_size: number | null;
1080
- /**
1081
- * Throughput a disk of `max_size_gb` gets, in bytes per second. Null when this type is not rate-limited
1082
- * @nullable
1083
- */
1084
- throughput_at_max_size: number | null;
1085
- billing: BillingComponent;
1086
- }
1087
- export interface DiskTypeListResponseBody {
1088
- /** @nullable */
1089
- items: DiskTypeResource[] | null;
1090
- pagination: OffsetPagination;
1091
- }
1092
- export interface ImageListResponseBody {
1093
- items: ImageResource[];
1094
- pagination: OffsetPagination;
1095
- }
1096
- export interface InstanceTypeResource {
1097
- availability_zone_id: string;
1098
- id: string;
1099
- /**
1100
- * The most public bandwidth a machine of this type may be given, in Mbps. Asking for more
1101
- * when creating a machine, or raising a bound address past it, is refused.
1102
- *
1103
- * A ceiling on what can be bought, not a speed. How fast the machine's own interfaces run is
1104
- * `network_egress_kbps` / `network_ingress_kbps`.
1105
- */
1106
- max_bandwidth_mbps: number;
1107
- /**
1108
- * Outbound ceiling of **each** network interface, in kbps. Null when this type is not
1109
- * rate-limited.
1110
- *
1111
- * Per interface rather than per machine: a machine with two interfaces has this ceiling on
1112
- * each of them, not shared between them. `max_ports` says how many it may have.
1113
- * @nullable
1114
- */
1115
- network_egress_kbps: number | null;
1116
- /**
1117
- * Inbound ceiling of each network interface, in kbps. Null when this type is not rate-limited
1118
- * @nullable
1119
- */
1120
- network_ingress_kbps: number | null;
1121
- max_floating_ips: number;
1122
- max_ports: number;
1123
- name: string;
1124
- ram_mb: number;
1125
- region_id: string;
1126
- vcpus: number;
1127
- billing: BillingComponent;
1128
- }
1129
- export interface InstanceTypeListResponseBody {
1130
- items: InstanceTypeResource[];
1131
- pagination: OffsetPagination;
1132
- }
1133
- export interface RegionResource {
1134
- /** ISO 3166-1 alpha-2 country this region sits in. Two letters, uppercase. */
1135
- country_code: string;
1136
- /** Display name for this place, shown to tenants (Hong Kong). The stable handle is code. */
1137
- name: string;
1138
- /** The region's code, the way the outside world names this place (hk-1). Stable and human-written; addressing is by id. */
1139
- code: string;
1140
- id: string;
1141
- /** Private images stored in this region. */
1142
- private_image_billing: BillingComponent;
1143
- /** The region's backup service. Retained backup capacity beyond the active capacity packs is reported on it by the hour. */
1144
- backup_service_billing: BillingComponent;
1145
- /** Backup capacity packs in this region; null where none are sold. */
1146
- capacity_pack_billing: BillingComponent | null;
1147
- /** The snapshot quota in this region; null where it is not sold. */
1148
- snapshot_quota_billing: BillingComponent | null;
1149
- }
1150
- export interface RegionListResponseBody {
1151
- /** @nullable */
1152
- items: RegionResource[] | null;
1153
- pagination: OffsetPagination;
1154
- }
1155
- export interface ZoneResource {
1156
- /** Display name for this zone, shown to tenants (Hong Kong A). The stable handle is code. */
1157
- name: string;
1158
- /** The zone's code within its region (hk-1-a). Stable and human-written; addressing is by id. */
1159
- code: string;
1160
- id: string;
1161
- }
1162
- export interface ZoneListResponseBody {
1163
- /** @nullable */
1164
- items: ZoneResource[] | null;
1165
- pagination: OffsetPagination;
1166
- }
1167
- export interface DiskListResponseBody {
1168
- /** @nullable */
1169
- items: DiskResource[] | null;
1170
- pagination: OffsetPagination;
1171
- }
1172
- export interface CreateDiskRequestBody {
1173
- /**
1174
- * A data disk type currently on sale, one whose `purpose` is `data`. A withdrawn one is rejected even though its identifier still resolves
1175
- * @maxLength 64
1176
- */
1177
- disk_type_id: string;
1178
- /**
1179
- * @minLength 1
1180
- * @maxLength 128
1181
- */
1182
- name: string;
1183
- /** @minimum 1 */
1184
- size_gb: number;
1185
- /** Restore from this snapshot. When given, the capacity need only be no smaller than the snapshot */
1186
- snapshot_id?: string;
1187
- billing: BillingChoice;
1188
- checkout?: CheckoutOptions;
1189
- }
1190
- export interface RenameDiskRequestBody {
1191
- /**
1192
- * @minLength 1
1193
- * @maxLength 128
1194
- */
1195
- name: string;
1196
- }
1197
- export interface ResizeDiskRequestBody {
1198
- /**
1199
- * Must be larger than the current capacity
1200
- * @minimum 1
1201
- */
1202
- size_gb: number;
1203
- checkout?: CheckoutOptions;
1204
- /** The `proration_date` of Billing's quote for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
1205
- proration_date?: string;
1206
- }
1207
- export interface RevertDiskRequestBody {
1208
- /** Must be the most recent snapshot of the disk */
1209
- snapshot_id: string;
1210
- }
1211
- export interface FloatingIPListResponseBody {
1212
- /** @nullable */
1213
- items: FloatingIPResource[] | null;
1214
- pagination: OffsetPagination;
1215
- }
1216
- export interface AllocateFloatingIPRequestBody {
1217
- /**
1218
- * The address to allocate. Allocated by the platform when omitted
1219
- * @maxLength 64
1220
- */
1221
- address?: string;
1222
- /**
1223
- * The bandwidth ceiling of this address, in Mbit/s, applied to both directions.
1224
- *
1225
- * Required, and there is no "unlimited": an address with no ceiling runs at line rate and is
1226
- * charged nothing for the traffic, while the address itself bills normally — so the invoice
1227
- * looks correct and nothing anywhere reports it.
1228
- *
1229
- * It is part of this floating IP purchase and is billed under the pool's `billing`, with the
1230
- * purchase's billing choice. Changing it later updates the
1231
- * same floating IP through its bandwidth endpoint, not an independent bandwidth resource.
1232
- * @minimum 1
1233
- * @maximum 1000
1234
- */
1235
- bandwidth_mbps: number;
1236
- private_network_id: string;
1237
- ipv4_pool_id: string;
1238
- billing: BillingChoice;
1239
- checkout?: CheckoutOptions;
1240
- }
1241
- /**
1242
- * Change bandwidth on the floating IP identified by the path. This is a configuration change
1243
- * of that purchase, not an independent bandwidth purchase. Checkout is handled by Billing.
1244
- */
1245
- export interface SetFloatingIPBandwidthRequestBody {
1246
- /**
1247
- * Applied to both directions
1248
- * @minimum 1
1249
- */
1250
- bandwidth_mbps: number;
1251
- checkout?: CheckoutOptions;
1252
- /** The `proration_date` of Billing's quote for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
1253
- proration_date?: string;
1254
- }
1255
- export interface BindFloatingIPRequestBody {
1256
- port_address_id: string;
1257
- }
1258
- export interface InstanceListResponseBody {
1259
- items: InstanceResource[];
1260
- pagination: OffsetPagination;
1261
- }
1262
- /**
1263
- * The compute capacity purchased for each instance in this order.
1264
- */
1265
- export interface NewCompute {
1266
- /**
1267
- * An instance type currently on sale.
1268
- * @maxLength 64
1269
- */
1270
- instance_type_id: string;
1271
- billing: BillingChoice;
1272
- }
1273
- export type NewBootDiskType = (typeof NewBootDiskType)[keyof typeof NewBootDiskType];
1274
- export declare const NewBootDiskType: {
1275
- readonly image: "image";
1276
- };
1277
- /**
1278
- * A system disk created from an image and purchased in the instance order. Its commercial terms are explicit and its release policy does not override them.
1279
- */
1280
- export interface NewBootDisk {
1281
- type: NewBootDiskType;
1282
- /**
1283
- * A public image on sale, or an available private image of this project.
1284
- * @maxLength 64
1285
- */
1286
- image_id: string;
1287
- /** A system disk type on sale in the availability zone of the instance, one whose `purpose` is `system` */
1288
- disk_type_id: string;
1289
- /** @minimum 1 */
1290
- size_gb: number;
1291
- delete_with_instance?: boolean;
1292
- billing: BillingChoice;
1293
- }
1294
- export type ExistingBootDiskType = (typeof ExistingBootDiskType)[keyof typeof ExistingBootDiskType];
1295
- export declare const ExistingBootDiskType: {
1296
- readonly disk: "disk";
1297
- };
1298
- export interface ExistingBootDisk {
1299
- type: ExistingBootDiskType;
1300
- /** A prepared boot disk owned by this project, available and unattached in the same availability zone as the instance type. Only one instance may be created when used. */
1301
- disk_id: string;
1302
- /**
1303
- * The existing account used to log in to this disk's operating system.
1304
- * @minLength 1
1305
- * @maxLength 32
1306
- */
1307
- login_username: string;
1308
- }
1309
- /**
1310
- * Create a boot disk from an image, or use a prepared disk already held by this project. Using an existing disk does not buy it again and always keeps it when the instance is released.
1311
- */
1312
- export type BootDisk = NewBootDisk | ExistingBootDisk;
1313
- /**
1314
- * One floating IP purchased with this bandwidth configuration in the instance's order. Mutually exclusive with floating_ip_id.
1315
- */
1316
- export interface NewFloatingIP {
1317
- /**
1318
- * @minimum 1
1319
- * @maximum 1000
1320
- */
1321
- bandwidth_mbps: number;
1322
- ipv4_pool_id: string;
1323
- billing: BillingChoice;
1324
- }
1325
- export interface LaunchInstanceRequestBody {
1326
- /**
1327
- * Bind a floating IP you already hold, instead of allocating a new one. It must be idle and in
1328
- * the same region.
1329
- *
1330
- * Mutually exclusive with `bandwidth_mbps`: an address you already hold has its own bandwidth
1331
- * ceiling, set when it was allocated, and changing it is a separate operation.
1332
- *
1333
- * Like `bandwidth_mbps`, this happens **inside the creation**: if binding fails, no instance is
1334
- * created. Binding afterwards is still possible from the instance page, but then it is two
1335
- * operations and a failure in between leaves an instance you cannot reach.
1336
- *
1337
- * Only one instance can be created when it is used — one address binds to one interface.
1338
- */
1339
- floating_ip_id?: string;
1340
- /**
1341
- * Number of instances to create; 1 when omitted. Names are numbered automatically for several
1342
- * @minimum 1
1343
- * @maximum 20
1344
- */
1345
- count?: number;
1346
- /** Have the platform generate a random password, returned only in this response */
1347
- generate_password?: boolean;
1348
- compute: NewCompute;
1349
- /**
1350
- * @minLength 1
1351
- * @maxLength 128
1352
- */
1353
- name: string;
1354
- /**
1355
- * The password to set, on the login account and on root. Only the SSH public keys of the project are used when omitted
1356
- * @maxLength 128
1357
- */
1358
- password?: string;
1359
- /** Use an existing network interface, which may already have a floating IP bound. Exactly one of this and `subnet_id`; only one instance can be created when it is used */
1360
- port_id?: string;
1361
- /**
1362
- * Required when a primary network interface is created, at least one; the default security group is not applied automatically. Ignored together with `port_id`, as the security groups of that interface were fixed when it was created
1363
- * @minItems 1
1364
- * @nullable
1365
- */
1366
- security_group_ids?: string[] | null;
1367
- /** Create the primary network interface in this subnet. Exactly one of this and `port_id` */
1368
- subnet_id?: string;
1369
- checkout?: CheckoutOptions;
1370
- boot_disk: BootDisk;
1371
- floating_ip?: NewFloatingIP;
1372
- }
1373
- /**
1374
- * The complete set of labels. Whatever is absent here is removed; send an empty object to clear them all. A key may not contain a colon, whitespace or control characters
1375
- */
1376
- export type SetInstanceLabelsRequestBodyLabels = {
1377
- [key: string]: string;
1378
- };
1379
- export interface SetInstanceLabelsRequestBody {
1380
- /** The complete set of labels. Whatever is absent here is removed; send an empty object to clear them all. A key may not contain a colon, whitespace or control characters */
1381
- labels: SetInstanceLabelsRequestBodyLabels;
1382
- }
1383
- export interface SetInstanceNotesRequestBody {
1384
- /**
1385
- * The complete note. Send an empty string to clear it
1386
- * @maxLength 4096
1387
- */
1388
- notes: string;
1389
- }
1390
- export interface RenameInstanceRequestBody {
1391
- /**
1392
- * @minLength 1
1393
- * @maxLength 128
1394
- */
1395
- name: string;
1396
- }
1397
- export interface RebootInstanceRequestBody {
1398
- /** A forced reboot does not wait for the operating system to shut down and unwritten data is lost; use it when the system is unresponsive. False when omitted */
1399
- force?: boolean;
1400
- }
1401
- export interface RunCommandRequestBody {
1402
- /**
1403
- * Run by the login shell, so pipes, redirection and `&&` work. It cannot read standard input
1404
- * @minLength 1
1405
- * @maxLength 65536
1406
- */
1407
- command: string;
1408
- /**
1409
- * Kill the command after this long. 60 when omitted
1410
- * @minimum 1
1411
- * @maximum 300
1412
- */
1413
- timeout_seconds?: number;
1414
- }
1415
- export interface CommandResultResponseBody {
1416
- /**
1417
- * What the command exited with, 0 being success. Any other value is the command's own verdict and still arrives as a 200. Null when it was killed rather than exiting on its own, which includes the timeout — null is the absence of a verdict, not a successful one
1418
- * @nullable
1419
- */
1420
- exit_code: number | null;
1421
- stderr: string;
1422
- stdout: string;
1423
- /** True when the command was still running at the timeout and was killed */
1424
- timed_out: boolean;
1425
- /** True when either stream hit the 1 MiB cap and the rest was discarded */
1426
- truncated: boolean;
1427
- }
1428
- export interface ConsoleResponseBody {
1429
- /** Connection address of the remote console; single-use and expires within minutes */
1430
- console_url: string;
1431
- }
1432
- export interface ConsoleOutputResponseBody {
1433
- /** Raw text of the console output, in the same line order as inside the instance */
1434
- output: string;
1435
- }
1436
- export interface ResetPasswordRequestBody {
1437
- /** Have the platform generate a random password, returned only in this response */
1438
- generate_password?: boolean;
1439
- /**
1440
- * New root password. Exactly one of this and `generate_password`
1441
- * @maxLength 128
1442
- */
1443
- password?: string;
1444
- }
1445
- export interface ResetPasswordResponseBody {
1446
- /** The password generated by the platform, returned only in this response. Empty when the password was supplied in the request */
1447
- password: string;
1448
- }
1449
- export interface RebuildInstanceRequestBody {
1450
- generate_password?: boolean;
1451
- /**
1452
- * A public image, which must be on sale unless it is the one this instance already runs, or an available private image of this project
1453
- * @maxLength 64
1454
- */
1455
- image_id: string;
1456
- /** @maxLength 128 */
1457
- password?: string;
1458
- }
1459
- export interface RebuildInstanceResponseBody {
1460
- instance: InstanceResource;
1461
- /** Returned only in this response; store it immediately */
1462
- password: string;
1463
- }
1464
- export interface ResizeInstanceRequestBody {
1465
- /**
1466
- * Must be in the same region and availability zone as the current instance type
1467
- * @maxLength 64
1468
- */
1469
- instance_type_id: string;
1470
- checkout?: CheckoutOptions;
1471
- /** The `proration_date` of Billing's quote for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
1472
- proration_date?: string;
1473
- }
1474
- export interface AttachDiskRequestBody {
1475
- disk_id: string;
1476
- }
1477
- export interface AttachFloatingIPRequestBody {
1478
- floating_ip_id: string;
1479
- }
1480
- /**
1481
- * `missing` means the interface no longer exists in the cloud.
1482
- */
1483
- export type PortResourceStatus = (typeof PortResourceStatus)[keyof typeof PortResourceStatus];
1484
- export declare const PortResourceStatus: {
1485
- readonly pending: "pending";
1486
- readonly available: "available";
1487
- readonly error: "error";
1488
- readonly unknown: "unknown";
1489
- readonly missing: "missing";
1490
- };
1491
- export type PortAddressState = (typeof PortAddressState)[keyof typeof PortAddressState];
1492
- export declare const PortAddressState: {
1493
- readonly reserved: "reserved";
1494
- readonly assigned: "assigned";
1495
- readonly released: "released";
1496
- readonly unknown: "unknown";
1497
- };
1498
- export interface PortAddress {
1499
- id: string;
1500
- subnet_id: string;
1501
- /**
1502
- * @minLength 1
1503
- * @maxLength 64
1504
- */
1505
- address: string;
1506
- is_primary: boolean;
1507
- state: PortAddressState;
1508
- /** @nullable */
1509
- assigned_at: string | null;
1510
- /** @nullable */
1511
- released_at: string | null;
1512
- }
1513
- export type PortAttachmentRole = (typeof PortAttachmentRole)[keyof typeof PortAttachmentRole];
1514
- export declare const PortAttachmentRole: {
1515
- readonly primary: "primary";
1516
- readonly additional: "additional";
1517
- };
1518
- export type PortAttachmentState = (typeof PortAttachmentState)[keyof typeof PortAttachmentState];
1519
- export declare const PortAttachmentState: {
1520
- readonly reserved: "reserved";
1521
- readonly attached: "attached";
1522
- readonly released: "released";
1523
- readonly unknown: "unknown";
1524
- };
1525
- export interface PortAttachment {
1526
- id: string;
1527
- instance_id: string;
1528
- port_id: string;
1529
- role: PortAttachmentRole;
1530
- delete_with_instance: boolean;
1531
- state: PortAttachmentState;
1532
- /** @nullable */
1533
- attached_at: string | null;
1534
- /** @nullable */
1535
- detached_at: string | null;
1536
- /** @nullable */
1537
- released_at: string | null;
1538
- }
1539
- export type PortOperationType = (typeof PortOperationType)[keyof typeof PortOperationType];
1540
- export declare const PortOperationType: {
1541
- readonly create: "create";
1542
- readonly attach: "attach";
1543
- readonly detach: "detach";
1544
- readonly delete: "delete";
1545
- };
1546
- /**
1547
- * An operation still running on this network interface. It is not a separate resource; once it finishes, the network interface's `operation` is null again and the network interface shows the result.
1548
- */
1549
- export interface PortOperation {
1550
- type: PortOperationType;
1551
- started_at: string;
1552
- }
1553
- export interface PortResource {
1554
- id: string;
1555
- /** @nullable */
1556
- mac: string | null;
1557
- name: string;
1558
- private_network_id: string;
1559
- /**
1560
- * Floating IPv4 addresses bound to this network interface; an empty array when none are bound
1561
- * @nullable
1562
- */
1563
- public_ips: string[] | null;
1564
- addresses?: PortAddress[];
1565
- attachment?: PortAttachment | null;
1566
- /** `missing` means the interface no longer exists in the cloud. */
1567
- status: PortResourceStatus;
1568
- /** @minimum 1 */
1569
- generation: number;
1570
- /** @nullable */
1571
- observed_at: string | null;
1572
- /** The operation in progress on this network interface, or null when none is. */
1573
- readonly operation: PortOperation | null;
1574
- }
1575
- export interface PortListResponseBody {
1576
- /** @nullable */
1577
- items: PortResource[] | null;
1578
- pagination: OffsetPagination;
1579
- }
1580
- export interface AttachPortRequestBody {
1581
- port_id: string;
1582
- }
1583
- /**
1584
- * Path and query parameters of the request. Fields such as passwords are redacted
1585
- */
1586
- export type OperationLogResourcePayload = {
1587
- [key: string]: unknown;
1588
- };
1589
- export interface OperationLogResource {
1590
- /** Name of the operation; matches the operation id of the endpoint */
1591
- action: string;
1592
- /**
1593
- * The user who initiated the operation. Empty when the platform performed it
1594
- * @nullable
1595
- */
1596
- actor: string | null;
1597
- /**
1598
- * The name this user went by at the time of the operation, recorded alongside the operation itself. It is not refreshed afterwards: the record states who acted then, and a name read today is a statement about a different moment.
1599
- *
1600
- * Null on entries recorded before this field existed, and on entries performed by the platform. An empty string means the account had no name recorded.
1601
- * @nullable
1602
- */
1603
- actor_name: string | null;
1604
- /** True when the operation was performed by the platform */
1605
- by_platform: boolean;
1606
- created_at: string;
1607
- /**
1608
- * Brief reason for the failure
1609
- * @nullable
1610
- */
1611
- failure: string | null;
1612
- id: string;
1613
- /** Path and query parameters of the request. Fields such as passwords are redacted */
1614
- payload: OperationLogResourcePayload;
1615
- /** @nullable */
1616
- region_id: string | null;
1617
- /** Empty for create operations: the id of the new resource is in the response, not in the request path */
1618
- subject_id: string;
1619
- subject_type: string;
1620
- succeeded: boolean;
1621
- }
1622
- export interface OperationLogListResponseBody {
1623
- items: OperationLogResource[];
1624
- pagination: OffsetPagination;
1625
- }
1626
- export interface CreatePortRequestBody {
1627
- /** @maxLength 128 */
1628
- name?: string;
1629
- /**
1630
- * At least one, and all must belong to the same private network
1631
- * @minItems 1
1632
- * @nullable
1633
- */
1634
- security_group_ids: string[] | null;
1635
- subnet_id: string;
1636
- /**
1637
- * The private address to assign. Allocated automatically when omitted
1638
- * @maxLength 64
1639
- */
1640
- address?: string;
1641
- }
1642
- export interface CreateImageRequestBody {
1643
- /** Captured from the system disk of this instance; data disks are not included */
1644
- instance_id: string;
1645
- /**
1646
- * @minLength 1
1647
- * @maxLength 128
1648
- */
1649
- name: string;
1650
- billing: BillingChoice;
1651
- checkout?: CheckoutOptions;
1652
- }
1653
- export interface RenameImageRequestBody {
1654
- /**
1655
- * @minLength 1
1656
- * @maxLength 128
1657
- */
1658
- name: string;
1659
- }
1660
- export interface PrivateNetworkResource {
1661
- cidr: string;
1662
- created_at: string;
1663
- id: string;
1664
- name: string;
1665
- region_id: string;
1666
- updated_at: string;
1667
- }
1668
- export interface PrivateNetworkListResponseBody {
1669
- /** @nullable */
1670
- items: PrivateNetworkResource[] | null;
1671
- pagination: OffsetPagination;
1672
- }
1673
- export interface CreatePrivateNetworkRequestBody {
1674
- /**
1675
- * Must be an RFC 1918 private CIDR with a prefix length between /8 and /24, for example `10.0.0.0/16`
1676
- * @minLength 1
1677
- * @maxLength 32
1678
- */
1679
- cidr: string;
1680
- /**
1681
- * @minLength 1
1682
- * @maxLength 128
1683
- */
1684
- name: string;
1685
- region_id: string;
1686
- }
1687
- export interface RenamePrivateNetworkRequestBody {
1688
- /**
1689
- * @minLength 1
1690
- * @maxLength 128
1691
- */
1692
- name: string;
1693
- }
1694
- /**
1695
- * `active` means IPv6 is fully available
1696
- */
1697
- export type IPv6ResponseBodyStatus = (typeof IPv6ResponseBodyStatus)[keyof typeof IPv6ResponseBodyStatus];
1698
- export declare const IPv6ResponseBodyStatus: {
1699
- readonly pending: "pending";
1700
- readonly active: "active";
1701
- readonly draining: "draining";
1702
- };
1703
- export interface IPv6ResponseBody {
1704
- /** The allocated /64 prefix; empty while IPv6 is disabled */
1705
- cidr: string;
1706
- enabled: boolean;
1707
- /** `active` means IPv6 is fully available */
1708
- status: IPv6ResponseBodyStatus;
1709
- }
1710
- export interface RouteResource {
1711
- /** System-owned peering route. Delete the peering to remove this route. */
1712
- peering_id?: string;
1713
- created_at: string;
1714
- description: string;
1715
- destination: string;
1716
- id: string;
1717
- /** Present for custom routes; peering routes expose peering_id instead. */
1718
- nexthop?: string;
1719
- }
1720
- export interface RouteListResponseBody {
1721
- /** @nullable */
1722
- items: RouteResource[] | null;
1723
- pagination: OffsetPagination;
1724
- }
1725
- export interface CreateRouteRequestBody {
1726
- /** @maxLength 255 */
1727
- description?: string;
1728
- /**
1729
- * Destination CIDR. It cannot be `0.0.0.0/0`, nor the CIDR of a subnet of this network
1730
- * @minLength 1
1731
- * @maxLength 32
1732
- */
1733
- destination: string;
1734
- /**
1735
- * Private address of an instance; must fall inside a subnet of this private network
1736
- * @minLength 1
1737
- * @maxLength 64
1738
- */
1739
- nexthop: string;
1740
- }
1741
- export type SubnetResourceIpVersion = (typeof SubnetResourceIpVersion)[keyof typeof SubnetResourceIpVersion];
1742
- export declare const SubnetResourceIpVersion: {
1743
- readonly NUMBER_4: 4;
1744
- readonly NUMBER_6: 6;
1745
- };
1746
- export interface SubnetResource {
1747
- cidr: string;
1748
- /** @nullable */
1749
- gateway_ip: string | null;
1750
- id: string;
1751
- ip_version: SubnetResourceIpVersion;
1752
- name: string;
1753
- private_network_id: string;
1754
- }
1755
- export interface SubnetListResponseBody {
1756
- /** @nullable */
1757
- items: SubnetResource[] | null;
1758
- pagination: OffsetPagination;
1759
- }
1760
- export interface CreateSubnetRequestBody {
1761
- /**
1762
- * Must fall inside the CIDR of the private network and must not overlap an existing subnet
1763
- * @minLength 1
1764
- * @maxLength 32
1765
- */
1766
- cidr: string;
1767
- /**
1768
- * @minLength 1
1769
- * @maxLength 128
1770
- */
1771
- name: string;
1772
- }
1773
- export interface NextFreeCidrResponseBody {
1774
- /** Empty when the private network has no free CIDR left for that prefix length */
1775
- cidr: string;
1776
- }
1777
- export interface SecurityGroupResource {
1778
- created_at: string;
1779
- description: string;
1780
- id: string;
1781
- /** The default security group is released with its private network and cannot be deleted individually */
1782
- is_default: boolean;
1783
- name: string;
1784
- private_network_id: string;
1785
- }
1786
- export interface SecurityGroupListResponseBody {
1787
- /** @nullable */
1788
- items: SecurityGroupResource[] | null;
1789
- pagination: OffsetPagination;
1790
- }
1791
- export interface CreateSecurityGroupRequestBody {
1792
- /** @maxLength 500 */
1793
- description?: string;
1794
- /**
1795
- * @minLength 1
1796
- * @maxLength 128
1797
- */
1798
- name: string;
1799
- private_network_id: string;
1800
- }
1801
- export type SecurityRuleResourceDirection = (typeof SecurityRuleResourceDirection)[keyof typeof SecurityRuleResourceDirection];
1802
- export declare const SecurityRuleResourceDirection: {
1803
- readonly ingress: "ingress";
1804
- readonly egress: "egress";
1805
- };
1806
- export type SecurityRuleResourceEthertype = (typeof SecurityRuleResourceEthertype)[keyof typeof SecurityRuleResourceEthertype];
1807
- export declare const SecurityRuleResourceEthertype: {
1808
- readonly IPv4: "IPv4";
1809
- readonly IPv6: "IPv6";
1810
- };
1811
- export interface SecurityRuleResource {
1812
- created_at: string;
1813
- description: string;
1814
- direction: SecurityRuleResourceDirection;
1815
- ethertype: SecurityRuleResourceEthertype;
1816
- id: string;
1817
- /**
1818
- * Denotes the ICMP code rather than a port when the protocol is ICMP
1819
- * @nullable
1820
- */
1821
- port_range_max: number | null;
1822
- /**
1823
- * Denotes the ICMP type rather than a port when the protocol is ICMP
1824
- * @nullable
1825
- */
1826
- port_range_min: number | null;
1827
- /** @nullable */
1828
- protocol: string | null;
1829
- /** @nullable */
1830
- remote_ip_prefix: string | null;
1831
- }
1832
- export interface SecurityRuleListResponseBody {
1833
- /** @nullable */
1834
- items: SecurityRuleResource[] | null;
1835
- pagination: OffsetPagination;
1836
- }
1837
- export type CreateSecurityRuleRequestBodyDirection = (typeof CreateSecurityRuleRequestBodyDirection)[keyof typeof CreateSecurityRuleRequestBodyDirection];
1838
- export declare const CreateSecurityRuleRequestBodyDirection: {
1839
- readonly ingress: "ingress";
1840
- readonly egress: "egress";
1841
- };
1842
- export type CreateSecurityRuleRequestBodyEthertype = (typeof CreateSecurityRuleRequestBodyEthertype)[keyof typeof CreateSecurityRuleRequestBodyEthertype];
1843
- export declare const CreateSecurityRuleRequestBodyEthertype: {
1844
- readonly IPv4: "IPv4";
1845
- readonly IPv6: "IPv6";
1846
- };
1847
- export interface CreateSecurityRuleRequestBody {
1848
- /** @maxLength 255 */
1849
- description?: string;
1850
- direction: CreateSecurityRuleRequestBodyDirection;
1851
- ethertype: CreateSecurityRuleRequestBodyEthertype;
1852
- /**
1853
- * Denotes the ICMP code (0–255) rather than a port when the protocol is ICMP
1854
- * @nullable
1855
- */
1856
- port_range_max?: number | null;
1857
- /**
1858
- * Denotes the ICMP type (0–255) rather than a port when the protocol is ICMP
1859
- * @nullable
1860
- */
1861
- port_range_min?: number | null;
1862
- /**
1863
- * For example `tcp`, `udp`, `icmp` or `ipv6-icmp`. All protocols when omitted
1864
- * @maxLength 16
1865
- */
1866
- protocol?: string;
1867
- /**
1868
- * Equivalent to `0.0.0.0/0` or `::/0` when omitted
1869
- * @maxLength 64
1870
- */
1871
- remote_ip_prefix?: string;
1872
- }
1873
- /**
1874
- * inactive has no purchase; pending is a first purchase whose order has not been accepted;
1875
- * provisioning is a first purchase being activated; active permits creation within available
1876
- * capacity; suspended refuses new creation; failed means the first purchase failed, as
1877
- * failure_reason states. A pending change keeps the current status and limit until it is applied.
1878
- */
1879
- export type SnapshotQuotaStatus = (typeof SnapshotQuotaStatus)[keyof typeof SnapshotQuotaStatus];
1880
- export declare const SnapshotQuotaStatus: {
1881
- readonly inactive: "inactive";
1882
- readonly pending: "pending";
1883
- readonly provisioning: "provisioning";
1884
- readonly active: "active";
1885
- readonly suspended: "suspended";
1886
- readonly failed: "failed";
1887
- };
1888
- /**
1889
- * Why the first purchase failed; null unless status is failed. A failed change leaves the current
1890
- * limit in force and clears pending_limit; its Checkout Session or order shows the outcome.
1891
- * @nullable
1892
- */
1893
- export type SnapshotQuotaFailureReason = (typeof SnapshotQuotaFailureReason)[keyof typeof SnapshotQuotaFailureReason] | null;
1894
- export declare const SnapshotQuotaFailureReason: {
1895
- readonly checkout_expired: "checkout_expired";
1896
- readonly order_declined: "order_declined";
1897
- readonly order_canceled: "order_canceled";
1898
- readonly order_expired: "order_expired";
1899
- readonly provisioning_failed: "provisioning_failed";
1900
- };
1901
- /**
1902
- * Snapshot count capacity for the authenticated project and one region, projected from its
1903
- * effective quota purchase and Compute's actual holdings. This is not a Billing Allowance:
1904
- * creation occupies capacity and confirmed deletion releases it rather than consuming a grant.
1905
- * Pending purchases never increase effective capacity before commercial acceptance and activation.
1906
- */
1907
- export interface SnapshotQuota {
1908
- region_id: string;
1909
- /**
1910
- * inactive has no purchase; pending is a first purchase whose order has not been accepted;
1911
- * provisioning is a first purchase being activated; active permits creation within available
1912
- * capacity; suspended refuses new creation; failed means the first purchase failed, as
1913
- * failure_reason states. A pending change keeps the current status and limit until it is applied.
1914
- */
1915
- status: SnapshotQuotaStatus;
1916
- /**
1917
- * Effective maximum concurrent snapshot count. Zero until the first purchase is activated.
1918
- * @minimum 0
1919
- */
1920
- limit: number;
1921
- /**
1922
- * Held and reserved snapshot slots, including pending creation and unconfirmed cleanup.
1923
- * @minimum 0
1924
- */
1925
- used: number;
1926
- /**
1927
- * max(limit - used, 0), or zero while creation is not permitted.
1928
- * @minimum 0
1929
- */
1930
- available: number;
1931
- /**
1932
- * The order establishing the currently associated quota purchase, including an initial pending purchase once its checkout completes.
1933
- * @nullable
1934
- */
1935
- order_id: string | null;
1936
- /**
1937
- * The quota purchase's Billing subscription, not an individual snapshot subscription.
1938
- * May still be pending on an initial purchase; an existing subscription remains associated
1939
- * until a replacement quota is activated. Null when no purchase has been recorded.
1940
- * @nullable
1941
- */
1942
- subscription_id: string | null;
1943
- /** The billing choice of the associated quota purchase, as given when it was bought. A change of an existing purchase has to give the same choice. Null when no purchase has been recorded. */
1944
- billing: BillingChoice | null;
1945
- /** The subscription a cancellation through Billing has to cover to release this snapshot quota. A subscription that has ended is not listed, and the list is empty when no subscription pays for the quota. */
1946
- release_subscription_ids: string[];
1947
- /**
1948
- * Target count awaiting checkout or activation; null when no purchase is pending.
1949
- * @minimum 1
1950
- * @nullable
1951
- */
1952
- pending_limit: number | null;
1953
- /**
1954
- * Checkout Session of the pending initial purchase or change; null when none is pending.
1955
- * @nullable
1956
- */
1957
- pending_checkout_session_id: string | null;
1958
- /**
1959
- * Order for the pending initial purchase or change once its checkout completes; null otherwise.
1960
- * @nullable
1961
- */
1962
- pending_order_id: string | null;
1963
- /**
1964
- * Why the first purchase failed; null unless status is failed. A failed change leaves the current
1965
- * limit in force and clears pending_limit; its Checkout Session or order shows the outcome.
1966
- * @nullable
1967
- */
1968
- failure_reason: SnapshotQuotaFailureReason;
1969
- }
1970
- export interface SetSnapshotQuotaRequestBody {
1971
- /**
1972
- * Desired total concurrent snapshot count for this project and region, not additional slots.
1973
- * @minimum 1
1974
- */
1975
- limit: number;
1976
- billing: BillingChoice;
1977
- checkout?: CheckoutOptions;
1978
- /** The `proration_date` of Billing's quote for this change, so that the order is priced from the same instant. Only for automatic checkout; deferred checkout is priced when the customer completes it. Defaults to the time of the request; it must be a whole second, not in the future and at most 10 minutes old, otherwise the request is refused with `BILLING_CHANGE_INVALID`. */
1979
- proration_date?: string;
1980
- }
1981
- export interface SetSnapshotQuotaResponseBody {
1982
- snapshot_quota: SnapshotQuota;
1983
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
1984
- checkout_session_id: string;
1985
- /**
1986
- * The order created when checkout completes, at once for automatic checkout; null until then.
1987
- * @nullable
1988
- */
1989
- order_id: string | null;
1990
- }
1991
- /**
1992
- * `pending` once a quota slot is reserved, `provisioning` while the snapshot is taken, then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `missing` means the snapshot no longer exists in the cloud.
1993
- */
1994
- export type SnapshotResourceStatus = (typeof SnapshotResourceStatus)[keyof typeof SnapshotResourceStatus];
1995
- export declare const SnapshotResourceStatus: {
1996
- readonly pending: "pending";
1997
- readonly provisioning: "provisioning";
1998
- readonly available: "available";
1999
- readonly deleted: "deleted";
2000
- readonly failed: "failed";
2001
- readonly error: "error";
2002
- readonly missing: "missing";
2003
- };
2004
- /**
2005
- * `restore`: a disk is being reverted to this snapshot or created from it.
2006
- */
2007
- export type SnapshotOperationType = (typeof SnapshotOperationType)[keyof typeof SnapshotOperationType];
2008
- export declare const SnapshotOperationType: {
2009
- readonly create: "create";
2010
- readonly restore: "restore";
2011
- readonly delete: "delete";
2012
- };
2013
- /**
2014
- * An operation still running on this snapshot. It is not a separate resource; once it finishes, the snapshot's `operation` is null again and the snapshot shows the result.
2015
- */
2016
- export interface SnapshotOperation {
2017
- /** `restore`: a disk is being reverted to this snapshot or created from it. */
2018
- type: SnapshotOperationType;
2019
- started_at: string;
2020
- }
2021
- /**
2022
- * A snapshot, created within this project's purchased regional snapshot quota. It has no order, price or Billing subscription of its own.
2023
- */
2024
- export interface SnapshotResource {
2025
- /** A disk restored from this snapshot must reside in this availability zone */
2026
- availability_zone_id: string;
2027
- created_at: string;
2028
- disk_id: string;
2029
- id: string;
2030
- name: string;
2031
- region_id: string;
2032
- /** Capacity of the source disk when the snapshot was created. A disk restored from it cannot be smaller */
2033
- size_gb: number;
2034
- /** `pending` once a quota slot is reserved, `provisioning` while the snapshot is taken, then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `missing` means the snapshot no longer exists in the cloud. */
2035
- status: SnapshotResourceStatus;
2036
- /** The operation in progress on this snapshot, or null when none is. */
2037
- readonly operation: SnapshotOperation | null;
2038
- /** @minimum 1 */
2039
- generation: number;
2040
- /** @nullable */
2041
- observed_at: string | null;
2042
- }
2043
- export interface SnapshotListResponseBody {
2044
- /** @nullable */
2045
- items: SnapshotResource[] | null;
2046
- pagination: OffsetPagination;
2047
- }
2048
- /**
2049
- * Create one snapshot using existing project-and-region count quota. The region is taken from
2050
- * disk_id. Purchase or adjust quota separately; this request has no checkout or price selection.
2051
- */
2052
- export interface CreateSnapshotRequestBody {
2053
- disk_id: string;
2054
- /**
2055
- * @minLength 1
2056
- * @maxLength 128
2057
- */
2058
- name: string;
2059
- }
2060
- export interface RenameSecurityGroupRequestBody {
2061
- /**
2062
- * @minLength 1
2063
- * @maxLength 128
2064
- */
2065
- name: string;
2066
- }
2067
- export interface RenameSnapshotRequestBody {
2068
- /**
2069
- * @minLength 1
2070
- * @maxLength 128
2071
- */
2072
- name: string;
2073
- }
2074
- /**
2075
- * `inactive` has never been activated or its subscription has ended; `pending` awaits acceptance of its order; `provisioning` is being activated; `active` accepts new backups; `suspended` refuses new backups and keeps existing ones; `failed` means the activation failed, as `failure_reason` states.
2076
- */
2077
- export type BackupServiceStatus = (typeof BackupServiceStatus)[keyof typeof BackupServiceStatus];
2078
- export declare const BackupServiceStatus: {
2079
- readonly inactive: "inactive";
2080
- readonly pending: "pending";
2081
- readonly provisioning: "provisioning";
2082
- readonly active: "active";
2083
- readonly suspended: "suspended";
2084
- readonly failed: "failed";
2085
- };
2086
- /**
2087
- * Why the purchase failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means it failed after the order was accepted, and its charge is refunded.
2088
- * @nullable
2089
- */
2090
- export type BackupServiceFailureReason = (typeof BackupServiceFailureReason)[keyof typeof BackupServiceFailureReason] | null;
2091
- export declare const BackupServiceFailureReason: {
2092
- readonly checkout_expired: "checkout_expired";
2093
- readonly order_declined: "order_declined";
2094
- readonly order_canceled: "order_canceled";
2095
- readonly order_expired: "order_expired";
2096
- readonly provisioning_failed: "provisioning_failed";
2097
- };
2098
- /**
2099
- * The backup service of a project in one region. Retained backup capacity beyond what active capacity packs cover is metered on it.
2100
- */
2101
- export interface BackupService {
2102
- region_id: string;
2103
- /** `inactive` has never been activated or its subscription has ended; `pending` awaits acceptance of its order; `provisioning` is being activated; `active` accepts new backups; `suspended` refuses new backups and keeps existing ones; `failed` means the activation failed, as `failure_reason` states. */
2104
- status: BackupServiceStatus;
2105
- /**
2106
- * Why the purchase failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means it failed after the order was accepted, and its charge is refunded.
2107
- * @nullable
2108
- */
2109
- failure_reason: BackupServiceFailureReason;
2110
- /**
2111
- * The Checkout Session of the activation; null before an activation is requested.
2112
- * @nullable
2113
- */
2114
- checkout_session_id: string | null;
2115
- /**
2116
- * The order that activated the service; null until the activation's checkout completes.
2117
- * @nullable
2118
- */
2119
- order_id: string | null;
2120
- /**
2121
- * The Billing subscription that backup usage is billed under; null until the activation's checkout completes.
2122
- * @nullable
2123
- */
2124
- subscription_id: string | null;
2125
- /** The subscription a cancellation through Billing has to cover to release this backup service. A subscription that has ended is not listed, and the list is empty when no subscription pays for the service. */
2126
- release_subscription_ids: string[];
2127
- /**
2128
- * The total `capacity_gib` of the backups retained in this region.
2129
- * @minimum 0
2130
- */
2131
- retained_capacity_gib: number;
2132
- /**
2133
- * The total `capacity_gib` of the active capacity packs in this region; this much retained capacity is covered each hour.
2134
- * @minimum 0
2135
- */
2136
- pack_capacity_gib: number;
2137
- }
2138
- export interface CreateBackupServiceRequestBody {
2139
- checkout?: CheckoutOptions;
2140
- }
2141
- export interface CreateBackupServiceResponseBody {
2142
- backup_service: BackupService;
2143
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2144
- checkout_session_id: string;
2145
- /**
2146
- * The order created when checkout completes, at once for automatic checkout; null until then.
2147
- * @nullable
2148
- */
2149
- order_id: string | null;
2150
- }
2151
- /**
2152
- * `pending` awaits acceptance of its order; `provisioning` is being applied; `active` covers backup capacity; `ended` no longer does because its subscription has ended; `failed` means the purchase failed, as `failure_reason` states.
2153
- */
2154
- export type BackupCapacityPackStatus = (typeof BackupCapacityPackStatus)[keyof typeof BackupCapacityPackStatus];
2155
- export declare const BackupCapacityPackStatus: {
2156
- readonly pending: "pending";
2157
- readonly provisioning: "provisioning";
2158
- readonly active: "active";
2159
- readonly ended: "ended";
2160
- readonly failed: "failed";
2161
- };
2162
- /**
2163
- * Why the purchase failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means it failed after the order was accepted, and its charge is refunded.
2164
- * @nullable
2165
- */
2166
- export type BackupCapacityPackFailureReason = (typeof BackupCapacityPackFailureReason)[keyof typeof BackupCapacityPackFailureReason] | null;
2167
- export declare const BackupCapacityPackFailureReason: {
2168
- readonly checkout_expired: "checkout_expired";
2169
- readonly order_declined: "order_declined";
2170
- readonly order_canceled: "order_canceled";
2171
- readonly order_expired: "order_expired";
2172
- readonly provisioning_failed: "provisioning_failed";
2173
- };
2174
- /**
2175
- * Backup capacity for one region, sold by Compute and bought for a term through its own Billing subscription. Compute applies its coverage to backup usage; it is not a Billing allowance or credit.
2176
- */
2177
- export interface BackupCapacityPack {
2178
- id: string;
2179
- region_id: string;
2180
- /** @minimum 1 */
2181
- capacity_gib: number;
2182
- /** `pending` awaits acceptance of its order; `provisioning` is being applied; `active` covers backup capacity; `ended` no longer does because its subscription has ended; `failed` means the purchase failed, as `failure_reason` states. */
2183
- status: BackupCapacityPackStatus;
2184
- /**
2185
- * Why the purchase failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means it failed after the order was accepted, and its charge is refunded.
2186
- * @nullable
2187
- */
2188
- failure_reason: BackupCapacityPackFailureReason;
2189
- /**
2190
- * The Billing Checkout Session that bought the pack. Null when the pack was not bought through one.
2191
- * @nullable
2192
- */
2193
- checkout_session_id: string | null;
2194
- /**
2195
- * Null until the pack's checkout completes.
2196
- * @nullable
2197
- */
2198
- order_id: string | null;
2199
- /**
2200
- * The pack's Billing subscription, through which it is renewed or canceled.
2201
- * @nullable
2202
- */
2203
- subscription_id: string | null;
2204
- /** The subscription a cancellation through Billing has to cover to release this capacity pack. A subscription that has ended is not listed, and the list is empty when no subscription pays for the pack. */
2205
- release_subscription_ids: string[];
2206
- created_at: string;
2207
- }
2208
- export interface BackupCapacityPackListResponseBody {
2209
- items: BackupCapacityPack[];
2210
- pagination: OffsetPagination;
2211
- }
2212
- export interface CreateBackupCapacityPackRequestBody {
2213
- /** @minimum 1 */
2214
- capacity_gib: number;
2215
- billing: BillingChoice;
2216
- checkout?: CheckoutOptions;
2217
- }
2218
- export interface CreateBackupCapacityPackResponseBody {
2219
- backup_capacity_pack: BackupCapacityPack;
2220
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2221
- checkout_session_id: string;
2222
- /**
2223
- * The order created when checkout completes, at once for automatic checkout; null until then.
2224
- * @nullable
2225
- */
2226
- order_id: string | null;
2227
- }
2228
- /**
2229
- * The new disk, `pending` until its order is accepted, and its Checkout Session. Also returned for a disk restored
2230
- * from a backup.
2231
- */
2232
- export interface CreateDiskResponseBody {
2233
- disk: DiskResource;
2234
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2235
- checkout_session_id: string;
2236
- /**
2237
- * The order created when checkout completes, at once for automatic checkout; null until then.
2238
- * @nullable
2239
- */
2240
- order_id: string | null;
2241
- }
2242
- /**
2243
- * The new private image, `pending` until its order is accepted, and its Checkout Session.
2244
- */
2245
- export interface CreateImageResponseBody {
2246
- image: ImageResource;
2247
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2248
- checkout_session_id: string;
2249
- /**
2250
- * The order created when checkout completes, at once for automatic checkout; null until then.
2251
- * @nullable
2252
- */
2253
- order_id: string | null;
2254
- }
2255
- /**
2256
- * The new floating IP, `pending` until its order is accepted, and its Checkout Session. `address` is null until
2257
- * the address is allocated.
2258
- */
2259
- export interface AllocateFloatingIPResponseBody {
2260
- floating_ip: FloatingIPResource;
2261
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2262
- checkout_session_id: string;
2263
- /**
2264
- * The order created when checkout completes, at once for automatic checkout; null until then.
2265
- * @nullable
2266
- */
2267
- order_id: string | null;
2268
- }
2269
- /**
2270
- * The disk, still at its current size, and the Checkout Session for the resize.
2271
- */
2272
- export interface ResizeDiskResponseBody {
2273
- disk: DiskResource;
2274
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2275
- checkout_session_id: string;
2276
- /**
2277
- * The order created when checkout completes, at once for automatic checkout; null until then.
2278
- * @nullable
2279
- */
2280
- order_id: string | null;
2281
- }
2282
- /**
2283
- * The instance, still on its current type, and the Checkout Session for the resize. The instance keeps its ID, and
2284
- * its current subscription remains in force until the resize is applied.
2285
- */
2286
- export interface ResizeInstanceResponseBody {
2287
- instance: InstanceResource;
2288
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2289
- checkout_session_id: string;
2290
- /**
2291
- * The order created when checkout completes, at once for automatic checkout; null until then.
2292
- * @nullable
2293
- */
2294
- order_id: string | null;
2295
- }
2296
- /**
2297
- * The floating IP, still at its current bandwidth, and the Checkout Session for the change.
2298
- */
2299
- export interface SetFloatingIPBandwidthResponseBody {
2300
- floating_ip: FloatingIPResource;
2301
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2302
- checkout_session_id: string;
2303
- /**
2304
- * The order created when checkout completes, at once for automatic checkout; null until then.
2305
- * @nullable
2306
- */
2307
- order_id: string | null;
2308
- }
2309
- export interface PowerRequest {
2310
- /** @minimum 1 */
2311
- expected_generation?: number;
2312
- }
2313
- export interface DiskAttachmentList {
2314
- items: DiskAttachment[];
2315
- pagination: OffsetPagination;
2316
- }
2317
- export interface PortAttachmentList {
2318
- items: PortAttachment[];
2319
- pagination: OffsetPagination;
2320
- }
2321
- /**
2322
- * The new instances, `pending` until their order is accepted, and the Checkout Session they share.
2323
- */
2324
- export interface LaunchInstanceResponseBody {
2325
- /**
2326
- * One instance per requested instance, in request order. Their IDs stay the same through checkout and
2327
- * creation.
2328
- * @minItems 1
2329
- * @maxItems 20
2330
- */
2331
- instances: InstanceResource[];
2332
- /** The Billing Checkout Session of this purchase. With deferred checkout, the customer completes it in Billing. */
2333
- checkout_session_id: string;
2334
- /**
2335
- * The order created when checkout completes, at once for automatic checkout; null until then.
2336
- * @nullable
2337
- */
2338
- order_id: string | null;
2339
- /**
2340
- * Generated login password, returned only by this response. Null when no password was generated.
2341
- * @nullable
2342
- */
2343
- password: string | null;
2344
- }
2345
- export interface IPv4PoolResource {
2346
- id: string;
2347
- region_id: string;
2348
- name: string;
2349
- /** A floating IP from this pool is one order line, its quantity the bandwidth in Mbps. Metered, it reads the address and, under the region alone, the bandwidth. */
2350
- billing: BillingComponent;
2351
- }
2352
- export interface IPv4PoolListResponseBody {
2353
- items: IPv4PoolResource[];
2354
- pagination: OffsetPagination;
2355
- }
2356
- /**
2357
- * Pagination metadata for keyset traversal. Pass next_cursor as cursor to read the following page; null means there is no following page.
2358
- */
2359
- export interface CursorPagination {
2360
- /** @minimum 1 */
2361
- page_size: number;
2362
- /** @nullable */
2363
- next_cursor?: string | null;
2364
- }
2365
- /**
2366
- * The request conflicts with the current state of a resource or offering it involves. `COMPUTE_RESOURCE_BUSY`
2367
- * means a resource has an operation in progress: `meta.resource_type`, such as `instance` or `floating_ip`, and
2368
- * `meta.resource_id` name it, and `meta.operation` is the type of that operation, as in its `operation` field.
2369
- * Retry once it has finished. Other codes, such as `BILLING_OPTION_UNAVAILABLE`, are described where they
2370
- * apply.
2371
- */
2372
- export type ConflictResponse = Error;
2373
- export type CancellationModeParameter = CancellationMode;
2374
- export type ListBackupsParams = {
2375
- /**
2376
- * Return only the backups of this disk
2377
- */
2378
- disk_id?: string;
2379
- /**
2380
- * 1-based page number. Defaults to 1.
2381
- * @minimum 1
2382
- * @maximum 2147483647
2383
- */
2384
- page?: number;
2385
- /**
2386
- * Items per page. Defaults to 50; at most 200.
2387
- * @minimum 1
2388
- * @maximum 200
2389
- */
2390
- page_size?: number;
2391
- };
2392
- export type ListDiskTypesParams = {
2393
- region_id?: string;
2394
- /**
2395
- * Filter by intended purchase use. Omit to include both system and data disk types.
2396
- */
2397
- purpose?: DiskTypePurpose;
2398
- /**
2399
- * 1-based page number. Defaults to 1.
2400
- * @minimum 1
2401
- * @maximum 2147483647
2402
- */
2403
- page?: number;
2404
- /**
2405
- * Items per page. Defaults to 50; at most 200.
2406
- * @minimum 1
2407
- * @maximum 200
2408
- */
2409
- page_size?: number;
2410
- };
2411
- export type ListImagesParams = {
2412
- /**
2413
- * Return only the images of this region
2414
- */
2415
- region_id?: string;
2416
- /**
2417
- * Return only public or only private images. Both are returned when omitted
2418
- */
2419
- visibility?: ImageVisibility;
2420
- /**
2421
- * 1-based page number. Defaults to 1.
2422
- * @minimum 1
2423
- * @maximum 2147483647
2424
- */
2425
- page?: number;
2426
- /**
2427
- * Items per page. Defaults to 50; at most 200.
2428
- * @minimum 1
2429
- * @maximum 200
2430
- */
2431
- page_size?: number;
2432
- };
2433
- export type DeleteImageParams = {
2434
- /**
2435
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2436
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2437
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2438
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2439
- * BILLING_CANCELLATION_MODE_FIXED.
2440
- */
2441
- cancellation_mode?: CancellationModeParameter;
2442
- };
2443
- export type ListInstanceTypesParams = {
2444
- region_id?: string;
2445
- /**
2446
- * 1-based page number. Defaults to 1.
2447
- * @minimum 1
2448
- * @maximum 2147483647
2449
- */
2450
- page?: number;
2451
- /**
2452
- * Items per page. Defaults to 50; at most 200.
2453
- * @minimum 1
2454
- * @maximum 200
2455
- */
2456
- page_size?: number;
2457
- };
2458
- export type ListRegionsParams = {
2459
- /**
2460
- * 1-based page number. Defaults to 1.
2461
- * @minimum 1
2462
- * @maximum 2147483647
2463
- */
2464
- page?: number;
2465
- /**
2466
- * Items per page. Defaults to 50; at most 200.
2467
- * @minimum 1
2468
- * @maximum 200
2469
- */
2470
- page_size?: number;
2471
- };
2472
- export type ListAvailabilityZonesParams = {
2473
- /**
2474
- * 1-based page number. Defaults to 1.
2475
- * @minimum 1
2476
- * @maximum 2147483647
2477
- */
2478
- page?: number;
2479
- /**
2480
- * Items per page. Defaults to 50; at most 200.
2481
- * @minimum 1
2482
- * @maximum 200
2483
- */
2484
- page_size?: number;
2485
- };
2486
- export type ListDisksParams = {
2487
- region_id?: string;
2488
- /**
2489
- * Supplied together with `region_code` to filter attachable disks
2490
- */
2491
- availability_zone_id?: string;
2492
- /**
2493
- * 1-based page number. Defaults to 1.
2494
- * @minimum 1
2495
- * @maximum 2147483647
2496
- */
2497
- page?: number;
2498
- /**
2499
- * Items per page. Defaults to 50; at most 200.
2500
- * @minimum 1
2501
- * @maximum 200
2502
- */
2503
- page_size?: number;
2504
- };
2505
- export type DeleteDiskParams = {
2506
- /**
2507
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2508
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2509
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2510
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2511
- * BILLING_CANCELLATION_MODE_FIXED.
2512
- */
2513
- cancellation_mode?: CancellationModeParameter;
2514
- };
2515
- export type ListFloatingIpsParams = {
2516
- /**
2517
- * 1-based page number. Defaults to 1.
2518
- * @minimum 1
2519
- * @maximum 2147483647
2520
- */
2521
- page?: number;
2522
- /**
2523
- * Items per page. Defaults to 50; at most 200.
2524
- * @minimum 1
2525
- * @maximum 200
2526
- */
2527
- page_size?: number;
2528
- };
2529
- export type ReleaseFloatingIpParams = {
2530
- /**
2531
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2532
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2533
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2534
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2535
- * BILLING_CANCELLATION_MODE_FIXED.
2536
- */
2537
- cancellation_mode?: CancellationModeParameter;
2538
- };
2539
- export type ListInstancesParams = {
2540
- /**
2541
- * A label to filter by, written as `key:value`
2542
- * @maxLength 128
2543
- */
2544
- label?: string;
2545
- /**
2546
- * 1-based page number. Defaults to 1.
2547
- * @minimum 1
2548
- * @maximum 2147483647
2549
- */
2550
- page?: number;
2551
- /**
2552
- * Items per page. Defaults to 50; at most 200.
2553
- * @minimum 1
2554
- * @maximum 200
2555
- */
2556
- page_size?: number;
2557
- };
2558
- export type DeleteInstanceParams = {
2559
- /**
2560
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2561
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2562
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2563
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2564
- * BILLING_CANCELLATION_MODE_FIXED.
2565
- */
2566
- cancellation_mode?: CancellationModeParameter;
2567
- };
2568
- export type GetInstanceConsoleOutputParams = {
2569
- /**
2570
- * Number of trailing lines to return; 0 returns the entire output
2571
- * @minimum 0
2572
- * @maximum 10000
2573
- */
2574
- lines?: number;
2575
- };
2576
- export type ListInstanceDisksParams = {
2577
- /**
2578
- * 1-based page number. Defaults to 1.
2579
- * @minimum 1
2580
- * @maximum 2147483647
2581
- */
2582
- page?: number;
2583
- /**
2584
- * Items per page. Defaults to 50; at most 200.
2585
- * @minimum 1
2586
- * @maximum 200
2587
- */
2588
- page_size?: number;
2589
- };
2590
- export type ListInstancePortsParams = {
2591
- /**
2592
- * 1-based page number. Defaults to 1.
2593
- * @minimum 1
2594
- * @maximum 2147483647
2595
- */
2596
- page?: number;
2597
- /**
2598
- * Items per page. Defaults to 50; at most 200.
2599
- * @minimum 1
2600
- * @maximum 200
2601
- */
2602
- page_size?: number;
2603
- };
2604
- export type ListOperationLogsParams = {
2605
- /**
2606
- * Return a single kind of operation; the value matches the operation id of the endpoint
2607
- * @maxLength 64
2608
- */
2609
- action?: string;
2610
- /**
2611
- * 1-based page number. Defaults to 1.
2612
- * @minimum 1
2613
- * @maximum 2147483647
2614
- */
2615
- page?: number;
2616
- /**
2617
- * Items per page. Defaults to 50; at most 200.
2618
- * @minimum 1
2619
- * @maximum 200
2620
- */
2621
- page_size?: number;
2622
- };
2623
- export type ListPortsParams = {
2624
- /**
2625
- * 1-based page number. Defaults to 1.
2626
- * @minimum 1
2627
- * @maximum 2147483647
2628
- */
2629
- page?: number;
2630
- /**
2631
- * Items per page. Defaults to 50; at most 200.
2632
- * @minimum 1
2633
- * @maximum 200
2634
- */
2635
- page_size?: number;
2636
- };
2637
- export type ListPrivateNetworksParams = {
2638
- /**
2639
- * Returns every region when omitted
2640
- */
2641
- region_id?: string;
2642
- /**
2643
- * 1-based page number. Defaults to 1.
2644
- * @minimum 1
2645
- * @maximum 2147483647
2646
- */
2647
- page?: number;
2648
- /**
2649
- * Items per page. Defaults to 50; at most 200.
2650
- * @minimum 1
2651
- * @maximum 200
2652
- */
2653
- page_size?: number;
2654
- };
2655
- export type ListRoutesParams = {
2656
- /**
2657
- * 1-based page number. Defaults to 1.
2658
- * @minimum 1
2659
- * @maximum 2147483647
2660
- */
2661
- page?: number;
2662
- /**
2663
- * Items per page. Defaults to 50; at most 200.
2664
- * @minimum 1
2665
- * @maximum 200
2666
- */
2667
- page_size?: number;
2668
- };
2669
- export type ListSubnetsParams = {
2670
- /**
2671
- * 1-based page number. Defaults to 1.
2672
- * @minimum 1
2673
- * @maximum 2147483647
2674
- */
2675
- page?: number;
2676
- /**
2677
- * Items per page. Defaults to 50; at most 200.
2678
- * @minimum 1
2679
- * @maximum 200
2680
- */
2681
- page_size?: number;
2682
- };
2683
- export type SuggestSubnetCidrParams = {
2684
- /**
2685
- * @minimum 16
2686
- * @maximum 30
2687
- */
2688
- prefix_length?: number;
2689
- };
2690
- export type ListSecurityGroupsParams = {
2691
- region_id?: string;
2692
- /**
2693
- * Return only the security groups of this private network
2694
- */
2695
- private_network_id?: string;
2696
- /**
2697
- * 1-based page number. Defaults to 1.
2698
- * @minimum 1
2699
- * @maximum 2147483647
2700
- */
2701
- page?: number;
2702
- /**
2703
- * Items per page. Defaults to 50; at most 200.
2704
- * @minimum 1
2705
- * @maximum 200
2706
- */
2707
- page_size?: number;
2708
- };
2709
- export type ListSecurityGroupRulesParams = {
2710
- /**
2711
- * 1-based page number. Defaults to 1.
2712
- * @minimum 1
2713
- * @maximum 2147483647
2714
- */
2715
- page?: number;
2716
- /**
2717
- * Items per page. Defaults to 50; at most 200.
2718
- * @minimum 1
2719
- * @maximum 200
2720
- */
2721
- page_size?: number;
2722
- };
2723
- export type DeleteSnapshotQuotaParams = {
2724
- /**
2725
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2726
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2727
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2728
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2729
- * BILLING_CANCELLATION_MODE_FIXED.
2730
- */
2731
- cancellation_mode?: CancellationModeParameter;
2732
- };
2733
- export type DeleteBackupServiceParams = {
2734
- /**
2735
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2736
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2737
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2738
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2739
- * BILLING_CANCELLATION_MODE_FIXED.
2740
- */
2741
- cancellation_mode?: CancellationModeParameter;
2742
- };
2743
- export type ListBackupCapacityPacksParams = {
2744
- /**
2745
- * 1-based page number. Defaults to 1.
2746
- * @minimum 1
2747
- * @maximum 2147483647
2748
- */
2749
- page?: number;
2750
- /**
2751
- * Items per page. Defaults to 50; at most 200.
2752
- * @minimum 1
2753
- * @maximum 200
2754
- */
2755
- page_size?: number;
2756
- };
2757
- export type DeleteBackupCapacityPackParams = {
2758
- /**
2759
- * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
2760
- * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
2761
- * modes it allows: a pay-as-you-go subscription ends only immediately, and a prepaid one whose terms allow only the
2762
- * end of its paid period ends only then. Billing refuses a mode the terms do not allow with HTTP 422
2763
- * BILLING_CANCELLATION_MODE_FIXED.
2764
- */
2765
- cancellation_mode?: CancellationModeParameter;
2766
- };
2767
- export type ListSnapshotsParams = {
2768
- /**
2769
- * Return only the snapshots of this disk
2770
- */
2771
- disk_id?: string;
2772
- /**
2773
- * 1-based page number. Defaults to 1.
2774
- * @minimum 1
2775
- * @maximum 2147483647
2776
- */
2777
- page?: number;
2778
- /**
2779
- * Items per page. Defaults to 50; at most 200.
2780
- * @minimum 1
2781
- * @maximum 200
2782
- */
2783
- page_size?: number;
2784
- };
2785
- export type ListIpv4PoolsParams = {
2786
- region_id?: string;
2787
- /**
2788
- * 1-based page number. Defaults to 1.
2789
- * @minimum 1
2790
- * @maximum 2147483647
2791
- */
2792
- page?: number;
2793
- /**
2794
- * Items per page. Defaults to 50; at most 200.
2795
- * @minimum 1
2796
- * @maximum 200
2797
- */
2798
- page_size?: number;
2799
- };
2800
- export type ListPeeringsParams = {
2801
- /**
2802
- * 1-based page number. Defaults to 1.
2803
- * @minimum 1
2804
- * @maximum 2147483647
2805
- */
2806
- page?: number;
2807
- /**
2808
- * Items per page. Defaults to 50; at most 200.
2809
- * @minimum 1
2810
- * @maximum 200
2811
- */
2812
- page_size?: number;
2813
- };