@leaflow/sdk 0.169.0 → 0.171.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compute/v2/generated/functions.d.ts +2819 -0
- package/dist/compute/v2/generated/functions.js +3040 -0
- package/dist/compute/v2/generated/models.d.ts +3548 -0
- package/dist/compute/v2/generated/models.js +438 -0
- package/dist/compute/v2/generated/schemas.zod.d.ts +2088 -0
- package/dist/compute/v2/generated/schemas.zod.js +2532 -0
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +53 -0
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +72 -0
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +53 -0
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +138 -0
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +196 -0
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +81 -0
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +160 -0
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +79 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +87 -0
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +120 -0
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +112 -0
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +54 -0
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +149 -0
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +111 -0
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +144 -0
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +164 -0
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +126 -0
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +118 -0
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +155 -0
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +117 -0
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
- package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +134 -0
- package/dist/compute/v2/generated/validators/elasticIP.zod.js +115 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +50 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +112 -0
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +65 -0
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +116 -0
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +141 -0
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/elasticIPOperation.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +50 -0
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/error.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/error.zod.js +44 -0
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +40 -0
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +43 -0
- package/dist/compute/v2/generated/validators/imageID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/imageID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +157 -0
- package/dist/compute/v2/generated/validators/instance.zod.js +149 -0
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +40 -0
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +161 -0
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/instanceOperation.zod.js +63 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
- package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +45 -0
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +75 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +57 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +82 -0
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
- package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
- package/dist/compute/v2/generated/validators/money.zod.js +38 -0
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +100 -0
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +62 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +107 -0
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +66 -0
- package/dist/compute/v2/generated/validators/newElasticIP.zod.js +52 -0
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +76 -0
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +62 -0
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/operationLogID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +123 -0
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +117 -0
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +110 -0
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +61 -0
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +65 -0
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +157 -0
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
- package/dist/compute/v2/generated/validators/regionID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/regionID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
- package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +75 -0
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +42 -0
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +42 -0
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +44 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +157 -0
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +40 -0
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/subnetID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +53 -0
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +138 -0
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +60 -0
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +158 -0
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +52 -0
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +54 -0
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +149 -0
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +49 -0
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +60 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +56 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +39 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +40 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +67 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.d.ts +46 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +73 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +66 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +62 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +115 -0
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +108 -0
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +90 -0
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +152 -0
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/volumeOperation.zod.js +53 -0
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +145 -0
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +93 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +114 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +45 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +107 -0
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +87 -0
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +41 -0
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +44 -0
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/routes.d.ts +362 -236
- package/dist/routes.js +376 -236
- package/package.json +1 -1
- package/dist/compute/v1/generated/functions.d.ts +0 -2481
- package/dist/compute/v1/generated/functions.js +0 -2736
- package/dist/compute/v1/generated/models.d.ts +0 -2813
- package/dist/compute/v1/generated/models.js +0 -363
- package/dist/compute/v1/generated/schemas.zod.d.ts +0 -1501
- package/dist/compute/v1/generated/schemas.zod.js +0 -1390
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +0 -44
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +0 -99
- package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +0 -44
- package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +0 -58
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +0 -51
- package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +0 -61
- package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/backupOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/backupResource.zod.js +0 -53
- package/dist/compute/v1/generated/validators/backupService.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/backupService.zod.js +0 -68
- package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +0 -43
- package/dist/compute/v1/generated/validators/billingChoice.zod.js +0 -35
- package/dist/compute/v1/generated/validators/billingComponent.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/billingComponent.zod.js +0 -43
- package/dist/compute/v1/generated/validators/billingMeter.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/billingMeter.zod.js +0 -34
- package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/billingPeriod.zod.js +0 -29
- package/dist/compute/v1/generated/validators/billingQuantity.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/billingQuantity.zod.js +0 -27
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +0 -58
- package/dist/compute/v1/generated/validators/bootDisk.zod.js +0 -29
- package/dist/compute/v1/generated/validators/cancellationMode.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/cancellationMode.zod.js +0 -27
- package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/checkoutMode.zod.js +0 -27
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +0 -37
- package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +0 -42
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +0 -38
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +0 -42
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +0 -109
- package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +0 -56
- package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +0 -94
- package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +0 -40
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +0 -40
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +0 -44
- package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +0 -50
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +0 -34
- package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/cursorPagination.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteDiskParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteDiskParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +0 -121
- package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/deleteImageParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteImageParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.d.ts +0 -106
- package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +0 -135
- package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +0 -46
- package/dist/compute/v1/generated/validators/diskAttachment.zod.js +0 -36
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +0 -53
- package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +0 -112
- package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/diskOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +0 -105
- package/dist/compute/v1/generated/validators/diskResource.zod.js +0 -100
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +0 -83
- package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +0 -27
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +0 -76
- package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +0 -54
- package/dist/compute/v1/generated/validators/error.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/error.zod.js +0 -33
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +0 -36
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -102
- package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +0 -30
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -95
- package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -93
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +0 -35
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +0 -35
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +0 -66
- package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +0 -31
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +0 -97
- package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/imageOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +0 -91
- package/dist/compute/v1/generated/validators/imageResource.zod.js +0 -117
- package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/imageVisibility.zod.js +0 -27
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +0 -126
- package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/instanceOperation.zod.js +0 -49
- package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +0 -122
- package/dist/compute/v1/generated/validators/instanceResource.zod.js +0 -130
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +0 -35
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +0 -74
- package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +0 -67
- package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +0 -47
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +0 -121
- package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +0 -71
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +0 -125
- package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +0 -46
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +0 -37
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +0 -39
- package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listDisksParams.zod.js +0 -38
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/listImagesParams.zod.js +0 -39
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +0 -41
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +0 -42
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +0 -37
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +0 -46
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listPortsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +0 -41
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +0 -40
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +0 -36
- package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +0 -45
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +0 -37
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +0 -36
- package/dist/compute/v1/generated/validators/money.zod.d.ts +0 -27
- package/dist/compute/v1/generated/validators/money.zod.js +0 -27
- package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/newBootDisk.zod.js +0 -42
- package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/newCompute.zod.js +0 -35
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +0 -48
- package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +0 -33
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/offsetPagination.zod.js +0 -32
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +0 -47
- package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +0 -40
- package/dist/compute/v1/generated/validators/operationLogResource.zod.js +0 -48
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/peeringOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +0 -52
- package/dist/compute/v1/generated/validators/peeringResource.zod.js +0 -47
- package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/portAddress.zod.js +0 -34
- package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +0 -45
- package/dist/compute/v1/generated/validators/portAttachment.zod.js +0 -35
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +0 -52
- package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +0 -30
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +0 -91
- package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +0 -35
- package/dist/compute/v1/generated/validators/portOperation.zod.js +0 -30
- package/dist/compute/v1/generated/validators/portResource.zod.d.ts +0 -84
- package/dist/compute/v1/generated/validators/portResource.zod.js +0 -47
- package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/powerRequest.zod.js +0 -27
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +0 -32
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +0 -33
- package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +0 -34
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +0 -122
- package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +0 -151
- package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +0 -144
- package/dist/compute/v1/generated/validators/regionResource.zod.js +0 -45
- package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +0 -111
- package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +0 -32
- package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.js +0 -30
- package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/releaseResource.zod.js +0 -43
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +0 -42
- package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +0 -31
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +0 -28
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +0 -36
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +0 -29
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +0 -33
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +0 -109
- package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +0 -39
- package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +0 -123
- package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/resourceCancellation.zod.d.ts +0 -40
- package/dist/compute/v1/generated/validators/resourceCancellation.zod.js +0 -39
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +0 -59
- package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +0 -43
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +0 -29
- package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +0 -27
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/routeResource.zod.js +0 -38
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +0 -39
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +0 -34
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +0 -50
- package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +0 -43
- package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +0 -41
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +0 -99
- package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +0 -37
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +0 -31
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +0 -55
- package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +0 -38
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +0 -68
- package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +0 -35
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +0 -61
- package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +0 -32
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +0 -67
- package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +0 -86
- package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +0 -54
- package/dist/compute/v1/generated/validators/snapshotResource.zod.js +0 -48
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +0 -41
- package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +0 -34
- package/dist/compute/v1/generated/validators/subnetResource.zod.js +0 -32
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +0 -32
- package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +0 -34
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +0 -30
- package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +0 -27
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +0 -38
- package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +0 -30
- package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +0 -31
- package/dist/compute/v1/generated/validators/zoneResource.zod.js +0 -33
- /package/dist/compute/{v1 → v2}/index.d.ts +0 -0
- /package/dist/compute/{v1 → v2}/index.js +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export declare const SecurityGroupRule: zod.ZodObject<{
|
|
37
|
+
id: zod.ZodString;
|
|
38
|
+
security_group_id: zod.ZodString;
|
|
39
|
+
direction: zod.ZodEnum<{
|
|
40
|
+
ingress: "ingress";
|
|
41
|
+
egress: "egress";
|
|
42
|
+
}>;
|
|
43
|
+
ip_version: zod.ZodUnion<readonly [zod.ZodLiteral<4>, zod.ZodLiteral<6>]>;
|
|
44
|
+
protocol: zod.ZodNullable<zod.ZodString>;
|
|
45
|
+
port_range_min: zod.ZodNullable<zod.ZodInt>;
|
|
46
|
+
port_range_max: zod.ZodNullable<zod.ZodInt>;
|
|
47
|
+
remote_cidr: zod.ZodNullable<zod.ZodString>;
|
|
48
|
+
description: zod.ZodString;
|
|
49
|
+
created_at: zod.z.ZodISODateTime;
|
|
50
|
+
}, zod.z.core.$strict>;
|
|
51
|
+
export type SecurityGroupRule = zod.input<typeof SecurityGroupRule>;
|
|
52
|
+
export type SecurityGroupRuleOutput = zod.output<typeof SecurityGroupRule>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
import { SecurityGroupID } from "./securityGroupID.zod.js";
|
|
37
|
+
import { SecurityGroupRuleDirection } from "./securityGroupRuleDirection.zod.js";
|
|
38
|
+
import { SecurityGroupRuleID } from "./securityGroupRuleID.zod.js";
|
|
39
|
+
export const SecurityGroupRule = zod.strictObject({
|
|
40
|
+
id: SecurityGroupRuleID,
|
|
41
|
+
security_group_id: SecurityGroupID,
|
|
42
|
+
direction: SecurityGroupRuleDirection,
|
|
43
|
+
ip_version: zod.union([zod.literal(4), zod.literal(6)]),
|
|
44
|
+
protocol: zod.string().nullable().describe("Null for every protocol."),
|
|
45
|
+
port_range_min: zod
|
|
46
|
+
.int()
|
|
47
|
+
.nullable()
|
|
48
|
+
.describe("The first port, or the ICMP type when the protocol is ICMP. Null for every port."),
|
|
49
|
+
port_range_max: zod
|
|
50
|
+
.int()
|
|
51
|
+
.nullable()
|
|
52
|
+
.describe("The last port, or the ICMP code when the protocol is ICMP. Null for every port."),
|
|
53
|
+
remote_cidr: zod.string().nullable().describe("Null for every address."),
|
|
54
|
+
description: zod.string(),
|
|
55
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
56
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export declare const SecurityGroupRuleDirection: zod.ZodEnum<{
|
|
37
|
+
ingress: "ingress";
|
|
38
|
+
egress: "egress";
|
|
39
|
+
}>;
|
|
40
|
+
export type SecurityGroupRuleDirection = zod.input<typeof SecurityGroupRuleDirection>;
|
|
41
|
+
export type SecurityGroupRuleDirectionOutput = zod.output<typeof SecurityGroupRuleDirection>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export const SecurityGroupRuleDirection = zod.enum(["ingress", "egress"]);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export declare const SecurityGroupRuleIDMin = 33;
|
|
37
|
+
export declare const SecurityGroupRuleIDMax = 33;
|
|
38
|
+
export declare const SecurityGroupRuleIDRegExp: RegExp;
|
|
39
|
+
export declare const SecurityGroupRuleID: zod.ZodString;
|
|
40
|
+
export type SecurityGroupRuleID = zod.input<typeof SecurityGroupRuleID>;
|
|
41
|
+
export type SecurityGroupRuleIDOutput = zod.output<typeof SecurityGroupRuleID>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export const SecurityGroupRuleIDMin = 33;
|
|
37
|
+
export const SecurityGroupRuleIDMax = 33;
|
|
38
|
+
export const SecurityGroupRuleIDRegExp = new RegExp("^sgrule_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
39
|
+
export const SecurityGroupRuleID = zod
|
|
40
|
+
.string()
|
|
41
|
+
.min(SecurityGroupRuleIDMin)
|
|
42
|
+
.max(SecurityGroupRuleIDMax)
|
|
43
|
+
.regex(SecurityGroupRuleIDRegExp)
|
|
44
|
+
.describe("Compute SecurityGroupRule TypeID. UUID text is not accepted.");
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export declare const SecurityGroupRuleListResponseBody: zod.ZodObject<{
|
|
37
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
38
|
+
id: zod.ZodString;
|
|
39
|
+
security_group_id: zod.ZodString;
|
|
40
|
+
direction: zod.ZodEnum<{
|
|
41
|
+
ingress: "ingress";
|
|
42
|
+
egress: "egress";
|
|
43
|
+
}>;
|
|
44
|
+
ip_version: zod.ZodUnion<readonly [zod.ZodLiteral<4>, zod.ZodLiteral<6>]>;
|
|
45
|
+
protocol: zod.ZodNullable<zod.ZodString>;
|
|
46
|
+
port_range_min: zod.ZodNullable<zod.ZodInt>;
|
|
47
|
+
port_range_max: zod.ZodNullable<zod.ZodInt>;
|
|
48
|
+
remote_cidr: zod.ZodNullable<zod.ZodString>;
|
|
49
|
+
description: zod.ZodString;
|
|
50
|
+
created_at: zod.z.ZodISODateTime;
|
|
51
|
+
}, zod.z.core.$strict>>;
|
|
52
|
+
pagination: zod.ZodObject<{
|
|
53
|
+
page: zod.ZodInt;
|
|
54
|
+
page_size: zod.ZodInt;
|
|
55
|
+
total_count: zod.ZodOptional<zod.ZodInt>;
|
|
56
|
+
}, zod.z.core.$strict>;
|
|
57
|
+
}, zod.z.core.$strict>;
|
|
58
|
+
export type SecurityGroupRuleListResponseBody = zod.input<typeof SecurityGroupRuleListResponseBody>;
|
|
59
|
+
export type SecurityGroupRuleListResponseBodyOutput = zod.output<typeof SecurityGroupRuleListResponseBody>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
import { OffsetPagination } from "./offsetPagination.zod.js";
|
|
37
|
+
import { SecurityGroupRule } from "./securityGroupRule.zod.js";
|
|
38
|
+
export const SecurityGroupRuleListResponseBody = zod.strictObject({
|
|
39
|
+
items: zod.array(SecurityGroupRule),
|
|
40
|
+
pagination: OffsetPagination,
|
|
41
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export declare const SubnetIDMin = 33;
|
|
37
|
+
export declare const SubnetIDMax = 33;
|
|
38
|
+
export declare const SubnetIDRegExp: RegExp;
|
|
39
|
+
export declare const SubnetID: zod.ZodString;
|
|
40
|
+
export type SubnetID = zod.input<typeof SubnetID>;
|
|
41
|
+
export type SubnetIDOutput = zod.output<typeof SubnetID>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Compute API
|
|
5
|
+
* Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
|
|
6
|
+
*
|
|
7
|
+
* ## Authentication
|
|
8
|
+
*
|
|
9
|
+
* Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
|
|
10
|
+
*
|
|
11
|
+
* ## Conventions
|
|
12
|
+
*
|
|
13
|
+
* - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
|
|
14
|
+
* - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
|
|
15
|
+
* - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
|
|
16
|
+
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
|
+
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
|
+
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
|
+
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
|
+
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
|
+
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
23
|
+
* - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
|
|
24
|
+
* - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
|
|
25
|
+
*
|
|
26
|
+
* ## Resource identifiers
|
|
27
|
+
*
|
|
28
|
+
* Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
|
|
29
|
+
*
|
|
30
|
+
* ## Error meta
|
|
31
|
+
*
|
|
32
|
+
* Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
|
|
33
|
+
* OpenAPI spec version: 2.0.0
|
|
34
|
+
*/
|
|
35
|
+
import * as zod from "zod";
|
|
36
|
+
export const SubnetIDMin = 33;
|
|
37
|
+
export const SubnetIDMax = 33;
|
|
38
|
+
export const SubnetIDRegExp = new RegExp("^subnet_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
|
|
39
|
+
export const SubnetID = zod
|
|
40
|
+
.string()
|
|
41
|
+
.min(SubnetIDMin)
|
|
42
|
+
.max(SubnetIDMax)
|
|
43
|
+
.regex(SubnetIDRegExp)
|
|
44
|
+
.describe("Compute Subnet TypeID. UUID text is not accepted.");
|